"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("../util");
const action = {
    title: 'Track Event',
    description: 'Forward page, screen, and track events from Segment to PlayerZero.',
    fields: {},
    perform: (request, data) => {
        return (0, util_1.send)(request, data.settings, [data.payload], 'event');
    },
    performBatch: async (request, data) => {
        return (0, util_1.send)(request, data.settings, data.payload, 'event');
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map