"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fields_1 = require("./fields");
const functions_1 = require("./functions");
const action = {
    title: 'Sync To Iterable Lists',
    description: 'Sync Segment Audience to Iterable Lists',
    defaultSubscription: 'type = "identify" or type = "track"',
    fields: fields_1.fields,
    perform: (request, { payload, settings, audienceSettings }) => {
        return (0, functions_1.send)(request, [payload], settings, false, audienceSettings);
    },
    performBatch: (request, { payload, settings, audienceSettings }) => {
        return (0, functions_1.send)(request, payload, settings, true, audienceSettings);
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map