@n8n/n8n-nodes-langchain 2.35.2 → 2.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v1/resource_video/operation_text_to_video.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/alibabaCloud/v11/resource_video/operation_text_to_video.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_prompt/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_prompt/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/anthropic/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_document/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_document/operation_analyze.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file_search/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_file_search/operation_create_store.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v1/resource_video/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_document/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_document/operation_analyze.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file_search/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_file_search/operation_create_store.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v11/resource_video/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_document/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_document/operation_analyze.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file_search/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_file_search/operation_create_store.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/googleGemini/v12/resource_video/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v1.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v11.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatMinimax/v11.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOpenRouter/v1.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v21.ts +54 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.schema.js +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_image_to_video.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.schema.js +6 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/operation_text_to_video.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/operation_text_to_speech.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/operation_text_to_speech.ts +75 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/operation_generate.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_image/operation_generate.ts +64 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/operation_message.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_text/operation_message.ts +82 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.schema.js +38 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_image_to_video.ts +122 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_video/operation_text_to_video.ts +82 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/moonshot/v1/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/moonshot/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_text/operation_message.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_audio/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_audio/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_image/operation_generate.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_conversation/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_conversation/operation_create.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_text/operation_response.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_conversation/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_conversation/operation_create.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_text/operation_response.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_conversation/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_conversation/operation_create.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_text/operation_response.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_conversation/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_conversation/operation_create.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_file/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_file/operation_upload.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_text/operation_response.schema.js +1 -1
- package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js.map +1 -1
- package/dist/nodes/llms/LMChatAnthropic/methods/searchModels.js +1 -4
- package/dist/nodes/llms/LMChatAnthropic/methods/searchModels.js.map +1 -1
- package/dist/nodes/llms/LMChatOpenAi/methods/loadModels.js +1 -4
- package/dist/nodes/llms/LMChatOpenAi/methods/loadModels.js.map +1 -1
- package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js +23 -11
- package/dist/nodes/llms/LmChatMinimax/LmChatMinimax.node.js.map +1 -1
- package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js +123 -5
- package/dist/nodes/llms/LmChatOpenRouter/LmChatOpenRouter.node.js.map +1 -1
- package/dist/nodes/mcp/McpTrigger/CredentialGateTool.d.ts +4 -0
- package/dist/nodes/mcp/McpTrigger/CredentialGateTool.js +24 -0
- package/dist/nodes/mcp/McpTrigger/CredentialGateTool.js.map +1 -0
- package/dist/nodes/mcp/McpTrigger/McpServer.d.ts +3 -3
- package/dist/nodes/mcp/McpTrigger/McpServer.js +10 -10
- package/dist/nodes/mcp/McpTrigger/McpServer.js.map +1 -1
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +66 -8
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js +1 -1
- package/dist/nodes/vendors/MiniMax/actions/audio/tts.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js +1 -1
- package/dist/nodes/vendors/MiniMax/actions/image/generate.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js +22 -11
- package/dist/nodes/vendors/MiniMax/actions/text/message.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js +2 -1
- package/dist/nodes/vendors/MiniMax/actions/versionDescription.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.d.ts +2 -2
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js +144 -92
- package/dist/nodes/vendors/MiniMax/actions/video/generate.i2v.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.d.ts +2 -2
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js +117 -73
- package/dist/nodes/vendors/MiniMax/actions/video/generate.t2v.operation.js.map +1 -1
- package/dist/nodes/vendors/MiniMax/actions/video/helpers.d.ts +9 -0
- package/dist/nodes/vendors/MiniMax/actions/video/helpers.js +94 -0
- package/dist/nodes/vendors/MiniMax/actions/video/helpers.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/helpers/interfaces.d.ts +15 -0
- package/dist/nodes/vendors/MiniMax/helpers/modelOptions.d.ts +5 -0
- package/dist/nodes/vendors/MiniMax/helpers/modelOptions.js +17 -0
- package/dist/nodes/vendors/MiniMax/helpers/modelOptions.js.map +1 -0
- package/dist/nodes/vendors/MiniMax/transport/index.d.ts +9 -0
- package/dist/nodes/vendors/MiniMax/transport/index.js +56 -3
- package/dist/nodes/vendors/MiniMax/transport/index.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/nodes.json +4 -4
- package/dist/utils/N8nTool.js +3 -1
- package/dist/utils/N8nTool.js.map +1 -1
- package/dist/utils/helpers.d.ts +4 -2
- package/dist/utils/helpers.js +4 -2
- package/dist/utils/helpers.js.map +1 -1
- package/package.json +12 -12
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Chat Model Node - Version 1.1
|
|
3
|
+
* For advanced usage with an AI chain
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcLmChatMinimaxV11Params {
|
|
8
|
+
/**
|
|
9
|
+
* The model which will generate the completion. <a href="https://platform.minimax.io/docs/api-reference/text-openai-api">Learn more</a>.
|
|
10
|
+
* @builderHint Default to the latest MiniMax flagship model (MiniMax-M3).
|
|
11
|
+
* @default MiniMax-M3
|
|
12
|
+
*/
|
|
13
|
+
model?: 'MiniMax-M2' | 'MiniMax-M2.1' | 'MiniMax-M2.1-highspeed' | 'MiniMax-M2.5' | 'MiniMax-M2.5-highspeed' | 'MiniMax-M2.7' | 'MiniMax-M2.7-highspeed' | 'MiniMax-M3' | Expression<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Additional options to add
|
|
16
|
+
* @default {}
|
|
17
|
+
*/
|
|
18
|
+
options?: {
|
|
19
|
+
/** Whether to strip chain-of-thought reasoning from the response, returning only the final answer
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
hideThinking?: boolean | Expression<boolean>;
|
|
23
|
+
/** The maximum number of tokens to generate in the completion. The limit depends on the selected model.
|
|
24
|
+
* @default -1
|
|
25
|
+
*/
|
|
26
|
+
maxTokens?: number | Expression<number>;
|
|
27
|
+
/** Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.
|
|
28
|
+
* @default 0.7
|
|
29
|
+
*/
|
|
30
|
+
temperature?: number | Expression<number>;
|
|
31
|
+
/** Maximum amount of time a request is allowed to take in milliseconds
|
|
32
|
+
* @default 360000
|
|
33
|
+
*/
|
|
34
|
+
timeout?: number | Expression<number>;
|
|
35
|
+
/** Maximum number of retries to attempt
|
|
36
|
+
* @default 2
|
|
37
|
+
*/
|
|
38
|
+
maxRetries?: number | Expression<number>;
|
|
39
|
+
/** Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. We generally recommend altering this or temperature but not both.
|
|
40
|
+
* @default 1
|
|
41
|
+
*/
|
|
42
|
+
topP?: number | Expression<number>;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface LcLmChatMinimaxV11Credentials {
|
|
47
|
+
minimaxApi: CredentialReference;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface LcLmChatMinimaxV11NodeBase {
|
|
51
|
+
type: '@n8n/n8n-nodes-langchain.lmChatMinimax';
|
|
52
|
+
version: 1.1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type LcLmChatMinimaxV11ParamsNode = LcLmChatMinimaxV11NodeBase & {
|
|
56
|
+
config: NodeConfig<LcLmChatMinimaxV11Params> & { credentials?: LcLmChatMinimaxV11Credentials };
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type LcLmChatMinimaxV11Node = LcLmChatMinimaxV11ParamsNode;
|
|
@@ -15,7 +15,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
15
15
|
// Parameters schema
|
|
16
16
|
const parametersSchema = z.object({
|
|
17
17
|
model: stringOrExpression.optional(),
|
|
18
|
-
options: z.object({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional() }).optional(),
|
|
18
|
+
options: z.object({ frequencyPenalty: numberOrExpression.optional(), maxTokens: numberOrExpression.optional(), responseFormat: z.union([z.literal('text'), z.literal('json_object'), expressionSchema]).optional(), presencePenalty: numberOrExpression.optional(), temperature: numberOrExpression.optional(), timeout: numberOrExpression.optional(), maxRetries: numberOrExpression.optional(), topP: numberOrExpression.optional(), providerRouting: z.object({ order: stringOrExpression.optional(), allowFallbacks: booleanOrExpression.optional(), requireParameters: booleanOrExpression.optional(), dataCollection: z.union([z.literal('allow'), z.literal('deny'), expressionSchema]).optional(), zdr: booleanOrExpression.optional(), only: stringOrExpression.optional(), ignore: stringOrExpression.optional(), sort: z.union([z.literal('price'), z.literal('throughput'), z.literal('latency'), expressionSchema]).optional() }).optional() }).optional(),
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// Return combined config schema
|
|
@@ -48,6 +48,39 @@ export interface LcLmChatOpenRouterV1Params {
|
|
|
48
48
|
* @default 1
|
|
49
49
|
*/
|
|
50
50
|
topP?: number | Expression<number>;
|
|
51
|
+
/** Configure which sub-providers handle your requests. <a href="https://openrouter.ai/docs/provider-routing">Learn more</a>.
|
|
52
|
+
* @default {}
|
|
53
|
+
*/
|
|
54
|
+
providerRouting?: {
|
|
55
|
+
/** Comma-separated list of provider slugs to try in order. <a href="https://openrouter.ai/docs/provider-routing#provider-sorting">Learn more</a>.
|
|
56
|
+
*/
|
|
57
|
+
order?: string | Expression<string>;
|
|
58
|
+
/** Whether to allow backup providers when the primary is unavailable
|
|
59
|
+
* @default true
|
|
60
|
+
*/
|
|
61
|
+
allowFallbacks?: boolean | Expression<boolean>;
|
|
62
|
+
/** Whether to only use providers that support all parameters in your request
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
requireParameters?: boolean | Expression<boolean>;
|
|
66
|
+
/** Select 'Deny' to route requests only through providers that don't collect your data
|
|
67
|
+
* @default allow
|
|
68
|
+
*/
|
|
69
|
+
dataCollection?: 'allow' | 'deny' | Expression<string>;
|
|
70
|
+
/** Whether to restrict routing to only providers with Zero Data Retention endpoints
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
zdr?: boolean | Expression<boolean>;
|
|
74
|
+
/** Comma-separated list of provider slugs to allow for this request. Only these providers will be used. <a href="https://openrouter.ai/docs/guides/routing/provider-selection#allowing-only-specific-providers">Learn more</a>.
|
|
75
|
+
*/
|
|
76
|
+
only?: string | Expression<string>;
|
|
77
|
+
/** Comma-separated list of provider slugs to skip for this request
|
|
78
|
+
*/
|
|
79
|
+
ignore?: string | Expression<string>;
|
|
80
|
+
/** Sort providers by a specific attribute. Disables load balancing and tries providers in order. <a href="https://openrouter.ai/docs/provider-routing#provider-sorting">Learn more</a>.
|
|
81
|
+
*/
|
|
82
|
+
sort?: 'price' | 'throughput' | 'latency' | Expression<string>;
|
|
83
|
+
};
|
|
51
84
|
};
|
|
52
85
|
}
|
|
53
86
|
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcMcpTriggerV21Node } from './v21';
|
|
7
8
|
import type { LcMcpTriggerV2Node } from './v2';
|
|
8
9
|
import type { LcMcpTriggerV11Node } from './v11';
|
|
9
10
|
import type { LcMcpTriggerV1Node } from './v1';
|
|
10
11
|
|
|
12
|
+
export * from './v21';
|
|
11
13
|
export * from './v2';
|
|
12
14
|
export * from './v11';
|
|
13
15
|
export * from './v1';
|
|
14
16
|
|
|
15
17
|
// Combined union type for all versions
|
|
16
|
-
export type LcMcpTriggerNode = LcMcpTriggerV2Node | LcMcpTriggerV11Node | LcMcpTriggerV1Node;
|
|
18
|
+
export type LcMcpTriggerNode = LcMcpTriggerV21Node | LcMcpTriggerV2Node | LcMcpTriggerV11Node | LcMcpTriggerV1Node;
|
|
@@ -22,6 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
24
|
path: stringOrExpression,
|
|
25
|
+
instructions: stringOrExpression.optional(),
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
// Return combined config schema
|
|
@@ -21,6 +21,10 @@ export interface LcMcpTriggerV1Params {
|
|
|
21
21
|
* The base path for this MCP server
|
|
22
22
|
*/
|
|
23
23
|
path: string | Expression<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Sent to MCP clients when they connect. Clients that support server instructions typically add them to the model's system prompt — use for guidance that spans multiple tools, such as tool-choice rules or multi-step workflows.
|
|
26
|
+
*/
|
|
27
|
+
instructions?: string | Expression<string>;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
export interface LcMcpTriggerV1SubnodeConfig {
|
|
@@ -22,6 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
24
|
path: stringOrExpression,
|
|
25
|
+
instructions: stringOrExpression.optional(),
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
// Return combined config schema
|
|
@@ -21,6 +21,10 @@ export interface LcMcpTriggerV11Params {
|
|
|
21
21
|
* The base path for this MCP server
|
|
22
22
|
*/
|
|
23
23
|
path: string | Expression<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Sent to MCP clients when they connect. Clients that support server instructions typically add them to the model's system prompt — use for guidance that spans multiple tools, such as tool-choice rules or multi-step workflows.
|
|
26
|
+
*/
|
|
27
|
+
instructions?: string | Expression<string>;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
export interface LcMcpTriggerV11SubnodeConfig {
|
|
@@ -22,6 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
23
|
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
24
|
path: stringOrExpression,
|
|
25
|
+
instructions: stringOrExpression.optional(),
|
|
25
26
|
});
|
|
26
27
|
|
|
27
28
|
// Return combined config schema
|
|
@@ -21,6 +21,10 @@ export interface LcMcpTriggerV2Params {
|
|
|
21
21
|
* The base path for this MCP server
|
|
22
22
|
*/
|
|
23
23
|
path: string | Expression<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Sent to MCP clients when they connect. Clients that support server instructions typically add them to the model's system prompt — use for guidance that spans multiple tools, such as tool-choice rules or multi-step workflows.
|
|
26
|
+
*/
|
|
27
|
+
instructions?: string | Expression<string>;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
export interface LcMcpTriggerV2SubnodeConfig {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Server Trigger Node - Version 2.1 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema }) {
|
|
14
|
+
|
|
15
|
+
// Static subnode schema
|
|
16
|
+
const subnodesSchema = z.object({
|
|
17
|
+
tools: z.array(toolInstanceSchema).optional(),
|
|
18
|
+
}).strict();
|
|
19
|
+
|
|
20
|
+
// Parameters schema
|
|
21
|
+
const parametersSchema = z.object({
|
|
22
|
+
authentication: z.union([z.literal('none'), z.literal('n8nOAuth2'), z.literal('bearerAuth'), z.literal('headerAuth'), expressionSchema]).optional(),
|
|
23
|
+
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
24
|
+
includeUserInOutput: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
25
|
+
path: stringOrExpression,
|
|
26
|
+
instructions: stringOrExpression.optional(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
// Return combined config schema
|
|
30
|
+
return z.object({
|
|
31
|
+
parameters: parametersSchema.nullable().optional(),
|
|
32
|
+
subnodes: subnodesSchema.optional(),
|
|
33
|
+
});
|
|
34
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP Server Trigger Node - Version 2.1
|
|
3
|
+
* Expose n8n tools as an MCP Server endpoint
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface LcMcpTriggerV21Params {
|
|
8
|
+
/**
|
|
9
|
+
* The way to authenticate
|
|
10
|
+
* @builderHint Default to 'none'. n8n exposes inbound trigger URLs publicly by design. Only select an authentication method when the user explicitly asks to authenticate inbound traffic.
|
|
11
|
+
* @default none
|
|
12
|
+
*/
|
|
13
|
+
authentication?: 'none' | 'n8nOAuth2' | 'bearerAuth' | 'headerAuth' | Expression<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the triggering user must also have permission to execute the workflow in the project it belongs to
|
|
16
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to include the calling user's ID, email and name in the trigger output and in the request the connected tools receive
|
|
22
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
includeUserInOutput?: boolean | Expression<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* The base path for this MCP server
|
|
28
|
+
*/
|
|
29
|
+
path: string | Expression<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Sent to MCP clients when they connect. Clients that support server instructions typically add them to the model's system prompt — use for guidance that spans multiple tools, such as tool-choice rules or multi-step workflows.
|
|
32
|
+
*/
|
|
33
|
+
instructions?: string | Expression<string>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface LcMcpTriggerV21SubnodeConfig {
|
|
37
|
+
tools?: ToolInstance[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface LcMcpTriggerV21Credentials {
|
|
41
|
+
httpBearerAuth: CredentialReference;
|
|
42
|
+
httpHeaderAuth: CredentialReference;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface LcMcpTriggerV21NodeBase {
|
|
46
|
+
type: '@n8n/n8n-nodes-langchain.mcpTrigger';
|
|
47
|
+
version: 2.1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type LcMcpTriggerV21ParamsNode = LcMcpTriggerV21NodeBase & {
|
|
51
|
+
config: NodeConfig<LcMcpTriggerV21Params> & { credentials?: LcMcpTriggerV21Credentials } & { subnodes?: LcMcpTriggerV21SubnodeConfig };
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export type LcMcpTriggerV21Node = LcMcpTriggerV21ParamsNode;
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { LcMinimaxV11Node } from './v11';
|
|
7
8
|
import type { LcMinimaxV1Node } from './v1';
|
|
8
9
|
|
|
10
|
+
export * from './v11';
|
|
9
11
|
export * from './v1';
|
|
10
12
|
|
|
11
13
|
// Combined union type for all versions
|
|
12
|
-
export type LcMinimaxNode = LcMinimaxV1Node;
|
|
14
|
+
export type LcMinimaxNode = LcMinimaxV11Node | LcMinimaxV1Node;
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_image/index.schema.js
CHANGED
|
@@ -13,6 +13,6 @@ const getGenerateSchema = require('./operation_generate.schema');
|
|
|
13
13
|
module.exports = function getSchema(helpers) {
|
|
14
14
|
const { parameters, z } = helpers;
|
|
15
15
|
// Apply operation default if not set
|
|
16
|
-
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: '
|
|
16
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'generate' } : parameters;
|
|
17
17
|
return getGenerateSchema({ ...helpers, parameters: effectiveParams });
|
|
18
18
|
};
|
|
@@ -20,7 +20,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
20
20
|
return z.object({
|
|
21
21
|
parameters: z.object({
|
|
22
22
|
resource: z.literal('image'),
|
|
23
|
-
operation: z.literal('generate'),
|
|
23
|
+
operation: z.literal('generate').default('generate'),
|
|
24
24
|
modelId: z.union([z.literal('image-01'), expressionSchema]).optional(),
|
|
25
25
|
prompt: stringOrExpression,
|
|
26
26
|
aspectRatio: z.union([z.literal('1:1'), z.literal('16:9'), z.literal('2:3'), z.literal('21:9'), z.literal('3:2'), z.literal('3:4'), z.literal('4:3'), z.literal('9:16'), expressionSchema]).optional(),
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_text/index.schema.js
CHANGED
|
@@ -13,6 +13,6 @@ const getMessageSchema = require('./operation_message.schema');
|
|
|
13
13
|
module.exports = function getSchema(helpers) {
|
|
14
14
|
const { parameters, z } = helpers;
|
|
15
15
|
// Apply operation default if not set
|
|
16
|
-
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: '
|
|
16
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'message' } : parameters;
|
|
17
17
|
return getMessageSchema({ ...helpers, parameters: effectiveParams });
|
|
18
18
|
};
|
|
@@ -20,7 +20,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
20
20
|
return z.object({
|
|
21
21
|
parameters: z.object({
|
|
22
22
|
resource: z.literal('text').default('text'),
|
|
23
|
-
operation: z.literal('message'),
|
|
23
|
+
operation: z.literal('message').default('message'),
|
|
24
24
|
modelId: z.union([z.literal('MiniMax-M2'), z.literal('MiniMax-M2.1'), z.literal('MiniMax-M2.1-highspeed'), z.literal('MiniMax-M2.5'), z.literal('MiniMax-M2.5-highspeed'), z.literal('MiniMax-M2.7'), z.literal('MiniMax-M2.7-highspeed'), expressionSchema]).optional(),
|
|
25
25
|
messages: z.object({ values: z.array(z.object({ content: stringOrExpression.optional(), role: z.union([z.literal('user'), z.literal('assistant'), expressionSchema]).optional() })).optional() }).optional(),
|
|
26
26
|
simplify: booleanOrExpression.optional(),
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v1/resource_video/index.schema.js
CHANGED
|
@@ -14,7 +14,7 @@ const getTextToVideoSchema = require('./operation_text_to_video.schema');
|
|
|
14
14
|
module.exports = function getSchema(helpers) {
|
|
15
15
|
const { parameters, z } = helpers;
|
|
16
16
|
// Apply operation default if not set
|
|
17
|
-
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: '
|
|
17
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'textToVideo' } : parameters;
|
|
18
18
|
return z.union([
|
|
19
19
|
getImageToVideoSchema({ ...helpers, parameters: effectiveParams }),
|
|
20
20
|
getTextToVideoSchema({ ...helpers, parameters: effectiveParams }),
|
|
@@ -25,9 +25,9 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
25
25
|
imageInputType: z.union([z.literal('url'), z.literal('binary'), expressionSchema]).optional(),
|
|
26
26
|
imageUrl: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"show":{"imageInputType":["url"]}}, defaults: {"imageInputType":"url"} }),
|
|
27
27
|
binaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"imageInputType":["binary"]}}, defaults: {"imageInputType":"url"} }),
|
|
28
|
-
prompt: stringOrExpression.
|
|
29
|
-
duration: z.union([z.literal(6), z.literal(10), expressionSchema]).
|
|
30
|
-
resolution: z.union([z.literal('512P'), z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]).
|
|
28
|
+
prompt: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
29
|
+
duration: resolveSchema({ parameters, schema: z.union([z.literal(6), z.literal(10), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
30
|
+
resolution: resolveSchema({ parameters, schema: z.union([z.literal('512P'), z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
31
31
|
downloadVideo: booleanOrExpression.optional(),
|
|
32
32
|
options: z.object({ promptOptimizer: booleanOrExpression.optional(), lastFrameInputType: z.union([z.literal('none'), z.literal('url'), z.literal('binary'), expressionSchema]).optional(), lastFrameImageUrl: stringOrExpression.optional(), lastFrameBinaryPropertyName: stringOrExpression.optional(), subjectReferenceInputType: z.union([z.literal('none'), z.literal('url'), z.literal('binary'), expressionSchema]).optional(), subjectReferenceImageUrl: stringOrExpression.optional(), subjectReferenceBinaryPropertyName: stringOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
@@ -36,15 +36,18 @@ export type LcMinimaxV1VideoImageToVideoParams = {
|
|
|
36
36
|
binaryPropertyName?: string | Expression<string>;
|
|
37
37
|
/**
|
|
38
38
|
* Optional text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax.
|
|
39
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
39
40
|
*/
|
|
40
41
|
prompt?: string | Expression<string>;
|
|
41
42
|
/**
|
|
42
43
|
* Duration of the generated video
|
|
44
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
43
45
|
* @default 6
|
|
44
46
|
*/
|
|
45
47
|
duration?: 6 | 10 | Expression<number>;
|
|
46
48
|
/**
|
|
47
49
|
* Resolution of the generated video. Available options depend on the model.
|
|
50
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
48
51
|
* @default 768P
|
|
49
52
|
*/
|
|
50
53
|
resolution?: '512P' | '720P' | '768P' | '1080P' | Expression<string>;
|
|
@@ -59,10 +62,11 @@ export type LcMinimaxV1VideoImageToVideoParams = {
|
|
|
59
62
|
*/
|
|
60
63
|
options?: {
|
|
61
64
|
/** Whether to automatically optimize the prompt
|
|
65
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
62
66
|
* @default true
|
|
63
67
|
*/
|
|
64
68
|
promptOptimizer?: boolean | Expression<boolean>;
|
|
65
|
-
/** Provide a last frame image to generate a first-and-last-frame video.
|
|
69
|
+
/** Provide a last frame image to generate a first-and-last-frame video. Available only for supported models.
|
|
66
70
|
* @default none
|
|
67
71
|
*/
|
|
68
72
|
lastFrameInputType?: 'none' | 'url' | 'binary' | Expression<string>;
|
|
@@ -76,15 +80,18 @@ export type LcMinimaxV1VideoImageToVideoParams = {
|
|
|
76
80
|
*/
|
|
77
81
|
lastFrameBinaryPropertyName?: string | Expression<string>;
|
|
78
82
|
/** Provide a face photo for facial consistency in the generated video. Only supported by MiniMax-Hailuo-2.3.
|
|
83
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
79
84
|
* @default none
|
|
80
85
|
*/
|
|
81
86
|
subjectReferenceInputType?: 'none' | 'url' | 'binary' | Expression<string>;
|
|
82
87
|
/** Subject Reference Image URL
|
|
83
88
|
* @displayOptions.show { subjectReferenceInputType: ["url"] }
|
|
89
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
84
90
|
*/
|
|
85
91
|
subjectReferenceImageUrl?: string | Expression<string>;
|
|
86
92
|
/** Subject Reference Data Field Name
|
|
87
93
|
* @displayOptions.show { subjectReferenceInputType: ["binary"] }
|
|
94
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
88
95
|
* @default subjectReference
|
|
89
96
|
*/
|
|
90
97
|
subjectReferenceBinaryPropertyName?: string | Expression<string>;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @generated - CommonJS JavaScript for runtime loading
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, toolInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -20,13 +20,13 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
20
20
|
return z.object({
|
|
21
21
|
parameters: z.object({
|
|
22
22
|
resource: z.literal('video'),
|
|
23
|
-
operation: z.literal('textToVideo'),
|
|
23
|
+
operation: z.literal('textToVideo').default('textToVideo'),
|
|
24
24
|
modelId: z.union([z.literal('MiniMax-Hailuo-2.3'), z.literal('MiniMax-Hailuo-02'), z.literal('T2V-01-Director'), z.literal('T2V-01'), expressionSchema]).optional(),
|
|
25
|
-
prompt: stringOrExpression,
|
|
26
|
-
duration: z.union([z.literal(6), z.literal(10), expressionSchema]).
|
|
27
|
-
resolution: z.union([z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]).
|
|
25
|
+
prompt: resolveSchema({ parameters, schema: stringOrExpression, required: true, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
26
|
+
duration: resolveSchema({ parameters, schema: z.union([z.literal(6), z.literal(10), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
27
|
+
resolution: resolveSchema({ parameters, schema: z.union([z.literal('720P'), z.literal('768P'), z.literal('1080P'), expressionSchema]), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
28
28
|
downloadVideo: booleanOrExpression.optional(),
|
|
29
|
-
options: z.object({ promptOptimizer: booleanOrExpression.optional() }).
|
|
29
|
+
options: resolveSchema({ parameters, schema: z.object({ promptOptimizer: booleanOrExpression.optional() }), required: false, displayOptions: {"hide":{"modelId":["MiniMax-H3"]}}, defaults: {"modelId":"MiniMax-Hailuo-2.3"} }),
|
|
30
30
|
}).optional(),
|
|
31
31
|
subnodes: subnodesSchema.optional(),
|
|
32
32
|
});
|
|
@@ -19,15 +19,18 @@ export type LcMinimaxV1VideoTextToVideoParams = {
|
|
|
19
19
|
modelId?: 'MiniMax-Hailuo-2.3' | 'MiniMax-Hailuo-02' | 'T2V-01-Director' | 'T2V-01' | Expression<string>;
|
|
20
20
|
/**
|
|
21
21
|
* Text description of the video (max 2000 characters). Camera movements can be controlled using [command] syntax, e.g. [Push in], [Pan left].
|
|
22
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
22
23
|
*/
|
|
23
24
|
prompt: string | Expression<string>;
|
|
24
25
|
/**
|
|
25
26
|
* Duration of the generated video
|
|
27
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
26
28
|
* @default 6
|
|
27
29
|
*/
|
|
28
30
|
duration?: 6 | 10 | Expression<number>;
|
|
29
31
|
/**
|
|
30
32
|
* Resolution of the generated video. Available options depend on the model.
|
|
33
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
31
34
|
* @default 768P
|
|
32
35
|
*/
|
|
33
36
|
resolution?: '720P' | '768P' | '1080P' | Expression<string>;
|
|
@@ -38,6 +41,7 @@ export type LcMinimaxV1VideoTextToVideoParams = {
|
|
|
38
41
|
downloadVideo?: boolean | Expression<boolean>;
|
|
39
42
|
/**
|
|
40
43
|
* Options
|
|
44
|
+
* @displayOptions.hide { modelId: ["MiniMax-H3"] }
|
|
41
45
|
* @default {}
|
|
42
46
|
*/
|
|
43
47
|
options?: {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.1 - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all discriminator schemas.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getAudioSchema = require('./resource_audio/index.schema');
|
|
12
|
+
const getImageSchema = require('./resource_image/index.schema');
|
|
13
|
+
const getTextSchema = require('./resource_text/index.schema');
|
|
14
|
+
const getVideoSchema = require('./resource_video/index.schema');
|
|
15
|
+
|
|
16
|
+
module.exports = function getSchema(helpers) {
|
|
17
|
+
const { parameters, z } = helpers;
|
|
18
|
+
// Apply discriminator default if not set
|
|
19
|
+
const effectiveParams = parameters.resource === undefined ? { ...parameters, resource: 'text' } : parameters;
|
|
20
|
+
return z.union([
|
|
21
|
+
getAudioSchema({ ...helpers, parameters: effectiveParams }),
|
|
22
|
+
getImageSchema({ ...helpers, parameters: effectiveParams }),
|
|
23
|
+
getTextSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
|
+
getVideoSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
|
+
]);
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.1
|
|
3
|
+
* Re-exports all discriminator combinations.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { LcMinimaxV11AudioNode } from './resource_audio';
|
|
7
|
+
import type { LcMinimaxV11ImageNode } from './resource_image';
|
|
8
|
+
import type { LcMinimaxV11TextNode } from './resource_text';
|
|
9
|
+
import type { LcMinimaxV11VideoNode } from './resource_video';
|
|
10
|
+
|
|
11
|
+
export * from './resource_audio';
|
|
12
|
+
export * from './resource_image';
|
|
13
|
+
export * from './resource_text';
|
|
14
|
+
export * from './resource_video';
|
|
15
|
+
|
|
16
|
+
export type LcMinimaxV11Node =
|
|
17
|
+
| LcMinimaxV11AudioNode
|
|
18
|
+
| LcMinimaxV11ImageNode
|
|
19
|
+
| LcMinimaxV11TextNode
|
|
20
|
+
| LcMinimaxV11VideoNode
|
|
21
|
+
;
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/minimax/v11/resource_audio/index.schema.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax - Audio Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getTextToSpeechSchema = require('./operation_text_to_speech.schema');
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema(helpers) {
|
|
14
|
+
const { parameters, z } = helpers;
|
|
15
|
+
// Apply operation default if not set
|
|
16
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'textToSpeech' } : parameters;
|
|
17
|
+
return getTextToSpeechSchema({ ...helpers, parameters: effectiveParams });
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax - Audio Resource
|
|
3
|
+
* Re-exports all operation types for this resource.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { LcMinimaxV11AudioTextToSpeechNode } from './operation_text_to_speech';
|
|
7
|
+
|
|
8
|
+
export * from './operation_text_to_speech';
|
|
9
|
+
|
|
10
|
+
export type LcMinimaxV11AudioNode = LcMinimaxV11AudioTextToSpeechNode;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MiniMax Node - Version 1.1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=audio, operation=textToSpeech
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, toolInstanceSchema }) {
|
|
14
|
+
|
|
15
|
+
// Static subnode schema
|
|
16
|
+
const subnodesSchema = z.object({
|
|
17
|
+
tools: z.array(toolInstanceSchema).optional(),
|
|
18
|
+
}).strict();
|
|
19
|
+
|
|
20
|
+
return z.object({
|
|
21
|
+
parameters: z.object({
|
|
22
|
+
resource: z.literal('audio'),
|
|
23
|
+
operation: z.literal('textToSpeech').default('textToSpeech'),
|
|
24
|
+
modelId: z.union([z.literal('speech-02-hd'), z.literal('speech-02-turbo'), z.literal('speech-2.6-hd'), z.literal('speech-2.6-turbo'), z.literal('speech-2.8-hd'), z.literal('speech-2.8-turbo'), expressionSchema]).optional(),
|
|
25
|
+
text: stringOrExpression,
|
|
26
|
+
voiceId: stringOrExpression.optional(),
|
|
27
|
+
downloadAudio: booleanOrExpression.optional(),
|
|
28
|
+
options: z.object({ audioFormat: z.union([z.literal('mp3'), z.literal('pcm'), z.literal('flac'), z.literal('wav'), expressionSchema]).optional(), emotion: z.union([z.literal('angry'), z.literal('calm'), z.literal('disgusted'), z.literal('fearful'), z.literal('happy'), z.literal('sad'), z.literal('surprised'), expressionSchema]).optional(), languageBoost: z.union([z.literal('Arabic'), z.literal('auto'), z.literal('Chinese'), z.literal('English'), z.literal('French'), z.literal('German'), z.literal('Indonesian'), z.literal('Italian'), z.literal('Japanese'), z.literal('Korean'), z.literal('Portuguese'), z.literal('Russian'), z.literal('Spanish'), z.literal('Thai'), z.literal('Turkish'), z.literal('Vietnamese'), expressionSchema]).optional(), pitch: numberOrExpression.optional(), speed: numberOrExpression.optional(), volume: numberOrExpression.optional() }).optional(),
|
|
29
|
+
}).optional(),
|
|
30
|
+
subnodes: subnodesSchema.optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|