@n8n/api-types 1.30.3 → 1.31.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/agent-builder-interactive.d.ts +5 -182
- package/dist/agent-builder-interactive.js +6 -50
- package/dist/agent-builder-interactive.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +262 -0
- package/dist/agents/agent-interaction.schema.js +56 -0
- package/dist/agents/agent-interaction.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1878 -752
- package/dist/agents/agent-json-config.schema.js +82 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +232 -103
- package/dist/agents/dto.js +8 -3
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.js +2 -11
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +108 -108
- package/dist/agents/types.d.ts +39 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +85 -85
- package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +7 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/oidc/config.dto.d.ts +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
- package/dist/dto/packages/import-package-request.dto.js +19 -19
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/update-role.dto.d.ts +1 -1
- package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
- package/dist/dto/security-settings/security-policy.dto.js +17 -0
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
- package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
- package/dist/dto/security-settings/security-settings.dto.js +4 -0
- package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
- package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +8 -8
- package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
- package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
- package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
- package/dist/dto/workflows/manual-run.dto.js +51 -0
- package/dist/dto/workflows/manual-run.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +16 -16
- package/dist/schemas/agent-run-reducer.js +63 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +128 -128
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +6 -6
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +3 -3
- package/dist/schemas/favorites.schema.d.ts +2 -2
- package/dist/schemas/favorites.schema.js +7 -1
- package/dist/schemas/favorites.schema.js.map +1 -1
- package/dist/schemas/insights.schema.d.ts +22 -22
- package/dist/schemas/instance-ai.schema.d.ts +611 -419
- package/dist/schemas/instance-ai.schema.js +61 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +16 -16
- package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
- package/dist/workflow-reviews-policy.d.ts +9 -0
- package/dist/workflow-reviews-policy.js +8 -0
- package/dist/workflow-reviews-policy.js.map +1 -0
- package/package.json +10 -9
package/dist/chat-hub.d.ts
CHANGED
|
@@ -197,21 +197,21 @@ declare const n8nModelSchema: z.ZodObject<{
|
|
|
197
197
|
provider: z.ZodLiteral<"n8n">;
|
|
198
198
|
workflowId: z.ZodString;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
provider: "n8n";
|
|
201
200
|
workflowId: string;
|
|
202
|
-
}, {
|
|
203
201
|
provider: "n8n";
|
|
202
|
+
}, {
|
|
204
203
|
workflowId: string;
|
|
204
|
+
provider: "n8n";
|
|
205
205
|
}>;
|
|
206
206
|
declare const chatAgentSchema: z.ZodObject<{
|
|
207
207
|
provider: z.ZodLiteral<"custom-agent">;
|
|
208
208
|
agentId: z.ZodString;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
provider: "custom-agent";
|
|
211
210
|
agentId: string;
|
|
212
|
-
}, {
|
|
213
211
|
provider: "custom-agent";
|
|
212
|
+
}, {
|
|
214
213
|
agentId: string;
|
|
214
|
+
provider: "custom-agent";
|
|
215
215
|
}>;
|
|
216
216
|
export declare const chatHubConversationModelSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
217
217
|
provider: z.ZodLiteral<"openai">;
|
|
@@ -352,20 +352,20 @@ export declare const chatHubConversationModelSchema: z.ZodDiscriminatedUnion<"pr
|
|
|
352
352
|
provider: z.ZodLiteral<"n8n">;
|
|
353
353
|
workflowId: z.ZodString;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
provider: "n8n";
|
|
356
355
|
workflowId: string;
|
|
357
|
-
}, {
|
|
358
356
|
provider: "n8n";
|
|
357
|
+
}, {
|
|
359
358
|
workflowId: string;
|
|
359
|
+
provider: "n8n";
|
|
360
360
|
}>, z.ZodObject<{
|
|
361
361
|
provider: z.ZodLiteral<"custom-agent">;
|
|
362
362
|
agentId: z.ZodString;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
-
provider: "custom-agent";
|
|
365
364
|
agentId: string;
|
|
366
|
-
}, {
|
|
367
365
|
provider: "custom-agent";
|
|
366
|
+
}, {
|
|
368
367
|
agentId: string;
|
|
368
|
+
provider: "custom-agent";
|
|
369
369
|
}>]>;
|
|
370
370
|
export type ChatHubOpenAIModel = z.infer<typeof openAIModelSchema>;
|
|
371
371
|
export type ChatHubAnthropicModel = z.infer<typeof anthropicModelSchema>;
|
|
@@ -440,6 +440,16 @@ export declare const chatAttachmentSchema: z.ZodObject<{
|
|
|
440
440
|
export type ChatAttachment = z.infer<typeof chatAttachmentSchema>;
|
|
441
441
|
declare const ChatHubSendMessageRequest_base: import("./zod-class").ZodClass<{
|
|
442
442
|
message: string;
|
|
443
|
+
messageId: string;
|
|
444
|
+
credentials: Record<string, {
|
|
445
|
+
id: string;
|
|
446
|
+
name: string;
|
|
447
|
+
}>;
|
|
448
|
+
attachments: {
|
|
449
|
+
data: string;
|
|
450
|
+
mimeType: string;
|
|
451
|
+
fileName: string;
|
|
452
|
+
}[];
|
|
443
453
|
model: {
|
|
444
454
|
provider: "openai";
|
|
445
455
|
model: string;
|
|
@@ -486,24 +496,14 @@ declare const ChatHubSendMessageRequest_base: import("./zod-class").ZodClass<{
|
|
|
486
496
|
provider: "nvidia";
|
|
487
497
|
model: string;
|
|
488
498
|
} | {
|
|
489
|
-
provider: "n8n";
|
|
490
499
|
workflowId: string;
|
|
500
|
+
provider: "n8n";
|
|
491
501
|
} | {
|
|
492
|
-
provider: "custom-agent";
|
|
493
502
|
agentId: string;
|
|
503
|
+
provider: "custom-agent";
|
|
494
504
|
};
|
|
495
|
-
credentials: Record<string, {
|
|
496
|
-
name: string;
|
|
497
|
-
id: string;
|
|
498
|
-
}>;
|
|
499
505
|
sessionId: string;
|
|
500
|
-
messageId: string;
|
|
501
506
|
previousMessageId: string | null;
|
|
502
|
-
attachments: {
|
|
503
|
-
data: string;
|
|
504
|
-
mimeType: string;
|
|
505
|
-
fileName: string;
|
|
506
|
-
}[];
|
|
507
507
|
timeZone?: string | undefined;
|
|
508
508
|
agentName?: string | undefined;
|
|
509
509
|
}, {
|
|
@@ -649,31 +649,31 @@ declare const ChatHubSendMessageRequest_base: import("./zod-class").ZodClass<{
|
|
|
649
649
|
provider: z.ZodLiteral<"n8n">;
|
|
650
650
|
workflowId: z.ZodString;
|
|
651
651
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
provider: "n8n";
|
|
653
652
|
workflowId: string;
|
|
654
|
-
}, {
|
|
655
653
|
provider: "n8n";
|
|
654
|
+
}, {
|
|
656
655
|
workflowId: string;
|
|
656
|
+
provider: "n8n";
|
|
657
657
|
}>, z.ZodObject<{
|
|
658
658
|
provider: z.ZodLiteral<"custom-agent">;
|
|
659
659
|
agentId: z.ZodString;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
provider: "custom-agent";
|
|
662
661
|
agentId: string;
|
|
663
|
-
}, {
|
|
664
662
|
provider: "custom-agent";
|
|
663
|
+
}, {
|
|
665
664
|
agentId: string;
|
|
665
|
+
provider: "custom-agent";
|
|
666
666
|
}>]>;
|
|
667
667
|
previousMessageId: z.ZodNullable<z.ZodString>;
|
|
668
668
|
credentials: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
669
669
|
id: z.ZodString;
|
|
670
670
|
name: z.ZodString;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
name: string;
|
|
673
672
|
id: string;
|
|
674
|
-
}, {
|
|
675
673
|
name: string;
|
|
674
|
+
}, {
|
|
676
675
|
id: string;
|
|
676
|
+
name: string;
|
|
677
677
|
}>>;
|
|
678
678
|
attachments: z.ZodArray<z.ZodObject<{
|
|
679
679
|
data: z.ZodString;
|
|
@@ -695,14 +695,14 @@ export declare class ChatHubSendMessageRequest extends ChatHubSendMessageRequest
|
|
|
695
695
|
}
|
|
696
696
|
declare const ChatHubManualSendMessageRequest_base: import("./zod-class").ZodClass<{
|
|
697
697
|
message: string;
|
|
698
|
-
sessionId: string;
|
|
699
698
|
messageId: string;
|
|
700
|
-
previousMessageId: string | null;
|
|
701
699
|
attachments: {
|
|
702
700
|
data: string;
|
|
703
701
|
mimeType: string;
|
|
704
702
|
fileName: string;
|
|
705
703
|
}[];
|
|
704
|
+
sessionId: string;
|
|
705
|
+
previousMessageId: string | null;
|
|
706
706
|
timeZone?: string | undefined;
|
|
707
707
|
agentName?: string | undefined;
|
|
708
708
|
}, {
|
|
@@ -729,6 +729,10 @@ declare const ChatHubManualSendMessageRequest_base: import("./zod-class").ZodCla
|
|
|
729
729
|
export declare class ChatHubManualSendMessageRequest extends ChatHubManualSendMessageRequest_base {
|
|
730
730
|
}
|
|
731
731
|
declare const ChatHubRegenerateMessageRequest_base: import("./zod-class").ZodClass<{
|
|
732
|
+
credentials: Record<string, {
|
|
733
|
+
id: string;
|
|
734
|
+
name: string;
|
|
735
|
+
}>;
|
|
732
736
|
model: {
|
|
733
737
|
provider: "openai";
|
|
734
738
|
model: string;
|
|
@@ -775,16 +779,12 @@ declare const ChatHubRegenerateMessageRequest_base: import("./zod-class").ZodCla
|
|
|
775
779
|
provider: "nvidia";
|
|
776
780
|
model: string;
|
|
777
781
|
} | {
|
|
778
|
-
provider: "n8n";
|
|
779
782
|
workflowId: string;
|
|
783
|
+
provider: "n8n";
|
|
780
784
|
} | {
|
|
781
|
-
provider: "custom-agent";
|
|
782
785
|
agentId: string;
|
|
786
|
+
provider: "custom-agent";
|
|
783
787
|
};
|
|
784
|
-
credentials: Record<string, {
|
|
785
|
-
name: string;
|
|
786
|
-
id: string;
|
|
787
|
-
}>;
|
|
788
788
|
timeZone?: string | undefined;
|
|
789
789
|
}, {
|
|
790
790
|
model: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
@@ -926,30 +926,30 @@ declare const ChatHubRegenerateMessageRequest_base: import("./zod-class").ZodCla
|
|
|
926
926
|
provider: z.ZodLiteral<"n8n">;
|
|
927
927
|
workflowId: z.ZodString;
|
|
928
928
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
provider: "n8n";
|
|
930
929
|
workflowId: string;
|
|
931
|
-
}, {
|
|
932
930
|
provider: "n8n";
|
|
931
|
+
}, {
|
|
933
932
|
workflowId: string;
|
|
933
|
+
provider: "n8n";
|
|
934
934
|
}>, z.ZodObject<{
|
|
935
935
|
provider: z.ZodLiteral<"custom-agent">;
|
|
936
936
|
agentId: z.ZodString;
|
|
937
937
|
}, "strip", z.ZodTypeAny, {
|
|
938
|
-
provider: "custom-agent";
|
|
939
938
|
agentId: string;
|
|
940
|
-
}, {
|
|
941
939
|
provider: "custom-agent";
|
|
940
|
+
}, {
|
|
942
941
|
agentId: string;
|
|
942
|
+
provider: "custom-agent";
|
|
943
943
|
}>]>;
|
|
944
944
|
credentials: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
945
945
|
id: z.ZodString;
|
|
946
946
|
name: z.ZodString;
|
|
947
947
|
}, "strip", z.ZodTypeAny, {
|
|
948
|
-
name: string;
|
|
949
948
|
id: string;
|
|
950
|
-
}, {
|
|
951
949
|
name: string;
|
|
950
|
+
}, {
|
|
952
951
|
id: string;
|
|
952
|
+
name: string;
|
|
953
953
|
}>>;
|
|
954
954
|
timeZone: z.ZodCatch<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
955
955
|
}>;
|
|
@@ -964,6 +964,11 @@ export declare class ChatHubManualRegenerateMessageRequest extends ChatHubManual
|
|
|
964
964
|
}
|
|
965
965
|
declare const ChatHubEditMessageRequest_base: import("./zod-class").ZodClass<{
|
|
966
966
|
message: string;
|
|
967
|
+
messageId: string;
|
|
968
|
+
credentials: Record<string, {
|
|
969
|
+
id: string;
|
|
970
|
+
name: string;
|
|
971
|
+
}>;
|
|
967
972
|
model: {
|
|
968
973
|
provider: "openai";
|
|
969
974
|
model: string;
|
|
@@ -1010,17 +1015,12 @@ declare const ChatHubEditMessageRequest_base: import("./zod-class").ZodClass<{
|
|
|
1010
1015
|
provider: "nvidia";
|
|
1011
1016
|
model: string;
|
|
1012
1017
|
} | {
|
|
1013
|
-
provider: "n8n";
|
|
1014
1018
|
workflowId: string;
|
|
1019
|
+
provider: "n8n";
|
|
1015
1020
|
} | {
|
|
1016
|
-
provider: "custom-agent";
|
|
1017
1021
|
agentId: string;
|
|
1022
|
+
provider: "custom-agent";
|
|
1018
1023
|
};
|
|
1019
|
-
credentials: Record<string, {
|
|
1020
|
-
name: string;
|
|
1021
|
-
id: string;
|
|
1022
|
-
}>;
|
|
1023
|
-
messageId: string;
|
|
1024
1024
|
newAttachments: {
|
|
1025
1025
|
data: string;
|
|
1026
1026
|
mimeType: string;
|
|
@@ -1170,30 +1170,30 @@ declare const ChatHubEditMessageRequest_base: import("./zod-class").ZodClass<{
|
|
|
1170
1170
|
provider: z.ZodLiteral<"n8n">;
|
|
1171
1171
|
workflowId: z.ZodString;
|
|
1172
1172
|
}, "strip", z.ZodTypeAny, {
|
|
1173
|
-
provider: "n8n";
|
|
1174
1173
|
workflowId: string;
|
|
1175
|
-
}, {
|
|
1176
1174
|
provider: "n8n";
|
|
1175
|
+
}, {
|
|
1177
1176
|
workflowId: string;
|
|
1177
|
+
provider: "n8n";
|
|
1178
1178
|
}>, z.ZodObject<{
|
|
1179
1179
|
provider: z.ZodLiteral<"custom-agent">;
|
|
1180
1180
|
agentId: z.ZodString;
|
|
1181
1181
|
}, "strip", z.ZodTypeAny, {
|
|
1182
|
-
provider: "custom-agent";
|
|
1183
1182
|
agentId: string;
|
|
1184
|
-
}, {
|
|
1185
1183
|
provider: "custom-agent";
|
|
1184
|
+
}, {
|
|
1186
1185
|
agentId: string;
|
|
1186
|
+
provider: "custom-agent";
|
|
1187
1187
|
}>]>;
|
|
1188
1188
|
credentials: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1189
1189
|
id: z.ZodString;
|
|
1190
1190
|
name: z.ZodString;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
|
-
name: string;
|
|
1193
1192
|
id: string;
|
|
1194
|
-
}, {
|
|
1195
1193
|
name: string;
|
|
1194
|
+
}, {
|
|
1196
1195
|
id: string;
|
|
1196
|
+
name: string;
|
|
1197
1197
|
}>>;
|
|
1198
1198
|
newAttachments: z.ZodArray<z.ZodObject<{
|
|
1199
1199
|
data: z.ZodString;
|
|
@@ -1245,9 +1245,8 @@ declare const ChatHubManualEditMessageRequest_base: import("./zod-class").ZodCla
|
|
|
1245
1245
|
export declare class ChatHubManualEditMessageRequest extends ChatHubManualEditMessageRequest_base {
|
|
1246
1246
|
}
|
|
1247
1247
|
declare const ChatHubUpdateConversationRequest_base: import("./zod-class").ZodClass<{
|
|
1248
|
-
credentialId?: string | undefined;
|
|
1249
|
-
title?: string | undefined;
|
|
1250
1248
|
agent?: {
|
|
1249
|
+
name: string;
|
|
1251
1250
|
model: {
|
|
1252
1251
|
provider: "openai";
|
|
1253
1252
|
model: string;
|
|
@@ -1294,14 +1293,15 @@ declare const ChatHubUpdateConversationRequest_base: import("./zod-class").ZodCl
|
|
|
1294
1293
|
provider: "nvidia";
|
|
1295
1294
|
model: string;
|
|
1296
1295
|
} | {
|
|
1297
|
-
provider: "n8n";
|
|
1298
1296
|
workflowId: string;
|
|
1297
|
+
provider: "n8n";
|
|
1299
1298
|
} | {
|
|
1300
|
-
provider: "custom-agent";
|
|
1301
1299
|
agentId: string;
|
|
1300
|
+
provider: "custom-agent";
|
|
1302
1301
|
};
|
|
1303
|
-
name: string;
|
|
1304
1302
|
} | undefined;
|
|
1303
|
+
title?: string | undefined;
|
|
1304
|
+
credentialId?: string | undefined;
|
|
1305
1305
|
toolIds?: string[] | undefined;
|
|
1306
1306
|
}, {
|
|
1307
1307
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1446,23 +1446,24 @@ declare const ChatHubUpdateConversationRequest_base: import("./zod-class").ZodCl
|
|
|
1446
1446
|
provider: z.ZodLiteral<"n8n">;
|
|
1447
1447
|
workflowId: z.ZodString;
|
|
1448
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1449
|
-
provider: "n8n";
|
|
1450
1449
|
workflowId: string;
|
|
1451
|
-
}, {
|
|
1452
1450
|
provider: "n8n";
|
|
1451
|
+
}, {
|
|
1453
1452
|
workflowId: string;
|
|
1453
|
+
provider: "n8n";
|
|
1454
1454
|
}>, z.ZodObject<{
|
|
1455
1455
|
provider: z.ZodLiteral<"custom-agent">;
|
|
1456
1456
|
agentId: z.ZodString;
|
|
1457
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
-
provider: "custom-agent";
|
|
1459
1458
|
agentId: string;
|
|
1460
|
-
}, {
|
|
1461
1459
|
provider: "custom-agent";
|
|
1460
|
+
}, {
|
|
1462
1461
|
agentId: string;
|
|
1462
|
+
provider: "custom-agent";
|
|
1463
1463
|
}>]>;
|
|
1464
1464
|
name: z.ZodString;
|
|
1465
1465
|
}, "strip", z.ZodTypeAny, {
|
|
1466
|
+
name: string;
|
|
1466
1467
|
model: {
|
|
1467
1468
|
provider: "openai";
|
|
1468
1469
|
model: string;
|
|
@@ -1509,14 +1510,14 @@ declare const ChatHubUpdateConversationRequest_base: import("./zod-class").ZodCl
|
|
|
1509
1510
|
provider: "nvidia";
|
|
1510
1511
|
model: string;
|
|
1511
1512
|
} | {
|
|
1512
|
-
provider: "n8n";
|
|
1513
1513
|
workflowId: string;
|
|
1514
|
+
provider: "n8n";
|
|
1514
1515
|
} | {
|
|
1515
|
-
provider: "custom-agent";
|
|
1516
1516
|
agentId: string;
|
|
1517
|
+
provider: "custom-agent";
|
|
1517
1518
|
};
|
|
1518
|
-
name: string;
|
|
1519
1519
|
}, {
|
|
1520
|
+
name: string;
|
|
1520
1521
|
model: {
|
|
1521
1522
|
provider: "openai";
|
|
1522
1523
|
model: string;
|
|
@@ -1563,13 +1564,12 @@ declare const ChatHubUpdateConversationRequest_base: import("./zod-class").ZodCl
|
|
|
1563
1564
|
provider: "nvidia";
|
|
1564
1565
|
model: string;
|
|
1565
1566
|
} | {
|
|
1566
|
-
provider: "n8n";
|
|
1567
1567
|
workflowId: string;
|
|
1568
|
+
provider: "n8n";
|
|
1568
1569
|
} | {
|
|
1569
|
-
provider: "custom-agent";
|
|
1570
1570
|
agentId: string;
|
|
1571
|
+
provider: "custom-agent";
|
|
1571
1572
|
};
|
|
1572
|
-
name: string;
|
|
1573
1573
|
}>>;
|
|
1574
1574
|
toolIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1575
1575
|
}>;
|
|
@@ -1761,10 +1761,10 @@ export interface ChatHubAgentDto {
|
|
|
1761
1761
|
updatedAt: string;
|
|
1762
1762
|
}
|
|
1763
1763
|
declare const ChatHubCreateAgentRequest_base: import("./zod-class").ZodClass<{
|
|
1764
|
+
name: string;
|
|
1764
1765
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
1765
|
-
model: string;
|
|
1766
1766
|
credentialId: string;
|
|
1767
|
-
|
|
1767
|
+
model: string;
|
|
1768
1768
|
icon: {
|
|
1769
1769
|
value: string;
|
|
1770
1770
|
type: "icon";
|
|
@@ -1856,11 +1856,11 @@ declare const ChatHubCreateAgentRequest_base: import("./zod-class").ZodClass<{
|
|
|
1856
1856
|
export declare class ChatHubCreateAgentRequest extends ChatHubCreateAgentRequest_base {
|
|
1857
1857
|
}
|
|
1858
1858
|
declare const ChatHubUpdateAgentRequest_base: import("./zod-class").ZodClass<{
|
|
1859
|
+
name?: string | undefined;
|
|
1860
|
+
description?: string | undefined;
|
|
1859
1861
|
provider?: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud" | undefined;
|
|
1860
|
-
model?: string | undefined;
|
|
1861
1862
|
credentialId?: string | undefined;
|
|
1862
|
-
|
|
1863
|
-
name?: string | undefined;
|
|
1863
|
+
model?: string | undefined;
|
|
1864
1864
|
icon?: {
|
|
1865
1865
|
value: string;
|
|
1866
1866
|
type: "icon";
|
|
@@ -1970,12 +1970,12 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
|
|
|
1970
1970
|
model: z.ZodString;
|
|
1971
1971
|
isManual: z.ZodOptional<z.ZodBoolean>;
|
|
1972
1972
|
}, "strip", z.ZodTypeAny, {
|
|
1973
|
-
model: string;
|
|
1974
1973
|
displayName: string;
|
|
1974
|
+
model: string;
|
|
1975
1975
|
isManual?: boolean | undefined;
|
|
1976
1976
|
}, {
|
|
1977
|
-
model: string;
|
|
1978
1977
|
displayName: string;
|
|
1978
|
+
model: string;
|
|
1979
1979
|
isManual?: boolean | undefined;
|
|
1980
1980
|
}>, "many">;
|
|
1981
1981
|
responsesApiEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1986,8 +1986,8 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
|
|
|
1986
1986
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
1987
1987
|
credentialId: string | null;
|
|
1988
1988
|
allowedModels: {
|
|
1989
|
-
model: string;
|
|
1990
1989
|
displayName: string;
|
|
1990
|
+
model: string;
|
|
1991
1991
|
isManual?: boolean | undefined;
|
|
1992
1992
|
}[];
|
|
1993
1993
|
createdAt: string;
|
|
@@ -1999,8 +1999,8 @@ declare const chatProviderSettingsSchema: z.ZodObject<{
|
|
|
1999
1999
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
2000
2000
|
credentialId: string | null;
|
|
2001
2001
|
allowedModels: {
|
|
2002
|
-
model: string;
|
|
2003
2002
|
displayName: string;
|
|
2003
|
+
model: string;
|
|
2004
2004
|
isManual?: boolean | undefined;
|
|
2005
2005
|
}[];
|
|
2006
2006
|
createdAt: string;
|
|
@@ -2015,8 +2015,8 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
|
|
|
2015
2015
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
2016
2016
|
credentialId: string | null;
|
|
2017
2017
|
allowedModels: {
|
|
2018
|
-
model: string;
|
|
2019
2018
|
displayName: string;
|
|
2019
|
+
model: string;
|
|
2020
2020
|
isManual?: boolean | undefined;
|
|
2021
2021
|
}[];
|
|
2022
2022
|
createdAt: string;
|
|
@@ -2035,12 +2035,12 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
|
|
|
2035
2035
|
model: z.ZodString;
|
|
2036
2036
|
isManual: z.ZodOptional<z.ZodBoolean>;
|
|
2037
2037
|
}, "strip", z.ZodTypeAny, {
|
|
2038
|
-
model: string;
|
|
2039
2038
|
displayName: string;
|
|
2039
|
+
model: string;
|
|
2040
2040
|
isManual?: boolean | undefined;
|
|
2041
2041
|
}, {
|
|
2042
|
-
model: string;
|
|
2043
2042
|
displayName: string;
|
|
2043
|
+
model: string;
|
|
2044
2044
|
isManual?: boolean | undefined;
|
|
2045
2045
|
}>, "many">;
|
|
2046
2046
|
responsesApiEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2051,8 +2051,8 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
|
|
|
2051
2051
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
2052
2052
|
credentialId: string | null;
|
|
2053
2053
|
allowedModels: {
|
|
2054
|
-
model: string;
|
|
2055
2054
|
displayName: string;
|
|
2055
|
+
model: string;
|
|
2056
2056
|
isManual?: boolean | undefined;
|
|
2057
2057
|
}[];
|
|
2058
2058
|
createdAt: string;
|
|
@@ -2064,8 +2064,8 @@ declare const UpdateChatSettingsRequest_base: import("./zod-class").ZodClass<{
|
|
|
2064
2064
|
provider: "anthropic" | "openai" | "google" | "groq" | "cohere" | "nvidia" | "ollama" | "azureOpenAi" | "azureEntraId" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "openRouter" | "deepSeek" | "mistralCloud";
|
|
2065
2065
|
credentialId: string | null;
|
|
2066
2066
|
allowedModels: {
|
|
2067
|
-
model: string;
|
|
2068
2067
|
displayName: string;
|
|
2068
|
+
model: string;
|
|
2069
2069
|
isManual?: boolean | undefined;
|
|
2070
2070
|
}[];
|
|
2071
2071
|
createdAt: string;
|
|
@@ -2086,7 +2086,7 @@ export declare class UpdateChatEnabledRequest extends UpdateChatEnabledRequest_b
|
|
|
2086
2086
|
}
|
|
2087
2087
|
declare const ChatHubSemanticSearchSettings_base: import("./zod-class").ZodClass<{
|
|
2088
2088
|
vectorStore: {
|
|
2089
|
-
provider: "
|
|
2089
|
+
provider: "pinecone" | "qdrant" | "pgvector";
|
|
2090
2090
|
credentialId: string | null;
|
|
2091
2091
|
};
|
|
2092
2092
|
embeddingModel: {
|
|
@@ -2098,10 +2098,10 @@ declare const ChatHubSemanticSearchSettings_base: import("./zod-class").ZodClass
|
|
|
2098
2098
|
provider: z.ZodEnum<["pgvector", "qdrant", "pinecone"]>;
|
|
2099
2099
|
credentialId: z.ZodNullable<z.ZodString>;
|
|
2100
2100
|
}, "strip", z.ZodTypeAny, {
|
|
2101
|
-
provider: "
|
|
2101
|
+
provider: "pinecone" | "qdrant" | "pgvector";
|
|
2102
2102
|
credentialId: string | null;
|
|
2103
2103
|
}, {
|
|
2104
|
-
provider: "
|
|
2104
|
+
provider: "pinecone" | "qdrant" | "pgvector";
|
|
2105
2105
|
credentialId: string | null;
|
|
2106
2106
|
}>;
|
|
2107
2107
|
embeddingModel: z.ZodObject<{
|
|
@@ -10,14 +10,14 @@ declare const AiAskRequestDto_base: import("../../zod-class").ZodClass<{
|
|
|
10
10
|
question: string;
|
|
11
11
|
context: {
|
|
12
12
|
inputSchema: {
|
|
13
|
-
schema: Schema;
|
|
14
13
|
nodeName: string;
|
|
14
|
+
schema: Schema;
|
|
15
15
|
};
|
|
16
|
+
pushRef: string;
|
|
16
17
|
schema: {
|
|
17
|
-
schema: Schema;
|
|
18
18
|
nodeName: string;
|
|
19
|
+
schema: Schema;
|
|
19
20
|
}[];
|
|
20
|
-
pushRef: string;
|
|
21
21
|
ndvPushRef: string;
|
|
22
22
|
};
|
|
23
23
|
forNode: string;
|
|
@@ -28,45 +28,45 @@ declare const AiAskRequestDto_base: import("../../zod-class").ZodClass<{
|
|
|
28
28
|
nodeName: z.ZodString;
|
|
29
29
|
schema: z.ZodType<Schema, z.ZodTypeDef, Schema>;
|
|
30
30
|
}, "strip", z.ZodTypeAny, {
|
|
31
|
-
schema: Schema;
|
|
32
31
|
nodeName: string;
|
|
33
|
-
}, {
|
|
34
32
|
schema: Schema;
|
|
33
|
+
}, {
|
|
35
34
|
nodeName: string;
|
|
35
|
+
schema: Schema;
|
|
36
36
|
}>, "many">;
|
|
37
37
|
inputSchema: z.ZodObject<{
|
|
38
38
|
nodeName: z.ZodString;
|
|
39
39
|
schema: z.ZodType<Schema, z.ZodTypeDef, Schema>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
schema: Schema;
|
|
42
41
|
nodeName: string;
|
|
43
|
-
}, {
|
|
44
42
|
schema: Schema;
|
|
43
|
+
}, {
|
|
45
44
|
nodeName: string;
|
|
45
|
+
schema: Schema;
|
|
46
46
|
}>;
|
|
47
47
|
pushRef: z.ZodString;
|
|
48
48
|
ndvPushRef: z.ZodString;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
50
|
inputSchema: {
|
|
51
|
-
schema: Schema;
|
|
52
51
|
nodeName: string;
|
|
52
|
+
schema: Schema;
|
|
53
53
|
};
|
|
54
|
+
pushRef: string;
|
|
54
55
|
schema: {
|
|
55
|
-
schema: Schema;
|
|
56
56
|
nodeName: string;
|
|
57
|
+
schema: Schema;
|
|
57
58
|
}[];
|
|
58
|
-
pushRef: string;
|
|
59
59
|
ndvPushRef: string;
|
|
60
60
|
}, {
|
|
61
61
|
inputSchema: {
|
|
62
|
-
schema: Schema;
|
|
63
62
|
nodeName: string;
|
|
63
|
+
schema: Schema;
|
|
64
64
|
};
|
|
65
|
+
pushRef: string;
|
|
65
66
|
schema: {
|
|
66
|
-
schema: Schema;
|
|
67
67
|
nodeName: string;
|
|
68
|
+
schema: Schema;
|
|
68
69
|
}[];
|
|
69
|
-
pushRef: string;
|
|
70
70
|
ndvPushRef: string;
|
|
71
71
|
}>;
|
|
72
72
|
forNode: z.ZodString;
|
|
@@ -17,8 +17,8 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
|
|
|
17
17
|
payload: {
|
|
18
18
|
type: "message";
|
|
19
19
|
id: string;
|
|
20
|
-
text: string;
|
|
21
20
|
role: "user";
|
|
21
|
+
text: string;
|
|
22
22
|
workflowContext: {
|
|
23
23
|
currentWorkflow?: Partial<IWorkflowBase> | undefined;
|
|
24
24
|
executionData?: {
|
|
@@ -120,8 +120,8 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
|
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
type: "message";
|
|
122
122
|
id: string;
|
|
123
|
-
text: string;
|
|
124
123
|
role: "user";
|
|
124
|
+
text: string;
|
|
125
125
|
workflowContext: {
|
|
126
126
|
currentWorkflow?: Partial<IWorkflowBase> | undefined;
|
|
127
127
|
executionData?: {
|
|
@@ -149,8 +149,8 @@ declare const AiBuilderChatRequestDto_base: import("../../zod-class").ZodClass<{
|
|
|
149
149
|
}, {
|
|
150
150
|
type: "message";
|
|
151
151
|
id: string;
|
|
152
|
-
text: string;
|
|
153
152
|
role: "user";
|
|
153
|
+
text: string;
|
|
154
154
|
workflowContext: {
|
|
155
155
|
currentWorkflow?: Partial<IWorkflowBase> | undefined;
|
|
156
156
|
executionData?: {
|
|
@@ -4,8 +4,8 @@ export type ListApiKeysSortOption = (typeof LIST_API_KEYS_SORT_OPTIONS)[number];
|
|
|
4
4
|
declare const ListApiKeysQueryDto_base: import("../../zod-class").ZodClass<{
|
|
5
5
|
skip: number;
|
|
6
6
|
take: number;
|
|
7
|
-
label?: string | undefined;
|
|
8
7
|
sortBy?: "createdAt:asc" | "createdAt:desc" | "label:asc" | "label:desc" | "lastUsedAt:asc" | "lastUsedAt:desc" | "scopes:asc" | "scopes:desc" | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
9
|
ownership?: "mine" | "all" | undefined;
|
|
10
10
|
ownerIds?: string[] | undefined;
|
|
11
11
|
}, {
|
|
@@ -5,15 +5,15 @@ declare const ListDataTableQueryDto_base: import("../../zod-class").ZodClass<{
|
|
|
5
5
|
skip: number;
|
|
6
6
|
take: number;
|
|
7
7
|
filter?: {
|
|
8
|
-
name?: string | string[] | undefined;
|
|
9
8
|
id?: string | string[] | undefined;
|
|
9
|
+
name?: string | string[] | undefined;
|
|
10
10
|
projectId?: string | string[] | undefined;
|
|
11
11
|
} | undefined;
|
|
12
12
|
sortBy?: "name:asc" | "name:desc" | "createdAt:asc" | "createdAt:desc" | "updatedAt:asc" | "updatedAt:desc" | "size:asc" | "size:desc" | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
filter: z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
15
|
-
name?: string | string[] | undefined;
|
|
16
15
|
id?: string | string[] | undefined;
|
|
16
|
+
name?: string | string[] | undefined;
|
|
17
17
|
projectId?: string | string[] | undefined;
|
|
18
18
|
} | undefined, string | undefined>;
|
|
19
19
|
sortBy: z.ZodOptional<z.ZodEnum<["name:asc", "name:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc", "size:asc", "size:desc"]>>;
|
|
@@ -26,15 +26,15 @@ declare const PublicApiListDataTableQueryDto_base: import("../../zod-class").Zod
|
|
|
26
26
|
limit: number;
|
|
27
27
|
offset: number;
|
|
28
28
|
filter?: {
|
|
29
|
-
name?: string | string[] | undefined;
|
|
30
29
|
id?: string | string[] | undefined;
|
|
30
|
+
name?: string | string[] | undefined;
|
|
31
31
|
projectId?: string | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
sortBy?: "name:asc" | "name:desc" | "createdAt:asc" | "createdAt:desc" | "updatedAt:asc" | "updatedAt:desc" | "size:asc" | "size:desc" | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
filter: z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
36
|
-
name?: string | string[] | undefined;
|
|
37
36
|
id?: string | string[] | undefined;
|
|
37
|
+
name?: string | string[] | undefined;
|
|
38
38
|
projectId?: string | undefined;
|
|
39
39
|
} | undefined, string | undefined>;
|
|
40
40
|
sortBy: z.ZodOptional<z.ZodEnum<["name:asc", "name:desc", "createdAt:asc", "createdAt:desc", "updatedAt:asc", "updatedAt:desc", "size:asc", "size:desc"]>>;
|
|
@@ -6,9 +6,9 @@ declare const ActionResultRequestDto_base: import("../..").ZodClass<{
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
+
projectId?: string | undefined;
|
|
9
10
|
credentials?: Record<string, any> | undefined;
|
|
10
11
|
workflowId?: string | undefined;
|
|
11
|
-
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
handler: string;
|
|
@@ -6,9 +6,9 @@ declare const BaseDynamicParametersRequestDto_base: import("../../zod-class").Zo
|
|
|
6
6
|
version: number;
|
|
7
7
|
};
|
|
8
8
|
currentNodeParameters: Record<string, any>;
|
|
9
|
+
projectId?: string | undefined;
|
|
9
10
|
credentials?: Record<string, any> | undefined;
|
|
10
11
|
workflowId?: string | undefined;
|
|
11
|
-
projectId?: string | undefined;
|
|
12
12
|
methodName?: string | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
path: z.ZodString;
|