UNPKG

@n8n-plus/n8n-plus

Version:

n8n Workflow Automation Tool (plus edition)

23 lines 797 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.chatTriggerParamsShape = void 0; const zod_1 = require("zod"); const ChatTriggerResponseModeSchema = zod_1.z.enum([ 'streaming', 'lastNode', 'responseNode', 'responseNodes', ]); exports.chatTriggerParamsShape = zod_1.z.object({ availableInChat: zod_1.z.boolean().optional().default(false), agentName: zod_1.z.string().min(1).optional(), agentDescription: zod_1.z.string().min(1).optional(), options: zod_1.z .object({ allowFileUploads: zod_1.z.boolean().optional(), allowedFilesMimeTypes: zod_1.z.string().optional(), responseMode: ChatTriggerResponseModeSchema.optional(), }) .optional(), }); //# sourceMappingURL=chat-hub.types.js.map