"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 = {
    healthiePatientId: {
        id: 'healthiePatientId',
        label: 'Healthie patient ID',
        description: 'The ID of the patient in Healthie',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    healthieFormId: {
        id: 'healthieFormId',
        label: 'Healthie form ID',
        description: 'The ID of the form in Healthie',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    lockFormAnswerGroup: {
        id: 'lockFormAnswerGroup',
        label: 'Lock form answer group',
        description: 'Locking the form will stop any further editing',
        type: extensions_core_1.FieldType.BOOLEAN,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.default.object({
    healthiePatientId: zod_1.default.string().min(1),
    healthieFormId: zod_1.default.string().min(1),
    lockFormAnswerGroup: zod_1.default.boolean().optional(),
});
//# sourceMappingURL=fields.js.map