"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
exports.settings = {
    username: {
        key: 'username',
        label: 'Username',
        obfuscated: false,
        required: true,
        description: 'Your WestFax username',
    },
    password: {
        key: 'password',
        label: 'Password',
        obfuscated: true,
        required: true,
        description: 'Your WestFax password',
    },
    faceSheetUrl: {
        key: 'faceSheetUrl',
        label: 'URL to facesheet (PDF)',
        obfuscated: true,
        required: false,
        description: 'An optional URL for a face sheet document (in PDF format) which will be attached at the beginning of your actual message or document for faxes. This face sheet will only be included if it has been enabled at the action level.',
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    username: zod_1.z.string().min(1, {
        message: 'Missing "Ursername in the extension settings."',
    }),
    password: zod_1.z.string().min(1, {
        message: 'Missing "Password in the extension settings."',
    }),
    faceSheetUrl: zod_1.z.string().url().optional().or(zod_1.z.literal('')),
});
//# sourceMappingURL=settings.js.map