"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");
exports.fields = {
    from: {
        label: 'From',
        id: 'from',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.PHONE,
        required: false,
        description: 'The phone number you wish to use for sending the text message. Defaults to value provided in settings.',
    },
    to: {
        label: 'To',
        id: 'to',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.PHONE,
        required: true,
        description: 'The phone number to which you intend to send the text message',
    },
    text: {
        id: 'text',
        label: 'Content',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
        description: 'The content of the message being sent',
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    from: (0, extensions_core_1.makeStringOptional)(zod_1.z.string()),
    to: zod_1.z.string(),
    text: zod_1.z.string(),
});
//# sourceMappingURL=fields.js.map