"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.batch_size = exports.enable_batching = exports.event_name = exports.email = exports.pii_type = exports.external_id = void 0;
exports.external_id = {
    label: 'External Audience ID',
    description: 'The CRM Data ID for The Trade Desk Segment.',
    type: 'string',
    default: {
        '@path': '$.context.personas.external_audience_id'
    },
    unsafe_hidden: true
};
exports.pii_type = {
    label: 'PII Type',
    description: 'The type of personally identifiable data (PII) sent by the advertiser.',
    type: 'string',
    choices: [
        { label: 'Email', value: 'Email' },
        { label: 'Hashed Email', value: 'EmailHashedUnifiedId2' }
    ],
    required: true
};
exports.email = {
    label: 'User Email',
    description: "The user's email address to send to The Trade Desk.",
    type: 'string',
    default: {
        '@path': '$.context.traits.email'
    }
};
exports.event_name = {
    label: 'Event Name',
    description: 'The name of the current Segment event.',
    type: 'string',
    default: {
        '@path': '$.event'
    },
    unsafe_hidden: true
};
exports.enable_batching = {
    label: 'Enable Batching',
    description: 'Enable batching of requests to The Trade Desk CRM Segment.',
    type: 'boolean',
    default: true,
    unsafe_hidden: true
};
exports.batch_size = {
    label: 'Batch Size',
    description: 'Maximum number of events to include in each batch. Actual batch sizes may be lower.',
    type: 'number',
    required: false,
    default: 100000,
    unsafe_hidden: true
};
//# sourceMappingURL=properties.js.map