"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = __importDefault(require("zod"));
exports.fields = {
    from: {
        id: 'from',
        label: 'From',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    to: {
        id: 'to',
        label: 'To',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    subject: {
        id: 'subject',
        label: 'Subject',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    message: {
        id: 'message',
        label: 'Message',
        description: '',
        type: extensions_core_1.FieldType.HTML,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    from: zod_1.default.string().min(1),
    to: zod_1.default.string().min(1),
    subject: zod_1.default.string().min(1),
    message: zod_1.default.string().min(1),
});
//# sourceMappingURL=fields.js.map