"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
const validation_1 = require("./v1/validation");
exports.settings = {
    productToken: {
        label: 'Product Token',
        key: 'productToken',
        obfuscated: true,
        required: true,
        description: 'This is the product token for authentication. Visit https://gateway.cmtelecom.com/ to retrieve your product token.',
    },
    fromName: {
        label: 'From/sender name',
        key: 'fromName',
        obfuscated: false,
        required: false,
        description: "This is the sender's name. The maximum length is 11 alphanumerical characters or 16 digits",
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    productToken: zod_1.z
        .string()
        .nonempty({
        message: 'Missing "product token in the extension settings."',
    }),
    fromName: validation_1.FromNameValidationSchema,
});
//# sourceMappingURL=settings.js.map