"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 = {
    appointmentid: {
        id: 'appointmentid',
        label: 'Appointment ID',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    notetext: {
        id: 'notetext',
        label: 'Note text',
        description: '',
        type: extensions_core_1.FieldType.TEXT,
        required: true,
    },
    displayonschedule: {
        id: 'displayonschedule',
        label: 'Add note to homepage',
        description: 'Add appointment note to homepage display',
        type: extensions_core_1.FieldType.BOOLEAN,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    appointmentid: zod_1.default.string().min(1),
    notetext: zod_1.default.string().min(1),
    displayonschedule: zod_1.default.boolean().optional(),
});
//# sourceMappingURL=fields.js.map