"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
exports.settings = {
    applicationId: {
        label: 'Application ID',
        key: 'applicationId',
        obfuscated: true,
        required: true,
        description: 'Visit https://dashboard.sendbird.com/ to retrieve Application ID for the app of your choosing',
    },
    chatApiToken: {
        label: 'Chat API token',
        key: 'chatApiToken',
        obfuscated: true,
        required: true,
        description: "Visit Application's settings and go to Settings > Application > General > API tokens to retrieve either Master API token or Secondary API token",
    },
    deskApiToken: {
        label: 'Desk API token',
        key: 'deskApiToken',
        obfuscated: true,
        required: true,
        description: "Visit Application's settings and go to Settings > Desk > Credentials to retrieve Desk API token",
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    applicationId: zod_1.z.string().nonempty({
        message: 'Missing "Application ID in the extension settings."',
    }),
    chatApiToken: zod_1.z.string().nonempty({
        message: 'Missing "Chat API token in the extension settings."',
    }),
    deskApiToken: zod_1.z.string().nonempty({
        message: 'Missing "Desk API token in the extension settings."',
    }),
});
//# sourceMappingURL=settings.js.map