"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const common_fields_1 = require("../common-fields");
const api_1 = require("../api");
const action = {
    title: 'Send Identify User Event',
    description: 'Inserts or updates an Identify record',
    defaultSubscription: 'type = "identify"',
    fields: {
        traits: {
            label: 'User Properties',
            type: 'object',
            description: 'The properties of the user.',
            default: {
                '@path': '$.traits'
            }
        },
        ...common_fields_1.commonFields
    },
    perform: (0, api_1.perform)('identify'),
    performBatch: (0, api_1.performBatch)('identify')
};
exports.default = action;
//# sourceMappingURL=index.js.map