"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingsValidationSchema = exports.settings = void 0;
const zod_1 = require("zod");
const awell_1 = require("../../src/lib/awell");
exports.settings = {
    apiKey: {
        key: 'apiKey',
        label: 'API Key',
        obfuscated: true,
        required: true,
        description: 'Your Sendgrid API Key so the extension can authenticate with the Sendgrid API.',
    },
    fromName: {
        key: 'fromName',
        label: 'From name',
        obfuscated: false,
        required: false,
        description: 'The name that will be used for the "From" header.',
    },
    fromEmail: {
        key: 'fromEmail',
        label: 'From email',
        obfuscated: false,
        required: false,
        description: 'The email address that will be used for the "From" header.',
    },
};
exports.SettingsValidationSchema = zod_1.z.object({
    apiKey: zod_1.z.string(),
    fromName: zod_1.z.string().optional(),
    fromEmail: (0, awell_1.getEmailValidation)().optional(),
});
//# sourceMappingURL=settings.js.map