"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 sendRevxPing_1 = __importDefault(require("./sendRevxPing"));
const destination = {
    name: 'RevX Cloud (Actions)',
    slug: 'actions-revx',
    mode: 'cloud',
    authentication: {
        scheme: 'custom',
        fields: {
            client_id: {
                label: 'Revx Client ID',
                description: 'Revx specific client id. This can be found by contacting the RevX support team',
                type: 'string',
                required: true
            }
        }
    },
    presets: [
        {
            name: 'Send Revx Ping',
            subscribe: 'type = "track" or type ="screen"',
            partnerAction: 'sendRevxPing',
            mapping: (0, actions_core_1.defaultValues)(sendRevxPing_1.default.fields),
            type: 'automatic'
        }
    ],
    actions: {
        sendRevxPing: sendRevxPing_1.default
    }
};
exports.default = destination;
//# sourceMappingURL=index.js.map