"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const functions_1 = require("./functions");
const fields_1 = require("./fields");
const action = {
    title: 'Sync To LinkedIn DMP Segment',
    description: 'Syncs contacts from a Personas Audience to a LinkedIn DMP Segment.',
    defaultSubscription: 'event = "Audience Entered" or event = "Audience Exited"',
    fields: fields_1.fields,
    perform: async (request, { settings, payload, statsContext, stateContext }) => {
        return (0, functions_1.processPayload)(request, settings, [payload], statsContext, stateContext);
    },
    performBatch: async (request, { settings, payload, statsContext, stateContext }) => {
        return (0, functions_1.processPayload)(request, settings, payload, statsContext, stateContext);
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map