@n8n/api-types 1.36.3 → 1.37.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-config-validation.schema.d.ts +8 -0
- package/dist/agents/agent-config-validation.schema.js +1 -0
- package/dist/agents/agent-config-validation.schema.js.map +1 -1
- package/dist/agents/agent-integration.schema.d.ts +43 -0
- package/dist/agents/agent-integration.schema.js +18 -4
- package/dist/agents/agent-integration.schema.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +5 -0
- package/dist/agents/agent-json-config.schema.d.ts +307 -0
- package/dist/agents/agent-json-config.schema.js +15 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/agent-task.schema.d.ts +3 -0
- package/dist/agents/agent-task.schema.js +2 -0
- package/dist/agents/agent-task.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +26 -0
- package/dist/agents/dto.js +32 -1
- 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 +276 -0
- package/dist/agents/sanitize-agent-tool-name.d.ts +1 -0
- package/dist/agents/sanitize-agent-tool-name.js +15 -0
- package/dist/agents/sanitize-agent-tool-name.js.map +1 -0
- package/dist/agents/slack/types.d.ts +3 -0
- package/dist/agents/types.d.ts +15 -93
- package/dist/agents/types.js +28 -17
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/role-mapping.d.ts +2 -0
- package/dist/constants/role-mapping.js +3 -1
- package/dist/constants/role-mapping.js.map +1 -1
- package/dist/dto/data-table/create-data-table.dto.d.ts +1 -1
- package/dist/dto/data-table/public-api-create-data-table.dto.d.ts +1 -1
- package/dist/dto/executions/delete-executions.dto.d.ts +13 -0
- package/dist/dto/executions/delete-executions.dto.js +13 -0
- package/dist/dto/executions/delete-executions.dto.js.map +1 -0
- package/dist/dto/git-connections/git-connections.dto.d.ts +331 -0
- package/dist/dto/git-connections/git-connections.dto.js +94 -0
- package/dist/dto/git-connections/git-connections.dto.js.map +1 -0
- package/dist/dto/index.d.ts +10 -3
- package/dist/dto/index.js +37 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +2 -0
- package/dist/dto/packages/export-package-request.dto.js +4 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +5 -3
- package/dist/dto/packages/import-package-request.dto.js +3 -1
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/roles/role-mapping-rule-public.dto.d.ts +84 -0
- package/dist/dto/roles/role-mapping-rule-public.dto.js +18 -3
- package/dist/dto/roles/role-mapping-rule-public.dto.js.map +1 -1
- package/dist/dto/roles/role-public.dto.d.ts +2 -2
- package/dist/dto/roles/update-role-mapping-rule-public.dto.d.ts +13 -0
- package/dist/dto/roles/update-role-mapping-rule-public.dto.js +13 -0
- package/dist/dto/roles/update-role-mapping-rule-public.dto.js.map +1 -0
- package/dist/dto/saml/saml-preferences.dto.d.ts +1 -1
- package/dist/dto/workflow-history/list-workflow-history-query.dto.d.ts +0 -2
- package/dist/dto/workflow-history/list-workflow-history-query.dto.js +1 -1
- package/dist/dto/workflow-history/list-workflow-history-query.dto.js.map +1 -1
- package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.d.ts +1 -0
- package/dist/dto/workflow-reviews/list-workflow-review-requests-query.dto.d.ts +2 -2
- package/dist/dto/workflows/create-workflow-public.dto.d.ts +373 -0
- package/dist/dto/workflows/create-workflow-public.dto.js +167 -0
- package/dist/dto/workflows/create-workflow-public.dto.js.map +1 -0
- package/dist/dto/workflows/publish-workflow-public.dto.d.ts +27 -0
- package/dist/dto/workflows/publish-workflow-public.dto.js +23 -0
- package/dist/dto/workflows/publish-workflow-public.dto.js.map +1 -0
- package/dist/dto/workflows/transfer-workflow-public.dto.d.ts +9 -0
- package/dist/dto/workflows/transfer-workflow-public.dto.js +11 -0
- package/dist/dto/workflows/transfer-workflow-public.dto.js.map +1 -0
- package/dist/dto/workflows/workflow-public.dto.d.ts +1343 -0
- package/dist/dto/workflows/workflow-public.dto.js +40 -11
- package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
- package/dist/dto/workflows/workflow-public.openapi.d.ts +217 -0
- package/dist/dto/workflows/workflow-public.openapi.js +390 -0
- package/dist/dto/workflows/workflow-public.openapi.js.map +1 -0
- package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.d.ts +26 -0
- package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.js +14 -0
- package/dist/dto/workflows/workflow-publish-blocked-error-public.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi-extend.d.ts +1 -0
- package/dist/openapi-extend.js +6 -0
- package/dist/openapi-extend.js.map +1 -0
- package/dist/push/execution.d.ts +27 -1
- package/dist/push/index.d.ts +1 -0
- package/dist/schemas/agent-evals.schema.d.ts +4 -4
- package/dist/schemas/agent-evals.schema.js +2 -9
- 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/instance-ai.schema.d.ts +333 -0
- package/dist/schemas/instance-ai.schema.js +18 -4
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/json-value.schema.d.ts +3 -0
- package/dist/schemas/json-value.schema.js +13 -0
- package/dist/schemas/json-value.schema.js.map +1 -0
- package/dist/schemas/mcp.schema.d.ts +1 -0
- package/dist/schemas/mcp.schema.js +4 -0
- package/dist/schemas/mcp.schema.js.map +1 -1
- package/dist/workflow-review-activity.d.ts +33 -6
- package/dist/workflow-review-activity.js +11 -6
- package/dist/workflow-review-activity.js.map +1 -1
- package/dist/zod-class.d.ts +4 -2
- package/dist/zod-class.js +3 -3
- package/dist/zod-class.js.map +1 -1
- package/package.json +5 -4
|
@@ -365,6 +365,22 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
365
365
|
description: z.ZodOptional<z.ZodString>;
|
|
366
366
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
367
367
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
368
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
369
|
+
mode: z.ZodLiteral<"ai">;
|
|
370
|
+
}, "strict", z.ZodTypeAny, {
|
|
371
|
+
mode: "ai";
|
|
372
|
+
}, {
|
|
373
|
+
mode: "ai";
|
|
374
|
+
}>, z.ZodObject<{
|
|
375
|
+
mode: z.ZodLiteral<"fixed">;
|
|
376
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
377
|
+
}, "strict", z.ZodTypeAny, {
|
|
378
|
+
mode: "fixed";
|
|
379
|
+
value: import("n8n-workflow").JsonValue;
|
|
380
|
+
}, {
|
|
381
|
+
mode: "fixed";
|
|
382
|
+
value: import("n8n-workflow").JsonValue;
|
|
383
|
+
}>]>>>;
|
|
368
384
|
}, "strict", z.ZodTypeAny, {
|
|
369
385
|
type: "workflow";
|
|
370
386
|
workflowId?: string | undefined;
|
|
@@ -373,6 +389,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
373
389
|
description?: string | undefined;
|
|
374
390
|
requireApproval?: boolean | undefined;
|
|
375
391
|
allOutputs?: boolean | undefined;
|
|
392
|
+
inputs?: Record<string, {
|
|
393
|
+
mode: "ai";
|
|
394
|
+
} | {
|
|
395
|
+
mode: "fixed";
|
|
396
|
+
value: import("n8n-workflow").JsonValue;
|
|
397
|
+
}> | undefined;
|
|
376
398
|
}, {
|
|
377
399
|
type: "workflow";
|
|
378
400
|
workflowId?: string | undefined;
|
|
@@ -381,6 +403,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
381
403
|
description?: string | undefined;
|
|
382
404
|
requireApproval?: boolean | undefined;
|
|
383
405
|
allOutputs?: boolean | undefined;
|
|
406
|
+
inputs?: Record<string, {
|
|
407
|
+
mode: "ai";
|
|
408
|
+
} | {
|
|
409
|
+
mode: "fixed";
|
|
410
|
+
value: import("n8n-workflow").JsonValue;
|
|
411
|
+
}> | undefined;
|
|
384
412
|
}>, z.ZodObject<{
|
|
385
413
|
type: z.ZodLiteral<"node">;
|
|
386
414
|
name: z.ZodString;
|
|
@@ -488,6 +516,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
488
516
|
description?: string | undefined;
|
|
489
517
|
requireApproval?: boolean | undefined;
|
|
490
518
|
allOutputs?: boolean | undefined;
|
|
519
|
+
inputs?: Record<string, {
|
|
520
|
+
mode: "ai";
|
|
521
|
+
} | {
|
|
522
|
+
mode: "fixed";
|
|
523
|
+
value: import("n8n-workflow").JsonValue;
|
|
524
|
+
}> | undefined;
|
|
491
525
|
} | {
|
|
492
526
|
type: "node";
|
|
493
527
|
name: string;
|
|
@@ -519,6 +553,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
519
553
|
description?: string | undefined;
|
|
520
554
|
requireApproval?: boolean | undefined;
|
|
521
555
|
allOutputs?: boolean | undefined;
|
|
556
|
+
inputs?: Record<string, {
|
|
557
|
+
mode: "ai";
|
|
558
|
+
} | {
|
|
559
|
+
mode: "fixed";
|
|
560
|
+
value: import("n8n-workflow").JsonValue;
|
|
561
|
+
}> | undefined;
|
|
522
562
|
} | {
|
|
523
563
|
type: "node";
|
|
524
564
|
name: string;
|
|
@@ -606,12 +646,26 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
606
646
|
}>, z.ZodObject<{
|
|
607
647
|
type: z.ZodLiteral<"slack">;
|
|
608
648
|
credentialId: z.ZodString;
|
|
649
|
+
} & {
|
|
650
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
651
|
+
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
652
|
+
}, "strict", z.ZodTypeAny, {
|
|
653
|
+
messagingExperience: "agent" | "assistant";
|
|
654
|
+
}, {
|
|
655
|
+
messagingExperience: "agent" | "assistant";
|
|
656
|
+
}>>;
|
|
609
657
|
}, "strip", z.ZodTypeAny, {
|
|
610
658
|
type: "slack";
|
|
611
659
|
credentialId: string;
|
|
660
|
+
settings?: {
|
|
661
|
+
messagingExperience: "agent" | "assistant";
|
|
662
|
+
} | undefined;
|
|
612
663
|
}, {
|
|
613
664
|
type: "slack";
|
|
614
665
|
credentialId: string;
|
|
666
|
+
settings?: {
|
|
667
|
+
messagingExperience: "agent" | "assistant";
|
|
668
|
+
} | undefined;
|
|
615
669
|
}>, z.ZodObject<{
|
|
616
670
|
type: z.ZodLiteral<"linear">;
|
|
617
671
|
credentialId: z.ZodString;
|
|
@@ -1090,6 +1144,22 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
1090
1144
|
description: z.ZodOptional<z.ZodString>;
|
|
1091
1145
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1092
1146
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
1147
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1148
|
+
mode: z.ZodLiteral<"ai">;
|
|
1149
|
+
}, "strict", z.ZodTypeAny, {
|
|
1150
|
+
mode: "ai";
|
|
1151
|
+
}, {
|
|
1152
|
+
mode: "ai";
|
|
1153
|
+
}>, z.ZodObject<{
|
|
1154
|
+
mode: z.ZodLiteral<"fixed">;
|
|
1155
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
1156
|
+
}, "strict", z.ZodTypeAny, {
|
|
1157
|
+
mode: "fixed";
|
|
1158
|
+
value: import("n8n-workflow").JsonValue;
|
|
1159
|
+
}, {
|
|
1160
|
+
mode: "fixed";
|
|
1161
|
+
value: import("n8n-workflow").JsonValue;
|
|
1162
|
+
}>]>>>;
|
|
1093
1163
|
}, "requireApproval">, "strict", z.ZodTypeAny, {
|
|
1094
1164
|
type: "workflow";
|
|
1095
1165
|
workflowId?: string | undefined;
|
|
@@ -1097,6 +1167,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
1097
1167
|
name?: string | undefined;
|
|
1098
1168
|
description?: string | undefined;
|
|
1099
1169
|
allOutputs?: boolean | undefined;
|
|
1170
|
+
inputs?: Record<string, {
|
|
1171
|
+
mode: "ai";
|
|
1172
|
+
} | {
|
|
1173
|
+
mode: "fixed";
|
|
1174
|
+
value: import("n8n-workflow").JsonValue;
|
|
1175
|
+
}> | undefined;
|
|
1100
1176
|
}, {
|
|
1101
1177
|
type: "workflow";
|
|
1102
1178
|
workflowId?: string | undefined;
|
|
@@ -1104,6 +1180,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
1104
1180
|
name?: string | undefined;
|
|
1105
1181
|
description?: string | undefined;
|
|
1106
1182
|
allOutputs?: boolean | undefined;
|
|
1183
|
+
inputs?: Record<string, {
|
|
1184
|
+
mode: "ai";
|
|
1185
|
+
} | {
|
|
1186
|
+
mode: "fixed";
|
|
1187
|
+
value: import("n8n-workflow").JsonValue;
|
|
1188
|
+
}> | undefined;
|
|
1107
1189
|
}>, z.ZodObject<Omit<{
|
|
1108
1190
|
type: z.ZodLiteral<"node">;
|
|
1109
1191
|
name: z.ZodString;
|
|
@@ -1409,6 +1491,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
1409
1491
|
name?: string | undefined;
|
|
1410
1492
|
description?: string | undefined;
|
|
1411
1493
|
allOutputs?: boolean | undefined;
|
|
1494
|
+
inputs?: Record<string, {
|
|
1495
|
+
mode: "ai";
|
|
1496
|
+
} | {
|
|
1497
|
+
mode: "fixed";
|
|
1498
|
+
value: import("n8n-workflow").JsonValue;
|
|
1499
|
+
}> | undefined;
|
|
1412
1500
|
} | {
|
|
1413
1501
|
type: "node";
|
|
1414
1502
|
name: string;
|
|
@@ -1469,6 +1557,12 @@ export declare const InlineAgentJsonConfigSchema: z.ZodObject<Pick<{
|
|
|
1469
1557
|
name?: string | undefined;
|
|
1470
1558
|
description?: string | undefined;
|
|
1471
1559
|
allOutputs?: boolean | undefined;
|
|
1560
|
+
inputs?: Record<string, {
|
|
1561
|
+
mode: "ai";
|
|
1562
|
+
} | {
|
|
1563
|
+
mode: "fixed";
|
|
1564
|
+
value: import("n8n-workflow").JsonValue;
|
|
1565
|
+
}> | undefined;
|
|
1472
1566
|
} | {
|
|
1473
1567
|
type: "node";
|
|
1474
1568
|
name: string;
|
|
@@ -1881,6 +1975,22 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1881
1975
|
description: z.ZodOptional<z.ZodString>;
|
|
1882
1976
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
1883
1977
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
1978
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1979
|
+
mode: z.ZodLiteral<"ai">;
|
|
1980
|
+
}, "strict", z.ZodTypeAny, {
|
|
1981
|
+
mode: "ai";
|
|
1982
|
+
}, {
|
|
1983
|
+
mode: "ai";
|
|
1984
|
+
}>, z.ZodObject<{
|
|
1985
|
+
mode: z.ZodLiteral<"fixed">;
|
|
1986
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
1987
|
+
}, "strict", z.ZodTypeAny, {
|
|
1988
|
+
mode: "fixed";
|
|
1989
|
+
value: import("n8n-workflow").JsonValue;
|
|
1990
|
+
}, {
|
|
1991
|
+
mode: "fixed";
|
|
1992
|
+
value: import("n8n-workflow").JsonValue;
|
|
1993
|
+
}>]>>>;
|
|
1884
1994
|
}, "strict", z.ZodTypeAny, {
|
|
1885
1995
|
type: "workflow";
|
|
1886
1996
|
workflowId?: string | undefined;
|
|
@@ -1889,6 +1999,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1889
1999
|
description?: string | undefined;
|
|
1890
2000
|
requireApproval?: boolean | undefined;
|
|
1891
2001
|
allOutputs?: boolean | undefined;
|
|
2002
|
+
inputs?: Record<string, {
|
|
2003
|
+
mode: "ai";
|
|
2004
|
+
} | {
|
|
2005
|
+
mode: "fixed";
|
|
2006
|
+
value: import("n8n-workflow").JsonValue;
|
|
2007
|
+
}> | undefined;
|
|
1892
2008
|
}, {
|
|
1893
2009
|
type: "workflow";
|
|
1894
2010
|
workflowId?: string | undefined;
|
|
@@ -1897,6 +2013,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1897
2013
|
description?: string | undefined;
|
|
1898
2014
|
requireApproval?: boolean | undefined;
|
|
1899
2015
|
allOutputs?: boolean | undefined;
|
|
2016
|
+
inputs?: Record<string, {
|
|
2017
|
+
mode: "ai";
|
|
2018
|
+
} | {
|
|
2019
|
+
mode: "fixed";
|
|
2020
|
+
value: import("n8n-workflow").JsonValue;
|
|
2021
|
+
}> | undefined;
|
|
1900
2022
|
}>, z.ZodObject<{
|
|
1901
2023
|
type: z.ZodLiteral<"node">;
|
|
1902
2024
|
name: z.ZodString;
|
|
@@ -2004,6 +2126,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2004
2126
|
description?: string | undefined;
|
|
2005
2127
|
requireApproval?: boolean | undefined;
|
|
2006
2128
|
allOutputs?: boolean | undefined;
|
|
2129
|
+
inputs?: Record<string, {
|
|
2130
|
+
mode: "ai";
|
|
2131
|
+
} | {
|
|
2132
|
+
mode: "fixed";
|
|
2133
|
+
value: import("n8n-workflow").JsonValue;
|
|
2134
|
+
}> | undefined;
|
|
2007
2135
|
} | {
|
|
2008
2136
|
type: "node";
|
|
2009
2137
|
name: string;
|
|
@@ -2035,6 +2163,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2035
2163
|
description?: string | undefined;
|
|
2036
2164
|
requireApproval?: boolean | undefined;
|
|
2037
2165
|
allOutputs?: boolean | undefined;
|
|
2166
|
+
inputs?: Record<string, {
|
|
2167
|
+
mode: "ai";
|
|
2168
|
+
} | {
|
|
2169
|
+
mode: "fixed";
|
|
2170
|
+
value: import("n8n-workflow").JsonValue;
|
|
2171
|
+
}> | undefined;
|
|
2038
2172
|
} | {
|
|
2039
2173
|
type: "node";
|
|
2040
2174
|
name: string;
|
|
@@ -2122,12 +2256,26 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2122
2256
|
}>, z.ZodObject<{
|
|
2123
2257
|
type: z.ZodLiteral<"slack">;
|
|
2124
2258
|
credentialId: z.ZodString;
|
|
2259
|
+
} & {
|
|
2260
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2261
|
+
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
2262
|
+
}, "strict", z.ZodTypeAny, {
|
|
2263
|
+
messagingExperience: "agent" | "assistant";
|
|
2264
|
+
}, {
|
|
2265
|
+
messagingExperience: "agent" | "assistant";
|
|
2266
|
+
}>>;
|
|
2125
2267
|
}, "strip", z.ZodTypeAny, {
|
|
2126
2268
|
type: "slack";
|
|
2127
2269
|
credentialId: string;
|
|
2270
|
+
settings?: {
|
|
2271
|
+
messagingExperience: "agent" | "assistant";
|
|
2272
|
+
} | undefined;
|
|
2128
2273
|
}, {
|
|
2129
2274
|
type: "slack";
|
|
2130
2275
|
credentialId: string;
|
|
2276
|
+
settings?: {
|
|
2277
|
+
messagingExperience: "agent" | "assistant";
|
|
2278
|
+
} | undefined;
|
|
2131
2279
|
}>, z.ZodObject<{
|
|
2132
2280
|
type: z.ZodLiteral<"linear">;
|
|
2133
2281
|
credentialId: z.ZodString;
|
|
@@ -2606,6 +2754,22 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2606
2754
|
description: z.ZodOptional<z.ZodString>;
|
|
2607
2755
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
2608
2756
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
2757
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
2758
|
+
mode: z.ZodLiteral<"ai">;
|
|
2759
|
+
}, "strict", z.ZodTypeAny, {
|
|
2760
|
+
mode: "ai";
|
|
2761
|
+
}, {
|
|
2762
|
+
mode: "ai";
|
|
2763
|
+
}>, z.ZodObject<{
|
|
2764
|
+
mode: z.ZodLiteral<"fixed">;
|
|
2765
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
2766
|
+
}, "strict", z.ZodTypeAny, {
|
|
2767
|
+
mode: "fixed";
|
|
2768
|
+
value: import("n8n-workflow").JsonValue;
|
|
2769
|
+
}, {
|
|
2770
|
+
mode: "fixed";
|
|
2771
|
+
value: import("n8n-workflow").JsonValue;
|
|
2772
|
+
}>]>>>;
|
|
2609
2773
|
}, "requireApproval">, "strict", z.ZodTypeAny, {
|
|
2610
2774
|
type: "workflow";
|
|
2611
2775
|
workflowId?: string | undefined;
|
|
@@ -2613,6 +2777,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2613
2777
|
name?: string | undefined;
|
|
2614
2778
|
description?: string | undefined;
|
|
2615
2779
|
allOutputs?: boolean | undefined;
|
|
2780
|
+
inputs?: Record<string, {
|
|
2781
|
+
mode: "ai";
|
|
2782
|
+
} | {
|
|
2783
|
+
mode: "fixed";
|
|
2784
|
+
value: import("n8n-workflow").JsonValue;
|
|
2785
|
+
}> | undefined;
|
|
2616
2786
|
}, {
|
|
2617
2787
|
type: "workflow";
|
|
2618
2788
|
workflowId?: string | undefined;
|
|
@@ -2620,6 +2790,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2620
2790
|
name?: string | undefined;
|
|
2621
2791
|
description?: string | undefined;
|
|
2622
2792
|
allOutputs?: boolean | undefined;
|
|
2793
|
+
inputs?: Record<string, {
|
|
2794
|
+
mode: "ai";
|
|
2795
|
+
} | {
|
|
2796
|
+
mode: "fixed";
|
|
2797
|
+
value: import("n8n-workflow").JsonValue;
|
|
2798
|
+
}> | undefined;
|
|
2623
2799
|
}>, z.ZodObject<Omit<{
|
|
2624
2800
|
type: z.ZodLiteral<"node">;
|
|
2625
2801
|
name: z.ZodString;
|
|
@@ -2925,6 +3101,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2925
3101
|
name?: string | undefined;
|
|
2926
3102
|
description?: string | undefined;
|
|
2927
3103
|
allOutputs?: boolean | undefined;
|
|
3104
|
+
inputs?: Record<string, {
|
|
3105
|
+
mode: "ai";
|
|
3106
|
+
} | {
|
|
3107
|
+
mode: "fixed";
|
|
3108
|
+
value: import("n8n-workflow").JsonValue;
|
|
3109
|
+
}> | undefined;
|
|
2928
3110
|
} | {
|
|
2929
3111
|
type: "node";
|
|
2930
3112
|
name: string;
|
|
@@ -2985,6 +3167,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2985
3167
|
name?: string | undefined;
|
|
2986
3168
|
description?: string | undefined;
|
|
2987
3169
|
allOutputs?: boolean | undefined;
|
|
3170
|
+
inputs?: Record<string, {
|
|
3171
|
+
mode: "ai";
|
|
3172
|
+
} | {
|
|
3173
|
+
mode: "fixed";
|
|
3174
|
+
value: import("n8n-workflow").JsonValue;
|
|
3175
|
+
}> | undefined;
|
|
2988
3176
|
} | {
|
|
2989
3177
|
type: "node";
|
|
2990
3178
|
name: string;
|
|
@@ -3108,6 +3296,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3108
3296
|
name?: string | undefined;
|
|
3109
3297
|
description?: string | undefined;
|
|
3110
3298
|
allOutputs?: boolean | undefined;
|
|
3299
|
+
inputs?: Record<string, {
|
|
3300
|
+
mode: "ai";
|
|
3301
|
+
} | {
|
|
3302
|
+
mode: "fixed";
|
|
3303
|
+
value: import("n8n-workflow").JsonValue;
|
|
3304
|
+
}> | undefined;
|
|
3111
3305
|
} | {
|
|
3112
3306
|
type: "node";
|
|
3113
3307
|
name: string;
|
|
@@ -3185,6 +3379,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3185
3379
|
name?: string | undefined;
|
|
3186
3380
|
description?: string | undefined;
|
|
3187
3381
|
allOutputs?: boolean | undefined;
|
|
3382
|
+
inputs?: Record<string, {
|
|
3383
|
+
mode: "ai";
|
|
3384
|
+
} | {
|
|
3385
|
+
mode: "fixed";
|
|
3386
|
+
value: import("n8n-workflow").JsonValue;
|
|
3387
|
+
}> | undefined;
|
|
3188
3388
|
} | {
|
|
3189
3389
|
type: "node";
|
|
3190
3390
|
name: string;
|
|
@@ -3262,6 +3462,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3262
3462
|
name?: string | undefined;
|
|
3263
3463
|
description?: string | undefined;
|
|
3264
3464
|
allOutputs?: boolean | undefined;
|
|
3465
|
+
inputs?: Record<string, {
|
|
3466
|
+
mode: "ai";
|
|
3467
|
+
} | {
|
|
3468
|
+
mode: "fixed";
|
|
3469
|
+
value: import("n8n-workflow").JsonValue;
|
|
3470
|
+
}> | undefined;
|
|
3265
3471
|
} | {
|
|
3266
3472
|
type: "node";
|
|
3267
3473
|
name: string;
|
|
@@ -3339,6 +3545,12 @@ export declare const InlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3339
3545
|
name?: string | undefined;
|
|
3340
3546
|
description?: string | undefined;
|
|
3341
3547
|
allOutputs?: boolean | undefined;
|
|
3548
|
+
inputs?: Record<string, {
|
|
3549
|
+
mode: "ai";
|
|
3550
|
+
} | {
|
|
3551
|
+
mode: "fixed";
|
|
3552
|
+
value: import("n8n-workflow").JsonValue;
|
|
3553
|
+
}> | undefined;
|
|
3342
3554
|
} | {
|
|
3343
3555
|
type: "node";
|
|
3344
3556
|
name: string;
|
|
@@ -3428,6 +3640,22 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3428
3640
|
description: z.ZodOptional<z.ZodString>;
|
|
3429
3641
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
3430
3642
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
3643
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
3644
|
+
mode: z.ZodLiteral<"ai">;
|
|
3645
|
+
}, "strict", z.ZodTypeAny, {
|
|
3646
|
+
mode: "ai";
|
|
3647
|
+
}, {
|
|
3648
|
+
mode: "ai";
|
|
3649
|
+
}>, z.ZodObject<{
|
|
3650
|
+
mode: z.ZodLiteral<"fixed">;
|
|
3651
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
3652
|
+
}, "strict", z.ZodTypeAny, {
|
|
3653
|
+
mode: "fixed";
|
|
3654
|
+
value: import("n8n-workflow").JsonValue;
|
|
3655
|
+
}, {
|
|
3656
|
+
mode: "fixed";
|
|
3657
|
+
value: import("n8n-workflow").JsonValue;
|
|
3658
|
+
}>]>>>;
|
|
3431
3659
|
}, "requireApproval">, "strict", z.ZodTypeAny, {
|
|
3432
3660
|
type: "workflow";
|
|
3433
3661
|
workflowId?: string | undefined;
|
|
@@ -3435,6 +3663,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3435
3663
|
name?: string | undefined;
|
|
3436
3664
|
description?: string | undefined;
|
|
3437
3665
|
allOutputs?: boolean | undefined;
|
|
3666
|
+
inputs?: Record<string, {
|
|
3667
|
+
mode: "ai";
|
|
3668
|
+
} | {
|
|
3669
|
+
mode: "fixed";
|
|
3670
|
+
value: import("n8n-workflow").JsonValue;
|
|
3671
|
+
}> | undefined;
|
|
3438
3672
|
}, {
|
|
3439
3673
|
type: "workflow";
|
|
3440
3674
|
workflowId?: string | undefined;
|
|
@@ -3442,6 +3676,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3442
3676
|
name?: string | undefined;
|
|
3443
3677
|
description?: string | undefined;
|
|
3444
3678
|
allOutputs?: boolean | undefined;
|
|
3679
|
+
inputs?: Record<string, {
|
|
3680
|
+
mode: "ai";
|
|
3681
|
+
} | {
|
|
3682
|
+
mode: "fixed";
|
|
3683
|
+
value: import("n8n-workflow").JsonValue;
|
|
3684
|
+
}> | undefined;
|
|
3445
3685
|
}>, z.ZodObject<Omit<{
|
|
3446
3686
|
type: z.ZodLiteral<"node">;
|
|
3447
3687
|
name: z.ZodString;
|
|
@@ -3748,6 +3988,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3748
3988
|
name?: string | undefined;
|
|
3749
3989
|
description?: string | undefined;
|
|
3750
3990
|
allOutputs?: boolean | undefined;
|
|
3991
|
+
inputs?: Record<string, {
|
|
3992
|
+
mode: "ai";
|
|
3993
|
+
} | {
|
|
3994
|
+
mode: "fixed";
|
|
3995
|
+
value: import("n8n-workflow").JsonValue;
|
|
3996
|
+
}> | undefined;
|
|
3751
3997
|
} | {
|
|
3752
3998
|
type: "node";
|
|
3753
3999
|
name: string;
|
|
@@ -3808,6 +4054,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3808
4054
|
name?: string | undefined;
|
|
3809
4055
|
description?: string | undefined;
|
|
3810
4056
|
allOutputs?: boolean | undefined;
|
|
4057
|
+
inputs?: Record<string, {
|
|
4058
|
+
mode: "ai";
|
|
4059
|
+
} | {
|
|
4060
|
+
mode: "fixed";
|
|
4061
|
+
value: import("n8n-workflow").JsonValue;
|
|
4062
|
+
}> | undefined;
|
|
3811
4063
|
} | {
|
|
3812
4064
|
type: "node";
|
|
3813
4065
|
name: string;
|
|
@@ -3931,6 +4183,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3931
4183
|
name?: string | undefined;
|
|
3932
4184
|
description?: string | undefined;
|
|
3933
4185
|
allOutputs?: boolean | undefined;
|
|
4186
|
+
inputs?: Record<string, {
|
|
4187
|
+
mode: "ai";
|
|
4188
|
+
} | {
|
|
4189
|
+
mode: "fixed";
|
|
4190
|
+
value: import("n8n-workflow").JsonValue;
|
|
4191
|
+
}> | undefined;
|
|
3934
4192
|
} | {
|
|
3935
4193
|
type: "node";
|
|
3936
4194
|
name: string;
|
|
@@ -4008,6 +4266,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4008
4266
|
name?: string | undefined;
|
|
4009
4267
|
description?: string | undefined;
|
|
4010
4268
|
allOutputs?: boolean | undefined;
|
|
4269
|
+
inputs?: Record<string, {
|
|
4270
|
+
mode: "ai";
|
|
4271
|
+
} | {
|
|
4272
|
+
mode: "fixed";
|
|
4273
|
+
value: import("n8n-workflow").JsonValue;
|
|
4274
|
+
}> | undefined;
|
|
4011
4275
|
} | {
|
|
4012
4276
|
type: "node";
|
|
4013
4277
|
name: string;
|
|
@@ -4085,6 +4349,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4085
4349
|
name?: string | undefined;
|
|
4086
4350
|
description?: string | undefined;
|
|
4087
4351
|
allOutputs?: boolean | undefined;
|
|
4352
|
+
inputs?: Record<string, {
|
|
4353
|
+
mode: "ai";
|
|
4354
|
+
} | {
|
|
4355
|
+
mode: "fixed";
|
|
4356
|
+
value: import("n8n-workflow").JsonValue;
|
|
4357
|
+
}> | undefined;
|
|
4088
4358
|
} | {
|
|
4089
4359
|
type: "node";
|
|
4090
4360
|
name: string;
|
|
@@ -4162,6 +4432,12 @@ export declare const RunnableInlineAgentConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4162
4432
|
name?: string | undefined;
|
|
4163
4433
|
description?: string | undefined;
|
|
4164
4434
|
allOutputs?: boolean | undefined;
|
|
4435
|
+
inputs?: Record<string, {
|
|
4436
|
+
mode: "ai";
|
|
4437
|
+
} | {
|
|
4438
|
+
mode: "fixed";
|
|
4439
|
+
value: import("n8n-workflow").JsonValue;
|
|
4440
|
+
}> | undefined;
|
|
4165
4441
|
} | {
|
|
4166
4442
|
type: "node";
|
|
4167
4443
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sanitizeAgentToolName(name: string): string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sanitizeAgentToolName = sanitizeAgentToolName;
|
|
4
|
+
const VALID_AGENT_TOOL_NAME = /^[a-zA-Z0-9_-]{1,128}$/;
|
|
5
|
+
function sanitizeAgentToolName(name) {
|
|
6
|
+
if (VALID_AGENT_TOOL_NAME.test(name))
|
|
7
|
+
return name;
|
|
8
|
+
const sanitizedName = name
|
|
9
|
+
.toLowerCase()
|
|
10
|
+
.replace(/[^a-z0-9]+/g, '-')
|
|
11
|
+
.replace(/^-|-$/g, '')
|
|
12
|
+
.slice(0, 128);
|
|
13
|
+
return sanitizedName || 'tool';
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=sanitize-agent-tool-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitize-agent-tool-name.js","sourceRoot":"","sources":["../../src/agents/sanitize-agent-tool-name.ts"],"names":[],"mappings":";;;AAAA,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAGvD,+BAAsC,IAAY;IACjD,IAAI,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAElD,MAAM,aAAa,GAAG,IAAI;SACxB,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC;SACrB,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAEhB,OAAO,aAAa,IAAI,MAAM,CAAC;AAChC,CAAC"}
|
package/dist/agents/types.d.ts
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type IConnections } from 'n8n-workflow';
|
|
2
2
|
import type { AgentIntegrationSettings } from './agent-integration.schema';
|
|
3
3
|
import type { AgentJsonConfig } from './agent-json-config.schema';
|
|
4
4
|
export declare const SUPPORTED_WORKFLOW_TOOL_TRIGGERS: readonly ["n8n-nodes-base.manualTrigger", "n8n-nodes-base.executeWorkflowTrigger", "@n8n/n8n-nodes-langchain.chatTrigger", "n8n-nodes-base.formTrigger", "n8n-nodes-base.webhook"];
|
|
5
5
|
export declare const INCOMPATIBLE_WORKFLOW_TOOL_BODY_NODE_TYPES: readonly ['n8n-nodes-base.wait', 'n8n-nodes-base.form'];
|
|
6
6
|
export declare const AGENT_WORKFLOW_TRIGGER_TYPE = "workflow";
|
|
7
|
+
export type WorkflowToolIncompatibilityReason = {
|
|
8
|
+
reason: 'incompatible_nodes';
|
|
9
|
+
nodeTypes: string[];
|
|
10
|
+
} | {
|
|
11
|
+
reason: 'no_supported_trigger';
|
|
12
|
+
};
|
|
13
|
+
export declare function getWorkflowToolIncompatibilityReason(workflow: {
|
|
14
|
+
nodes?: Array<{
|
|
15
|
+
type: string;
|
|
16
|
+
name: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
connections?: IConnections;
|
|
20
|
+
}): WorkflowToolIncompatibilityReason | null;
|
|
7
21
|
export interface ChatIntegrationDescriptor {
|
|
8
22
|
type: string;
|
|
9
23
|
label: string;
|
|
@@ -150,98 +164,6 @@ export interface AgentPersistedMessageDto {
|
|
|
150
164
|
executionId?: string;
|
|
151
165
|
executionStatus?: 'running' | 'success' | 'error' | 'cancelled' | 'interrupted';
|
|
152
166
|
}
|
|
153
|
-
export declare const AGENT_BUILDER_DEFAULT_MODEL: 'claude-sonnet-4-6';
|
|
154
|
-
export declare const agentBuilderModeSchema: z.ZodEnum<["default", "custom"]>;
|
|
155
|
-
export type AgentBuilderMode = z.infer<typeof agentBuilderModeSchema>;
|
|
156
|
-
export declare const agentBuilderAdminSettingsSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
157
|
-
mode: z.ZodLiteral<"default">;
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
mode: "default";
|
|
160
|
-
}, {
|
|
161
|
-
mode: "default";
|
|
162
|
-
}>, z.ZodObject<{
|
|
163
|
-
mode: z.ZodLiteral<"custom">;
|
|
164
|
-
provider: z.ZodString;
|
|
165
|
-
credentialId: z.ZodString;
|
|
166
|
-
modelName: z.ZodString;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
mode: "custom";
|
|
169
|
-
provider: string;
|
|
170
|
-
credentialId: string;
|
|
171
|
-
modelName: string;
|
|
172
|
-
}, {
|
|
173
|
-
mode: "custom";
|
|
174
|
-
provider: string;
|
|
175
|
-
credentialId: string;
|
|
176
|
-
modelName: string;
|
|
177
|
-
}>]>;
|
|
178
|
-
export type AgentBuilderAdminSettings = z.infer<typeof agentBuilderAdminSettingsSchema>;
|
|
179
|
-
export declare const agentBuilderAdminSettingsResponseSchema: z.ZodObject<{
|
|
180
|
-
settings: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
181
|
-
mode: z.ZodLiteral<"default">;
|
|
182
|
-
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
mode: "default";
|
|
184
|
-
}, {
|
|
185
|
-
mode: "default";
|
|
186
|
-
}>, z.ZodObject<{
|
|
187
|
-
mode: z.ZodLiteral<"custom">;
|
|
188
|
-
provider: z.ZodString;
|
|
189
|
-
credentialId: z.ZodString;
|
|
190
|
-
modelName: z.ZodString;
|
|
191
|
-
}, "strip", z.ZodTypeAny, {
|
|
192
|
-
mode: "custom";
|
|
193
|
-
provider: string;
|
|
194
|
-
credentialId: string;
|
|
195
|
-
modelName: string;
|
|
196
|
-
}, {
|
|
197
|
-
mode: "custom";
|
|
198
|
-
provider: string;
|
|
199
|
-
credentialId: string;
|
|
200
|
-
modelName: string;
|
|
201
|
-
}>]>;
|
|
202
|
-
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
settings: {
|
|
204
|
-
mode: "default";
|
|
205
|
-
} | {
|
|
206
|
-
mode: "custom";
|
|
207
|
-
provider: string;
|
|
208
|
-
credentialId: string;
|
|
209
|
-
modelName: string;
|
|
210
|
-
};
|
|
211
|
-
}, {
|
|
212
|
-
settings: {
|
|
213
|
-
mode: "default";
|
|
214
|
-
} | {
|
|
215
|
-
mode: "custom";
|
|
216
|
-
provider: string;
|
|
217
|
-
credentialId: string;
|
|
218
|
-
modelName: string;
|
|
219
|
-
};
|
|
220
|
-
}>;
|
|
221
|
-
export type AgentBuilderAdminSettingsResponse = z.infer<typeof agentBuilderAdminSettingsResponseSchema>;
|
|
222
|
-
export declare const AgentBuilderAdminSettingsUpdateDto: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
223
|
-
mode: z.ZodLiteral<"default">;
|
|
224
|
-
}, "strip", z.ZodTypeAny, {
|
|
225
|
-
mode: "default";
|
|
226
|
-
}, {
|
|
227
|
-
mode: "default";
|
|
228
|
-
}>, z.ZodObject<{
|
|
229
|
-
mode: z.ZodLiteral<"custom">;
|
|
230
|
-
provider: z.ZodString;
|
|
231
|
-
credentialId: z.ZodString;
|
|
232
|
-
modelName: z.ZodString;
|
|
233
|
-
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
mode: "custom";
|
|
235
|
-
provider: string;
|
|
236
|
-
credentialId: string;
|
|
237
|
-
modelName: string;
|
|
238
|
-
}, {
|
|
239
|
-
mode: "custom";
|
|
240
|
-
provider: string;
|
|
241
|
-
credentialId: string;
|
|
242
|
-
modelName: string;
|
|
243
|
-
}>]>;
|
|
244
|
-
export type AgentBuilderAdminSettingsUpdateRequest = AgentBuilderAdminSettings;
|
|
245
167
|
export interface AgentBuilderOpenSuspension {
|
|
246
168
|
toolCallId: string;
|
|
247
169
|
runId: string;
|