"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 = {
    contactCenterNumber: {
        id: 'contactCenterNumber',
        label: 'Contact center number',
        description: 'This must be an SMS capable phone number allocated to Zoom Contact Center within your account.',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.PHONE,
        required: true,
    },
    to: {
        id: 'to',
        label: 'To',
        description: 'The phone number of the person receiving the SMS.',
        type: extensions_core_1.FieldType.STRING,
        stringType: extensions_core_1.StringType.PHONE,
        required: true,
    },
    body: {
        id: 'body',
        label: 'Body',
        description: 'The content that needs to be sent as an SMS. Maximum length is 500 characters.',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    contactCenterNumber: zod_1.default.string().min(1),
    to: zod_1.default.string().min(1),
    body: zod_1.default.string().min(1).max(500),
});
//# sourceMappingURL=fields.js.map