"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const actions_core_1 = require("@segment/actions-core");
const send_1 = __importDefault(require("./send"));
const destination = {
    name: 'Equals',
    slug: 'actions-equals',
    mode: 'cloud',
    description: 'Send Segment analytics data to Equals.',
    authentication: {
        scheme: 'custom',
        fields: {
            url: {
                label: 'Equals URL',
                description: 'Equals URL to send data to.',
                type: 'string',
                required: true
            }
        }
    },
    presets: [
        {
            name: 'Send',
            subscribe: 'type = track or type = page or type = screen or type = identify or type = group',
            partnerAction: 'send',
            mapping: (0, actions_core_1.defaultValues)(send_1.default.fields),
            type: 'automatic'
        }
    ],
    actions: {
        send: send_1.default
    }
};
exports.default = destination;
//# sourceMappingURL=index.js.map