"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 = {
    text: {
        id: 'text',
        label: 'Text',
        description: 'The text you want to parse to a phone number',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    countryCallingCode: {
        id: 'countryCallingCode',
        label: 'Country calling code',
        description: 'The country calling code you want to use for the phone number in case the phone number is not in E164 format. Enter the country calling code as a number.',
        type: extensions_core_1.FieldType.NUMERIC,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    text: zod_1.z.string(),
    countryCallingCode: zod_1.z.number().optional(),
});
//# sourceMappingURL=fields.js.map