@sixb/server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/scope.d.ts +8 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2114 -2080
- package/dist/index.js.map +14 -14
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +21 -21
- package/dist/routes/auth.d.ts +6 -6
- package/dist/routes/datasets.d.ts +7 -5
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/ontology.d.ts +24 -24
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +7 -5
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +61 -62
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/agents.d.ts +84 -84
- package/dist/schemas/auth.d.ts +26 -26
- package/dist/schemas/datasets.d.ts +27 -21
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +10 -10
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/ontology.d.ts +88 -88
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -16
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +299 -246
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/scope.ts +16 -2
- package/src/files/content.ts +11 -0
- package/src/routes/action-runs.ts +10 -3
- package/src/routes/agent-api-gateway.ts +46 -4
- package/src/routes/files.ts +2 -1
- package/src/routes/links.ts +1 -0
- package/src/routes/workflows.ts +39 -16
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +1 -25
- package/src/schemas/syncs.ts +3 -2
- package/src/schemas/workflows.ts +27 -20
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const WorkflowIOSnapshotSchema: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
2
3
|
export declare const WorkflowParamsSchema: z.ZodObject<{
|
|
3
4
|
workflowId: z.ZodString;
|
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -88,37 +89,36 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
88
89
|
requestedBefore?: string | undefined;
|
|
89
90
|
}>;
|
|
90
91
|
export declare const RequestWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{
|
|
91
|
-
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
92
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
92
93
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
input?: Record<string,
|
|
94
|
+
input?: Record<string, import("./common").JsonValue> | undefined;
|
|
94
95
|
}, {
|
|
95
|
-
input?: Record<string,
|
|
96
|
+
input?: Record<string, import("./common").JsonValue> | undefined;
|
|
96
97
|
}>>;
|
|
97
98
|
export declare const WorkflowInterventionActorSchema: z.ZodObject<{
|
|
98
99
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
99
100
|
principalId: z.ZodString;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
principalType: "
|
|
102
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
102
103
|
principalId: string;
|
|
103
104
|
}, {
|
|
104
|
-
principalType: "
|
|
105
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
105
106
|
principalId: string;
|
|
106
107
|
}>;
|
|
107
108
|
export declare const CancelWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
108
109
|
export declare const SubmitWorkflowInterventionBodySchema: z.ZodObject<{
|
|
109
|
-
response: z.ZodRecord<z.ZodString, z.
|
|
110
|
+
response: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
110
111
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
response: Record<string,
|
|
112
|
+
response: Record<string, import("./common").JsonValue>;
|
|
112
113
|
}, {
|
|
113
|
-
response: Record<string,
|
|
114
|
+
response: Record<string, import("./common").JsonValue>;
|
|
114
115
|
}>;
|
|
115
116
|
export declare const CancelWorkflowInterventionBodySchema: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
116
|
-
export declare const
|
|
117
|
+
export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
117
118
|
id: z.ZodString;
|
|
118
119
|
projectId: z.ZodString;
|
|
119
120
|
workflowId: z.ZodString;
|
|
120
121
|
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
121
|
-
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
122
122
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
123
123
|
startedAt: z.ZodString;
|
|
124
124
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -127,10 +127,10 @@ export declare const WorkflowRunSchema: z.ZodObject<{
|
|
|
127
127
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
128
128
|
principalId: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
principalType: "
|
|
130
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
131
131
|
principalId: string;
|
|
132
132
|
}, {
|
|
133
|
-
principalType: "
|
|
133
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
134
134
|
principalId: string;
|
|
135
135
|
}>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -138,10 +138,9 @@ export declare const WorkflowRunSchema: z.ZodObject<{
|
|
|
138
138
|
projectId: string;
|
|
139
139
|
id: string;
|
|
140
140
|
startedAt: string;
|
|
141
|
-
input: Record<string, unknown>;
|
|
142
141
|
workflowId: string;
|
|
143
142
|
requestedBy: {
|
|
144
|
-
principalType: "
|
|
143
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
145
144
|
principalId: string;
|
|
146
145
|
};
|
|
147
146
|
error?: string | undefined;
|
|
@@ -152,16 +151,68 @@ export declare const WorkflowRunSchema: z.ZodObject<{
|
|
|
152
151
|
projectId: string;
|
|
153
152
|
id: string;
|
|
154
153
|
startedAt: string;
|
|
155
|
-
input: Record<string, unknown>;
|
|
156
154
|
workflowId: string;
|
|
157
155
|
requestedBy: {
|
|
158
|
-
principalType: "
|
|
156
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
159
157
|
principalId: string;
|
|
160
158
|
};
|
|
161
159
|
error?: string | undefined;
|
|
162
160
|
queuedAt?: string | undefined;
|
|
163
161
|
finishedAt?: string | undefined;
|
|
164
162
|
}>;
|
|
163
|
+
export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
projectId: z.ZodString;
|
|
166
|
+
workflowId: z.ZodString;
|
|
167
|
+
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
168
|
+
queuedAt: z.ZodOptional<z.ZodString>;
|
|
169
|
+
startedAt: z.ZodString;
|
|
170
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
171
|
+
error: z.ZodOptional<z.ZodString>;
|
|
172
|
+
requestedBy: z.ZodObject<{
|
|
173
|
+
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
174
|
+
principalId: z.ZodString;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
177
|
+
principalId: string;
|
|
178
|
+
}, {
|
|
179
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
180
|
+
principalId: string;
|
|
181
|
+
}>;
|
|
182
|
+
} & {
|
|
183
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
184
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
187
|
+
projectId: string;
|
|
188
|
+
id: string;
|
|
189
|
+
startedAt: string;
|
|
190
|
+
input: Record<string, import("./common").JsonValue>;
|
|
191
|
+
workflowId: string;
|
|
192
|
+
requestedBy: {
|
|
193
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
194
|
+
principalId: string;
|
|
195
|
+
};
|
|
196
|
+
error?: string | undefined;
|
|
197
|
+
queuedAt?: string | undefined;
|
|
198
|
+
finishedAt?: string | undefined;
|
|
199
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
202
|
+
projectId: string;
|
|
203
|
+
id: string;
|
|
204
|
+
startedAt: string;
|
|
205
|
+
input: Record<string, import("./common").JsonValue>;
|
|
206
|
+
workflowId: string;
|
|
207
|
+
requestedBy: {
|
|
208
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
209
|
+
principalId: string;
|
|
210
|
+
};
|
|
211
|
+
error?: string | undefined;
|
|
212
|
+
queuedAt?: string | undefined;
|
|
213
|
+
finishedAt?: string | undefined;
|
|
214
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
215
|
+
}>;
|
|
165
216
|
export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
166
217
|
agentId: z.ZodString;
|
|
167
218
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -206,10 +257,10 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
206
257
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
207
258
|
principalId: z.ZodString;
|
|
208
259
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
principalType: "
|
|
260
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
210
261
|
principalId: string;
|
|
211
262
|
}, {
|
|
212
|
-
principalType: "
|
|
263
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
213
264
|
principalId: string;
|
|
214
265
|
}>>;
|
|
215
266
|
trace: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
@@ -227,7 +278,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
227
278
|
startedAt?: string | undefined;
|
|
228
279
|
completedAt?: string | undefined;
|
|
229
280
|
executionPrincipal?: {
|
|
230
|
-
principalType: "
|
|
281
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
231
282
|
principalId: string;
|
|
232
283
|
} | undefined;
|
|
233
284
|
modelId?: string | undefined;
|
|
@@ -246,7 +297,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
246
297
|
startedAt?: string | undefined;
|
|
247
298
|
completedAt?: string | undefined;
|
|
248
299
|
executionPrincipal?: {
|
|
249
|
-
principalType: "
|
|
300
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
250
301
|
principalId: string;
|
|
251
302
|
} | undefined;
|
|
252
303
|
modelId?: string | undefined;
|
|
@@ -265,10 +316,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
265
316
|
nodeId: z.ZodString;
|
|
266
317
|
nodeKey: z.ZodString;
|
|
267
318
|
status: z.ZodEnum<["running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
268
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
319
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
269
320
|
startedAt: z.ZodString;
|
|
270
321
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
271
|
-
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
322
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
272
323
|
error: z.ZodOptional<z.ZodString>;
|
|
273
324
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
274
325
|
agentId: z.ZodString;
|
|
@@ -303,16 +354,13 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
303
354
|
projectId: string;
|
|
304
355
|
id: string;
|
|
305
356
|
startedAt: string;
|
|
306
|
-
input: Record<string,
|
|
357
|
+
input: Record<string, import("./common").JsonValue>;
|
|
307
358
|
workflowId: string;
|
|
308
359
|
nodeIndex: number;
|
|
309
360
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
310
361
|
nodeId: string;
|
|
311
362
|
nodeKey: string;
|
|
312
363
|
workflowRunId: string;
|
|
313
|
-
error?: string | undefined;
|
|
314
|
-
finishedAt?: string | undefined;
|
|
315
|
-
output?: Record<string, unknown> | undefined;
|
|
316
364
|
agentExecution?: {
|
|
317
365
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
318
366
|
agentId: string;
|
|
@@ -323,21 +371,21 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
323
371
|
finishReason?: string | undefined;
|
|
324
372
|
usage?: Record<string, unknown> | undefined;
|
|
325
373
|
} | undefined;
|
|
374
|
+
error?: string | undefined;
|
|
375
|
+
finishedAt?: string | undefined;
|
|
376
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
326
377
|
}, {
|
|
327
378
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
328
379
|
projectId: string;
|
|
329
380
|
id: string;
|
|
330
381
|
startedAt: string;
|
|
331
|
-
input: Record<string,
|
|
382
|
+
input: Record<string, import("./common").JsonValue>;
|
|
332
383
|
workflowId: string;
|
|
333
384
|
nodeIndex: number;
|
|
334
385
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
335
386
|
nodeId: string;
|
|
336
387
|
nodeKey: string;
|
|
337
388
|
workflowRunId: string;
|
|
338
|
-
error?: string | undefined;
|
|
339
|
-
finishedAt?: string | undefined;
|
|
340
|
-
output?: Record<string, unknown> | undefined;
|
|
341
389
|
agentExecution?: {
|
|
342
390
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
343
391
|
agentId: string;
|
|
@@ -348,6 +396,9 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
348
396
|
finishReason?: string | undefined;
|
|
349
397
|
usage?: Record<string, unknown> | undefined;
|
|
350
398
|
} | undefined;
|
|
399
|
+
error?: string | undefined;
|
|
400
|
+
finishedAt?: string | undefined;
|
|
401
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
351
402
|
}>;
|
|
352
403
|
export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
353
404
|
id: z.ZodString;
|
|
@@ -359,8 +410,8 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
359
410
|
nodeId: z.ZodString;
|
|
360
411
|
nodeKey: z.ZodString;
|
|
361
412
|
interventionId: z.ZodString;
|
|
362
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
363
|
-
defaultResponse: z.ZodRecord<z.ZodString, z.
|
|
413
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
414
|
+
defaultResponse: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
364
415
|
status: z.ZodEnum<["pending", "submitted", "cancelled", "expired"]>;
|
|
365
416
|
requestedAt: z.ZodString;
|
|
366
417
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -369,22 +420,22 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
369
420
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
370
421
|
principalId: z.ZodString;
|
|
371
422
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
principalType: "
|
|
423
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
373
424
|
principalId: string;
|
|
374
425
|
}, {
|
|
375
|
-
principalType: "
|
|
426
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
376
427
|
principalId: string;
|
|
377
428
|
}>>;
|
|
378
|
-
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
429
|
+
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
379
430
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
380
431
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
381
432
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
382
433
|
principalId: z.ZodString;
|
|
383
434
|
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
principalType: "
|
|
435
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
385
436
|
principalId: string;
|
|
386
437
|
}, {
|
|
387
|
-
principalType: "
|
|
438
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
388
439
|
principalId: string;
|
|
389
440
|
}>>;
|
|
390
441
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
@@ -392,7 +443,7 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
392
443
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
393
444
|
projectId: string;
|
|
394
445
|
id: string;
|
|
395
|
-
input: Record<string,
|
|
446
|
+
input: Record<string, import("./common").JsonValue>;
|
|
396
447
|
workflowId: string;
|
|
397
448
|
nodeRunId: string;
|
|
398
449
|
nodeIndex: number;
|
|
@@ -401,25 +452,25 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
401
452
|
interventionId: string;
|
|
402
453
|
requestedAt: string;
|
|
403
454
|
workflowRunId: string;
|
|
404
|
-
defaultResponse: Record<string,
|
|
405
|
-
response?: Record<string,
|
|
455
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
456
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
406
457
|
expiresAt?: string | undefined;
|
|
407
458
|
submittedAt?: string | undefined;
|
|
408
459
|
cancelledAt?: string | undefined;
|
|
409
460
|
expiredAt?: string | undefined;
|
|
410
461
|
submittedBy?: {
|
|
411
|
-
principalType: "
|
|
462
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
412
463
|
principalId: string;
|
|
413
464
|
} | undefined;
|
|
414
465
|
cancelledBy?: {
|
|
415
|
-
principalType: "
|
|
466
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
416
467
|
principalId: string;
|
|
417
468
|
} | undefined;
|
|
418
469
|
}, {
|
|
419
470
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
420
471
|
projectId: string;
|
|
421
472
|
id: string;
|
|
422
|
-
input: Record<string,
|
|
473
|
+
input: Record<string, import("./common").JsonValue>;
|
|
423
474
|
workflowId: string;
|
|
424
475
|
nodeRunId: string;
|
|
425
476
|
nodeIndex: number;
|
|
@@ -428,24 +479,24 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
428
479
|
interventionId: string;
|
|
429
480
|
requestedAt: string;
|
|
430
481
|
workflowRunId: string;
|
|
431
|
-
defaultResponse: Record<string,
|
|
432
|
-
response?: Record<string,
|
|
482
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
483
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
433
484
|
expiresAt?: string | undefined;
|
|
434
485
|
submittedAt?: string | undefined;
|
|
435
486
|
cancelledAt?: string | undefined;
|
|
436
487
|
expiredAt?: string | undefined;
|
|
437
488
|
submittedBy?: {
|
|
438
|
-
principalType: "
|
|
489
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
439
490
|
principalId: string;
|
|
440
491
|
} | undefined;
|
|
441
492
|
cancelledBy?: {
|
|
442
|
-
principalType: "
|
|
493
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
443
494
|
principalId: string;
|
|
444
495
|
} | undefined;
|
|
445
496
|
}>;
|
|
446
497
|
export declare const WorkflowSchema: z.ZodObject<{
|
|
447
498
|
id: z.ZodString;
|
|
448
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
499
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
449
500
|
triggers: z.ZodArray<z.ZodObject<{
|
|
450
501
|
type: z.ZodLiteral<"schedule">;
|
|
451
502
|
scheduleId: z.ZodString;
|
|
@@ -460,35 +511,35 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
460
511
|
type: z.ZodLiteral<"step">;
|
|
461
512
|
id: z.ZodString;
|
|
462
513
|
key: z.ZodString;
|
|
463
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
464
|
-
output: z.ZodRecord<z.ZodString, z.
|
|
514
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
515
|
+
output: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
465
516
|
}, "strip", z.ZodTypeAny, {
|
|
466
517
|
type: "step";
|
|
467
518
|
id: string;
|
|
468
|
-
output: Record<string,
|
|
519
|
+
output: Record<string, import("./common").JsonValue>;
|
|
469
520
|
key: string;
|
|
470
|
-
input: Record<string,
|
|
521
|
+
input: Record<string, import("./common").JsonValue>;
|
|
471
522
|
}, {
|
|
472
523
|
type: "step";
|
|
473
524
|
id: string;
|
|
474
|
-
output: Record<string,
|
|
525
|
+
output: Record<string, import("./common").JsonValue>;
|
|
475
526
|
key: string;
|
|
476
|
-
input: Record<string,
|
|
527
|
+
input: Record<string, import("./common").JsonValue>;
|
|
477
528
|
}>, z.ZodObject<{
|
|
478
529
|
type: z.ZodLiteral<"action">;
|
|
479
530
|
id: z.ZodString;
|
|
480
531
|
key: z.ZodString;
|
|
481
532
|
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
482
|
-
params: z.ZodRecord<z.ZodString, z.
|
|
533
|
+
params: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
483
534
|
}, "strip", z.ZodTypeAny, {
|
|
484
535
|
type: "action";
|
|
485
|
-
params: Record<string,
|
|
536
|
+
params: Record<string, import("./common").JsonValue>;
|
|
486
537
|
id: string;
|
|
487
538
|
key: string;
|
|
488
539
|
objectTypeId?: string | undefined;
|
|
489
540
|
}, {
|
|
490
541
|
type: "action";
|
|
491
|
-
params: Record<string,
|
|
542
|
+
params: Record<string, import("./common").JsonValue>;
|
|
492
543
|
id: string;
|
|
493
544
|
key: string;
|
|
494
545
|
objectTypeId?: string | undefined;
|
|
@@ -496,51 +547,50 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
496
547
|
type: z.ZodLiteral<"intervention">;
|
|
497
548
|
id: z.ZodString;
|
|
498
549
|
key: z.ZodString;
|
|
499
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
500
|
-
response: z.ZodRecord<z.ZodString, z.
|
|
550
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
551
|
+
response: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
501
552
|
description: z.ZodOptional<z.ZodString>;
|
|
502
553
|
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
response: Record<string,
|
|
554
|
+
response: Record<string, import("./common").JsonValue>;
|
|
504
555
|
type: "intervention";
|
|
505
556
|
id: string;
|
|
506
557
|
key: string;
|
|
507
|
-
input: Record<string,
|
|
558
|
+
input: Record<string, import("./common").JsonValue>;
|
|
508
559
|
description?: string | undefined;
|
|
509
560
|
}, {
|
|
510
|
-
response: Record<string,
|
|
561
|
+
response: Record<string, import("./common").JsonValue>;
|
|
511
562
|
type: "intervention";
|
|
512
563
|
id: string;
|
|
513
564
|
key: string;
|
|
514
|
-
input: Record<string,
|
|
565
|
+
input: Record<string, import("./common").JsonValue>;
|
|
515
566
|
description?: string | undefined;
|
|
516
567
|
}>, z.ZodObject<{
|
|
517
568
|
type: z.ZodLiteral<"agent">;
|
|
518
569
|
id: z.ZodString;
|
|
519
570
|
key: z.ZodString;
|
|
520
571
|
agentId: z.ZodString;
|
|
521
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
522
|
-
output: z.ZodRecord<z.ZodString, z.
|
|
572
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
573
|
+
output: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
523
574
|
}, "strip", z.ZodTypeAny, {
|
|
524
575
|
agentId: string;
|
|
525
576
|
type: "agent";
|
|
526
577
|
id: string;
|
|
527
|
-
output: Record<string,
|
|
578
|
+
output: Record<string, import("./common").JsonValue>;
|
|
528
579
|
key: string;
|
|
529
|
-
input: Record<string,
|
|
580
|
+
input: Record<string, import("./common").JsonValue>;
|
|
530
581
|
}, {
|
|
531
582
|
agentId: string;
|
|
532
583
|
type: "agent";
|
|
533
584
|
id: string;
|
|
534
|
-
output: Record<string,
|
|
585
|
+
output: Record<string, import("./common").JsonValue>;
|
|
535
586
|
key: string;
|
|
536
|
-
input: Record<string,
|
|
587
|
+
input: Record<string, import("./common").JsonValue>;
|
|
537
588
|
}>]>, "many">;
|
|
538
589
|
latestRun: z.ZodNullable<z.ZodObject<{
|
|
539
590
|
id: z.ZodString;
|
|
540
591
|
projectId: z.ZodString;
|
|
541
592
|
workflowId: z.ZodString;
|
|
542
593
|
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
543
|
-
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
544
594
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
545
595
|
startedAt: z.ZodString;
|
|
546
596
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -549,10 +599,10 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
549
599
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
550
600
|
principalId: z.ZodString;
|
|
551
601
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
-
principalType: "
|
|
602
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
553
603
|
principalId: string;
|
|
554
604
|
}, {
|
|
555
|
-
principalType: "
|
|
605
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
556
606
|
principalId: string;
|
|
557
607
|
}>;
|
|
558
608
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -560,10 +610,9 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
560
610
|
projectId: string;
|
|
561
611
|
id: string;
|
|
562
612
|
startedAt: string;
|
|
563
|
-
input: Record<string, unknown>;
|
|
564
613
|
workflowId: string;
|
|
565
614
|
requestedBy: {
|
|
566
|
-
principalType: "
|
|
615
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
567
616
|
principalId: string;
|
|
568
617
|
};
|
|
569
618
|
error?: string | undefined;
|
|
@@ -574,10 +623,9 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
574
623
|
projectId: string;
|
|
575
624
|
id: string;
|
|
576
625
|
startedAt: string;
|
|
577
|
-
input: Record<string, unknown>;
|
|
578
626
|
workflowId: string;
|
|
579
627
|
requestedBy: {
|
|
580
|
-
principalType: "
|
|
628
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
581
629
|
principalId: string;
|
|
582
630
|
};
|
|
583
631
|
error?: string | undefined;
|
|
@@ -586,7 +634,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
586
634
|
}>>;
|
|
587
635
|
}, "strip", z.ZodTypeAny, {
|
|
588
636
|
id: string;
|
|
589
|
-
input: Record<string,
|
|
637
|
+
input: Record<string, import("./common").JsonValue>;
|
|
590
638
|
triggers: {
|
|
591
639
|
type: "schedule";
|
|
592
640
|
scheduleId: string;
|
|
@@ -594,39 +642,38 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
594
642
|
nodes: ({
|
|
595
643
|
type: "step";
|
|
596
644
|
id: string;
|
|
597
|
-
output: Record<string,
|
|
645
|
+
output: Record<string, import("./common").JsonValue>;
|
|
598
646
|
key: string;
|
|
599
|
-
input: Record<string,
|
|
647
|
+
input: Record<string, import("./common").JsonValue>;
|
|
600
648
|
} | {
|
|
601
649
|
type: "action";
|
|
602
|
-
params: Record<string,
|
|
650
|
+
params: Record<string, import("./common").JsonValue>;
|
|
603
651
|
id: string;
|
|
604
652
|
key: string;
|
|
605
653
|
objectTypeId?: string | undefined;
|
|
606
654
|
} | {
|
|
607
|
-
response: Record<string,
|
|
655
|
+
response: Record<string, import("./common").JsonValue>;
|
|
608
656
|
type: "intervention";
|
|
609
657
|
id: string;
|
|
610
658
|
key: string;
|
|
611
|
-
input: Record<string,
|
|
659
|
+
input: Record<string, import("./common").JsonValue>;
|
|
612
660
|
description?: string | undefined;
|
|
613
661
|
} | {
|
|
614
662
|
agentId: string;
|
|
615
663
|
type: "agent";
|
|
616
664
|
id: string;
|
|
617
|
-
output: Record<string,
|
|
665
|
+
output: Record<string, import("./common").JsonValue>;
|
|
618
666
|
key: string;
|
|
619
|
-
input: Record<string,
|
|
667
|
+
input: Record<string, import("./common").JsonValue>;
|
|
620
668
|
})[];
|
|
621
669
|
latestRun: {
|
|
622
670
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
623
671
|
projectId: string;
|
|
624
672
|
id: string;
|
|
625
673
|
startedAt: string;
|
|
626
|
-
input: Record<string, unknown>;
|
|
627
674
|
workflowId: string;
|
|
628
675
|
requestedBy: {
|
|
629
|
-
principalType: "
|
|
676
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
630
677
|
principalId: string;
|
|
631
678
|
};
|
|
632
679
|
error?: string | undefined;
|
|
@@ -635,7 +682,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
635
682
|
} | null;
|
|
636
683
|
}, {
|
|
637
684
|
id: string;
|
|
638
|
-
input: Record<string,
|
|
685
|
+
input: Record<string, import("./common").JsonValue>;
|
|
639
686
|
triggers: {
|
|
640
687
|
type: "schedule";
|
|
641
688
|
scheduleId: string;
|
|
@@ -643,39 +690,38 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
643
690
|
nodes: ({
|
|
644
691
|
type: "step";
|
|
645
692
|
id: string;
|
|
646
|
-
output: Record<string,
|
|
693
|
+
output: Record<string, import("./common").JsonValue>;
|
|
647
694
|
key: string;
|
|
648
|
-
input: Record<string,
|
|
695
|
+
input: Record<string, import("./common").JsonValue>;
|
|
649
696
|
} | {
|
|
650
697
|
type: "action";
|
|
651
|
-
params: Record<string,
|
|
698
|
+
params: Record<string, import("./common").JsonValue>;
|
|
652
699
|
id: string;
|
|
653
700
|
key: string;
|
|
654
701
|
objectTypeId?: string | undefined;
|
|
655
702
|
} | {
|
|
656
|
-
response: Record<string,
|
|
703
|
+
response: Record<string, import("./common").JsonValue>;
|
|
657
704
|
type: "intervention";
|
|
658
705
|
id: string;
|
|
659
706
|
key: string;
|
|
660
|
-
input: Record<string,
|
|
707
|
+
input: Record<string, import("./common").JsonValue>;
|
|
661
708
|
description?: string | undefined;
|
|
662
709
|
} | {
|
|
663
710
|
agentId: string;
|
|
664
711
|
type: "agent";
|
|
665
712
|
id: string;
|
|
666
|
-
output: Record<string,
|
|
713
|
+
output: Record<string, import("./common").JsonValue>;
|
|
667
714
|
key: string;
|
|
668
|
-
input: Record<string,
|
|
715
|
+
input: Record<string, import("./common").JsonValue>;
|
|
669
716
|
})[];
|
|
670
717
|
latestRun: {
|
|
671
718
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
672
719
|
projectId: string;
|
|
673
720
|
id: string;
|
|
674
721
|
startedAt: string;
|
|
675
|
-
input: Record<string, unknown>;
|
|
676
722
|
workflowId: string;
|
|
677
723
|
requestedBy: {
|
|
678
|
-
principalType: "
|
|
724
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
679
725
|
principalId: string;
|
|
680
726
|
};
|
|
681
727
|
error?: string | undefined;
|
|
@@ -689,7 +735,6 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
689
735
|
projectId: z.ZodString;
|
|
690
736
|
workflowId: z.ZodString;
|
|
691
737
|
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
692
|
-
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
693
738
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
694
739
|
startedAt: z.ZodString;
|
|
695
740
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -698,10 +743,10 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
698
743
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
699
744
|
principalId: z.ZodString;
|
|
700
745
|
}, "strip", z.ZodTypeAny, {
|
|
701
|
-
principalType: "
|
|
746
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
702
747
|
principalId: string;
|
|
703
748
|
}, {
|
|
704
|
-
principalType: "
|
|
749
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
705
750
|
principalId: string;
|
|
706
751
|
}>;
|
|
707
752
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -709,10 +754,9 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
709
754
|
projectId: string;
|
|
710
755
|
id: string;
|
|
711
756
|
startedAt: string;
|
|
712
|
-
input: Record<string, unknown>;
|
|
713
757
|
workflowId: string;
|
|
714
758
|
requestedBy: {
|
|
715
|
-
principalType: "
|
|
759
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
716
760
|
principalId: string;
|
|
717
761
|
};
|
|
718
762
|
error?: string | undefined;
|
|
@@ -723,10 +767,9 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
723
767
|
projectId: string;
|
|
724
768
|
id: string;
|
|
725
769
|
startedAt: string;
|
|
726
|
-
input: Record<string, unknown>;
|
|
727
770
|
workflowId: string;
|
|
728
771
|
requestedBy: {
|
|
729
|
-
principalType: "
|
|
772
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
730
773
|
principalId: string;
|
|
731
774
|
};
|
|
732
775
|
error?: string | undefined;
|
|
@@ -741,10 +784,9 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
741
784
|
projectId: string;
|
|
742
785
|
id: string;
|
|
743
786
|
startedAt: string;
|
|
744
|
-
input: Record<string, unknown>;
|
|
745
787
|
workflowId: string;
|
|
746
788
|
requestedBy: {
|
|
747
|
-
principalType: "
|
|
789
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
748
790
|
principalId: string;
|
|
749
791
|
};
|
|
750
792
|
error?: string | undefined;
|
|
@@ -759,10 +801,9 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
759
801
|
projectId: string;
|
|
760
802
|
id: string;
|
|
761
803
|
startedAt: string;
|
|
762
|
-
input: Record<string, unknown>;
|
|
763
804
|
workflowId: string;
|
|
764
805
|
requestedBy: {
|
|
765
|
-
principalType: "
|
|
806
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
766
807
|
principalId: string;
|
|
767
808
|
};
|
|
768
809
|
error?: string | undefined;
|
|
@@ -778,7 +819,6 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
778
819
|
projectId: z.ZodString;
|
|
779
820
|
workflowId: z.ZodString;
|
|
780
821
|
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
781
|
-
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
782
822
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
783
823
|
startedAt: z.ZodString;
|
|
784
824
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -787,40 +827,45 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
787
827
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
788
828
|
principalId: z.ZodString;
|
|
789
829
|
}, "strip", z.ZodTypeAny, {
|
|
790
|
-
principalType: "
|
|
830
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
791
831
|
principalId: string;
|
|
792
832
|
}, {
|
|
793
|
-
principalType: "
|
|
833
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
794
834
|
principalId: string;
|
|
795
835
|
}>;
|
|
836
|
+
} & {
|
|
837
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
838
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
796
839
|
}, "strip", z.ZodTypeAny, {
|
|
797
840
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
798
841
|
projectId: string;
|
|
799
842
|
id: string;
|
|
800
843
|
startedAt: string;
|
|
801
|
-
input: Record<string,
|
|
844
|
+
input: Record<string, import("./common").JsonValue>;
|
|
802
845
|
workflowId: string;
|
|
803
846
|
requestedBy: {
|
|
804
|
-
principalType: "
|
|
847
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
805
848
|
principalId: string;
|
|
806
849
|
};
|
|
807
850
|
error?: string | undefined;
|
|
808
851
|
queuedAt?: string | undefined;
|
|
809
852
|
finishedAt?: string | undefined;
|
|
853
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
810
854
|
}, {
|
|
811
855
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
812
856
|
projectId: string;
|
|
813
857
|
id: string;
|
|
814
858
|
startedAt: string;
|
|
815
|
-
input: Record<string,
|
|
859
|
+
input: Record<string, import("./common").JsonValue>;
|
|
816
860
|
workflowId: string;
|
|
817
861
|
requestedBy: {
|
|
818
|
-
principalType: "
|
|
862
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
819
863
|
principalId: string;
|
|
820
864
|
};
|
|
821
865
|
error?: string | undefined;
|
|
822
866
|
queuedAt?: string | undefined;
|
|
823
867
|
finishedAt?: string | undefined;
|
|
868
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
824
869
|
}>;
|
|
825
870
|
nodes: z.ZodArray<z.ZodObject<{
|
|
826
871
|
id: z.ZodString;
|
|
@@ -832,10 +877,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
832
877
|
nodeId: z.ZodString;
|
|
833
878
|
nodeKey: z.ZodString;
|
|
834
879
|
status: z.ZodEnum<["running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
835
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
880
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
836
881
|
startedAt: z.ZodString;
|
|
837
882
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
838
|
-
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
883
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
839
884
|
error: z.ZodOptional<z.ZodString>;
|
|
840
885
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
841
886
|
agentId: z.ZodString;
|
|
@@ -870,16 +915,13 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
870
915
|
projectId: string;
|
|
871
916
|
id: string;
|
|
872
917
|
startedAt: string;
|
|
873
|
-
input: Record<string,
|
|
918
|
+
input: Record<string, import("./common").JsonValue>;
|
|
874
919
|
workflowId: string;
|
|
875
920
|
nodeIndex: number;
|
|
876
921
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
877
922
|
nodeId: string;
|
|
878
923
|
nodeKey: string;
|
|
879
924
|
workflowRunId: string;
|
|
880
|
-
error?: string | undefined;
|
|
881
|
-
finishedAt?: string | undefined;
|
|
882
|
-
output?: Record<string, unknown> | undefined;
|
|
883
925
|
agentExecution?: {
|
|
884
926
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
885
927
|
agentId: string;
|
|
@@ -890,21 +932,21 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
890
932
|
finishReason?: string | undefined;
|
|
891
933
|
usage?: Record<string, unknown> | undefined;
|
|
892
934
|
} | undefined;
|
|
935
|
+
error?: string | undefined;
|
|
936
|
+
finishedAt?: string | undefined;
|
|
937
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
893
938
|
}, {
|
|
894
939
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
895
940
|
projectId: string;
|
|
896
941
|
id: string;
|
|
897
942
|
startedAt: string;
|
|
898
|
-
input: Record<string,
|
|
943
|
+
input: Record<string, import("./common").JsonValue>;
|
|
899
944
|
workflowId: string;
|
|
900
945
|
nodeIndex: number;
|
|
901
946
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
902
947
|
nodeId: string;
|
|
903
948
|
nodeKey: string;
|
|
904
949
|
workflowRunId: string;
|
|
905
|
-
error?: string | undefined;
|
|
906
|
-
finishedAt?: string | undefined;
|
|
907
|
-
output?: Record<string, unknown> | undefined;
|
|
908
950
|
agentExecution?: {
|
|
909
951
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
910
952
|
agentId: string;
|
|
@@ -915,6 +957,9 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
915
957
|
finishReason?: string | undefined;
|
|
916
958
|
usage?: Record<string, unknown> | undefined;
|
|
917
959
|
} | undefined;
|
|
960
|
+
error?: string | undefined;
|
|
961
|
+
finishedAt?: string | undefined;
|
|
962
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
918
963
|
}>, "many">;
|
|
919
964
|
}, "strip", z.ZodTypeAny, {
|
|
920
965
|
run: {
|
|
@@ -922,31 +967,29 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
922
967
|
projectId: string;
|
|
923
968
|
id: string;
|
|
924
969
|
startedAt: string;
|
|
925
|
-
input: Record<string,
|
|
970
|
+
input: Record<string, import("./common").JsonValue>;
|
|
926
971
|
workflowId: string;
|
|
927
972
|
requestedBy: {
|
|
928
|
-
principalType: "
|
|
973
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
929
974
|
principalId: string;
|
|
930
975
|
};
|
|
931
976
|
error?: string | undefined;
|
|
932
977
|
queuedAt?: string | undefined;
|
|
933
978
|
finishedAt?: string | undefined;
|
|
979
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
934
980
|
};
|
|
935
981
|
nodes: {
|
|
936
982
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
937
983
|
projectId: string;
|
|
938
984
|
id: string;
|
|
939
985
|
startedAt: string;
|
|
940
|
-
input: Record<string,
|
|
986
|
+
input: Record<string, import("./common").JsonValue>;
|
|
941
987
|
workflowId: string;
|
|
942
988
|
nodeIndex: number;
|
|
943
989
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
944
990
|
nodeId: string;
|
|
945
991
|
nodeKey: string;
|
|
946
992
|
workflowRunId: string;
|
|
947
|
-
error?: string | undefined;
|
|
948
|
-
finishedAt?: string | undefined;
|
|
949
|
-
output?: Record<string, unknown> | undefined;
|
|
950
993
|
agentExecution?: {
|
|
951
994
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
952
995
|
agentId: string;
|
|
@@ -957,6 +1000,9 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
957
1000
|
finishReason?: string | undefined;
|
|
958
1001
|
usage?: Record<string, unknown> | undefined;
|
|
959
1002
|
} | undefined;
|
|
1003
|
+
error?: string | undefined;
|
|
1004
|
+
finishedAt?: string | undefined;
|
|
1005
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
960
1006
|
}[];
|
|
961
1007
|
}, {
|
|
962
1008
|
run: {
|
|
@@ -964,31 +1010,29 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
964
1010
|
projectId: string;
|
|
965
1011
|
id: string;
|
|
966
1012
|
startedAt: string;
|
|
967
|
-
input: Record<string,
|
|
1013
|
+
input: Record<string, import("./common").JsonValue>;
|
|
968
1014
|
workflowId: string;
|
|
969
1015
|
requestedBy: {
|
|
970
|
-
principalType: "
|
|
1016
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
971
1017
|
principalId: string;
|
|
972
1018
|
};
|
|
973
1019
|
error?: string | undefined;
|
|
974
1020
|
queuedAt?: string | undefined;
|
|
975
1021
|
finishedAt?: string | undefined;
|
|
1022
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
976
1023
|
};
|
|
977
1024
|
nodes: {
|
|
978
1025
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
979
1026
|
projectId: string;
|
|
980
1027
|
id: string;
|
|
981
1028
|
startedAt: string;
|
|
982
|
-
input: Record<string,
|
|
1029
|
+
input: Record<string, import("./common").JsonValue>;
|
|
983
1030
|
workflowId: string;
|
|
984
1031
|
nodeIndex: number;
|
|
985
1032
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
986
1033
|
nodeId: string;
|
|
987
1034
|
nodeKey: string;
|
|
988
1035
|
workflowRunId: string;
|
|
989
|
-
error?: string | undefined;
|
|
990
|
-
finishedAt?: string | undefined;
|
|
991
|
-
output?: Record<string, unknown> | undefined;
|
|
992
1036
|
agentExecution?: {
|
|
993
1037
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
994
1038
|
agentId: string;
|
|
@@ -999,6 +1043,9 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
999
1043
|
finishReason?: string | undefined;
|
|
1000
1044
|
usage?: Record<string, unknown> | undefined;
|
|
1001
1045
|
} | undefined;
|
|
1046
|
+
error?: string | undefined;
|
|
1047
|
+
finishedAt?: string | undefined;
|
|
1048
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1002
1049
|
}[];
|
|
1003
1050
|
}>;
|
|
1004
1051
|
export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
@@ -1007,7 +1054,6 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1007
1054
|
projectId: z.ZodString;
|
|
1008
1055
|
workflowId: z.ZodString;
|
|
1009
1056
|
status: z.ZodEnum<["queued", "running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
1010
|
-
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1011
1057
|
queuedAt: z.ZodOptional<z.ZodString>;
|
|
1012
1058
|
startedAt: z.ZodString;
|
|
1013
1059
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1016,40 +1062,45 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1016
1062
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1017
1063
|
principalId: z.ZodString;
|
|
1018
1064
|
}, "strip", z.ZodTypeAny, {
|
|
1019
|
-
principalType: "
|
|
1065
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1020
1066
|
principalId: string;
|
|
1021
1067
|
}, {
|
|
1022
|
-
principalType: "
|
|
1068
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1023
1069
|
principalId: string;
|
|
1024
1070
|
}>;
|
|
1071
|
+
} & {
|
|
1072
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1073
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1025
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1026
1075
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1027
1076
|
projectId: string;
|
|
1028
1077
|
id: string;
|
|
1029
1078
|
startedAt: string;
|
|
1030
|
-
input: Record<string,
|
|
1079
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1031
1080
|
workflowId: string;
|
|
1032
1081
|
requestedBy: {
|
|
1033
|
-
principalType: "
|
|
1082
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1034
1083
|
principalId: string;
|
|
1035
1084
|
};
|
|
1036
1085
|
error?: string | undefined;
|
|
1037
1086
|
queuedAt?: string | undefined;
|
|
1038
1087
|
finishedAt?: string | undefined;
|
|
1088
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1039
1089
|
}, {
|
|
1040
1090
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1041
1091
|
projectId: string;
|
|
1042
1092
|
id: string;
|
|
1043
1093
|
startedAt: string;
|
|
1044
|
-
input: Record<string,
|
|
1094
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1045
1095
|
workflowId: string;
|
|
1046
1096
|
requestedBy: {
|
|
1047
|
-
principalType: "
|
|
1097
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1048
1098
|
principalId: string;
|
|
1049
1099
|
};
|
|
1050
1100
|
error?: string | undefined;
|
|
1051
1101
|
queuedAt?: string | undefined;
|
|
1052
1102
|
finishedAt?: string | undefined;
|
|
1103
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1053
1104
|
}>;
|
|
1054
1105
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1055
1106
|
id: z.ZodString;
|
|
@@ -1061,10 +1112,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1061
1112
|
nodeId: z.ZodString;
|
|
1062
1113
|
nodeKey: z.ZodString;
|
|
1063
1114
|
status: z.ZodEnum<["running", "waiting", "succeeded", "failed", "cancelled"]>;
|
|
1064
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
1115
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1065
1116
|
startedAt: z.ZodString;
|
|
1066
1117
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1067
|
-
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1118
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1068
1119
|
error: z.ZodOptional<z.ZodString>;
|
|
1069
1120
|
agentExecution: z.ZodOptional<z.ZodObject<{
|
|
1070
1121
|
agentId: z.ZodString;
|
|
@@ -1099,16 +1150,13 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1099
1150
|
projectId: string;
|
|
1100
1151
|
id: string;
|
|
1101
1152
|
startedAt: string;
|
|
1102
|
-
input: Record<string,
|
|
1153
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1103
1154
|
workflowId: string;
|
|
1104
1155
|
nodeIndex: number;
|
|
1105
1156
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1106
1157
|
nodeId: string;
|
|
1107
1158
|
nodeKey: string;
|
|
1108
1159
|
workflowRunId: string;
|
|
1109
|
-
error?: string | undefined;
|
|
1110
|
-
finishedAt?: string | undefined;
|
|
1111
|
-
output?: Record<string, unknown> | undefined;
|
|
1112
1160
|
agentExecution?: {
|
|
1113
1161
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1114
1162
|
agentId: string;
|
|
@@ -1119,21 +1167,21 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1119
1167
|
finishReason?: string | undefined;
|
|
1120
1168
|
usage?: Record<string, unknown> | undefined;
|
|
1121
1169
|
} | undefined;
|
|
1170
|
+
error?: string | undefined;
|
|
1171
|
+
finishedAt?: string | undefined;
|
|
1172
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1122
1173
|
}, {
|
|
1123
1174
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1124
1175
|
projectId: string;
|
|
1125
1176
|
id: string;
|
|
1126
1177
|
startedAt: string;
|
|
1127
|
-
input: Record<string,
|
|
1178
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1128
1179
|
workflowId: string;
|
|
1129
1180
|
nodeIndex: number;
|
|
1130
1181
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1131
1182
|
nodeId: string;
|
|
1132
1183
|
nodeKey: string;
|
|
1133
1184
|
workflowRunId: string;
|
|
1134
|
-
error?: string | undefined;
|
|
1135
|
-
finishedAt?: string | undefined;
|
|
1136
|
-
output?: Record<string, unknown> | undefined;
|
|
1137
1185
|
agentExecution?: {
|
|
1138
1186
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1139
1187
|
agentId: string;
|
|
@@ -1144,6 +1192,9 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1144
1192
|
finishReason?: string | undefined;
|
|
1145
1193
|
usage?: Record<string, unknown> | undefined;
|
|
1146
1194
|
} | undefined;
|
|
1195
|
+
error?: string | undefined;
|
|
1196
|
+
finishedAt?: string | undefined;
|
|
1197
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1147
1198
|
}>, "many">;
|
|
1148
1199
|
}, "strip", z.ZodTypeAny, {
|
|
1149
1200
|
run: {
|
|
@@ -1151,31 +1202,29 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1151
1202
|
projectId: string;
|
|
1152
1203
|
id: string;
|
|
1153
1204
|
startedAt: string;
|
|
1154
|
-
input: Record<string,
|
|
1205
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1155
1206
|
workflowId: string;
|
|
1156
1207
|
requestedBy: {
|
|
1157
|
-
principalType: "
|
|
1208
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1158
1209
|
principalId: string;
|
|
1159
1210
|
};
|
|
1160
1211
|
error?: string | undefined;
|
|
1161
1212
|
queuedAt?: string | undefined;
|
|
1162
1213
|
finishedAt?: string | undefined;
|
|
1214
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1163
1215
|
};
|
|
1164
1216
|
nodes: {
|
|
1165
1217
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1166
1218
|
projectId: string;
|
|
1167
1219
|
id: string;
|
|
1168
1220
|
startedAt: string;
|
|
1169
|
-
input: Record<string,
|
|
1221
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1170
1222
|
workflowId: string;
|
|
1171
1223
|
nodeIndex: number;
|
|
1172
1224
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1173
1225
|
nodeId: string;
|
|
1174
1226
|
nodeKey: string;
|
|
1175
1227
|
workflowRunId: string;
|
|
1176
|
-
error?: string | undefined;
|
|
1177
|
-
finishedAt?: string | undefined;
|
|
1178
|
-
output?: Record<string, unknown> | undefined;
|
|
1179
1228
|
agentExecution?: {
|
|
1180
1229
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1181
1230
|
agentId: string;
|
|
@@ -1186,6 +1235,9 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1186
1235
|
finishReason?: string | undefined;
|
|
1187
1236
|
usage?: Record<string, unknown> | undefined;
|
|
1188
1237
|
} | undefined;
|
|
1238
|
+
error?: string | undefined;
|
|
1239
|
+
finishedAt?: string | undefined;
|
|
1240
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1189
1241
|
}[];
|
|
1190
1242
|
}, {
|
|
1191
1243
|
run: {
|
|
@@ -1193,31 +1245,29 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1193
1245
|
projectId: string;
|
|
1194
1246
|
id: string;
|
|
1195
1247
|
startedAt: string;
|
|
1196
|
-
input: Record<string,
|
|
1248
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1197
1249
|
workflowId: string;
|
|
1198
1250
|
requestedBy: {
|
|
1199
|
-
principalType: "
|
|
1251
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1200
1252
|
principalId: string;
|
|
1201
1253
|
};
|
|
1202
1254
|
error?: string | undefined;
|
|
1203
1255
|
queuedAt?: string | undefined;
|
|
1204
1256
|
finishedAt?: string | undefined;
|
|
1257
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1205
1258
|
};
|
|
1206
1259
|
nodes: {
|
|
1207
1260
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
1208
1261
|
projectId: string;
|
|
1209
1262
|
id: string;
|
|
1210
1263
|
startedAt: string;
|
|
1211
|
-
input: Record<string,
|
|
1264
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1212
1265
|
workflowId: string;
|
|
1213
1266
|
nodeIndex: number;
|
|
1214
1267
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1215
1268
|
nodeId: string;
|
|
1216
1269
|
nodeKey: string;
|
|
1217
1270
|
workflowRunId: string;
|
|
1218
|
-
error?: string | undefined;
|
|
1219
|
-
finishedAt?: string | undefined;
|
|
1220
|
-
output?: Record<string, unknown> | undefined;
|
|
1221
1271
|
agentExecution?: {
|
|
1222
1272
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1223
1273
|
agentId: string;
|
|
@@ -1228,6 +1278,9 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1228
1278
|
finishReason?: string | undefined;
|
|
1229
1279
|
usage?: Record<string, unknown> | undefined;
|
|
1230
1280
|
} | undefined;
|
|
1281
|
+
error?: string | undefined;
|
|
1282
|
+
finishedAt?: string | undefined;
|
|
1283
|
+
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1231
1284
|
}[];
|
|
1232
1285
|
}>;
|
|
1233
1286
|
export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
@@ -1241,8 +1294,8 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1241
1294
|
nodeId: z.ZodString;
|
|
1242
1295
|
nodeKey: z.ZodString;
|
|
1243
1296
|
interventionId: z.ZodString;
|
|
1244
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
1245
|
-
defaultResponse: z.ZodRecord<z.ZodString, z.
|
|
1297
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1298
|
+
defaultResponse: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1246
1299
|
status: z.ZodEnum<["pending", "submitted", "cancelled", "expired"]>;
|
|
1247
1300
|
requestedAt: z.ZodString;
|
|
1248
1301
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1251,22 +1304,22 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1251
1304
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1252
1305
|
principalId: z.ZodString;
|
|
1253
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
principalType: "
|
|
1307
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1255
1308
|
principalId: string;
|
|
1256
1309
|
}, {
|
|
1257
|
-
principalType: "
|
|
1310
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1258
1311
|
principalId: string;
|
|
1259
1312
|
}>>;
|
|
1260
|
-
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1313
|
+
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1261
1314
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
1262
1315
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
1263
1316
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1264
1317
|
principalId: z.ZodString;
|
|
1265
1318
|
}, "strip", z.ZodTypeAny, {
|
|
1266
|
-
principalType: "
|
|
1319
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1267
1320
|
principalId: string;
|
|
1268
1321
|
}, {
|
|
1269
|
-
principalType: "
|
|
1322
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1270
1323
|
principalId: string;
|
|
1271
1324
|
}>>;
|
|
1272
1325
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1274,7 +1327,7 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1274
1327
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1275
1328
|
projectId: string;
|
|
1276
1329
|
id: string;
|
|
1277
|
-
input: Record<string,
|
|
1330
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1278
1331
|
workflowId: string;
|
|
1279
1332
|
nodeRunId: string;
|
|
1280
1333
|
nodeIndex: number;
|
|
@@ -1283,25 +1336,25 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1283
1336
|
interventionId: string;
|
|
1284
1337
|
requestedAt: string;
|
|
1285
1338
|
workflowRunId: string;
|
|
1286
|
-
defaultResponse: Record<string,
|
|
1287
|
-
response?: Record<string,
|
|
1339
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1340
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1288
1341
|
expiresAt?: string | undefined;
|
|
1289
1342
|
submittedAt?: string | undefined;
|
|
1290
1343
|
cancelledAt?: string | undefined;
|
|
1291
1344
|
expiredAt?: string | undefined;
|
|
1292
1345
|
submittedBy?: {
|
|
1293
|
-
principalType: "
|
|
1346
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1294
1347
|
principalId: string;
|
|
1295
1348
|
} | undefined;
|
|
1296
1349
|
cancelledBy?: {
|
|
1297
|
-
principalType: "
|
|
1350
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1298
1351
|
principalId: string;
|
|
1299
1352
|
} | undefined;
|
|
1300
1353
|
}, {
|
|
1301
1354
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1302
1355
|
projectId: string;
|
|
1303
1356
|
id: string;
|
|
1304
|
-
input: Record<string,
|
|
1357
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1305
1358
|
workflowId: string;
|
|
1306
1359
|
nodeRunId: string;
|
|
1307
1360
|
nodeIndex: number;
|
|
@@ -1310,18 +1363,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1310
1363
|
interventionId: string;
|
|
1311
1364
|
requestedAt: string;
|
|
1312
1365
|
workflowRunId: string;
|
|
1313
|
-
defaultResponse: Record<string,
|
|
1314
|
-
response?: Record<string,
|
|
1366
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1367
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1315
1368
|
expiresAt?: string | undefined;
|
|
1316
1369
|
submittedAt?: string | undefined;
|
|
1317
1370
|
cancelledAt?: string | undefined;
|
|
1318
1371
|
expiredAt?: string | undefined;
|
|
1319
1372
|
submittedBy?: {
|
|
1320
|
-
principalType: "
|
|
1373
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1321
1374
|
principalId: string;
|
|
1322
1375
|
} | undefined;
|
|
1323
1376
|
cancelledBy?: {
|
|
1324
|
-
principalType: "
|
|
1377
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1325
1378
|
principalId: string;
|
|
1326
1379
|
} | undefined;
|
|
1327
1380
|
}>, "many">;
|
|
@@ -1334,7 +1387,7 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1334
1387
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1335
1388
|
projectId: string;
|
|
1336
1389
|
id: string;
|
|
1337
|
-
input: Record<string,
|
|
1390
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1338
1391
|
workflowId: string;
|
|
1339
1392
|
nodeRunId: string;
|
|
1340
1393
|
nodeIndex: number;
|
|
@@ -1343,18 +1396,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1343
1396
|
interventionId: string;
|
|
1344
1397
|
requestedAt: string;
|
|
1345
1398
|
workflowRunId: string;
|
|
1346
|
-
defaultResponse: Record<string,
|
|
1347
|
-
response?: Record<string,
|
|
1399
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1400
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1348
1401
|
expiresAt?: string | undefined;
|
|
1349
1402
|
submittedAt?: string | undefined;
|
|
1350
1403
|
cancelledAt?: string | undefined;
|
|
1351
1404
|
expiredAt?: string | undefined;
|
|
1352
1405
|
submittedBy?: {
|
|
1353
|
-
principalType: "
|
|
1406
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1354
1407
|
principalId: string;
|
|
1355
1408
|
} | undefined;
|
|
1356
1409
|
cancelledBy?: {
|
|
1357
|
-
principalType: "
|
|
1410
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1358
1411
|
principalId: string;
|
|
1359
1412
|
} | undefined;
|
|
1360
1413
|
}[];
|
|
@@ -1365,7 +1418,7 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1365
1418
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1366
1419
|
projectId: string;
|
|
1367
1420
|
id: string;
|
|
1368
|
-
input: Record<string,
|
|
1421
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1369
1422
|
workflowId: string;
|
|
1370
1423
|
nodeRunId: string;
|
|
1371
1424
|
nodeIndex: number;
|
|
@@ -1374,18 +1427,18 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
1374
1427
|
interventionId: string;
|
|
1375
1428
|
requestedAt: string;
|
|
1376
1429
|
workflowRunId: string;
|
|
1377
|
-
defaultResponse: Record<string,
|
|
1378
|
-
response?: Record<string,
|
|
1430
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1431
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1379
1432
|
expiresAt?: string | undefined;
|
|
1380
1433
|
submittedAt?: string | undefined;
|
|
1381
1434
|
cancelledAt?: string | undefined;
|
|
1382
1435
|
expiredAt?: string | undefined;
|
|
1383
1436
|
submittedBy?: {
|
|
1384
|
-
principalType: "
|
|
1437
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1385
1438
|
principalId: string;
|
|
1386
1439
|
} | undefined;
|
|
1387
1440
|
cancelledBy?: {
|
|
1388
|
-
principalType: "
|
|
1441
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1389
1442
|
principalId: string;
|
|
1390
1443
|
} | undefined;
|
|
1391
1444
|
}[];
|
|
@@ -1401,8 +1454,8 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1401
1454
|
nodeId: z.ZodString;
|
|
1402
1455
|
nodeKey: z.ZodString;
|
|
1403
1456
|
interventionId: z.ZodString;
|
|
1404
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
1405
|
-
defaultResponse: z.ZodRecord<z.ZodString, z.
|
|
1457
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1458
|
+
defaultResponse: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1406
1459
|
status: z.ZodEnum<["pending", "submitted", "cancelled", "expired"]>;
|
|
1407
1460
|
requestedAt: z.ZodString;
|
|
1408
1461
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1411,22 +1464,22 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1411
1464
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1412
1465
|
principalId: z.ZodString;
|
|
1413
1466
|
}, "strip", z.ZodTypeAny, {
|
|
1414
|
-
principalType: "
|
|
1467
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1415
1468
|
principalId: string;
|
|
1416
1469
|
}, {
|
|
1417
|
-
principalType: "
|
|
1470
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1418
1471
|
principalId: string;
|
|
1419
1472
|
}>>;
|
|
1420
|
-
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1473
|
+
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1421
1474
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
1422
1475
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
1423
1476
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1424
1477
|
principalId: z.ZodString;
|
|
1425
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1426
|
-
principalType: "
|
|
1479
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1427
1480
|
principalId: string;
|
|
1428
1481
|
}, {
|
|
1429
|
-
principalType: "
|
|
1482
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1430
1483
|
principalId: string;
|
|
1431
1484
|
}>>;
|
|
1432
1485
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1434,7 +1487,7 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1434
1487
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1435
1488
|
projectId: string;
|
|
1436
1489
|
id: string;
|
|
1437
|
-
input: Record<string,
|
|
1490
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1438
1491
|
workflowId: string;
|
|
1439
1492
|
nodeRunId: string;
|
|
1440
1493
|
nodeIndex: number;
|
|
@@ -1443,25 +1496,25 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1443
1496
|
interventionId: string;
|
|
1444
1497
|
requestedAt: string;
|
|
1445
1498
|
workflowRunId: string;
|
|
1446
|
-
defaultResponse: Record<string,
|
|
1447
|
-
response?: Record<string,
|
|
1499
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1500
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1448
1501
|
expiresAt?: string | undefined;
|
|
1449
1502
|
submittedAt?: string | undefined;
|
|
1450
1503
|
cancelledAt?: string | undefined;
|
|
1451
1504
|
expiredAt?: string | undefined;
|
|
1452
1505
|
submittedBy?: {
|
|
1453
|
-
principalType: "
|
|
1506
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1454
1507
|
principalId: string;
|
|
1455
1508
|
} | undefined;
|
|
1456
1509
|
cancelledBy?: {
|
|
1457
|
-
principalType: "
|
|
1510
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1458
1511
|
principalId: string;
|
|
1459
1512
|
} | undefined;
|
|
1460
1513
|
}, {
|
|
1461
1514
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1462
1515
|
projectId: string;
|
|
1463
1516
|
id: string;
|
|
1464
|
-
input: Record<string,
|
|
1517
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1465
1518
|
workflowId: string;
|
|
1466
1519
|
nodeRunId: string;
|
|
1467
1520
|
nodeIndex: number;
|
|
@@ -1470,18 +1523,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1470
1523
|
interventionId: string;
|
|
1471
1524
|
requestedAt: string;
|
|
1472
1525
|
workflowRunId: string;
|
|
1473
|
-
defaultResponse: Record<string,
|
|
1474
|
-
response?: Record<string,
|
|
1526
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1527
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1475
1528
|
expiresAt?: string | undefined;
|
|
1476
1529
|
submittedAt?: string | undefined;
|
|
1477
1530
|
cancelledAt?: string | undefined;
|
|
1478
1531
|
expiredAt?: string | undefined;
|
|
1479
1532
|
submittedBy?: {
|
|
1480
|
-
principalType: "
|
|
1533
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1481
1534
|
principalId: string;
|
|
1482
1535
|
} | undefined;
|
|
1483
1536
|
cancelledBy?: {
|
|
1484
|
-
principalType: "
|
|
1537
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1485
1538
|
principalId: string;
|
|
1486
1539
|
} | undefined;
|
|
1487
1540
|
}>;
|
|
@@ -1492,7 +1545,7 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1492
1545
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1493
1546
|
projectId: string;
|
|
1494
1547
|
id: string;
|
|
1495
|
-
input: Record<string,
|
|
1548
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1496
1549
|
workflowId: string;
|
|
1497
1550
|
nodeRunId: string;
|
|
1498
1551
|
nodeIndex: number;
|
|
@@ -1501,18 +1554,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1501
1554
|
interventionId: string;
|
|
1502
1555
|
requestedAt: string;
|
|
1503
1556
|
workflowRunId: string;
|
|
1504
|
-
defaultResponse: Record<string,
|
|
1505
|
-
response?: Record<string,
|
|
1557
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1558
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1506
1559
|
expiresAt?: string | undefined;
|
|
1507
1560
|
submittedAt?: string | undefined;
|
|
1508
1561
|
cancelledAt?: string | undefined;
|
|
1509
1562
|
expiredAt?: string | undefined;
|
|
1510
1563
|
submittedBy?: {
|
|
1511
|
-
principalType: "
|
|
1564
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1512
1565
|
principalId: string;
|
|
1513
1566
|
} | undefined;
|
|
1514
1567
|
cancelledBy?: {
|
|
1515
|
-
principalType: "
|
|
1568
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1516
1569
|
principalId: string;
|
|
1517
1570
|
} | undefined;
|
|
1518
1571
|
};
|
|
@@ -1522,7 +1575,7 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1522
1575
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1523
1576
|
projectId: string;
|
|
1524
1577
|
id: string;
|
|
1525
|
-
input: Record<string,
|
|
1578
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1526
1579
|
workflowId: string;
|
|
1527
1580
|
nodeRunId: string;
|
|
1528
1581
|
nodeIndex: number;
|
|
@@ -1531,18 +1584,18 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1531
1584
|
interventionId: string;
|
|
1532
1585
|
requestedAt: string;
|
|
1533
1586
|
workflowRunId: string;
|
|
1534
|
-
defaultResponse: Record<string,
|
|
1535
|
-
response?: Record<string,
|
|
1587
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1588
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1536
1589
|
expiresAt?: string | undefined;
|
|
1537
1590
|
submittedAt?: string | undefined;
|
|
1538
1591
|
cancelledAt?: string | undefined;
|
|
1539
1592
|
expiredAt?: string | undefined;
|
|
1540
1593
|
submittedBy?: {
|
|
1541
|
-
principalType: "
|
|
1594
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1542
1595
|
principalId: string;
|
|
1543
1596
|
} | undefined;
|
|
1544
1597
|
cancelledBy?: {
|
|
1545
|
-
principalType: "
|
|
1598
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1546
1599
|
principalId: string;
|
|
1547
1600
|
} | undefined;
|
|
1548
1601
|
};
|
|
@@ -1558,8 +1611,8 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1558
1611
|
nodeId: z.ZodString;
|
|
1559
1612
|
nodeKey: z.ZodString;
|
|
1560
1613
|
interventionId: z.ZodString;
|
|
1561
|
-
input: z.ZodRecord<z.ZodString, z.
|
|
1562
|
-
defaultResponse: z.ZodRecord<z.ZodString, z.
|
|
1614
|
+
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1615
|
+
defaultResponse: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1563
1616
|
status: z.ZodEnum<["pending", "submitted", "cancelled", "expired"]>;
|
|
1564
1617
|
requestedAt: z.ZodString;
|
|
1565
1618
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1568,22 +1621,22 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1568
1621
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1569
1622
|
principalId: z.ZodString;
|
|
1570
1623
|
}, "strip", z.ZodTypeAny, {
|
|
1571
|
-
principalType: "
|
|
1624
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1572
1625
|
principalId: string;
|
|
1573
1626
|
}, {
|
|
1574
|
-
principalType: "
|
|
1627
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1575
1628
|
principalId: string;
|
|
1576
1629
|
}>>;
|
|
1577
|
-
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
1630
|
+
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1578
1631
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
1579
1632
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
1580
1633
|
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1581
1634
|
principalId: z.ZodString;
|
|
1582
1635
|
}, "strip", z.ZodTypeAny, {
|
|
1583
|
-
principalType: "
|
|
1636
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1584
1637
|
principalId: string;
|
|
1585
1638
|
}, {
|
|
1586
|
-
principalType: "
|
|
1639
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1587
1640
|
principalId: string;
|
|
1588
1641
|
}>>;
|
|
1589
1642
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1591,7 +1644,7 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1591
1644
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1592
1645
|
projectId: string;
|
|
1593
1646
|
id: string;
|
|
1594
|
-
input: Record<string,
|
|
1647
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1595
1648
|
workflowId: string;
|
|
1596
1649
|
nodeRunId: string;
|
|
1597
1650
|
nodeIndex: number;
|
|
@@ -1600,25 +1653,25 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1600
1653
|
interventionId: string;
|
|
1601
1654
|
requestedAt: string;
|
|
1602
1655
|
workflowRunId: string;
|
|
1603
|
-
defaultResponse: Record<string,
|
|
1604
|
-
response?: Record<string,
|
|
1656
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1657
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1605
1658
|
expiresAt?: string | undefined;
|
|
1606
1659
|
submittedAt?: string | undefined;
|
|
1607
1660
|
cancelledAt?: string | undefined;
|
|
1608
1661
|
expiredAt?: string | undefined;
|
|
1609
1662
|
submittedBy?: {
|
|
1610
|
-
principalType: "
|
|
1663
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1611
1664
|
principalId: string;
|
|
1612
1665
|
} | undefined;
|
|
1613
1666
|
cancelledBy?: {
|
|
1614
|
-
principalType: "
|
|
1667
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1615
1668
|
principalId: string;
|
|
1616
1669
|
} | undefined;
|
|
1617
1670
|
}, {
|
|
1618
1671
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1619
1672
|
projectId: string;
|
|
1620
1673
|
id: string;
|
|
1621
|
-
input: Record<string,
|
|
1674
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1622
1675
|
workflowId: string;
|
|
1623
1676
|
nodeRunId: string;
|
|
1624
1677
|
nodeIndex: number;
|
|
@@ -1627,18 +1680,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1627
1680
|
interventionId: string;
|
|
1628
1681
|
requestedAt: string;
|
|
1629
1682
|
workflowRunId: string;
|
|
1630
|
-
defaultResponse: Record<string,
|
|
1631
|
-
response?: Record<string,
|
|
1683
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1684
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1632
1685
|
expiresAt?: string | undefined;
|
|
1633
1686
|
submittedAt?: string | undefined;
|
|
1634
1687
|
cancelledAt?: string | undefined;
|
|
1635
1688
|
expiredAt?: string | undefined;
|
|
1636
1689
|
submittedBy?: {
|
|
1637
|
-
principalType: "
|
|
1690
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1638
1691
|
principalId: string;
|
|
1639
1692
|
} | undefined;
|
|
1640
1693
|
cancelledBy?: {
|
|
1641
|
-
principalType: "
|
|
1694
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1642
1695
|
principalId: string;
|
|
1643
1696
|
} | undefined;
|
|
1644
1697
|
}>;
|
|
@@ -1647,7 +1700,7 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1647
1700
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1648
1701
|
projectId: string;
|
|
1649
1702
|
id: string;
|
|
1650
|
-
input: Record<string,
|
|
1703
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1651
1704
|
workflowId: string;
|
|
1652
1705
|
nodeRunId: string;
|
|
1653
1706
|
nodeIndex: number;
|
|
@@ -1656,18 +1709,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1656
1709
|
interventionId: string;
|
|
1657
1710
|
requestedAt: string;
|
|
1658
1711
|
workflowRunId: string;
|
|
1659
|
-
defaultResponse: Record<string,
|
|
1660
|
-
response?: Record<string,
|
|
1712
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1713
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1661
1714
|
expiresAt?: string | undefined;
|
|
1662
1715
|
submittedAt?: string | undefined;
|
|
1663
1716
|
cancelledAt?: string | undefined;
|
|
1664
1717
|
expiredAt?: string | undefined;
|
|
1665
1718
|
submittedBy?: {
|
|
1666
|
-
principalType: "
|
|
1719
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1667
1720
|
principalId: string;
|
|
1668
1721
|
} | undefined;
|
|
1669
1722
|
cancelledBy?: {
|
|
1670
|
-
principalType: "
|
|
1723
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1671
1724
|
principalId: string;
|
|
1672
1725
|
} | undefined;
|
|
1673
1726
|
};
|
|
@@ -1676,7 +1729,7 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1676
1729
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
1677
1730
|
projectId: string;
|
|
1678
1731
|
id: string;
|
|
1679
|
-
input: Record<string,
|
|
1732
|
+
input: Record<string, import("./common").JsonValue>;
|
|
1680
1733
|
workflowId: string;
|
|
1681
1734
|
nodeRunId: string;
|
|
1682
1735
|
nodeIndex: number;
|
|
@@ -1685,18 +1738,18 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
1685
1738
|
interventionId: string;
|
|
1686
1739
|
requestedAt: string;
|
|
1687
1740
|
workflowRunId: string;
|
|
1688
|
-
defaultResponse: Record<string,
|
|
1689
|
-
response?: Record<string,
|
|
1741
|
+
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1742
|
+
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1690
1743
|
expiresAt?: string | undefined;
|
|
1691
1744
|
submittedAt?: string | undefined;
|
|
1692
1745
|
cancelledAt?: string | undefined;
|
|
1693
1746
|
expiredAt?: string | undefined;
|
|
1694
1747
|
submittedBy?: {
|
|
1695
|
-
principalType: "
|
|
1748
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1696
1749
|
principalId: string;
|
|
1697
1750
|
} | undefined;
|
|
1698
1751
|
cancelledBy?: {
|
|
1699
|
-
principalType: "
|
|
1752
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
1700
1753
|
principalId: string;
|
|
1701
1754
|
} | undefined;
|
|
1702
1755
|
};
|