"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const zod_1 = require("zod");
const extensions_core_1 = require("@awell-health/extensions-core");
const extensions_core_2 = require("@awell-health/extensions-core");
const validation_1 = require("../../../validation");
exports.fields = {
    fromName: {
        label: 'From name',
        id: 'fromName',
        type: extensions_core_2.FieldType.STRING,
        required: false,
        description: 'This is the sender\'s name. The maximum length is 11 alphanumerical characters or 16 digits. When left blank, the "From name" from the extension settings will be used.',
    },
    recipient: {
        id: 'recipient',
        label: '"To" phone number',
        type: extensions_core_2.FieldType.STRING,
        stringType: extensions_core_2.StringType.PHONE,
        description: 'The phone number you would like to send the text message to.',
        required: true,
    },
    message: {
        id: 'message',
        label: 'Message',
        description: 'The message you would like to send.',
        type: extensions_core_2.FieldType.TEXT,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    fromName: validation_1.FromNameValidationSchema,
    recipient: extensions_core_1.E164PhoneValidationSchema,
    message: zod_1.z.string(),
});
//# sourceMappingURL=fields.js.map