"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const identify_1 = __importDefault(require("./identify"));
const track_1 = __importDefault(require("./track"));
const group_1 = __importDefault(require("./group"));
const destination = {
    name: 'Trackey',
    slug: 'actions-trackey',
    mode: 'cloud',
    description: 'Send Segment events to Trackey',
    authentication: {
        scheme: 'custom',
        fields: {
            apiKey: {
                label: 'API Key',
                description: 'Your Trackey API Key',
                type: 'password',
                required: true
            }
        }
    },
    extendRequest: ({ settings }) => {
        return {
            headers: {
                api_key: settings.apiKey,
                'Content-Type': 'application/json'
            }
        };
    },
    actions: {
        identify: identify_1.default,
        track: track_1.default,
        group: group_1.default
    }
};
exports.default = destination;
//# sourceMappingURL=index.js.map