@sixb/server 0.1.2 → 0.1.4
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/README.md +1 -1
- package/dist/auth/experience.d.ts +33 -0
- package/dist/auth/experience.d.ts.map +1 -0
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2122 -1391
- package/dist/index.js.map +24 -19
- package/dist/openapi/tags.d.ts +10 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +6 -6
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agents.d.ts +164 -77
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts +31 -0
- package/dist/routes/ai-accounting.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +110 -53
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +56 -56
- package/dist/routes/connector-connections.d.ts +14 -14
- package/dist/routes/datasets.d.ts +12 -12
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts +8 -8
- package/dist/routes/links.d.ts +6 -57
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/models.d.ts +60 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/objects.d.ts +51 -3
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +10 -10
- package/dist/routes/projections.d.ts +150 -136
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +38 -38
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhook-runs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +142 -57
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +16 -16
- package/dist/schemas/agents.d.ts +586 -142
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +2393 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +96 -96
- package/dist/schemas/connectors.d.ts +35 -25
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +6 -6
- package/dist/schemas/links.d.ts +0 -41
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/models.d.ts +50 -0
- package/dist/schemas/models.d.ts.map +1 -0
- package/dist/schemas/objects.d.ts +22 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +20 -20
- package/dist/schemas/projections.d.ts +947 -806
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +33 -33
- package/dist/schemas/webhook-runs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +833 -162
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/experience.ts +190 -0
- package/src/auth/public-routes.ts +7 -0
- package/src/index.ts +1 -0
- package/src/openapi/tags.ts +8 -0
- package/src/registerRoutes.ts +4 -0
- package/src/routes/agents.ts +22 -3
- package/src/routes/ai-accounting.ts +166 -0
- package/src/routes/auth.ts +188 -32
- package/src/routes/links.ts +2 -53
- package/src/routes/models.ts +31 -0
- package/src/routes/objects.ts +103 -0
- package/src/routes/projections.ts +18 -4
- package/src/routes/workflows.ts +16 -0
- package/src/schemas/agents.ts +19 -9
- package/src/schemas/ai-accounting.ts +182 -0
- package/src/schemas/connectors.ts +13 -3
- package/src/schemas/links.ts +0 -17
- package/src/schemas/models.ts +15 -0
- package/src/schemas/objects.ts +104 -0
- package/src/schemas/projections.ts +12 -3
- package/src/schemas/workflows.ts +8 -3
- package/src/server.ts +10 -0
|
@@ -69,10 +69,10 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
69
69
|
order?: "asc" | "desc" | undefined;
|
|
70
70
|
workflowId?: string | undefined;
|
|
71
71
|
nodeRunId?: string | undefined;
|
|
72
|
+
workflowRunId?: string | undefined;
|
|
72
73
|
nodeId?: string | undefined;
|
|
73
74
|
nodeKey?: string | undefined;
|
|
74
75
|
interventionId?: string | undefined;
|
|
75
|
-
workflowRunId?: string | undefined;
|
|
76
76
|
requestedAfter?: string | undefined;
|
|
77
77
|
requestedBefore?: string | undefined;
|
|
78
78
|
}, {
|
|
@@ -82,10 +82,10 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
82
82
|
order?: "asc" | "desc" | undefined;
|
|
83
83
|
workflowId?: string | undefined;
|
|
84
84
|
nodeRunId?: string | undefined;
|
|
85
|
+
workflowRunId?: string | undefined;
|
|
85
86
|
nodeId?: string | undefined;
|
|
86
87
|
nodeKey?: string | undefined;
|
|
87
88
|
interventionId?: string | undefined;
|
|
88
|
-
workflowRunId?: string | undefined;
|
|
89
89
|
requestedAfter?: string | undefined;
|
|
90
90
|
requestedBefore?: string | undefined;
|
|
91
91
|
}>;
|
|
@@ -135,28 +135,28 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
135
135
|
principalId: string;
|
|
136
136
|
}>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
138
139
|
projectId: string;
|
|
139
140
|
id: string;
|
|
140
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
141
141
|
startedAt: string;
|
|
142
|
+
workflowId: string;
|
|
142
143
|
requestedBy: {
|
|
143
144
|
principalType: "user" | "serviceAccount" | "system";
|
|
144
145
|
principalId: string;
|
|
145
146
|
};
|
|
146
|
-
workflowId: string;
|
|
147
147
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
148
148
|
queuedAt?: string | undefined;
|
|
149
149
|
finishedAt?: string | undefined;
|
|
150
150
|
}, {
|
|
151
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
151
152
|
projectId: string;
|
|
152
153
|
id: string;
|
|
153
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
154
154
|
startedAt: string;
|
|
155
|
+
workflowId: string;
|
|
155
156
|
requestedBy: {
|
|
156
157
|
principalType: "user" | "serviceAccount" | "system";
|
|
157
158
|
principalId: string;
|
|
158
159
|
};
|
|
159
|
-
workflowId: string;
|
|
160
160
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
161
161
|
queuedAt?: string | undefined;
|
|
162
162
|
finishedAt?: string | undefined;
|
|
@@ -184,31 +184,31 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
184
184
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
185
185
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
187
188
|
projectId: string;
|
|
188
189
|
id: string;
|
|
189
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
190
190
|
startedAt: string;
|
|
191
|
+
workflowId: string;
|
|
191
192
|
input: Record<string, import("./common").JsonValue>;
|
|
192
193
|
requestedBy: {
|
|
193
194
|
principalType: "user" | "serviceAccount" | "system";
|
|
194
195
|
principalId: string;
|
|
195
196
|
};
|
|
196
|
-
workflowId: string;
|
|
197
197
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
198
198
|
queuedAt?: string | undefined;
|
|
199
199
|
finishedAt?: string | undefined;
|
|
200
200
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
201
201
|
}, {
|
|
202
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
202
203
|
projectId: string;
|
|
203
204
|
id: string;
|
|
204
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
205
205
|
startedAt: string;
|
|
206
|
+
workflowId: string;
|
|
206
207
|
input: Record<string, import("./common").JsonValue>;
|
|
207
208
|
requestedBy: {
|
|
208
209
|
principalType: "user" | "serviceAccount" | "system";
|
|
209
210
|
principalId: string;
|
|
210
211
|
};
|
|
211
|
-
workflowId: string;
|
|
212
212
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
213
213
|
queuedAt?: string | undefined;
|
|
214
214
|
finishedAt?: string | undefined;
|
|
@@ -251,6 +251,37 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
251
251
|
textOutputTokens?: number | undefined;
|
|
252
252
|
reasoningOutputTokens?: number | undefined;
|
|
253
253
|
}>>;
|
|
254
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
255
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
256
|
+
currency: z.ZodString;
|
|
257
|
+
amountNanos: z.ZodString;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
currency: string;
|
|
260
|
+
amountNanos: string;
|
|
261
|
+
}, {
|
|
262
|
+
currency: string;
|
|
263
|
+
amountNanos: string;
|
|
264
|
+
}>, "many">;
|
|
265
|
+
ratedCallCount: z.ZodNumber;
|
|
266
|
+
unpriceableCallCount: z.ZodNumber;
|
|
267
|
+
unvaluedCallCount: z.ZodNumber;
|
|
268
|
+
}, "strip", z.ZodTypeAny, {
|
|
269
|
+
amounts: {
|
|
270
|
+
currency: string;
|
|
271
|
+
amountNanos: string;
|
|
272
|
+
}[];
|
|
273
|
+
ratedCallCount: number;
|
|
274
|
+
unpriceableCallCount: number;
|
|
275
|
+
unvaluedCallCount: number;
|
|
276
|
+
}, {
|
|
277
|
+
amounts: {
|
|
278
|
+
currency: string;
|
|
279
|
+
amountNanos: string;
|
|
280
|
+
}[];
|
|
281
|
+
ratedCallCount: number;
|
|
282
|
+
unpriceableCallCount: number;
|
|
283
|
+
unvaluedCallCount: number;
|
|
284
|
+
}>>;
|
|
254
285
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
255
286
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
256
287
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -260,7 +291,6 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
260
291
|
startedAt?: string | undefined;
|
|
261
292
|
completedAt?: string | undefined;
|
|
262
293
|
modelId?: string | undefined;
|
|
263
|
-
finishReason?: string | undefined;
|
|
264
294
|
usage?: {
|
|
265
295
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
266
296
|
inputTokens?: number | undefined;
|
|
@@ -272,6 +302,16 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
272
302
|
textOutputTokens?: number | undefined;
|
|
273
303
|
reasoningOutputTokens?: number | undefined;
|
|
274
304
|
} | undefined;
|
|
305
|
+
cost?: {
|
|
306
|
+
amounts: {
|
|
307
|
+
currency: string;
|
|
308
|
+
amountNanos: string;
|
|
309
|
+
}[];
|
|
310
|
+
ratedCallCount: number;
|
|
311
|
+
unpriceableCallCount: number;
|
|
312
|
+
unvaluedCallCount: number;
|
|
313
|
+
} | undefined;
|
|
314
|
+
finishReason?: string | undefined;
|
|
275
315
|
}, {
|
|
276
316
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
277
317
|
agentId: string;
|
|
@@ -279,7 +319,6 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
279
319
|
startedAt?: string | undefined;
|
|
280
320
|
completedAt?: string | undefined;
|
|
281
321
|
modelId?: string | undefined;
|
|
282
|
-
finishReason?: string | undefined;
|
|
283
322
|
usage?: {
|
|
284
323
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
285
324
|
inputTokens?: number | undefined;
|
|
@@ -291,7 +330,18 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
291
330
|
textOutputTokens?: number | undefined;
|
|
292
331
|
reasoningOutputTokens?: number | undefined;
|
|
293
332
|
} | undefined;
|
|
333
|
+
cost?: {
|
|
334
|
+
amounts: {
|
|
335
|
+
currency: string;
|
|
336
|
+
amountNanos: string;
|
|
337
|
+
}[];
|
|
338
|
+
ratedCallCount: number;
|
|
339
|
+
unpriceableCallCount: number;
|
|
340
|
+
unvaluedCallCount: number;
|
|
341
|
+
} | undefined;
|
|
342
|
+
finishReason?: string | undefined;
|
|
294
343
|
}>;
|
|
344
|
+
export declare const WorkflowAgentFailurePhaseSchema: z.ZodEnum<["agent-loop", "structured-finalizer"]>;
|
|
295
345
|
export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
296
346
|
agentId: z.ZodString;
|
|
297
347
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -329,27 +379,276 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
329
379
|
textOutputTokens?: number | undefined;
|
|
330
380
|
reasoningOutputTokens?: number | undefined;
|
|
331
381
|
}>>;
|
|
382
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
383
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
384
|
+
currency: z.ZodString;
|
|
385
|
+
amountNanos: z.ZodString;
|
|
386
|
+
}, "strip", z.ZodTypeAny, {
|
|
387
|
+
currency: string;
|
|
388
|
+
amountNanos: string;
|
|
389
|
+
}, {
|
|
390
|
+
currency: string;
|
|
391
|
+
amountNanos: string;
|
|
392
|
+
}>, "many">;
|
|
393
|
+
ratedCallCount: z.ZodNumber;
|
|
394
|
+
unpriceableCallCount: z.ZodNumber;
|
|
395
|
+
unvaluedCallCount: z.ZodNumber;
|
|
396
|
+
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
amounts: {
|
|
398
|
+
currency: string;
|
|
399
|
+
amountNanos: string;
|
|
400
|
+
}[];
|
|
401
|
+
ratedCallCount: number;
|
|
402
|
+
unpriceableCallCount: number;
|
|
403
|
+
unvaluedCallCount: number;
|
|
404
|
+
}, {
|
|
405
|
+
amounts: {
|
|
406
|
+
currency: string;
|
|
407
|
+
amountNanos: string;
|
|
408
|
+
}[];
|
|
409
|
+
ratedCallCount: number;
|
|
410
|
+
unpriceableCallCount: number;
|
|
411
|
+
unvaluedCallCount: number;
|
|
412
|
+
}>>;
|
|
332
413
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
333
414
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
334
415
|
} & {
|
|
335
416
|
nodeRunId: z.ZodString;
|
|
336
417
|
prompt: z.ZodString;
|
|
337
|
-
trace: z.ZodOptional<z.ZodArray<z.
|
|
338
|
-
|
|
418
|
+
trace: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
419
|
+
type: z.ZodLiteral<"text">;
|
|
420
|
+
text: z.ZodString;
|
|
421
|
+
providerMetadata: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
type: "text";
|
|
424
|
+
text: string;
|
|
425
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
type: "text";
|
|
428
|
+
text: string;
|
|
429
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
430
|
+
}>, z.ZodObject<{
|
|
431
|
+
type: z.ZodLiteral<"reasoning">;
|
|
432
|
+
text: z.ZodString;
|
|
433
|
+
providerMetadata: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
434
|
+
}, "strip", z.ZodTypeAny, {
|
|
435
|
+
type: "reasoning";
|
|
436
|
+
text: string;
|
|
437
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
438
|
+
}, {
|
|
439
|
+
type: "reasoning";
|
|
440
|
+
text: string;
|
|
441
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
442
|
+
}>, z.ZodObject<{
|
|
443
|
+
type: z.ZodLiteral<"step-start">;
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
type: "step-start";
|
|
446
|
+
}, {
|
|
447
|
+
type: "step-start";
|
|
448
|
+
}>, z.ZodObject<{
|
|
449
|
+
type: z.ZodLiteral<"file">;
|
|
450
|
+
fileRef: z.ZodObject<{
|
|
451
|
+
blobId: z.ZodString;
|
|
452
|
+
digest: z.ZodString;
|
|
453
|
+
sizeBytes: z.ZodNumber;
|
|
454
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
455
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
456
|
+
logicalPath: z.ZodOptional<z.ZodString>;
|
|
457
|
+
}, "strip", z.ZodTypeAny, {
|
|
458
|
+
blobId: string;
|
|
459
|
+
digest: string;
|
|
460
|
+
sizeBytes: number;
|
|
461
|
+
fileName?: string | undefined;
|
|
462
|
+
mediaType?: string | undefined;
|
|
463
|
+
logicalPath?: string | undefined;
|
|
464
|
+
}, {
|
|
465
|
+
blobId: string;
|
|
466
|
+
digest: string;
|
|
467
|
+
sizeBytes: number;
|
|
468
|
+
fileName?: string | undefined;
|
|
469
|
+
mediaType?: string | undefined;
|
|
470
|
+
logicalPath?: string | undefined;
|
|
471
|
+
}>;
|
|
472
|
+
providerMetadata: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
type: "file";
|
|
475
|
+
fileRef: {
|
|
476
|
+
blobId: string;
|
|
477
|
+
digest: string;
|
|
478
|
+
sizeBytes: number;
|
|
479
|
+
fileName?: string | undefined;
|
|
480
|
+
mediaType?: string | undefined;
|
|
481
|
+
logicalPath?: string | undefined;
|
|
482
|
+
};
|
|
483
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
484
|
+
}, {
|
|
485
|
+
type: "file";
|
|
486
|
+
fileRef: {
|
|
487
|
+
blobId: string;
|
|
488
|
+
digest: string;
|
|
489
|
+
sizeBytes: number;
|
|
490
|
+
fileName?: string | undefined;
|
|
491
|
+
mediaType?: string | undefined;
|
|
492
|
+
logicalPath?: string | undefined;
|
|
493
|
+
};
|
|
494
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
495
|
+
}>, z.ZodObject<{
|
|
496
|
+
context: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
497
|
+
kind: z.ZodLiteral<"object">;
|
|
498
|
+
ref: z.ZodObject<{
|
|
499
|
+
objectTypeId: z.ZodString;
|
|
500
|
+
primaryId: z.ZodString;
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
|
+
objectTypeId: string;
|
|
503
|
+
primaryId: string;
|
|
504
|
+
}, {
|
|
505
|
+
objectTypeId: string;
|
|
506
|
+
primaryId: string;
|
|
507
|
+
}>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
kind: "object";
|
|
510
|
+
ref: {
|
|
511
|
+
objectTypeId: string;
|
|
512
|
+
primaryId: string;
|
|
513
|
+
};
|
|
514
|
+
}, {
|
|
515
|
+
kind: "object";
|
|
516
|
+
ref: {
|
|
517
|
+
objectTypeId: string;
|
|
518
|
+
primaryId: string;
|
|
519
|
+
};
|
|
520
|
+
}>, z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"app-state">;
|
|
522
|
+
id: z.ZodString;
|
|
523
|
+
label: z.ZodString;
|
|
524
|
+
description: z.ZodString;
|
|
525
|
+
value: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
id: string;
|
|
528
|
+
kind: "app-state";
|
|
529
|
+
description: string;
|
|
530
|
+
value: import("./common").JsonValue;
|
|
531
|
+
label: string;
|
|
532
|
+
}, {
|
|
533
|
+
id: string;
|
|
534
|
+
kind: "app-state";
|
|
535
|
+
description: string;
|
|
536
|
+
value: import("./common").JsonValue;
|
|
537
|
+
label: string;
|
|
538
|
+
}>]>;
|
|
539
|
+
origin: z.ZodEnum<["ambient", "explicit"]>;
|
|
540
|
+
} & {
|
|
541
|
+
type: z.ZodLiteral<"context">;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
origin: "ambient" | "explicit";
|
|
544
|
+
type: "context";
|
|
545
|
+
context: {
|
|
546
|
+
kind: "object";
|
|
547
|
+
ref: {
|
|
548
|
+
objectTypeId: string;
|
|
549
|
+
primaryId: string;
|
|
550
|
+
};
|
|
551
|
+
} | {
|
|
552
|
+
id: string;
|
|
553
|
+
kind: "app-state";
|
|
554
|
+
description: string;
|
|
555
|
+
value: import("./common").JsonValue;
|
|
556
|
+
label: string;
|
|
557
|
+
};
|
|
558
|
+
}, {
|
|
559
|
+
origin: "ambient" | "explicit";
|
|
560
|
+
type: "context";
|
|
561
|
+
context: {
|
|
562
|
+
kind: "object";
|
|
563
|
+
ref: {
|
|
564
|
+
objectTypeId: string;
|
|
565
|
+
primaryId: string;
|
|
566
|
+
};
|
|
567
|
+
} | {
|
|
568
|
+
id: string;
|
|
569
|
+
kind: "app-state";
|
|
570
|
+
description: string;
|
|
571
|
+
value: import("./common").JsonValue;
|
|
572
|
+
label: string;
|
|
573
|
+
};
|
|
574
|
+
}>, z.ZodObject<{
|
|
575
|
+
type: z.ZodLiteral<"tool-call">;
|
|
576
|
+
toolCallId: z.ZodString;
|
|
577
|
+
toolName: z.ZodString;
|
|
578
|
+
dynamic: z.ZodOptional<z.ZodBoolean>;
|
|
579
|
+
providerExecuted: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
input: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
581
|
+
providerMetadata: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
582
|
+
} & {
|
|
583
|
+
state: z.ZodLiteral<"output-available">;
|
|
584
|
+
output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
585
|
+
}, "strip", z.ZodTypeAny, {
|
|
586
|
+
type: "tool-call";
|
|
587
|
+
output: import("./common").JsonValue;
|
|
588
|
+
toolCallId: string;
|
|
589
|
+
toolName: string;
|
|
590
|
+
input: import("./common").JsonValue;
|
|
591
|
+
state: "output-available";
|
|
592
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
593
|
+
dynamic?: boolean | undefined;
|
|
594
|
+
providerExecuted?: boolean | undefined;
|
|
595
|
+
}, {
|
|
596
|
+
type: "tool-call";
|
|
597
|
+
output: import("./common").JsonValue;
|
|
598
|
+
toolCallId: string;
|
|
599
|
+
toolName: string;
|
|
600
|
+
input: import("./common").JsonValue;
|
|
601
|
+
state: "output-available";
|
|
602
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
603
|
+
dynamic?: boolean | undefined;
|
|
604
|
+
providerExecuted?: boolean | undefined;
|
|
605
|
+
}>, z.ZodObject<{
|
|
606
|
+
type: z.ZodLiteral<"tool-call">;
|
|
607
|
+
toolCallId: z.ZodString;
|
|
608
|
+
toolName: z.ZodString;
|
|
609
|
+
dynamic: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
+
providerExecuted: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
input: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
612
|
+
providerMetadata: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
613
|
+
} & {
|
|
614
|
+
state: z.ZodLiteral<"output-error">;
|
|
615
|
+
errorText: z.ZodString;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
type: "tool-call";
|
|
618
|
+
toolCallId: string;
|
|
619
|
+
toolName: string;
|
|
620
|
+
input: import("./common").JsonValue;
|
|
621
|
+
state: "output-error";
|
|
622
|
+
errorText: string;
|
|
623
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
624
|
+
dynamic?: boolean | undefined;
|
|
625
|
+
providerExecuted?: boolean | undefined;
|
|
626
|
+
}, {
|
|
627
|
+
type: "tool-call";
|
|
628
|
+
toolCallId: string;
|
|
629
|
+
toolName: string;
|
|
630
|
+
input: import("./common").JsonValue;
|
|
631
|
+
state: "output-error";
|
|
632
|
+
errorText: string;
|
|
633
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
634
|
+
dynamic?: boolean | undefined;
|
|
635
|
+
providerExecuted?: boolean | undefined;
|
|
636
|
+
}>]>, "many">>;
|
|
637
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>, "many">>;
|
|
638
|
+
failurePhase: z.ZodOptional<z.ZodEnum<["agent-loop", "structured-finalizer"]>>;
|
|
339
639
|
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
340
640
|
createdAt: z.ZodString;
|
|
341
641
|
}, "strip", z.ZodTypeAny, {
|
|
342
642
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
343
643
|
agentId: string;
|
|
344
|
-
createdAt: string;
|
|
345
644
|
attempt: number;
|
|
346
645
|
nodeRunId: string;
|
|
646
|
+
createdAt: string;
|
|
347
647
|
prompt: string;
|
|
348
648
|
error?: SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
349
649
|
startedAt?: string | undefined;
|
|
350
650
|
completedAt?: string | undefined;
|
|
351
651
|
modelId?: string | undefined;
|
|
352
|
-
finishReason?: string | undefined;
|
|
353
652
|
usage?: {
|
|
354
653
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
355
654
|
inputTokens?: number | undefined;
|
|
@@ -361,20 +660,87 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
361
660
|
textOutputTokens?: number | undefined;
|
|
362
661
|
reasoningOutputTokens?: number | undefined;
|
|
363
662
|
} | undefined;
|
|
364
|
-
|
|
365
|
-
|
|
663
|
+
cost?: {
|
|
664
|
+
amounts: {
|
|
665
|
+
currency: string;
|
|
666
|
+
amountNanos: string;
|
|
667
|
+
}[];
|
|
668
|
+
ratedCallCount: number;
|
|
669
|
+
unpriceableCallCount: number;
|
|
670
|
+
unvaluedCallCount: number;
|
|
671
|
+
} | undefined;
|
|
672
|
+
finishReason?: string | undefined;
|
|
673
|
+
diagnostics?: import("./common").JsonValue[] | undefined;
|
|
674
|
+
trace?: ({
|
|
675
|
+
origin: "ambient" | "explicit";
|
|
676
|
+
type: "context";
|
|
677
|
+
context: {
|
|
678
|
+
kind: "object";
|
|
679
|
+
ref: {
|
|
680
|
+
objectTypeId: string;
|
|
681
|
+
primaryId: string;
|
|
682
|
+
};
|
|
683
|
+
} | {
|
|
684
|
+
id: string;
|
|
685
|
+
kind: "app-state";
|
|
686
|
+
description: string;
|
|
687
|
+
value: import("./common").JsonValue;
|
|
688
|
+
label: string;
|
|
689
|
+
};
|
|
690
|
+
} | {
|
|
691
|
+
type: "text";
|
|
692
|
+
text: string;
|
|
693
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
694
|
+
} | {
|
|
695
|
+
type: "reasoning";
|
|
696
|
+
text: string;
|
|
697
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
698
|
+
} | {
|
|
699
|
+
type: "step-start";
|
|
700
|
+
} | {
|
|
701
|
+
type: "file";
|
|
702
|
+
fileRef: {
|
|
703
|
+
blobId: string;
|
|
704
|
+
digest: string;
|
|
705
|
+
sizeBytes: number;
|
|
706
|
+
fileName?: string | undefined;
|
|
707
|
+
mediaType?: string | undefined;
|
|
708
|
+
logicalPath?: string | undefined;
|
|
709
|
+
};
|
|
710
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
711
|
+
} | {
|
|
712
|
+
type: "tool-call";
|
|
713
|
+
output: import("./common").JsonValue;
|
|
714
|
+
toolCallId: string;
|
|
715
|
+
toolName: string;
|
|
716
|
+
input: import("./common").JsonValue;
|
|
717
|
+
state: "output-available";
|
|
718
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
719
|
+
dynamic?: boolean | undefined;
|
|
720
|
+
providerExecuted?: boolean | undefined;
|
|
721
|
+
} | {
|
|
722
|
+
type: "tool-call";
|
|
723
|
+
toolCallId: string;
|
|
724
|
+
toolName: string;
|
|
725
|
+
input: import("./common").JsonValue;
|
|
726
|
+
state: "output-error";
|
|
727
|
+
errorText: string;
|
|
728
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
729
|
+
dynamic?: boolean | undefined;
|
|
730
|
+
providerExecuted?: boolean | undefined;
|
|
731
|
+
})[] | undefined;
|
|
732
|
+
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
366
733
|
}, {
|
|
367
734
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
368
735
|
agentId: string;
|
|
369
|
-
createdAt: string;
|
|
370
736
|
attempt: number;
|
|
371
737
|
nodeRunId: string;
|
|
738
|
+
createdAt: string;
|
|
372
739
|
prompt: string;
|
|
373
740
|
error?: SixbFailure<"agent.execution_failed" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
374
741
|
startedAt?: string | undefined;
|
|
375
742
|
completedAt?: string | undefined;
|
|
376
743
|
modelId?: string | undefined;
|
|
377
|
-
finishReason?: string | undefined;
|
|
378
744
|
usage?: {
|
|
379
745
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
380
746
|
inputTokens?: number | undefined;
|
|
@@ -386,8 +752,76 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
386
752
|
textOutputTokens?: number | undefined;
|
|
387
753
|
reasoningOutputTokens?: number | undefined;
|
|
388
754
|
} | undefined;
|
|
389
|
-
|
|
390
|
-
|
|
755
|
+
cost?: {
|
|
756
|
+
amounts: {
|
|
757
|
+
currency: string;
|
|
758
|
+
amountNanos: string;
|
|
759
|
+
}[];
|
|
760
|
+
ratedCallCount: number;
|
|
761
|
+
unpriceableCallCount: number;
|
|
762
|
+
unvaluedCallCount: number;
|
|
763
|
+
} | undefined;
|
|
764
|
+
finishReason?: string | undefined;
|
|
765
|
+
diagnostics?: import("./common").JsonValue[] | undefined;
|
|
766
|
+
trace?: ({
|
|
767
|
+
origin: "ambient" | "explicit";
|
|
768
|
+
type: "context";
|
|
769
|
+
context: {
|
|
770
|
+
kind: "object";
|
|
771
|
+
ref: {
|
|
772
|
+
objectTypeId: string;
|
|
773
|
+
primaryId: string;
|
|
774
|
+
};
|
|
775
|
+
} | {
|
|
776
|
+
id: string;
|
|
777
|
+
kind: "app-state";
|
|
778
|
+
description: string;
|
|
779
|
+
value: import("./common").JsonValue;
|
|
780
|
+
label: string;
|
|
781
|
+
};
|
|
782
|
+
} | {
|
|
783
|
+
type: "text";
|
|
784
|
+
text: string;
|
|
785
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
786
|
+
} | {
|
|
787
|
+
type: "reasoning";
|
|
788
|
+
text: string;
|
|
789
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
790
|
+
} | {
|
|
791
|
+
type: "step-start";
|
|
792
|
+
} | {
|
|
793
|
+
type: "file";
|
|
794
|
+
fileRef: {
|
|
795
|
+
blobId: string;
|
|
796
|
+
digest: string;
|
|
797
|
+
sizeBytes: number;
|
|
798
|
+
fileName?: string | undefined;
|
|
799
|
+
mediaType?: string | undefined;
|
|
800
|
+
logicalPath?: string | undefined;
|
|
801
|
+
};
|
|
802
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
803
|
+
} | {
|
|
804
|
+
type: "tool-call";
|
|
805
|
+
output: import("./common").JsonValue;
|
|
806
|
+
toolCallId: string;
|
|
807
|
+
toolName: string;
|
|
808
|
+
input: import("./common").JsonValue;
|
|
809
|
+
state: "output-available";
|
|
810
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
811
|
+
dynamic?: boolean | undefined;
|
|
812
|
+
providerExecuted?: boolean | undefined;
|
|
813
|
+
} | {
|
|
814
|
+
type: "tool-call";
|
|
815
|
+
toolCallId: string;
|
|
816
|
+
toolName: string;
|
|
817
|
+
input: import("./common").JsonValue;
|
|
818
|
+
state: "output-error";
|
|
819
|
+
errorText: string;
|
|
820
|
+
providerMetadata?: import("./common").JsonValue | undefined;
|
|
821
|
+
dynamic?: boolean | undefined;
|
|
822
|
+
providerExecuted?: boolean | undefined;
|
|
823
|
+
})[] | undefined;
|
|
824
|
+
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
391
825
|
}>;
|
|
392
826
|
export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
393
827
|
id: z.ZodString;
|
|
@@ -441,6 +875,37 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
441
875
|
textOutputTokens?: number | undefined;
|
|
442
876
|
reasoningOutputTokens?: number | undefined;
|
|
443
877
|
}>>;
|
|
878
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
879
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
880
|
+
currency: z.ZodString;
|
|
881
|
+
amountNanos: z.ZodString;
|
|
882
|
+
}, "strip", z.ZodTypeAny, {
|
|
883
|
+
currency: string;
|
|
884
|
+
amountNanos: string;
|
|
885
|
+
}, {
|
|
886
|
+
currency: string;
|
|
887
|
+
amountNanos: string;
|
|
888
|
+
}>, "many">;
|
|
889
|
+
ratedCallCount: z.ZodNumber;
|
|
890
|
+
unpriceableCallCount: z.ZodNumber;
|
|
891
|
+
unvaluedCallCount: z.ZodNumber;
|
|
892
|
+
}, "strip", z.ZodTypeAny, {
|
|
893
|
+
amounts: {
|
|
894
|
+
currency: string;
|
|
895
|
+
amountNanos: string;
|
|
896
|
+
}[];
|
|
897
|
+
ratedCallCount: number;
|
|
898
|
+
unpriceableCallCount: number;
|
|
899
|
+
unvaluedCallCount: number;
|
|
900
|
+
}, {
|
|
901
|
+
amounts: {
|
|
902
|
+
currency: string;
|
|
903
|
+
amountNanos: string;
|
|
904
|
+
}[];
|
|
905
|
+
ratedCallCount: number;
|
|
906
|
+
unpriceableCallCount: number;
|
|
907
|
+
unvaluedCallCount: number;
|
|
908
|
+
}>>;
|
|
444
909
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
445
910
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
446
911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -450,7 +915,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
450
915
|
startedAt?: string | undefined;
|
|
451
916
|
completedAt?: string | undefined;
|
|
452
917
|
modelId?: string | undefined;
|
|
453
|
-
finishReason?: string | undefined;
|
|
454
918
|
usage?: {
|
|
455
919
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
456
920
|
inputTokens?: number | undefined;
|
|
@@ -462,6 +926,16 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
462
926
|
textOutputTokens?: number | undefined;
|
|
463
927
|
reasoningOutputTokens?: number | undefined;
|
|
464
928
|
} | undefined;
|
|
929
|
+
cost?: {
|
|
930
|
+
amounts: {
|
|
931
|
+
currency: string;
|
|
932
|
+
amountNanos: string;
|
|
933
|
+
}[];
|
|
934
|
+
ratedCallCount: number;
|
|
935
|
+
unpriceableCallCount: number;
|
|
936
|
+
unvaluedCallCount: number;
|
|
937
|
+
} | undefined;
|
|
938
|
+
finishReason?: string | undefined;
|
|
465
939
|
}, {
|
|
466
940
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
467
941
|
agentId: string;
|
|
@@ -469,7 +943,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
469
943
|
startedAt?: string | undefined;
|
|
470
944
|
completedAt?: string | undefined;
|
|
471
945
|
modelId?: string | undefined;
|
|
472
|
-
finishReason?: string | undefined;
|
|
473
946
|
usage?: {
|
|
474
947
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
475
948
|
inputTokens?: number | undefined;
|
|
@@ -481,19 +954,30 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
481
954
|
textOutputTokens?: number | undefined;
|
|
482
955
|
reasoningOutputTokens?: number | undefined;
|
|
483
956
|
} | undefined;
|
|
957
|
+
cost?: {
|
|
958
|
+
amounts: {
|
|
959
|
+
currency: string;
|
|
960
|
+
amountNanos: string;
|
|
961
|
+
}[];
|
|
962
|
+
ratedCallCount: number;
|
|
963
|
+
unpriceableCallCount: number;
|
|
964
|
+
unvaluedCallCount: number;
|
|
965
|
+
} | undefined;
|
|
966
|
+
finishReason?: string | undefined;
|
|
484
967
|
}>>;
|
|
485
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
486
970
|
projectId: string;
|
|
487
971
|
id: string;
|
|
488
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
489
972
|
startedAt: string;
|
|
490
|
-
input: Record<string, import("./common").JsonValue>;
|
|
491
973
|
workflowId: string;
|
|
974
|
+
workflowRunId: string;
|
|
975
|
+
input: Record<string, import("./common").JsonValue>;
|
|
492
976
|
nodeIndex: number;
|
|
493
|
-
nodeType: "
|
|
977
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
494
978
|
nodeId: string;
|
|
495
979
|
nodeKey: string;
|
|
496
|
-
|
|
980
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
497
981
|
agentExecution?: {
|
|
498
982
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
499
983
|
agentId: string;
|
|
@@ -501,7 +985,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
501
985
|
startedAt?: string | undefined;
|
|
502
986
|
completedAt?: string | undefined;
|
|
503
987
|
modelId?: string | undefined;
|
|
504
|
-
finishReason?: string | undefined;
|
|
505
988
|
usage?: {
|
|
506
989
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
507
990
|
inputTokens?: number | undefined;
|
|
@@ -513,22 +996,32 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
513
996
|
textOutputTokens?: number | undefined;
|
|
514
997
|
reasoningOutputTokens?: number | undefined;
|
|
515
998
|
} | undefined;
|
|
999
|
+
cost?: {
|
|
1000
|
+
amounts: {
|
|
1001
|
+
currency: string;
|
|
1002
|
+
amountNanos: string;
|
|
1003
|
+
}[];
|
|
1004
|
+
ratedCallCount: number;
|
|
1005
|
+
unpriceableCallCount: number;
|
|
1006
|
+
unvaluedCallCount: number;
|
|
1007
|
+
} | undefined;
|
|
1008
|
+
finishReason?: string | undefined;
|
|
516
1009
|
} | undefined;
|
|
517
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
518
1010
|
finishedAt?: string | undefined;
|
|
519
1011
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
520
1012
|
}, {
|
|
1013
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
521
1014
|
projectId: string;
|
|
522
1015
|
id: string;
|
|
523
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
524
1016
|
startedAt: string;
|
|
525
|
-
input: Record<string, import("./common").JsonValue>;
|
|
526
1017
|
workflowId: string;
|
|
1018
|
+
workflowRunId: string;
|
|
1019
|
+
input: Record<string, import("./common").JsonValue>;
|
|
527
1020
|
nodeIndex: number;
|
|
528
|
-
nodeType: "
|
|
1021
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
529
1022
|
nodeId: string;
|
|
530
1023
|
nodeKey: string;
|
|
531
|
-
|
|
1024
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
532
1025
|
agentExecution?: {
|
|
533
1026
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
534
1027
|
agentId: string;
|
|
@@ -536,7 +1029,6 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
536
1029
|
startedAt?: string | undefined;
|
|
537
1030
|
completedAt?: string | undefined;
|
|
538
1031
|
modelId?: string | undefined;
|
|
539
|
-
finishReason?: string | undefined;
|
|
540
1032
|
usage?: {
|
|
541
1033
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
542
1034
|
inputTokens?: number | undefined;
|
|
@@ -548,8 +1040,17 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
548
1040
|
textOutputTokens?: number | undefined;
|
|
549
1041
|
reasoningOutputTokens?: number | undefined;
|
|
550
1042
|
} | undefined;
|
|
1043
|
+
cost?: {
|
|
1044
|
+
amounts: {
|
|
1045
|
+
currency: string;
|
|
1046
|
+
amountNanos: string;
|
|
1047
|
+
}[];
|
|
1048
|
+
ratedCallCount: number;
|
|
1049
|
+
unpriceableCallCount: number;
|
|
1050
|
+
unvaluedCallCount: number;
|
|
1051
|
+
} | undefined;
|
|
1052
|
+
finishReason?: string | undefined;
|
|
551
1053
|
} | undefined;
|
|
552
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
553
1054
|
finishedAt?: string | undefined;
|
|
554
1055
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
555
1056
|
}>;
|
|
@@ -593,18 +1094,18 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
593
1094
|
}>>;
|
|
594
1095
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
595
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
596
1098
|
projectId: string;
|
|
597
1099
|
id: string;
|
|
598
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
599
|
-
input: Record<string, import("./common").JsonValue>;
|
|
600
1100
|
workflowId: string;
|
|
601
1101
|
nodeRunId: string;
|
|
1102
|
+
workflowRunId: string;
|
|
1103
|
+
input: Record<string, import("./common").JsonValue>;
|
|
602
1104
|
nodeIndex: number;
|
|
603
1105
|
nodeId: string;
|
|
604
1106
|
nodeKey: string;
|
|
605
1107
|
interventionId: string;
|
|
606
1108
|
requestedAt: string;
|
|
607
|
-
workflowRunId: string;
|
|
608
1109
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
609
1110
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
610
1111
|
expiresAt?: string | undefined;
|
|
@@ -620,18 +1121,18 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
620
1121
|
principalId: string;
|
|
621
1122
|
} | undefined;
|
|
622
1123
|
}, {
|
|
1124
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
623
1125
|
projectId: string;
|
|
624
1126
|
id: string;
|
|
625
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
626
|
-
input: Record<string, import("./common").JsonValue>;
|
|
627
1127
|
workflowId: string;
|
|
628
1128
|
nodeRunId: string;
|
|
1129
|
+
workflowRunId: string;
|
|
1130
|
+
input: Record<string, import("./common").JsonValue>;
|
|
629
1131
|
nodeIndex: number;
|
|
630
1132
|
nodeId: string;
|
|
631
1133
|
nodeKey: string;
|
|
632
1134
|
interventionId: string;
|
|
633
1135
|
requestedAt: string;
|
|
634
|
-
workflowRunId: string;
|
|
635
1136
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
636
1137
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
637
1138
|
expiresAt?: string | undefined;
|
|
@@ -759,28 +1260,28 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
759
1260
|
principalId: string;
|
|
760
1261
|
}>;
|
|
761
1262
|
}, "strip", z.ZodTypeAny, {
|
|
1263
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
762
1264
|
projectId: string;
|
|
763
1265
|
id: string;
|
|
764
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
765
1266
|
startedAt: string;
|
|
1267
|
+
workflowId: string;
|
|
766
1268
|
requestedBy: {
|
|
767
1269
|
principalType: "user" | "serviceAccount" | "system";
|
|
768
1270
|
principalId: string;
|
|
769
1271
|
};
|
|
770
|
-
workflowId: string;
|
|
771
1272
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
772
1273
|
queuedAt?: string | undefined;
|
|
773
1274
|
finishedAt?: string | undefined;
|
|
774
1275
|
}, {
|
|
1276
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
775
1277
|
projectId: string;
|
|
776
1278
|
id: string;
|
|
777
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
778
1279
|
startedAt: string;
|
|
1280
|
+
workflowId: string;
|
|
779
1281
|
requestedBy: {
|
|
780
1282
|
principalType: "user" | "serviceAccount" | "system";
|
|
781
1283
|
principalId: string;
|
|
782
1284
|
};
|
|
783
|
-
workflowId: string;
|
|
784
1285
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
785
1286
|
queuedAt?: string | undefined;
|
|
786
1287
|
finishedAt?: string | undefined;
|
|
@@ -820,15 +1321,15 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
820
1321
|
input: Record<string, import("./common").JsonValue>;
|
|
821
1322
|
})[];
|
|
822
1323
|
latestRun: {
|
|
1324
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
823
1325
|
projectId: string;
|
|
824
1326
|
id: string;
|
|
825
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
826
1327
|
startedAt: string;
|
|
1328
|
+
workflowId: string;
|
|
827
1329
|
requestedBy: {
|
|
828
1330
|
principalType: "user" | "serviceAccount" | "system";
|
|
829
1331
|
principalId: string;
|
|
830
1332
|
};
|
|
831
|
-
workflowId: string;
|
|
832
1333
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
833
1334
|
queuedAt?: string | undefined;
|
|
834
1335
|
finishedAt?: string | undefined;
|
|
@@ -868,15 +1369,15 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
868
1369
|
input: Record<string, import("./common").JsonValue>;
|
|
869
1370
|
})[];
|
|
870
1371
|
latestRun: {
|
|
1372
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
871
1373
|
projectId: string;
|
|
872
1374
|
id: string;
|
|
873
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
874
1375
|
startedAt: string;
|
|
1376
|
+
workflowId: string;
|
|
875
1377
|
requestedBy: {
|
|
876
1378
|
principalType: "user" | "serviceAccount" | "system";
|
|
877
1379
|
principalId: string;
|
|
878
1380
|
};
|
|
879
|
-
workflowId: string;
|
|
880
1381
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
881
1382
|
queuedAt?: string | undefined;
|
|
882
1383
|
finishedAt?: string | undefined;
|
|
@@ -903,28 +1404,28 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
903
1404
|
principalId: string;
|
|
904
1405
|
}>;
|
|
905
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1407
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
906
1408
|
projectId: string;
|
|
907
1409
|
id: string;
|
|
908
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
909
1410
|
startedAt: string;
|
|
1411
|
+
workflowId: string;
|
|
910
1412
|
requestedBy: {
|
|
911
1413
|
principalType: "user" | "serviceAccount" | "system";
|
|
912
1414
|
principalId: string;
|
|
913
1415
|
};
|
|
914
|
-
workflowId: string;
|
|
915
1416
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
916
1417
|
queuedAt?: string | undefined;
|
|
917
1418
|
finishedAt?: string | undefined;
|
|
918
1419
|
}, {
|
|
1420
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
919
1421
|
projectId: string;
|
|
920
1422
|
id: string;
|
|
921
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
922
1423
|
startedAt: string;
|
|
1424
|
+
workflowId: string;
|
|
923
1425
|
requestedBy: {
|
|
924
1426
|
principalType: "user" | "serviceAccount" | "system";
|
|
925
1427
|
principalId: string;
|
|
926
1428
|
};
|
|
927
|
-
workflowId: string;
|
|
928
1429
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
929
1430
|
queuedAt?: string | undefined;
|
|
930
1431
|
finishedAt?: string | undefined;
|
|
@@ -933,15 +1434,15 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
933
1434
|
total: z.ZodNumber;
|
|
934
1435
|
}, "strip", z.ZodTypeAny, {
|
|
935
1436
|
runs: {
|
|
1437
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
936
1438
|
projectId: string;
|
|
937
1439
|
id: string;
|
|
938
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
939
1440
|
startedAt: string;
|
|
1441
|
+
workflowId: string;
|
|
940
1442
|
requestedBy: {
|
|
941
1443
|
principalType: "user" | "serviceAccount" | "system";
|
|
942
1444
|
principalId: string;
|
|
943
1445
|
};
|
|
944
|
-
workflowId: string;
|
|
945
1446
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
946
1447
|
queuedAt?: string | undefined;
|
|
947
1448
|
finishedAt?: string | undefined;
|
|
@@ -950,15 +1451,15 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
950
1451
|
total: number;
|
|
951
1452
|
}, {
|
|
952
1453
|
runs: {
|
|
1454
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
953
1455
|
projectId: string;
|
|
954
1456
|
id: string;
|
|
955
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
956
1457
|
startedAt: string;
|
|
1458
|
+
workflowId: string;
|
|
957
1459
|
requestedBy: {
|
|
958
1460
|
principalType: "user" | "serviceAccount" | "system";
|
|
959
1461
|
principalId: string;
|
|
960
1462
|
};
|
|
961
|
-
workflowId: string;
|
|
962
1463
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
963
1464
|
queuedAt?: string | undefined;
|
|
964
1465
|
finishedAt?: string | undefined;
|
|
@@ -990,31 +1491,31 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
990
1491
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
991
1492
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
992
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
993
1495
|
projectId: string;
|
|
994
1496
|
id: string;
|
|
995
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
996
1497
|
startedAt: string;
|
|
1498
|
+
workflowId: string;
|
|
997
1499
|
input: Record<string, import("./common").JsonValue>;
|
|
998
1500
|
requestedBy: {
|
|
999
1501
|
principalType: "user" | "serviceAccount" | "system";
|
|
1000
1502
|
principalId: string;
|
|
1001
1503
|
};
|
|
1002
|
-
workflowId: string;
|
|
1003
1504
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1004
1505
|
queuedAt?: string | undefined;
|
|
1005
1506
|
finishedAt?: string | undefined;
|
|
1006
1507
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1007
1508
|
}, {
|
|
1509
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1008
1510
|
projectId: string;
|
|
1009
1511
|
id: string;
|
|
1010
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1011
1512
|
startedAt: string;
|
|
1513
|
+
workflowId: string;
|
|
1012
1514
|
input: Record<string, import("./common").JsonValue>;
|
|
1013
1515
|
requestedBy: {
|
|
1014
1516
|
principalType: "user" | "serviceAccount" | "system";
|
|
1015
1517
|
principalId: string;
|
|
1016
1518
|
};
|
|
1017
|
-
workflowId: string;
|
|
1018
1519
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1019
1520
|
queuedAt?: string | undefined;
|
|
1020
1521
|
finishedAt?: string | undefined;
|
|
@@ -1072,6 +1573,37 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1072
1573
|
textOutputTokens?: number | undefined;
|
|
1073
1574
|
reasoningOutputTokens?: number | undefined;
|
|
1074
1575
|
}>>;
|
|
1576
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1577
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
1578
|
+
currency: z.ZodString;
|
|
1579
|
+
amountNanos: z.ZodString;
|
|
1580
|
+
}, "strip", z.ZodTypeAny, {
|
|
1581
|
+
currency: string;
|
|
1582
|
+
amountNanos: string;
|
|
1583
|
+
}, {
|
|
1584
|
+
currency: string;
|
|
1585
|
+
amountNanos: string;
|
|
1586
|
+
}>, "many">;
|
|
1587
|
+
ratedCallCount: z.ZodNumber;
|
|
1588
|
+
unpriceableCallCount: z.ZodNumber;
|
|
1589
|
+
unvaluedCallCount: z.ZodNumber;
|
|
1590
|
+
}, "strip", z.ZodTypeAny, {
|
|
1591
|
+
amounts: {
|
|
1592
|
+
currency: string;
|
|
1593
|
+
amountNanos: string;
|
|
1594
|
+
}[];
|
|
1595
|
+
ratedCallCount: number;
|
|
1596
|
+
unpriceableCallCount: number;
|
|
1597
|
+
unvaluedCallCount: number;
|
|
1598
|
+
}, {
|
|
1599
|
+
amounts: {
|
|
1600
|
+
currency: string;
|
|
1601
|
+
amountNanos: string;
|
|
1602
|
+
}[];
|
|
1603
|
+
ratedCallCount: number;
|
|
1604
|
+
unpriceableCallCount: number;
|
|
1605
|
+
unvaluedCallCount: number;
|
|
1606
|
+
}>>;
|
|
1075
1607
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1076
1608
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1077
1609
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1081,7 +1613,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1081
1613
|
startedAt?: string | undefined;
|
|
1082
1614
|
completedAt?: string | undefined;
|
|
1083
1615
|
modelId?: string | undefined;
|
|
1084
|
-
finishReason?: string | undefined;
|
|
1085
1616
|
usage?: {
|
|
1086
1617
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1087
1618
|
inputTokens?: number | undefined;
|
|
@@ -1093,6 +1624,16 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1093
1624
|
textOutputTokens?: number | undefined;
|
|
1094
1625
|
reasoningOutputTokens?: number | undefined;
|
|
1095
1626
|
} | undefined;
|
|
1627
|
+
cost?: {
|
|
1628
|
+
amounts: {
|
|
1629
|
+
currency: string;
|
|
1630
|
+
amountNanos: string;
|
|
1631
|
+
}[];
|
|
1632
|
+
ratedCallCount: number;
|
|
1633
|
+
unpriceableCallCount: number;
|
|
1634
|
+
unvaluedCallCount: number;
|
|
1635
|
+
} | undefined;
|
|
1636
|
+
finishReason?: string | undefined;
|
|
1096
1637
|
}, {
|
|
1097
1638
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1098
1639
|
agentId: string;
|
|
@@ -1100,7 +1641,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1100
1641
|
startedAt?: string | undefined;
|
|
1101
1642
|
completedAt?: string | undefined;
|
|
1102
1643
|
modelId?: string | undefined;
|
|
1103
|
-
finishReason?: string | undefined;
|
|
1104
1644
|
usage?: {
|
|
1105
1645
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1106
1646
|
inputTokens?: number | undefined;
|
|
@@ -1112,19 +1652,30 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1112
1652
|
textOutputTokens?: number | undefined;
|
|
1113
1653
|
reasoningOutputTokens?: number | undefined;
|
|
1114
1654
|
} | undefined;
|
|
1655
|
+
cost?: {
|
|
1656
|
+
amounts: {
|
|
1657
|
+
currency: string;
|
|
1658
|
+
amountNanos: string;
|
|
1659
|
+
}[];
|
|
1660
|
+
ratedCallCount: number;
|
|
1661
|
+
unpriceableCallCount: number;
|
|
1662
|
+
unvaluedCallCount: number;
|
|
1663
|
+
} | undefined;
|
|
1664
|
+
finishReason?: string | undefined;
|
|
1115
1665
|
}>>;
|
|
1116
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1667
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1117
1668
|
projectId: string;
|
|
1118
1669
|
id: string;
|
|
1119
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1120
1670
|
startedAt: string;
|
|
1121
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1122
1671
|
workflowId: string;
|
|
1672
|
+
workflowRunId: string;
|
|
1673
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1123
1674
|
nodeIndex: number;
|
|
1124
|
-
nodeType: "
|
|
1675
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1125
1676
|
nodeId: string;
|
|
1126
1677
|
nodeKey: string;
|
|
1127
|
-
|
|
1678
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1128
1679
|
agentExecution?: {
|
|
1129
1680
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1130
1681
|
agentId: string;
|
|
@@ -1132,7 +1683,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1132
1683
|
startedAt?: string | undefined;
|
|
1133
1684
|
completedAt?: string | undefined;
|
|
1134
1685
|
modelId?: string | undefined;
|
|
1135
|
-
finishReason?: string | undefined;
|
|
1136
1686
|
usage?: {
|
|
1137
1687
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1138
1688
|
inputTokens?: number | undefined;
|
|
@@ -1144,22 +1694,32 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1144
1694
|
textOutputTokens?: number | undefined;
|
|
1145
1695
|
reasoningOutputTokens?: number | undefined;
|
|
1146
1696
|
} | undefined;
|
|
1697
|
+
cost?: {
|
|
1698
|
+
amounts: {
|
|
1699
|
+
currency: string;
|
|
1700
|
+
amountNanos: string;
|
|
1701
|
+
}[];
|
|
1702
|
+
ratedCallCount: number;
|
|
1703
|
+
unpriceableCallCount: number;
|
|
1704
|
+
unvaluedCallCount: number;
|
|
1705
|
+
} | undefined;
|
|
1706
|
+
finishReason?: string | undefined;
|
|
1147
1707
|
} | undefined;
|
|
1148
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1149
1708
|
finishedAt?: string | undefined;
|
|
1150
1709
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1151
1710
|
}, {
|
|
1711
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1152
1712
|
projectId: string;
|
|
1153
1713
|
id: string;
|
|
1154
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1155
1714
|
startedAt: string;
|
|
1156
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1157
1715
|
workflowId: string;
|
|
1716
|
+
workflowRunId: string;
|
|
1717
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1158
1718
|
nodeIndex: number;
|
|
1159
|
-
nodeType: "
|
|
1719
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1160
1720
|
nodeId: string;
|
|
1161
1721
|
nodeKey: string;
|
|
1162
|
-
|
|
1722
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1163
1723
|
agentExecution?: {
|
|
1164
1724
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1165
1725
|
agentId: string;
|
|
@@ -1167,7 +1727,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1167
1727
|
startedAt?: string | undefined;
|
|
1168
1728
|
completedAt?: string | undefined;
|
|
1169
1729
|
modelId?: string | undefined;
|
|
1170
|
-
finishReason?: string | undefined;
|
|
1171
1730
|
usage?: {
|
|
1172
1731
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1173
1732
|
inputTokens?: number | undefined;
|
|
@@ -1179,40 +1738,50 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1179
1738
|
textOutputTokens?: number | undefined;
|
|
1180
1739
|
reasoningOutputTokens?: number | undefined;
|
|
1181
1740
|
} | undefined;
|
|
1741
|
+
cost?: {
|
|
1742
|
+
amounts: {
|
|
1743
|
+
currency: string;
|
|
1744
|
+
amountNanos: string;
|
|
1745
|
+
}[];
|
|
1746
|
+
ratedCallCount: number;
|
|
1747
|
+
unpriceableCallCount: number;
|
|
1748
|
+
unvaluedCallCount: number;
|
|
1749
|
+
} | undefined;
|
|
1750
|
+
finishReason?: string | undefined;
|
|
1182
1751
|
} | undefined;
|
|
1183
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1184
1752
|
finishedAt?: string | undefined;
|
|
1185
1753
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1186
1754
|
}>, "many">;
|
|
1187
1755
|
}, "strip", z.ZodTypeAny, {
|
|
1188
1756
|
run: {
|
|
1757
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1189
1758
|
projectId: string;
|
|
1190
1759
|
id: string;
|
|
1191
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1192
1760
|
startedAt: string;
|
|
1761
|
+
workflowId: string;
|
|
1193
1762
|
input: Record<string, import("./common").JsonValue>;
|
|
1194
1763
|
requestedBy: {
|
|
1195
1764
|
principalType: "user" | "serviceAccount" | "system";
|
|
1196
1765
|
principalId: string;
|
|
1197
1766
|
};
|
|
1198
|
-
workflowId: string;
|
|
1199
1767
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1200
1768
|
queuedAt?: string | undefined;
|
|
1201
1769
|
finishedAt?: string | undefined;
|
|
1202
1770
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1203
1771
|
};
|
|
1204
1772
|
nodes: {
|
|
1773
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1205
1774
|
projectId: string;
|
|
1206
1775
|
id: string;
|
|
1207
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1208
1776
|
startedAt: string;
|
|
1209
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1210
1777
|
workflowId: string;
|
|
1778
|
+
workflowRunId: string;
|
|
1779
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1211
1780
|
nodeIndex: number;
|
|
1212
|
-
nodeType: "
|
|
1781
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1213
1782
|
nodeId: string;
|
|
1214
1783
|
nodeKey: string;
|
|
1215
|
-
|
|
1784
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1216
1785
|
agentExecution?: {
|
|
1217
1786
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1218
1787
|
agentId: string;
|
|
@@ -1220,7 +1789,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1220
1789
|
startedAt?: string | undefined;
|
|
1221
1790
|
completedAt?: string | undefined;
|
|
1222
1791
|
modelId?: string | undefined;
|
|
1223
|
-
finishReason?: string | undefined;
|
|
1224
1792
|
usage?: {
|
|
1225
1793
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1226
1794
|
inputTokens?: number | undefined;
|
|
@@ -1232,40 +1800,50 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1232
1800
|
textOutputTokens?: number | undefined;
|
|
1233
1801
|
reasoningOutputTokens?: number | undefined;
|
|
1234
1802
|
} | undefined;
|
|
1803
|
+
cost?: {
|
|
1804
|
+
amounts: {
|
|
1805
|
+
currency: string;
|
|
1806
|
+
amountNanos: string;
|
|
1807
|
+
}[];
|
|
1808
|
+
ratedCallCount: number;
|
|
1809
|
+
unpriceableCallCount: number;
|
|
1810
|
+
unvaluedCallCount: number;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
finishReason?: string | undefined;
|
|
1235
1813
|
} | undefined;
|
|
1236
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1237
1814
|
finishedAt?: string | undefined;
|
|
1238
1815
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1239
1816
|
}[];
|
|
1240
1817
|
}, {
|
|
1241
1818
|
run: {
|
|
1819
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1242
1820
|
projectId: string;
|
|
1243
1821
|
id: string;
|
|
1244
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1245
1822
|
startedAt: string;
|
|
1823
|
+
workflowId: string;
|
|
1246
1824
|
input: Record<string, import("./common").JsonValue>;
|
|
1247
1825
|
requestedBy: {
|
|
1248
1826
|
principalType: "user" | "serviceAccount" | "system";
|
|
1249
1827
|
principalId: string;
|
|
1250
1828
|
};
|
|
1251
|
-
workflowId: string;
|
|
1252
1829
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1253
1830
|
queuedAt?: string | undefined;
|
|
1254
1831
|
finishedAt?: string | undefined;
|
|
1255
1832
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1256
1833
|
};
|
|
1257
1834
|
nodes: {
|
|
1835
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1258
1836
|
projectId: string;
|
|
1259
1837
|
id: string;
|
|
1260
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1261
1838
|
startedAt: string;
|
|
1262
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1263
1839
|
workflowId: string;
|
|
1840
|
+
workflowRunId: string;
|
|
1841
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1264
1842
|
nodeIndex: number;
|
|
1265
|
-
nodeType: "
|
|
1843
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1266
1844
|
nodeId: string;
|
|
1267
1845
|
nodeKey: string;
|
|
1268
|
-
|
|
1846
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1269
1847
|
agentExecution?: {
|
|
1270
1848
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1271
1849
|
agentId: string;
|
|
@@ -1273,7 +1851,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1273
1851
|
startedAt?: string | undefined;
|
|
1274
1852
|
completedAt?: string | undefined;
|
|
1275
1853
|
modelId?: string | undefined;
|
|
1276
|
-
finishReason?: string | undefined;
|
|
1277
1854
|
usage?: {
|
|
1278
1855
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1279
1856
|
inputTokens?: number | undefined;
|
|
@@ -1285,8 +1862,17 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1285
1862
|
textOutputTokens?: number | undefined;
|
|
1286
1863
|
reasoningOutputTokens?: number | undefined;
|
|
1287
1864
|
} | undefined;
|
|
1865
|
+
cost?: {
|
|
1866
|
+
amounts: {
|
|
1867
|
+
currency: string;
|
|
1868
|
+
amountNanos: string;
|
|
1869
|
+
}[];
|
|
1870
|
+
ratedCallCount: number;
|
|
1871
|
+
unpriceableCallCount: number;
|
|
1872
|
+
unvaluedCallCount: number;
|
|
1873
|
+
} | undefined;
|
|
1874
|
+
finishReason?: string | undefined;
|
|
1288
1875
|
} | undefined;
|
|
1289
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1290
1876
|
finishedAt?: string | undefined;
|
|
1291
1877
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1292
1878
|
}[];
|
|
@@ -1315,31 +1901,31 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1315
1901
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1316
1902
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1317
1903
|
}, "strip", z.ZodTypeAny, {
|
|
1904
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1318
1905
|
projectId: string;
|
|
1319
1906
|
id: string;
|
|
1320
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1321
1907
|
startedAt: string;
|
|
1908
|
+
workflowId: string;
|
|
1322
1909
|
input: Record<string, import("./common").JsonValue>;
|
|
1323
1910
|
requestedBy: {
|
|
1324
1911
|
principalType: "user" | "serviceAccount" | "system";
|
|
1325
1912
|
principalId: string;
|
|
1326
1913
|
};
|
|
1327
|
-
workflowId: string;
|
|
1328
1914
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1329
1915
|
queuedAt?: string | undefined;
|
|
1330
1916
|
finishedAt?: string | undefined;
|
|
1331
1917
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1332
1918
|
}, {
|
|
1919
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1333
1920
|
projectId: string;
|
|
1334
1921
|
id: string;
|
|
1335
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1336
1922
|
startedAt: string;
|
|
1923
|
+
workflowId: string;
|
|
1337
1924
|
input: Record<string, import("./common").JsonValue>;
|
|
1338
1925
|
requestedBy: {
|
|
1339
1926
|
principalType: "user" | "serviceAccount" | "system";
|
|
1340
1927
|
principalId: string;
|
|
1341
1928
|
};
|
|
1342
|
-
workflowId: string;
|
|
1343
1929
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1344
1930
|
queuedAt?: string | undefined;
|
|
1345
1931
|
finishedAt?: string | undefined;
|
|
@@ -1397,6 +1983,37 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1397
1983
|
textOutputTokens?: number | undefined;
|
|
1398
1984
|
reasoningOutputTokens?: number | undefined;
|
|
1399
1985
|
}>>;
|
|
1986
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
1987
|
+
amounts: z.ZodArray<z.ZodObject<{
|
|
1988
|
+
currency: z.ZodString;
|
|
1989
|
+
amountNanos: z.ZodString;
|
|
1990
|
+
}, "strip", z.ZodTypeAny, {
|
|
1991
|
+
currency: string;
|
|
1992
|
+
amountNanos: string;
|
|
1993
|
+
}, {
|
|
1994
|
+
currency: string;
|
|
1995
|
+
amountNanos: string;
|
|
1996
|
+
}>, "many">;
|
|
1997
|
+
ratedCallCount: z.ZodNumber;
|
|
1998
|
+
unpriceableCallCount: z.ZodNumber;
|
|
1999
|
+
unvaluedCallCount: z.ZodNumber;
|
|
2000
|
+
}, "strip", z.ZodTypeAny, {
|
|
2001
|
+
amounts: {
|
|
2002
|
+
currency: string;
|
|
2003
|
+
amountNanos: string;
|
|
2004
|
+
}[];
|
|
2005
|
+
ratedCallCount: number;
|
|
2006
|
+
unpriceableCallCount: number;
|
|
2007
|
+
unvaluedCallCount: number;
|
|
2008
|
+
}, {
|
|
2009
|
+
amounts: {
|
|
2010
|
+
currency: string;
|
|
2011
|
+
amountNanos: string;
|
|
2012
|
+
}[];
|
|
2013
|
+
ratedCallCount: number;
|
|
2014
|
+
unpriceableCallCount: number;
|
|
2015
|
+
unvaluedCallCount: number;
|
|
2016
|
+
}>>;
|
|
1400
2017
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1401
2018
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1402
2019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1406,7 +2023,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1406
2023
|
startedAt?: string | undefined;
|
|
1407
2024
|
completedAt?: string | undefined;
|
|
1408
2025
|
modelId?: string | undefined;
|
|
1409
|
-
finishReason?: string | undefined;
|
|
1410
2026
|
usage?: {
|
|
1411
2027
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1412
2028
|
inputTokens?: number | undefined;
|
|
@@ -1418,6 +2034,16 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1418
2034
|
textOutputTokens?: number | undefined;
|
|
1419
2035
|
reasoningOutputTokens?: number | undefined;
|
|
1420
2036
|
} | undefined;
|
|
2037
|
+
cost?: {
|
|
2038
|
+
amounts: {
|
|
2039
|
+
currency: string;
|
|
2040
|
+
amountNanos: string;
|
|
2041
|
+
}[];
|
|
2042
|
+
ratedCallCount: number;
|
|
2043
|
+
unpriceableCallCount: number;
|
|
2044
|
+
unvaluedCallCount: number;
|
|
2045
|
+
} | undefined;
|
|
2046
|
+
finishReason?: string | undefined;
|
|
1421
2047
|
}, {
|
|
1422
2048
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1423
2049
|
agentId: string;
|
|
@@ -1425,7 +2051,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1425
2051
|
startedAt?: string | undefined;
|
|
1426
2052
|
completedAt?: string | undefined;
|
|
1427
2053
|
modelId?: string | undefined;
|
|
1428
|
-
finishReason?: string | undefined;
|
|
1429
2054
|
usage?: {
|
|
1430
2055
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1431
2056
|
inputTokens?: number | undefined;
|
|
@@ -1437,19 +2062,30 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1437
2062
|
textOutputTokens?: number | undefined;
|
|
1438
2063
|
reasoningOutputTokens?: number | undefined;
|
|
1439
2064
|
} | undefined;
|
|
2065
|
+
cost?: {
|
|
2066
|
+
amounts: {
|
|
2067
|
+
currency: string;
|
|
2068
|
+
amountNanos: string;
|
|
2069
|
+
}[];
|
|
2070
|
+
ratedCallCount: number;
|
|
2071
|
+
unpriceableCallCount: number;
|
|
2072
|
+
unvaluedCallCount: number;
|
|
2073
|
+
} | undefined;
|
|
2074
|
+
finishReason?: string | undefined;
|
|
1440
2075
|
}>>;
|
|
1441
2076
|
}, "strip", z.ZodTypeAny, {
|
|
2077
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1442
2078
|
projectId: string;
|
|
1443
2079
|
id: string;
|
|
1444
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1445
2080
|
startedAt: string;
|
|
1446
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1447
2081
|
workflowId: string;
|
|
2082
|
+
workflowRunId: string;
|
|
2083
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1448
2084
|
nodeIndex: number;
|
|
1449
|
-
nodeType: "
|
|
2085
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1450
2086
|
nodeId: string;
|
|
1451
2087
|
nodeKey: string;
|
|
1452
|
-
|
|
2088
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1453
2089
|
agentExecution?: {
|
|
1454
2090
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1455
2091
|
agentId: string;
|
|
@@ -1457,7 +2093,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1457
2093
|
startedAt?: string | undefined;
|
|
1458
2094
|
completedAt?: string | undefined;
|
|
1459
2095
|
modelId?: string | undefined;
|
|
1460
|
-
finishReason?: string | undefined;
|
|
1461
2096
|
usage?: {
|
|
1462
2097
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1463
2098
|
inputTokens?: number | undefined;
|
|
@@ -1469,22 +2104,32 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1469
2104
|
textOutputTokens?: number | undefined;
|
|
1470
2105
|
reasoningOutputTokens?: number | undefined;
|
|
1471
2106
|
} | undefined;
|
|
2107
|
+
cost?: {
|
|
2108
|
+
amounts: {
|
|
2109
|
+
currency: string;
|
|
2110
|
+
amountNanos: string;
|
|
2111
|
+
}[];
|
|
2112
|
+
ratedCallCount: number;
|
|
2113
|
+
unpriceableCallCount: number;
|
|
2114
|
+
unvaluedCallCount: number;
|
|
2115
|
+
} | undefined;
|
|
2116
|
+
finishReason?: string | undefined;
|
|
1472
2117
|
} | undefined;
|
|
1473
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1474
2118
|
finishedAt?: string | undefined;
|
|
1475
2119
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1476
2120
|
}, {
|
|
2121
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1477
2122
|
projectId: string;
|
|
1478
2123
|
id: string;
|
|
1479
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1480
2124
|
startedAt: string;
|
|
1481
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1482
2125
|
workflowId: string;
|
|
2126
|
+
workflowRunId: string;
|
|
2127
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1483
2128
|
nodeIndex: number;
|
|
1484
|
-
nodeType: "
|
|
2129
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1485
2130
|
nodeId: string;
|
|
1486
2131
|
nodeKey: string;
|
|
1487
|
-
|
|
2132
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1488
2133
|
agentExecution?: {
|
|
1489
2134
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1490
2135
|
agentId: string;
|
|
@@ -1492,7 +2137,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1492
2137
|
startedAt?: string | undefined;
|
|
1493
2138
|
completedAt?: string | undefined;
|
|
1494
2139
|
modelId?: string | undefined;
|
|
1495
|
-
finishReason?: string | undefined;
|
|
1496
2140
|
usage?: {
|
|
1497
2141
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1498
2142
|
inputTokens?: number | undefined;
|
|
@@ -1504,40 +2148,50 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1504
2148
|
textOutputTokens?: number | undefined;
|
|
1505
2149
|
reasoningOutputTokens?: number | undefined;
|
|
1506
2150
|
} | undefined;
|
|
2151
|
+
cost?: {
|
|
2152
|
+
amounts: {
|
|
2153
|
+
currency: string;
|
|
2154
|
+
amountNanos: string;
|
|
2155
|
+
}[];
|
|
2156
|
+
ratedCallCount: number;
|
|
2157
|
+
unpriceableCallCount: number;
|
|
2158
|
+
unvaluedCallCount: number;
|
|
2159
|
+
} | undefined;
|
|
2160
|
+
finishReason?: string | undefined;
|
|
1507
2161
|
} | undefined;
|
|
1508
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1509
2162
|
finishedAt?: string | undefined;
|
|
1510
2163
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1511
2164
|
}>, "many">;
|
|
1512
2165
|
}, "strip", z.ZodTypeAny, {
|
|
1513
2166
|
run: {
|
|
2167
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1514
2168
|
projectId: string;
|
|
1515
2169
|
id: string;
|
|
1516
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1517
2170
|
startedAt: string;
|
|
2171
|
+
workflowId: string;
|
|
1518
2172
|
input: Record<string, import("./common").JsonValue>;
|
|
1519
2173
|
requestedBy: {
|
|
1520
2174
|
principalType: "user" | "serviceAccount" | "system";
|
|
1521
2175
|
principalId: string;
|
|
1522
2176
|
};
|
|
1523
|
-
workflowId: string;
|
|
1524
2177
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1525
2178
|
queuedAt?: string | undefined;
|
|
1526
2179
|
finishedAt?: string | undefined;
|
|
1527
2180
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1528
2181
|
};
|
|
1529
2182
|
nodes: {
|
|
2183
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1530
2184
|
projectId: string;
|
|
1531
2185
|
id: string;
|
|
1532
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1533
2186
|
startedAt: string;
|
|
1534
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1535
2187
|
workflowId: string;
|
|
2188
|
+
workflowRunId: string;
|
|
2189
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1536
2190
|
nodeIndex: number;
|
|
1537
|
-
nodeType: "
|
|
2191
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1538
2192
|
nodeId: string;
|
|
1539
2193
|
nodeKey: string;
|
|
1540
|
-
|
|
2194
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1541
2195
|
agentExecution?: {
|
|
1542
2196
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1543
2197
|
agentId: string;
|
|
@@ -1545,7 +2199,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1545
2199
|
startedAt?: string | undefined;
|
|
1546
2200
|
completedAt?: string | undefined;
|
|
1547
2201
|
modelId?: string | undefined;
|
|
1548
|
-
finishReason?: string | undefined;
|
|
1549
2202
|
usage?: {
|
|
1550
2203
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1551
2204
|
inputTokens?: number | undefined;
|
|
@@ -1557,40 +2210,50 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1557
2210
|
textOutputTokens?: number | undefined;
|
|
1558
2211
|
reasoningOutputTokens?: number | undefined;
|
|
1559
2212
|
} | undefined;
|
|
2213
|
+
cost?: {
|
|
2214
|
+
amounts: {
|
|
2215
|
+
currency: string;
|
|
2216
|
+
amountNanos: string;
|
|
2217
|
+
}[];
|
|
2218
|
+
ratedCallCount: number;
|
|
2219
|
+
unpriceableCallCount: number;
|
|
2220
|
+
unvaluedCallCount: number;
|
|
2221
|
+
} | undefined;
|
|
2222
|
+
finishReason?: string | undefined;
|
|
1560
2223
|
} | undefined;
|
|
1561
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1562
2224
|
finishedAt?: string | undefined;
|
|
1563
2225
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1564
2226
|
}[];
|
|
1565
2227
|
}, {
|
|
1566
2228
|
run: {
|
|
2229
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1567
2230
|
projectId: string;
|
|
1568
2231
|
id: string;
|
|
1569
|
-
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1570
2232
|
startedAt: string;
|
|
2233
|
+
workflowId: string;
|
|
1571
2234
|
input: Record<string, import("./common").JsonValue>;
|
|
1572
2235
|
requestedBy: {
|
|
1573
2236
|
principalType: "user" | "serviceAccount" | "system";
|
|
1574
2237
|
principalId: string;
|
|
1575
2238
|
};
|
|
1576
|
-
workflowId: string;
|
|
1577
2239
|
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1578
2240
|
queuedAt?: string | undefined;
|
|
1579
2241
|
finishedAt?: string | undefined;
|
|
1580
2242
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1581
2243
|
};
|
|
1582
2244
|
nodes: {
|
|
2245
|
+
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1583
2246
|
projectId: string;
|
|
1584
2247
|
id: string;
|
|
1585
|
-
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1586
2248
|
startedAt: string;
|
|
1587
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1588
2249
|
workflowId: string;
|
|
2250
|
+
workflowRunId: string;
|
|
2251
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1589
2252
|
nodeIndex: number;
|
|
1590
|
-
nodeType: "
|
|
2253
|
+
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1591
2254
|
nodeId: string;
|
|
1592
2255
|
nodeKey: string;
|
|
1593
|
-
|
|
2256
|
+
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1594
2257
|
agentExecution?: {
|
|
1595
2258
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1596
2259
|
agentId: string;
|
|
@@ -1598,7 +2261,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1598
2261
|
startedAt?: string | undefined;
|
|
1599
2262
|
completedAt?: string | undefined;
|
|
1600
2263
|
modelId?: string | undefined;
|
|
1601
|
-
finishReason?: string | undefined;
|
|
1602
2264
|
usage?: {
|
|
1603
2265
|
reportingStatus: "complete" | "partial" | "unavailable";
|
|
1604
2266
|
inputTokens?: number | undefined;
|
|
@@ -1610,8 +2272,17 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1610
2272
|
textOutputTokens?: number | undefined;
|
|
1611
2273
|
reasoningOutputTokens?: number | undefined;
|
|
1612
2274
|
} | undefined;
|
|
2275
|
+
cost?: {
|
|
2276
|
+
amounts: {
|
|
2277
|
+
currency: string;
|
|
2278
|
+
amountNanos: string;
|
|
2279
|
+
}[];
|
|
2280
|
+
ratedCallCount: number;
|
|
2281
|
+
unpriceableCallCount: number;
|
|
2282
|
+
unvaluedCallCount: number;
|
|
2283
|
+
} | undefined;
|
|
2284
|
+
finishReason?: string | undefined;
|
|
1613
2285
|
} | undefined;
|
|
1614
|
-
error?: SixbFailure<"internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1615
2286
|
finishedAt?: string | undefined;
|
|
1616
2287
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1617
2288
|
}[];
|
|
@@ -1657,18 +2328,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1657
2328
|
}>>;
|
|
1658
2329
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1659
2330
|
}, "strip", z.ZodTypeAny, {
|
|
2331
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1660
2332
|
projectId: string;
|
|
1661
2333
|
id: string;
|
|
1662
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1663
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1664
2334
|
workflowId: string;
|
|
1665
2335
|
nodeRunId: string;
|
|
2336
|
+
workflowRunId: string;
|
|
2337
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1666
2338
|
nodeIndex: number;
|
|
1667
2339
|
nodeId: string;
|
|
1668
2340
|
nodeKey: string;
|
|
1669
2341
|
interventionId: string;
|
|
1670
2342
|
requestedAt: string;
|
|
1671
|
-
workflowRunId: string;
|
|
1672
2343
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1673
2344
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1674
2345
|
expiresAt?: string | undefined;
|
|
@@ -1684,18 +2355,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1684
2355
|
principalId: string;
|
|
1685
2356
|
} | undefined;
|
|
1686
2357
|
}, {
|
|
2358
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1687
2359
|
projectId: string;
|
|
1688
2360
|
id: string;
|
|
1689
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1690
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1691
2361
|
workflowId: string;
|
|
1692
2362
|
nodeRunId: string;
|
|
2363
|
+
workflowRunId: string;
|
|
2364
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1693
2365
|
nodeIndex: number;
|
|
1694
2366
|
nodeId: string;
|
|
1695
2367
|
nodeKey: string;
|
|
1696
2368
|
interventionId: string;
|
|
1697
2369
|
requestedAt: string;
|
|
1698
|
-
workflowRunId: string;
|
|
1699
2370
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1700
2371
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1701
2372
|
expiresAt?: string | undefined;
|
|
@@ -1717,18 +2388,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1717
2388
|
hasMore: boolean;
|
|
1718
2389
|
total: number;
|
|
1719
2390
|
interventions: {
|
|
2391
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1720
2392
|
projectId: string;
|
|
1721
2393
|
id: string;
|
|
1722
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1723
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1724
2394
|
workflowId: string;
|
|
1725
2395
|
nodeRunId: string;
|
|
2396
|
+
workflowRunId: string;
|
|
2397
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1726
2398
|
nodeIndex: number;
|
|
1727
2399
|
nodeId: string;
|
|
1728
2400
|
nodeKey: string;
|
|
1729
2401
|
interventionId: string;
|
|
1730
2402
|
requestedAt: string;
|
|
1731
|
-
workflowRunId: string;
|
|
1732
2403
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1733
2404
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1734
2405
|
expiresAt?: string | undefined;
|
|
@@ -1748,18 +2419,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1748
2419
|
hasMore: boolean;
|
|
1749
2420
|
total: number;
|
|
1750
2421
|
interventions: {
|
|
2422
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1751
2423
|
projectId: string;
|
|
1752
2424
|
id: string;
|
|
1753
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1754
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1755
2425
|
workflowId: string;
|
|
1756
2426
|
nodeRunId: string;
|
|
2427
|
+
workflowRunId: string;
|
|
2428
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1757
2429
|
nodeIndex: number;
|
|
1758
2430
|
nodeId: string;
|
|
1759
2431
|
nodeKey: string;
|
|
1760
2432
|
interventionId: string;
|
|
1761
2433
|
requestedAt: string;
|
|
1762
|
-
workflowRunId: string;
|
|
1763
2434
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1764
2435
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1765
2436
|
expiresAt?: string | undefined;
|
|
@@ -1817,18 +2488,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1817
2488
|
}>>;
|
|
1818
2489
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1819
2490
|
}, "strip", z.ZodTypeAny, {
|
|
2491
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1820
2492
|
projectId: string;
|
|
1821
2493
|
id: string;
|
|
1822
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1823
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1824
2494
|
workflowId: string;
|
|
1825
2495
|
nodeRunId: string;
|
|
2496
|
+
workflowRunId: string;
|
|
2497
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1826
2498
|
nodeIndex: number;
|
|
1827
2499
|
nodeId: string;
|
|
1828
2500
|
nodeKey: string;
|
|
1829
2501
|
interventionId: string;
|
|
1830
2502
|
requestedAt: string;
|
|
1831
|
-
workflowRunId: string;
|
|
1832
2503
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1833
2504
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1834
2505
|
expiresAt?: string | undefined;
|
|
@@ -1844,18 +2515,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1844
2515
|
principalId: string;
|
|
1845
2516
|
} | undefined;
|
|
1846
2517
|
}, {
|
|
2518
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1847
2519
|
projectId: string;
|
|
1848
2520
|
id: string;
|
|
1849
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1850
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1851
2521
|
workflowId: string;
|
|
1852
2522
|
nodeRunId: string;
|
|
2523
|
+
workflowRunId: string;
|
|
2524
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1853
2525
|
nodeIndex: number;
|
|
1854
2526
|
nodeId: string;
|
|
1855
2527
|
nodeKey: string;
|
|
1856
2528
|
interventionId: string;
|
|
1857
2529
|
requestedAt: string;
|
|
1858
|
-
workflowRunId: string;
|
|
1859
2530
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1860
2531
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1861
2532
|
expiresAt?: string | undefined;
|
|
@@ -1875,18 +2546,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1875
2546
|
}, "strip", z.ZodTypeAny, {
|
|
1876
2547
|
jobId: string;
|
|
1877
2548
|
intervention: {
|
|
2549
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1878
2550
|
projectId: string;
|
|
1879
2551
|
id: string;
|
|
1880
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1881
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1882
2552
|
workflowId: string;
|
|
1883
2553
|
nodeRunId: string;
|
|
2554
|
+
workflowRunId: string;
|
|
2555
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1884
2556
|
nodeIndex: number;
|
|
1885
2557
|
nodeId: string;
|
|
1886
2558
|
nodeKey: string;
|
|
1887
2559
|
interventionId: string;
|
|
1888
2560
|
requestedAt: string;
|
|
1889
|
-
workflowRunId: string;
|
|
1890
2561
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1891
2562
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1892
2563
|
expiresAt?: string | undefined;
|
|
@@ -1905,18 +2576,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1905
2576
|
}, {
|
|
1906
2577
|
jobId: string;
|
|
1907
2578
|
intervention: {
|
|
2579
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1908
2580
|
projectId: string;
|
|
1909
2581
|
id: string;
|
|
1910
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1911
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1912
2582
|
workflowId: string;
|
|
1913
2583
|
nodeRunId: string;
|
|
2584
|
+
workflowRunId: string;
|
|
2585
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1914
2586
|
nodeIndex: number;
|
|
1915
2587
|
nodeId: string;
|
|
1916
2588
|
nodeKey: string;
|
|
1917
2589
|
interventionId: string;
|
|
1918
2590
|
requestedAt: string;
|
|
1919
|
-
workflowRunId: string;
|
|
1920
2591
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1921
2592
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1922
2593
|
expiresAt?: string | undefined;
|
|
@@ -1974,18 +2645,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1974
2645
|
}>>;
|
|
1975
2646
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1976
2647
|
}, "strip", z.ZodTypeAny, {
|
|
2648
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1977
2649
|
projectId: string;
|
|
1978
2650
|
id: string;
|
|
1979
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1980
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1981
2651
|
workflowId: string;
|
|
1982
2652
|
nodeRunId: string;
|
|
2653
|
+
workflowRunId: string;
|
|
2654
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1983
2655
|
nodeIndex: number;
|
|
1984
2656
|
nodeId: string;
|
|
1985
2657
|
nodeKey: string;
|
|
1986
2658
|
interventionId: string;
|
|
1987
2659
|
requestedAt: string;
|
|
1988
|
-
workflowRunId: string;
|
|
1989
2660
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1990
2661
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1991
2662
|
expiresAt?: string | undefined;
|
|
@@ -2001,18 +2672,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2001
2672
|
principalId: string;
|
|
2002
2673
|
} | undefined;
|
|
2003
2674
|
}, {
|
|
2675
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2004
2676
|
projectId: string;
|
|
2005
2677
|
id: string;
|
|
2006
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2007
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2008
2678
|
workflowId: string;
|
|
2009
2679
|
nodeRunId: string;
|
|
2680
|
+
workflowRunId: string;
|
|
2681
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2010
2682
|
nodeIndex: number;
|
|
2011
2683
|
nodeId: string;
|
|
2012
2684
|
nodeKey: string;
|
|
2013
2685
|
interventionId: string;
|
|
2014
2686
|
requestedAt: string;
|
|
2015
|
-
workflowRunId: string;
|
|
2016
2687
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2017
2688
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2018
2689
|
expiresAt?: string | undefined;
|
|
@@ -2030,18 +2701,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2030
2701
|
}>;
|
|
2031
2702
|
}, "strip", z.ZodTypeAny, {
|
|
2032
2703
|
intervention: {
|
|
2704
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2033
2705
|
projectId: string;
|
|
2034
2706
|
id: string;
|
|
2035
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2036
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2037
2707
|
workflowId: string;
|
|
2038
2708
|
nodeRunId: string;
|
|
2709
|
+
workflowRunId: string;
|
|
2710
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2039
2711
|
nodeIndex: number;
|
|
2040
2712
|
nodeId: string;
|
|
2041
2713
|
nodeKey: string;
|
|
2042
2714
|
interventionId: string;
|
|
2043
2715
|
requestedAt: string;
|
|
2044
|
-
workflowRunId: string;
|
|
2045
2716
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2046
2717
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2047
2718
|
expiresAt?: string | undefined;
|
|
@@ -2059,18 +2730,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2059
2730
|
};
|
|
2060
2731
|
}, {
|
|
2061
2732
|
intervention: {
|
|
2733
|
+
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2062
2734
|
projectId: string;
|
|
2063
2735
|
id: string;
|
|
2064
|
-
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
2065
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2066
2736
|
workflowId: string;
|
|
2067
2737
|
nodeRunId: string;
|
|
2738
|
+
workflowRunId: string;
|
|
2739
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2068
2740
|
nodeIndex: number;
|
|
2069
2741
|
nodeId: string;
|
|
2070
2742
|
nodeKey: string;
|
|
2071
2743
|
interventionId: string;
|
|
2072
2744
|
requestedAt: string;
|
|
2073
|
-
workflowRunId: string;
|
|
2074
2745
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2075
2746
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2076
2747
|
expiresAt?: string | undefined;
|