"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
exports.settings = {
    apiUrl: {
        label: 'API URL',
        key: 'apiUrl',
        obfuscated: false,
        required: true,
        description: 'The full URL of the HiX task endpoint (e.g. the "incoming-task" endpoint of the demo environment).',
    },
    tasksIngestToken: {
        label: 'Tasks ingest token',
        key: 'tasksIngestToken',
        obfuscated: true,
        required: true,
        description: 'Bearer token sent as the "Authorization" header on every request. Must match the TASKS_INGEST_TOKEN secret configured on the endpoint.',
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    apiUrl: zod_1.z.string().url({ message: 'API URL must be a valid URL' }),
    tasksIngestToken: zod_1.z.string().min(1),
});
//# sourceMappingURL=settings.js.map