@sixb/server 0.1.12 → 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 +578 -455
- package/dist/index.js.map +40 -38
- package/dist/openapi/security.d.ts +34 -10
- package/dist/openapi/security.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/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/ontology.d.ts +13 -1
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +30 -30
- 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/auth.d.ts +241 -85
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +11 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +74 -44
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +38 -38
- package/dist/schemas/ontology.d.ts +160 -0
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +180 -190
- 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 +4 -4
- 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 +9 -9
- package/src/routes/ai-accounting.ts +10 -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 +12 -12
- package/src/routes/ontology.ts +27 -9
- 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/auth.ts +27 -8
- package/src/schemas/common.ts +6 -0
- package/src/schemas/events.ts +35 -7
- package/src/schemas/ontology.ts +16 -1
- 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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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
|
};
|