@n8n/api-types 1.29.5 → 1.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-builder-interactive.d.ts +6 -6
- package/dist/agents/agent-files.constants.d.ts +1 -1
- package/dist/agents/agent-files.constants.js +1 -1
- package/dist/agents/agent-files.constants.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +685 -302
- package/dist/agents/agent-json-config.schema.js +45 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +8 -1
- package/dist/agents/dto.js +6 -1
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/model-providers.d.ts +22 -0
- package/dist/agents/provider-capabilities.d.ts +7 -0
- package/dist/agents/provider-capabilities.js +21 -8
- package/dist/agents/provider-capabilities.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +158 -158
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +24 -24
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.d.ts +8 -0
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.js +11 -0
- package/dist/dto/breaking-changes/breaking-change-report-query.dto.js.map +1 -0
- package/dist/dto/data-table/add-data-table-rows.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/evaluations/index.d.ts +1 -0
- package/dist/dto/evaluations/public-api-test-run.dto.d.ts +28 -0
- package/dist/dto/evaluations/public-api-test-run.dto.js +3 -0
- package/dist/dto/evaluations/public-api-test-run.dto.js.map +1 -0
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -1
- package/dist/dto/index.js +8 -6
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +9 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js +5 -0
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.js.map +1 -1
- package/dist/dto/instance-version-history/version-query.dto.d.ts +1 -1
- package/dist/dto/log-streaming/create-destination.dto.d.ts +102 -102
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/owner/owner-setup-request.dto.d.ts +1 -1
- package/dist/dto/packages/export-package-request.dto.d.ts +13 -0
- package/dist/dto/packages/export-package-request.dto.js +13 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -0
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/saml/saml-preferences.dto.d.ts +5 -5
- package/dist/dto/security-settings/security-settings.dto.d.ts +6 -6
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +6 -6
- package/dist/dto/user/users-list-filter.dto.d.ts +3 -3
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +6 -6
- package/dist/dto/workflows/update-workflow.dto.d.ts +6 -6
- package/dist/frontend-settings.d.ts +2 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +22 -22
- package/dist/schemas/agent-run-reducer.d.ts +2 -0
- package/dist/schemas/agent-run-reducer.js +40 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +65 -65
- package/dist/schemas/breaking-changes.schema.js +2 -2
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- package/dist/schemas/credential-resolver.schema.d.ts +12 -12
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +2 -2
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/instance-ai.schema.d.ts +337 -199
- package/dist/schemas/instance-ai.schema.js +34 -3
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +12 -12
- package/dist/schemas/source-controlled-file.schema.d.ts +4 -4
- package/dist/schemas/usage.schema.d.ts +14 -14
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-publication-status.schema.d.ts +38 -0
- package/dist/schemas/workflow-publication-status.schema.js +15 -0
- package/dist/schemas/workflow-publication-status.schema.js.map +1 -0
- package/package.json +7 -6
- package/dist/dto/packages/export-workflows-request.dto.d.ts +0 -9
- package/dist/dto/packages/export-workflows-request.dto.js +0 -11
- package/dist/dto/packages/export-workflows-request.dto.js.map +0 -1
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { McpRegistryServerIconResponse } from './mcp-registry.schema';
|
|
3
3
|
export declare const UNLIMITED_CREDITS = -1;
|
|
4
|
+
export declare const AI_GATEWAY_MANAGED_TAG = "__AI_GATEWAY_MANAGED__";
|
|
4
5
|
export declare function buildRunWorkflowSessionGrantKey(workflowId: string): string;
|
|
6
|
+
export declare function buildFetchUrlGrantKey(host: string): string;
|
|
7
|
+
export declare const FETCH_URL_ALLOW_ALL_GRANT_KEY = "fetch-url:*";
|
|
8
|
+
export declare const WEB_SEARCH_GRANT_KEY = "web-search";
|
|
9
|
+
export interface DomainAccessGrants {
|
|
10
|
+
approvedDomains: Set<string>;
|
|
11
|
+
allDomainsApproved: boolean;
|
|
12
|
+
webSearchApproved: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function parseDomainAccessGrants(keys: ReadonlySet<string>): DomainAccessGrants;
|
|
5
15
|
export type RunId = string & {
|
|
6
16
|
readonly __brand: 'RunId';
|
|
7
17
|
};
|
|
@@ -65,11 +75,11 @@ export declare const runFinishPayloadSchema: z.ZodObject<{
|
|
|
65
75
|
reason: z.ZodOptional<z.ZodString>;
|
|
66
76
|
archivedWorkflowIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
77
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
status: "
|
|
78
|
+
status: "error" | "cancelled" | "completed";
|
|
69
79
|
reason?: string | undefined;
|
|
70
80
|
archivedWorkflowIds?: string[] | undefined;
|
|
71
81
|
}, {
|
|
72
|
-
status: "
|
|
82
|
+
status: "error" | "cancelled" | "completed";
|
|
73
83
|
reason?: string | undefined;
|
|
74
84
|
archivedWorkflowIds?: string[] | undefined;
|
|
75
85
|
}>;
|
|
@@ -79,12 +89,12 @@ export declare const agentSpawnedTargetResourceSchema: z.ZodObject<{
|
|
|
79
89
|
name: z.ZodOptional<z.ZodString>;
|
|
80
90
|
}, "strip", z.ZodTypeAny, {
|
|
81
91
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
82
|
-
id?: string | undefined;
|
|
83
92
|
name?: string | undefined;
|
|
93
|
+
id?: string | undefined;
|
|
84
94
|
}, {
|
|
85
95
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
86
|
-
id?: string | undefined;
|
|
87
96
|
name?: string | undefined;
|
|
97
|
+
id?: string | undefined;
|
|
88
98
|
}>;
|
|
89
99
|
export type InstanceAiTargetResource = z.infer<typeof agentSpawnedTargetResourceSchema>;
|
|
90
100
|
export declare const agentSpawnedPayloadSchema: z.ZodObject<{
|
|
@@ -102,40 +112,40 @@ export declare const agentSpawnedPayloadSchema: z.ZodObject<{
|
|
|
102
112
|
name: z.ZodOptional<z.ZodString>;
|
|
103
113
|
}, "strip", z.ZodTypeAny, {
|
|
104
114
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
105
|
-
id?: string | undefined;
|
|
106
115
|
name?: string | undefined;
|
|
116
|
+
id?: string | undefined;
|
|
107
117
|
}, {
|
|
108
118
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
109
|
-
id?: string | undefined;
|
|
110
119
|
name?: string | undefined;
|
|
120
|
+
id?: string | undefined;
|
|
111
121
|
}>>;
|
|
112
122
|
}, "strip", z.ZodTypeAny, {
|
|
113
123
|
tools: string[];
|
|
114
124
|
role: string;
|
|
115
125
|
parentId: string;
|
|
116
126
|
title?: string | undefined;
|
|
117
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
118
127
|
taskId?: string | undefined;
|
|
128
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
119
129
|
subtitle?: string | undefined;
|
|
120
130
|
goal?: string | undefined;
|
|
121
131
|
targetResource?: {
|
|
122
132
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
123
|
-
id?: string | undefined;
|
|
124
133
|
name?: string | undefined;
|
|
134
|
+
id?: string | undefined;
|
|
125
135
|
} | undefined;
|
|
126
136
|
}, {
|
|
127
137
|
tools: string[];
|
|
128
138
|
role: string;
|
|
129
139
|
parentId: string;
|
|
130
140
|
title?: string | undefined;
|
|
131
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
132
141
|
taskId?: string | undefined;
|
|
142
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
133
143
|
subtitle?: string | undefined;
|
|
134
144
|
goal?: string | undefined;
|
|
135
145
|
targetResource?: {
|
|
136
146
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
137
|
-
id?: string | undefined;
|
|
138
147
|
name?: string | undefined;
|
|
148
|
+
id?: string | undefined;
|
|
139
149
|
} | undefined;
|
|
140
150
|
}>;
|
|
141
151
|
export declare const agentCompletedPayloadSchema: z.ZodObject<{
|
|
@@ -205,27 +215,27 @@ export declare const credentialRequestSchema: z.ZodObject<{
|
|
|
205
215
|
id: z.ZodString;
|
|
206
216
|
name: z.ZodString;
|
|
207
217
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
id: string;
|
|
209
218
|
name: string;
|
|
210
|
-
}, {
|
|
211
219
|
id: string;
|
|
220
|
+
}, {
|
|
212
221
|
name: string;
|
|
222
|
+
id: string;
|
|
213
223
|
}>, "many">;
|
|
214
224
|
suggestedName: z.ZodOptional<z.ZodString>;
|
|
215
225
|
}, "strip", z.ZodTypeAny, {
|
|
216
226
|
credentialType: string;
|
|
217
227
|
reason: string;
|
|
218
228
|
existingCredentials: {
|
|
219
|
-
id: string;
|
|
220
229
|
name: string;
|
|
230
|
+
id: string;
|
|
221
231
|
}[];
|
|
222
232
|
suggestedName?: string | undefined;
|
|
223
233
|
}, {
|
|
224
234
|
credentialType: string;
|
|
225
235
|
reason: string;
|
|
226
236
|
existingCredentials: {
|
|
227
|
-
id: string;
|
|
228
237
|
name: string;
|
|
238
|
+
id: string;
|
|
229
239
|
}[];
|
|
230
240
|
suggestedName?: string | undefined;
|
|
231
241
|
}>;
|
|
@@ -244,39 +254,59 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
244
254
|
type: z.ZodString;
|
|
245
255
|
typeVersion: z.ZodNumber;
|
|
246
256
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
247
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
257
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
248
258
|
id: z.ZodString;
|
|
249
259
|
name: z.ZodString;
|
|
250
260
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
id: string;
|
|
252
261
|
name: string;
|
|
262
|
+
id: string;
|
|
253
263
|
}, {
|
|
264
|
+
name: string;
|
|
254
265
|
id: string;
|
|
266
|
+
}>, z.ZodObject<{
|
|
267
|
+
id: z.ZodNull;
|
|
268
|
+
name: z.ZodString;
|
|
269
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
name: string;
|
|
272
|
+
id: null;
|
|
273
|
+
__aiGatewayManaged: true;
|
|
274
|
+
}, {
|
|
255
275
|
name: string;
|
|
256
|
-
|
|
276
|
+
id: null;
|
|
277
|
+
__aiGatewayManaged: true;
|
|
278
|
+
}>]>>>;
|
|
257
279
|
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
258
280
|
id: z.ZodString;
|
|
259
281
|
}, "strip", z.ZodTypeAny, {
|
|
260
282
|
type: string;
|
|
261
|
-
id: string;
|
|
262
283
|
name: string;
|
|
284
|
+
id: string;
|
|
263
285
|
typeVersion: number;
|
|
264
286
|
parameters: Record<string, unknown>;
|
|
265
287
|
position: [number, number];
|
|
266
288
|
credentials?: Record<string, {
|
|
289
|
+
name: string;
|
|
267
290
|
id: string;
|
|
291
|
+
} | {
|
|
268
292
|
name: string;
|
|
293
|
+
id: null;
|
|
294
|
+
__aiGatewayManaged: true;
|
|
269
295
|
}> | undefined;
|
|
270
296
|
}, {
|
|
271
297
|
type: string;
|
|
272
|
-
id: string;
|
|
273
298
|
name: string;
|
|
299
|
+
id: string;
|
|
274
300
|
typeVersion: number;
|
|
275
301
|
parameters: Record<string, unknown>;
|
|
276
302
|
position: [number, number];
|
|
277
303
|
credentials?: Record<string, {
|
|
304
|
+
name: string;
|
|
278
305
|
id: string;
|
|
306
|
+
} | {
|
|
279
307
|
name: string;
|
|
308
|
+
id: null;
|
|
309
|
+
__aiGatewayManaged: true;
|
|
280
310
|
}> | undefined;
|
|
281
311
|
}>;
|
|
282
312
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
@@ -284,11 +314,11 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
284
314
|
id: z.ZodString;
|
|
285
315
|
name: z.ZodString;
|
|
286
316
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
id: string;
|
|
288
317
|
name: string;
|
|
289
|
-
}, {
|
|
290
318
|
id: string;
|
|
319
|
+
}, {
|
|
291
320
|
name: string;
|
|
321
|
+
id: string;
|
|
292
322
|
}>, "many">>;
|
|
293
323
|
isTrigger: z.ZodBoolean;
|
|
294
324
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -308,10 +338,10 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
308
338
|
status: z.ZodEnum<["success", "error", "listening"]>;
|
|
309
339
|
error: z.ZodOptional<z.ZodString>;
|
|
310
340
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
status: "
|
|
341
|
+
status: "error" | "success" | "listening";
|
|
312
342
|
error?: string | undefined;
|
|
313
343
|
}, {
|
|
314
|
-
status: "
|
|
344
|
+
status: "error" | "success" | "listening";
|
|
315
345
|
error?: string | undefined;
|
|
316
346
|
}>>;
|
|
317
347
|
parameterIssues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -360,33 +390,37 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
360
390
|
id: z.ZodString;
|
|
361
391
|
}, "strip", z.ZodTypeAny, {
|
|
362
392
|
type: string;
|
|
363
|
-
id: string;
|
|
364
393
|
name: string;
|
|
394
|
+
id: string;
|
|
365
395
|
typeVersion: number;
|
|
366
396
|
}, {
|
|
367
397
|
type: string;
|
|
368
|
-
id: string;
|
|
369
398
|
name: string;
|
|
399
|
+
id: string;
|
|
370
400
|
typeVersion: number;
|
|
371
401
|
}>>;
|
|
372
402
|
}, "strip", z.ZodTypeAny, {
|
|
373
403
|
node: {
|
|
374
404
|
type: string;
|
|
375
|
-
id: string;
|
|
376
405
|
name: string;
|
|
406
|
+
id: string;
|
|
377
407
|
typeVersion: number;
|
|
378
408
|
parameters: Record<string, unknown>;
|
|
379
409
|
position: [number, number];
|
|
380
410
|
credentials?: Record<string, {
|
|
411
|
+
name: string;
|
|
381
412
|
id: string;
|
|
413
|
+
} | {
|
|
382
414
|
name: string;
|
|
415
|
+
id: null;
|
|
416
|
+
__aiGatewayManaged: true;
|
|
383
417
|
}> | undefined;
|
|
384
418
|
};
|
|
385
419
|
isTrigger: boolean;
|
|
386
420
|
credentialType?: string | undefined;
|
|
387
421
|
existingCredentials?: {
|
|
388
|
-
id: string;
|
|
389
422
|
name: string;
|
|
423
|
+
id: string;
|
|
390
424
|
}[] | undefined;
|
|
391
425
|
isFirstTrigger?: boolean | undefined;
|
|
392
426
|
isTestable?: boolean | undefined;
|
|
@@ -396,7 +430,7 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
396
430
|
message?: string | undefined;
|
|
397
431
|
} | undefined;
|
|
398
432
|
triggerTestResult?: {
|
|
399
|
-
status: "
|
|
433
|
+
status: "error" | "success" | "listening";
|
|
400
434
|
error?: string | undefined;
|
|
401
435
|
} | undefined;
|
|
402
436
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -414,28 +448,32 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
414
448
|
needsAction?: boolean | undefined;
|
|
415
449
|
subnodeRootNode?: {
|
|
416
450
|
type: string;
|
|
417
|
-
id: string;
|
|
418
451
|
name: string;
|
|
452
|
+
id: string;
|
|
419
453
|
typeVersion: number;
|
|
420
454
|
} | undefined;
|
|
421
455
|
}, {
|
|
422
456
|
node: {
|
|
423
457
|
type: string;
|
|
424
|
-
id: string;
|
|
425
458
|
name: string;
|
|
459
|
+
id: string;
|
|
426
460
|
typeVersion: number;
|
|
427
461
|
parameters: Record<string, unknown>;
|
|
428
462
|
position: [number, number];
|
|
429
463
|
credentials?: Record<string, {
|
|
464
|
+
name: string;
|
|
430
465
|
id: string;
|
|
466
|
+
} | {
|
|
431
467
|
name: string;
|
|
468
|
+
id: null;
|
|
469
|
+
__aiGatewayManaged: true;
|
|
432
470
|
}> | undefined;
|
|
433
471
|
};
|
|
434
472
|
isTrigger: boolean;
|
|
435
473
|
credentialType?: string | undefined;
|
|
436
474
|
existingCredentials?: {
|
|
437
|
-
id: string;
|
|
438
475
|
name: string;
|
|
476
|
+
id: string;
|
|
439
477
|
}[] | undefined;
|
|
440
478
|
isFirstTrigger?: boolean | undefined;
|
|
441
479
|
isTestable?: boolean | undefined;
|
|
@@ -445,7 +483,7 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
445
483
|
message?: string | undefined;
|
|
446
484
|
} | undefined;
|
|
447
485
|
triggerTestResult?: {
|
|
448
|
-
status: "
|
|
486
|
+
status: "error" | "success" | "listening";
|
|
449
487
|
error?: string | undefined;
|
|
450
488
|
} | undefined;
|
|
451
489
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -463,8 +501,8 @@ export declare const workflowSetupNodeSchema: z.ZodObject<{
|
|
|
463
501
|
needsAction?: boolean | undefined;
|
|
464
502
|
subnodeRootNode?: {
|
|
465
503
|
type: string;
|
|
466
|
-
id: string;
|
|
467
504
|
name: string;
|
|
505
|
+
id: string;
|
|
468
506
|
typeVersion: number;
|
|
469
507
|
} | undefined;
|
|
470
508
|
}>;
|
|
@@ -475,13 +513,13 @@ export declare const taskItemSchema: z.ZodObject<{
|
|
|
475
513
|
detail: z.ZodOptional<z.ZodString>;
|
|
476
514
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
477
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
478
517
|
description: string;
|
|
479
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
480
518
|
id: string;
|
|
481
519
|
detail?: string | undefined;
|
|
482
520
|
}, {
|
|
521
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
483
522
|
description: string;
|
|
484
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
485
523
|
id: string;
|
|
486
524
|
detail?: string | undefined;
|
|
487
525
|
}>;
|
|
@@ -493,27 +531,27 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
493
531
|
detail: z.ZodOptional<z.ZodString>;
|
|
494
532
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
495
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
496
535
|
description: string;
|
|
497
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
498
536
|
id: string;
|
|
499
537
|
detail?: string | undefined;
|
|
500
538
|
}, {
|
|
539
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
501
540
|
description: string;
|
|
502
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
503
541
|
id: string;
|
|
504
542
|
detail?: string | undefined;
|
|
505
543
|
}>, "many">;
|
|
506
544
|
}, "strip", z.ZodTypeAny, {
|
|
507
545
|
tasks: {
|
|
546
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
508
547
|
description: string;
|
|
509
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
510
548
|
id: string;
|
|
511
549
|
detail?: string | undefined;
|
|
512
550
|
}[];
|
|
513
551
|
}, {
|
|
514
552
|
tasks: {
|
|
553
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
515
554
|
description: string;
|
|
516
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
517
555
|
id: string;
|
|
518
556
|
detail?: string | undefined;
|
|
519
557
|
}[];
|
|
@@ -557,13 +595,13 @@ export declare const gatewayConfirmationRequiredWirePayloadSchema: z.ZodObject<{
|
|
|
557
595
|
description: z.ZodString;
|
|
558
596
|
options: z.ZodArray<z.ZodString, "many">;
|
|
559
597
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
description: string;
|
|
561
598
|
options: string[];
|
|
599
|
+
description: string;
|
|
562
600
|
toolGroup: string;
|
|
563
601
|
resource: string;
|
|
564
602
|
}, {
|
|
565
|
-
description: string;
|
|
566
603
|
options: string[];
|
|
604
|
+
description: string;
|
|
567
605
|
toolGroup: string;
|
|
568
606
|
resource: string;
|
|
569
607
|
}>;
|
|
@@ -575,13 +613,13 @@ export declare const gatewayConfirmationRequiredPayloadSchema: z.ZodObject<{
|
|
|
575
613
|
} & {
|
|
576
614
|
options: z.ZodArray<z.ZodEnum<["denyOnce", "allowOnce", "allowForSession"]>, "many">;
|
|
577
615
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
description: string;
|
|
579
616
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
617
|
+
description: string;
|
|
580
618
|
toolGroup: string;
|
|
581
619
|
resource: string;
|
|
582
620
|
}, {
|
|
583
|
-
description: string;
|
|
584
621
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
622
|
+
description: string;
|
|
585
623
|
toolGroup: string;
|
|
586
624
|
resource: string;
|
|
587
625
|
}>;
|
|
@@ -603,27 +641,27 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
603
641
|
id: z.ZodString;
|
|
604
642
|
name: z.ZodString;
|
|
605
643
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
-
id: string;
|
|
607
644
|
name: string;
|
|
608
|
-
}, {
|
|
609
645
|
id: string;
|
|
646
|
+
}, {
|
|
610
647
|
name: string;
|
|
648
|
+
id: string;
|
|
611
649
|
}>, "many">;
|
|
612
650
|
suggestedName: z.ZodOptional<z.ZodString>;
|
|
613
651
|
}, "strip", z.ZodTypeAny, {
|
|
614
652
|
credentialType: string;
|
|
615
653
|
reason: string;
|
|
616
654
|
existingCredentials: {
|
|
617
|
-
id: string;
|
|
618
655
|
name: string;
|
|
656
|
+
id: string;
|
|
619
657
|
}[];
|
|
620
658
|
suggestedName?: string | undefined;
|
|
621
659
|
}, {
|
|
622
660
|
credentialType: string;
|
|
623
661
|
reason: string;
|
|
624
662
|
existingCredentials: {
|
|
625
|
-
id: string;
|
|
626
663
|
name: string;
|
|
664
|
+
id: string;
|
|
627
665
|
}[];
|
|
628
666
|
suggestedName?: string | undefined;
|
|
629
667
|
}>, "many">>;
|
|
@@ -653,27 +691,27 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
653
691
|
detail: z.ZodOptional<z.ZodString>;
|
|
654
692
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
655
693
|
}, "strip", z.ZodTypeAny, {
|
|
694
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
656
695
|
description: string;
|
|
657
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
658
696
|
id: string;
|
|
659
697
|
detail?: string | undefined;
|
|
660
698
|
}, {
|
|
699
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
661
700
|
description: string;
|
|
662
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
663
701
|
id: string;
|
|
664
702
|
detail?: string | undefined;
|
|
665
703
|
}>, "many">;
|
|
666
704
|
}, "strip", z.ZodTypeAny, {
|
|
667
705
|
tasks: {
|
|
706
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
668
707
|
description: string;
|
|
669
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
670
708
|
id: string;
|
|
671
709
|
detail?: string | undefined;
|
|
672
710
|
}[];
|
|
673
711
|
}, {
|
|
674
712
|
tasks: {
|
|
713
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
675
714
|
description: string;
|
|
676
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
677
715
|
id: string;
|
|
678
716
|
detail?: string | undefined;
|
|
679
717
|
}[];
|
|
@@ -736,39 +774,59 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
736
774
|
type: z.ZodString;
|
|
737
775
|
typeVersion: z.ZodNumber;
|
|
738
776
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
739
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
777
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
740
778
|
id: z.ZodString;
|
|
741
779
|
name: z.ZodString;
|
|
742
780
|
}, "strip", z.ZodTypeAny, {
|
|
743
|
-
id: string;
|
|
744
781
|
name: string;
|
|
782
|
+
id: string;
|
|
745
783
|
}, {
|
|
784
|
+
name: string;
|
|
746
785
|
id: string;
|
|
786
|
+
}>, z.ZodObject<{
|
|
787
|
+
id: z.ZodNull;
|
|
788
|
+
name: z.ZodString;
|
|
789
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
790
|
+
}, "strip", z.ZodTypeAny, {
|
|
791
|
+
name: string;
|
|
792
|
+
id: null;
|
|
793
|
+
__aiGatewayManaged: true;
|
|
794
|
+
}, {
|
|
747
795
|
name: string;
|
|
748
|
-
|
|
796
|
+
id: null;
|
|
797
|
+
__aiGatewayManaged: true;
|
|
798
|
+
}>]>>>;
|
|
749
799
|
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
750
800
|
id: z.ZodString;
|
|
751
801
|
}, "strip", z.ZodTypeAny, {
|
|
752
802
|
type: string;
|
|
753
|
-
id: string;
|
|
754
803
|
name: string;
|
|
804
|
+
id: string;
|
|
755
805
|
typeVersion: number;
|
|
756
806
|
parameters: Record<string, unknown>;
|
|
757
807
|
position: [number, number];
|
|
758
808
|
credentials?: Record<string, {
|
|
809
|
+
name: string;
|
|
759
810
|
id: string;
|
|
811
|
+
} | {
|
|
760
812
|
name: string;
|
|
813
|
+
id: null;
|
|
814
|
+
__aiGatewayManaged: true;
|
|
761
815
|
}> | undefined;
|
|
762
816
|
}, {
|
|
763
817
|
type: string;
|
|
764
|
-
id: string;
|
|
765
818
|
name: string;
|
|
819
|
+
id: string;
|
|
766
820
|
typeVersion: number;
|
|
767
821
|
parameters: Record<string, unknown>;
|
|
768
822
|
position: [number, number];
|
|
769
823
|
credentials?: Record<string, {
|
|
824
|
+
name: string;
|
|
770
825
|
id: string;
|
|
826
|
+
} | {
|
|
771
827
|
name: string;
|
|
828
|
+
id: null;
|
|
829
|
+
__aiGatewayManaged: true;
|
|
772
830
|
}> | undefined;
|
|
773
831
|
}>;
|
|
774
832
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
@@ -776,11 +834,11 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
776
834
|
id: z.ZodString;
|
|
777
835
|
name: z.ZodString;
|
|
778
836
|
}, "strip", z.ZodTypeAny, {
|
|
779
|
-
id: string;
|
|
780
837
|
name: string;
|
|
781
|
-
}, {
|
|
782
838
|
id: string;
|
|
839
|
+
}, {
|
|
783
840
|
name: string;
|
|
841
|
+
id: string;
|
|
784
842
|
}>, "many">>;
|
|
785
843
|
isTrigger: z.ZodBoolean;
|
|
786
844
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -800,10 +858,10 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
800
858
|
status: z.ZodEnum<["success", "error", "listening"]>;
|
|
801
859
|
error: z.ZodOptional<z.ZodString>;
|
|
802
860
|
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
status: "
|
|
861
|
+
status: "error" | "success" | "listening";
|
|
804
862
|
error?: string | undefined;
|
|
805
863
|
}, {
|
|
806
|
-
status: "
|
|
864
|
+
status: "error" | "success" | "listening";
|
|
807
865
|
error?: string | undefined;
|
|
808
866
|
}>>;
|
|
809
867
|
parameterIssues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -852,33 +910,37 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
852
910
|
id: z.ZodString;
|
|
853
911
|
}, "strip", z.ZodTypeAny, {
|
|
854
912
|
type: string;
|
|
855
|
-
id: string;
|
|
856
913
|
name: string;
|
|
914
|
+
id: string;
|
|
857
915
|
typeVersion: number;
|
|
858
916
|
}, {
|
|
859
917
|
type: string;
|
|
860
|
-
id: string;
|
|
861
918
|
name: string;
|
|
919
|
+
id: string;
|
|
862
920
|
typeVersion: number;
|
|
863
921
|
}>>;
|
|
864
922
|
}, "strip", z.ZodTypeAny, {
|
|
865
923
|
node: {
|
|
866
924
|
type: string;
|
|
867
|
-
id: string;
|
|
868
925
|
name: string;
|
|
926
|
+
id: string;
|
|
869
927
|
typeVersion: number;
|
|
870
928
|
parameters: Record<string, unknown>;
|
|
871
929
|
position: [number, number];
|
|
872
930
|
credentials?: Record<string, {
|
|
931
|
+
name: string;
|
|
873
932
|
id: string;
|
|
933
|
+
} | {
|
|
874
934
|
name: string;
|
|
935
|
+
id: null;
|
|
936
|
+
__aiGatewayManaged: true;
|
|
875
937
|
}> | undefined;
|
|
876
938
|
};
|
|
877
939
|
isTrigger: boolean;
|
|
878
940
|
credentialType?: string | undefined;
|
|
879
941
|
existingCredentials?: {
|
|
880
|
-
id: string;
|
|
881
942
|
name: string;
|
|
943
|
+
id: string;
|
|
882
944
|
}[] | undefined;
|
|
883
945
|
isFirstTrigger?: boolean | undefined;
|
|
884
946
|
isTestable?: boolean | undefined;
|
|
@@ -888,7 +950,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
888
950
|
message?: string | undefined;
|
|
889
951
|
} | undefined;
|
|
890
952
|
triggerTestResult?: {
|
|
891
|
-
status: "
|
|
953
|
+
status: "error" | "success" | "listening";
|
|
892
954
|
error?: string | undefined;
|
|
893
955
|
} | undefined;
|
|
894
956
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -906,28 +968,32 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
906
968
|
needsAction?: boolean | undefined;
|
|
907
969
|
subnodeRootNode?: {
|
|
908
970
|
type: string;
|
|
909
|
-
id: string;
|
|
910
971
|
name: string;
|
|
972
|
+
id: string;
|
|
911
973
|
typeVersion: number;
|
|
912
974
|
} | undefined;
|
|
913
975
|
}, {
|
|
914
976
|
node: {
|
|
915
977
|
type: string;
|
|
916
|
-
id: string;
|
|
917
978
|
name: string;
|
|
979
|
+
id: string;
|
|
918
980
|
typeVersion: number;
|
|
919
981
|
parameters: Record<string, unknown>;
|
|
920
982
|
position: [number, number];
|
|
921
983
|
credentials?: Record<string, {
|
|
984
|
+
name: string;
|
|
922
985
|
id: string;
|
|
986
|
+
} | {
|
|
923
987
|
name: string;
|
|
988
|
+
id: null;
|
|
989
|
+
__aiGatewayManaged: true;
|
|
924
990
|
}> | undefined;
|
|
925
991
|
};
|
|
926
992
|
isTrigger: boolean;
|
|
927
993
|
credentialType?: string | undefined;
|
|
928
994
|
existingCredentials?: {
|
|
929
|
-
id: string;
|
|
930
995
|
name: string;
|
|
996
|
+
id: string;
|
|
931
997
|
}[] | undefined;
|
|
932
998
|
isFirstTrigger?: boolean | undefined;
|
|
933
999
|
isTestable?: boolean | undefined;
|
|
@@ -937,7 +1003,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
937
1003
|
message?: string | undefined;
|
|
938
1004
|
} | undefined;
|
|
939
1005
|
triggerTestResult?: {
|
|
940
|
-
status: "
|
|
1006
|
+
status: "error" | "success" | "listening";
|
|
941
1007
|
error?: string | undefined;
|
|
942
1008
|
} | undefined;
|
|
943
1009
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -955,8 +1021,8 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
955
1021
|
needsAction?: boolean | undefined;
|
|
956
1022
|
subnodeRootNode?: {
|
|
957
1023
|
type: string;
|
|
958
|
-
id: string;
|
|
959
1024
|
name: string;
|
|
1025
|
+
id: string;
|
|
960
1026
|
typeVersion: number;
|
|
961
1027
|
} | undefined;
|
|
962
1028
|
}>, "many">>;
|
|
@@ -968,27 +1034,27 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
968
1034
|
} & {
|
|
969
1035
|
options: z.ZodArray<z.ZodEnum<["denyOnce", "allowOnce", "allowForSession"]>, "many">;
|
|
970
1036
|
}, "strip", z.ZodTypeAny, {
|
|
971
|
-
description: string;
|
|
972
1037
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
1038
|
+
description: string;
|
|
973
1039
|
toolGroup: string;
|
|
974
1040
|
resource: string;
|
|
975
1041
|
}, {
|
|
976
|
-
description: string;
|
|
977
1042
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
1043
|
+
description: string;
|
|
978
1044
|
toolGroup: string;
|
|
979
1045
|
resource: string;
|
|
980
1046
|
}>>;
|
|
981
1047
|
}, "strip", z.ZodTypeAny, {
|
|
982
1048
|
message: string;
|
|
983
1049
|
toolCallId: string;
|
|
984
|
-
requestId: string;
|
|
985
1050
|
toolName: string;
|
|
986
1051
|
args: Record<string, unknown>;
|
|
987
|
-
|
|
1052
|
+
requestId: string;
|
|
1053
|
+
severity: "info" | "destructive" | "warning";
|
|
988
1054
|
tasks?: {
|
|
989
1055
|
tasks: {
|
|
1056
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
990
1057
|
description: string;
|
|
991
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
992
1058
|
id: string;
|
|
993
1059
|
detail?: string | undefined;
|
|
994
1060
|
}[];
|
|
@@ -1009,8 +1075,8 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1009
1075
|
credentialType: string;
|
|
1010
1076
|
reason: string;
|
|
1011
1077
|
existingCredentials: {
|
|
1012
|
-
id: string;
|
|
1013
1078
|
name: string;
|
|
1079
|
+
id: string;
|
|
1014
1080
|
}[];
|
|
1015
1081
|
suggestedName?: string | undefined;
|
|
1016
1082
|
}[] | undefined;
|
|
@@ -1036,21 +1102,25 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1036
1102
|
setupRequests?: {
|
|
1037
1103
|
node: {
|
|
1038
1104
|
type: string;
|
|
1039
|
-
id: string;
|
|
1040
1105
|
name: string;
|
|
1106
|
+
id: string;
|
|
1041
1107
|
typeVersion: number;
|
|
1042
1108
|
parameters: Record<string, unknown>;
|
|
1043
1109
|
position: [number, number];
|
|
1044
1110
|
credentials?: Record<string, {
|
|
1111
|
+
name: string;
|
|
1045
1112
|
id: string;
|
|
1113
|
+
} | {
|
|
1046
1114
|
name: string;
|
|
1115
|
+
id: null;
|
|
1116
|
+
__aiGatewayManaged: true;
|
|
1047
1117
|
}> | undefined;
|
|
1048
1118
|
};
|
|
1049
1119
|
isTrigger: boolean;
|
|
1050
1120
|
credentialType?: string | undefined;
|
|
1051
1121
|
existingCredentials?: {
|
|
1052
|
-
id: string;
|
|
1053
1122
|
name: string;
|
|
1123
|
+
id: string;
|
|
1054
1124
|
}[] | undefined;
|
|
1055
1125
|
isFirstTrigger?: boolean | undefined;
|
|
1056
1126
|
isTestable?: boolean | undefined;
|
|
@@ -1060,7 +1130,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1060
1130
|
message?: string | undefined;
|
|
1061
1131
|
} | undefined;
|
|
1062
1132
|
triggerTestResult?: {
|
|
1063
|
-
status: "
|
|
1133
|
+
status: "error" | "success" | "listening";
|
|
1064
1134
|
error?: string | undefined;
|
|
1065
1135
|
} | undefined;
|
|
1066
1136
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -1078,28 +1148,28 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1078
1148
|
needsAction?: boolean | undefined;
|
|
1079
1149
|
subnodeRootNode?: {
|
|
1080
1150
|
type: string;
|
|
1081
|
-
id: string;
|
|
1082
1151
|
name: string;
|
|
1152
|
+
id: string;
|
|
1083
1153
|
typeVersion: number;
|
|
1084
1154
|
} | undefined;
|
|
1085
1155
|
}[] | undefined;
|
|
1086
1156
|
resourceDecision?: {
|
|
1087
|
-
description: string;
|
|
1088
1157
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
1158
|
+
description: string;
|
|
1089
1159
|
toolGroup: string;
|
|
1090
1160
|
resource: string;
|
|
1091
1161
|
} | undefined;
|
|
1092
1162
|
}, {
|
|
1093
1163
|
message: string;
|
|
1094
1164
|
toolCallId: string;
|
|
1095
|
-
requestId: string;
|
|
1096
1165
|
toolName: string;
|
|
1097
1166
|
args: Record<string, unknown>;
|
|
1098
|
-
|
|
1167
|
+
requestId: string;
|
|
1168
|
+
severity: "info" | "destructive" | "warning";
|
|
1099
1169
|
tasks?: {
|
|
1100
1170
|
tasks: {
|
|
1171
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1101
1172
|
description: string;
|
|
1102
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1103
1173
|
id: string;
|
|
1104
1174
|
detail?: string | undefined;
|
|
1105
1175
|
}[];
|
|
@@ -1120,8 +1190,8 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1120
1190
|
credentialType: string;
|
|
1121
1191
|
reason: string;
|
|
1122
1192
|
existingCredentials: {
|
|
1123
|
-
id: string;
|
|
1124
1193
|
name: string;
|
|
1194
|
+
id: string;
|
|
1125
1195
|
}[];
|
|
1126
1196
|
suggestedName?: string | undefined;
|
|
1127
1197
|
}[] | undefined;
|
|
@@ -1147,21 +1217,25 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1147
1217
|
setupRequests?: {
|
|
1148
1218
|
node: {
|
|
1149
1219
|
type: string;
|
|
1150
|
-
id: string;
|
|
1151
1220
|
name: string;
|
|
1221
|
+
id: string;
|
|
1152
1222
|
typeVersion: number;
|
|
1153
1223
|
parameters: Record<string, unknown>;
|
|
1154
1224
|
position: [number, number];
|
|
1155
1225
|
credentials?: Record<string, {
|
|
1226
|
+
name: string;
|
|
1156
1227
|
id: string;
|
|
1228
|
+
} | {
|
|
1157
1229
|
name: string;
|
|
1230
|
+
id: null;
|
|
1231
|
+
__aiGatewayManaged: true;
|
|
1158
1232
|
}> | undefined;
|
|
1159
1233
|
};
|
|
1160
1234
|
isTrigger: boolean;
|
|
1161
1235
|
credentialType?: string | undefined;
|
|
1162
1236
|
existingCredentials?: {
|
|
1163
|
-
id: string;
|
|
1164
1237
|
name: string;
|
|
1238
|
+
id: string;
|
|
1165
1239
|
}[] | undefined;
|
|
1166
1240
|
isFirstTrigger?: boolean | undefined;
|
|
1167
1241
|
isTestable?: boolean | undefined;
|
|
@@ -1171,7 +1245,7 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1171
1245
|
message?: string | undefined;
|
|
1172
1246
|
} | undefined;
|
|
1173
1247
|
triggerTestResult?: {
|
|
1174
|
-
status: "
|
|
1248
|
+
status: "error" | "success" | "listening";
|
|
1175
1249
|
error?: string | undefined;
|
|
1176
1250
|
} | undefined;
|
|
1177
1251
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -1189,14 +1263,14 @@ export declare const confirmationRequestPayloadSchema: z.ZodObject<{
|
|
|
1189
1263
|
needsAction?: boolean | undefined;
|
|
1190
1264
|
subnodeRootNode?: {
|
|
1191
1265
|
type: string;
|
|
1192
|
-
id: string;
|
|
1193
1266
|
name: string;
|
|
1267
|
+
id: string;
|
|
1194
1268
|
typeVersion: number;
|
|
1195
1269
|
} | undefined;
|
|
1196
1270
|
}[] | undefined;
|
|
1197
1271
|
resourceDecision?: {
|
|
1198
|
-
description: string;
|
|
1199
1272
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
1273
|
+
description: string;
|
|
1200
1274
|
toolGroup: string;
|
|
1201
1275
|
resource: string;
|
|
1202
1276
|
} | undefined;
|
|
@@ -1497,12 +1571,12 @@ export declare const toolCategorySchema: z.ZodObject<{
|
|
|
1497
1571
|
enabled: z.ZodBoolean;
|
|
1498
1572
|
writeAccess: z.ZodOptional<z.ZodBoolean>;
|
|
1499
1573
|
}, "strip", z.ZodTypeAny, {
|
|
1500
|
-
enabled: boolean;
|
|
1501
1574
|
name: string;
|
|
1575
|
+
enabled: boolean;
|
|
1502
1576
|
writeAccess?: boolean | undefined;
|
|
1503
1577
|
}, {
|
|
1504
|
-
enabled: boolean;
|
|
1505
1578
|
name: string;
|
|
1579
|
+
enabled: boolean;
|
|
1506
1580
|
writeAccess?: boolean | undefined;
|
|
1507
1581
|
}>;
|
|
1508
1582
|
export type ToolCategory = z.infer<typeof toolCategorySchema>;
|
|
@@ -1537,8 +1611,8 @@ declare const InstanceAiGatewayCapabilitiesDto_base: import("../zod-class").ZodC
|
|
|
1537
1611
|
}[];
|
|
1538
1612
|
rootPath: string;
|
|
1539
1613
|
toolCategories: {
|
|
1540
|
-
enabled: boolean;
|
|
1541
1614
|
name: string;
|
|
1615
|
+
enabled: boolean;
|
|
1542
1616
|
writeAccess?: boolean | undefined;
|
|
1543
1617
|
}[];
|
|
1544
1618
|
hostIdentifier?: string | undefined;
|
|
@@ -1692,12 +1766,12 @@ declare const InstanceAiGatewayCapabilitiesDto_base: import("../zod-class").ZodC
|
|
|
1692
1766
|
enabled: z.ZodBoolean;
|
|
1693
1767
|
writeAccess: z.ZodOptional<z.ZodBoolean>;
|
|
1694
1768
|
}, "strip", z.ZodTypeAny, {
|
|
1695
|
-
enabled: boolean;
|
|
1696
1769
|
name: string;
|
|
1770
|
+
enabled: boolean;
|
|
1697
1771
|
writeAccess?: boolean | undefined;
|
|
1698
1772
|
}, {
|
|
1699
|
-
enabled: boolean;
|
|
1700
1773
|
name: string;
|
|
1774
|
+
enabled: boolean;
|
|
1701
1775
|
writeAccess?: boolean | undefined;
|
|
1702
1776
|
}>, "many">>;
|
|
1703
1777
|
}>;
|
|
@@ -1877,27 +1951,27 @@ export declare const tasksUpdatePayloadSchema: z.ZodObject<{
|
|
|
1877
1951
|
detail: z.ZodOptional<z.ZodString>;
|
|
1878
1952
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
1879
1953
|
}, "strip", z.ZodTypeAny, {
|
|
1954
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1880
1955
|
description: string;
|
|
1881
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1882
1956
|
id: string;
|
|
1883
1957
|
detail?: string | undefined;
|
|
1884
1958
|
}, {
|
|
1959
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1885
1960
|
description: string;
|
|
1886
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1887
1961
|
id: string;
|
|
1888
1962
|
detail?: string | undefined;
|
|
1889
1963
|
}>, "many">;
|
|
1890
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1891
1965
|
tasks: {
|
|
1966
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1892
1967
|
description: string;
|
|
1893
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1894
1968
|
id: string;
|
|
1895
1969
|
detail?: string | undefined;
|
|
1896
1970
|
}[];
|
|
1897
1971
|
}, {
|
|
1898
1972
|
tasks: {
|
|
1973
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1899
1974
|
description: string;
|
|
1900
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1901
1975
|
id: string;
|
|
1902
1976
|
detail?: string | undefined;
|
|
1903
1977
|
}[];
|
|
@@ -1933,8 +2007,8 @@ export declare const tasksUpdatePayloadSchema: z.ZodObject<{
|
|
|
1933
2007
|
}, "strip", z.ZodTypeAny, {
|
|
1934
2008
|
tasks: {
|
|
1935
2009
|
tasks: {
|
|
2010
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1936
2011
|
description: string;
|
|
1937
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1938
2012
|
id: string;
|
|
1939
2013
|
detail?: string | undefined;
|
|
1940
2014
|
}[];
|
|
@@ -1952,8 +2026,8 @@ export declare const tasksUpdatePayloadSchema: z.ZodObject<{
|
|
|
1952
2026
|
}, {
|
|
1953
2027
|
tasks: {
|
|
1954
2028
|
tasks: {
|
|
2029
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
1955
2030
|
description: string;
|
|
1956
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
1957
2031
|
id: string;
|
|
1958
2032
|
detail?: string | undefined;
|
|
1959
2033
|
}[];
|
|
@@ -2023,11 +2097,11 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2023
2097
|
reason: z.ZodOptional<z.ZodString>;
|
|
2024
2098
|
archivedWorkflowIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2025
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2026
|
-
status: "
|
|
2100
|
+
status: "error" | "cancelled" | "completed";
|
|
2027
2101
|
reason?: string | undefined;
|
|
2028
2102
|
archivedWorkflowIds?: string[] | undefined;
|
|
2029
2103
|
}, {
|
|
2030
|
-
status: "
|
|
2104
|
+
status: "error" | "cancelled" | "completed";
|
|
2031
2105
|
reason?: string | undefined;
|
|
2032
2106
|
archivedWorkflowIds?: string[] | undefined;
|
|
2033
2107
|
}>;
|
|
@@ -2041,7 +2115,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2041
2115
|
agentId: string;
|
|
2042
2116
|
runId: string;
|
|
2043
2117
|
payload: {
|
|
2044
|
-
status: "
|
|
2118
|
+
status: "error" | "cancelled" | "completed";
|
|
2045
2119
|
reason?: string | undefined;
|
|
2046
2120
|
archivedWorkflowIds?: string[] | undefined;
|
|
2047
2121
|
};
|
|
@@ -2052,7 +2126,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2052
2126
|
agentId: string;
|
|
2053
2127
|
runId: string;
|
|
2054
2128
|
payload: {
|
|
2055
|
-
status: "
|
|
2129
|
+
status: "error" | "cancelled" | "completed";
|
|
2056
2130
|
reason?: string | undefined;
|
|
2057
2131
|
archivedWorkflowIds?: string[] | undefined;
|
|
2058
2132
|
};
|
|
@@ -2074,40 +2148,40 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2074
2148
|
name: z.ZodOptional<z.ZodString>;
|
|
2075
2149
|
}, "strip", z.ZodTypeAny, {
|
|
2076
2150
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2077
|
-
id?: string | undefined;
|
|
2078
2151
|
name?: string | undefined;
|
|
2152
|
+
id?: string | undefined;
|
|
2079
2153
|
}, {
|
|
2080
2154
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2081
|
-
id?: string | undefined;
|
|
2082
2155
|
name?: string | undefined;
|
|
2156
|
+
id?: string | undefined;
|
|
2083
2157
|
}>>;
|
|
2084
2158
|
}, "strip", z.ZodTypeAny, {
|
|
2085
2159
|
tools: string[];
|
|
2086
2160
|
role: string;
|
|
2087
2161
|
parentId: string;
|
|
2088
2162
|
title?: string | undefined;
|
|
2089
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2090
2163
|
taskId?: string | undefined;
|
|
2164
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2091
2165
|
subtitle?: string | undefined;
|
|
2092
2166
|
goal?: string | undefined;
|
|
2093
2167
|
targetResource?: {
|
|
2094
2168
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2095
|
-
id?: string | undefined;
|
|
2096
2169
|
name?: string | undefined;
|
|
2170
|
+
id?: string | undefined;
|
|
2097
2171
|
} | undefined;
|
|
2098
2172
|
}, {
|
|
2099
2173
|
tools: string[];
|
|
2100
2174
|
role: string;
|
|
2101
2175
|
parentId: string;
|
|
2102
2176
|
title?: string | undefined;
|
|
2103
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2104
2177
|
taskId?: string | undefined;
|
|
2178
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2105
2179
|
subtitle?: string | undefined;
|
|
2106
2180
|
goal?: string | undefined;
|
|
2107
2181
|
targetResource?: {
|
|
2108
2182
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2109
|
-
id?: string | undefined;
|
|
2110
2183
|
name?: string | undefined;
|
|
2184
|
+
id?: string | undefined;
|
|
2111
2185
|
} | undefined;
|
|
2112
2186
|
}>;
|
|
2113
2187
|
runId: z.ZodString;
|
|
@@ -2124,14 +2198,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2124
2198
|
role: string;
|
|
2125
2199
|
parentId: string;
|
|
2126
2200
|
title?: string | undefined;
|
|
2127
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2128
2201
|
taskId?: string | undefined;
|
|
2202
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2129
2203
|
subtitle?: string | undefined;
|
|
2130
2204
|
goal?: string | undefined;
|
|
2131
2205
|
targetResource?: {
|
|
2132
2206
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2133
|
-
id?: string | undefined;
|
|
2134
2207
|
name?: string | undefined;
|
|
2208
|
+
id?: string | undefined;
|
|
2135
2209
|
} | undefined;
|
|
2136
2210
|
};
|
|
2137
2211
|
userId?: string | undefined;
|
|
@@ -2145,14 +2219,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2145
2219
|
role: string;
|
|
2146
2220
|
parentId: string;
|
|
2147
2221
|
title?: string | undefined;
|
|
2148
|
-
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2149
2222
|
taskId?: string | undefined;
|
|
2223
|
+
kind?: "builder" | "data-table" | "delegate" | "planner" | "eval-setup" | undefined;
|
|
2150
2224
|
subtitle?: string | undefined;
|
|
2151
2225
|
goal?: string | undefined;
|
|
2152
2226
|
targetResource?: {
|
|
2153
2227
|
type: "credential" | "workflow" | "other" | "data-table";
|
|
2154
|
-
id?: string | undefined;
|
|
2155
2228
|
name?: string | undefined;
|
|
2229
|
+
id?: string | undefined;
|
|
2156
2230
|
} | undefined;
|
|
2157
2231
|
};
|
|
2158
2232
|
userId?: string | undefined;
|
|
@@ -2389,27 +2463,27 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2389
2463
|
id: z.ZodString;
|
|
2390
2464
|
name: z.ZodString;
|
|
2391
2465
|
}, "strip", z.ZodTypeAny, {
|
|
2392
|
-
id: string;
|
|
2393
2466
|
name: string;
|
|
2394
|
-
}, {
|
|
2395
2467
|
id: string;
|
|
2468
|
+
}, {
|
|
2396
2469
|
name: string;
|
|
2470
|
+
id: string;
|
|
2397
2471
|
}>, "many">;
|
|
2398
2472
|
suggestedName: z.ZodOptional<z.ZodString>;
|
|
2399
2473
|
}, "strip", z.ZodTypeAny, {
|
|
2400
2474
|
credentialType: string;
|
|
2401
2475
|
reason: string;
|
|
2402
2476
|
existingCredentials: {
|
|
2403
|
-
id: string;
|
|
2404
2477
|
name: string;
|
|
2478
|
+
id: string;
|
|
2405
2479
|
}[];
|
|
2406
2480
|
suggestedName?: string | undefined;
|
|
2407
2481
|
}, {
|
|
2408
2482
|
credentialType: string;
|
|
2409
2483
|
reason: string;
|
|
2410
2484
|
existingCredentials: {
|
|
2411
|
-
id: string;
|
|
2412
2485
|
name: string;
|
|
2486
|
+
id: string;
|
|
2413
2487
|
}[];
|
|
2414
2488
|
suggestedName?: string | undefined;
|
|
2415
2489
|
}>, "many">>;
|
|
@@ -2439,27 +2513,27 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2439
2513
|
detail: z.ZodOptional<z.ZodString>;
|
|
2440
2514
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
2441
2515
|
}, "strip", z.ZodTypeAny, {
|
|
2516
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2442
2517
|
description: string;
|
|
2443
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2444
2518
|
id: string;
|
|
2445
2519
|
detail?: string | undefined;
|
|
2446
2520
|
}, {
|
|
2521
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2447
2522
|
description: string;
|
|
2448
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2449
2523
|
id: string;
|
|
2450
2524
|
detail?: string | undefined;
|
|
2451
2525
|
}>, "many">;
|
|
2452
2526
|
}, "strip", z.ZodTypeAny, {
|
|
2453
2527
|
tasks: {
|
|
2528
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2454
2529
|
description: string;
|
|
2455
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2456
2530
|
id: string;
|
|
2457
2531
|
detail?: string | undefined;
|
|
2458
2532
|
}[];
|
|
2459
2533
|
}, {
|
|
2460
2534
|
tasks: {
|
|
2535
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2461
2536
|
description: string;
|
|
2462
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2463
2537
|
id: string;
|
|
2464
2538
|
detail?: string | undefined;
|
|
2465
2539
|
}[];
|
|
@@ -2522,39 +2596,59 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2522
2596
|
type: z.ZodString;
|
|
2523
2597
|
typeVersion: z.ZodNumber;
|
|
2524
2598
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2525
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2599
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
2526
2600
|
id: z.ZodString;
|
|
2527
2601
|
name: z.ZodString;
|
|
2528
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2529
|
-
id: string;
|
|
2530
2603
|
name: string;
|
|
2604
|
+
id: string;
|
|
2531
2605
|
}, {
|
|
2606
|
+
name: string;
|
|
2532
2607
|
id: string;
|
|
2608
|
+
}>, z.ZodObject<{
|
|
2609
|
+
id: z.ZodNull;
|
|
2610
|
+
name: z.ZodString;
|
|
2611
|
+
__aiGatewayManaged: z.ZodLiteral<true>;
|
|
2612
|
+
}, "strip", z.ZodTypeAny, {
|
|
2533
2613
|
name: string;
|
|
2534
|
-
|
|
2614
|
+
id: null;
|
|
2615
|
+
__aiGatewayManaged: true;
|
|
2616
|
+
}, {
|
|
2617
|
+
name: string;
|
|
2618
|
+
id: null;
|
|
2619
|
+
__aiGatewayManaged: true;
|
|
2620
|
+
}>]>>>;
|
|
2535
2621
|
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
2536
2622
|
id: z.ZodString;
|
|
2537
2623
|
}, "strip", z.ZodTypeAny, {
|
|
2538
2624
|
type: string;
|
|
2539
|
-
id: string;
|
|
2540
2625
|
name: string;
|
|
2626
|
+
id: string;
|
|
2541
2627
|
typeVersion: number;
|
|
2542
2628
|
parameters: Record<string, unknown>;
|
|
2543
2629
|
position: [number, number];
|
|
2544
2630
|
credentials?: Record<string, {
|
|
2631
|
+
name: string;
|
|
2545
2632
|
id: string;
|
|
2633
|
+
} | {
|
|
2546
2634
|
name: string;
|
|
2635
|
+
id: null;
|
|
2636
|
+
__aiGatewayManaged: true;
|
|
2547
2637
|
}> | undefined;
|
|
2548
2638
|
}, {
|
|
2549
2639
|
type: string;
|
|
2550
|
-
id: string;
|
|
2551
2640
|
name: string;
|
|
2641
|
+
id: string;
|
|
2552
2642
|
typeVersion: number;
|
|
2553
2643
|
parameters: Record<string, unknown>;
|
|
2554
2644
|
position: [number, number];
|
|
2555
2645
|
credentials?: Record<string, {
|
|
2646
|
+
name: string;
|
|
2556
2647
|
id: string;
|
|
2648
|
+
} | {
|
|
2557
2649
|
name: string;
|
|
2650
|
+
id: null;
|
|
2651
|
+
__aiGatewayManaged: true;
|
|
2558
2652
|
}> | undefined;
|
|
2559
2653
|
}>;
|
|
2560
2654
|
credentialType: z.ZodOptional<z.ZodString>;
|
|
@@ -2562,11 +2656,11 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2562
2656
|
id: z.ZodString;
|
|
2563
2657
|
name: z.ZodString;
|
|
2564
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2565
|
-
id: string;
|
|
2566
2659
|
name: string;
|
|
2567
|
-
}, {
|
|
2568
2660
|
id: string;
|
|
2661
|
+
}, {
|
|
2569
2662
|
name: string;
|
|
2663
|
+
id: string;
|
|
2570
2664
|
}>, "many">>;
|
|
2571
2665
|
isTrigger: z.ZodBoolean;
|
|
2572
2666
|
isFirstTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2586,10 +2680,10 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2586
2680
|
status: z.ZodEnum<["success", "error", "listening"]>;
|
|
2587
2681
|
error: z.ZodOptional<z.ZodString>;
|
|
2588
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2589
|
-
status: "
|
|
2683
|
+
status: "error" | "success" | "listening";
|
|
2590
2684
|
error?: string | undefined;
|
|
2591
2685
|
}, {
|
|
2592
|
-
status: "
|
|
2686
|
+
status: "error" | "success" | "listening";
|
|
2593
2687
|
error?: string | undefined;
|
|
2594
2688
|
}>>;
|
|
2595
2689
|
parameterIssues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -2638,33 +2732,37 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2638
2732
|
id: z.ZodString;
|
|
2639
2733
|
}, "strip", z.ZodTypeAny, {
|
|
2640
2734
|
type: string;
|
|
2641
|
-
id: string;
|
|
2642
2735
|
name: string;
|
|
2736
|
+
id: string;
|
|
2643
2737
|
typeVersion: number;
|
|
2644
2738
|
}, {
|
|
2645
2739
|
type: string;
|
|
2646
|
-
id: string;
|
|
2647
2740
|
name: string;
|
|
2741
|
+
id: string;
|
|
2648
2742
|
typeVersion: number;
|
|
2649
2743
|
}>>;
|
|
2650
2744
|
}, "strip", z.ZodTypeAny, {
|
|
2651
2745
|
node: {
|
|
2652
2746
|
type: string;
|
|
2653
|
-
id: string;
|
|
2654
2747
|
name: string;
|
|
2748
|
+
id: string;
|
|
2655
2749
|
typeVersion: number;
|
|
2656
2750
|
parameters: Record<string, unknown>;
|
|
2657
2751
|
position: [number, number];
|
|
2658
2752
|
credentials?: Record<string, {
|
|
2753
|
+
name: string;
|
|
2659
2754
|
id: string;
|
|
2755
|
+
} | {
|
|
2660
2756
|
name: string;
|
|
2757
|
+
id: null;
|
|
2758
|
+
__aiGatewayManaged: true;
|
|
2661
2759
|
}> | undefined;
|
|
2662
2760
|
};
|
|
2663
2761
|
isTrigger: boolean;
|
|
2664
2762
|
credentialType?: string | undefined;
|
|
2665
2763
|
existingCredentials?: {
|
|
2666
|
-
id: string;
|
|
2667
2764
|
name: string;
|
|
2765
|
+
id: string;
|
|
2668
2766
|
}[] | undefined;
|
|
2669
2767
|
isFirstTrigger?: boolean | undefined;
|
|
2670
2768
|
isTestable?: boolean | undefined;
|
|
@@ -2674,7 +2772,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2674
2772
|
message?: string | undefined;
|
|
2675
2773
|
} | undefined;
|
|
2676
2774
|
triggerTestResult?: {
|
|
2677
|
-
status: "
|
|
2775
|
+
status: "error" | "success" | "listening";
|
|
2678
2776
|
error?: string | undefined;
|
|
2679
2777
|
} | undefined;
|
|
2680
2778
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -2692,28 +2790,32 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2692
2790
|
needsAction?: boolean | undefined;
|
|
2693
2791
|
subnodeRootNode?: {
|
|
2694
2792
|
type: string;
|
|
2695
|
-
id: string;
|
|
2696
2793
|
name: string;
|
|
2794
|
+
id: string;
|
|
2697
2795
|
typeVersion: number;
|
|
2698
2796
|
} | undefined;
|
|
2699
2797
|
}, {
|
|
2700
2798
|
node: {
|
|
2701
2799
|
type: string;
|
|
2702
|
-
id: string;
|
|
2703
2800
|
name: string;
|
|
2801
|
+
id: string;
|
|
2704
2802
|
typeVersion: number;
|
|
2705
2803
|
parameters: Record<string, unknown>;
|
|
2706
2804
|
position: [number, number];
|
|
2707
2805
|
credentials?: Record<string, {
|
|
2806
|
+
name: string;
|
|
2708
2807
|
id: string;
|
|
2808
|
+
} | {
|
|
2709
2809
|
name: string;
|
|
2810
|
+
id: null;
|
|
2811
|
+
__aiGatewayManaged: true;
|
|
2710
2812
|
}> | undefined;
|
|
2711
2813
|
};
|
|
2712
2814
|
isTrigger: boolean;
|
|
2713
2815
|
credentialType?: string | undefined;
|
|
2714
2816
|
existingCredentials?: {
|
|
2715
|
-
id: string;
|
|
2716
2817
|
name: string;
|
|
2818
|
+
id: string;
|
|
2717
2819
|
}[] | undefined;
|
|
2718
2820
|
isFirstTrigger?: boolean | undefined;
|
|
2719
2821
|
isTestable?: boolean | undefined;
|
|
@@ -2723,7 +2825,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2723
2825
|
message?: string | undefined;
|
|
2724
2826
|
} | undefined;
|
|
2725
2827
|
triggerTestResult?: {
|
|
2726
|
-
status: "
|
|
2828
|
+
status: "error" | "success" | "listening";
|
|
2727
2829
|
error?: string | undefined;
|
|
2728
2830
|
} | undefined;
|
|
2729
2831
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -2741,8 +2843,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2741
2843
|
needsAction?: boolean | undefined;
|
|
2742
2844
|
subnodeRootNode?: {
|
|
2743
2845
|
type: string;
|
|
2744
|
-
id: string;
|
|
2745
2846
|
name: string;
|
|
2847
|
+
id: string;
|
|
2746
2848
|
typeVersion: number;
|
|
2747
2849
|
} | undefined;
|
|
2748
2850
|
}>, "many">>;
|
|
@@ -2754,27 +2856,27 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2754
2856
|
} & {
|
|
2755
2857
|
options: z.ZodArray<z.ZodEnum<["denyOnce", "allowOnce", "allowForSession"]>, "many">;
|
|
2756
2858
|
}, "strip", z.ZodTypeAny, {
|
|
2757
|
-
description: string;
|
|
2758
2859
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
2860
|
+
description: string;
|
|
2759
2861
|
toolGroup: string;
|
|
2760
2862
|
resource: string;
|
|
2761
2863
|
}, {
|
|
2762
|
-
description: string;
|
|
2763
2864
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
2865
|
+
description: string;
|
|
2764
2866
|
toolGroup: string;
|
|
2765
2867
|
resource: string;
|
|
2766
2868
|
}>>;
|
|
2767
2869
|
}, "strip", z.ZodTypeAny, {
|
|
2768
2870
|
message: string;
|
|
2769
2871
|
toolCallId: string;
|
|
2770
|
-
requestId: string;
|
|
2771
2872
|
toolName: string;
|
|
2772
2873
|
args: Record<string, unknown>;
|
|
2773
|
-
|
|
2874
|
+
requestId: string;
|
|
2875
|
+
severity: "info" | "destructive" | "warning";
|
|
2774
2876
|
tasks?: {
|
|
2775
2877
|
tasks: {
|
|
2878
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2776
2879
|
description: string;
|
|
2777
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2778
2880
|
id: string;
|
|
2779
2881
|
detail?: string | undefined;
|
|
2780
2882
|
}[];
|
|
@@ -2795,8 +2897,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2795
2897
|
credentialType: string;
|
|
2796
2898
|
reason: string;
|
|
2797
2899
|
existingCredentials: {
|
|
2798
|
-
id: string;
|
|
2799
2900
|
name: string;
|
|
2901
|
+
id: string;
|
|
2800
2902
|
}[];
|
|
2801
2903
|
suggestedName?: string | undefined;
|
|
2802
2904
|
}[] | undefined;
|
|
@@ -2822,21 +2924,25 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2822
2924
|
setupRequests?: {
|
|
2823
2925
|
node: {
|
|
2824
2926
|
type: string;
|
|
2825
|
-
id: string;
|
|
2826
2927
|
name: string;
|
|
2928
|
+
id: string;
|
|
2827
2929
|
typeVersion: number;
|
|
2828
2930
|
parameters: Record<string, unknown>;
|
|
2829
2931
|
position: [number, number];
|
|
2830
2932
|
credentials?: Record<string, {
|
|
2933
|
+
name: string;
|
|
2831
2934
|
id: string;
|
|
2935
|
+
} | {
|
|
2832
2936
|
name: string;
|
|
2937
|
+
id: null;
|
|
2938
|
+
__aiGatewayManaged: true;
|
|
2833
2939
|
}> | undefined;
|
|
2834
2940
|
};
|
|
2835
2941
|
isTrigger: boolean;
|
|
2836
2942
|
credentialType?: string | undefined;
|
|
2837
2943
|
existingCredentials?: {
|
|
2838
|
-
id: string;
|
|
2839
2944
|
name: string;
|
|
2945
|
+
id: string;
|
|
2840
2946
|
}[] | undefined;
|
|
2841
2947
|
isFirstTrigger?: boolean | undefined;
|
|
2842
2948
|
isTestable?: boolean | undefined;
|
|
@@ -2846,7 +2952,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2846
2952
|
message?: string | undefined;
|
|
2847
2953
|
} | undefined;
|
|
2848
2954
|
triggerTestResult?: {
|
|
2849
|
-
status: "
|
|
2955
|
+
status: "error" | "success" | "listening";
|
|
2850
2956
|
error?: string | undefined;
|
|
2851
2957
|
} | undefined;
|
|
2852
2958
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -2864,28 +2970,28 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2864
2970
|
needsAction?: boolean | undefined;
|
|
2865
2971
|
subnodeRootNode?: {
|
|
2866
2972
|
type: string;
|
|
2867
|
-
id: string;
|
|
2868
2973
|
name: string;
|
|
2974
|
+
id: string;
|
|
2869
2975
|
typeVersion: number;
|
|
2870
2976
|
} | undefined;
|
|
2871
2977
|
}[] | undefined;
|
|
2872
2978
|
resourceDecision?: {
|
|
2873
|
-
description: string;
|
|
2874
2979
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
2980
|
+
description: string;
|
|
2875
2981
|
toolGroup: string;
|
|
2876
2982
|
resource: string;
|
|
2877
2983
|
} | undefined;
|
|
2878
2984
|
}, {
|
|
2879
2985
|
message: string;
|
|
2880
2986
|
toolCallId: string;
|
|
2881
|
-
requestId: string;
|
|
2882
2987
|
toolName: string;
|
|
2883
2988
|
args: Record<string, unknown>;
|
|
2884
|
-
|
|
2989
|
+
requestId: string;
|
|
2990
|
+
severity: "info" | "destructive" | "warning";
|
|
2885
2991
|
tasks?: {
|
|
2886
2992
|
tasks: {
|
|
2993
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
2887
2994
|
description: string;
|
|
2888
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
2889
2995
|
id: string;
|
|
2890
2996
|
detail?: string | undefined;
|
|
2891
2997
|
}[];
|
|
@@ -2906,8 +3012,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2906
3012
|
credentialType: string;
|
|
2907
3013
|
reason: string;
|
|
2908
3014
|
existingCredentials: {
|
|
2909
|
-
id: string;
|
|
2910
3015
|
name: string;
|
|
3016
|
+
id: string;
|
|
2911
3017
|
}[];
|
|
2912
3018
|
suggestedName?: string | undefined;
|
|
2913
3019
|
}[] | undefined;
|
|
@@ -2933,21 +3039,25 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2933
3039
|
setupRequests?: {
|
|
2934
3040
|
node: {
|
|
2935
3041
|
type: string;
|
|
2936
|
-
id: string;
|
|
2937
3042
|
name: string;
|
|
3043
|
+
id: string;
|
|
2938
3044
|
typeVersion: number;
|
|
2939
3045
|
parameters: Record<string, unknown>;
|
|
2940
3046
|
position: [number, number];
|
|
2941
3047
|
credentials?: Record<string, {
|
|
3048
|
+
name: string;
|
|
2942
3049
|
id: string;
|
|
3050
|
+
} | {
|
|
2943
3051
|
name: string;
|
|
3052
|
+
id: null;
|
|
3053
|
+
__aiGatewayManaged: true;
|
|
2944
3054
|
}> | undefined;
|
|
2945
3055
|
};
|
|
2946
3056
|
isTrigger: boolean;
|
|
2947
3057
|
credentialType?: string | undefined;
|
|
2948
3058
|
existingCredentials?: {
|
|
2949
|
-
id: string;
|
|
2950
3059
|
name: string;
|
|
3060
|
+
id: string;
|
|
2951
3061
|
}[] | undefined;
|
|
2952
3062
|
isFirstTrigger?: boolean | undefined;
|
|
2953
3063
|
isTestable?: boolean | undefined;
|
|
@@ -2957,7 +3067,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2957
3067
|
message?: string | undefined;
|
|
2958
3068
|
} | undefined;
|
|
2959
3069
|
triggerTestResult?: {
|
|
2960
|
-
status: "
|
|
3070
|
+
status: "error" | "success" | "listening";
|
|
2961
3071
|
error?: string | undefined;
|
|
2962
3072
|
} | undefined;
|
|
2963
3073
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -2975,14 +3085,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2975
3085
|
needsAction?: boolean | undefined;
|
|
2976
3086
|
subnodeRootNode?: {
|
|
2977
3087
|
type: string;
|
|
2978
|
-
id: string;
|
|
2979
3088
|
name: string;
|
|
3089
|
+
id: string;
|
|
2980
3090
|
typeVersion: number;
|
|
2981
3091
|
} | undefined;
|
|
2982
3092
|
}[] | undefined;
|
|
2983
3093
|
resourceDecision?: {
|
|
2984
|
-
description: string;
|
|
2985
3094
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
3095
|
+
description: string;
|
|
2986
3096
|
toolGroup: string;
|
|
2987
3097
|
resource: string;
|
|
2988
3098
|
} | undefined;
|
|
@@ -2999,14 +3109,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
2999
3109
|
payload: {
|
|
3000
3110
|
message: string;
|
|
3001
3111
|
toolCallId: string;
|
|
3002
|
-
requestId: string;
|
|
3003
3112
|
toolName: string;
|
|
3004
3113
|
args: Record<string, unknown>;
|
|
3005
|
-
|
|
3114
|
+
requestId: string;
|
|
3115
|
+
severity: "info" | "destructive" | "warning";
|
|
3006
3116
|
tasks?: {
|
|
3007
3117
|
tasks: {
|
|
3118
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3008
3119
|
description: string;
|
|
3009
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3010
3120
|
id: string;
|
|
3011
3121
|
detail?: string | undefined;
|
|
3012
3122
|
}[];
|
|
@@ -3027,8 +3137,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3027
3137
|
credentialType: string;
|
|
3028
3138
|
reason: string;
|
|
3029
3139
|
existingCredentials: {
|
|
3030
|
-
id: string;
|
|
3031
3140
|
name: string;
|
|
3141
|
+
id: string;
|
|
3032
3142
|
}[];
|
|
3033
3143
|
suggestedName?: string | undefined;
|
|
3034
3144
|
}[] | undefined;
|
|
@@ -3054,21 +3164,25 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3054
3164
|
setupRequests?: {
|
|
3055
3165
|
node: {
|
|
3056
3166
|
type: string;
|
|
3057
|
-
id: string;
|
|
3058
3167
|
name: string;
|
|
3168
|
+
id: string;
|
|
3059
3169
|
typeVersion: number;
|
|
3060
3170
|
parameters: Record<string, unknown>;
|
|
3061
3171
|
position: [number, number];
|
|
3062
3172
|
credentials?: Record<string, {
|
|
3173
|
+
name: string;
|
|
3063
3174
|
id: string;
|
|
3175
|
+
} | {
|
|
3064
3176
|
name: string;
|
|
3177
|
+
id: null;
|
|
3178
|
+
__aiGatewayManaged: true;
|
|
3065
3179
|
}> | undefined;
|
|
3066
3180
|
};
|
|
3067
3181
|
isTrigger: boolean;
|
|
3068
3182
|
credentialType?: string | undefined;
|
|
3069
3183
|
existingCredentials?: {
|
|
3070
|
-
id: string;
|
|
3071
3184
|
name: string;
|
|
3185
|
+
id: string;
|
|
3072
3186
|
}[] | undefined;
|
|
3073
3187
|
isFirstTrigger?: boolean | undefined;
|
|
3074
3188
|
isTestable?: boolean | undefined;
|
|
@@ -3078,7 +3192,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3078
3192
|
message?: string | undefined;
|
|
3079
3193
|
} | undefined;
|
|
3080
3194
|
triggerTestResult?: {
|
|
3081
|
-
status: "
|
|
3195
|
+
status: "error" | "success" | "listening";
|
|
3082
3196
|
error?: string | undefined;
|
|
3083
3197
|
} | undefined;
|
|
3084
3198
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -3096,14 +3210,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3096
3210
|
needsAction?: boolean | undefined;
|
|
3097
3211
|
subnodeRootNode?: {
|
|
3098
3212
|
type: string;
|
|
3099
|
-
id: string;
|
|
3100
3213
|
name: string;
|
|
3214
|
+
id: string;
|
|
3101
3215
|
typeVersion: number;
|
|
3102
3216
|
} | undefined;
|
|
3103
3217
|
}[] | undefined;
|
|
3104
3218
|
resourceDecision?: {
|
|
3105
|
-
description: string;
|
|
3106
3219
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
3220
|
+
description: string;
|
|
3107
3221
|
toolGroup: string;
|
|
3108
3222
|
resource: string;
|
|
3109
3223
|
} | undefined;
|
|
@@ -3117,14 +3231,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3117
3231
|
payload: {
|
|
3118
3232
|
message: string;
|
|
3119
3233
|
toolCallId: string;
|
|
3120
|
-
requestId: string;
|
|
3121
3234
|
toolName: string;
|
|
3122
3235
|
args: Record<string, unknown>;
|
|
3123
|
-
|
|
3236
|
+
requestId: string;
|
|
3237
|
+
severity: "info" | "destructive" | "warning";
|
|
3124
3238
|
tasks?: {
|
|
3125
3239
|
tasks: {
|
|
3240
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3126
3241
|
description: string;
|
|
3127
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3128
3242
|
id: string;
|
|
3129
3243
|
detail?: string | undefined;
|
|
3130
3244
|
}[];
|
|
@@ -3145,8 +3259,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3145
3259
|
credentialType: string;
|
|
3146
3260
|
reason: string;
|
|
3147
3261
|
existingCredentials: {
|
|
3148
|
-
id: string;
|
|
3149
3262
|
name: string;
|
|
3263
|
+
id: string;
|
|
3150
3264
|
}[];
|
|
3151
3265
|
suggestedName?: string | undefined;
|
|
3152
3266
|
}[] | undefined;
|
|
@@ -3172,21 +3286,25 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3172
3286
|
setupRequests?: {
|
|
3173
3287
|
node: {
|
|
3174
3288
|
type: string;
|
|
3175
|
-
id: string;
|
|
3176
3289
|
name: string;
|
|
3290
|
+
id: string;
|
|
3177
3291
|
typeVersion: number;
|
|
3178
3292
|
parameters: Record<string, unknown>;
|
|
3179
3293
|
position: [number, number];
|
|
3180
3294
|
credentials?: Record<string, {
|
|
3295
|
+
name: string;
|
|
3181
3296
|
id: string;
|
|
3297
|
+
} | {
|
|
3182
3298
|
name: string;
|
|
3299
|
+
id: null;
|
|
3300
|
+
__aiGatewayManaged: true;
|
|
3183
3301
|
}> | undefined;
|
|
3184
3302
|
};
|
|
3185
3303
|
isTrigger: boolean;
|
|
3186
3304
|
credentialType?: string | undefined;
|
|
3187
3305
|
existingCredentials?: {
|
|
3188
|
-
id: string;
|
|
3189
3306
|
name: string;
|
|
3307
|
+
id: string;
|
|
3190
3308
|
}[] | undefined;
|
|
3191
3309
|
isFirstTrigger?: boolean | undefined;
|
|
3192
3310
|
isTestable?: boolean | undefined;
|
|
@@ -3196,7 +3314,7 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3196
3314
|
message?: string | undefined;
|
|
3197
3315
|
} | undefined;
|
|
3198
3316
|
triggerTestResult?: {
|
|
3199
|
-
status: "
|
|
3317
|
+
status: "error" | "success" | "listening";
|
|
3200
3318
|
error?: string | undefined;
|
|
3201
3319
|
} | undefined;
|
|
3202
3320
|
parameterIssues?: Record<string, string[]> | undefined;
|
|
@@ -3214,14 +3332,14 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3214
3332
|
needsAction?: boolean | undefined;
|
|
3215
3333
|
subnodeRootNode?: {
|
|
3216
3334
|
type: string;
|
|
3217
|
-
id: string;
|
|
3218
3335
|
name: string;
|
|
3336
|
+
id: string;
|
|
3219
3337
|
typeVersion: number;
|
|
3220
3338
|
} | undefined;
|
|
3221
3339
|
}[] | undefined;
|
|
3222
3340
|
resourceDecision?: {
|
|
3223
|
-
description: string;
|
|
3224
3341
|
options: ("denyOnce" | "allowOnce" | "allowForSession")[];
|
|
3342
|
+
description: string;
|
|
3225
3343
|
toolGroup: string;
|
|
3226
3344
|
resource: string;
|
|
3227
3345
|
} | undefined;
|
|
@@ -3237,27 +3355,27 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3237
3355
|
detail: z.ZodOptional<z.ZodString>;
|
|
3238
3356
|
status: z.ZodEnum<["todo", "in_progress", "done", "failed", "cancelled"]>;
|
|
3239
3357
|
}, "strip", z.ZodTypeAny, {
|
|
3358
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3240
3359
|
description: string;
|
|
3241
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3242
3360
|
id: string;
|
|
3243
3361
|
detail?: string | undefined;
|
|
3244
3362
|
}, {
|
|
3363
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3245
3364
|
description: string;
|
|
3246
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3247
3365
|
id: string;
|
|
3248
3366
|
detail?: string | undefined;
|
|
3249
3367
|
}>, "many">;
|
|
3250
3368
|
}, "strip", z.ZodTypeAny, {
|
|
3251
3369
|
tasks: {
|
|
3370
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3252
3371
|
description: string;
|
|
3253
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3254
3372
|
id: string;
|
|
3255
3373
|
detail?: string | undefined;
|
|
3256
3374
|
}[];
|
|
3257
3375
|
}, {
|
|
3258
3376
|
tasks: {
|
|
3377
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3259
3378
|
description: string;
|
|
3260
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3261
3379
|
id: string;
|
|
3262
3380
|
detail?: string | undefined;
|
|
3263
3381
|
}[];
|
|
@@ -3293,8 +3411,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3293
3411
|
}, "strip", z.ZodTypeAny, {
|
|
3294
3412
|
tasks: {
|
|
3295
3413
|
tasks: {
|
|
3414
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3296
3415
|
description: string;
|
|
3297
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3298
3416
|
id: string;
|
|
3299
3417
|
detail?: string | undefined;
|
|
3300
3418
|
}[];
|
|
@@ -3312,8 +3430,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3312
3430
|
}, {
|
|
3313
3431
|
tasks: {
|
|
3314
3432
|
tasks: {
|
|
3433
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3315
3434
|
description: string;
|
|
3316
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3317
3435
|
id: string;
|
|
3318
3436
|
detail?: string | undefined;
|
|
3319
3437
|
}[];
|
|
@@ -3341,8 +3459,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3341
3459
|
payload: {
|
|
3342
3460
|
tasks: {
|
|
3343
3461
|
tasks: {
|
|
3462
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3344
3463
|
description: string;
|
|
3345
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3346
3464
|
id: string;
|
|
3347
3465
|
detail?: string | undefined;
|
|
3348
3466
|
}[];
|
|
@@ -3367,8 +3485,8 @@ export declare const instanceAiEventSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
3367
3485
|
payload: {
|
|
3368
3486
|
tasks: {
|
|
3369
3487
|
tasks: {
|
|
3488
|
+
status: "done" | "cancelled" | "failed" | "todo" | "in_progress";
|
|
3370
3489
|
description: string;
|
|
3371
|
-
status: "failed" | "todo" | "in_progress" | "done" | "cancelled";
|
|
3372
3490
|
id: string;
|
|
3373
3491
|
detail?: string | undefined;
|
|
3374
3492
|
}[];
|
|
@@ -3769,6 +3887,7 @@ export declare const instanceAiHandoffContextSchema: z.ZodDiscriminatedUnion<"so
|
|
|
3769
3887
|
export type InstanceAiHandoffContext = z.infer<typeof instanceAiHandoffContextSchema>;
|
|
3770
3888
|
declare const InstanceAiSendMessageRequest_base: import("../zod-class").ZodClass<{
|
|
3771
3889
|
message: string;
|
|
3890
|
+
timeZone?: string | undefined;
|
|
3772
3891
|
attachments?: ({
|
|
3773
3892
|
type: "file";
|
|
3774
3893
|
data: string;
|
|
@@ -3780,7 +3899,6 @@ declare const InstanceAiSendMessageRequest_base: import("../zod-class").ZodClass
|
|
|
3780
3899
|
name?: string | undefined;
|
|
3781
3900
|
executionId?: string | undefined;
|
|
3782
3901
|
})[] | undefined;
|
|
3783
|
-
timeZone?: string | undefined;
|
|
3784
3902
|
context?: {
|
|
3785
3903
|
credential: {
|
|
3786
3904
|
credentialType: string;
|
|
@@ -3969,6 +4087,10 @@ export type InstanceAiTimelineEntry = {
|
|
|
3969
4087
|
type: 'text';
|
|
3970
4088
|
content: string;
|
|
3971
4089
|
responseId?: string;
|
|
4090
|
+
} | {
|
|
4091
|
+
type: 'reasoning';
|
|
4092
|
+
content: string;
|
|
4093
|
+
responseId?: string;
|
|
3972
4094
|
} | {
|
|
3973
4095
|
type: 'tool-call';
|
|
3974
4096
|
toolCallId: string;
|
|
@@ -4004,7 +4126,9 @@ export interface InstanceAiAgentNode {
|
|
|
4004
4126
|
provider?: string;
|
|
4005
4127
|
technicalDetails?: string;
|
|
4006
4128
|
};
|
|
4129
|
+
cancellationReason?: InstanceAiCancellationReason;
|
|
4007
4130
|
}
|
|
4131
|
+
export type InstanceAiCancellationReason = 'user' | 'timeout' | 'shutdown';
|
|
4008
4132
|
export interface InstanceAiMessage {
|
|
4009
4133
|
id: string;
|
|
4010
4134
|
runId?: string;
|
|
@@ -4109,6 +4233,7 @@ export interface InstanceAiMemoryTaskSnapshot {
|
|
|
4109
4233
|
export interface InstanceAiThreadStatusResponse {
|
|
4110
4234
|
hasActiveRun: boolean;
|
|
4111
4235
|
isSuspended: boolean;
|
|
4236
|
+
runId?: string;
|
|
4112
4237
|
backgroundTasks: Array<{
|
|
4113
4238
|
taskId: string;
|
|
4114
4239
|
role: string;
|
|
@@ -4120,6 +4245,10 @@ export interface InstanceAiThreadStatusResponse {
|
|
|
4120
4245
|
}>;
|
|
4121
4246
|
memoryTasks?: InstanceAiMemoryTaskSnapshot[];
|
|
4122
4247
|
}
|
|
4248
|
+
export interface InstanceAiConfirmResponse {
|
|
4249
|
+
ok: true;
|
|
4250
|
+
runId?: string;
|
|
4251
|
+
}
|
|
4123
4252
|
declare const instanceAiPermissionModeSchema: z.ZodEnum<["require_approval", "always_allow", "blocked"]>;
|
|
4124
4253
|
export type InstanceAiPermissionMode = z.infer<typeof instanceAiPermissionModeSchema>;
|
|
4125
4254
|
declare const instanceAiPermissionsSchema: z.ZodObject<{
|
|
@@ -4357,9 +4486,18 @@ export interface InstanceAiMcpConnectionResponse {
|
|
|
4357
4486
|
credentialId: string;
|
|
4358
4487
|
credentialName: string;
|
|
4359
4488
|
credentialType: string;
|
|
4489
|
+
toolFilter: InstanceAiMcpConnectionToolFilterResponse | null;
|
|
4360
4490
|
createdAt: string;
|
|
4361
4491
|
updatedAt: string;
|
|
4362
4492
|
}
|
|
4493
|
+
export interface InstanceAiMcpConnectionToolFilterResponse {
|
|
4494
|
+
mode: 'allow' | 'exclude';
|
|
4495
|
+
tools: string[];
|
|
4496
|
+
}
|
|
4497
|
+
export interface InstanceAiMcpConnectionToolResponse {
|
|
4498
|
+
name: string;
|
|
4499
|
+
description?: string;
|
|
4500
|
+
}
|
|
4363
4501
|
export declare function getRenderHint(toolName: string): InstanceAiToolCallState['renderHint'];
|
|
4364
4502
|
export type InstanceAiEvalNodeExecutionMode = 'mocked' | 'pinned' | 'real';
|
|
4365
4503
|
export interface InstanceAiEvalInterceptedRequest {
|
|
@@ -4434,13 +4572,13 @@ declare const instanceAiEvalSeedWorkflowSchema: z.ZodObject<{
|
|
|
4434
4572
|
nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
4435
4573
|
connections: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4436
4574
|
}, "strip", z.ZodTypeAny, {
|
|
4437
|
-
id: string;
|
|
4438
4575
|
name: string;
|
|
4576
|
+
id: string;
|
|
4439
4577
|
nodes: Record<string, unknown>[];
|
|
4440
4578
|
connections: Record<string, unknown>;
|
|
4441
4579
|
}, {
|
|
4442
|
-
id: string;
|
|
4443
4580
|
name: string;
|
|
4581
|
+
id: string;
|
|
4444
4582
|
nodes: Record<string, unknown>[];
|
|
4445
4583
|
connections: Record<string, unknown>;
|
|
4446
4584
|
}>;
|
|
@@ -4459,15 +4597,15 @@ declare const instanceAiEvalSeedDataTableSchema: z.ZodObject<{
|
|
|
4459
4597
|
name: string;
|
|
4460
4598
|
}>, "many">;
|
|
4461
4599
|
}, "strip", z.ZodTypeAny, {
|
|
4462
|
-
id: string;
|
|
4463
4600
|
name: string;
|
|
4601
|
+
id: string;
|
|
4464
4602
|
columns: {
|
|
4465
4603
|
type: "string" | "number" | "boolean" | "date";
|
|
4466
4604
|
name: string;
|
|
4467
4605
|
}[];
|
|
4468
4606
|
}, {
|
|
4469
|
-
id: string;
|
|
4470
4607
|
name: string;
|
|
4608
|
+
id: string;
|
|
4471
4609
|
columns: {
|
|
4472
4610
|
type: "string" | "number" | "boolean" | "date";
|
|
4473
4611
|
name: string;
|
|
@@ -4478,16 +4616,16 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
4478
4616
|
threadId: string;
|
|
4479
4617
|
messages: Record<string, unknown>[];
|
|
4480
4618
|
dataTables?: {
|
|
4481
|
-
id: string;
|
|
4482
4619
|
name: string;
|
|
4620
|
+
id: string;
|
|
4483
4621
|
columns: {
|
|
4484
4622
|
type: "string" | "number" | "boolean" | "date";
|
|
4485
4623
|
name: string;
|
|
4486
4624
|
}[];
|
|
4487
4625
|
}[] | undefined;
|
|
4488
4626
|
workflows?: {
|
|
4489
|
-
id: string;
|
|
4490
4627
|
name: string;
|
|
4628
|
+
id: string;
|
|
4491
4629
|
nodes: Record<string, unknown>[];
|
|
4492
4630
|
connections: Record<string, unknown>;
|
|
4493
4631
|
}[] | undefined;
|
|
@@ -4508,15 +4646,15 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
4508
4646
|
name: string;
|
|
4509
4647
|
}>, "many">;
|
|
4510
4648
|
}, "strip", z.ZodTypeAny, {
|
|
4511
|
-
id: string;
|
|
4512
4649
|
name: string;
|
|
4650
|
+
id: string;
|
|
4513
4651
|
columns: {
|
|
4514
4652
|
type: "string" | "number" | "boolean" | "date";
|
|
4515
4653
|
name: string;
|
|
4516
4654
|
}[];
|
|
4517
4655
|
}, {
|
|
4518
|
-
id: string;
|
|
4519
4656
|
name: string;
|
|
4657
|
+
id: string;
|
|
4520
4658
|
columns: {
|
|
4521
4659
|
type: "string" | "number" | "boolean" | "date";
|
|
4522
4660
|
name: string;
|
|
@@ -4528,13 +4666,13 @@ declare const InstanceAiEvalRestoreThreadRequest_base: import("../zod-class").Zo
|
|
|
4528
4666
|
nodes: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
4529
4667
|
connections: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4530
4668
|
}, "strip", z.ZodTypeAny, {
|
|
4531
|
-
id: string;
|
|
4532
4669
|
name: string;
|
|
4670
|
+
id: string;
|
|
4533
4671
|
nodes: Record<string, unknown>[];
|
|
4534
4672
|
connections: Record<string, unknown>;
|
|
4535
4673
|
}, {
|
|
4536
|
-
id: string;
|
|
4537
4674
|
name: string;
|
|
4675
|
+
id: string;
|
|
4538
4676
|
nodes: Record<string, unknown>[];
|
|
4539
4677
|
connections: Record<string, unknown>;
|
|
4540
4678
|
}>, "many">>;
|