"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
exports.settings = {
    accountId: {
        key: 'accountId',
        label: 'Account ID',
        obfuscated: false,
        required: true,
    },
    password: {
        key: 'password',
        label: 'Password',
        obfuscated: true,
        required: true,
    },
    baseUrl: {
        key: 'baseUrl',
        label: 'Base URL',
        obfuscated: false,
        required: false,
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    accountId: zod_1.z.string().min(1, {
        message: 'Missing "Account ID" in the extension settings.',
    }),
    password: zod_1.z.string().min(1, {
        message: 'Missing "Password" in the extension settings.',
    }),
    baseUrl: zod_1.z.string().url().optional().or(zod_1.z.literal('')),
});
//# sourceMappingURL=settings.js.map