"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 = {
    htmlString: {
        id: 'htmlString',
        label: 'HTML string',
        description: 'The HTML string to convert to a PDF.',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    options: {
        id: 'options',
        label: 'Options',
        description: 'The options for the PDF. See https://pptr.dev/api/puppeteer.pdfoptions',
        type: extensions_core_1.FieldType.JSON,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    htmlString: zod_1.z.string().min(1),
    options: zod_1.z.any().optional(),
});
//# sourceMappingURL=fields.js.map