@sixb/server 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- package/src/utils/http.ts +2 -0
|
@@ -33,7 +33,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
33
33
|
offset: z.ZodOptional<z.ZodString>;
|
|
34
34
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
status?: "succeeded" | "failed" | "
|
|
36
|
+
status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | undefined;
|
|
37
37
|
startedAfter?: string | undefined;
|
|
38
38
|
startedBefore?: string | undefined;
|
|
39
39
|
limit?: string | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
41
41
|
order?: "asc" | "desc" | undefined;
|
|
42
42
|
workflowId?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
status?: "succeeded" | "failed" | "
|
|
44
|
+
status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | undefined;
|
|
45
45
|
startedAfter?: string | undefined;
|
|
46
46
|
startedBefore?: string | undefined;
|
|
47
47
|
limit?: string | undefined;
|
|
@@ -63,7 +63,7 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
63
63
|
offset: z.ZodOptional<z.ZodString>;
|
|
64
64
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
status?: "
|
|
66
|
+
status?: "pending" | "cancelled" | "expired" | "submitted" | undefined;
|
|
67
67
|
limit?: string | undefined;
|
|
68
68
|
offset?: string | undefined;
|
|
69
69
|
order?: "asc" | "desc" | undefined;
|
|
@@ -76,7 +76,7 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
76
76
|
requestedAfter?: string | undefined;
|
|
77
77
|
requestedBefore?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
status?: "
|
|
79
|
+
status?: "pending" | "cancelled" | "expired" | "submitted" | undefined;
|
|
80
80
|
limit?: string | undefined;
|
|
81
81
|
offset?: string | undefined;
|
|
82
82
|
order?: "asc" | "desc" | undefined;
|
|
@@ -91,9 +91,13 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
91
91
|
}>;
|
|
92
92
|
export declare const RequestWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{
|
|
93
93
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
94
|
+
/** Names the run: a request repeated with the same id returns that run instead of another. */
|
|
95
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
94
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
runId?: string | undefined;
|
|
95
98
|
input?: Record<string, import("./common").JsonValue> | undefined;
|
|
96
99
|
}, {
|
|
100
|
+
runId?: string | undefined;
|
|
97
101
|
input?: Record<string, import("./common").JsonValue> | undefined;
|
|
98
102
|
}>>;
|
|
99
103
|
export declare const CancelWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
@@ -125,28 +129,28 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
125
129
|
type: "user" | "serviceAccount" | "system";
|
|
126
130
|
}>;
|
|
127
131
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
status: "succeeded" | "failed" | "
|
|
132
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
129
133
|
projectId: string;
|
|
130
134
|
id: string;
|
|
131
|
-
startedAt: string;
|
|
132
|
-
workflowId: string;
|
|
133
135
|
requestedBy: {
|
|
134
136
|
id: string;
|
|
135
137
|
type: "user" | "serviceAccount" | "system";
|
|
136
138
|
};
|
|
139
|
+
startedAt: string;
|
|
140
|
+
workflowId: string;
|
|
137
141
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
138
142
|
finishedAt?: string | undefined;
|
|
139
143
|
queuedAt?: string | undefined;
|
|
140
144
|
}, {
|
|
141
|
-
status: "succeeded" | "failed" | "
|
|
145
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
142
146
|
projectId: string;
|
|
143
147
|
id: string;
|
|
144
|
-
startedAt: string;
|
|
145
|
-
workflowId: string;
|
|
146
148
|
requestedBy: {
|
|
147
149
|
id: string;
|
|
148
150
|
type: "user" | "serviceAccount" | "system";
|
|
149
151
|
};
|
|
152
|
+
startedAt: string;
|
|
153
|
+
workflowId: string;
|
|
150
154
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
151
155
|
finishedAt?: string | undefined;
|
|
152
156
|
queuedAt?: string | undefined;
|
|
@@ -174,35 +178,35 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
174
178
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
175
179
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
176
180
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
status: "succeeded" | "failed" | "
|
|
181
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
178
182
|
projectId: string;
|
|
179
183
|
id: string;
|
|
180
|
-
startedAt: string;
|
|
181
|
-
input: Record<string, import("./common").JsonValue>;
|
|
182
|
-
workflowId: string;
|
|
183
184
|
requestedBy: {
|
|
184
185
|
id: string;
|
|
185
186
|
type: "user" | "serviceAccount" | "system";
|
|
186
187
|
};
|
|
188
|
+
startedAt: string;
|
|
189
|
+
workflowId: string;
|
|
190
|
+
input: Record<string, import("./common").JsonValue>;
|
|
187
191
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
188
192
|
finishedAt?: string | undefined;
|
|
189
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
190
193
|
queuedAt?: string | undefined;
|
|
194
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
191
195
|
}, {
|
|
192
|
-
status: "succeeded" | "failed" | "
|
|
196
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
193
197
|
projectId: string;
|
|
194
198
|
id: string;
|
|
195
|
-
startedAt: string;
|
|
196
|
-
input: Record<string, import("./common").JsonValue>;
|
|
197
|
-
workflowId: string;
|
|
198
199
|
requestedBy: {
|
|
199
200
|
id: string;
|
|
200
201
|
type: "user" | "serviceAccount" | "system";
|
|
201
202
|
};
|
|
203
|
+
startedAt: string;
|
|
204
|
+
workflowId: string;
|
|
205
|
+
input: Record<string, import("./common").JsonValue>;
|
|
202
206
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
203
207
|
finishedAt?: string | undefined;
|
|
204
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
205
208
|
queuedAt?: string | undefined;
|
|
209
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
206
210
|
}>;
|
|
207
211
|
export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
208
212
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -219,6 +223,10 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
219
223
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
220
224
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
221
225
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
222
230
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
223
231
|
}, "strip", z.ZodTypeAny, {
|
|
224
232
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -231,6 +239,10 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
231
239
|
textOutputTokens?: number | undefined;
|
|
232
240
|
reasoningOutputTokens?: number | undefined;
|
|
233
241
|
audioDurationMs?: number | undefined;
|
|
242
|
+
imageOutputTokens?: number | undefined;
|
|
243
|
+
audioOutputTokens?: number | undefined;
|
|
244
|
+
outputImages?: number | undefined;
|
|
245
|
+
inputCharacters?: number | undefined;
|
|
234
246
|
}, {
|
|
235
247
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
236
248
|
inputTokens?: number | undefined;
|
|
@@ -242,6 +254,10 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
242
254
|
textOutputTokens?: number | undefined;
|
|
243
255
|
reasoningOutputTokens?: number | undefined;
|
|
244
256
|
audioDurationMs?: number | undefined;
|
|
257
|
+
imageOutputTokens?: number | undefined;
|
|
258
|
+
audioOutputTokens?: number | undefined;
|
|
259
|
+
outputImages?: number | undefined;
|
|
260
|
+
inputCharacters?: number | undefined;
|
|
245
261
|
}>>;
|
|
246
262
|
cost: z.ZodOptional<z.ZodObject<{
|
|
247
263
|
amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -277,7 +293,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
277
293
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
278
294
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
279
295
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
status: "succeeded" | "failed" | "
|
|
296
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
281
297
|
attempt: number;
|
|
282
298
|
modelId?: string | undefined;
|
|
283
299
|
startedAt?: string | undefined;
|
|
@@ -293,6 +309,10 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
293
309
|
textOutputTokens?: number | undefined;
|
|
294
310
|
reasoningOutputTokens?: number | undefined;
|
|
295
311
|
audioDurationMs?: number | undefined;
|
|
312
|
+
imageOutputTokens?: number | undefined;
|
|
313
|
+
audioOutputTokens?: number | undefined;
|
|
314
|
+
outputImages?: number | undefined;
|
|
315
|
+
inputCharacters?: number | undefined;
|
|
296
316
|
} | undefined;
|
|
297
317
|
cost?: {
|
|
298
318
|
amounts: {
|
|
@@ -305,7 +325,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
305
325
|
} | undefined;
|
|
306
326
|
finishReason?: string | undefined;
|
|
307
327
|
}, {
|
|
308
|
-
status: "succeeded" | "failed" | "
|
|
328
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
309
329
|
attempt: number;
|
|
310
330
|
modelId?: string | undefined;
|
|
311
331
|
startedAt?: string | undefined;
|
|
@@ -321,6 +341,10 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
321
341
|
textOutputTokens?: number | undefined;
|
|
322
342
|
reasoningOutputTokens?: number | undefined;
|
|
323
343
|
audioDurationMs?: number | undefined;
|
|
344
|
+
imageOutputTokens?: number | undefined;
|
|
345
|
+
audioOutputTokens?: number | undefined;
|
|
346
|
+
outputImages?: number | undefined;
|
|
347
|
+
inputCharacters?: number | undefined;
|
|
324
348
|
} | undefined;
|
|
325
349
|
cost?: {
|
|
326
350
|
amounts: {
|
|
@@ -349,6 +373,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
349
373
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
350
374
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
351
375
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
352
380
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
353
381
|
}, "strip", z.ZodTypeAny, {
|
|
354
382
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -361,6 +389,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
361
389
|
textOutputTokens?: number | undefined;
|
|
362
390
|
reasoningOutputTokens?: number | undefined;
|
|
363
391
|
audioDurationMs?: number | undefined;
|
|
392
|
+
imageOutputTokens?: number | undefined;
|
|
393
|
+
audioOutputTokens?: number | undefined;
|
|
394
|
+
outputImages?: number | undefined;
|
|
395
|
+
inputCharacters?: number | undefined;
|
|
364
396
|
}, {
|
|
365
397
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
366
398
|
inputTokens?: number | undefined;
|
|
@@ -372,6 +404,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
372
404
|
textOutputTokens?: number | undefined;
|
|
373
405
|
reasoningOutputTokens?: number | undefined;
|
|
374
406
|
audioDurationMs?: number | undefined;
|
|
407
|
+
imageOutputTokens?: number | undefined;
|
|
408
|
+
audioOutputTokens?: number | undefined;
|
|
409
|
+
outputImages?: number | undefined;
|
|
410
|
+
inputCharacters?: number | undefined;
|
|
375
411
|
}>>;
|
|
376
412
|
cost: z.ZodOptional<z.ZodObject<{
|
|
377
413
|
amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -427,6 +463,247 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
427
463
|
type: "continuation";
|
|
428
464
|
}, {
|
|
429
465
|
type: "continuation";
|
|
466
|
+
}>, z.ZodObject<{
|
|
467
|
+
type: z.ZodLiteral<"approval-outcome">;
|
|
468
|
+
approvalId: z.ZodString;
|
|
469
|
+
status: z.ZodEnum<["approved", "denied", "cancelled", "superseded", "expired"]>;
|
|
470
|
+
call: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
471
|
+
kind: z.ZodLiteral<"action">;
|
|
472
|
+
actionId: z.ZodString;
|
|
473
|
+
subject: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
474
|
+
kind: z.ZodLiteral<"none">;
|
|
475
|
+
}, "strip", z.ZodTypeAny, {
|
|
476
|
+
kind: "none";
|
|
477
|
+
}, {
|
|
478
|
+
kind: "none";
|
|
479
|
+
}>, z.ZodObject<{
|
|
480
|
+
kind: z.ZodLiteral<"object">;
|
|
481
|
+
objectTypeId: z.ZodString;
|
|
482
|
+
primaryId: z.ZodString;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
kind: "object";
|
|
485
|
+
objectTypeId: string;
|
|
486
|
+
primaryId: string;
|
|
487
|
+
}, {
|
|
488
|
+
kind: "object";
|
|
489
|
+
objectTypeId: string;
|
|
490
|
+
primaryId: string;
|
|
491
|
+
}>]>;
|
|
492
|
+
}, "strip", z.ZodTypeAny, {
|
|
493
|
+
kind: "action";
|
|
494
|
+
actionId: string;
|
|
495
|
+
subject: {
|
|
496
|
+
kind: "none";
|
|
497
|
+
} | {
|
|
498
|
+
kind: "object";
|
|
499
|
+
objectTypeId: string;
|
|
500
|
+
primaryId: string;
|
|
501
|
+
};
|
|
502
|
+
}, {
|
|
503
|
+
kind: "action";
|
|
504
|
+
actionId: string;
|
|
505
|
+
subject: {
|
|
506
|
+
kind: "none";
|
|
507
|
+
} | {
|
|
508
|
+
kind: "object";
|
|
509
|
+
objectTypeId: string;
|
|
510
|
+
primaryId: string;
|
|
511
|
+
};
|
|
512
|
+
}>, z.ZodObject<{
|
|
513
|
+
kind: z.ZodLiteral<"workflow">;
|
|
514
|
+
workflowId: z.ZodString;
|
|
515
|
+
}, "strip", z.ZodTypeAny, {
|
|
516
|
+
kind: "workflow";
|
|
517
|
+
workflowId: string;
|
|
518
|
+
}, {
|
|
519
|
+
kind: "workflow";
|
|
520
|
+
workflowId: string;
|
|
521
|
+
}>]>;
|
|
522
|
+
outcome: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
523
|
+
kind: z.ZodLiteral<"action-run">;
|
|
524
|
+
runId: z.ZodString;
|
|
525
|
+
status: z.ZodEnum<["succeeded", "failed"]>;
|
|
526
|
+
error: z.ZodOptional<z.ZodType<import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit">, z.ZodTypeDef, import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit">>>;
|
|
527
|
+
}, "strip", z.ZodTypeAny, {
|
|
528
|
+
status: "succeeded" | "failed";
|
|
529
|
+
kind: "action-run";
|
|
530
|
+
runId: string;
|
|
531
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
532
|
+
}, {
|
|
533
|
+
status: "succeeded" | "failed";
|
|
534
|
+
kind: "action-run";
|
|
535
|
+
runId: string;
|
|
536
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
537
|
+
}>, z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"workflow-run">;
|
|
539
|
+
runId: z.ZodString;
|
|
540
|
+
queuedAt: z.ZodString;
|
|
541
|
+
}, "strip", z.ZodTypeAny, {
|
|
542
|
+
kind: "workflow-run";
|
|
543
|
+
runId: string;
|
|
544
|
+
queuedAt: string;
|
|
545
|
+
}, {
|
|
546
|
+
kind: "workflow-run";
|
|
547
|
+
runId: string;
|
|
548
|
+
queuedAt: string;
|
|
549
|
+
}>, z.ZodObject<{
|
|
550
|
+
kind: z.ZodLiteral<"error">;
|
|
551
|
+
error: z.ZodObject<{
|
|
552
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
553
|
+
message: z.ZodString;
|
|
554
|
+
retryable: z.ZodBoolean;
|
|
555
|
+
at: z.ZodString;
|
|
556
|
+
details: z.ZodOptional<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
557
|
+
httpStatus: z.ZodOptional<z.ZodNumber>;
|
|
558
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
559
|
+
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
560
|
+
}, "strip", z.ZodTypeAny, {
|
|
561
|
+
at: string;
|
|
562
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
563
|
+
message: string;
|
|
564
|
+
retryable: boolean;
|
|
565
|
+
details?: import("./common").JsonValue | undefined;
|
|
566
|
+
httpStatus?: number | undefined;
|
|
567
|
+
redacted?: true | undefined;
|
|
568
|
+
truncated?: true | undefined;
|
|
569
|
+
}, {
|
|
570
|
+
at: string;
|
|
571
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
572
|
+
message: string;
|
|
573
|
+
retryable: boolean;
|
|
574
|
+
details?: import("./common").JsonValue | undefined;
|
|
575
|
+
httpStatus?: number | undefined;
|
|
576
|
+
redacted?: true | undefined;
|
|
577
|
+
truncated?: true | undefined;
|
|
578
|
+
}>;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
error: {
|
|
581
|
+
at: string;
|
|
582
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
583
|
+
message: string;
|
|
584
|
+
retryable: boolean;
|
|
585
|
+
details?: import("./common").JsonValue | undefined;
|
|
586
|
+
httpStatus?: number | undefined;
|
|
587
|
+
redacted?: true | undefined;
|
|
588
|
+
truncated?: true | undefined;
|
|
589
|
+
};
|
|
590
|
+
kind: "error";
|
|
591
|
+
}, {
|
|
592
|
+
error: {
|
|
593
|
+
at: string;
|
|
594
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
595
|
+
message: string;
|
|
596
|
+
retryable: boolean;
|
|
597
|
+
details?: import("./common").JsonValue | undefined;
|
|
598
|
+
httpStatus?: number | undefined;
|
|
599
|
+
redacted?: true | undefined;
|
|
600
|
+
truncated?: true | undefined;
|
|
601
|
+
};
|
|
602
|
+
kind: "error";
|
|
603
|
+
}>]>>;
|
|
604
|
+
caller: z.ZodOptional<z.ZodObject<{
|
|
605
|
+
runId: z.ZodString;
|
|
606
|
+
key: z.ZodString;
|
|
607
|
+
continues: z.ZodOptional<z.ZodLiteral<true>>;
|
|
608
|
+
}, "strip", z.ZodTypeAny, {
|
|
609
|
+
runId: string;
|
|
610
|
+
key: string;
|
|
611
|
+
continues?: true | undefined;
|
|
612
|
+
}, {
|
|
613
|
+
runId: string;
|
|
614
|
+
key: string;
|
|
615
|
+
continues?: true | undefined;
|
|
616
|
+
}>>;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
619
|
+
type: "approval-outcome";
|
|
620
|
+
call: {
|
|
621
|
+
kind: "action";
|
|
622
|
+
actionId: string;
|
|
623
|
+
subject: {
|
|
624
|
+
kind: "none";
|
|
625
|
+
} | {
|
|
626
|
+
kind: "object";
|
|
627
|
+
objectTypeId: string;
|
|
628
|
+
primaryId: string;
|
|
629
|
+
};
|
|
630
|
+
} | {
|
|
631
|
+
kind: "workflow";
|
|
632
|
+
workflowId: string;
|
|
633
|
+
};
|
|
634
|
+
approvalId: string;
|
|
635
|
+
caller?: {
|
|
636
|
+
runId: string;
|
|
637
|
+
key: string;
|
|
638
|
+
continues?: true | undefined;
|
|
639
|
+
} | undefined;
|
|
640
|
+
outcome?: {
|
|
641
|
+
status: "succeeded" | "failed";
|
|
642
|
+
kind: "action-run";
|
|
643
|
+
runId: string;
|
|
644
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
645
|
+
} | {
|
|
646
|
+
kind: "workflow-run";
|
|
647
|
+
runId: string;
|
|
648
|
+
queuedAt: string;
|
|
649
|
+
} | {
|
|
650
|
+
error: {
|
|
651
|
+
at: string;
|
|
652
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
653
|
+
message: string;
|
|
654
|
+
retryable: boolean;
|
|
655
|
+
details?: import("./common").JsonValue | undefined;
|
|
656
|
+
httpStatus?: number | undefined;
|
|
657
|
+
redacted?: true | undefined;
|
|
658
|
+
truncated?: true | undefined;
|
|
659
|
+
};
|
|
660
|
+
kind: "error";
|
|
661
|
+
} | undefined;
|
|
662
|
+
}, {
|
|
663
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
664
|
+
type: "approval-outcome";
|
|
665
|
+
call: {
|
|
666
|
+
kind: "action";
|
|
667
|
+
actionId: string;
|
|
668
|
+
subject: {
|
|
669
|
+
kind: "none";
|
|
670
|
+
} | {
|
|
671
|
+
kind: "object";
|
|
672
|
+
objectTypeId: string;
|
|
673
|
+
primaryId: string;
|
|
674
|
+
};
|
|
675
|
+
} | {
|
|
676
|
+
kind: "workflow";
|
|
677
|
+
workflowId: string;
|
|
678
|
+
};
|
|
679
|
+
approvalId: string;
|
|
680
|
+
caller?: {
|
|
681
|
+
runId: string;
|
|
682
|
+
key: string;
|
|
683
|
+
continues?: true | undefined;
|
|
684
|
+
} | undefined;
|
|
685
|
+
outcome?: {
|
|
686
|
+
status: "succeeded" | "failed";
|
|
687
|
+
kind: "action-run";
|
|
688
|
+
runId: string;
|
|
689
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
690
|
+
} | {
|
|
691
|
+
kind: "workflow-run";
|
|
692
|
+
runId: string;
|
|
693
|
+
queuedAt: string;
|
|
694
|
+
} | {
|
|
695
|
+
error: {
|
|
696
|
+
at: string;
|
|
697
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
698
|
+
message: string;
|
|
699
|
+
retryable: boolean;
|
|
700
|
+
details?: import("./common").JsonValue | undefined;
|
|
701
|
+
httpStatus?: number | undefined;
|
|
702
|
+
redacted?: true | undefined;
|
|
703
|
+
truncated?: true | undefined;
|
|
704
|
+
};
|
|
705
|
+
kind: "error";
|
|
706
|
+
} | undefined;
|
|
430
707
|
}>, z.ZodObject<{
|
|
431
708
|
type: z.ZodLiteral<"reasoning">;
|
|
432
709
|
text: z.ZodString;
|
|
@@ -541,14 +818,14 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
541
818
|
}, "strip", z.ZodTypeAny, {
|
|
542
819
|
id: string;
|
|
543
820
|
kind: "app-state";
|
|
544
|
-
description: string;
|
|
545
821
|
value: import("./common").JsonValue;
|
|
822
|
+
description: string;
|
|
546
823
|
label: string;
|
|
547
824
|
}, {
|
|
548
825
|
id: string;
|
|
549
826
|
kind: "app-state";
|
|
550
|
-
description: string;
|
|
551
827
|
value: import("./common").JsonValue;
|
|
828
|
+
description: string;
|
|
552
829
|
label: string;
|
|
553
830
|
}>]>;
|
|
554
831
|
origin: z.ZodEnum<["ambient", "explicit"]>;
|
|
@@ -566,8 +843,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
566
843
|
} | {
|
|
567
844
|
id: string;
|
|
568
845
|
kind: "app-state";
|
|
569
|
-
description: string;
|
|
570
846
|
value: import("./common").JsonValue;
|
|
847
|
+
description: string;
|
|
571
848
|
label: string;
|
|
572
849
|
};
|
|
573
850
|
type: "context";
|
|
@@ -583,8 +860,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
583
860
|
} | {
|
|
584
861
|
id: string;
|
|
585
862
|
kind: "app-state";
|
|
586
|
-
description: string;
|
|
587
863
|
value: import("./common").JsonValue;
|
|
864
|
+
description: string;
|
|
588
865
|
label: string;
|
|
589
866
|
};
|
|
590
867
|
type: "context";
|
|
@@ -601,8 +878,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
601
878
|
output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
|
|
602
879
|
}, "strip", z.ZodTypeAny, {
|
|
603
880
|
type: "tool-call";
|
|
604
|
-
output: import("./common").JsonValue;
|
|
605
881
|
input: import("./common").JsonValue;
|
|
882
|
+
output: import("./common").JsonValue;
|
|
606
883
|
toolCallId: string;
|
|
607
884
|
toolName: string;
|
|
608
885
|
state: "output-available";
|
|
@@ -611,8 +888,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
611
888
|
providerExecuted?: boolean | undefined;
|
|
612
889
|
}, {
|
|
613
890
|
type: "tool-call";
|
|
614
|
-
output: import("./common").JsonValue;
|
|
615
891
|
input: import("./common").JsonValue;
|
|
892
|
+
output: import("./common").JsonValue;
|
|
616
893
|
toolCallId: string;
|
|
617
894
|
toolName: string;
|
|
618
895
|
state: "output-available";
|
|
@@ -650,17 +927,41 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
650
927
|
providerMetadata?: import("./common").JsonValue | undefined;
|
|
651
928
|
dynamic?: boolean | undefined;
|
|
652
929
|
providerExecuted?: boolean | undefined;
|
|
930
|
+
}>, z.ZodObject<{
|
|
931
|
+
type: z.ZodLiteral<"mail">;
|
|
932
|
+
id: z.ZodString;
|
|
933
|
+
from: z.ZodLiteral<"parent">;
|
|
934
|
+
kind: z.ZodEnum<["message", "answer"]>;
|
|
935
|
+
inReplyTo: z.ZodOptional<z.ZodString>;
|
|
936
|
+
text: z.ZodString;
|
|
937
|
+
afterAnswer: z.ZodOptional<z.ZodLiteral<true>>;
|
|
938
|
+
}, "strip", z.ZodTypeAny, {
|
|
939
|
+
id: string;
|
|
940
|
+
kind: "message" | "answer";
|
|
941
|
+
type: "mail";
|
|
942
|
+
text: string;
|
|
943
|
+
from: "parent";
|
|
944
|
+
inReplyTo?: string | undefined;
|
|
945
|
+
afterAnswer?: true | undefined;
|
|
946
|
+
}, {
|
|
947
|
+
id: string;
|
|
948
|
+
kind: "message" | "answer";
|
|
949
|
+
type: "mail";
|
|
950
|
+
text: string;
|
|
951
|
+
from: "parent";
|
|
952
|
+
inReplyTo?: string | undefined;
|
|
953
|
+
afterAnswer?: true | undefined;
|
|
653
954
|
}>]>, "many">>;
|
|
654
955
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>, "many">>;
|
|
655
956
|
failurePhase: z.ZodOptional<z.ZodEnum<["agent-loop", "structured-finalizer"]>>;
|
|
656
957
|
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
657
958
|
createdAt: z.ZodString;
|
|
658
959
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
status: "succeeded" | "failed" | "
|
|
660
|
-
attempt: number;
|
|
661
|
-
nodeRunId: string;
|
|
960
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
662
961
|
createdAt: string;
|
|
663
962
|
prompt: string;
|
|
963
|
+
attempt: number;
|
|
964
|
+
nodeRunId: string;
|
|
664
965
|
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
665
966
|
modelId?: string | undefined;
|
|
666
967
|
startedAt?: string | undefined;
|
|
@@ -676,6 +977,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
676
977
|
textOutputTokens?: number | undefined;
|
|
677
978
|
reasoningOutputTokens?: number | undefined;
|
|
678
979
|
audioDurationMs?: number | undefined;
|
|
980
|
+
imageOutputTokens?: number | undefined;
|
|
981
|
+
audioOutputTokens?: number | undefined;
|
|
982
|
+
outputImages?: number | undefined;
|
|
983
|
+
inputCharacters?: number | undefined;
|
|
679
984
|
} | undefined;
|
|
680
985
|
cost?: {
|
|
681
986
|
amounts: {
|
|
@@ -700,8 +1005,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
700
1005
|
} | {
|
|
701
1006
|
id: string;
|
|
702
1007
|
kind: "app-state";
|
|
703
|
-
description: string;
|
|
704
1008
|
value: import("./common").JsonValue;
|
|
1009
|
+
description: string;
|
|
705
1010
|
label: string;
|
|
706
1011
|
};
|
|
707
1012
|
type: "context";
|
|
@@ -732,8 +1037,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
732
1037
|
data: import("./common").JsonValue;
|
|
733
1038
|
} | {
|
|
734
1039
|
type: "tool-call";
|
|
735
|
-
output: import("./common").JsonValue;
|
|
736
1040
|
input: import("./common").JsonValue;
|
|
1041
|
+
output: import("./common").JsonValue;
|
|
737
1042
|
toolCallId: string;
|
|
738
1043
|
toolName: string;
|
|
739
1044
|
state: "output-available";
|
|
@@ -752,14 +1057,67 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
752
1057
|
providerExecuted?: boolean | undefined;
|
|
753
1058
|
} | {
|
|
754
1059
|
type: "continuation";
|
|
1060
|
+
} | {
|
|
1061
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
1062
|
+
type: "approval-outcome";
|
|
1063
|
+
call: {
|
|
1064
|
+
kind: "action";
|
|
1065
|
+
actionId: string;
|
|
1066
|
+
subject: {
|
|
1067
|
+
kind: "none";
|
|
1068
|
+
} | {
|
|
1069
|
+
kind: "object";
|
|
1070
|
+
objectTypeId: string;
|
|
1071
|
+
primaryId: string;
|
|
1072
|
+
};
|
|
1073
|
+
} | {
|
|
1074
|
+
kind: "workflow";
|
|
1075
|
+
workflowId: string;
|
|
1076
|
+
};
|
|
1077
|
+
approvalId: string;
|
|
1078
|
+
caller?: {
|
|
1079
|
+
runId: string;
|
|
1080
|
+
key: string;
|
|
1081
|
+
continues?: true | undefined;
|
|
1082
|
+
} | undefined;
|
|
1083
|
+
outcome?: {
|
|
1084
|
+
status: "succeeded" | "failed";
|
|
1085
|
+
kind: "action-run";
|
|
1086
|
+
runId: string;
|
|
1087
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
1088
|
+
} | {
|
|
1089
|
+
kind: "workflow-run";
|
|
1090
|
+
runId: string;
|
|
1091
|
+
queuedAt: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
error: {
|
|
1094
|
+
at: string;
|
|
1095
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1096
|
+
message: string;
|
|
1097
|
+
retryable: boolean;
|
|
1098
|
+
details?: import("./common").JsonValue | undefined;
|
|
1099
|
+
httpStatus?: number | undefined;
|
|
1100
|
+
redacted?: true | undefined;
|
|
1101
|
+
truncated?: true | undefined;
|
|
1102
|
+
};
|
|
1103
|
+
kind: "error";
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
} | {
|
|
1106
|
+
id: string;
|
|
1107
|
+
kind: "message" | "answer";
|
|
1108
|
+
type: "mail";
|
|
1109
|
+
text: string;
|
|
1110
|
+
from: "parent";
|
|
1111
|
+
inReplyTo?: string | undefined;
|
|
1112
|
+
afterAnswer?: true | undefined;
|
|
755
1113
|
})[] | undefined;
|
|
756
1114
|
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
757
1115
|
}, {
|
|
758
|
-
status: "succeeded" | "failed" | "
|
|
759
|
-
attempt: number;
|
|
760
|
-
nodeRunId: string;
|
|
1116
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
761
1117
|
createdAt: string;
|
|
762
1118
|
prompt: string;
|
|
1119
|
+
attempt: number;
|
|
1120
|
+
nodeRunId: string;
|
|
763
1121
|
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
764
1122
|
modelId?: string | undefined;
|
|
765
1123
|
startedAt?: string | undefined;
|
|
@@ -775,6 +1133,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
775
1133
|
textOutputTokens?: number | undefined;
|
|
776
1134
|
reasoningOutputTokens?: number | undefined;
|
|
777
1135
|
audioDurationMs?: number | undefined;
|
|
1136
|
+
imageOutputTokens?: number | undefined;
|
|
1137
|
+
audioOutputTokens?: number | undefined;
|
|
1138
|
+
outputImages?: number | undefined;
|
|
1139
|
+
inputCharacters?: number | undefined;
|
|
778
1140
|
} | undefined;
|
|
779
1141
|
cost?: {
|
|
780
1142
|
amounts: {
|
|
@@ -799,8 +1161,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
799
1161
|
} | {
|
|
800
1162
|
id: string;
|
|
801
1163
|
kind: "app-state";
|
|
802
|
-
description: string;
|
|
803
1164
|
value: import("./common").JsonValue;
|
|
1165
|
+
description: string;
|
|
804
1166
|
label: string;
|
|
805
1167
|
};
|
|
806
1168
|
type: "context";
|
|
@@ -831,8 +1193,8 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
831
1193
|
data: import("./common").JsonValue;
|
|
832
1194
|
} | {
|
|
833
1195
|
type: "tool-call";
|
|
834
|
-
output: import("./common").JsonValue;
|
|
835
1196
|
input: import("./common").JsonValue;
|
|
1197
|
+
output: import("./common").JsonValue;
|
|
836
1198
|
toolCallId: string;
|
|
837
1199
|
toolName: string;
|
|
838
1200
|
state: "output-available";
|
|
@@ -851,6 +1213,59 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
851
1213
|
providerExecuted?: boolean | undefined;
|
|
852
1214
|
} | {
|
|
853
1215
|
type: "continuation";
|
|
1216
|
+
} | {
|
|
1217
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
1218
|
+
type: "approval-outcome";
|
|
1219
|
+
call: {
|
|
1220
|
+
kind: "action";
|
|
1221
|
+
actionId: string;
|
|
1222
|
+
subject: {
|
|
1223
|
+
kind: "none";
|
|
1224
|
+
} | {
|
|
1225
|
+
kind: "object";
|
|
1226
|
+
objectTypeId: string;
|
|
1227
|
+
primaryId: string;
|
|
1228
|
+
};
|
|
1229
|
+
} | {
|
|
1230
|
+
kind: "workflow";
|
|
1231
|
+
workflowId: string;
|
|
1232
|
+
};
|
|
1233
|
+
approvalId: string;
|
|
1234
|
+
caller?: {
|
|
1235
|
+
runId: string;
|
|
1236
|
+
key: string;
|
|
1237
|
+
continues?: true | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
outcome?: {
|
|
1240
|
+
status: "succeeded" | "failed";
|
|
1241
|
+
kind: "action-run";
|
|
1242
|
+
runId: string;
|
|
1243
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
1244
|
+
} | {
|
|
1245
|
+
kind: "workflow-run";
|
|
1246
|
+
runId: string;
|
|
1247
|
+
queuedAt: string;
|
|
1248
|
+
} | {
|
|
1249
|
+
error: {
|
|
1250
|
+
at: string;
|
|
1251
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1252
|
+
message: string;
|
|
1253
|
+
retryable: boolean;
|
|
1254
|
+
details?: import("./common").JsonValue | undefined;
|
|
1255
|
+
httpStatus?: number | undefined;
|
|
1256
|
+
redacted?: true | undefined;
|
|
1257
|
+
truncated?: true | undefined;
|
|
1258
|
+
};
|
|
1259
|
+
kind: "error";
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
} | {
|
|
1262
|
+
id: string;
|
|
1263
|
+
kind: "message" | "answer";
|
|
1264
|
+
type: "mail";
|
|
1265
|
+
text: string;
|
|
1266
|
+
from: "parent";
|
|
1267
|
+
inReplyTo?: string | undefined;
|
|
1268
|
+
afterAnswer?: true | undefined;
|
|
854
1269
|
})[] | undefined;
|
|
855
1270
|
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
856
1271
|
}>;
|
|
@@ -884,6 +1299,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
884
1299
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
885
1300
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
886
1301
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1302
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1303
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1304
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
1305
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
887
1306
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
888
1307
|
}, "strip", z.ZodTypeAny, {
|
|
889
1308
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -896,6 +1315,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
896
1315
|
textOutputTokens?: number | undefined;
|
|
897
1316
|
reasoningOutputTokens?: number | undefined;
|
|
898
1317
|
audioDurationMs?: number | undefined;
|
|
1318
|
+
imageOutputTokens?: number | undefined;
|
|
1319
|
+
audioOutputTokens?: number | undefined;
|
|
1320
|
+
outputImages?: number | undefined;
|
|
1321
|
+
inputCharacters?: number | undefined;
|
|
899
1322
|
}, {
|
|
900
1323
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
901
1324
|
inputTokens?: number | undefined;
|
|
@@ -907,6 +1330,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
907
1330
|
textOutputTokens?: number | undefined;
|
|
908
1331
|
reasoningOutputTokens?: number | undefined;
|
|
909
1332
|
audioDurationMs?: number | undefined;
|
|
1333
|
+
imageOutputTokens?: number | undefined;
|
|
1334
|
+
audioOutputTokens?: number | undefined;
|
|
1335
|
+
outputImages?: number | undefined;
|
|
1336
|
+
inputCharacters?: number | undefined;
|
|
910
1337
|
}>>;
|
|
911
1338
|
cost: z.ZodOptional<z.ZodObject<{
|
|
912
1339
|
amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -942,7 +1369,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
942
1369
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
943
1370
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
944
1371
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
status: "succeeded" | "failed" | "
|
|
1372
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
946
1373
|
attempt: number;
|
|
947
1374
|
modelId?: string | undefined;
|
|
948
1375
|
startedAt?: string | undefined;
|
|
@@ -958,6 +1385,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
958
1385
|
textOutputTokens?: number | undefined;
|
|
959
1386
|
reasoningOutputTokens?: number | undefined;
|
|
960
1387
|
audioDurationMs?: number | undefined;
|
|
1388
|
+
imageOutputTokens?: number | undefined;
|
|
1389
|
+
audioOutputTokens?: number | undefined;
|
|
1390
|
+
outputImages?: number | undefined;
|
|
1391
|
+
inputCharacters?: number | undefined;
|
|
961
1392
|
} | undefined;
|
|
962
1393
|
cost?: {
|
|
963
1394
|
amounts: {
|
|
@@ -970,7 +1401,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
970
1401
|
} | undefined;
|
|
971
1402
|
finishReason?: string | undefined;
|
|
972
1403
|
}, {
|
|
973
|
-
status: "succeeded" | "failed" | "
|
|
1404
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
974
1405
|
attempt: number;
|
|
975
1406
|
modelId?: string | undefined;
|
|
976
1407
|
startedAt?: string | undefined;
|
|
@@ -986,6 +1417,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
986
1417
|
textOutputTokens?: number | undefined;
|
|
987
1418
|
reasoningOutputTokens?: number | undefined;
|
|
988
1419
|
audioDurationMs?: number | undefined;
|
|
1420
|
+
imageOutputTokens?: number | undefined;
|
|
1421
|
+
audioOutputTokens?: number | undefined;
|
|
1422
|
+
outputImages?: number | undefined;
|
|
1423
|
+
inputCharacters?: number | undefined;
|
|
989
1424
|
} | undefined;
|
|
990
1425
|
cost?: {
|
|
991
1426
|
amounts: {
|
|
@@ -999,12 +1434,12 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
999
1434
|
finishReason?: string | undefined;
|
|
1000
1435
|
}>>;
|
|
1001
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
status: "succeeded" | "failed" | "
|
|
1437
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1003
1438
|
projectId: string;
|
|
1004
1439
|
id: string;
|
|
1005
1440
|
startedAt: string;
|
|
1006
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1007
1441
|
workflowId: string;
|
|
1442
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1008
1443
|
workflowRunId: string;
|
|
1009
1444
|
nodeId: string;
|
|
1010
1445
|
nodeKey: string;
|
|
@@ -1012,7 +1447,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1012
1447
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1013
1448
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1014
1449
|
agentExecution?: {
|
|
1015
|
-
status: "succeeded" | "failed" | "
|
|
1450
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1016
1451
|
attempt: number;
|
|
1017
1452
|
modelId?: string | undefined;
|
|
1018
1453
|
startedAt?: string | undefined;
|
|
@@ -1028,6 +1463,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1028
1463
|
textOutputTokens?: number | undefined;
|
|
1029
1464
|
reasoningOutputTokens?: number | undefined;
|
|
1030
1465
|
audioDurationMs?: number | undefined;
|
|
1466
|
+
imageOutputTokens?: number | undefined;
|
|
1467
|
+
audioOutputTokens?: number | undefined;
|
|
1468
|
+
outputImages?: number | undefined;
|
|
1469
|
+
inputCharacters?: number | undefined;
|
|
1031
1470
|
} | undefined;
|
|
1032
1471
|
cost?: {
|
|
1033
1472
|
amounts: {
|
|
@@ -1043,12 +1482,12 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1043
1482
|
finishedAt?: string | undefined;
|
|
1044
1483
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1045
1484
|
}, {
|
|
1046
|
-
status: "succeeded" | "failed" | "
|
|
1485
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1047
1486
|
projectId: string;
|
|
1048
1487
|
id: string;
|
|
1049
1488
|
startedAt: string;
|
|
1050
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1051
1489
|
workflowId: string;
|
|
1490
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1052
1491
|
workflowRunId: string;
|
|
1053
1492
|
nodeId: string;
|
|
1054
1493
|
nodeKey: string;
|
|
@@ -1056,7 +1495,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1056
1495
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1057
1496
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1058
1497
|
agentExecution?: {
|
|
1059
|
-
status: "succeeded" | "failed" | "
|
|
1498
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1060
1499
|
attempt: number;
|
|
1061
1500
|
modelId?: string | undefined;
|
|
1062
1501
|
startedAt?: string | undefined;
|
|
@@ -1072,6 +1511,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1072
1511
|
textOutputTokens?: number | undefined;
|
|
1073
1512
|
reasoningOutputTokens?: number | undefined;
|
|
1074
1513
|
audioDurationMs?: number | undefined;
|
|
1514
|
+
imageOutputTokens?: number | undefined;
|
|
1515
|
+
audioOutputTokens?: number | undefined;
|
|
1516
|
+
outputImages?: number | undefined;
|
|
1517
|
+
inputCharacters?: number | undefined;
|
|
1075
1518
|
} | undefined;
|
|
1076
1519
|
cost?: {
|
|
1077
1520
|
amounts: {
|
|
@@ -1127,11 +1570,11 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1127
1570
|
}>>;
|
|
1128
1571
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1129
1572
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
-
status: "
|
|
1573
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
1131
1574
|
projectId: string;
|
|
1132
1575
|
id: string;
|
|
1133
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1134
1576
|
workflowId: string;
|
|
1577
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1135
1578
|
workflowRunId: string;
|
|
1136
1579
|
nodeRunId: string;
|
|
1137
1580
|
interventionId: string;
|
|
@@ -1154,11 +1597,11 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1154
1597
|
} | undefined;
|
|
1155
1598
|
expiredAt?: string | undefined;
|
|
1156
1599
|
}, {
|
|
1157
|
-
status: "
|
|
1600
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
1158
1601
|
projectId: string;
|
|
1159
1602
|
id: string;
|
|
1160
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1161
1603
|
workflowId: string;
|
|
1604
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1162
1605
|
workflowRunId: string;
|
|
1163
1606
|
nodeRunId: string;
|
|
1164
1607
|
interventionId: string;
|
|
@@ -1203,15 +1646,15 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1203
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1204
1647
|
id: string;
|
|
1205
1648
|
type: "step";
|
|
1206
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1207
|
-
key: string;
|
|
1208
1649
|
input: Record<string, import("./common").JsonValue>;
|
|
1650
|
+
key: string;
|
|
1651
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1209
1652
|
}, {
|
|
1210
1653
|
id: string;
|
|
1211
1654
|
type: "step";
|
|
1212
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1213
|
-
key: string;
|
|
1214
1655
|
input: Record<string, import("./common").JsonValue>;
|
|
1656
|
+
key: string;
|
|
1657
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1215
1658
|
}>, z.ZodObject<{
|
|
1216
1659
|
type: z.ZodLiteral<"action">;
|
|
1217
1660
|
id: z.ZodString;
|
|
@@ -1241,15 +1684,15 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1241
1684
|
id: string;
|
|
1242
1685
|
response: Record<string, import("./common").JsonValue>;
|
|
1243
1686
|
type: "intervention";
|
|
1244
|
-
key: string;
|
|
1245
1687
|
input: Record<string, import("./common").JsonValue>;
|
|
1688
|
+
key: string;
|
|
1246
1689
|
description?: string | undefined;
|
|
1247
1690
|
}, {
|
|
1248
1691
|
id: string;
|
|
1249
1692
|
response: Record<string, import("./common").JsonValue>;
|
|
1250
1693
|
type: "intervention";
|
|
1251
|
-
key: string;
|
|
1252
1694
|
input: Record<string, import("./common").JsonValue>;
|
|
1695
|
+
key: string;
|
|
1253
1696
|
description?: string | undefined;
|
|
1254
1697
|
}>, z.ZodObject<{
|
|
1255
1698
|
type: z.ZodLiteral<"agent">;
|
|
@@ -1260,15 +1703,15 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1260
1703
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1704
|
id: string;
|
|
1262
1705
|
type: "agent";
|
|
1263
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1264
|
-
key: string;
|
|
1265
1706
|
input: Record<string, import("./common").JsonValue>;
|
|
1707
|
+
key: string;
|
|
1708
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1266
1709
|
}, {
|
|
1267
1710
|
id: string;
|
|
1268
1711
|
type: "agent";
|
|
1269
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1270
|
-
key: string;
|
|
1271
1712
|
input: Record<string, import("./common").JsonValue>;
|
|
1713
|
+
key: string;
|
|
1714
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1272
1715
|
}>]>, "many">;
|
|
1273
1716
|
latestRun: z.ZodNullable<z.ZodObject<{
|
|
1274
1717
|
id: z.ZodString;
|
|
@@ -1290,28 +1733,28 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1290
1733
|
type: "user" | "serviceAccount" | "system";
|
|
1291
1734
|
}>;
|
|
1292
1735
|
}, "strip", z.ZodTypeAny, {
|
|
1293
|
-
status: "succeeded" | "failed" | "
|
|
1736
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1294
1737
|
projectId: string;
|
|
1295
1738
|
id: string;
|
|
1296
|
-
startedAt: string;
|
|
1297
|
-
workflowId: string;
|
|
1298
1739
|
requestedBy: {
|
|
1299
1740
|
id: string;
|
|
1300
1741
|
type: "user" | "serviceAccount" | "system";
|
|
1301
1742
|
};
|
|
1743
|
+
startedAt: string;
|
|
1744
|
+
workflowId: string;
|
|
1302
1745
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1303
1746
|
finishedAt?: string | undefined;
|
|
1304
1747
|
queuedAt?: string | undefined;
|
|
1305
1748
|
}, {
|
|
1306
|
-
status: "succeeded" | "failed" | "
|
|
1749
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1307
1750
|
projectId: string;
|
|
1308
1751
|
id: string;
|
|
1309
|
-
startedAt: string;
|
|
1310
|
-
workflowId: string;
|
|
1311
1752
|
requestedBy: {
|
|
1312
1753
|
id: string;
|
|
1313
1754
|
type: "user" | "serviceAccount" | "system";
|
|
1314
1755
|
};
|
|
1756
|
+
startedAt: string;
|
|
1757
|
+
workflowId: string;
|
|
1315
1758
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1316
1759
|
finishedAt?: string | undefined;
|
|
1317
1760
|
queuedAt?: string | undefined;
|
|
@@ -1326,9 +1769,9 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1326
1769
|
nodes: ({
|
|
1327
1770
|
id: string;
|
|
1328
1771
|
type: "step";
|
|
1329
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1330
|
-
key: string;
|
|
1331
1772
|
input: Record<string, import("./common").JsonValue>;
|
|
1773
|
+
key: string;
|
|
1774
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1332
1775
|
} | {
|
|
1333
1776
|
id: string;
|
|
1334
1777
|
params: Record<string, import("./common").JsonValue>;
|
|
@@ -1339,26 +1782,26 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1339
1782
|
id: string;
|
|
1340
1783
|
response: Record<string, import("./common").JsonValue>;
|
|
1341
1784
|
type: "intervention";
|
|
1342
|
-
key: string;
|
|
1343
1785
|
input: Record<string, import("./common").JsonValue>;
|
|
1786
|
+
key: string;
|
|
1344
1787
|
description?: string | undefined;
|
|
1345
1788
|
} | {
|
|
1346
1789
|
id: string;
|
|
1347
1790
|
type: "agent";
|
|
1348
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1349
|
-
key: string;
|
|
1350
1791
|
input: Record<string, import("./common").JsonValue>;
|
|
1792
|
+
key: string;
|
|
1793
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1351
1794
|
})[];
|
|
1352
1795
|
latestRun: {
|
|
1353
|
-
status: "succeeded" | "failed" | "
|
|
1796
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1354
1797
|
projectId: string;
|
|
1355
1798
|
id: string;
|
|
1356
|
-
startedAt: string;
|
|
1357
|
-
workflowId: string;
|
|
1358
1799
|
requestedBy: {
|
|
1359
1800
|
id: string;
|
|
1360
1801
|
type: "user" | "serviceAccount" | "system";
|
|
1361
1802
|
};
|
|
1803
|
+
startedAt: string;
|
|
1804
|
+
workflowId: string;
|
|
1362
1805
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1363
1806
|
finishedAt?: string | undefined;
|
|
1364
1807
|
queuedAt?: string | undefined;
|
|
@@ -1373,9 +1816,9 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1373
1816
|
nodes: ({
|
|
1374
1817
|
id: string;
|
|
1375
1818
|
type: "step";
|
|
1376
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1377
|
-
key: string;
|
|
1378
1819
|
input: Record<string, import("./common").JsonValue>;
|
|
1820
|
+
key: string;
|
|
1821
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1379
1822
|
} | {
|
|
1380
1823
|
id: string;
|
|
1381
1824
|
params: Record<string, import("./common").JsonValue>;
|
|
@@ -1386,26 +1829,26 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1386
1829
|
id: string;
|
|
1387
1830
|
response: Record<string, import("./common").JsonValue>;
|
|
1388
1831
|
type: "intervention";
|
|
1389
|
-
key: string;
|
|
1390
1832
|
input: Record<string, import("./common").JsonValue>;
|
|
1833
|
+
key: string;
|
|
1391
1834
|
description?: string | undefined;
|
|
1392
1835
|
} | {
|
|
1393
1836
|
id: string;
|
|
1394
1837
|
type: "agent";
|
|
1395
|
-
output: Record<string, import("./common").JsonValue>;
|
|
1396
|
-
key: string;
|
|
1397
1838
|
input: Record<string, import("./common").JsonValue>;
|
|
1839
|
+
key: string;
|
|
1840
|
+
output: Record<string, import("./common").JsonValue>;
|
|
1398
1841
|
})[];
|
|
1399
1842
|
latestRun: {
|
|
1400
|
-
status: "succeeded" | "failed" | "
|
|
1843
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1401
1844
|
projectId: string;
|
|
1402
1845
|
id: string;
|
|
1403
|
-
startedAt: string;
|
|
1404
|
-
workflowId: string;
|
|
1405
1846
|
requestedBy: {
|
|
1406
1847
|
id: string;
|
|
1407
1848
|
type: "user" | "serviceAccount" | "system";
|
|
1408
1849
|
};
|
|
1850
|
+
startedAt: string;
|
|
1851
|
+
workflowId: string;
|
|
1409
1852
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1410
1853
|
finishedAt?: string | undefined;
|
|
1411
1854
|
queuedAt?: string | undefined;
|
|
@@ -1432,28 +1875,28 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1432
1875
|
type: "user" | "serviceAccount" | "system";
|
|
1433
1876
|
}>;
|
|
1434
1877
|
}, "strip", z.ZodTypeAny, {
|
|
1435
|
-
status: "succeeded" | "failed" | "
|
|
1878
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1436
1879
|
projectId: string;
|
|
1437
1880
|
id: string;
|
|
1438
|
-
startedAt: string;
|
|
1439
|
-
workflowId: string;
|
|
1440
1881
|
requestedBy: {
|
|
1441
1882
|
id: string;
|
|
1442
1883
|
type: "user" | "serviceAccount" | "system";
|
|
1443
1884
|
};
|
|
1885
|
+
startedAt: string;
|
|
1886
|
+
workflowId: string;
|
|
1444
1887
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1445
1888
|
finishedAt?: string | undefined;
|
|
1446
1889
|
queuedAt?: string | undefined;
|
|
1447
1890
|
}, {
|
|
1448
|
-
status: "succeeded" | "failed" | "
|
|
1891
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1449
1892
|
projectId: string;
|
|
1450
1893
|
id: string;
|
|
1451
|
-
startedAt: string;
|
|
1452
|
-
workflowId: string;
|
|
1453
1894
|
requestedBy: {
|
|
1454
1895
|
id: string;
|
|
1455
1896
|
type: "user" | "serviceAccount" | "system";
|
|
1456
1897
|
};
|
|
1898
|
+
startedAt: string;
|
|
1899
|
+
workflowId: string;
|
|
1457
1900
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1458
1901
|
finishedAt?: string | undefined;
|
|
1459
1902
|
queuedAt?: string | undefined;
|
|
@@ -1462,15 +1905,15 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1462
1905
|
total: z.ZodNumber;
|
|
1463
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1907
|
runs: {
|
|
1465
|
-
status: "succeeded" | "failed" | "
|
|
1908
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1466
1909
|
projectId: string;
|
|
1467
1910
|
id: string;
|
|
1468
|
-
startedAt: string;
|
|
1469
|
-
workflowId: string;
|
|
1470
1911
|
requestedBy: {
|
|
1471
1912
|
id: string;
|
|
1472
1913
|
type: "user" | "serviceAccount" | "system";
|
|
1473
1914
|
};
|
|
1915
|
+
startedAt: string;
|
|
1916
|
+
workflowId: string;
|
|
1474
1917
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1475
1918
|
finishedAt?: string | undefined;
|
|
1476
1919
|
queuedAt?: string | undefined;
|
|
@@ -1479,15 +1922,15 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1479
1922
|
total: number;
|
|
1480
1923
|
}, {
|
|
1481
1924
|
runs: {
|
|
1482
|
-
status: "succeeded" | "failed" | "
|
|
1925
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1483
1926
|
projectId: string;
|
|
1484
1927
|
id: string;
|
|
1485
|
-
startedAt: string;
|
|
1486
|
-
workflowId: string;
|
|
1487
1928
|
requestedBy: {
|
|
1488
1929
|
id: string;
|
|
1489
1930
|
type: "user" | "serviceAccount" | "system";
|
|
1490
1931
|
};
|
|
1932
|
+
startedAt: string;
|
|
1933
|
+
workflowId: string;
|
|
1491
1934
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1492
1935
|
finishedAt?: string | undefined;
|
|
1493
1936
|
queuedAt?: string | undefined;
|
|
@@ -1519,35 +1962,35 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1519
1962
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1520
1963
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1521
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1522
|
-
status: "succeeded" | "failed" | "
|
|
1965
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1523
1966
|
projectId: string;
|
|
1524
1967
|
id: string;
|
|
1525
|
-
startedAt: string;
|
|
1526
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1527
|
-
workflowId: string;
|
|
1528
1968
|
requestedBy: {
|
|
1529
1969
|
id: string;
|
|
1530
1970
|
type: "user" | "serviceAccount" | "system";
|
|
1531
1971
|
};
|
|
1972
|
+
startedAt: string;
|
|
1973
|
+
workflowId: string;
|
|
1974
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1532
1975
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1533
1976
|
finishedAt?: string | undefined;
|
|
1534
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1535
1977
|
queuedAt?: string | undefined;
|
|
1978
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1536
1979
|
}, {
|
|
1537
|
-
status: "succeeded" | "failed" | "
|
|
1980
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1538
1981
|
projectId: string;
|
|
1539
1982
|
id: string;
|
|
1540
|
-
startedAt: string;
|
|
1541
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1542
|
-
workflowId: string;
|
|
1543
1983
|
requestedBy: {
|
|
1544
1984
|
id: string;
|
|
1545
1985
|
type: "user" | "serviceAccount" | "system";
|
|
1546
1986
|
};
|
|
1987
|
+
startedAt: string;
|
|
1988
|
+
workflowId: string;
|
|
1989
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1547
1990
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1548
1991
|
finishedAt?: string | undefined;
|
|
1549
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1550
1992
|
queuedAt?: string | undefined;
|
|
1993
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1551
1994
|
}>;
|
|
1552
1995
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1553
1996
|
id: z.ZodString;
|
|
@@ -1579,6 +2022,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1579
2022
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1580
2023
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1581
2024
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2025
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2026
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2027
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
2028
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1582
2029
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1583
2030
|
}, "strip", z.ZodTypeAny, {
|
|
1584
2031
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -1591,6 +2038,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1591
2038
|
textOutputTokens?: number | undefined;
|
|
1592
2039
|
reasoningOutputTokens?: number | undefined;
|
|
1593
2040
|
audioDurationMs?: number | undefined;
|
|
2041
|
+
imageOutputTokens?: number | undefined;
|
|
2042
|
+
audioOutputTokens?: number | undefined;
|
|
2043
|
+
outputImages?: number | undefined;
|
|
2044
|
+
inputCharacters?: number | undefined;
|
|
1594
2045
|
}, {
|
|
1595
2046
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1596
2047
|
inputTokens?: number | undefined;
|
|
@@ -1602,6 +2053,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1602
2053
|
textOutputTokens?: number | undefined;
|
|
1603
2054
|
reasoningOutputTokens?: number | undefined;
|
|
1604
2055
|
audioDurationMs?: number | undefined;
|
|
2056
|
+
imageOutputTokens?: number | undefined;
|
|
2057
|
+
audioOutputTokens?: number | undefined;
|
|
2058
|
+
outputImages?: number | undefined;
|
|
2059
|
+
inputCharacters?: number | undefined;
|
|
1605
2060
|
}>>;
|
|
1606
2061
|
cost: z.ZodOptional<z.ZodObject<{
|
|
1607
2062
|
amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -1637,7 +2092,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1637
2092
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1638
2093
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1639
2094
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
status: "succeeded" | "failed" | "
|
|
2095
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1641
2096
|
attempt: number;
|
|
1642
2097
|
modelId?: string | undefined;
|
|
1643
2098
|
startedAt?: string | undefined;
|
|
@@ -1653,6 +2108,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1653
2108
|
textOutputTokens?: number | undefined;
|
|
1654
2109
|
reasoningOutputTokens?: number | undefined;
|
|
1655
2110
|
audioDurationMs?: number | undefined;
|
|
2111
|
+
imageOutputTokens?: number | undefined;
|
|
2112
|
+
audioOutputTokens?: number | undefined;
|
|
2113
|
+
outputImages?: number | undefined;
|
|
2114
|
+
inputCharacters?: number | undefined;
|
|
1656
2115
|
} | undefined;
|
|
1657
2116
|
cost?: {
|
|
1658
2117
|
amounts: {
|
|
@@ -1665,7 +2124,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1665
2124
|
} | undefined;
|
|
1666
2125
|
finishReason?: string | undefined;
|
|
1667
2126
|
}, {
|
|
1668
|
-
status: "succeeded" | "failed" | "
|
|
2127
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1669
2128
|
attempt: number;
|
|
1670
2129
|
modelId?: string | undefined;
|
|
1671
2130
|
startedAt?: string | undefined;
|
|
@@ -1681,6 +2140,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1681
2140
|
textOutputTokens?: number | undefined;
|
|
1682
2141
|
reasoningOutputTokens?: number | undefined;
|
|
1683
2142
|
audioDurationMs?: number | undefined;
|
|
2143
|
+
imageOutputTokens?: number | undefined;
|
|
2144
|
+
audioOutputTokens?: number | undefined;
|
|
2145
|
+
outputImages?: number | undefined;
|
|
2146
|
+
inputCharacters?: number | undefined;
|
|
1684
2147
|
} | undefined;
|
|
1685
2148
|
cost?: {
|
|
1686
2149
|
amounts: {
|
|
@@ -1694,12 +2157,12 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1694
2157
|
finishReason?: string | undefined;
|
|
1695
2158
|
}>>;
|
|
1696
2159
|
}, "strip", z.ZodTypeAny, {
|
|
1697
|
-
status: "succeeded" | "failed" | "
|
|
2160
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1698
2161
|
projectId: string;
|
|
1699
2162
|
id: string;
|
|
1700
2163
|
startedAt: string;
|
|
1701
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1702
2164
|
workflowId: string;
|
|
2165
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1703
2166
|
workflowRunId: string;
|
|
1704
2167
|
nodeId: string;
|
|
1705
2168
|
nodeKey: string;
|
|
@@ -1707,7 +2170,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1707
2170
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1708
2171
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1709
2172
|
agentExecution?: {
|
|
1710
|
-
status: "succeeded" | "failed" | "
|
|
2173
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1711
2174
|
attempt: number;
|
|
1712
2175
|
modelId?: string | undefined;
|
|
1713
2176
|
startedAt?: string | undefined;
|
|
@@ -1723,6 +2186,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1723
2186
|
textOutputTokens?: number | undefined;
|
|
1724
2187
|
reasoningOutputTokens?: number | undefined;
|
|
1725
2188
|
audioDurationMs?: number | undefined;
|
|
2189
|
+
imageOutputTokens?: number | undefined;
|
|
2190
|
+
audioOutputTokens?: number | undefined;
|
|
2191
|
+
outputImages?: number | undefined;
|
|
2192
|
+
inputCharacters?: number | undefined;
|
|
1726
2193
|
} | undefined;
|
|
1727
2194
|
cost?: {
|
|
1728
2195
|
amounts: {
|
|
@@ -1738,12 +2205,12 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1738
2205
|
finishedAt?: string | undefined;
|
|
1739
2206
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1740
2207
|
}, {
|
|
1741
|
-
status: "succeeded" | "failed" | "
|
|
2208
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1742
2209
|
projectId: string;
|
|
1743
2210
|
id: string;
|
|
1744
2211
|
startedAt: string;
|
|
1745
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1746
2212
|
workflowId: string;
|
|
2213
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1747
2214
|
workflowRunId: string;
|
|
1748
2215
|
nodeId: string;
|
|
1749
2216
|
nodeKey: string;
|
|
@@ -1751,7 +2218,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1751
2218
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1752
2219
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1753
2220
|
agentExecution?: {
|
|
1754
|
-
status: "succeeded" | "failed" | "
|
|
2221
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1755
2222
|
attempt: number;
|
|
1756
2223
|
modelId?: string | undefined;
|
|
1757
2224
|
startedAt?: string | undefined;
|
|
@@ -1767,6 +2234,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1767
2234
|
textOutputTokens?: number | undefined;
|
|
1768
2235
|
reasoningOutputTokens?: number | undefined;
|
|
1769
2236
|
audioDurationMs?: number | undefined;
|
|
2237
|
+
imageOutputTokens?: number | undefined;
|
|
2238
|
+
audioOutputTokens?: number | undefined;
|
|
2239
|
+
outputImages?: number | undefined;
|
|
2240
|
+
inputCharacters?: number | undefined;
|
|
1770
2241
|
} | undefined;
|
|
1771
2242
|
cost?: {
|
|
1772
2243
|
amounts: {
|
|
@@ -1784,28 +2255,28 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1784
2255
|
}>, "many">;
|
|
1785
2256
|
}, "strip", z.ZodTypeAny, {
|
|
1786
2257
|
run: {
|
|
1787
|
-
status: "succeeded" | "failed" | "
|
|
2258
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1788
2259
|
projectId: string;
|
|
1789
2260
|
id: string;
|
|
1790
|
-
startedAt: string;
|
|
1791
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1792
|
-
workflowId: string;
|
|
1793
2261
|
requestedBy: {
|
|
1794
2262
|
id: string;
|
|
1795
2263
|
type: "user" | "serviceAccount" | "system";
|
|
1796
2264
|
};
|
|
2265
|
+
startedAt: string;
|
|
2266
|
+
workflowId: string;
|
|
2267
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1797
2268
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1798
2269
|
finishedAt?: string | undefined;
|
|
1799
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1800
2270
|
queuedAt?: string | undefined;
|
|
2271
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1801
2272
|
};
|
|
1802
2273
|
nodes: {
|
|
1803
|
-
status: "succeeded" | "failed" | "
|
|
2274
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1804
2275
|
projectId: string;
|
|
1805
2276
|
id: string;
|
|
1806
2277
|
startedAt: string;
|
|
1807
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1808
2278
|
workflowId: string;
|
|
2279
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1809
2280
|
workflowRunId: string;
|
|
1810
2281
|
nodeId: string;
|
|
1811
2282
|
nodeKey: string;
|
|
@@ -1813,7 +2284,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1813
2284
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1814
2285
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1815
2286
|
agentExecution?: {
|
|
1816
|
-
status: "succeeded" | "failed" | "
|
|
2287
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1817
2288
|
attempt: number;
|
|
1818
2289
|
modelId?: string | undefined;
|
|
1819
2290
|
startedAt?: string | undefined;
|
|
@@ -1829,6 +2300,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1829
2300
|
textOutputTokens?: number | undefined;
|
|
1830
2301
|
reasoningOutputTokens?: number | undefined;
|
|
1831
2302
|
audioDurationMs?: number | undefined;
|
|
2303
|
+
imageOutputTokens?: number | undefined;
|
|
2304
|
+
audioOutputTokens?: number | undefined;
|
|
2305
|
+
outputImages?: number | undefined;
|
|
2306
|
+
inputCharacters?: number | undefined;
|
|
1832
2307
|
} | undefined;
|
|
1833
2308
|
cost?: {
|
|
1834
2309
|
amounts: {
|
|
@@ -1846,28 +2321,28 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1846
2321
|
}[];
|
|
1847
2322
|
}, {
|
|
1848
2323
|
run: {
|
|
1849
|
-
status: "succeeded" | "failed" | "
|
|
2324
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1850
2325
|
projectId: string;
|
|
1851
2326
|
id: string;
|
|
1852
|
-
startedAt: string;
|
|
1853
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1854
|
-
workflowId: string;
|
|
1855
2327
|
requestedBy: {
|
|
1856
2328
|
id: string;
|
|
1857
2329
|
type: "user" | "serviceAccount" | "system";
|
|
1858
2330
|
};
|
|
2331
|
+
startedAt: string;
|
|
2332
|
+
workflowId: string;
|
|
2333
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1859
2334
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1860
2335
|
finishedAt?: string | undefined;
|
|
1861
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1862
2336
|
queuedAt?: string | undefined;
|
|
2337
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1863
2338
|
};
|
|
1864
2339
|
nodes: {
|
|
1865
|
-
status: "succeeded" | "failed" | "
|
|
2340
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1866
2341
|
projectId: string;
|
|
1867
2342
|
id: string;
|
|
1868
2343
|
startedAt: string;
|
|
1869
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1870
2344
|
workflowId: string;
|
|
2345
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1871
2346
|
workflowRunId: string;
|
|
1872
2347
|
nodeId: string;
|
|
1873
2348
|
nodeKey: string;
|
|
@@ -1875,7 +2350,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1875
2350
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1876
2351
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1877
2352
|
agentExecution?: {
|
|
1878
|
-
status: "succeeded" | "failed" | "
|
|
2353
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1879
2354
|
attempt: number;
|
|
1880
2355
|
modelId?: string | undefined;
|
|
1881
2356
|
startedAt?: string | undefined;
|
|
@@ -1891,6 +2366,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1891
2366
|
textOutputTokens?: number | undefined;
|
|
1892
2367
|
reasoningOutputTokens?: number | undefined;
|
|
1893
2368
|
audioDurationMs?: number | undefined;
|
|
2369
|
+
imageOutputTokens?: number | undefined;
|
|
2370
|
+
audioOutputTokens?: number | undefined;
|
|
2371
|
+
outputImages?: number | undefined;
|
|
2372
|
+
inputCharacters?: number | undefined;
|
|
1894
2373
|
} | undefined;
|
|
1895
2374
|
cost?: {
|
|
1896
2375
|
amounts: {
|
|
@@ -1931,35 +2410,35 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1931
2410
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1932
2411
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1933
2412
|
}, "strip", z.ZodTypeAny, {
|
|
1934
|
-
status: "succeeded" | "failed" | "
|
|
2413
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1935
2414
|
projectId: string;
|
|
1936
2415
|
id: string;
|
|
1937
|
-
startedAt: string;
|
|
1938
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1939
|
-
workflowId: string;
|
|
1940
2416
|
requestedBy: {
|
|
1941
2417
|
id: string;
|
|
1942
2418
|
type: "user" | "serviceAccount" | "system";
|
|
1943
2419
|
};
|
|
2420
|
+
startedAt: string;
|
|
2421
|
+
workflowId: string;
|
|
2422
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1944
2423
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1945
2424
|
finishedAt?: string | undefined;
|
|
1946
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1947
2425
|
queuedAt?: string | undefined;
|
|
2426
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1948
2427
|
}, {
|
|
1949
|
-
status: "succeeded" | "failed" | "
|
|
2428
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
1950
2429
|
projectId: string;
|
|
1951
2430
|
id: string;
|
|
1952
|
-
startedAt: string;
|
|
1953
|
-
input: Record<string, import("./common").JsonValue>;
|
|
1954
|
-
workflowId: string;
|
|
1955
2431
|
requestedBy: {
|
|
1956
2432
|
id: string;
|
|
1957
2433
|
type: "user" | "serviceAccount" | "system";
|
|
1958
2434
|
};
|
|
2435
|
+
startedAt: string;
|
|
2436
|
+
workflowId: string;
|
|
2437
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1959
2438
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1960
2439
|
finishedAt?: string | undefined;
|
|
1961
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1962
2440
|
queuedAt?: string | undefined;
|
|
2441
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1963
2442
|
}>;
|
|
1964
2443
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1965
2444
|
id: z.ZodString;
|
|
@@ -1991,6 +2470,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1991
2470
|
textOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1992
2471
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1993
2472
|
audioDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2473
|
+
imageOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2474
|
+
audioOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2475
|
+
outputImages: z.ZodOptional<z.ZodNumber>;
|
|
2476
|
+
inputCharacters: z.ZodOptional<z.ZodNumber>;
|
|
1994
2477
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1995
2478
|
}, "strip", z.ZodTypeAny, {
|
|
1996
2479
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
@@ -2003,6 +2486,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2003
2486
|
textOutputTokens?: number | undefined;
|
|
2004
2487
|
reasoningOutputTokens?: number | undefined;
|
|
2005
2488
|
audioDurationMs?: number | undefined;
|
|
2489
|
+
imageOutputTokens?: number | undefined;
|
|
2490
|
+
audioOutputTokens?: number | undefined;
|
|
2491
|
+
outputImages?: number | undefined;
|
|
2492
|
+
inputCharacters?: number | undefined;
|
|
2006
2493
|
}, {
|
|
2007
2494
|
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2008
2495
|
inputTokens?: number | undefined;
|
|
@@ -2014,6 +2501,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2014
2501
|
textOutputTokens?: number | undefined;
|
|
2015
2502
|
reasoningOutputTokens?: number | undefined;
|
|
2016
2503
|
audioDurationMs?: number | undefined;
|
|
2504
|
+
imageOutputTokens?: number | undefined;
|
|
2505
|
+
audioOutputTokens?: number | undefined;
|
|
2506
|
+
outputImages?: number | undefined;
|
|
2507
|
+
inputCharacters?: number | undefined;
|
|
2017
2508
|
}>>;
|
|
2018
2509
|
cost: z.ZodOptional<z.ZodObject<{
|
|
2019
2510
|
amounts: z.ZodArray<z.ZodObject<{
|
|
@@ -2049,7 +2540,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2049
2540
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
2050
2541
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
2051
2542
|
}, "strip", z.ZodTypeAny, {
|
|
2052
|
-
status: "succeeded" | "failed" | "
|
|
2543
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2053
2544
|
attempt: number;
|
|
2054
2545
|
modelId?: string | undefined;
|
|
2055
2546
|
startedAt?: string | undefined;
|
|
@@ -2065,6 +2556,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2065
2556
|
textOutputTokens?: number | undefined;
|
|
2066
2557
|
reasoningOutputTokens?: number | undefined;
|
|
2067
2558
|
audioDurationMs?: number | undefined;
|
|
2559
|
+
imageOutputTokens?: number | undefined;
|
|
2560
|
+
audioOutputTokens?: number | undefined;
|
|
2561
|
+
outputImages?: number | undefined;
|
|
2562
|
+
inputCharacters?: number | undefined;
|
|
2068
2563
|
} | undefined;
|
|
2069
2564
|
cost?: {
|
|
2070
2565
|
amounts: {
|
|
@@ -2077,7 +2572,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2077
2572
|
} | undefined;
|
|
2078
2573
|
finishReason?: string | undefined;
|
|
2079
2574
|
}, {
|
|
2080
|
-
status: "succeeded" | "failed" | "
|
|
2575
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2081
2576
|
attempt: number;
|
|
2082
2577
|
modelId?: string | undefined;
|
|
2083
2578
|
startedAt?: string | undefined;
|
|
@@ -2093,6 +2588,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2093
2588
|
textOutputTokens?: number | undefined;
|
|
2094
2589
|
reasoningOutputTokens?: number | undefined;
|
|
2095
2590
|
audioDurationMs?: number | undefined;
|
|
2591
|
+
imageOutputTokens?: number | undefined;
|
|
2592
|
+
audioOutputTokens?: number | undefined;
|
|
2593
|
+
outputImages?: number | undefined;
|
|
2594
|
+
inputCharacters?: number | undefined;
|
|
2096
2595
|
} | undefined;
|
|
2097
2596
|
cost?: {
|
|
2098
2597
|
amounts: {
|
|
@@ -2106,12 +2605,12 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2106
2605
|
finishReason?: string | undefined;
|
|
2107
2606
|
}>>;
|
|
2108
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2109
|
-
status: "succeeded" | "failed" | "
|
|
2608
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2110
2609
|
projectId: string;
|
|
2111
2610
|
id: string;
|
|
2112
2611
|
startedAt: string;
|
|
2113
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2114
2612
|
workflowId: string;
|
|
2613
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2115
2614
|
workflowRunId: string;
|
|
2116
2615
|
nodeId: string;
|
|
2117
2616
|
nodeKey: string;
|
|
@@ -2119,7 +2618,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2119
2618
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2120
2619
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2121
2620
|
agentExecution?: {
|
|
2122
|
-
status: "succeeded" | "failed" | "
|
|
2621
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2123
2622
|
attempt: number;
|
|
2124
2623
|
modelId?: string | undefined;
|
|
2125
2624
|
startedAt?: string | undefined;
|
|
@@ -2135,6 +2634,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2135
2634
|
textOutputTokens?: number | undefined;
|
|
2136
2635
|
reasoningOutputTokens?: number | undefined;
|
|
2137
2636
|
audioDurationMs?: number | undefined;
|
|
2637
|
+
imageOutputTokens?: number | undefined;
|
|
2638
|
+
audioOutputTokens?: number | undefined;
|
|
2639
|
+
outputImages?: number | undefined;
|
|
2640
|
+
inputCharacters?: number | undefined;
|
|
2138
2641
|
} | undefined;
|
|
2139
2642
|
cost?: {
|
|
2140
2643
|
amounts: {
|
|
@@ -2150,12 +2653,12 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2150
2653
|
finishedAt?: string | undefined;
|
|
2151
2654
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2152
2655
|
}, {
|
|
2153
|
-
status: "succeeded" | "failed" | "
|
|
2656
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2154
2657
|
projectId: string;
|
|
2155
2658
|
id: string;
|
|
2156
2659
|
startedAt: string;
|
|
2157
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2158
2660
|
workflowId: string;
|
|
2661
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2159
2662
|
workflowRunId: string;
|
|
2160
2663
|
nodeId: string;
|
|
2161
2664
|
nodeKey: string;
|
|
@@ -2163,7 +2666,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2163
2666
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2164
2667
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2165
2668
|
agentExecution?: {
|
|
2166
|
-
status: "succeeded" | "failed" | "
|
|
2669
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2167
2670
|
attempt: number;
|
|
2168
2671
|
modelId?: string | undefined;
|
|
2169
2672
|
startedAt?: string | undefined;
|
|
@@ -2179,6 +2682,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2179
2682
|
textOutputTokens?: number | undefined;
|
|
2180
2683
|
reasoningOutputTokens?: number | undefined;
|
|
2181
2684
|
audioDurationMs?: number | undefined;
|
|
2685
|
+
imageOutputTokens?: number | undefined;
|
|
2686
|
+
audioOutputTokens?: number | undefined;
|
|
2687
|
+
outputImages?: number | undefined;
|
|
2688
|
+
inputCharacters?: number | undefined;
|
|
2182
2689
|
} | undefined;
|
|
2183
2690
|
cost?: {
|
|
2184
2691
|
amounts: {
|
|
@@ -2196,28 +2703,28 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2196
2703
|
}>, "many">;
|
|
2197
2704
|
}, "strip", z.ZodTypeAny, {
|
|
2198
2705
|
run: {
|
|
2199
|
-
status: "succeeded" | "failed" | "
|
|
2706
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
2200
2707
|
projectId: string;
|
|
2201
2708
|
id: string;
|
|
2202
|
-
startedAt: string;
|
|
2203
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2204
|
-
workflowId: string;
|
|
2205
2709
|
requestedBy: {
|
|
2206
2710
|
id: string;
|
|
2207
2711
|
type: "user" | "serviceAccount" | "system";
|
|
2208
2712
|
};
|
|
2713
|
+
startedAt: string;
|
|
2714
|
+
workflowId: string;
|
|
2715
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2209
2716
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2210
2717
|
finishedAt?: string | undefined;
|
|
2211
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2212
2718
|
queuedAt?: string | undefined;
|
|
2719
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2213
2720
|
};
|
|
2214
2721
|
nodes: {
|
|
2215
|
-
status: "succeeded" | "failed" | "
|
|
2722
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2216
2723
|
projectId: string;
|
|
2217
2724
|
id: string;
|
|
2218
2725
|
startedAt: string;
|
|
2219
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2220
2726
|
workflowId: string;
|
|
2727
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2221
2728
|
workflowRunId: string;
|
|
2222
2729
|
nodeId: string;
|
|
2223
2730
|
nodeKey: string;
|
|
@@ -2225,7 +2732,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2225
2732
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2226
2733
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2227
2734
|
agentExecution?: {
|
|
2228
|
-
status: "succeeded" | "failed" | "
|
|
2735
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2229
2736
|
attempt: number;
|
|
2230
2737
|
modelId?: string | undefined;
|
|
2231
2738
|
startedAt?: string | undefined;
|
|
@@ -2241,6 +2748,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2241
2748
|
textOutputTokens?: number | undefined;
|
|
2242
2749
|
reasoningOutputTokens?: number | undefined;
|
|
2243
2750
|
audioDurationMs?: number | undefined;
|
|
2751
|
+
imageOutputTokens?: number | undefined;
|
|
2752
|
+
audioOutputTokens?: number | undefined;
|
|
2753
|
+
outputImages?: number | undefined;
|
|
2754
|
+
inputCharacters?: number | undefined;
|
|
2244
2755
|
} | undefined;
|
|
2245
2756
|
cost?: {
|
|
2246
2757
|
amounts: {
|
|
@@ -2258,28 +2769,28 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2258
2769
|
}[];
|
|
2259
2770
|
}, {
|
|
2260
2771
|
run: {
|
|
2261
|
-
status: "succeeded" | "failed" | "
|
|
2772
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
|
|
2262
2773
|
projectId: string;
|
|
2263
2774
|
id: string;
|
|
2264
|
-
startedAt: string;
|
|
2265
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2266
|
-
workflowId: string;
|
|
2267
2775
|
requestedBy: {
|
|
2268
2776
|
id: string;
|
|
2269
2777
|
type: "user" | "serviceAccount" | "system";
|
|
2270
2778
|
};
|
|
2779
|
+
startedAt: string;
|
|
2780
|
+
workflowId: string;
|
|
2781
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2271
2782
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2272
2783
|
finishedAt?: string | undefined;
|
|
2273
|
-
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2274
2784
|
queuedAt?: string | undefined;
|
|
2785
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2275
2786
|
};
|
|
2276
2787
|
nodes: {
|
|
2277
|
-
status: "succeeded" | "failed" | "
|
|
2788
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2278
2789
|
projectId: string;
|
|
2279
2790
|
id: string;
|
|
2280
2791
|
startedAt: string;
|
|
2281
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2282
2792
|
workflowId: string;
|
|
2793
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2283
2794
|
workflowRunId: string;
|
|
2284
2795
|
nodeId: string;
|
|
2285
2796
|
nodeKey: string;
|
|
@@ -2287,7 +2798,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2287
2798
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2288
2799
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2289
2800
|
agentExecution?: {
|
|
2290
|
-
status: "succeeded" | "failed" | "
|
|
2801
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2291
2802
|
attempt: number;
|
|
2292
2803
|
modelId?: string | undefined;
|
|
2293
2804
|
startedAt?: string | undefined;
|
|
@@ -2303,6 +2814,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2303
2814
|
textOutputTokens?: number | undefined;
|
|
2304
2815
|
reasoningOutputTokens?: number | undefined;
|
|
2305
2816
|
audioDurationMs?: number | undefined;
|
|
2817
|
+
imageOutputTokens?: number | undefined;
|
|
2818
|
+
audioOutputTokens?: number | undefined;
|
|
2819
|
+
outputImages?: number | undefined;
|
|
2820
|
+
inputCharacters?: number | undefined;
|
|
2306
2821
|
} | undefined;
|
|
2307
2822
|
cost?: {
|
|
2308
2823
|
amounts: {
|
|
@@ -2360,11 +2875,11 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2360
2875
|
}>>;
|
|
2361
2876
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2362
2877
|
}, "strip", z.ZodTypeAny, {
|
|
2363
|
-
status: "
|
|
2878
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2364
2879
|
projectId: string;
|
|
2365
2880
|
id: string;
|
|
2366
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2367
2881
|
workflowId: string;
|
|
2882
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2368
2883
|
workflowRunId: string;
|
|
2369
2884
|
nodeRunId: string;
|
|
2370
2885
|
interventionId: string;
|
|
@@ -2387,11 +2902,11 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2387
2902
|
} | undefined;
|
|
2388
2903
|
expiredAt?: string | undefined;
|
|
2389
2904
|
}, {
|
|
2390
|
-
status: "
|
|
2905
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2391
2906
|
projectId: string;
|
|
2392
2907
|
id: string;
|
|
2393
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2394
2908
|
workflowId: string;
|
|
2909
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2395
2910
|
workflowRunId: string;
|
|
2396
2911
|
nodeRunId: string;
|
|
2397
2912
|
interventionId: string;
|
|
@@ -2420,11 +2935,11 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2420
2935
|
hasMore: boolean;
|
|
2421
2936
|
total: number;
|
|
2422
2937
|
interventions: {
|
|
2423
|
-
status: "
|
|
2938
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2424
2939
|
projectId: string;
|
|
2425
2940
|
id: string;
|
|
2426
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2427
2941
|
workflowId: string;
|
|
2942
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2428
2943
|
workflowRunId: string;
|
|
2429
2944
|
nodeRunId: string;
|
|
2430
2945
|
interventionId: string;
|
|
@@ -2451,11 +2966,11 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2451
2966
|
hasMore: boolean;
|
|
2452
2967
|
total: number;
|
|
2453
2968
|
interventions: {
|
|
2454
|
-
status: "
|
|
2969
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2455
2970
|
projectId: string;
|
|
2456
2971
|
id: string;
|
|
2457
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2458
2972
|
workflowId: string;
|
|
2973
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2459
2974
|
workflowRunId: string;
|
|
2460
2975
|
nodeRunId: string;
|
|
2461
2976
|
interventionId: string;
|
|
@@ -2520,11 +3035,11 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2520
3035
|
}>>;
|
|
2521
3036
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2522
3037
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
status: "
|
|
3038
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2524
3039
|
projectId: string;
|
|
2525
3040
|
id: string;
|
|
2526
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2527
3041
|
workflowId: string;
|
|
3042
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2528
3043
|
workflowRunId: string;
|
|
2529
3044
|
nodeRunId: string;
|
|
2530
3045
|
interventionId: string;
|
|
@@ -2547,11 +3062,11 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2547
3062
|
} | undefined;
|
|
2548
3063
|
expiredAt?: string | undefined;
|
|
2549
3064
|
}, {
|
|
2550
|
-
status: "
|
|
3065
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2551
3066
|
projectId: string;
|
|
2552
3067
|
id: string;
|
|
2553
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2554
3068
|
workflowId: string;
|
|
3069
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2555
3070
|
workflowRunId: string;
|
|
2556
3071
|
nodeRunId: string;
|
|
2557
3072
|
interventionId: string;
|
|
@@ -2577,11 +3092,11 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2577
3092
|
jobId: z.ZodString;
|
|
2578
3093
|
}, "strip", z.ZodTypeAny, {
|
|
2579
3094
|
intervention: {
|
|
2580
|
-
status: "
|
|
3095
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2581
3096
|
projectId: string;
|
|
2582
3097
|
id: string;
|
|
2583
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2584
3098
|
workflowId: string;
|
|
3099
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2585
3100
|
workflowRunId: string;
|
|
2586
3101
|
nodeRunId: string;
|
|
2587
3102
|
interventionId: string;
|
|
@@ -2607,11 +3122,11 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2607
3122
|
jobId: string;
|
|
2608
3123
|
}, {
|
|
2609
3124
|
intervention: {
|
|
2610
|
-
status: "
|
|
3125
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2611
3126
|
projectId: string;
|
|
2612
3127
|
id: string;
|
|
2613
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2614
3128
|
workflowId: string;
|
|
3129
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2615
3130
|
workflowRunId: string;
|
|
2616
3131
|
nodeRunId: string;
|
|
2617
3132
|
interventionId: string;
|
|
@@ -2677,11 +3192,11 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2677
3192
|
}>>;
|
|
2678
3193
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2679
3194
|
}, "strip", z.ZodTypeAny, {
|
|
2680
|
-
status: "
|
|
3195
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2681
3196
|
projectId: string;
|
|
2682
3197
|
id: string;
|
|
2683
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2684
3198
|
workflowId: string;
|
|
3199
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2685
3200
|
workflowRunId: string;
|
|
2686
3201
|
nodeRunId: string;
|
|
2687
3202
|
interventionId: string;
|
|
@@ -2704,11 +3219,11 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2704
3219
|
} | undefined;
|
|
2705
3220
|
expiredAt?: string | undefined;
|
|
2706
3221
|
}, {
|
|
2707
|
-
status: "
|
|
3222
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2708
3223
|
projectId: string;
|
|
2709
3224
|
id: string;
|
|
2710
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2711
3225
|
workflowId: string;
|
|
3226
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2712
3227
|
workflowRunId: string;
|
|
2713
3228
|
nodeRunId: string;
|
|
2714
3229
|
interventionId: string;
|
|
@@ -2733,11 +3248,11 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2733
3248
|
}>;
|
|
2734
3249
|
}, "strip", z.ZodTypeAny, {
|
|
2735
3250
|
intervention: {
|
|
2736
|
-
status: "
|
|
3251
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2737
3252
|
projectId: string;
|
|
2738
3253
|
id: string;
|
|
2739
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2740
3254
|
workflowId: string;
|
|
3255
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2741
3256
|
workflowRunId: string;
|
|
2742
3257
|
nodeRunId: string;
|
|
2743
3258
|
interventionId: string;
|
|
@@ -2762,11 +3277,11 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2762
3277
|
};
|
|
2763
3278
|
}, {
|
|
2764
3279
|
intervention: {
|
|
2765
|
-
status: "
|
|
3280
|
+
status: "pending" | "cancelled" | "expired" | "submitted";
|
|
2766
3281
|
projectId: string;
|
|
2767
3282
|
id: string;
|
|
2768
|
-
input: Record<string, import("./common").JsonValue>;
|
|
2769
3283
|
workflowId: string;
|
|
3284
|
+
input: Record<string, import("./common").JsonValue>;
|
|
2770
3285
|
workflowRunId: string;
|
|
2771
3286
|
nodeRunId: string;
|
|
2772
3287
|
interventionId: string;
|