"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 emailValidation_1 = require("../../../../../src/utils/emailValidation");
const zod_1 = __importDefault(require("zod"));
exports.fields = {
    email: {
        id: 'email',
        label: 'Email',
        description: 'Customer’s email address. It’s displayed alongside the customer in your dashboard and can be useful for searching and tracking.',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
    name: {
        id: 'name',
        label: 'Name',
        description: 'The customer’s full name or business name.',
        type: extensions_core_1.FieldType.STRING,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    email: emailValidation_1.optionalEmailSchema,
    name: zod_1.default.string().optional(),
});
//# sourceMappingURL=fields.js.map