"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
const apiConfig_1 = require("./api/apiConfig");
exports.settings = {
    talkDeskAccountName: {
        key: 'talkDeskAccountName',
        label: 'Talkdesk account name',
        obfuscated: false,
        description: '',
        required: true,
    },
    region: {
        key: 'region',
        label: 'Region',
        obfuscated: false,
        description: 'US, EU, or Canada. Defaults to US.',
        required: false,
    },
    clientId: {
        key: 'clientId',
        label: 'Client ID',
        obfuscated: false,
        description: 'The client ID for OAuth2 Password authentication.',
        required: true,
    },
    clientSecret: {
        key: 'clientSecret',
        label: 'Client Secret',
        obfuscated: true,
        description: 'The client secret for OAuth2 Password authentication.',
        required: true,
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    talkDeskAccountName: zod_1.z.string().nonempty(),
    region: apiConfig_1.APIRegionSchema.default('US'),
    clientId: zod_1.z.string().nonempty(),
    clientSecret: zod_1.z.string().nonempty(),
});
//# sourceMappingURL=settings.js.map