"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fields_1 = require("./fields");
const utils_1 = require("./utils");
const action = {
    title: 'Track Event',
    description: 'Send a Segment track event to Optimizely',
    defaultSubscription: 'type = "track"',
    fields: fields_1.fields,
    perform: async (request, { payload, settings }) => {
        return await (0, utils_1.send)(request, settings, payload);
    }
};
exports.default = action;
//# sourceMappingURL=index.js.map