@sixb/server 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/auth/access-token-boundary.d.ts +13 -9
- package/dist/auth/access-token-boundary.d.ts.map +1 -1
- package/dist/auth/client-address.d.ts +12 -0
- package/dist/auth/client-address.d.ts.map +1 -0
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts +5 -0
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/rate-limit.d.ts +15 -0
- package/dist/auth/rate-limit.d.ts.map +1 -0
- package/dist/auth/scope.d.ts +8 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/index.js +723 -480
- package/dist/index.js.map +43 -41
- package/dist/openapi/security.d.ts +34 -10
- package/dist/openapi/security.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +121 -34
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +64 -17
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +8 -8
- package/dist/routes/events.d.ts +0 -4
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +15 -2
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/models.d.ts +7 -7
- package/dist/routes/objects.d.ts +16 -5
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +37 -13
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +5 -5
- package/dist/routes/workflows.d.ts +36 -36
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +2 -3
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +205 -100
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +692 -104
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-usage.d.ts +2 -2
- package/dist/schemas/auth.d.ts +241 -85
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +26 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +22 -22
- package/dist/schemas/events.d.ts +74 -44
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +42 -42
- package/dist/schemas/objects.d.ts +8 -0
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +259 -49
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +230 -240
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +6 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +1 -2
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/auth/access-token-boundary.ts +31 -30
- package/src/auth/client-address.ts +67 -0
- package/src/auth/guard.ts +13 -4
- package/src/auth/public-routes.ts +9 -2
- package/src/auth/rate-limit.ts +43 -0
- package/src/auth/scope.ts +13 -3
- package/src/auth/shared-access.ts +0 -3
- package/src/openapi/security.ts +37 -17
- package/src/routes/action-runs.ts +5 -5
- package/src/routes/actions.ts +4 -4
- package/src/routes/agents.ts +56 -14
- package/src/routes/ai-accounting.ts +11 -10
- package/src/routes/auth.ts +331 -432
- package/src/routes/connector-connection-runs.ts +5 -5
- package/src/routes/connector-connections.ts +3 -3
- package/src/routes/connectors.ts +2 -2
- package/src/routes/events.ts +2 -2
- package/src/routes/files.ts +30 -15
- package/src/routes/links.ts +3 -3
- package/src/routes/logs.ts +2 -2
- package/src/routes/objects.ts +58 -14
- package/src/routes/ontology.ts +42 -14
- package/src/routes/pipelines.ts +2 -2
- package/src/routes/project.ts +2 -2
- package/src/routes/share-grants.ts +4 -4
- package/src/routes/shared-access.ts +3 -2
- package/src/routes/syncs.ts +2 -2
- package/src/routes/telemetry.ts +5 -5
- package/src/routes/workflows.ts +18 -19
- package/src/routes/ws/agents.ts +4 -5
- package/src/schemas/agents.ts +9 -0
- package/src/schemas/ai-accounting.ts +19 -1
- package/src/schemas/auth.ts +27 -8
- package/src/schemas/common.ts +11 -0
- package/src/schemas/events.ts +35 -7
- package/src/schemas/objects.ts +18 -6
- package/src/schemas/ontology.ts +31 -7
- package/src/schemas/workflows.ts +4 -9
- package/src/server.ts +35 -5
- package/src/utils/ws.ts +2 -3
|
@@ -96,16 +96,6 @@ export declare const RequestWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{
|
|
|
96
96
|
}, {
|
|
97
97
|
input?: Record<string, import("./common").JsonValue> | undefined;
|
|
98
98
|
}>>;
|
|
99
|
-
export declare const WorkflowInterventionActorSchema: z.ZodObject<{
|
|
100
|
-
principalType: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
101
|
-
principalId: z.ZodString;
|
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
principalType: "user" | "serviceAccount" | "system";
|
|
104
|
-
principalId: string;
|
|
105
|
-
}, {
|
|
106
|
-
principalType: "user" | "serviceAccount" | "system";
|
|
107
|
-
principalId: string;
|
|
108
|
-
}>;
|
|
109
99
|
export declare const CancelWorkflowRunBodySchema: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
110
100
|
export declare const SubmitWorkflowInterventionBodySchema: z.ZodObject<{
|
|
111
101
|
response: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
@@ -125,14 +115,14 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
125
115
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
126
116
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
127
117
|
requestedBy: z.ZodObject<{
|
|
128
|
-
|
|
129
|
-
|
|
118
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
119
|
+
id: z.ZodString;
|
|
130
120
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
|
|
132
|
-
|
|
121
|
+
id: string;
|
|
122
|
+
type: "user" | "serviceAccount" | "system";
|
|
133
123
|
}, {
|
|
134
|
-
|
|
135
|
-
|
|
124
|
+
id: string;
|
|
125
|
+
type: "user" | "serviceAccount" | "system";
|
|
136
126
|
}>;
|
|
137
127
|
}, "strip", z.ZodTypeAny, {
|
|
138
128
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
@@ -141,8 +131,8 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
141
131
|
startedAt: string;
|
|
142
132
|
workflowId: string;
|
|
143
133
|
requestedBy: {
|
|
144
|
-
|
|
145
|
-
|
|
134
|
+
id: string;
|
|
135
|
+
type: "user" | "serviceAccount" | "system";
|
|
146
136
|
};
|
|
147
137
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
148
138
|
queuedAt?: string | undefined;
|
|
@@ -154,8 +144,8 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
154
144
|
startedAt: string;
|
|
155
145
|
workflowId: string;
|
|
156
146
|
requestedBy: {
|
|
157
|
-
|
|
158
|
-
|
|
147
|
+
id: string;
|
|
148
|
+
type: "user" | "serviceAccount" | "system";
|
|
159
149
|
};
|
|
160
150
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
161
151
|
queuedAt?: string | undefined;
|
|
@@ -171,14 +161,14 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
171
161
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
172
162
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
173
163
|
requestedBy: z.ZodObject<{
|
|
174
|
-
|
|
175
|
-
|
|
164
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
165
|
+
id: z.ZodString;
|
|
176
166
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
|
|
178
|
-
|
|
167
|
+
id: string;
|
|
168
|
+
type: "user" | "serviceAccount" | "system";
|
|
179
169
|
}, {
|
|
180
|
-
|
|
181
|
-
|
|
170
|
+
id: string;
|
|
171
|
+
type: "user" | "serviceAccount" | "system";
|
|
182
172
|
}>;
|
|
183
173
|
} & {
|
|
184
174
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
@@ -191,8 +181,8 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
191
181
|
input: Record<string, import("./common").JsonValue>;
|
|
192
182
|
workflowId: string;
|
|
193
183
|
requestedBy: {
|
|
194
|
-
|
|
195
|
-
|
|
184
|
+
id: string;
|
|
185
|
+
type: "user" | "serviceAccount" | "system";
|
|
196
186
|
};
|
|
197
187
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
198
188
|
queuedAt?: string | undefined;
|
|
@@ -206,8 +196,8 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
206
196
|
input: Record<string, import("./common").JsonValue>;
|
|
207
197
|
workflowId: string;
|
|
208
198
|
requestedBy: {
|
|
209
|
-
|
|
210
|
-
|
|
199
|
+
id: string;
|
|
200
|
+
type: "user" | "serviceAccount" | "system";
|
|
211
201
|
};
|
|
212
202
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
213
203
|
queuedAt?: string | undefined;
|
|
@@ -230,7 +220,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
230
220
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
231
221
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
232
222
|
}, "strip", z.ZodTypeAny, {
|
|
233
|
-
reportingStatus: "
|
|
223
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
234
224
|
inputTokens?: number | undefined;
|
|
235
225
|
outputTokens?: number | undefined;
|
|
236
226
|
totalTokens?: number | undefined;
|
|
@@ -240,7 +230,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
240
230
|
textOutputTokens?: number | undefined;
|
|
241
231
|
reasoningOutputTokens?: number | undefined;
|
|
242
232
|
}, {
|
|
243
|
-
reportingStatus: "
|
|
233
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
244
234
|
inputTokens?: number | undefined;
|
|
245
235
|
outputTokens?: number | undefined;
|
|
246
236
|
totalTokens?: number | undefined;
|
|
@@ -286,11 +276,11 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
286
276
|
}, "strip", z.ZodTypeAny, {
|
|
287
277
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
288
278
|
attempt: number;
|
|
279
|
+
modelId?: string | undefined;
|
|
289
280
|
startedAt?: string | undefined;
|
|
290
281
|
completedAt?: string | undefined;
|
|
291
|
-
modelId?: string | undefined;
|
|
292
282
|
usage?: {
|
|
293
|
-
reportingStatus: "
|
|
283
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
294
284
|
inputTokens?: number | undefined;
|
|
295
285
|
outputTokens?: number | undefined;
|
|
296
286
|
totalTokens?: number | undefined;
|
|
@@ -313,11 +303,11 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
313
303
|
}, {
|
|
314
304
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
315
305
|
attempt: number;
|
|
306
|
+
modelId?: string | undefined;
|
|
316
307
|
startedAt?: string | undefined;
|
|
317
308
|
completedAt?: string | undefined;
|
|
318
|
-
modelId?: string | undefined;
|
|
319
309
|
usage?: {
|
|
320
|
-
reportingStatus: "
|
|
310
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
321
311
|
inputTokens?: number | undefined;
|
|
322
312
|
outputTokens?: number | undefined;
|
|
323
313
|
totalTokens?: number | undefined;
|
|
@@ -355,7 +345,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
355
345
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
356
346
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
357
347
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
-
reportingStatus: "
|
|
348
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
359
349
|
inputTokens?: number | undefined;
|
|
360
350
|
outputTokens?: number | undefined;
|
|
361
351
|
totalTokens?: number | undefined;
|
|
@@ -365,7 +355,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
365
355
|
textOutputTokens?: number | undefined;
|
|
366
356
|
reasoningOutputTokens?: number | undefined;
|
|
367
357
|
}, {
|
|
368
|
-
reportingStatus: "
|
|
358
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
369
359
|
inputTokens?: number | undefined;
|
|
370
360
|
outputTokens?: number | undefined;
|
|
371
361
|
totalTokens?: number | undefined;
|
|
@@ -653,11 +643,11 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
653
643
|
createdAt: string;
|
|
654
644
|
prompt: string;
|
|
655
645
|
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
646
|
+
modelId?: string | undefined;
|
|
656
647
|
startedAt?: string | undefined;
|
|
657
648
|
completedAt?: string | undefined;
|
|
658
|
-
modelId?: string | undefined;
|
|
659
649
|
usage?: {
|
|
660
|
-
reportingStatus: "
|
|
650
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
661
651
|
inputTokens?: number | undefined;
|
|
662
652
|
outputTokens?: number | undefined;
|
|
663
653
|
totalTokens?: number | undefined;
|
|
@@ -748,11 +738,11 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
748
738
|
createdAt: string;
|
|
749
739
|
prompt: string;
|
|
750
740
|
error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
741
|
+
modelId?: string | undefined;
|
|
751
742
|
startedAt?: string | undefined;
|
|
752
743
|
completedAt?: string | undefined;
|
|
753
|
-
modelId?: string | undefined;
|
|
754
744
|
usage?: {
|
|
755
|
-
reportingStatus: "
|
|
745
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
756
746
|
inputTokens?: number | undefined;
|
|
757
747
|
outputTokens?: number | undefined;
|
|
758
748
|
totalTokens?: number | undefined;
|
|
@@ -868,7 +858,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
868
858
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
869
859
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
870
860
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
reportingStatus: "
|
|
861
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
872
862
|
inputTokens?: number | undefined;
|
|
873
863
|
outputTokens?: number | undefined;
|
|
874
864
|
totalTokens?: number | undefined;
|
|
@@ -878,7 +868,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
878
868
|
textOutputTokens?: number | undefined;
|
|
879
869
|
reasoningOutputTokens?: number | undefined;
|
|
880
870
|
}, {
|
|
881
|
-
reportingStatus: "
|
|
871
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
882
872
|
inputTokens?: number | undefined;
|
|
883
873
|
outputTokens?: number | undefined;
|
|
884
874
|
totalTokens?: number | undefined;
|
|
@@ -924,11 +914,11 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
924
914
|
}, "strip", z.ZodTypeAny, {
|
|
925
915
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
926
916
|
attempt: number;
|
|
917
|
+
modelId?: string | undefined;
|
|
927
918
|
startedAt?: string | undefined;
|
|
928
919
|
completedAt?: string | undefined;
|
|
929
|
-
modelId?: string | undefined;
|
|
930
920
|
usage?: {
|
|
931
|
-
reportingStatus: "
|
|
921
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
932
922
|
inputTokens?: number | undefined;
|
|
933
923
|
outputTokens?: number | undefined;
|
|
934
924
|
totalTokens?: number | undefined;
|
|
@@ -951,11 +941,11 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
951
941
|
}, {
|
|
952
942
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
953
943
|
attempt: number;
|
|
944
|
+
modelId?: string | undefined;
|
|
954
945
|
startedAt?: string | undefined;
|
|
955
946
|
completedAt?: string | undefined;
|
|
956
|
-
modelId?: string | undefined;
|
|
957
947
|
usage?: {
|
|
958
|
-
reportingStatus: "
|
|
948
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
959
949
|
inputTokens?: number | undefined;
|
|
960
950
|
outputTokens?: number | undefined;
|
|
961
951
|
totalTokens?: number | undefined;
|
|
@@ -992,11 +982,11 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
992
982
|
agentExecution?: {
|
|
993
983
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
994
984
|
attempt: number;
|
|
985
|
+
modelId?: string | undefined;
|
|
995
986
|
startedAt?: string | undefined;
|
|
996
987
|
completedAt?: string | undefined;
|
|
997
|
-
modelId?: string | undefined;
|
|
998
988
|
usage?: {
|
|
999
|
-
reportingStatus: "
|
|
989
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1000
990
|
inputTokens?: number | undefined;
|
|
1001
991
|
outputTokens?: number | undefined;
|
|
1002
992
|
totalTokens?: number | undefined;
|
|
@@ -1035,11 +1025,11 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1035
1025
|
agentExecution?: {
|
|
1036
1026
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1037
1027
|
attempt: number;
|
|
1028
|
+
modelId?: string | undefined;
|
|
1038
1029
|
startedAt?: string | undefined;
|
|
1039
1030
|
completedAt?: string | undefined;
|
|
1040
|
-
modelId?: string | undefined;
|
|
1041
1031
|
usage?: {
|
|
1042
|
-
reportingStatus: "
|
|
1032
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1043
1033
|
inputTokens?: number | undefined;
|
|
1044
1034
|
outputTokens?: number | undefined;
|
|
1045
1035
|
totalTokens?: number | undefined;
|
|
@@ -1080,26 +1070,26 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1080
1070
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
1081
1071
|
submittedAt: z.ZodOptional<z.ZodString>;
|
|
1082
1072
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
1083
|
-
|
|
1084
|
-
|
|
1073
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1074
|
+
id: z.ZodString;
|
|
1085
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1086
|
-
|
|
1087
|
-
|
|
1076
|
+
id: string;
|
|
1077
|
+
type: "user" | "serviceAccount" | "system";
|
|
1088
1078
|
}, {
|
|
1089
|
-
|
|
1090
|
-
|
|
1079
|
+
id: string;
|
|
1080
|
+
type: "user" | "serviceAccount" | "system";
|
|
1091
1081
|
}>>;
|
|
1092
1082
|
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1093
1083
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
1094
1084
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
1095
|
-
|
|
1096
|
-
|
|
1085
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1086
|
+
id: z.ZodString;
|
|
1097
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1098
|
-
|
|
1099
|
-
|
|
1088
|
+
id: string;
|
|
1089
|
+
type: "user" | "serviceAccount" | "system";
|
|
1100
1090
|
}, {
|
|
1101
|
-
|
|
1102
|
-
|
|
1091
|
+
id: string;
|
|
1092
|
+
type: "user" | "serviceAccount" | "system";
|
|
1103
1093
|
}>>;
|
|
1104
1094
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1105
1095
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1120,13 +1110,13 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1120
1110
|
expiresAt?: string | undefined;
|
|
1121
1111
|
submittedAt?: string | undefined;
|
|
1122
1112
|
submittedBy?: {
|
|
1123
|
-
|
|
1124
|
-
|
|
1113
|
+
id: string;
|
|
1114
|
+
type: "user" | "serviceAccount" | "system";
|
|
1125
1115
|
} | undefined;
|
|
1126
1116
|
cancelledAt?: string | undefined;
|
|
1127
1117
|
cancelledBy?: {
|
|
1128
|
-
|
|
1129
|
-
|
|
1118
|
+
id: string;
|
|
1119
|
+
type: "user" | "serviceAccount" | "system";
|
|
1130
1120
|
} | undefined;
|
|
1131
1121
|
expiredAt?: string | undefined;
|
|
1132
1122
|
}, {
|
|
@@ -1147,13 +1137,13 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1147
1137
|
expiresAt?: string | undefined;
|
|
1148
1138
|
submittedAt?: string | undefined;
|
|
1149
1139
|
submittedBy?: {
|
|
1150
|
-
|
|
1151
|
-
|
|
1140
|
+
id: string;
|
|
1141
|
+
type: "user" | "serviceAccount" | "system";
|
|
1152
1142
|
} | undefined;
|
|
1153
1143
|
cancelledAt?: string | undefined;
|
|
1154
1144
|
cancelledBy?: {
|
|
1155
|
-
|
|
1156
|
-
|
|
1145
|
+
id: string;
|
|
1146
|
+
type: "user" | "serviceAccount" | "system";
|
|
1157
1147
|
} | undefined;
|
|
1158
1148
|
expiredAt?: string | undefined;
|
|
1159
1149
|
}>;
|
|
@@ -1256,14 +1246,14 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1256
1246
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1257
1247
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1258
1248
|
requestedBy: z.ZodObject<{
|
|
1259
|
-
|
|
1260
|
-
|
|
1249
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1250
|
+
id: z.ZodString;
|
|
1261
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1262
|
-
|
|
1263
|
-
|
|
1252
|
+
id: string;
|
|
1253
|
+
type: "user" | "serviceAccount" | "system";
|
|
1264
1254
|
}, {
|
|
1265
|
-
|
|
1266
|
-
|
|
1255
|
+
id: string;
|
|
1256
|
+
type: "user" | "serviceAccount" | "system";
|
|
1267
1257
|
}>;
|
|
1268
1258
|
}, "strip", z.ZodTypeAny, {
|
|
1269
1259
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
@@ -1272,8 +1262,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1272
1262
|
startedAt: string;
|
|
1273
1263
|
workflowId: string;
|
|
1274
1264
|
requestedBy: {
|
|
1275
|
-
|
|
1276
|
-
|
|
1265
|
+
id: string;
|
|
1266
|
+
type: "user" | "serviceAccount" | "system";
|
|
1277
1267
|
};
|
|
1278
1268
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1279
1269
|
queuedAt?: string | undefined;
|
|
@@ -1285,8 +1275,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1285
1275
|
startedAt: string;
|
|
1286
1276
|
workflowId: string;
|
|
1287
1277
|
requestedBy: {
|
|
1288
|
-
|
|
1289
|
-
|
|
1278
|
+
id: string;
|
|
1279
|
+
type: "user" | "serviceAccount" | "system";
|
|
1290
1280
|
};
|
|
1291
1281
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1292
1282
|
queuedAt?: string | undefined;
|
|
@@ -1332,8 +1322,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1332
1322
|
startedAt: string;
|
|
1333
1323
|
workflowId: string;
|
|
1334
1324
|
requestedBy: {
|
|
1335
|
-
|
|
1336
|
-
|
|
1325
|
+
id: string;
|
|
1326
|
+
type: "user" | "serviceAccount" | "system";
|
|
1337
1327
|
};
|
|
1338
1328
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1339
1329
|
queuedAt?: string | undefined;
|
|
@@ -1379,8 +1369,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1379
1369
|
startedAt: string;
|
|
1380
1370
|
workflowId: string;
|
|
1381
1371
|
requestedBy: {
|
|
1382
|
-
|
|
1383
|
-
|
|
1372
|
+
id: string;
|
|
1373
|
+
type: "user" | "serviceAccount" | "system";
|
|
1384
1374
|
};
|
|
1385
1375
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1386
1376
|
queuedAt?: string | undefined;
|
|
@@ -1398,14 +1388,14 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1398
1388
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1399
1389
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1400
1390
|
requestedBy: z.ZodObject<{
|
|
1401
|
-
|
|
1402
|
-
|
|
1391
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1392
|
+
id: z.ZodString;
|
|
1403
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
|
|
1405
|
-
|
|
1394
|
+
id: string;
|
|
1395
|
+
type: "user" | "serviceAccount" | "system";
|
|
1406
1396
|
}, {
|
|
1407
|
-
|
|
1408
|
-
|
|
1397
|
+
id: string;
|
|
1398
|
+
type: "user" | "serviceAccount" | "system";
|
|
1409
1399
|
}>;
|
|
1410
1400
|
}, "strip", z.ZodTypeAny, {
|
|
1411
1401
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
@@ -1414,8 +1404,8 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1414
1404
|
startedAt: string;
|
|
1415
1405
|
workflowId: string;
|
|
1416
1406
|
requestedBy: {
|
|
1417
|
-
|
|
1418
|
-
|
|
1407
|
+
id: string;
|
|
1408
|
+
type: "user" | "serviceAccount" | "system";
|
|
1419
1409
|
};
|
|
1420
1410
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1421
1411
|
queuedAt?: string | undefined;
|
|
@@ -1427,8 +1417,8 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1427
1417
|
startedAt: string;
|
|
1428
1418
|
workflowId: string;
|
|
1429
1419
|
requestedBy: {
|
|
1430
|
-
|
|
1431
|
-
|
|
1420
|
+
id: string;
|
|
1421
|
+
type: "user" | "serviceAccount" | "system";
|
|
1432
1422
|
};
|
|
1433
1423
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1434
1424
|
queuedAt?: string | undefined;
|
|
@@ -1444,8 +1434,8 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1444
1434
|
startedAt: string;
|
|
1445
1435
|
workflowId: string;
|
|
1446
1436
|
requestedBy: {
|
|
1447
|
-
|
|
1448
|
-
|
|
1437
|
+
id: string;
|
|
1438
|
+
type: "user" | "serviceAccount" | "system";
|
|
1449
1439
|
};
|
|
1450
1440
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1451
1441
|
queuedAt?: string | undefined;
|
|
@@ -1461,8 +1451,8 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1461
1451
|
startedAt: string;
|
|
1462
1452
|
workflowId: string;
|
|
1463
1453
|
requestedBy: {
|
|
1464
|
-
|
|
1465
|
-
|
|
1454
|
+
id: string;
|
|
1455
|
+
type: "user" | "serviceAccount" | "system";
|
|
1466
1456
|
};
|
|
1467
1457
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1468
1458
|
queuedAt?: string | undefined;
|
|
@@ -1482,14 +1472,14 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1482
1472
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1483
1473
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1484
1474
|
requestedBy: z.ZodObject<{
|
|
1485
|
-
|
|
1486
|
-
|
|
1475
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1476
|
+
id: z.ZodString;
|
|
1487
1477
|
}, "strip", z.ZodTypeAny, {
|
|
1488
|
-
|
|
1489
|
-
|
|
1478
|
+
id: string;
|
|
1479
|
+
type: "user" | "serviceAccount" | "system";
|
|
1490
1480
|
}, {
|
|
1491
|
-
|
|
1492
|
-
|
|
1481
|
+
id: string;
|
|
1482
|
+
type: "user" | "serviceAccount" | "system";
|
|
1493
1483
|
}>;
|
|
1494
1484
|
} & {
|
|
1495
1485
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
@@ -1502,8 +1492,8 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1502
1492
|
input: Record<string, import("./common").JsonValue>;
|
|
1503
1493
|
workflowId: string;
|
|
1504
1494
|
requestedBy: {
|
|
1505
|
-
|
|
1506
|
-
|
|
1495
|
+
id: string;
|
|
1496
|
+
type: "user" | "serviceAccount" | "system";
|
|
1507
1497
|
};
|
|
1508
1498
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1509
1499
|
queuedAt?: string | undefined;
|
|
@@ -1517,8 +1507,8 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1517
1507
|
input: Record<string, import("./common").JsonValue>;
|
|
1518
1508
|
workflowId: string;
|
|
1519
1509
|
requestedBy: {
|
|
1520
|
-
|
|
1521
|
-
|
|
1510
|
+
id: string;
|
|
1511
|
+
type: "user" | "serviceAccount" | "system";
|
|
1522
1512
|
};
|
|
1523
1513
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1524
1514
|
queuedAt?: string | undefined;
|
|
@@ -1556,7 +1546,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1556
1546
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1557
1547
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1558
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1559
|
-
reportingStatus: "
|
|
1549
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1560
1550
|
inputTokens?: number | undefined;
|
|
1561
1551
|
outputTokens?: number | undefined;
|
|
1562
1552
|
totalTokens?: number | undefined;
|
|
@@ -1566,7 +1556,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1566
1556
|
textOutputTokens?: number | undefined;
|
|
1567
1557
|
reasoningOutputTokens?: number | undefined;
|
|
1568
1558
|
}, {
|
|
1569
|
-
reportingStatus: "
|
|
1559
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1570
1560
|
inputTokens?: number | undefined;
|
|
1571
1561
|
outputTokens?: number | undefined;
|
|
1572
1562
|
totalTokens?: number | undefined;
|
|
@@ -1612,11 +1602,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1612
1602
|
}, "strip", z.ZodTypeAny, {
|
|
1613
1603
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1614
1604
|
attempt: number;
|
|
1605
|
+
modelId?: string | undefined;
|
|
1615
1606
|
startedAt?: string | undefined;
|
|
1616
1607
|
completedAt?: string | undefined;
|
|
1617
|
-
modelId?: string | undefined;
|
|
1618
1608
|
usage?: {
|
|
1619
|
-
reportingStatus: "
|
|
1609
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1620
1610
|
inputTokens?: number | undefined;
|
|
1621
1611
|
outputTokens?: number | undefined;
|
|
1622
1612
|
totalTokens?: number | undefined;
|
|
@@ -1639,11 +1629,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1639
1629
|
}, {
|
|
1640
1630
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1641
1631
|
attempt: number;
|
|
1632
|
+
modelId?: string | undefined;
|
|
1642
1633
|
startedAt?: string | undefined;
|
|
1643
1634
|
completedAt?: string | undefined;
|
|
1644
|
-
modelId?: string | undefined;
|
|
1645
1635
|
usage?: {
|
|
1646
|
-
reportingStatus: "
|
|
1636
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1647
1637
|
inputTokens?: number | undefined;
|
|
1648
1638
|
outputTokens?: number | undefined;
|
|
1649
1639
|
totalTokens?: number | undefined;
|
|
@@ -1680,11 +1670,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1680
1670
|
agentExecution?: {
|
|
1681
1671
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1682
1672
|
attempt: number;
|
|
1673
|
+
modelId?: string | undefined;
|
|
1683
1674
|
startedAt?: string | undefined;
|
|
1684
1675
|
completedAt?: string | undefined;
|
|
1685
|
-
modelId?: string | undefined;
|
|
1686
1676
|
usage?: {
|
|
1687
|
-
reportingStatus: "
|
|
1677
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1688
1678
|
inputTokens?: number | undefined;
|
|
1689
1679
|
outputTokens?: number | undefined;
|
|
1690
1680
|
totalTokens?: number | undefined;
|
|
@@ -1723,11 +1713,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1723
1713
|
agentExecution?: {
|
|
1724
1714
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1725
1715
|
attempt: number;
|
|
1716
|
+
modelId?: string | undefined;
|
|
1726
1717
|
startedAt?: string | undefined;
|
|
1727
1718
|
completedAt?: string | undefined;
|
|
1728
|
-
modelId?: string | undefined;
|
|
1729
1719
|
usage?: {
|
|
1730
|
-
reportingStatus: "
|
|
1720
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1731
1721
|
inputTokens?: number | undefined;
|
|
1732
1722
|
outputTokens?: number | undefined;
|
|
1733
1723
|
totalTokens?: number | undefined;
|
|
@@ -1760,8 +1750,8 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1760
1750
|
input: Record<string, import("./common").JsonValue>;
|
|
1761
1751
|
workflowId: string;
|
|
1762
1752
|
requestedBy: {
|
|
1763
|
-
|
|
1764
|
-
|
|
1753
|
+
id: string;
|
|
1754
|
+
type: "user" | "serviceAccount" | "system";
|
|
1765
1755
|
};
|
|
1766
1756
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1767
1757
|
queuedAt?: string | undefined;
|
|
@@ -1784,11 +1774,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1784
1774
|
agentExecution?: {
|
|
1785
1775
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1786
1776
|
attempt: number;
|
|
1777
|
+
modelId?: string | undefined;
|
|
1787
1778
|
startedAt?: string | undefined;
|
|
1788
1779
|
completedAt?: string | undefined;
|
|
1789
|
-
modelId?: string | undefined;
|
|
1790
1780
|
usage?: {
|
|
1791
|
-
reportingStatus: "
|
|
1781
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1792
1782
|
inputTokens?: number | undefined;
|
|
1793
1783
|
outputTokens?: number | undefined;
|
|
1794
1784
|
totalTokens?: number | undefined;
|
|
@@ -1821,8 +1811,8 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1821
1811
|
input: Record<string, import("./common").JsonValue>;
|
|
1822
1812
|
workflowId: string;
|
|
1823
1813
|
requestedBy: {
|
|
1824
|
-
|
|
1825
|
-
|
|
1814
|
+
id: string;
|
|
1815
|
+
type: "user" | "serviceAccount" | "system";
|
|
1826
1816
|
};
|
|
1827
1817
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1828
1818
|
queuedAt?: string | undefined;
|
|
@@ -1845,11 +1835,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1845
1835
|
agentExecution?: {
|
|
1846
1836
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1847
1837
|
attempt: number;
|
|
1838
|
+
modelId?: string | undefined;
|
|
1848
1839
|
startedAt?: string | undefined;
|
|
1849
1840
|
completedAt?: string | undefined;
|
|
1850
|
-
modelId?: string | undefined;
|
|
1851
1841
|
usage?: {
|
|
1852
|
-
reportingStatus: "
|
|
1842
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1853
1843
|
inputTokens?: number | undefined;
|
|
1854
1844
|
outputTokens?: number | undefined;
|
|
1855
1845
|
totalTokens?: number | undefined;
|
|
@@ -1885,14 +1875,14 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1885
1875
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1886
1876
|
error: z.ZodOptional<z.ZodType<SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">, z.ZodTypeDef, SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed">>>;
|
|
1887
1877
|
requestedBy: z.ZodObject<{
|
|
1888
|
-
|
|
1889
|
-
|
|
1878
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1879
|
+
id: z.ZodString;
|
|
1890
1880
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
-
|
|
1892
|
-
|
|
1881
|
+
id: string;
|
|
1882
|
+
type: "user" | "serviceAccount" | "system";
|
|
1893
1883
|
}, {
|
|
1894
|
-
|
|
1895
|
-
|
|
1884
|
+
id: string;
|
|
1885
|
+
type: "user" | "serviceAccount" | "system";
|
|
1896
1886
|
}>;
|
|
1897
1887
|
} & {
|
|
1898
1888
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
@@ -1905,8 +1895,8 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1905
1895
|
input: Record<string, import("./common").JsonValue>;
|
|
1906
1896
|
workflowId: string;
|
|
1907
1897
|
requestedBy: {
|
|
1908
|
-
|
|
1909
|
-
|
|
1898
|
+
id: string;
|
|
1899
|
+
type: "user" | "serviceAccount" | "system";
|
|
1910
1900
|
};
|
|
1911
1901
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1912
1902
|
queuedAt?: string | undefined;
|
|
@@ -1920,8 +1910,8 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1920
1910
|
input: Record<string, import("./common").JsonValue>;
|
|
1921
1911
|
workflowId: string;
|
|
1922
1912
|
requestedBy: {
|
|
1923
|
-
|
|
1924
|
-
|
|
1913
|
+
id: string;
|
|
1914
|
+
type: "user" | "serviceAccount" | "system";
|
|
1925
1915
|
};
|
|
1926
1916
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1927
1917
|
queuedAt?: string | undefined;
|
|
@@ -1959,7 +1949,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1959
1949
|
reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1960
1950
|
reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
|
|
1961
1951
|
}, "strip", z.ZodTypeAny, {
|
|
1962
|
-
reportingStatus: "
|
|
1952
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1963
1953
|
inputTokens?: number | undefined;
|
|
1964
1954
|
outputTokens?: number | undefined;
|
|
1965
1955
|
totalTokens?: number | undefined;
|
|
@@ -1969,7 +1959,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1969
1959
|
textOutputTokens?: number | undefined;
|
|
1970
1960
|
reasoningOutputTokens?: number | undefined;
|
|
1971
1961
|
}, {
|
|
1972
|
-
reportingStatus: "
|
|
1962
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
1973
1963
|
inputTokens?: number | undefined;
|
|
1974
1964
|
outputTokens?: number | undefined;
|
|
1975
1965
|
totalTokens?: number | undefined;
|
|
@@ -2015,11 +2005,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2015
2005
|
}, "strip", z.ZodTypeAny, {
|
|
2016
2006
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2017
2007
|
attempt: number;
|
|
2008
|
+
modelId?: string | undefined;
|
|
2018
2009
|
startedAt?: string | undefined;
|
|
2019
2010
|
completedAt?: string | undefined;
|
|
2020
|
-
modelId?: string | undefined;
|
|
2021
2011
|
usage?: {
|
|
2022
|
-
reportingStatus: "
|
|
2012
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2023
2013
|
inputTokens?: number | undefined;
|
|
2024
2014
|
outputTokens?: number | undefined;
|
|
2025
2015
|
totalTokens?: number | undefined;
|
|
@@ -2042,11 +2032,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2042
2032
|
}, {
|
|
2043
2033
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2044
2034
|
attempt: number;
|
|
2035
|
+
modelId?: string | undefined;
|
|
2045
2036
|
startedAt?: string | undefined;
|
|
2046
2037
|
completedAt?: string | undefined;
|
|
2047
|
-
modelId?: string | undefined;
|
|
2048
2038
|
usage?: {
|
|
2049
|
-
reportingStatus: "
|
|
2039
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2050
2040
|
inputTokens?: number | undefined;
|
|
2051
2041
|
outputTokens?: number | undefined;
|
|
2052
2042
|
totalTokens?: number | undefined;
|
|
@@ -2083,11 +2073,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2083
2073
|
agentExecution?: {
|
|
2084
2074
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2085
2075
|
attempt: number;
|
|
2076
|
+
modelId?: string | undefined;
|
|
2086
2077
|
startedAt?: string | undefined;
|
|
2087
2078
|
completedAt?: string | undefined;
|
|
2088
|
-
modelId?: string | undefined;
|
|
2089
2079
|
usage?: {
|
|
2090
|
-
reportingStatus: "
|
|
2080
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2091
2081
|
inputTokens?: number | undefined;
|
|
2092
2082
|
outputTokens?: number | undefined;
|
|
2093
2083
|
totalTokens?: number | undefined;
|
|
@@ -2126,11 +2116,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2126
2116
|
agentExecution?: {
|
|
2127
2117
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2128
2118
|
attempt: number;
|
|
2119
|
+
modelId?: string | undefined;
|
|
2129
2120
|
startedAt?: string | undefined;
|
|
2130
2121
|
completedAt?: string | undefined;
|
|
2131
|
-
modelId?: string | undefined;
|
|
2132
2122
|
usage?: {
|
|
2133
|
-
reportingStatus: "
|
|
2123
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2134
2124
|
inputTokens?: number | undefined;
|
|
2135
2125
|
outputTokens?: number | undefined;
|
|
2136
2126
|
totalTokens?: number | undefined;
|
|
@@ -2163,8 +2153,8 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2163
2153
|
input: Record<string, import("./common").JsonValue>;
|
|
2164
2154
|
workflowId: string;
|
|
2165
2155
|
requestedBy: {
|
|
2166
|
-
|
|
2167
|
-
|
|
2156
|
+
id: string;
|
|
2157
|
+
type: "user" | "serviceAccount" | "system";
|
|
2168
2158
|
};
|
|
2169
2159
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2170
2160
|
queuedAt?: string | undefined;
|
|
@@ -2187,11 +2177,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2187
2177
|
agentExecution?: {
|
|
2188
2178
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2189
2179
|
attempt: number;
|
|
2180
|
+
modelId?: string | undefined;
|
|
2190
2181
|
startedAt?: string | undefined;
|
|
2191
2182
|
completedAt?: string | undefined;
|
|
2192
|
-
modelId?: string | undefined;
|
|
2193
2183
|
usage?: {
|
|
2194
|
-
reportingStatus: "
|
|
2184
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2195
2185
|
inputTokens?: number | undefined;
|
|
2196
2186
|
outputTokens?: number | undefined;
|
|
2197
2187
|
totalTokens?: number | undefined;
|
|
@@ -2224,8 +2214,8 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2224
2214
|
input: Record<string, import("./common").JsonValue>;
|
|
2225
2215
|
workflowId: string;
|
|
2226
2216
|
requestedBy: {
|
|
2227
|
-
|
|
2228
|
-
|
|
2217
|
+
id: string;
|
|
2218
|
+
type: "user" | "serviceAccount" | "system";
|
|
2229
2219
|
};
|
|
2230
2220
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2231
2221
|
queuedAt?: string | undefined;
|
|
@@ -2248,11 +2238,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2248
2238
|
agentExecution?: {
|
|
2249
2239
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
2250
2240
|
attempt: number;
|
|
2241
|
+
modelId?: string | undefined;
|
|
2251
2242
|
startedAt?: string | undefined;
|
|
2252
2243
|
completedAt?: string | undefined;
|
|
2253
|
-
modelId?: string | undefined;
|
|
2254
2244
|
usage?: {
|
|
2255
|
-
reportingStatus: "
|
|
2245
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2256
2246
|
inputTokens?: number | undefined;
|
|
2257
2247
|
outputTokens?: number | undefined;
|
|
2258
2248
|
totalTokens?: number | undefined;
|
|
@@ -2295,26 +2285,26 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2295
2285
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2296
2286
|
submittedAt: z.ZodOptional<z.ZodString>;
|
|
2297
2287
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
2298
|
-
|
|
2299
|
-
|
|
2288
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2289
|
+
id: z.ZodString;
|
|
2300
2290
|
}, "strip", z.ZodTypeAny, {
|
|
2301
|
-
|
|
2302
|
-
|
|
2291
|
+
id: string;
|
|
2292
|
+
type: "user" | "serviceAccount" | "system";
|
|
2303
2293
|
}, {
|
|
2304
|
-
|
|
2305
|
-
|
|
2294
|
+
id: string;
|
|
2295
|
+
type: "user" | "serviceAccount" | "system";
|
|
2306
2296
|
}>>;
|
|
2307
2297
|
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
2308
2298
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
2309
2299
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
2310
|
-
|
|
2311
|
-
|
|
2300
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2301
|
+
id: z.ZodString;
|
|
2312
2302
|
}, "strip", z.ZodTypeAny, {
|
|
2313
|
-
|
|
2314
|
-
|
|
2303
|
+
id: string;
|
|
2304
|
+
type: "user" | "serviceAccount" | "system";
|
|
2315
2305
|
}, {
|
|
2316
|
-
|
|
2317
|
-
|
|
2306
|
+
id: string;
|
|
2307
|
+
type: "user" | "serviceAccount" | "system";
|
|
2318
2308
|
}>>;
|
|
2319
2309
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2320
2310
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2335,13 +2325,13 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2335
2325
|
expiresAt?: string | undefined;
|
|
2336
2326
|
submittedAt?: string | undefined;
|
|
2337
2327
|
submittedBy?: {
|
|
2338
|
-
|
|
2339
|
-
|
|
2328
|
+
id: string;
|
|
2329
|
+
type: "user" | "serviceAccount" | "system";
|
|
2340
2330
|
} | undefined;
|
|
2341
2331
|
cancelledAt?: string | undefined;
|
|
2342
2332
|
cancelledBy?: {
|
|
2343
|
-
|
|
2344
|
-
|
|
2333
|
+
id: string;
|
|
2334
|
+
type: "user" | "serviceAccount" | "system";
|
|
2345
2335
|
} | undefined;
|
|
2346
2336
|
expiredAt?: string | undefined;
|
|
2347
2337
|
}, {
|
|
@@ -2362,13 +2352,13 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2362
2352
|
expiresAt?: string | undefined;
|
|
2363
2353
|
submittedAt?: string | undefined;
|
|
2364
2354
|
submittedBy?: {
|
|
2365
|
-
|
|
2366
|
-
|
|
2355
|
+
id: string;
|
|
2356
|
+
type: "user" | "serviceAccount" | "system";
|
|
2367
2357
|
} | undefined;
|
|
2368
2358
|
cancelledAt?: string | undefined;
|
|
2369
2359
|
cancelledBy?: {
|
|
2370
|
-
|
|
2371
|
-
|
|
2360
|
+
id: string;
|
|
2361
|
+
type: "user" | "serviceAccount" | "system";
|
|
2372
2362
|
} | undefined;
|
|
2373
2363
|
expiredAt?: string | undefined;
|
|
2374
2364
|
}>, "many">;
|
|
@@ -2395,13 +2385,13 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2395
2385
|
expiresAt?: string | undefined;
|
|
2396
2386
|
submittedAt?: string | undefined;
|
|
2397
2387
|
submittedBy?: {
|
|
2398
|
-
|
|
2399
|
-
|
|
2388
|
+
id: string;
|
|
2389
|
+
type: "user" | "serviceAccount" | "system";
|
|
2400
2390
|
} | undefined;
|
|
2401
2391
|
cancelledAt?: string | undefined;
|
|
2402
2392
|
cancelledBy?: {
|
|
2403
|
-
|
|
2404
|
-
|
|
2393
|
+
id: string;
|
|
2394
|
+
type: "user" | "serviceAccount" | "system";
|
|
2405
2395
|
} | undefined;
|
|
2406
2396
|
expiredAt?: string | undefined;
|
|
2407
2397
|
}[];
|
|
@@ -2426,13 +2416,13 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2426
2416
|
expiresAt?: string | undefined;
|
|
2427
2417
|
submittedAt?: string | undefined;
|
|
2428
2418
|
submittedBy?: {
|
|
2429
|
-
|
|
2430
|
-
|
|
2419
|
+
id: string;
|
|
2420
|
+
type: "user" | "serviceAccount" | "system";
|
|
2431
2421
|
} | undefined;
|
|
2432
2422
|
cancelledAt?: string | undefined;
|
|
2433
2423
|
cancelledBy?: {
|
|
2434
|
-
|
|
2435
|
-
|
|
2424
|
+
id: string;
|
|
2425
|
+
type: "user" | "serviceAccount" | "system";
|
|
2436
2426
|
} | undefined;
|
|
2437
2427
|
expiredAt?: string | undefined;
|
|
2438
2428
|
}[];
|
|
@@ -2455,26 +2445,26 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2455
2445
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2456
2446
|
submittedAt: z.ZodOptional<z.ZodString>;
|
|
2457
2447
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
2458
|
-
|
|
2459
|
-
|
|
2448
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2449
|
+
id: z.ZodString;
|
|
2460
2450
|
}, "strip", z.ZodTypeAny, {
|
|
2461
|
-
|
|
2462
|
-
|
|
2451
|
+
id: string;
|
|
2452
|
+
type: "user" | "serviceAccount" | "system";
|
|
2463
2453
|
}, {
|
|
2464
|
-
|
|
2465
|
-
|
|
2454
|
+
id: string;
|
|
2455
|
+
type: "user" | "serviceAccount" | "system";
|
|
2466
2456
|
}>>;
|
|
2467
2457
|
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
2468
2458
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
2469
2459
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
2470
|
-
|
|
2471
|
-
|
|
2460
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2461
|
+
id: z.ZodString;
|
|
2472
2462
|
}, "strip", z.ZodTypeAny, {
|
|
2473
|
-
|
|
2474
|
-
|
|
2463
|
+
id: string;
|
|
2464
|
+
type: "user" | "serviceAccount" | "system";
|
|
2475
2465
|
}, {
|
|
2476
|
-
|
|
2477
|
-
|
|
2466
|
+
id: string;
|
|
2467
|
+
type: "user" | "serviceAccount" | "system";
|
|
2478
2468
|
}>>;
|
|
2479
2469
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2480
2470
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2495,13 +2485,13 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2495
2485
|
expiresAt?: string | undefined;
|
|
2496
2486
|
submittedAt?: string | undefined;
|
|
2497
2487
|
submittedBy?: {
|
|
2498
|
-
|
|
2499
|
-
|
|
2488
|
+
id: string;
|
|
2489
|
+
type: "user" | "serviceAccount" | "system";
|
|
2500
2490
|
} | undefined;
|
|
2501
2491
|
cancelledAt?: string | undefined;
|
|
2502
2492
|
cancelledBy?: {
|
|
2503
|
-
|
|
2504
|
-
|
|
2493
|
+
id: string;
|
|
2494
|
+
type: "user" | "serviceAccount" | "system";
|
|
2505
2495
|
} | undefined;
|
|
2506
2496
|
expiredAt?: string | undefined;
|
|
2507
2497
|
}, {
|
|
@@ -2522,13 +2512,13 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2522
2512
|
expiresAt?: string | undefined;
|
|
2523
2513
|
submittedAt?: string | undefined;
|
|
2524
2514
|
submittedBy?: {
|
|
2525
|
-
|
|
2526
|
-
|
|
2515
|
+
id: string;
|
|
2516
|
+
type: "user" | "serviceAccount" | "system";
|
|
2527
2517
|
} | undefined;
|
|
2528
2518
|
cancelledAt?: string | undefined;
|
|
2529
2519
|
cancelledBy?: {
|
|
2530
|
-
|
|
2531
|
-
|
|
2520
|
+
id: string;
|
|
2521
|
+
type: "user" | "serviceAccount" | "system";
|
|
2532
2522
|
} | undefined;
|
|
2533
2523
|
expiredAt?: string | undefined;
|
|
2534
2524
|
}>;
|
|
@@ -2553,13 +2543,13 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2553
2543
|
expiresAt?: string | undefined;
|
|
2554
2544
|
submittedAt?: string | undefined;
|
|
2555
2545
|
submittedBy?: {
|
|
2556
|
-
|
|
2557
|
-
|
|
2546
|
+
id: string;
|
|
2547
|
+
type: "user" | "serviceAccount" | "system";
|
|
2558
2548
|
} | undefined;
|
|
2559
2549
|
cancelledAt?: string | undefined;
|
|
2560
2550
|
cancelledBy?: {
|
|
2561
|
-
|
|
2562
|
-
|
|
2551
|
+
id: string;
|
|
2552
|
+
type: "user" | "serviceAccount" | "system";
|
|
2563
2553
|
} | undefined;
|
|
2564
2554
|
expiredAt?: string | undefined;
|
|
2565
2555
|
};
|
|
@@ -2583,13 +2573,13 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2583
2573
|
expiresAt?: string | undefined;
|
|
2584
2574
|
submittedAt?: string | undefined;
|
|
2585
2575
|
submittedBy?: {
|
|
2586
|
-
|
|
2587
|
-
|
|
2576
|
+
id: string;
|
|
2577
|
+
type: "user" | "serviceAccount" | "system";
|
|
2588
2578
|
} | undefined;
|
|
2589
2579
|
cancelledAt?: string | undefined;
|
|
2590
2580
|
cancelledBy?: {
|
|
2591
|
-
|
|
2592
|
-
|
|
2581
|
+
id: string;
|
|
2582
|
+
type: "user" | "serviceAccount" | "system";
|
|
2593
2583
|
} | undefined;
|
|
2594
2584
|
expiredAt?: string | undefined;
|
|
2595
2585
|
};
|
|
@@ -2612,26 +2602,26 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2612
2602
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2613
2603
|
submittedAt: z.ZodOptional<z.ZodString>;
|
|
2614
2604
|
submittedBy: z.ZodOptional<z.ZodObject<{
|
|
2615
|
-
|
|
2616
|
-
|
|
2605
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2606
|
+
id: z.ZodString;
|
|
2617
2607
|
}, "strip", z.ZodTypeAny, {
|
|
2618
|
-
|
|
2619
|
-
|
|
2608
|
+
id: string;
|
|
2609
|
+
type: "user" | "serviceAccount" | "system";
|
|
2620
2610
|
}, {
|
|
2621
|
-
|
|
2622
|
-
|
|
2611
|
+
id: string;
|
|
2612
|
+
type: "user" | "serviceAccount" | "system";
|
|
2623
2613
|
}>>;
|
|
2624
2614
|
response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
2625
2615
|
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
2626
2616
|
cancelledBy: z.ZodOptional<z.ZodObject<{
|
|
2627
|
-
|
|
2628
|
-
|
|
2617
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2618
|
+
id: z.ZodString;
|
|
2629
2619
|
}, "strip", z.ZodTypeAny, {
|
|
2630
|
-
|
|
2631
|
-
|
|
2620
|
+
id: string;
|
|
2621
|
+
type: "user" | "serviceAccount" | "system";
|
|
2632
2622
|
}, {
|
|
2633
|
-
|
|
2634
|
-
|
|
2623
|
+
id: string;
|
|
2624
|
+
type: "user" | "serviceAccount" | "system";
|
|
2635
2625
|
}>>;
|
|
2636
2626
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2637
2627
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2652,13 +2642,13 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2652
2642
|
expiresAt?: string | undefined;
|
|
2653
2643
|
submittedAt?: string | undefined;
|
|
2654
2644
|
submittedBy?: {
|
|
2655
|
-
|
|
2656
|
-
|
|
2645
|
+
id: string;
|
|
2646
|
+
type: "user" | "serviceAccount" | "system";
|
|
2657
2647
|
} | undefined;
|
|
2658
2648
|
cancelledAt?: string | undefined;
|
|
2659
2649
|
cancelledBy?: {
|
|
2660
|
-
|
|
2661
|
-
|
|
2650
|
+
id: string;
|
|
2651
|
+
type: "user" | "serviceAccount" | "system";
|
|
2662
2652
|
} | undefined;
|
|
2663
2653
|
expiredAt?: string | undefined;
|
|
2664
2654
|
}, {
|
|
@@ -2679,13 +2669,13 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2679
2669
|
expiresAt?: string | undefined;
|
|
2680
2670
|
submittedAt?: string | undefined;
|
|
2681
2671
|
submittedBy?: {
|
|
2682
|
-
|
|
2683
|
-
|
|
2672
|
+
id: string;
|
|
2673
|
+
type: "user" | "serviceAccount" | "system";
|
|
2684
2674
|
} | undefined;
|
|
2685
2675
|
cancelledAt?: string | undefined;
|
|
2686
2676
|
cancelledBy?: {
|
|
2687
|
-
|
|
2688
|
-
|
|
2677
|
+
id: string;
|
|
2678
|
+
type: "user" | "serviceAccount" | "system";
|
|
2689
2679
|
} | undefined;
|
|
2690
2680
|
expiredAt?: string | undefined;
|
|
2691
2681
|
}>;
|
|
@@ -2708,13 +2698,13 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2708
2698
|
expiresAt?: string | undefined;
|
|
2709
2699
|
submittedAt?: string | undefined;
|
|
2710
2700
|
submittedBy?: {
|
|
2711
|
-
|
|
2712
|
-
|
|
2701
|
+
id: string;
|
|
2702
|
+
type: "user" | "serviceAccount" | "system";
|
|
2713
2703
|
} | undefined;
|
|
2714
2704
|
cancelledAt?: string | undefined;
|
|
2715
2705
|
cancelledBy?: {
|
|
2716
|
-
|
|
2717
|
-
|
|
2706
|
+
id: string;
|
|
2707
|
+
type: "user" | "serviceAccount" | "system";
|
|
2718
2708
|
} | undefined;
|
|
2719
2709
|
expiredAt?: string | undefined;
|
|
2720
2710
|
};
|
|
@@ -2737,13 +2727,13 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2737
2727
|
expiresAt?: string | undefined;
|
|
2738
2728
|
submittedAt?: string | undefined;
|
|
2739
2729
|
submittedBy?: {
|
|
2740
|
-
|
|
2741
|
-
|
|
2730
|
+
id: string;
|
|
2731
|
+
type: "user" | "serviceAccount" | "system";
|
|
2742
2732
|
} | undefined;
|
|
2743
2733
|
cancelledAt?: string | undefined;
|
|
2744
2734
|
cancelledBy?: {
|
|
2745
|
-
|
|
2746
|
-
|
|
2735
|
+
id: string;
|
|
2736
|
+
type: "user" | "serviceAccount" | "system";
|
|
2747
2737
|
} | undefined;
|
|
2748
2738
|
expiredAt?: string | undefined;
|
|
2749
2739
|
};
|