"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FieldsValidationSchema = exports.fields = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const zod_1 = require("zod");
exports.fields = {
    patientId: {
        id: 'patientId',
        label: 'Patient ID',
        description: 'The ID of the patient in Healthie to update the quick note for',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    quickNote: {
        id: 'quickNote',
        label: 'Quick note',
        description: '',
        type: extensions_core_1.FieldType.HTML,
    },
    overwrite: {
        id: 'overwrite',
        label: 'Overwrite quick note?',
        description: 'If true, the quick note will be replaced with the new content. If false, the content will be appended to the current content in the quick note.',
        type: extensions_core_1.FieldType.BOOLEAN,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    patientId: zod_1.z.string().nonempty(),
    quickNote: zod_1.z.string().nonempty(),
    overwrite: zod_1.z.boolean(),
});
//# sourceMappingURL=fields.js.map