@n8n/n8n-nodes-langchain 2.19.2 → 2.20.1
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/agent/v1.schema.js +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v1.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.schema.js +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v11.ts +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.schema.js +3 -3
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v12.ts +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.schema.js +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v13.ts +7 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.schema.js +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v14.ts +7 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.schema.js +4 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v15.ts +7 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.schema.js +8 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v16.ts +9 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.schema.js +8 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v17.ts +9 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.schema.js +8 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v18.ts +9 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.schema.js +8 -8
- package/dist/node-definitions/nodes/n8n-nodes-langchain/agent/v19.ts +9 -10
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v1.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v11.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v12.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chat/v13.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v1.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v11.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v12.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v13.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/chatTrigger/v14.ts +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v1.ts +23 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v11.ts +24 -5
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v12.ts +25 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v13.ts +23 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v14.ts +23 -4
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAnthropic/v15.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v1.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v1.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v11.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatAwsBedrock/v11.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOllama/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmChatOllama/v1.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmOllama/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/lmOllama/v1.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v1.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v11.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/mcpTrigger/v2.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryBufferWindow/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryBufferWindow/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryBufferWindow/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryBufferWindow/v14.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryBufferWindow/v14.ts +37 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryMongoDbChat/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryMongoDbChat/v11.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryMongoDbChat/v11.ts +51 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryPostgresChat/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryPostgresChat/v14.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryPostgresChat/v14.ts +47 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryRedisChat/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryRedisChat/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryRedisChat/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryRedisChat/v16.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryRedisChat/v16.ts +47 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryXata/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryXata/v15.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/memoryXata/v15.ts +42 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_image/operation_analyze.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/ollama/v1/resource_image/operation_analyze.ts +4 -0
- 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/ollama/v1/resource_text/operation_message.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v1/resource_assistant/operation_create.ts +0 -1
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v11/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v12/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v13/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v14/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v15/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v16/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v17/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_create.schema.js +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v18/resource_assistant/operation_create.ts +1 -2
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v2/resource_image/operation_edit.schema.js +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_edit.schema.js +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_edit.ts +6 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_edit.schema.js +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_edit.ts +6 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_edit.schema.js +7 -7
- package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_edit.ts +6 -6
- package/dist/node-definitions/nodes/n8n-nodes-langchain/retrieverWorkflow/v11.schema.js +2 -2
- package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js +169 -20
- package/dist/nodes/llms/LMChatAnthropic/LmChatAnthropic.node.js.map +1 -1
- package/dist/nodes/llms/LMOllama/LmOllama.node.js.map +1 -1
- package/dist/nodes/llms/LMOllama/description.js +7 -0
- package/dist/nodes/llms/LMOllama/description.js.map +1 -1
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js +3 -0
- package/dist/nodes/mcp/McpTrigger/McpTrigger.node.js.map +1 -1
- package/dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js +2 -1
- package/dist/nodes/memory/MemoryBufferWindow/MemoryBufferWindow.node.js.map +1 -1
- package/dist/nodes/memory/MemoryMongoDbChat/MemoryMongoDbChat.node.js +2 -1
- package/dist/nodes/memory/MemoryMongoDbChat/MemoryMongoDbChat.node.js.map +1 -1
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js +2 -1
- package/dist/nodes/memory/MemoryMotorhead/MemoryMotorhead.node.js.map +1 -1
- package/dist/nodes/memory/MemoryPostgresChat/MemoryPostgresChat.node.js +2 -1
- package/dist/nodes/memory/MemoryPostgresChat/MemoryPostgresChat.node.js.map +1 -1
- package/dist/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.js +2 -1
- package/dist/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.js.map +1 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js +2 -1
- package/dist/nodes/memory/MemoryXata/MemoryXata.node.js.map +1 -1
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js +2 -1
- package/dist/nodes/memory/MemoryZep/MemoryZep.node.js.map +1 -1
- package/dist/nodes/memory/descriptions.d.ts +1 -0
- package/dist/nodes/memory/descriptions.js +14 -1
- package/dist/nodes/memory/descriptions.js.map +1 -1
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js +3 -0
- package/dist/nodes/trigger/ChatTrigger/ChatTrigger.node.js.map +1 -1
- package/dist/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.d.ts +1 -1
- package/dist/nodes/vendors/Ollama/actions/image/analyze.operation.js +9 -1
- package/dist/nodes/vendors/Ollama/actions/image/analyze.operation.js.map +1 -1
- package/dist/nodes/vendors/Ollama/actions/text/message.operation.js +11 -4
- package/dist/nodes/vendors/Ollama/actions/text/message.operation.js.map +1 -1
- package/dist/nodes/vendors/Ollama/transport/index.js +1 -1
- package/dist/nodes/vendors/Ollama/transport/index.js.map +1 -1
- package/dist/nodes/vendors/OpenAi/v2/actions/text/response.operation.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/nodes.json +28 -28
- package/dist/utils/helpers.js +24 -0
- package/dist/utils/helpers.js.map +1 -1
- package/dist/utils/output_parsers/N8nOutputFixingParser.d.ts +1 -1
- package/package.json +18 -18
|
@@ -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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV12AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV13AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV14AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV15AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV16AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV17AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -28,7 +28,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
28
28
|
instructions: stringOrExpression.optional(),
|
|
29
29
|
codeInterpreter: booleanOrExpression.optional(),
|
|
30
30
|
knowledgeRetrieval: booleanOrExpression.optional(),
|
|
31
|
-
file_ids:
|
|
31
|
+
file_ids: resolveOneOfSchemas({ parameters, variants: [{ schema: z.array(z.string()), required: false, displayOptions: {"show":{"codeInterpreter":[true]},"hide":{"knowledgeRetrieval":[true]}}, defaults: {"codeInterpreter":false,"knowledgeRetrieval":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true]},"hide":{"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }, { schema: z.array(z.string()), required: false, displayOptions: {"show":{"knowledgeRetrieval":[true],"codeInterpreter":[true]}}, defaults: {"knowledgeRetrieval":false,"codeInterpreter":false} }] }),
|
|
32
32
|
options: z.object({ temperature: numberOrExpression.optional(), topP: numberOrExpression.optional(), failIfExists: booleanOrExpression.optional() }).optional(),
|
|
33
33
|
}).optional(),
|
|
34
34
|
subnodes: subnodesSchema.optional(),
|
|
@@ -44,8 +44,7 @@ export type LcOpenAiV18AssistantCreateParams = {
|
|
|
44
44
|
* The files to be used by the assistant, there can be a maximum of 20 files attached to the assistant. You can use expression to pass file IDs as an array or comma-separated string.
|
|
45
45
|
* @hint Add more files by using the 'Upload a File' operation
|
|
46
46
|
* @loadOptionsMethod getFiles
|
|
47
|
-
* @displayOptions.show { codeInterpreter: [true]
|
|
48
|
-
* @displayOptions.hide { knowledgeRetrieval: [true], codeInterpreter: [true] }
|
|
47
|
+
* @displayOptions.show { codeInterpreter: [true] }
|
|
49
48
|
* @default []
|
|
50
49
|
*/
|
|
51
50
|
file_ids?: 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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -24,14 +24,14 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
24
24
|
operation: z.literal('edit'),
|
|
25
25
|
model: z.union([z.literal('dall-e-2'), z.literal('gpt-image-1'), expressionSchema]).optional(),
|
|
26
26
|
prompt: stringOrExpression,
|
|
27
|
-
images:
|
|
28
|
-
binaryPropertyName:
|
|
27
|
+
images: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
28
|
+
binaryPropertyName: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: stringOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
29
29
|
n: numberOrExpression.optional(),
|
|
30
30
|
size: z.union([z.literal('256x256'), z.literal('512x512'), z.literal('1024x1024'), z.literal('1024x1536'), z.literal('1536x1024'), z.literal('auto'), expressionSchema]).optional(),
|
|
31
|
-
quality:
|
|
32
|
-
responseFormat:
|
|
33
|
-
outputFormat:
|
|
34
|
-
outputCompression:
|
|
31
|
+
quality: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
32
|
+
responseFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
33
|
+
outputFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
34
|
+
outputCompression: resolveOneOfSchemas({ parameters, variants: [{ schema: numberOrExpression, required: false, displayOptions: {"show":{"/model":["gpt-image-1"],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }, { schema: numberOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }] }),
|
|
35
35
|
options: z.object({ user: stringOrExpression.optional(), background: z.union([z.literal('auto'), z.literal('transparent'), z.literal('opaque'), expressionSchema]).optional(), inputFidelity: z.union([z.literal('low'), z.literal('high'), expressionSchema]).optional(), imageMask: stringOrExpression.optional() }).optional(),
|
|
36
36
|
}).optional(),
|
|
37
37
|
subnodes: subnodesSchema.optional(),
|
|
@@ -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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -24,14 +24,14 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
24
24
|
operation: z.literal('edit'),
|
|
25
25
|
model: z.union([z.literal('dall-e-2'), z.literal('gpt-image-1'), expressionSchema]).optional(),
|
|
26
26
|
prompt: stringOrExpression,
|
|
27
|
-
images:
|
|
28
|
-
binaryPropertyName:
|
|
27
|
+
images: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
28
|
+
binaryPropertyName: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: stringOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
29
29
|
n: numberOrExpression.optional(),
|
|
30
30
|
size: z.union([z.literal('256x256'), z.literal('512x512'), z.literal('1024x1024'), z.literal('1024x1536'), z.literal('1536x1024'), z.literal('auto'), expressionSchema]).optional(),
|
|
31
|
-
quality:
|
|
32
|
-
responseFormat:
|
|
33
|
-
outputFormat:
|
|
34
|
-
outputCompression:
|
|
31
|
+
quality: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
32
|
+
responseFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
33
|
+
outputFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
34
|
+
outputCompression: resolveOneOfSchemas({ parameters, variants: [{ schema: numberOrExpression, required: false, displayOptions: {"show":{"/model":["gpt-image-1"],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }, { schema: numberOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }] }),
|
|
35
35
|
options: z.object({ user: stringOrExpression.optional(), background: z.union([z.literal('auto'), z.literal('transparent'), z.literal('opaque'), expressionSchema]).optional(), inputFidelity: z.union([z.literal('low'), z.literal('high'), expressionSchema]).optional(), imageMask: stringOrExpression.optional() }).optional(),
|
|
36
36
|
}).optional(),
|
|
37
37
|
subnodes: subnodesSchema.optional(),
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v21/resource_image/operation_edit.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type LcOpenAiV21ImageEditParams = {
|
|
|
23
23
|
prompt: string | Expression<string> | PlaceholderValue;
|
|
24
24
|
/**
|
|
25
25
|
* Add one or more binary fields to include images with your prompt. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.
|
|
26
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
26
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
27
27
|
* @default {"values":[{"binaryPropertyName":"data"}]}
|
|
28
28
|
*/
|
|
29
29
|
images?: {
|
|
@@ -39,7 +39,7 @@ export type LcOpenAiV21ImageEditParams = {
|
|
|
39
39
|
/**
|
|
40
40
|
* Name of the binary property which contains the image. It should be a square png file less than 4MB.
|
|
41
41
|
* @hint The name of the input field containing the binary file data to be processed
|
|
42
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
42
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
43
43
|
* @default data
|
|
44
44
|
*/
|
|
45
45
|
binaryPropertyName?: string | Expression<string> | PlaceholderValue;
|
|
@@ -55,25 +55,25 @@ export type LcOpenAiV21ImageEditParams = {
|
|
|
55
55
|
size?: '256x256' | '512x512' | '1024x1024' | '1024x1536' | '1536x1024' | 'auto' | Expression<string>;
|
|
56
56
|
/**
|
|
57
57
|
* The quality of the image that will be generated
|
|
58
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
58
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
59
59
|
* @default auto
|
|
60
60
|
*/
|
|
61
61
|
quality?: 'auto' | 'high' | 'medium' | 'low' | 'standard' | Expression<string>;
|
|
62
62
|
/**
|
|
63
63
|
* The format in which the generated images are returned. URLs are only valid for 60 minutes after generation.
|
|
64
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
64
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
65
65
|
* @default url
|
|
66
66
|
*/
|
|
67
67
|
responseFormat?: 'url' | 'b64_json' | Expression<string>;
|
|
68
68
|
/**
|
|
69
69
|
* The format in which the generated images are returned. Only supported for gpt-image-1.
|
|
70
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
70
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
71
71
|
* @default png
|
|
72
72
|
*/
|
|
73
73
|
outputFormat?: 'png' | 'jpeg' | 'webp' | Expression<string>;
|
|
74
74
|
/**
|
|
75
75
|
* The compression level (0-100%) for the generated images. Only supported for gpt-image-1 with webp or jpeg output formats.
|
|
76
|
-
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"]
|
|
76
|
+
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"] }
|
|
77
77
|
* @default 100
|
|
78
78
|
*/
|
|
79
79
|
outputCompression?: number | Expression<number>;
|
|
@@ -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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -24,14 +24,14 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
24
24
|
operation: z.literal('edit'),
|
|
25
25
|
model: z.union([z.literal('dall-e-2'), z.literal('gpt-image-1'), expressionSchema]).optional(),
|
|
26
26
|
prompt: stringOrExpression,
|
|
27
|
-
images:
|
|
28
|
-
binaryPropertyName:
|
|
27
|
+
images: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
28
|
+
binaryPropertyName: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: stringOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
29
29
|
n: numberOrExpression.optional(),
|
|
30
30
|
size: z.union([z.literal('256x256'), z.literal('512x512'), z.literal('1024x1024'), z.literal('1024x1536'), z.literal('1536x1024'), z.literal('auto'), expressionSchema]).optional(),
|
|
31
|
-
quality:
|
|
32
|
-
responseFormat:
|
|
33
|
-
outputFormat:
|
|
34
|
-
outputCompression:
|
|
31
|
+
quality: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
32
|
+
responseFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
33
|
+
outputFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
34
|
+
outputCompression: resolveOneOfSchemas({ parameters, variants: [{ schema: numberOrExpression, required: false, displayOptions: {"show":{"/model":["gpt-image-1"],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }, { schema: numberOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }] }),
|
|
35
35
|
options: z.object({ user: stringOrExpression.optional(), background: z.union([z.literal('auto'), z.literal('transparent'), z.literal('opaque'), expressionSchema]).optional(), inputFidelity: z.union([z.literal('low'), z.literal('high'), expressionSchema]).optional(), imageMask: stringOrExpression.optional() }).optional(),
|
|
36
36
|
}).optional(),
|
|
37
37
|
subnodes: subnodesSchema.optional(),
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v22/resource_image/operation_edit.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type LcOpenAiV22ImageEditParams = {
|
|
|
23
23
|
prompt: string | Expression<string> | PlaceholderValue;
|
|
24
24
|
/**
|
|
25
25
|
* Add one or more binary fields to include images with your prompt. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.
|
|
26
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
26
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
27
27
|
* @default {"values":[{"binaryPropertyName":"data"}]}
|
|
28
28
|
*/
|
|
29
29
|
images?: {
|
|
@@ -39,7 +39,7 @@ export type LcOpenAiV22ImageEditParams = {
|
|
|
39
39
|
/**
|
|
40
40
|
* Name of the binary property which contains the image. It should be a square png file less than 4MB.
|
|
41
41
|
* @hint The name of the input field containing the binary file data to be processed
|
|
42
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
42
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
43
43
|
* @default data
|
|
44
44
|
*/
|
|
45
45
|
binaryPropertyName?: string | Expression<string> | PlaceholderValue;
|
|
@@ -55,25 +55,25 @@ export type LcOpenAiV22ImageEditParams = {
|
|
|
55
55
|
size?: '256x256' | '512x512' | '1024x1024' | '1024x1536' | '1536x1024' | 'auto' | Expression<string>;
|
|
56
56
|
/**
|
|
57
57
|
* The quality of the image that will be generated
|
|
58
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
58
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
59
59
|
* @default auto
|
|
60
60
|
*/
|
|
61
61
|
quality?: 'auto' | 'high' | 'medium' | 'low' | 'standard' | Expression<string>;
|
|
62
62
|
/**
|
|
63
63
|
* The format in which the generated images are returned. URLs are only valid for 60 minutes after generation.
|
|
64
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
64
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
65
65
|
* @default url
|
|
66
66
|
*/
|
|
67
67
|
responseFormat?: 'url' | 'b64_json' | Expression<string>;
|
|
68
68
|
/**
|
|
69
69
|
* The format in which the generated images are returned. Only supported for gpt-image-1.
|
|
70
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
70
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
71
71
|
* @default png
|
|
72
72
|
*/
|
|
73
73
|
outputFormat?: 'png' | 'jpeg' | 'webp' | Expression<string>;
|
|
74
74
|
/**
|
|
75
75
|
* The compression level (0-100%) for the generated images. Only supported for gpt-image-1 with webp or jpeg output formats.
|
|
76
|
-
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"]
|
|
76
|
+
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"] }
|
|
77
77
|
* @default 100
|
|
78
78
|
*/
|
|
79
79
|
outputCompression?: number | Expression<number>;
|
|
@@ -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, resolveSchema, toolInstanceSchema, memoryInstanceSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas, toolInstanceSchema, memoryInstanceSchema }) {
|
|
14
14
|
|
|
15
15
|
// Static subnode schema
|
|
16
16
|
const subnodesSchema = z.object({
|
|
@@ -24,14 +24,14 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
24
24
|
operation: z.literal('edit'),
|
|
25
25
|
modelId: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
26
26
|
prompt: stringOrExpression,
|
|
27
|
-
images:
|
|
28
|
-
binaryPropertyName:
|
|
27
|
+
images: resolveOneOfSchemas({ parameters, variants: [{ schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.object({ values: z.array(z.object({ binaryPropertyName: stringOrExpression.optional() })).optional() }), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
28
|
+
binaryPropertyName: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: stringOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
29
29
|
n: numberOrExpression.optional(),
|
|
30
30
|
size: z.union([z.literal('256x256'), z.literal('512x512'), z.literal('1024x1024'), z.literal('1024x1536'), z.literal('1536x1024'), z.literal('auto'), expressionSchema]).optional(),
|
|
31
|
-
quality:
|
|
32
|
-
responseFormat:
|
|
33
|
-
outputFormat:
|
|
34
|
-
outputCompression:
|
|
31
|
+
quality: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('auto'), z.literal('high'), z.literal('medium'), z.literal('low'), z.literal('standard'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
32
|
+
responseFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["dall-e-2"]}} }, { schema: z.union([z.literal('url'), z.literal('b64_json'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"dall-e"}}]}} }] }),
|
|
33
|
+
outputFormat: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/model":["gpt-image-1"]}} }, { schema: z.union([z.literal('png'), z.literal('jpeg'), z.literal('webp'), expressionSchema]), required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}]}} }] }),
|
|
34
|
+
outputCompression: resolveOneOfSchemas({ parameters, variants: [{ schema: numberOrExpression, required: false, displayOptions: {"show":{"/model":["gpt-image-1"],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }, { schema: numberOrExpression, required: false, displayOptions: {"show":{"/modelId":[{"_cnd":{"includes":"gpt-image"}}],"outputFormat":["webp","jpeg"]}}, defaults: {"outputFormat":"png"} }] }),
|
|
35
35
|
options: z.object({ user: stringOrExpression.optional(), background: z.union([z.literal('auto'), z.literal('transparent'), z.literal('opaque'), expressionSchema]).optional(), inputFidelity: z.union([z.literal('low'), z.literal('high'), expressionSchema]).optional(), imageMask: stringOrExpression.optional() }).optional(),
|
|
36
36
|
}).optional(),
|
|
37
37
|
subnodes: subnodesSchema.optional(),
|
package/dist/node-definitions/nodes/n8n-nodes-langchain/openAi/v23/resource_image/operation_edit.ts
CHANGED
|
@@ -24,7 +24,7 @@ export type LcOpenAiV23ImageEditParams = {
|
|
|
24
24
|
prompt: string | Expression<string> | PlaceholderValue;
|
|
25
25
|
/**
|
|
26
26
|
* Add one or more binary fields to include images with your prompt. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.
|
|
27
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
27
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
28
28
|
* @default {"values":[{"binaryPropertyName":"data"}]}
|
|
29
29
|
*/
|
|
30
30
|
images?: {
|
|
@@ -40,7 +40,7 @@ export type LcOpenAiV23ImageEditParams = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Name of the binary property which contains the image. It should be a square png file less than 4MB.
|
|
42
42
|
* @hint The name of the input field containing the binary file data to be processed
|
|
43
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
43
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
44
44
|
* @default data
|
|
45
45
|
*/
|
|
46
46
|
binaryPropertyName?: string | Expression<string> | PlaceholderValue;
|
|
@@ -56,25 +56,25 @@ export type LcOpenAiV23ImageEditParams = {
|
|
|
56
56
|
size?: '256x256' | '512x512' | '1024x1024' | '1024x1536' | '1536x1024' | 'auto' | Expression<string>;
|
|
57
57
|
/**
|
|
58
58
|
* The quality of the image that will be generated
|
|
59
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
59
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
60
60
|
* @default auto
|
|
61
61
|
*/
|
|
62
62
|
quality?: 'auto' | 'high' | 'medium' | 'low' | 'standard' | Expression<string>;
|
|
63
63
|
/**
|
|
64
64
|
* The format in which the generated images are returned. URLs are only valid for 60 minutes after generation.
|
|
65
|
-
* @displayOptions.show { /model: ["dall-e-2"]
|
|
65
|
+
* @displayOptions.show { /model: ["dall-e-2"] }
|
|
66
66
|
* @default url
|
|
67
67
|
*/
|
|
68
68
|
responseFormat?: 'url' | 'b64_json' | Expression<string>;
|
|
69
69
|
/**
|
|
70
70
|
* The format in which the generated images are returned. Only supported for gpt-image-1.
|
|
71
|
-
* @displayOptions.show { /model: ["gpt-image-1"]
|
|
71
|
+
* @displayOptions.show { /model: ["gpt-image-1"] }
|
|
72
72
|
* @default png
|
|
73
73
|
*/
|
|
74
74
|
outputFormat?: 'png' | 'jpeg' | 'webp' | Expression<string>;
|
|
75
75
|
/**
|
|
76
76
|
* The compression level (0-100%) for the generated images. Only supported for gpt-image-1 with webp or jpeg output formats.
|
|
77
|
-
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"]
|
|
77
|
+
* @displayOptions.show { /model: ["gpt-image-1"], outputFormat: ["webp", "jpeg"] }
|
|
78
78
|
* @default 100
|
|
79
79
|
*/
|
|
80
80
|
outputCompression?: number | Expression<number>;
|
|
@@ -10,12 +10,12 @@
|
|
|
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, resolveSchema }) {
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
14
|
|
|
15
15
|
// Parameters schema
|
|
16
16
|
const parametersSchema = z.object({
|
|
17
17
|
source: z.union([z.literal('database'), z.literal('parameter'), expressionSchema]).optional(),
|
|
18
|
-
workflowId:
|
|
18
|
+
workflowId: resolveOneOfSchemas({ parameters, variants: [{ schema: stringOrExpression, required: true, displayOptions: {"show":{"source":["database"]}}, defaults: {"source":"database"} }, { schema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]), required: false, displayOptions: {"show":{"source":["database"]}}, defaults: {"source":"database"} }] }),
|
|
19
19
|
workflowJson: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"source":["parameter"]}}, defaults: {"source":"database"} }),
|
|
20
20
|
fields: z.object({ values: z.array(z.object({ name: stringOrExpression.optional(), type: z.union([z.literal('stringValue'), z.literal('numberValue'), z.literal('booleanValue'), z.literal('arrayValue'), z.literal('objectValue'), expressionSchema]).optional(), stringValue: stringOrExpression.optional(), numberValue: stringOrExpression.optional(), booleanValue: z.union([z.literal('true'), z.literal('false'), expressionSchema]).optional(), arrayValue: stringOrExpression.optional(), objectValue: z.union([iDataObjectSchema, z.string()]).optional() })).optional() }).optional(),
|
|
21
21
|
});
|