"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 audienceEnteredS3_1 = __importDefault(require("./audienceEnteredS3"));
const audienceEnteredSftp_1 = __importDefault(require("./audienceEnteredSftp"));
const destination = {
    name: 'Liveramp Audiences',
    slug: 'actions-liveramp-audiences',
    mode: 'cloud',
    authentication: {
        scheme: 'custom',
        fields: {
            __segment_internal_engage_force_full_sync: {
                label: 'Force Full Sync',
                description: '',
                type: 'boolean',
                required: true,
                default: true
            },
            __segment_internal_engage_batch_sync: {
                label: 'Supports batch sync via ADS',
                description: '',
                type: 'boolean',
                required: true,
                default: true
            }
        }
    },
    actions: {
        audienceEnteredS3: audienceEnteredS3_1.default,
        audienceEnteredSFTP: audienceEnteredSftp_1.default
    },
    presets: [
        {
            name: 'Entities Audience Entered',
            partnerAction: 'audienceEnteredS3',
            mapping: (0, actions_core_1.defaultValues)(audienceEnteredS3_1.default.fields),
            type: 'specificEvent',
            eventSlug: 'warehouse_audience_entered_track'
        },
        {
            name: 'Entities Audience Entered',
            partnerAction: 'audienceEnteredSFTP',
            mapping: (0, actions_core_1.defaultValues)(audienceEnteredSftp_1.default.fields),
            type: 'specificEvent',
            eventSlug: 'warehouse_audience_entered_track'
        }
    ]
};
exports.default = destination;
//# sourceMappingURL=index.js.map