"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.presets = void 0;
const actions_core_1 = require("@segment/actions-core");
const send_1 = __importDefault(require("./send"));
exports.presets = [
    {
        name: 'Track Calls',
        subscribe: 'type = "track"',
        partnerAction: 'send',
        mapping: (0, actions_core_1.defaultValues)(send_1.default.fields),
        type: 'automatic'
    },
    {
        name: 'Page Calls',
        subscribe: 'type = "page"',
        partnerAction: 'send',
        mapping: (0, actions_core_1.defaultValues)(send_1.default.fields),
        type: 'automatic'
    },
    {
        name: 'Screen Calls',
        subscribe: 'type = "screen"',
        partnerAction: 'send',
        mapping: (0, actions_core_1.defaultValues)(send_1.default.fields),
        type: 'automatic'
    },
    {
        name: 'Identify Calls',
        subscribe: 'type = "identify"',
        partnerAction: 'send',
        mapping: (0, actions_core_1.defaultValues)(send_1.default.fields),
        type: 'automatic'
    },
    {
        name: 'Group Calls',
        subscribe: 'type = "group"',
        partnerAction: 'send',
        mapping: {
            ...(0, actions_core_1.defaultValues)(send_1.default.fields),
            group_traits: {
                '@path': '$.traits'
            }
        },
        type: 'automatic'
    }
];
//# sourceMappingURL=presets.js.map