"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
exports.settings = {
    clientId: {
        key: 'clientId',
        label: 'Client ID',
        obfuscated: true,
        required: true,
        description: 'Used to authenticate with Medplum',
    },
    clientSecret: {
        key: 'clientSecret',
        label: 'Client secret',
        obfuscated: true,
        required: true,
        description: 'Used to authenticate with Medplum',
    },
    baseUrl: {
        key: 'baseUrl',
        label: 'Base URL',
        obfuscated: false,
        required: false,
        description: 'Optional custom base URL for Medplum server (e.g., https://api.medplum.com/). Leave empty to use default.',
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    clientId: zod_1.z.string().min(1),
    clientSecret: zod_1.z.string().min(1),
    baseUrl: zod_1.z.string().url().optional().or(zod_1.z.literal('')),
});
//# sourceMappingURL=settings.js.map