"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const functions_1 = require("./functions");
const fields_1 = require("./fields");
const action = {
    title: 'Send',
    description: 'Send analytics data to Rokt CAPI.',
    fields: fields_1.fields,
    perform: (request, { payload }) => {
        return (0, functions_1.send)(request, [payload], false);
    },
    performBatch: async (request, { payload }) => {
        return (0, functions_1.send)(request, payload, true);
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map