"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 = {
    redirectUrl: {
        id: 'redirectUrl',
        label: 'Redirect URL',
        description: '',
        type: extensions_core_1.FieldType.STRING,
        required: true,
    },
    redirectMessage: {
        id: 'redirectMessage',
        label: 'Message',
        description: 'A message that is briefly shown to the user when doing the redirect, leave blank to show nothing',
        type: extensions_core_1.FieldType.HTML,
        required: false,
    },
};
exports.FieldsValidationSchema = zod_1.z.object({
    redirectUrl: zod_1.z.string().min(1),
    redirectMessage: zod_1.z.string().optional(),
});
//# sourceMappingURL=fields.js.map