"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("./utils");
const fields_1 = require("./fields");
const action = {
    title: 'Sync User Profile',
    description: 'Sync user profile details to Taguchi, and add / remove users from Taguchi Lists.',
    fields: {
        identifiers: fields_1.identifiers,
        traits: fields_1.traits,
        timestamp: fields_1.timestamp,
        subscribeLists: fields_1.subscribeLists,
        unsubscribeLists: fields_1.unsubscribeLists
    },
    perform: async (request, { payload, settings }) => {
        await (0, utils_1.send)(request, [payload], settings, false);
    },
    performBatch: async (request, { payload, settings }) => {
        await (0, utils_1.send)(request, payload, settings, true);
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map