@n8n/api-types 1.36.2 → 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
|
@@ -440,6 +440,7 @@ export declare const credentialRequestSchema: z.ZodObject<{
|
|
|
440
440
|
acceptedStatusCodes?: number[] | undefined;
|
|
441
441
|
serviceHost?: string | undefined;
|
|
442
442
|
}>>;
|
|
443
|
+
preferNew: z.ZodOptional<z.ZodBoolean>;
|
|
443
444
|
}, "strip", z.ZodTypeAny, {
|
|
444
445
|
credentialType: string;
|
|
445
446
|
reason: string;
|
|
@@ -467,6 +468,7 @@ export declare const credentialRequestSchema: z.ZodObject<{
|
|
|
467
468
|
acceptedStatusCodes?: number[] | undefined;
|
|
468
469
|
serviceHost?: string | undefined;
|
|
469
470
|
} | undefined;
|
|
471
|
+
preferNew?: boolean | undefined;
|
|
470
472
|
}, {
|
|
471
473
|
credentialType: string;
|
|
472
474
|
reason: string;
|
|
@@ -494,6 +496,7 @@ export declare const credentialRequestSchema: z.ZodObject<{
|
|
|
494
496
|
acceptedStatusCodes?: number[] | undefined;
|
|
495
497
|
serviceHost?: string | undefined;
|
|
496
498
|
} | undefined;
|
|
499
|
+
preferNew?: boolean | undefined;
|
|
497
500
|
}>;
|
|
498
501
|
export type InstanceAiCredentialRequest = z.infer<typeof credentialRequestSchema>;
|
|
499
502
|
export declare const credentialFlowSchema: z.ZodObject<{
|
|
@@ -655,6 +658,7 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
655
658
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
656
659
|
isTestable: z.ZodOptional<z.ZodBoolean>;
|
|
657
660
|
isAutoApplied: z.ZodOptional<z.ZodBoolean>;
|
|
661
|
+
preferNewCredential: z.ZodOptional<z.ZodBoolean>;
|
|
658
662
|
credentialTestResult: z.ZodOptional<z.ZodObject<{
|
|
659
663
|
success: z.ZodBoolean;
|
|
660
664
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -776,6 +780,7 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
776
780
|
isFirstTrigger?: boolean | undefined;
|
|
777
781
|
isTestable?: boolean | undefined;
|
|
778
782
|
isAutoApplied?: boolean | undefined;
|
|
783
|
+
preferNewCredential?: boolean | undefined;
|
|
779
784
|
credentialTestResult?: {
|
|
780
785
|
success: boolean;
|
|
781
786
|
message?: string | undefined;
|
|
@@ -849,6 +854,7 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
849
854
|
isFirstTrigger?: boolean | undefined;
|
|
850
855
|
isTestable?: boolean | undefined;
|
|
851
856
|
isAutoApplied?: boolean | undefined;
|
|
857
|
+
preferNewCredential?: boolean | undefined;
|
|
852
858
|
credentialTestResult?: {
|
|
853
859
|
success: boolean;
|
|
854
860
|
message?: string | undefined;
|
|
@@ -1194,6 +1200,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1194
1200
|
acceptedStatusCodes?: number[] | undefined;
|
|
1195
1201
|
serviceHost?: string | undefined;
|
|
1196
1202
|
}>>;
|
|
1203
|
+
preferNew: z.ZodOptional<z.ZodBoolean>;
|
|
1197
1204
|
}, "strip", z.ZodTypeAny, {
|
|
1198
1205
|
credentialType: string;
|
|
1199
1206
|
reason: string;
|
|
@@ -1221,6 +1228,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1221
1228
|
acceptedStatusCodes?: number[] | undefined;
|
|
1222
1229
|
serviceHost?: string | undefined;
|
|
1223
1230
|
} | undefined;
|
|
1231
|
+
preferNew?: boolean | undefined;
|
|
1224
1232
|
}, {
|
|
1225
1233
|
credentialType: string;
|
|
1226
1234
|
reason: string;
|
|
@@ -1248,7 +1256,9 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1248
1256
|
acceptedStatusCodes?: number[] | undefined;
|
|
1249
1257
|
serviceHost?: string | undefined;
|
|
1250
1258
|
} | undefined;
|
|
1259
|
+
preferNew?: boolean | undefined;
|
|
1251
1260
|
}>, "many">>;
|
|
1261
|
+
requireUserSelection: z.ZodOptional<z.ZodBoolean>;
|
|
1252
1262
|
projectId: z.ZodOptional<z.ZodString>;
|
|
1253
1263
|
inputType: z.ZodOptional<z.ZodEnum<["approval", "text", "questions", "plan-review", "resource-decision", "continue"]>>;
|
|
1254
1264
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1503,6 +1513,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1503
1513
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
1504
1514
|
isTestable: z.ZodOptional<z.ZodBoolean>;
|
|
1505
1515
|
isAutoApplied: z.ZodOptional<z.ZodBoolean>;
|
|
1516
|
+
preferNewCredential: z.ZodOptional<z.ZodBoolean>;
|
|
1506
1517
|
credentialTestResult: z.ZodOptional<z.ZodObject<{
|
|
1507
1518
|
success: z.ZodBoolean;
|
|
1508
1519
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1624,6 +1635,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1624
1635
|
isFirstTrigger?: boolean | undefined;
|
|
1625
1636
|
isTestable?: boolean | undefined;
|
|
1626
1637
|
isAutoApplied?: boolean | undefined;
|
|
1638
|
+
preferNewCredential?: boolean | undefined;
|
|
1627
1639
|
credentialTestResult?: {
|
|
1628
1640
|
success: boolean;
|
|
1629
1641
|
message?: string | undefined;
|
|
@@ -1697,6 +1709,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1697
1709
|
isFirstTrigger?: boolean | undefined;
|
|
1698
1710
|
isTestable?: boolean | undefined;
|
|
1699
1711
|
isAutoApplied?: boolean | undefined;
|
|
1712
|
+
preferNewCredential?: boolean | undefined;
|
|
1700
1713
|
credentialTestResult?: {
|
|
1701
1714
|
success: boolean;
|
|
1702
1715
|
message?: string | undefined;
|
|
@@ -1826,7 +1839,9 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1826
1839
|
acceptedStatusCodes?: number[] | undefined;
|
|
1827
1840
|
serviceHost?: string | undefined;
|
|
1828
1841
|
} | undefined;
|
|
1842
|
+
preferNew?: boolean | undefined;
|
|
1829
1843
|
}[] | undefined;
|
|
1844
|
+
requireUserSelection?: boolean | undefined;
|
|
1830
1845
|
projectId?: string | undefined;
|
|
1831
1846
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
1832
1847
|
questions?: {
|
|
@@ -1909,6 +1924,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1909
1924
|
isFirstTrigger?: boolean | undefined;
|
|
1910
1925
|
isTestable?: boolean | undefined;
|
|
1911
1926
|
isAutoApplied?: boolean | undefined;
|
|
1927
|
+
preferNewCredential?: boolean | undefined;
|
|
1912
1928
|
credentialTestResult?: {
|
|
1913
1929
|
success: boolean;
|
|
1914
1930
|
message?: string | undefined;
|
|
@@ -1997,7 +2013,9 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1997
2013
|
acceptedStatusCodes?: number[] | undefined;
|
|
1998
2014
|
serviceHost?: string | undefined;
|
|
1999
2015
|
} | undefined;
|
|
2016
|
+
preferNew?: boolean | undefined;
|
|
2000
2017
|
}[] | undefined;
|
|
2018
|
+
requireUserSelection?: boolean | undefined;
|
|
2001
2019
|
projectId?: string | undefined;
|
|
2002
2020
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
2003
2021
|
questions?: {
|
|
@@ -2080,6 +2098,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
2080
2098
|
isFirstTrigger?: boolean | undefined;
|
|
2081
2099
|
isTestable?: boolean | undefined;
|
|
2082
2100
|
isAutoApplied?: boolean | undefined;
|
|
2101
|
+
preferNewCredential?: boolean | undefined;
|
|
2083
2102
|
credentialTestResult?: {
|
|
2084
2103
|
success: boolean;
|
|
2085
2104
|
message?: string | undefined;
|
|
@@ -3609,6 +3628,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3609
3628
|
acceptedStatusCodes?: number[] | undefined;
|
|
3610
3629
|
serviceHost?: string | undefined;
|
|
3611
3630
|
}>>;
|
|
3631
|
+
preferNew: z.ZodOptional<z.ZodBoolean>;
|
|
3612
3632
|
}, "strip", z.ZodTypeAny, {
|
|
3613
3633
|
credentialType: string;
|
|
3614
3634
|
reason: string;
|
|
@@ -3636,6 +3656,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3636
3656
|
acceptedStatusCodes?: number[] | undefined;
|
|
3637
3657
|
serviceHost?: string | undefined;
|
|
3638
3658
|
} | undefined;
|
|
3659
|
+
preferNew?: boolean | undefined;
|
|
3639
3660
|
}, {
|
|
3640
3661
|
credentialType: string;
|
|
3641
3662
|
reason: string;
|
|
@@ -3663,7 +3684,9 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3663
3684
|
acceptedStatusCodes?: number[] | undefined;
|
|
3664
3685
|
serviceHost?: string | undefined;
|
|
3665
3686
|
} | undefined;
|
|
3687
|
+
preferNew?: boolean | undefined;
|
|
3666
3688
|
}>, "many">>;
|
|
3689
|
+
requireUserSelection: z.ZodOptional<z.ZodBoolean>;
|
|
3667
3690
|
projectId: z.ZodOptional<z.ZodString>;
|
|
3668
3691
|
inputType: z.ZodOptional<z.ZodEnum<["approval", "text", "questions", "plan-review", "resource-decision", "continue"]>>;
|
|
3669
3692
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3918,6 +3941,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3918
3941
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
3919
3942
|
isTestable: z.ZodOptional<z.ZodBoolean>;
|
|
3920
3943
|
isAutoApplied: z.ZodOptional<z.ZodBoolean>;
|
|
3944
|
+
preferNewCredential: z.ZodOptional<z.ZodBoolean>;
|
|
3921
3945
|
credentialTestResult: z.ZodOptional<z.ZodObject<{
|
|
3922
3946
|
success: z.ZodBoolean;
|
|
3923
3947
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -4039,6 +4063,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4039
4063
|
isFirstTrigger?: boolean | undefined;
|
|
4040
4064
|
isTestable?: boolean | undefined;
|
|
4041
4065
|
isAutoApplied?: boolean | undefined;
|
|
4066
|
+
preferNewCredential?: boolean | undefined;
|
|
4042
4067
|
credentialTestResult?: {
|
|
4043
4068
|
success: boolean;
|
|
4044
4069
|
message?: string | undefined;
|
|
@@ -4112,6 +4137,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4112
4137
|
isFirstTrigger?: boolean | undefined;
|
|
4113
4138
|
isTestable?: boolean | undefined;
|
|
4114
4139
|
isAutoApplied?: boolean | undefined;
|
|
4140
|
+
preferNewCredential?: boolean | undefined;
|
|
4115
4141
|
credentialTestResult?: {
|
|
4116
4142
|
success: boolean;
|
|
4117
4143
|
message?: string | undefined;
|
|
@@ -4241,7 +4267,9 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4241
4267
|
acceptedStatusCodes?: number[] | undefined;
|
|
4242
4268
|
serviceHost?: string | undefined;
|
|
4243
4269
|
} | undefined;
|
|
4270
|
+
preferNew?: boolean | undefined;
|
|
4244
4271
|
}[] | undefined;
|
|
4272
|
+
requireUserSelection?: boolean | undefined;
|
|
4245
4273
|
projectId?: string | undefined;
|
|
4246
4274
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
4247
4275
|
questions?: {
|
|
@@ -4324,6 +4352,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4324
4352
|
isFirstTrigger?: boolean | undefined;
|
|
4325
4353
|
isTestable?: boolean | undefined;
|
|
4326
4354
|
isAutoApplied?: boolean | undefined;
|
|
4355
|
+
preferNewCredential?: boolean | undefined;
|
|
4327
4356
|
credentialTestResult?: {
|
|
4328
4357
|
success: boolean;
|
|
4329
4358
|
message?: string | undefined;
|
|
@@ -4412,7 +4441,9 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4412
4441
|
acceptedStatusCodes?: number[] | undefined;
|
|
4413
4442
|
serviceHost?: string | undefined;
|
|
4414
4443
|
} | undefined;
|
|
4444
|
+
preferNew?: boolean | undefined;
|
|
4415
4445
|
}[] | undefined;
|
|
4446
|
+
requireUserSelection?: boolean | undefined;
|
|
4416
4447
|
projectId?: string | undefined;
|
|
4417
4448
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
4418
4449
|
questions?: {
|
|
@@ -4495,6 +4526,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4495
4526
|
isFirstTrigger?: boolean | undefined;
|
|
4496
4527
|
isTestable?: boolean | undefined;
|
|
4497
4528
|
isAutoApplied?: boolean | undefined;
|
|
4529
|
+
preferNewCredential?: boolean | undefined;
|
|
4498
4530
|
credentialTestResult?: {
|
|
4499
4531
|
success: boolean;
|
|
4500
4532
|
message?: string | undefined;
|
|
@@ -4591,7 +4623,9 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4591
4623
|
acceptedStatusCodes?: number[] | undefined;
|
|
4592
4624
|
serviceHost?: string | undefined;
|
|
4593
4625
|
} | undefined;
|
|
4626
|
+
preferNew?: boolean | undefined;
|
|
4594
4627
|
}[] | undefined;
|
|
4628
|
+
requireUserSelection?: boolean | undefined;
|
|
4595
4629
|
projectId?: string | undefined;
|
|
4596
4630
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
4597
4631
|
questions?: {
|
|
@@ -4674,6 +4708,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4674
4708
|
isFirstTrigger?: boolean | undefined;
|
|
4675
4709
|
isTestable?: boolean | undefined;
|
|
4676
4710
|
isAutoApplied?: boolean | undefined;
|
|
4711
|
+
preferNewCredential?: boolean | undefined;
|
|
4677
4712
|
credentialTestResult?: {
|
|
4678
4713
|
success: boolean;
|
|
4679
4714
|
message?: string | undefined;
|
|
@@ -4770,7 +4805,9 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4770
4805
|
acceptedStatusCodes?: number[] | undefined;
|
|
4771
4806
|
serviceHost?: string | undefined;
|
|
4772
4807
|
} | undefined;
|
|
4808
|
+
preferNew?: boolean | undefined;
|
|
4773
4809
|
}[] | undefined;
|
|
4810
|
+
requireUserSelection?: boolean | undefined;
|
|
4774
4811
|
projectId?: string | undefined;
|
|
4775
4812
|
inputType?: "approval" | "continue" | "plan-review" | "questions" | "resource-decision" | "text" | undefined;
|
|
4776
4813
|
questions?: {
|
|
@@ -4853,6 +4890,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4853
4890
|
isFirstTrigger?: boolean | undefined;
|
|
4854
4891
|
isTestable?: boolean | undefined;
|
|
4855
4892
|
isAutoApplied?: boolean | undefined;
|
|
4893
|
+
preferNewCredential?: boolean | undefined;
|
|
4856
4894
|
credentialTestResult?: {
|
|
4857
4895
|
success: boolean;
|
|
4858
4896
|
message?: string | undefined;
|
|
@@ -6282,6 +6320,9 @@ declare const InstanceAiEventsQuery_base: import("../zod-class").ZodClass<{
|
|
|
6282
6320
|
}>;
|
|
6283
6321
|
export declare class InstanceAiEventsQuery extends InstanceAiEventsQuery_base {
|
|
6284
6322
|
}
|
|
6323
|
+
export declare const INSTANCE_AI_THREAD_MESSAGES_DEFAULT_LIMIT = 50;
|
|
6324
|
+
export declare const INSTANCE_AI_THREAD_MESSAGES_MAX_LIMIT = 200;
|
|
6325
|
+
export declare const INSTANCE_AI_THREAD_MESSAGES_MAX_PAGE = 1000;
|
|
6285
6326
|
declare const InstanceAiThreadMessagesQuery_base: import("../zod-class").ZodClass<{
|
|
6286
6327
|
limit: number;
|
|
6287
6328
|
page: number;
|
|
@@ -6303,6 +6344,7 @@ export interface InstanceAiConfirmation {
|
|
|
6303
6344
|
message: string;
|
|
6304
6345
|
targetApproval?: InstanceAiTargetApproval;
|
|
6305
6346
|
credentialRequests?: InstanceAiCredentialRequest[];
|
|
6347
|
+
requireUserSelection?: boolean;
|
|
6306
6348
|
projectId?: string;
|
|
6307
6349
|
inputType?: 'approval' | 'text' | 'questions' | 'plan-review' | 'resource-decision' | 'continue';
|
|
6308
6350
|
domainAccess?: DomainAccessMeta;
|
|
@@ -6888,6 +6930,7 @@ export type InstanceAiVerificationResponse = {
|
|
|
6888
6930
|
} | {
|
|
6889
6931
|
ok: false;
|
|
6890
6932
|
failure: InstanceAiVerificationFailure;
|
|
6933
|
+
error?: string;
|
|
6891
6934
|
};
|
|
6892
6935
|
export interface InstanceAiUserPreferencesResponse {
|
|
6893
6936
|
credentialId: string | null;
|
|
@@ -6932,6 +6975,17 @@ export interface InstanceAiMcpConnectionToolResponse {
|
|
|
6932
6975
|
name: string;
|
|
6933
6976
|
description?: string;
|
|
6934
6977
|
}
|
|
6978
|
+
export type InstanceAiMcpConnectionFailureReason = 'server_unavailable' | 'authentication' | 'unknown';
|
|
6979
|
+
export type InstanceAiMcpConnectionToolsResponse = {
|
|
6980
|
+
id: string;
|
|
6981
|
+
status: 'connected';
|
|
6982
|
+
tools: InstanceAiMcpConnectionToolResponse[];
|
|
6983
|
+
} | {
|
|
6984
|
+
id: string;
|
|
6985
|
+
status: 'disconnected';
|
|
6986
|
+
tools: InstanceAiMcpConnectionToolResponse[];
|
|
6987
|
+
failureReason: InstanceAiMcpConnectionFailureReason;
|
|
6988
|
+
};
|
|
6935
6989
|
export declare function getRenderHint(toolName: string): InstanceAiToolCallState['renderHint'];
|
|
6936
6990
|
export type InstanceAiEvalNodeExecutionMode = 'mocked' | 'pinned' | 'real';
|
|
6937
6991
|
export interface InstanceAiEvalInterceptedRequest {
|
|
@@ -7484,6 +7538,22 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7484
7538
|
description: z.ZodOptional<z.ZodString>;
|
|
7485
7539
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
7486
7540
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
7541
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
7542
|
+
mode: z.ZodLiteral<"ai">;
|
|
7543
|
+
}, "strict", z.ZodTypeAny, {
|
|
7544
|
+
mode: "ai";
|
|
7545
|
+
}, {
|
|
7546
|
+
mode: "ai";
|
|
7547
|
+
}>, z.ZodObject<{
|
|
7548
|
+
mode: z.ZodLiteral<"fixed">;
|
|
7549
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
7550
|
+
}, "strict", z.ZodTypeAny, {
|
|
7551
|
+
mode: "fixed";
|
|
7552
|
+
value: import("n8n-workflow").JsonValue;
|
|
7553
|
+
}, {
|
|
7554
|
+
mode: "fixed";
|
|
7555
|
+
value: import("n8n-workflow").JsonValue;
|
|
7556
|
+
}>]>>>;
|
|
7487
7557
|
}, "strict", z.ZodTypeAny, {
|
|
7488
7558
|
type: "workflow";
|
|
7489
7559
|
workflowId?: string | undefined;
|
|
@@ -7492,6 +7562,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7492
7562
|
description?: string | undefined;
|
|
7493
7563
|
requireApproval?: boolean | undefined;
|
|
7494
7564
|
allOutputs?: boolean | undefined;
|
|
7565
|
+
inputs?: Record<string, {
|
|
7566
|
+
mode: "ai";
|
|
7567
|
+
} | {
|
|
7568
|
+
mode: "fixed";
|
|
7569
|
+
value: import("n8n-workflow").JsonValue;
|
|
7570
|
+
}> | undefined;
|
|
7495
7571
|
}, {
|
|
7496
7572
|
type: "workflow";
|
|
7497
7573
|
workflowId?: string | undefined;
|
|
@@ -7500,6 +7576,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7500
7576
|
description?: string | undefined;
|
|
7501
7577
|
requireApproval?: boolean | undefined;
|
|
7502
7578
|
allOutputs?: boolean | undefined;
|
|
7579
|
+
inputs?: Record<string, {
|
|
7580
|
+
mode: "ai";
|
|
7581
|
+
} | {
|
|
7582
|
+
mode: "fixed";
|
|
7583
|
+
value: import("n8n-workflow").JsonValue;
|
|
7584
|
+
}> | undefined;
|
|
7503
7585
|
}>, z.ZodObject<{
|
|
7504
7586
|
type: z.ZodLiteral<"node">;
|
|
7505
7587
|
name: z.ZodString;
|
|
@@ -7607,6 +7689,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7607
7689
|
description?: string | undefined;
|
|
7608
7690
|
requireApproval?: boolean | undefined;
|
|
7609
7691
|
allOutputs?: boolean | undefined;
|
|
7692
|
+
inputs?: Record<string, {
|
|
7693
|
+
mode: "ai";
|
|
7694
|
+
} | {
|
|
7695
|
+
mode: "fixed";
|
|
7696
|
+
value: import("n8n-workflow").JsonValue;
|
|
7697
|
+
}> | undefined;
|
|
7610
7698
|
} | {
|
|
7611
7699
|
type: "node";
|
|
7612
7700
|
name: string;
|
|
@@ -7638,6 +7726,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7638
7726
|
description?: string | undefined;
|
|
7639
7727
|
requireApproval?: boolean | undefined;
|
|
7640
7728
|
allOutputs?: boolean | undefined;
|
|
7729
|
+
inputs?: Record<string, {
|
|
7730
|
+
mode: "ai";
|
|
7731
|
+
} | {
|
|
7732
|
+
mode: "fixed";
|
|
7733
|
+
value: import("n8n-workflow").JsonValue;
|
|
7734
|
+
}> | undefined;
|
|
7641
7735
|
} | {
|
|
7642
7736
|
type: "node";
|
|
7643
7737
|
name: string;
|
|
@@ -7725,12 +7819,26 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7725
7819
|
}>, z.ZodObject<{
|
|
7726
7820
|
type: z.ZodLiteral<"slack">;
|
|
7727
7821
|
credentialId: z.ZodString;
|
|
7822
|
+
} & {
|
|
7823
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
7824
|
+
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
7825
|
+
}, "strict", z.ZodTypeAny, {
|
|
7826
|
+
messagingExperience: "agent" | "assistant";
|
|
7827
|
+
}, {
|
|
7828
|
+
messagingExperience: "agent" | "assistant";
|
|
7829
|
+
}>>;
|
|
7728
7830
|
}, "strip", z.ZodTypeAny, {
|
|
7729
7831
|
type: "slack";
|
|
7730
7832
|
credentialId: string;
|
|
7833
|
+
settings?: {
|
|
7834
|
+
messagingExperience: "agent" | "assistant";
|
|
7835
|
+
} | undefined;
|
|
7731
7836
|
}, {
|
|
7732
7837
|
type: "slack";
|
|
7733
7838
|
credentialId: string;
|
|
7839
|
+
settings?: {
|
|
7840
|
+
messagingExperience: "agent" | "assistant";
|
|
7841
|
+
} | undefined;
|
|
7734
7842
|
}>, z.ZodObject<{
|
|
7735
7843
|
type: z.ZodLiteral<"linear">;
|
|
7736
7844
|
credentialId: z.ZodString;
|
|
@@ -8284,6 +8392,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8284
8392
|
description?: string | undefined;
|
|
8285
8393
|
requireApproval?: boolean | undefined;
|
|
8286
8394
|
allOutputs?: boolean | undefined;
|
|
8395
|
+
inputs?: Record<string, {
|
|
8396
|
+
mode: "ai";
|
|
8397
|
+
} | {
|
|
8398
|
+
mode: "fixed";
|
|
8399
|
+
value: import("n8n-workflow").JsonValue;
|
|
8400
|
+
}> | undefined;
|
|
8287
8401
|
} | {
|
|
8288
8402
|
type: "node";
|
|
8289
8403
|
name: string;
|
|
@@ -8324,6 +8438,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8324
8438
|
} | {
|
|
8325
8439
|
type: "slack";
|
|
8326
8440
|
credentialId: string;
|
|
8441
|
+
settings?: {
|
|
8442
|
+
messagingExperience: "agent" | "assistant";
|
|
8443
|
+
} | undefined;
|
|
8327
8444
|
} | {
|
|
8328
8445
|
type: "linear";
|
|
8329
8446
|
credentialId: string;
|
|
@@ -8499,6 +8616,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8499
8616
|
description?: string | undefined;
|
|
8500
8617
|
requireApproval?: boolean | undefined;
|
|
8501
8618
|
allOutputs?: boolean | undefined;
|
|
8619
|
+
inputs?: Record<string, {
|
|
8620
|
+
mode: "ai";
|
|
8621
|
+
} | {
|
|
8622
|
+
mode: "fixed";
|
|
8623
|
+
value: import("n8n-workflow").JsonValue;
|
|
8624
|
+
}> | undefined;
|
|
8502
8625
|
} | {
|
|
8503
8626
|
type: "node";
|
|
8504
8627
|
name: string;
|
|
@@ -8539,6 +8662,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8539
8662
|
} | {
|
|
8540
8663
|
type: "slack";
|
|
8541
8664
|
credentialId: string;
|
|
8665
|
+
settings?: {
|
|
8666
|
+
messagingExperience: "agent" | "assistant";
|
|
8667
|
+
} | undefined;
|
|
8542
8668
|
} | {
|
|
8543
8669
|
type: "linear";
|
|
8544
8670
|
credentialId: string;
|
|
@@ -8714,6 +8840,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8714
8840
|
description?: string | undefined;
|
|
8715
8841
|
requireApproval?: boolean | undefined;
|
|
8716
8842
|
allOutputs?: boolean | undefined;
|
|
8843
|
+
inputs?: Record<string, {
|
|
8844
|
+
mode: "ai";
|
|
8845
|
+
} | {
|
|
8846
|
+
mode: "fixed";
|
|
8847
|
+
value: import("n8n-workflow").JsonValue;
|
|
8848
|
+
}> | undefined;
|
|
8717
8849
|
} | {
|
|
8718
8850
|
type: "node";
|
|
8719
8851
|
name: string;
|
|
@@ -8754,6 +8886,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8754
8886
|
} | {
|
|
8755
8887
|
type: "slack";
|
|
8756
8888
|
credentialId: string;
|
|
8889
|
+
settings?: {
|
|
8890
|
+
messagingExperience: "agent" | "assistant";
|
|
8891
|
+
} | undefined;
|
|
8757
8892
|
} | {
|
|
8758
8893
|
type: "linear";
|
|
8759
8894
|
credentialId: string;
|
|
@@ -8929,6 +9064,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8929
9064
|
description?: string | undefined;
|
|
8930
9065
|
requireApproval?: boolean | undefined;
|
|
8931
9066
|
allOutputs?: boolean | undefined;
|
|
9067
|
+
inputs?: Record<string, {
|
|
9068
|
+
mode: "ai";
|
|
9069
|
+
} | {
|
|
9070
|
+
mode: "fixed";
|
|
9071
|
+
value: import("n8n-workflow").JsonValue;
|
|
9072
|
+
}> | undefined;
|
|
8932
9073
|
} | {
|
|
8933
9074
|
type: "node";
|
|
8934
9075
|
name: string;
|
|
@@ -8969,6 +9110,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8969
9110
|
} | {
|
|
8970
9111
|
type: "slack";
|
|
8971
9112
|
credentialId: string;
|
|
9113
|
+
settings?: {
|
|
9114
|
+
messagingExperience: "agent" | "assistant";
|
|
9115
|
+
} | undefined;
|
|
8972
9116
|
} | {
|
|
8973
9117
|
type: "linear";
|
|
8974
9118
|
credentialId: string;
|
|
@@ -9208,6 +9352,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9208
9352
|
description?: string | undefined;
|
|
9209
9353
|
requireApproval?: boolean | undefined;
|
|
9210
9354
|
allOutputs?: boolean | undefined;
|
|
9355
|
+
inputs?: Record<string, {
|
|
9356
|
+
mode: "ai";
|
|
9357
|
+
} | {
|
|
9358
|
+
mode: "fixed";
|
|
9359
|
+
value: import("n8n-workflow").JsonValue;
|
|
9360
|
+
}> | undefined;
|
|
9211
9361
|
} | {
|
|
9212
9362
|
type: "node";
|
|
9213
9363
|
name: string;
|
|
@@ -9248,6 +9398,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9248
9398
|
} | {
|
|
9249
9399
|
type: "slack";
|
|
9250
9400
|
credentialId: string;
|
|
9401
|
+
settings?: {
|
|
9402
|
+
messagingExperience: "agent" | "assistant";
|
|
9403
|
+
} | undefined;
|
|
9251
9404
|
} | {
|
|
9252
9405
|
type: "linear";
|
|
9253
9406
|
credentialId: string;
|
|
@@ -9441,6 +9594,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9441
9594
|
description?: string | undefined;
|
|
9442
9595
|
requireApproval?: boolean | undefined;
|
|
9443
9596
|
allOutputs?: boolean | undefined;
|
|
9597
|
+
inputs?: Record<string, {
|
|
9598
|
+
mode: "ai";
|
|
9599
|
+
} | {
|
|
9600
|
+
mode: "fixed";
|
|
9601
|
+
value: import("n8n-workflow").JsonValue;
|
|
9602
|
+
}> | undefined;
|
|
9444
9603
|
} | {
|
|
9445
9604
|
type: "node";
|
|
9446
9605
|
name: string;
|
|
@@ -9481,6 +9640,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9481
9640
|
} | {
|
|
9482
9641
|
type: "slack";
|
|
9483
9642
|
credentialId: string;
|
|
9643
|
+
settings?: {
|
|
9644
|
+
messagingExperience: "agent" | "assistant";
|
|
9645
|
+
} | undefined;
|
|
9484
9646
|
} | {
|
|
9485
9647
|
type: "linear";
|
|
9486
9648
|
credentialId: string;
|
|
@@ -9674,6 +9836,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9674
9836
|
description?: string | undefined;
|
|
9675
9837
|
requireApproval?: boolean | undefined;
|
|
9676
9838
|
allOutputs?: boolean | undefined;
|
|
9839
|
+
inputs?: Record<string, {
|
|
9840
|
+
mode: "ai";
|
|
9841
|
+
} | {
|
|
9842
|
+
mode: "fixed";
|
|
9843
|
+
value: import("n8n-workflow").JsonValue;
|
|
9844
|
+
}> | undefined;
|
|
9677
9845
|
} | {
|
|
9678
9846
|
type: "node";
|
|
9679
9847
|
name: string;
|
|
@@ -9714,6 +9882,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9714
9882
|
} | {
|
|
9715
9883
|
type: "slack";
|
|
9716
9884
|
credentialId: string;
|
|
9885
|
+
settings?: {
|
|
9886
|
+
messagingExperience: "agent" | "assistant";
|
|
9887
|
+
} | undefined;
|
|
9717
9888
|
} | {
|
|
9718
9889
|
type: "linear";
|
|
9719
9890
|
credentialId: string;
|
|
@@ -9907,6 +10078,12 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9907
10078
|
description?: string | undefined;
|
|
9908
10079
|
requireApproval?: boolean | undefined;
|
|
9909
10080
|
allOutputs?: boolean | undefined;
|
|
10081
|
+
inputs?: Record<string, {
|
|
10082
|
+
mode: "ai";
|
|
10083
|
+
} | {
|
|
10084
|
+
mode: "fixed";
|
|
10085
|
+
value: import("n8n-workflow").JsonValue;
|
|
10086
|
+
}> | undefined;
|
|
9910
10087
|
} | {
|
|
9911
10088
|
type: "node";
|
|
9912
10089
|
name: string;
|
|
@@ -9947,6 +10124,9 @@ export declare const instanceAiEvalSeedAgentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9947
10124
|
} | {
|
|
9948
10125
|
type: "slack";
|
|
9949
10126
|
credentialId: string;
|
|
10127
|
+
settings?: {
|
|
10128
|
+
messagingExperience: "agent" | "assistant";
|
|
10129
|
+
} | undefined;
|
|
9950
10130
|
} | {
|
|
9951
10131
|
type: "linear";
|
|
9952
10132
|
credentialId: string;
|
|
@@ -10160,6 +10340,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10160
10340
|
description?: string | undefined;
|
|
10161
10341
|
requireApproval?: boolean | undefined;
|
|
10162
10342
|
allOutputs?: boolean | undefined;
|
|
10343
|
+
inputs?: Record<string, {
|
|
10344
|
+
mode: "ai";
|
|
10345
|
+
} | {
|
|
10346
|
+
mode: "fixed";
|
|
10347
|
+
value: import("n8n-workflow").JsonValue;
|
|
10348
|
+
}> | undefined;
|
|
10163
10349
|
} | {
|
|
10164
10350
|
type: "node";
|
|
10165
10351
|
name: string;
|
|
@@ -10200,6 +10386,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10200
10386
|
} | {
|
|
10201
10387
|
type: "slack";
|
|
10202
10388
|
credentialId: string;
|
|
10389
|
+
settings?: {
|
|
10390
|
+
messagingExperience: "agent" | "assistant";
|
|
10391
|
+
} | undefined;
|
|
10203
10392
|
} | {
|
|
10204
10393
|
type: "linear";
|
|
10205
10394
|
credentialId: string;
|
|
@@ -10727,6 +10916,22 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10727
10916
|
description: z.ZodOptional<z.ZodString>;
|
|
10728
10917
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
10729
10918
|
allOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
10919
|
+
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
10920
|
+
mode: z.ZodLiteral<"ai">;
|
|
10921
|
+
}, "strict", z.ZodTypeAny, {
|
|
10922
|
+
mode: "ai";
|
|
10923
|
+
}, {
|
|
10924
|
+
mode: "ai";
|
|
10925
|
+
}>, z.ZodObject<{
|
|
10926
|
+
mode: z.ZodLiteral<"fixed">;
|
|
10927
|
+
value: z.ZodType<import("n8n-workflow").JsonValue, z.ZodTypeDef, import("n8n-workflow").JsonValue>;
|
|
10928
|
+
}, "strict", z.ZodTypeAny, {
|
|
10929
|
+
mode: "fixed";
|
|
10930
|
+
value: import("n8n-workflow").JsonValue;
|
|
10931
|
+
}, {
|
|
10932
|
+
mode: "fixed";
|
|
10933
|
+
value: import("n8n-workflow").JsonValue;
|
|
10934
|
+
}>]>>>;
|
|
10730
10935
|
}, "strict", z.ZodTypeAny, {
|
|
10731
10936
|
type: "workflow";
|
|
10732
10937
|
workflowId?: string | undefined;
|
|
@@ -10735,6 +10940,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10735
10940
|
description?: string | undefined;
|
|
10736
10941
|
requireApproval?: boolean | undefined;
|
|
10737
10942
|
allOutputs?: boolean | undefined;
|
|
10943
|
+
inputs?: Record<string, {
|
|
10944
|
+
mode: "ai";
|
|
10945
|
+
} | {
|
|
10946
|
+
mode: "fixed";
|
|
10947
|
+
value: import("n8n-workflow").JsonValue;
|
|
10948
|
+
}> | undefined;
|
|
10738
10949
|
}, {
|
|
10739
10950
|
type: "workflow";
|
|
10740
10951
|
workflowId?: string | undefined;
|
|
@@ -10743,6 +10954,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10743
10954
|
description?: string | undefined;
|
|
10744
10955
|
requireApproval?: boolean | undefined;
|
|
10745
10956
|
allOutputs?: boolean | undefined;
|
|
10957
|
+
inputs?: Record<string, {
|
|
10958
|
+
mode: "ai";
|
|
10959
|
+
} | {
|
|
10960
|
+
mode: "fixed";
|
|
10961
|
+
value: import("n8n-workflow").JsonValue;
|
|
10962
|
+
}> | undefined;
|
|
10746
10963
|
}>, z.ZodObject<{
|
|
10747
10964
|
type: z.ZodLiteral<"node">;
|
|
10748
10965
|
name: z.ZodString;
|
|
@@ -10850,6 +11067,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10850
11067
|
description?: string | undefined;
|
|
10851
11068
|
requireApproval?: boolean | undefined;
|
|
10852
11069
|
allOutputs?: boolean | undefined;
|
|
11070
|
+
inputs?: Record<string, {
|
|
11071
|
+
mode: "ai";
|
|
11072
|
+
} | {
|
|
11073
|
+
mode: "fixed";
|
|
11074
|
+
value: import("n8n-workflow").JsonValue;
|
|
11075
|
+
}> | undefined;
|
|
10853
11076
|
} | {
|
|
10854
11077
|
type: "node";
|
|
10855
11078
|
name: string;
|
|
@@ -10881,6 +11104,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10881
11104
|
description?: string | undefined;
|
|
10882
11105
|
requireApproval?: boolean | undefined;
|
|
10883
11106
|
allOutputs?: boolean | undefined;
|
|
11107
|
+
inputs?: Record<string, {
|
|
11108
|
+
mode: "ai";
|
|
11109
|
+
} | {
|
|
11110
|
+
mode: "fixed";
|
|
11111
|
+
value: import("n8n-workflow").JsonValue;
|
|
11112
|
+
}> | undefined;
|
|
10884
11113
|
} | {
|
|
10885
11114
|
type: "node";
|
|
10886
11115
|
name: string;
|
|
@@ -10968,12 +11197,26 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
10968
11197
|
}>, z.ZodObject<{
|
|
10969
11198
|
type: z.ZodLiteral<"slack">;
|
|
10970
11199
|
credentialId: z.ZodString;
|
|
11200
|
+
} & {
|
|
11201
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
11202
|
+
messagingExperience: z.ZodEnum<["assistant", "agent"]>;
|
|
11203
|
+
}, "strict", z.ZodTypeAny, {
|
|
11204
|
+
messagingExperience: "agent" | "assistant";
|
|
11205
|
+
}, {
|
|
11206
|
+
messagingExperience: "agent" | "assistant";
|
|
11207
|
+
}>>;
|
|
10971
11208
|
}, "strip", z.ZodTypeAny, {
|
|
10972
11209
|
type: "slack";
|
|
10973
11210
|
credentialId: string;
|
|
11211
|
+
settings?: {
|
|
11212
|
+
messagingExperience: "agent" | "assistant";
|
|
11213
|
+
} | undefined;
|
|
10974
11214
|
}, {
|
|
10975
11215
|
type: "slack";
|
|
10976
11216
|
credentialId: string;
|
|
11217
|
+
settings?: {
|
|
11218
|
+
messagingExperience: "agent" | "assistant";
|
|
11219
|
+
} | undefined;
|
|
10977
11220
|
}>, z.ZodObject<{
|
|
10978
11221
|
type: z.ZodLiteral<"linear">;
|
|
10979
11222
|
credentialId: z.ZodString;
|
|
@@ -11527,6 +11770,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11527
11770
|
description?: string | undefined;
|
|
11528
11771
|
requireApproval?: boolean | undefined;
|
|
11529
11772
|
allOutputs?: boolean | undefined;
|
|
11773
|
+
inputs?: Record<string, {
|
|
11774
|
+
mode: "ai";
|
|
11775
|
+
} | {
|
|
11776
|
+
mode: "fixed";
|
|
11777
|
+
value: import("n8n-workflow").JsonValue;
|
|
11778
|
+
}> | undefined;
|
|
11530
11779
|
} | {
|
|
11531
11780
|
type: "node";
|
|
11532
11781
|
name: string;
|
|
@@ -11567,6 +11816,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11567
11816
|
} | {
|
|
11568
11817
|
type: "slack";
|
|
11569
11818
|
credentialId: string;
|
|
11819
|
+
settings?: {
|
|
11820
|
+
messagingExperience: "agent" | "assistant";
|
|
11821
|
+
} | undefined;
|
|
11570
11822
|
} | {
|
|
11571
11823
|
type: "linear";
|
|
11572
11824
|
credentialId: string;
|
|
@@ -11742,6 +11994,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11742
11994
|
description?: string | undefined;
|
|
11743
11995
|
requireApproval?: boolean | undefined;
|
|
11744
11996
|
allOutputs?: boolean | undefined;
|
|
11997
|
+
inputs?: Record<string, {
|
|
11998
|
+
mode: "ai";
|
|
11999
|
+
} | {
|
|
12000
|
+
mode: "fixed";
|
|
12001
|
+
value: import("n8n-workflow").JsonValue;
|
|
12002
|
+
}> | undefined;
|
|
11745
12003
|
} | {
|
|
11746
12004
|
type: "node";
|
|
11747
12005
|
name: string;
|
|
@@ -11782,6 +12040,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11782
12040
|
} | {
|
|
11783
12041
|
type: "slack";
|
|
11784
12042
|
credentialId: string;
|
|
12043
|
+
settings?: {
|
|
12044
|
+
messagingExperience: "agent" | "assistant";
|
|
12045
|
+
} | undefined;
|
|
11785
12046
|
} | {
|
|
11786
12047
|
type: "linear";
|
|
11787
12048
|
credentialId: string;
|
|
@@ -11957,6 +12218,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11957
12218
|
description?: string | undefined;
|
|
11958
12219
|
requireApproval?: boolean | undefined;
|
|
11959
12220
|
allOutputs?: boolean | undefined;
|
|
12221
|
+
inputs?: Record<string, {
|
|
12222
|
+
mode: "ai";
|
|
12223
|
+
} | {
|
|
12224
|
+
mode: "fixed";
|
|
12225
|
+
value: import("n8n-workflow").JsonValue;
|
|
12226
|
+
}> | undefined;
|
|
11960
12227
|
} | {
|
|
11961
12228
|
type: "node";
|
|
11962
12229
|
name: string;
|
|
@@ -11997,6 +12264,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
11997
12264
|
} | {
|
|
11998
12265
|
type: "slack";
|
|
11999
12266
|
credentialId: string;
|
|
12267
|
+
settings?: {
|
|
12268
|
+
messagingExperience: "agent" | "assistant";
|
|
12269
|
+
} | undefined;
|
|
12000
12270
|
} | {
|
|
12001
12271
|
type: "linear";
|
|
12002
12272
|
credentialId: string;
|
|
@@ -12172,6 +12442,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12172
12442
|
description?: string | undefined;
|
|
12173
12443
|
requireApproval?: boolean | undefined;
|
|
12174
12444
|
allOutputs?: boolean | undefined;
|
|
12445
|
+
inputs?: Record<string, {
|
|
12446
|
+
mode: "ai";
|
|
12447
|
+
} | {
|
|
12448
|
+
mode: "fixed";
|
|
12449
|
+
value: import("n8n-workflow").JsonValue;
|
|
12450
|
+
}> | undefined;
|
|
12175
12451
|
} | {
|
|
12176
12452
|
type: "node";
|
|
12177
12453
|
name: string;
|
|
@@ -12212,6 +12488,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12212
12488
|
} | {
|
|
12213
12489
|
type: "slack";
|
|
12214
12490
|
credentialId: string;
|
|
12491
|
+
settings?: {
|
|
12492
|
+
messagingExperience: "agent" | "assistant";
|
|
12493
|
+
} | undefined;
|
|
12215
12494
|
} | {
|
|
12216
12495
|
type: "linear";
|
|
12217
12496
|
credentialId: string;
|
|
@@ -12451,6 +12730,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12451
12730
|
description?: string | undefined;
|
|
12452
12731
|
requireApproval?: boolean | undefined;
|
|
12453
12732
|
allOutputs?: boolean | undefined;
|
|
12733
|
+
inputs?: Record<string, {
|
|
12734
|
+
mode: "ai";
|
|
12735
|
+
} | {
|
|
12736
|
+
mode: "fixed";
|
|
12737
|
+
value: import("n8n-workflow").JsonValue;
|
|
12738
|
+
}> | undefined;
|
|
12454
12739
|
} | {
|
|
12455
12740
|
type: "node";
|
|
12456
12741
|
name: string;
|
|
@@ -12491,6 +12776,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12491
12776
|
} | {
|
|
12492
12777
|
type: "slack";
|
|
12493
12778
|
credentialId: string;
|
|
12779
|
+
settings?: {
|
|
12780
|
+
messagingExperience: "agent" | "assistant";
|
|
12781
|
+
} | undefined;
|
|
12494
12782
|
} | {
|
|
12495
12783
|
type: "linear";
|
|
12496
12784
|
credentialId: string;
|
|
@@ -12684,6 +12972,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12684
12972
|
description?: string | undefined;
|
|
12685
12973
|
requireApproval?: boolean | undefined;
|
|
12686
12974
|
allOutputs?: boolean | undefined;
|
|
12975
|
+
inputs?: Record<string, {
|
|
12976
|
+
mode: "ai";
|
|
12977
|
+
} | {
|
|
12978
|
+
mode: "fixed";
|
|
12979
|
+
value: import("n8n-workflow").JsonValue;
|
|
12980
|
+
}> | undefined;
|
|
12687
12981
|
} | {
|
|
12688
12982
|
type: "node";
|
|
12689
12983
|
name: string;
|
|
@@ -12724,6 +13018,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12724
13018
|
} | {
|
|
12725
13019
|
type: "slack";
|
|
12726
13020
|
credentialId: string;
|
|
13021
|
+
settings?: {
|
|
13022
|
+
messagingExperience: "agent" | "assistant";
|
|
13023
|
+
} | undefined;
|
|
12727
13024
|
} | {
|
|
12728
13025
|
type: "linear";
|
|
12729
13026
|
credentialId: string;
|
|
@@ -12917,6 +13214,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12917
13214
|
description?: string | undefined;
|
|
12918
13215
|
requireApproval?: boolean | undefined;
|
|
12919
13216
|
allOutputs?: boolean | undefined;
|
|
13217
|
+
inputs?: Record<string, {
|
|
13218
|
+
mode: "ai";
|
|
13219
|
+
} | {
|
|
13220
|
+
mode: "fixed";
|
|
13221
|
+
value: import("n8n-workflow").JsonValue;
|
|
13222
|
+
}> | undefined;
|
|
12920
13223
|
} | {
|
|
12921
13224
|
type: "node";
|
|
12922
13225
|
name: string;
|
|
@@ -12957,6 +13260,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
12957
13260
|
} | {
|
|
12958
13261
|
type: "slack";
|
|
12959
13262
|
credentialId: string;
|
|
13263
|
+
settings?: {
|
|
13264
|
+
messagingExperience: "agent" | "assistant";
|
|
13265
|
+
} | undefined;
|
|
12960
13266
|
} | {
|
|
12961
13267
|
type: "linear";
|
|
12962
13268
|
credentialId: string;
|
|
@@ -13150,6 +13456,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13150
13456
|
description?: string | undefined;
|
|
13151
13457
|
requireApproval?: boolean | undefined;
|
|
13152
13458
|
allOutputs?: boolean | undefined;
|
|
13459
|
+
inputs?: Record<string, {
|
|
13460
|
+
mode: "ai";
|
|
13461
|
+
} | {
|
|
13462
|
+
mode: "fixed";
|
|
13463
|
+
value: import("n8n-workflow").JsonValue;
|
|
13464
|
+
}> | undefined;
|
|
13153
13465
|
} | {
|
|
13154
13466
|
type: "node";
|
|
13155
13467
|
name: string;
|
|
@@ -13190,6 +13502,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13190
13502
|
} | {
|
|
13191
13503
|
type: "slack";
|
|
13192
13504
|
credentialId: string;
|
|
13505
|
+
settings?: {
|
|
13506
|
+
messagingExperience: "agent" | "assistant";
|
|
13507
|
+
} | undefined;
|
|
13193
13508
|
} | {
|
|
13194
13509
|
type: "linear";
|
|
13195
13510
|
credentialId: string;
|
|
@@ -13383,6 +13698,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13383
13698
|
description?: string | undefined;
|
|
13384
13699
|
requireApproval?: boolean | undefined;
|
|
13385
13700
|
allOutputs?: boolean | undefined;
|
|
13701
|
+
inputs?: Record<string, {
|
|
13702
|
+
mode: "ai";
|
|
13703
|
+
} | {
|
|
13704
|
+
mode: "fixed";
|
|
13705
|
+
value: import("n8n-workflow").JsonValue;
|
|
13706
|
+
}> | undefined;
|
|
13386
13707
|
} | {
|
|
13387
13708
|
type: "node";
|
|
13388
13709
|
name: string;
|
|
@@ -13423,6 +13744,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13423
13744
|
} | {
|
|
13424
13745
|
type: "slack";
|
|
13425
13746
|
credentialId: string;
|
|
13747
|
+
settings?: {
|
|
13748
|
+
messagingExperience: "agent" | "assistant";
|
|
13749
|
+
} | undefined;
|
|
13426
13750
|
} | {
|
|
13427
13751
|
type: "linear";
|
|
13428
13752
|
credentialId: string;
|
|
@@ -13616,6 +13940,12 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13616
13940
|
description?: string | undefined;
|
|
13617
13941
|
requireApproval?: boolean | undefined;
|
|
13618
13942
|
allOutputs?: boolean | undefined;
|
|
13943
|
+
inputs?: Record<string, {
|
|
13944
|
+
mode: "ai";
|
|
13945
|
+
} | {
|
|
13946
|
+
mode: "fixed";
|
|
13947
|
+
value: import("n8n-workflow").JsonValue;
|
|
13948
|
+
}> | undefined;
|
|
13619
13949
|
} | {
|
|
13620
13950
|
type: "node";
|
|
13621
13951
|
name: string;
|
|
@@ -13656,6 +13986,9 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
13656
13986
|
} | {
|
|
13657
13987
|
type: "slack";
|
|
13658
13988
|
credentialId: string;
|
|
13989
|
+
settings?: {
|
|
13990
|
+
messagingExperience: "agent" | "assistant";
|
|
13991
|
+
} | undefined;
|
|
13659
13992
|
} | {
|
|
13660
13993
|
type: "linear";
|
|
13661
13994
|
credentialId: string;
|