@n8n/api-types 1.34.1 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/agent-integration.schema.d.ts +18 -0
- package/dist/agents/agent-integration.schema.js +2 -0
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +151 -0
- package/dist/agents/agent-json-config.schema.d.ts +308 -12
- package/dist/agents/agent-json-config.schema.js +6 -5
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +0 -7
- package/dist/agents/dto.js +1 -6
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +1 -0
- package/dist/agents/index.js +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +273 -10
- package/dist/agents/sanitize-agent-json-config.js +7 -0
- package/dist/agents/sanitize-agent-json-config.js.map +1 -1
- package/dist/agents/slack/dto.d.ts +9 -0
- package/dist/agents/slack/dto.js +11 -0
- package/dist/agents/slack/dto.js.map +1 -0
- package/dist/agents/slack/index.d.ts +2 -0
- package/dist/agents/slack/index.js +18 -0
- package/dist/agents/slack/index.js.map +1 -0
- package/dist/agents/slack/types.d.ts +42 -0
- package/dist/agents/slack/types.js +3 -0
- package/dist/agents/slack/types.js.map +1 -0
- package/dist/agents/types.d.ts +1 -43
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/index.d.ts +4 -0
- package/dist/dto/index.js +15 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/date-filter.dto.d.ts +2 -0
- package/dist/dto/insights/date-filter.dto.js +2 -0
- package/dist/dto/insights/date-filter.dto.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +2 -0
- package/dist/dto/insights/list-workflow-query.dto.js +2 -0
- package/dist/dto/insights/list-workflow-query.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +7 -3
- package/dist/dto/packages/import-package-request.dto.js +5 -1
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/pagination/pagination.dto.d.ts +1 -1
- package/dist/dto/pagination/pagination.dto.js +2 -2
- package/dist/dto/pagination/pagination.dto.js.map +1 -1
- package/dist/dto/roles/role-public.dto.d.ts +23 -0
- package/dist/dto/roles/role-public.dto.js +18 -0
- package/dist/dto/roles/role-public.dto.js.map +1 -0
- package/dist/dto/tag/tag-public.dto.d.ts +18 -18
- package/dist/dto/tag/tag-public.dto.js +4 -4
- package/dist/dto/tag/tag-public.dto.js.map +1 -1
- package/dist/dto/workflow-history/workflow-history-list-item.dto.js +2 -2
- package/dist/dto/workflow-history/workflow-history-list-item.dto.js.map +1 -1
- package/dist/dto/workflow-history/workflow-version-history-public.dto.d.ts +20 -20
- package/dist/dto/workflow-history/workflow-version-history-public.dto.js +5 -2
- package/dist/dto/workflow-history/workflow-version-history-public.dto.js.map +1 -1
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.d.ts +8 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js +3 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js.map +1 -1
- package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.d.ts +4 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.d.ts +4 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js +3 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js.map +1 -1
- package/dist/dto/workflows/get-workflow-query.dto.d.ts +8 -0
- package/dist/dto/workflows/get-workflow-query.dto.js +11 -0
- package/dist/dto/workflows/get-workflow-query.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.d.ts +859 -0
- package/dist/dto/workflows/workflow-public.dto.js +93 -0
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +1 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +18 -3
- package/dist/index.js.map +1 -1
- package/dist/push/agents.d.ts +10 -0
- package/dist/push/agents.js +3 -0
- package/dist/push/agents.js.map +1 -0
- package/dist/push/index.d.ts +2 -1
- package/dist/schemas/agent-evals.schema.d.ts +25 -10
- package/dist/schemas/agent-evals.schema.js +9 -1
- package/dist/schemas/agent-evals.schema.js.map +1 -1
- package/dist/schemas/agent-run-reducer.js +1 -0
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/dependency-counts.schema.d.ts +1 -0
- package/dist/schemas/dependency.schema.d.ts +1 -1
- package/dist/schemas/instance-ai.schema.d.ts +7878 -53
- package/dist/schemas/instance-ai.schema.js +152 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp.schema.d.ts +2 -2
- package/dist/schemas/mcp.schema.js +1 -1
- package/dist/schemas/mcp.schema.js.map +1 -1
- package/dist/schemas/workflow-version.schema.d.ts +1 -0
- package/dist/schemas/workflow-version.schema.js +10 -4
- package/dist/schemas/workflow-version.schema.js.map +1 -1
- package/package.json +7 -7
|
@@ -270,7 +270,7 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
270
270
|
nodeType: z.ZodString;
|
|
271
271
|
nodeTypeVersion: z.ZodNumber;
|
|
272
272
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
273
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
273
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
274
274
|
id: z.ZodString;
|
|
275
275
|
name: z.ZodString;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -279,7 +279,19 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
279
279
|
}, {
|
|
280
280
|
id: string;
|
|
281
281
|
name: string;
|
|
282
|
-
}
|
|
282
|
+
}>, z.ZodObject<{
|
|
283
|
+
id: z.ZodNull;
|
|
284
|
+
name: z.ZodString;
|
|
285
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
286
|
+
}, "strip", z.ZodTypeAny, {
|
|
287
|
+
id: null;
|
|
288
|
+
name: string;
|
|
289
|
+
__aiGatewayManaged: true;
|
|
290
|
+
}, {
|
|
291
|
+
id: null;
|
|
292
|
+
name: string;
|
|
293
|
+
__aiGatewayManaged: true;
|
|
294
|
+
}>]>>>;
|
|
283
295
|
}, "strip", z.ZodTypeAny, {
|
|
284
296
|
nodeType: string;
|
|
285
297
|
nodeTypeVersion: number;
|
|
@@ -287,6 +299,10 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
287
299
|
credentials?: Record<string, {
|
|
288
300
|
id: string;
|
|
289
301
|
name: string;
|
|
302
|
+
} | {
|
|
303
|
+
id: null;
|
|
304
|
+
name: string;
|
|
305
|
+
__aiGatewayManaged: true;
|
|
290
306
|
}> | undefined;
|
|
291
307
|
}, {
|
|
292
308
|
nodeType: string;
|
|
@@ -295,6 +311,10 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
295
311
|
credentials?: Record<string, {
|
|
296
312
|
id: string;
|
|
297
313
|
name: string;
|
|
314
|
+
} | {
|
|
315
|
+
id: null;
|
|
316
|
+
name: string;
|
|
317
|
+
__aiGatewayManaged: true;
|
|
298
318
|
}> | undefined;
|
|
299
319
|
}>;
|
|
300
320
|
declare const AgentJsonSkillConfigSchema: z.ZodObject<{
|
|
@@ -582,6 +602,7 @@ export declare const AgentVectorStoreConfigSchema: z.ZodDiscriminatedUnion<"prov
|
|
|
582
602
|
}>]>;
|
|
583
603
|
export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
584
604
|
type: z.ZodLiteral<"workflow">;
|
|
605
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
585
606
|
workflow: z.ZodString;
|
|
586
607
|
name: z.ZodOptional<z.ZodString>;
|
|
587
608
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -589,6 +610,7 @@ export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
|
589
610
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
590
611
|
}, "strict", z.ZodTypeAny, {
|
|
591
612
|
type: "workflow";
|
|
613
|
+
workflowId?: string | undefined;
|
|
592
614
|
workflow: string;
|
|
593
615
|
name?: string | undefined;
|
|
594
616
|
description?: string | undefined;
|
|
@@ -596,6 +618,7 @@ export declare const WorkflowToolJsonConfigSchema: z.ZodObject<{
|
|
|
596
618
|
allOutputs?: boolean | undefined;
|
|
597
619
|
}, {
|
|
598
620
|
type: "workflow";
|
|
621
|
+
workflowId?: string | undefined;
|
|
599
622
|
workflow: string;
|
|
600
623
|
name?: string | undefined;
|
|
601
624
|
description?: string | undefined;
|
|
@@ -611,7 +634,7 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
611
634
|
nodeType: z.ZodString;
|
|
612
635
|
nodeTypeVersion: z.ZodNumber;
|
|
613
636
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
614
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
637
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
615
638
|
id: z.ZodString;
|
|
616
639
|
name: z.ZodString;
|
|
617
640
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -620,7 +643,19 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
620
643
|
}, {
|
|
621
644
|
id: string;
|
|
622
645
|
name: string;
|
|
623
|
-
}
|
|
646
|
+
}>, z.ZodObject<{
|
|
647
|
+
id: z.ZodNull;
|
|
648
|
+
name: z.ZodString;
|
|
649
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
650
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
|
+
id: null;
|
|
652
|
+
name: string;
|
|
653
|
+
__aiGatewayManaged: true;
|
|
654
|
+
}, {
|
|
655
|
+
id: null;
|
|
656
|
+
name: string;
|
|
657
|
+
__aiGatewayManaged: true;
|
|
658
|
+
}>]>>>;
|
|
624
659
|
}, "strip", z.ZodTypeAny, {
|
|
625
660
|
nodeType: string;
|
|
626
661
|
nodeTypeVersion: number;
|
|
@@ -628,6 +663,10 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
628
663
|
credentials?: Record<string, {
|
|
629
664
|
id: string;
|
|
630
665
|
name: string;
|
|
666
|
+
} | {
|
|
667
|
+
id: null;
|
|
668
|
+
name: string;
|
|
669
|
+
__aiGatewayManaged: true;
|
|
631
670
|
}> | undefined;
|
|
632
671
|
}, {
|
|
633
672
|
nodeType: string;
|
|
@@ -636,6 +675,10 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
636
675
|
credentials?: Record<string, {
|
|
637
676
|
id: string;
|
|
638
677
|
name: string;
|
|
678
|
+
} | {
|
|
679
|
+
id: null;
|
|
680
|
+
name: string;
|
|
681
|
+
__aiGatewayManaged: true;
|
|
639
682
|
}> | undefined;
|
|
640
683
|
}>;
|
|
641
684
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -651,6 +694,10 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
651
694
|
credentials?: Record<string, {
|
|
652
695
|
id: string;
|
|
653
696
|
name: string;
|
|
697
|
+
} | {
|
|
698
|
+
id: null;
|
|
699
|
+
name: string;
|
|
700
|
+
__aiGatewayManaged: true;
|
|
654
701
|
}> | undefined;
|
|
655
702
|
};
|
|
656
703
|
requireApproval?: boolean | undefined;
|
|
@@ -666,6 +713,10 @@ export declare const NodeToolJsonConfigSchema: z.ZodObject<{
|
|
|
666
713
|
credentials?: Record<string, {
|
|
667
714
|
id: string;
|
|
668
715
|
name: string;
|
|
716
|
+
} | {
|
|
717
|
+
id: null;
|
|
718
|
+
name: string;
|
|
719
|
+
__aiGatewayManaged: true;
|
|
669
720
|
}> | undefined;
|
|
670
721
|
};
|
|
671
722
|
requireApproval?: boolean | undefined;
|
|
@@ -684,6 +735,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
684
735
|
requireApproval?: boolean | undefined;
|
|
685
736
|
}>, z.ZodObject<{
|
|
686
737
|
type: z.ZodLiteral<"workflow">;
|
|
738
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
687
739
|
workflow: z.ZodString;
|
|
688
740
|
name: z.ZodOptional<z.ZodString>;
|
|
689
741
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -691,6 +743,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
691
743
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
692
744
|
}, "strict", z.ZodTypeAny, {
|
|
693
745
|
type: "workflow";
|
|
746
|
+
workflowId?: string | undefined;
|
|
694
747
|
workflow: string;
|
|
695
748
|
name?: string | undefined;
|
|
696
749
|
description?: string | undefined;
|
|
@@ -698,6 +751,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
698
751
|
allOutputs?: boolean | undefined;
|
|
699
752
|
}, {
|
|
700
753
|
type: "workflow";
|
|
754
|
+
workflowId?: string | undefined;
|
|
701
755
|
workflow: string;
|
|
702
756
|
name?: string | undefined;
|
|
703
757
|
description?: string | undefined;
|
|
@@ -712,7 +766,7 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
712
766
|
nodeType: z.ZodString;
|
|
713
767
|
nodeTypeVersion: z.ZodNumber;
|
|
714
768
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
715
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
769
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
716
770
|
id: z.ZodString;
|
|
717
771
|
name: z.ZodString;
|
|
718
772
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -721,7 +775,19 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
721
775
|
}, {
|
|
722
776
|
id: string;
|
|
723
777
|
name: string;
|
|
724
|
-
}
|
|
778
|
+
}>, z.ZodObject<{
|
|
779
|
+
id: z.ZodNull;
|
|
780
|
+
name: z.ZodString;
|
|
781
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
id: null;
|
|
784
|
+
name: string;
|
|
785
|
+
__aiGatewayManaged: true;
|
|
786
|
+
}, {
|
|
787
|
+
id: null;
|
|
788
|
+
name: string;
|
|
789
|
+
__aiGatewayManaged: true;
|
|
790
|
+
}>]>>>;
|
|
725
791
|
}, "strip", z.ZodTypeAny, {
|
|
726
792
|
nodeType: string;
|
|
727
793
|
nodeTypeVersion: number;
|
|
@@ -729,6 +795,10 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
729
795
|
credentials?: Record<string, {
|
|
730
796
|
id: string;
|
|
731
797
|
name: string;
|
|
798
|
+
} | {
|
|
799
|
+
id: null;
|
|
800
|
+
name: string;
|
|
801
|
+
__aiGatewayManaged: true;
|
|
732
802
|
}> | undefined;
|
|
733
803
|
}, {
|
|
734
804
|
nodeType: string;
|
|
@@ -737,6 +807,10 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
737
807
|
credentials?: Record<string, {
|
|
738
808
|
id: string;
|
|
739
809
|
name: string;
|
|
810
|
+
} | {
|
|
811
|
+
id: null;
|
|
812
|
+
name: string;
|
|
813
|
+
__aiGatewayManaged: true;
|
|
740
814
|
}> | undefined;
|
|
741
815
|
}>;
|
|
742
816
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -752,6 +826,10 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
752
826
|
credentials?: Record<string, {
|
|
753
827
|
id: string;
|
|
754
828
|
name: string;
|
|
829
|
+
} | {
|
|
830
|
+
id: null;
|
|
831
|
+
name: string;
|
|
832
|
+
__aiGatewayManaged: true;
|
|
755
833
|
}> | undefined;
|
|
756
834
|
};
|
|
757
835
|
requireApproval?: boolean | undefined;
|
|
@@ -767,6 +845,10 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
767
845
|
credentials?: Record<string, {
|
|
768
846
|
id: string;
|
|
769
847
|
name: string;
|
|
848
|
+
} | {
|
|
849
|
+
id: null;
|
|
850
|
+
name: string;
|
|
851
|
+
__aiGatewayManaged: true;
|
|
770
852
|
}> | undefined;
|
|
771
853
|
};
|
|
772
854
|
requireApproval?: boolean | undefined;
|
|
@@ -1131,6 +1213,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1131
1213
|
requireApproval?: boolean | undefined;
|
|
1132
1214
|
}>, z.ZodObject<{
|
|
1133
1215
|
type: z.ZodLiteral<"workflow">;
|
|
1216
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
1134
1217
|
workflow: z.ZodString;
|
|
1135
1218
|
name: z.ZodOptional<z.ZodString>;
|
|
1136
1219
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1138,6 +1221,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1138
1221
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
1139
1222
|
}, "strict", z.ZodTypeAny, {
|
|
1140
1223
|
type: "workflow";
|
|
1224
|
+
workflowId?: string | undefined;
|
|
1141
1225
|
workflow: string;
|
|
1142
1226
|
name?: string | undefined;
|
|
1143
1227
|
description?: string | undefined;
|
|
@@ -1145,6 +1229,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1145
1229
|
allOutputs?: boolean | undefined;
|
|
1146
1230
|
}, {
|
|
1147
1231
|
type: "workflow";
|
|
1232
|
+
workflowId?: string | undefined;
|
|
1148
1233
|
workflow: string;
|
|
1149
1234
|
name?: string | undefined;
|
|
1150
1235
|
description?: string | undefined;
|
|
@@ -1159,7 +1244,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1159
1244
|
nodeType: z.ZodString;
|
|
1160
1245
|
nodeTypeVersion: z.ZodNumber;
|
|
1161
1246
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1162
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1247
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1163
1248
|
id: z.ZodString;
|
|
1164
1249
|
name: z.ZodString;
|
|
1165
1250
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1168,7 +1253,19 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1168
1253
|
}, {
|
|
1169
1254
|
id: string;
|
|
1170
1255
|
name: string;
|
|
1171
|
-
}
|
|
1256
|
+
}>, z.ZodObject<{
|
|
1257
|
+
id: z.ZodNull;
|
|
1258
|
+
name: z.ZodString;
|
|
1259
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
1260
|
+
}, "strip", z.ZodTypeAny, {
|
|
1261
|
+
id: null;
|
|
1262
|
+
name: string;
|
|
1263
|
+
__aiGatewayManaged: true;
|
|
1264
|
+
}, {
|
|
1265
|
+
id: null;
|
|
1266
|
+
name: string;
|
|
1267
|
+
__aiGatewayManaged: true;
|
|
1268
|
+
}>]>>>;
|
|
1172
1269
|
}, "strip", z.ZodTypeAny, {
|
|
1173
1270
|
nodeType: string;
|
|
1174
1271
|
nodeTypeVersion: number;
|
|
@@ -1176,6 +1273,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1176
1273
|
credentials?: Record<string, {
|
|
1177
1274
|
id: string;
|
|
1178
1275
|
name: string;
|
|
1276
|
+
} | {
|
|
1277
|
+
id: null;
|
|
1278
|
+
name: string;
|
|
1279
|
+
__aiGatewayManaged: true;
|
|
1179
1280
|
}> | undefined;
|
|
1180
1281
|
}, {
|
|
1181
1282
|
nodeType: string;
|
|
@@ -1184,6 +1285,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1184
1285
|
credentials?: Record<string, {
|
|
1185
1286
|
id: string;
|
|
1186
1287
|
name: string;
|
|
1288
|
+
} | {
|
|
1289
|
+
id: null;
|
|
1290
|
+
name: string;
|
|
1291
|
+
__aiGatewayManaged: true;
|
|
1187
1292
|
}> | undefined;
|
|
1188
1293
|
}>;
|
|
1189
1294
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1199,6 +1304,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1199
1304
|
credentials?: Record<string, {
|
|
1200
1305
|
id: string;
|
|
1201
1306
|
name: string;
|
|
1307
|
+
} | {
|
|
1308
|
+
id: null;
|
|
1309
|
+
name: string;
|
|
1310
|
+
__aiGatewayManaged: true;
|
|
1202
1311
|
}> | undefined;
|
|
1203
1312
|
};
|
|
1204
1313
|
requireApproval?: boolean | undefined;
|
|
@@ -1214,6 +1323,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1214
1323
|
credentials?: Record<string, {
|
|
1215
1324
|
id: string;
|
|
1216
1325
|
name: string;
|
|
1326
|
+
} | {
|
|
1327
|
+
id: null;
|
|
1328
|
+
name: string;
|
|
1329
|
+
__aiGatewayManaged: true;
|
|
1217
1330
|
}> | undefined;
|
|
1218
1331
|
};
|
|
1219
1332
|
requireApproval?: boolean | undefined;
|
|
@@ -1223,6 +1336,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1223
1336
|
requireApproval?: boolean | undefined;
|
|
1224
1337
|
} | {
|
|
1225
1338
|
type: "workflow";
|
|
1339
|
+
workflowId?: string | undefined;
|
|
1226
1340
|
workflow: string;
|
|
1227
1341
|
name?: string | undefined;
|
|
1228
1342
|
description?: string | undefined;
|
|
@@ -1240,6 +1354,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1240
1354
|
credentials?: Record<string, {
|
|
1241
1355
|
id: string;
|
|
1242
1356
|
name: string;
|
|
1357
|
+
} | {
|
|
1358
|
+
id: null;
|
|
1359
|
+
name: string;
|
|
1360
|
+
__aiGatewayManaged: true;
|
|
1243
1361
|
}> | undefined;
|
|
1244
1362
|
};
|
|
1245
1363
|
requireApproval?: boolean | undefined;
|
|
@@ -1249,6 +1367,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1249
1367
|
requireApproval?: boolean | undefined;
|
|
1250
1368
|
} | {
|
|
1251
1369
|
type: "workflow";
|
|
1370
|
+
workflowId?: string | undefined;
|
|
1252
1371
|
workflow: string;
|
|
1253
1372
|
name?: string | undefined;
|
|
1254
1373
|
description?: string | undefined;
|
|
@@ -1266,6 +1385,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1266
1385
|
credentials?: Record<string, {
|
|
1267
1386
|
id: string;
|
|
1268
1387
|
name: string;
|
|
1388
|
+
} | {
|
|
1389
|
+
id: null;
|
|
1390
|
+
name: string;
|
|
1391
|
+
__aiGatewayManaged: true;
|
|
1269
1392
|
}> | undefined;
|
|
1270
1393
|
};
|
|
1271
1394
|
requireApproval?: boolean | undefined;
|
|
@@ -1352,6 +1475,15 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1352
1475
|
}, {
|
|
1353
1476
|
type: "linear";
|
|
1354
1477
|
credentialId: string;
|
|
1478
|
+
}>, z.ZodObject<{
|
|
1479
|
+
type: z.ZodLiteral<"discord">;
|
|
1480
|
+
credentialId: z.ZodString;
|
|
1481
|
+
}, "strip", z.ZodTypeAny, {
|
|
1482
|
+
type: "discord";
|
|
1483
|
+
credentialId: string;
|
|
1484
|
+
}, {
|
|
1485
|
+
type: "discord";
|
|
1486
|
+
credentialId: string;
|
|
1355
1487
|
}>]>, "many">>;
|
|
1356
1488
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1357
1489
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1881,6 +2013,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1881
2013
|
requireApproval?: boolean | undefined;
|
|
1882
2014
|
} | {
|
|
1883
2015
|
type: "workflow";
|
|
2016
|
+
workflowId?: string | undefined;
|
|
1884
2017
|
workflow: string;
|
|
1885
2018
|
name?: string | undefined;
|
|
1886
2019
|
description?: string | undefined;
|
|
@@ -1898,6 +2031,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1898
2031
|
credentials?: Record<string, {
|
|
1899
2032
|
id: string;
|
|
1900
2033
|
name: string;
|
|
2034
|
+
} | {
|
|
2035
|
+
id: null;
|
|
2036
|
+
name: string;
|
|
2037
|
+
__aiGatewayManaged: true;
|
|
1901
2038
|
}> | undefined;
|
|
1902
2039
|
};
|
|
1903
2040
|
requireApproval?: boolean | undefined;
|
|
@@ -1925,6 +2062,9 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
1925
2062
|
} | {
|
|
1926
2063
|
type: "linear";
|
|
1927
2064
|
credentialId: string;
|
|
2065
|
+
} | {
|
|
2066
|
+
type: "discord";
|
|
2067
|
+
credentialId: string;
|
|
1928
2068
|
})[] | undefined;
|
|
1929
2069
|
mcpServers?: {
|
|
1930
2070
|
name: string;
|
|
@@ -2088,6 +2228,7 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2088
2228
|
requireApproval?: boolean | undefined;
|
|
2089
2229
|
} | {
|
|
2090
2230
|
type: "workflow";
|
|
2231
|
+
workflowId?: string | undefined;
|
|
2091
2232
|
workflow: string;
|
|
2092
2233
|
name?: string | undefined;
|
|
2093
2234
|
description?: string | undefined;
|
|
@@ -2105,6 +2246,10 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2105
2246
|
credentials?: Record<string, {
|
|
2106
2247
|
id: string;
|
|
2107
2248
|
name: string;
|
|
2249
|
+
} | {
|
|
2250
|
+
id: null;
|
|
2251
|
+
name: string;
|
|
2252
|
+
__aiGatewayManaged: true;
|
|
2108
2253
|
}> | undefined;
|
|
2109
2254
|
};
|
|
2110
2255
|
requireApproval?: boolean | undefined;
|
|
@@ -2132,6 +2277,9 @@ export declare const AgentJsonConfigBaseSchema: z.ZodObject<{
|
|
|
2132
2277
|
} | {
|
|
2133
2278
|
type: "linear";
|
|
2134
2279
|
credentialId: string;
|
|
2280
|
+
} | {
|
|
2281
|
+
type: "discord";
|
|
2282
|
+
credentialId: string;
|
|
2135
2283
|
})[] | undefined;
|
|
2136
2284
|
mcpServers?: {
|
|
2137
2285
|
name: string;
|
|
@@ -2578,6 +2726,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2578
2726
|
requireApproval?: boolean | undefined;
|
|
2579
2727
|
}>, z.ZodObject<{
|
|
2580
2728
|
type: z.ZodLiteral<"workflow">;
|
|
2729
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
2581
2730
|
workflow: z.ZodString;
|
|
2582
2731
|
name: z.ZodOptional<z.ZodString>;
|
|
2583
2732
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2585,6 +2734,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2585
2734
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
2586
2735
|
}, "strict", z.ZodTypeAny, {
|
|
2587
2736
|
type: "workflow";
|
|
2737
|
+
workflowId?: string | undefined;
|
|
2588
2738
|
workflow: string;
|
|
2589
2739
|
name?: string | undefined;
|
|
2590
2740
|
description?: string | undefined;
|
|
@@ -2592,6 +2742,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2592
2742
|
allOutputs?: boolean | undefined;
|
|
2593
2743
|
}, {
|
|
2594
2744
|
type: "workflow";
|
|
2745
|
+
workflowId?: string | undefined;
|
|
2595
2746
|
workflow: string;
|
|
2596
2747
|
name?: string | undefined;
|
|
2597
2748
|
description?: string | undefined;
|
|
@@ -2606,7 +2757,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2606
2757
|
nodeType: z.ZodString;
|
|
2607
2758
|
nodeTypeVersion: z.ZodNumber;
|
|
2608
2759
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2609
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2760
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
2610
2761
|
id: z.ZodString;
|
|
2611
2762
|
name: z.ZodString;
|
|
2612
2763
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2615,7 +2766,19 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2615
2766
|
}, {
|
|
2616
2767
|
id: string;
|
|
2617
2768
|
name: string;
|
|
2618
|
-
}
|
|
2769
|
+
}>, z.ZodObject<{
|
|
2770
|
+
id: z.ZodNull;
|
|
2771
|
+
name: z.ZodString;
|
|
2772
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
2773
|
+
}, "strip", z.ZodTypeAny, {
|
|
2774
|
+
id: null;
|
|
2775
|
+
name: string;
|
|
2776
|
+
__aiGatewayManaged: true;
|
|
2777
|
+
}, {
|
|
2778
|
+
id: null;
|
|
2779
|
+
name: string;
|
|
2780
|
+
__aiGatewayManaged: true;
|
|
2781
|
+
}>]>>>;
|
|
2619
2782
|
}, "strip", z.ZodTypeAny, {
|
|
2620
2783
|
nodeType: string;
|
|
2621
2784
|
nodeTypeVersion: number;
|
|
@@ -2623,6 +2786,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2623
2786
|
credentials?: Record<string, {
|
|
2624
2787
|
id: string;
|
|
2625
2788
|
name: string;
|
|
2789
|
+
} | {
|
|
2790
|
+
id: null;
|
|
2791
|
+
name: string;
|
|
2792
|
+
__aiGatewayManaged: true;
|
|
2626
2793
|
}> | undefined;
|
|
2627
2794
|
}, {
|
|
2628
2795
|
nodeType: string;
|
|
@@ -2631,6 +2798,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2631
2798
|
credentials?: Record<string, {
|
|
2632
2799
|
id: string;
|
|
2633
2800
|
name: string;
|
|
2801
|
+
} | {
|
|
2802
|
+
id: null;
|
|
2803
|
+
name: string;
|
|
2804
|
+
__aiGatewayManaged: true;
|
|
2634
2805
|
}> | undefined;
|
|
2635
2806
|
}>;
|
|
2636
2807
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2646,6 +2817,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2646
2817
|
credentials?: Record<string, {
|
|
2647
2818
|
id: string;
|
|
2648
2819
|
name: string;
|
|
2820
|
+
} | {
|
|
2821
|
+
id: null;
|
|
2822
|
+
name: string;
|
|
2823
|
+
__aiGatewayManaged: true;
|
|
2649
2824
|
}> | undefined;
|
|
2650
2825
|
};
|
|
2651
2826
|
requireApproval?: boolean | undefined;
|
|
@@ -2661,6 +2836,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2661
2836
|
credentials?: Record<string, {
|
|
2662
2837
|
id: string;
|
|
2663
2838
|
name: string;
|
|
2839
|
+
} | {
|
|
2840
|
+
id: null;
|
|
2841
|
+
name: string;
|
|
2842
|
+
__aiGatewayManaged: true;
|
|
2664
2843
|
}> | undefined;
|
|
2665
2844
|
};
|
|
2666
2845
|
requireApproval?: boolean | undefined;
|
|
@@ -2670,6 +2849,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2670
2849
|
requireApproval?: boolean | undefined;
|
|
2671
2850
|
} | {
|
|
2672
2851
|
type: "workflow";
|
|
2852
|
+
workflowId?: string | undefined;
|
|
2673
2853
|
workflow: string;
|
|
2674
2854
|
name?: string | undefined;
|
|
2675
2855
|
description?: string | undefined;
|
|
@@ -2687,6 +2867,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2687
2867
|
credentials?: Record<string, {
|
|
2688
2868
|
id: string;
|
|
2689
2869
|
name: string;
|
|
2870
|
+
} | {
|
|
2871
|
+
id: null;
|
|
2872
|
+
name: string;
|
|
2873
|
+
__aiGatewayManaged: true;
|
|
2690
2874
|
}> | undefined;
|
|
2691
2875
|
};
|
|
2692
2876
|
requireApproval?: boolean | undefined;
|
|
@@ -2696,6 +2880,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2696
2880
|
requireApproval?: boolean | undefined;
|
|
2697
2881
|
} | {
|
|
2698
2882
|
type: "workflow";
|
|
2883
|
+
workflowId?: string | undefined;
|
|
2699
2884
|
workflow: string;
|
|
2700
2885
|
name?: string | undefined;
|
|
2701
2886
|
description?: string | undefined;
|
|
@@ -2713,6 +2898,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2713
2898
|
credentials?: Record<string, {
|
|
2714
2899
|
id: string;
|
|
2715
2900
|
name: string;
|
|
2901
|
+
} | {
|
|
2902
|
+
id: null;
|
|
2903
|
+
name: string;
|
|
2904
|
+
__aiGatewayManaged: true;
|
|
2716
2905
|
}> | undefined;
|
|
2717
2906
|
};
|
|
2718
2907
|
requireApproval?: boolean | undefined;
|
|
@@ -2799,6 +2988,15 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2799
2988
|
}, {
|
|
2800
2989
|
type: "linear";
|
|
2801
2990
|
credentialId: string;
|
|
2991
|
+
}>, z.ZodObject<{
|
|
2992
|
+
type: z.ZodLiteral<"discord">;
|
|
2993
|
+
credentialId: z.ZodString;
|
|
2994
|
+
}, "strip", z.ZodTypeAny, {
|
|
2995
|
+
type: "discord";
|
|
2996
|
+
credentialId: string;
|
|
2997
|
+
}, {
|
|
2998
|
+
type: "discord";
|
|
2999
|
+
credentialId: string;
|
|
2802
3000
|
}>]>, "many">>;
|
|
2803
3001
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2804
3002
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3328,6 +3526,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3328
3526
|
requireApproval?: boolean | undefined;
|
|
3329
3527
|
} | {
|
|
3330
3528
|
type: "workflow";
|
|
3529
|
+
workflowId?: string | undefined;
|
|
3331
3530
|
workflow: string;
|
|
3332
3531
|
name?: string | undefined;
|
|
3333
3532
|
description?: string | undefined;
|
|
@@ -3345,6 +3544,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3345
3544
|
credentials?: Record<string, {
|
|
3346
3545
|
id: string;
|
|
3347
3546
|
name: string;
|
|
3547
|
+
} | {
|
|
3548
|
+
id: null;
|
|
3549
|
+
name: string;
|
|
3550
|
+
__aiGatewayManaged: true;
|
|
3348
3551
|
}> | undefined;
|
|
3349
3552
|
};
|
|
3350
3553
|
requireApproval?: boolean | undefined;
|
|
@@ -3372,6 +3575,9 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3372
3575
|
} | {
|
|
3373
3576
|
type: "linear";
|
|
3374
3577
|
credentialId: string;
|
|
3578
|
+
} | {
|
|
3579
|
+
type: "discord";
|
|
3580
|
+
credentialId: string;
|
|
3375
3581
|
})[] | undefined;
|
|
3376
3582
|
mcpServers?: {
|
|
3377
3583
|
name: string;
|
|
@@ -3535,6 +3741,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3535
3741
|
requireApproval?: boolean | undefined;
|
|
3536
3742
|
} | {
|
|
3537
3743
|
type: "workflow";
|
|
3744
|
+
workflowId?: string | undefined;
|
|
3538
3745
|
workflow: string;
|
|
3539
3746
|
name?: string | undefined;
|
|
3540
3747
|
description?: string | undefined;
|
|
@@ -3552,6 +3759,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3552
3759
|
credentials?: Record<string, {
|
|
3553
3760
|
id: string;
|
|
3554
3761
|
name: string;
|
|
3762
|
+
} | {
|
|
3763
|
+
id: null;
|
|
3764
|
+
name: string;
|
|
3765
|
+
__aiGatewayManaged: true;
|
|
3555
3766
|
}> | undefined;
|
|
3556
3767
|
};
|
|
3557
3768
|
requireApproval?: boolean | undefined;
|
|
@@ -3579,6 +3790,9 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3579
3790
|
} | {
|
|
3580
3791
|
type: "linear";
|
|
3581
3792
|
credentialId: string;
|
|
3793
|
+
} | {
|
|
3794
|
+
type: "discord";
|
|
3795
|
+
credentialId: string;
|
|
3582
3796
|
})[] | undefined;
|
|
3583
3797
|
mcpServers?: {
|
|
3584
3798
|
name: string;
|
|
@@ -3742,6 +3956,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3742
3956
|
requireApproval?: boolean | undefined;
|
|
3743
3957
|
} | {
|
|
3744
3958
|
type: "workflow";
|
|
3959
|
+
workflowId?: string | undefined;
|
|
3745
3960
|
workflow: string;
|
|
3746
3961
|
name?: string | undefined;
|
|
3747
3962
|
description?: string | undefined;
|
|
@@ -3759,6 +3974,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3759
3974
|
credentials?: Record<string, {
|
|
3760
3975
|
id: string;
|
|
3761
3976
|
name: string;
|
|
3977
|
+
} | {
|
|
3978
|
+
id: null;
|
|
3979
|
+
name: string;
|
|
3980
|
+
__aiGatewayManaged: true;
|
|
3762
3981
|
}> | undefined;
|
|
3763
3982
|
};
|
|
3764
3983
|
requireApproval?: boolean | undefined;
|
|
@@ -3786,6 +4005,9 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3786
4005
|
} | {
|
|
3787
4006
|
type: "linear";
|
|
3788
4007
|
credentialId: string;
|
|
4008
|
+
} | {
|
|
4009
|
+
type: "discord";
|
|
4010
|
+
credentialId: string;
|
|
3789
4011
|
})[] | undefined;
|
|
3790
4012
|
mcpServers?: {
|
|
3791
4013
|
name: string;
|
|
@@ -3949,6 +4171,7 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3949
4171
|
requireApproval?: boolean | undefined;
|
|
3950
4172
|
} | {
|
|
3951
4173
|
type: "workflow";
|
|
4174
|
+
workflowId?: string | undefined;
|
|
3952
4175
|
workflow: string;
|
|
3953
4176
|
name?: string | undefined;
|
|
3954
4177
|
description?: string | undefined;
|
|
@@ -3966,6 +4189,10 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3966
4189
|
credentials?: Record<string, {
|
|
3967
4190
|
id: string;
|
|
3968
4191
|
name: string;
|
|
4192
|
+
} | {
|
|
4193
|
+
id: null;
|
|
4194
|
+
name: string;
|
|
4195
|
+
__aiGatewayManaged: true;
|
|
3969
4196
|
}> | undefined;
|
|
3970
4197
|
};
|
|
3971
4198
|
requireApproval?: boolean | undefined;
|
|
@@ -3993,6 +4220,9 @@ export declare const AgentJsonConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3993
4220
|
} | {
|
|
3994
4221
|
type: "linear";
|
|
3995
4222
|
credentialId: string;
|
|
4223
|
+
} | {
|
|
4224
|
+
type: "discord";
|
|
4225
|
+
credentialId: string;
|
|
3996
4226
|
})[] | undefined;
|
|
3997
4227
|
mcpServers?: {
|
|
3998
4228
|
name: string;
|
|
@@ -4437,6 +4667,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4437
4667
|
requireApproval?: boolean | undefined;
|
|
4438
4668
|
}>, z.ZodObject<{
|
|
4439
4669
|
type: z.ZodLiteral<"workflow">;
|
|
4670
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
4440
4671
|
workflow: z.ZodString;
|
|
4441
4672
|
name: z.ZodOptional<z.ZodString>;
|
|
4442
4673
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -4444,6 +4675,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4444
4675
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
4445
4676
|
}, "strict", z.ZodTypeAny, {
|
|
4446
4677
|
type: "workflow";
|
|
4678
|
+
workflowId?: string | undefined;
|
|
4447
4679
|
workflow: string;
|
|
4448
4680
|
name?: string | undefined;
|
|
4449
4681
|
description?: string | undefined;
|
|
@@ -4451,6 +4683,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4451
4683
|
allOutputs?: boolean | undefined;
|
|
4452
4684
|
}, {
|
|
4453
4685
|
type: "workflow";
|
|
4686
|
+
workflowId?: string | undefined;
|
|
4454
4687
|
workflow: string;
|
|
4455
4688
|
name?: string | undefined;
|
|
4456
4689
|
description?: string | undefined;
|
|
@@ -4465,7 +4698,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4465
4698
|
nodeType: z.ZodString;
|
|
4466
4699
|
nodeTypeVersion: z.ZodNumber;
|
|
4467
4700
|
nodeParameters: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4468
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4701
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
4469
4702
|
id: z.ZodString;
|
|
4470
4703
|
name: z.ZodString;
|
|
4471
4704
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4474,7 +4707,19 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4474
4707
|
}, {
|
|
4475
4708
|
id: string;
|
|
4476
4709
|
name: string;
|
|
4477
|
-
}
|
|
4710
|
+
}>, z.ZodObject<{
|
|
4711
|
+
id: z.ZodNull;
|
|
4712
|
+
name: z.ZodString;
|
|
4713
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
4714
|
+
}, "strip", z.ZodTypeAny, {
|
|
4715
|
+
id: null;
|
|
4716
|
+
name: string;
|
|
4717
|
+
__aiGatewayManaged: true;
|
|
4718
|
+
}, {
|
|
4719
|
+
id: null;
|
|
4720
|
+
name: string;
|
|
4721
|
+
__aiGatewayManaged: true;
|
|
4722
|
+
}>]>>>;
|
|
4478
4723
|
}, "strip", z.ZodTypeAny, {
|
|
4479
4724
|
nodeType: string;
|
|
4480
4725
|
nodeTypeVersion: number;
|
|
@@ -4482,6 +4727,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4482
4727
|
credentials?: Record<string, {
|
|
4483
4728
|
id: string;
|
|
4484
4729
|
name: string;
|
|
4730
|
+
} | {
|
|
4731
|
+
id: null;
|
|
4732
|
+
name: string;
|
|
4733
|
+
__aiGatewayManaged: true;
|
|
4485
4734
|
}> | undefined;
|
|
4486
4735
|
}, {
|
|
4487
4736
|
nodeType: string;
|
|
@@ -4490,6 +4739,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4490
4739
|
credentials?: Record<string, {
|
|
4491
4740
|
id: string;
|
|
4492
4741
|
name: string;
|
|
4742
|
+
} | {
|
|
4743
|
+
id: null;
|
|
4744
|
+
name: string;
|
|
4745
|
+
__aiGatewayManaged: true;
|
|
4493
4746
|
}> | undefined;
|
|
4494
4747
|
}>;
|
|
4495
4748
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4505,6 +4758,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4505
4758
|
credentials?: Record<string, {
|
|
4506
4759
|
id: string;
|
|
4507
4760
|
name: string;
|
|
4761
|
+
} | {
|
|
4762
|
+
id: null;
|
|
4763
|
+
name: string;
|
|
4764
|
+
__aiGatewayManaged: true;
|
|
4508
4765
|
}> | undefined;
|
|
4509
4766
|
};
|
|
4510
4767
|
requireApproval?: boolean | undefined;
|
|
@@ -4520,6 +4777,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4520
4777
|
credentials?: Record<string, {
|
|
4521
4778
|
id: string;
|
|
4522
4779
|
name: string;
|
|
4780
|
+
} | {
|
|
4781
|
+
id: null;
|
|
4782
|
+
name: string;
|
|
4783
|
+
__aiGatewayManaged: true;
|
|
4523
4784
|
}> | undefined;
|
|
4524
4785
|
};
|
|
4525
4786
|
requireApproval?: boolean | undefined;
|
|
@@ -4529,6 +4790,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4529
4790
|
requireApproval?: boolean | undefined;
|
|
4530
4791
|
} | {
|
|
4531
4792
|
type: "workflow";
|
|
4793
|
+
workflowId?: string | undefined;
|
|
4532
4794
|
workflow: string;
|
|
4533
4795
|
name?: string | undefined;
|
|
4534
4796
|
description?: string | undefined;
|
|
@@ -4546,6 +4808,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4546
4808
|
credentials?: Record<string, {
|
|
4547
4809
|
id: string;
|
|
4548
4810
|
name: string;
|
|
4811
|
+
} | {
|
|
4812
|
+
id: null;
|
|
4813
|
+
name: string;
|
|
4814
|
+
__aiGatewayManaged: true;
|
|
4549
4815
|
}> | undefined;
|
|
4550
4816
|
};
|
|
4551
4817
|
requireApproval?: boolean | undefined;
|
|
@@ -4555,6 +4821,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4555
4821
|
requireApproval?: boolean | undefined;
|
|
4556
4822
|
} | {
|
|
4557
4823
|
type: "workflow";
|
|
4824
|
+
workflowId?: string | undefined;
|
|
4558
4825
|
workflow: string;
|
|
4559
4826
|
name?: string | undefined;
|
|
4560
4827
|
description?: string | undefined;
|
|
@@ -4572,6 +4839,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4572
4839
|
credentials?: Record<string, {
|
|
4573
4840
|
id: string;
|
|
4574
4841
|
name: string;
|
|
4842
|
+
} | {
|
|
4843
|
+
id: null;
|
|
4844
|
+
name: string;
|
|
4845
|
+
__aiGatewayManaged: true;
|
|
4575
4846
|
}> | undefined;
|
|
4576
4847
|
};
|
|
4577
4848
|
requireApproval?: boolean | undefined;
|
|
@@ -4658,6 +4929,15 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
4658
4929
|
}, {
|
|
4659
4930
|
type: "linear";
|
|
4660
4931
|
credentialId: string;
|
|
4932
|
+
}>, z.ZodObject<{
|
|
4933
|
+
type: z.ZodLiteral<"discord">;
|
|
4934
|
+
credentialId: z.ZodString;
|
|
4935
|
+
}, "strip", z.ZodTypeAny, {
|
|
4936
|
+
type: "discord";
|
|
4937
|
+
credentialId: string;
|
|
4938
|
+
}, {
|
|
4939
|
+
type: "discord";
|
|
4940
|
+
credentialId: string;
|
|
4661
4941
|
}>]>, "many">>;
|
|
4662
4942
|
mcpServers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
4663
4943
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -5188,6 +5468,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5188
5468
|
requireApproval?: boolean | undefined;
|
|
5189
5469
|
} | {
|
|
5190
5470
|
type: "workflow";
|
|
5471
|
+
workflowId?: string | undefined;
|
|
5191
5472
|
workflow: string;
|
|
5192
5473
|
name?: string | undefined;
|
|
5193
5474
|
description?: string | undefined;
|
|
@@ -5205,6 +5486,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5205
5486
|
credentials?: Record<string, {
|
|
5206
5487
|
id: string;
|
|
5207
5488
|
name: string;
|
|
5489
|
+
} | {
|
|
5490
|
+
id: null;
|
|
5491
|
+
name: string;
|
|
5492
|
+
__aiGatewayManaged: true;
|
|
5208
5493
|
}> | undefined;
|
|
5209
5494
|
};
|
|
5210
5495
|
requireApproval?: boolean | undefined;
|
|
@@ -5232,6 +5517,9 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5232
5517
|
} | {
|
|
5233
5518
|
type: "linear";
|
|
5234
5519
|
credentialId: string;
|
|
5520
|
+
} | {
|
|
5521
|
+
type: "discord";
|
|
5522
|
+
credentialId: string;
|
|
5235
5523
|
})[] | undefined;
|
|
5236
5524
|
mcpServers?: {
|
|
5237
5525
|
name: string;
|
|
@@ -5395,6 +5683,7 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5395
5683
|
requireApproval?: boolean | undefined;
|
|
5396
5684
|
} | {
|
|
5397
5685
|
type: "workflow";
|
|
5686
|
+
workflowId?: string | undefined;
|
|
5398
5687
|
workflow: string;
|
|
5399
5688
|
name?: string | undefined;
|
|
5400
5689
|
description?: string | undefined;
|
|
@@ -5412,6 +5701,10 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5412
5701
|
credentials?: Record<string, {
|
|
5413
5702
|
id: string;
|
|
5414
5703
|
name: string;
|
|
5704
|
+
} | {
|
|
5705
|
+
id: null;
|
|
5706
|
+
name: string;
|
|
5707
|
+
__aiGatewayManaged: true;
|
|
5415
5708
|
}> | undefined;
|
|
5416
5709
|
};
|
|
5417
5710
|
requireApproval?: boolean | undefined;
|
|
@@ -5439,6 +5732,9 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
5439
5732
|
} | {
|
|
5440
5733
|
type: "linear";
|
|
5441
5734
|
credentialId: string;
|
|
5735
|
+
} | {
|
|
5736
|
+
type: "discord";
|
|
5737
|
+
credentialId: string;
|
|
5442
5738
|
})[] | undefined;
|
|
5443
5739
|
mcpServers?: {
|
|
5444
5740
|
name: string;
|