@sixb/server 0.1.18 → 0.1.20
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 +15 -24
- package/dist/actions/serialize.d.ts +7 -0
- package/dist/actions/serialize.d.ts.map +1 -0
- package/dist/auth/browser-origin.d.ts +4 -26
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +0 -3
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/guard.d.ts +1 -1
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts +0 -5
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +0 -2
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +681 -935
- package/dist/index.js.map +24 -24
- package/dist/routes/action-runs.d.ts +11 -15
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +44 -13
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +20 -22
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +8 -17
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +21 -21
- package/dist/routes/connector-connections.d.ts +8 -8
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +15 -12
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +0 -2
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +16 -16
- package/dist/routes/projections.d.ts +49 -49
- package/dist/routes/syncs.d.ts +10 -10
- package/dist/routes/webhook-runs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +48 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -9
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +100 -84
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +20 -20
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/auth.d.ts +28 -63
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +8 -8
- package/dist/schemas/datasets.d.ts +40 -40
- package/dist/schemas/events.d.ts +24 -24
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +4 -7
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +40 -40
- package/dist/schemas/pipelines.d.ts +92 -92
- package/dist/schemas/projections.d.ts +290 -290
- package/dist/schemas/syncs.d.ts +34 -34
- package/dist/schemas/webhook-runs.d.ts +8 -8
- package/dist/schemas/workflows.d.ts +160 -160
- package/dist/server.d.ts +2 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +20 -6
- package/dist/utils/request-body.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/actions/serialize.ts +55 -0
- package/src/auth/browser-origin.ts +30 -240
- package/src/auth/experience.ts +1 -4
- package/src/auth/guard.ts +4 -32
- package/src/auth/public-routes.ts +1 -10
- package/src/auth/responses.ts +0 -5
- package/src/auth/session-cookies.ts +1 -3
- package/src/auth/shared-access.ts +1 -1
- package/src/index.ts +1 -1
- package/src/routes/action-runs.ts +1 -54
- package/src/routes/actions.ts +26 -8
- package/src/routes/agent-api-gateway.ts +18 -42
- package/src/routes/auth.ts +32 -111
- package/src/routes/files.ts +15 -63
- package/src/routes/ws/events.ts +2 -12
- package/src/schemas/actions.ts +21 -18
- package/src/schemas/auth.ts +2 -15
- package/src/schemas/files.ts +0 -6
- package/src/server.ts +23 -18
- package/src/utils/http.ts +2 -0
- package/src/utils/request-body.ts +55 -6
- package/dist/auth/application-access.d.ts +0 -4
- package/dist/auth/application-access.d.ts.map +0 -1
- package/src/auth/application-access.ts +0 -15
|
@@ -33,7 +33,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
33
33
|
offset: z.ZodOptional<z.ZodString>;
|
|
34
34
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
status?: "
|
|
36
|
+
status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting" | undefined;
|
|
37
37
|
startedAfter?: string | undefined;
|
|
38
38
|
startedBefore?: string | undefined;
|
|
39
39
|
limit?: string | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
41
41
|
order?: "asc" | "desc" | undefined;
|
|
42
42
|
workflowId?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
status?: "
|
|
44
|
+
status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting" | undefined;
|
|
45
45
|
startedAfter?: string | undefined;
|
|
46
46
|
startedBefore?: string | undefined;
|
|
47
47
|
limit?: string | undefined;
|
|
@@ -63,29 +63,29 @@ export declare const WorkflowInterventionsQuerySchema: z.ZodObject<{
|
|
|
63
63
|
offset: z.ZodOptional<z.ZodString>;
|
|
64
64
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
status?: "
|
|
66
|
+
status?: "expired" | "pending" | "cancelled" | "submitted" | undefined;
|
|
67
67
|
limit?: string | undefined;
|
|
68
68
|
offset?: string | undefined;
|
|
69
69
|
order?: "asc" | "desc" | undefined;
|
|
70
70
|
workflowId?: string | undefined;
|
|
71
71
|
workflowRunId?: string | undefined;
|
|
72
72
|
nodeRunId?: string | undefined;
|
|
73
|
-
interventionId?: string | undefined;
|
|
74
73
|
nodeId?: string | undefined;
|
|
75
74
|
nodeKey?: string | undefined;
|
|
75
|
+
interventionId?: string | undefined;
|
|
76
76
|
requestedAfter?: string | undefined;
|
|
77
77
|
requestedBefore?: string | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
status?: "
|
|
79
|
+
status?: "expired" | "pending" | "cancelled" | "submitted" | undefined;
|
|
80
80
|
limit?: string | undefined;
|
|
81
81
|
offset?: string | undefined;
|
|
82
82
|
order?: "asc" | "desc" | undefined;
|
|
83
83
|
workflowId?: string | undefined;
|
|
84
84
|
workflowRunId?: string | undefined;
|
|
85
85
|
nodeRunId?: string | undefined;
|
|
86
|
-
interventionId?: string | undefined;
|
|
87
86
|
nodeId?: string | undefined;
|
|
88
87
|
nodeKey?: string | undefined;
|
|
88
|
+
interventionId?: string | undefined;
|
|
89
89
|
requestedAfter?: string | undefined;
|
|
90
90
|
requestedBefore?: string | undefined;
|
|
91
91
|
}>;
|
|
@@ -125,7 +125,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
125
125
|
type: "user" | "serviceAccount" | "system";
|
|
126
126
|
}>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
|
-
status: "
|
|
128
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
129
129
|
projectId: string;
|
|
130
130
|
id: string;
|
|
131
131
|
startedAt: string;
|
|
@@ -135,10 +135,10 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
135
135
|
type: "user" | "serviceAccount" | "system";
|
|
136
136
|
};
|
|
137
137
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
138
|
-
queuedAt?: string | undefined;
|
|
139
138
|
finishedAt?: string | undefined;
|
|
139
|
+
queuedAt?: string | undefined;
|
|
140
140
|
}, {
|
|
141
|
-
status: "
|
|
141
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
142
142
|
projectId: string;
|
|
143
143
|
id: string;
|
|
144
144
|
startedAt: string;
|
|
@@ -148,8 +148,8 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
148
148
|
type: "user" | "serviceAccount" | "system";
|
|
149
149
|
};
|
|
150
150
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
151
|
-
queuedAt?: string | undefined;
|
|
152
151
|
finishedAt?: string | undefined;
|
|
152
|
+
queuedAt?: string | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
155
155
|
id: z.ZodString;
|
|
@@ -174,7 +174,7 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
174
174
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
175
175
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
status: "
|
|
177
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
178
178
|
projectId: string;
|
|
179
179
|
id: string;
|
|
180
180
|
startedAt: string;
|
|
@@ -185,11 +185,11 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
185
185
|
type: "user" | "serviceAccount" | "system";
|
|
186
186
|
};
|
|
187
187
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
188
|
-
queuedAt?: string | undefined;
|
|
189
188
|
finishedAt?: string | undefined;
|
|
190
189
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
190
|
+
queuedAt?: string | undefined;
|
|
191
191
|
}, {
|
|
192
|
-
status: "
|
|
192
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
193
193
|
projectId: string;
|
|
194
194
|
id: string;
|
|
195
195
|
startedAt: string;
|
|
@@ -200,9 +200,9 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
200
200
|
type: "user" | "serviceAccount" | "system";
|
|
201
201
|
};
|
|
202
202
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
203
|
-
queuedAt?: string | undefined;
|
|
204
203
|
finishedAt?: string | undefined;
|
|
205
204
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
205
|
+
queuedAt?: string | undefined;
|
|
206
206
|
}>;
|
|
207
207
|
export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
208
208
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -277,7 +277,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
277
277
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
278
278
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
status: "
|
|
280
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
281
281
|
attempt: number;
|
|
282
282
|
modelId?: string | undefined;
|
|
283
283
|
startedAt?: string | undefined;
|
|
@@ -305,7 +305,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
305
305
|
} | undefined;
|
|
306
306
|
finishReason?: string | undefined;
|
|
307
307
|
}, {
|
|
308
|
-
status: "
|
|
308
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
309
309
|
attempt: number;
|
|
310
310
|
modelId?: string | undefined;
|
|
311
311
|
startedAt?: string | undefined;
|
|
@@ -656,7 +656,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
656
656
|
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
657
657
|
createdAt: z.ZodString;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
status: "
|
|
659
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
660
660
|
attempt: number;
|
|
661
661
|
nodeRunId: string;
|
|
662
662
|
createdAt: string;
|
|
@@ -755,7 +755,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
755
755
|
})[] | undefined;
|
|
756
756
|
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
757
757
|
}, {
|
|
758
|
-
status: "
|
|
758
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
759
759
|
attempt: number;
|
|
760
760
|
nodeRunId: string;
|
|
761
761
|
createdAt: string;
|
|
@@ -942,7 +942,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
942
942
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
943
943
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
944
944
|
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
status: "
|
|
945
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
946
946
|
attempt: number;
|
|
947
947
|
modelId?: string | undefined;
|
|
948
948
|
startedAt?: string | undefined;
|
|
@@ -970,7 +970,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
970
970
|
} | undefined;
|
|
971
971
|
finishReason?: string | undefined;
|
|
972
972
|
}, {
|
|
973
|
-
status: "
|
|
973
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
974
974
|
attempt: number;
|
|
975
975
|
modelId?: string | undefined;
|
|
976
976
|
startedAt?: string | undefined;
|
|
@@ -999,20 +999,20 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
999
999
|
finishReason?: string | undefined;
|
|
1000
1000
|
}>>;
|
|
1001
1001
|
}, "strip", z.ZodTypeAny, {
|
|
1002
|
-
status: "
|
|
1002
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1003
1003
|
projectId: string;
|
|
1004
1004
|
id: string;
|
|
1005
1005
|
startedAt: string;
|
|
1006
1006
|
input: Record<string, import("./common").JsonValue>;
|
|
1007
1007
|
workflowId: string;
|
|
1008
1008
|
workflowRunId: string;
|
|
1009
|
-
nodeId: string;
|
|
1010
|
-
nodeKey: string;
|
|
1011
1009
|
nodeIndex: number;
|
|
1012
1010
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1011
|
+
nodeId: string;
|
|
1012
|
+
nodeKey: string;
|
|
1013
1013
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1014
1014
|
agentExecution?: {
|
|
1015
|
-
status: "
|
|
1015
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1016
1016
|
attempt: number;
|
|
1017
1017
|
modelId?: string | undefined;
|
|
1018
1018
|
startedAt?: string | undefined;
|
|
@@ -1043,20 +1043,20 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1043
1043
|
finishedAt?: string | undefined;
|
|
1044
1044
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1045
1045
|
}, {
|
|
1046
|
-
status: "
|
|
1046
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1047
1047
|
projectId: string;
|
|
1048
1048
|
id: string;
|
|
1049
1049
|
startedAt: string;
|
|
1050
1050
|
input: Record<string, import("./common").JsonValue>;
|
|
1051
1051
|
workflowId: string;
|
|
1052
1052
|
workflowRunId: string;
|
|
1053
|
-
nodeId: string;
|
|
1054
|
-
nodeKey: string;
|
|
1055
1053
|
nodeIndex: number;
|
|
1056
1054
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1055
|
+
nodeId: string;
|
|
1056
|
+
nodeKey: string;
|
|
1057
1057
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1058
1058
|
agentExecution?: {
|
|
1059
|
-
status: "
|
|
1059
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1060
1060
|
attempt: number;
|
|
1061
1061
|
modelId?: string | undefined;
|
|
1062
1062
|
startedAt?: string | undefined;
|
|
@@ -1127,22 +1127,23 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1127
1127
|
}>>;
|
|
1128
1128
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
1129
1129
|
}, "strip", z.ZodTypeAny, {
|
|
1130
|
-
status: "
|
|
1130
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
1131
1131
|
projectId: string;
|
|
1132
1132
|
id: string;
|
|
1133
1133
|
input: Record<string, import("./common").JsonValue>;
|
|
1134
1134
|
workflowId: string;
|
|
1135
1135
|
workflowRunId: string;
|
|
1136
1136
|
nodeRunId: string;
|
|
1137
|
-
|
|
1137
|
+
nodeIndex: number;
|
|
1138
1138
|
nodeId: string;
|
|
1139
1139
|
nodeKey: string;
|
|
1140
|
-
|
|
1140
|
+
interventionId: string;
|
|
1141
1141
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1142
1142
|
requestedAt: string;
|
|
1143
1143
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1144
1144
|
expiresAt?: string | undefined;
|
|
1145
1145
|
submittedAt?: string | undefined;
|
|
1146
|
+
expiredAt?: string | undefined;
|
|
1146
1147
|
submittedBy?: {
|
|
1147
1148
|
id: string;
|
|
1148
1149
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -1152,24 +1153,24 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1152
1153
|
id: string;
|
|
1153
1154
|
type: "user" | "serviceAccount" | "system";
|
|
1154
1155
|
} | undefined;
|
|
1155
|
-
expiredAt?: string | undefined;
|
|
1156
1156
|
}, {
|
|
1157
|
-
status: "
|
|
1157
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
1158
1158
|
projectId: string;
|
|
1159
1159
|
id: string;
|
|
1160
1160
|
input: Record<string, import("./common").JsonValue>;
|
|
1161
1161
|
workflowId: string;
|
|
1162
1162
|
workflowRunId: string;
|
|
1163
1163
|
nodeRunId: string;
|
|
1164
|
-
|
|
1164
|
+
nodeIndex: number;
|
|
1165
1165
|
nodeId: string;
|
|
1166
1166
|
nodeKey: string;
|
|
1167
|
-
|
|
1167
|
+
interventionId: string;
|
|
1168
1168
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
1169
1169
|
requestedAt: string;
|
|
1170
1170
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
1171
1171
|
expiresAt?: string | undefined;
|
|
1172
1172
|
submittedAt?: string | undefined;
|
|
1173
|
+
expiredAt?: string | undefined;
|
|
1173
1174
|
submittedBy?: {
|
|
1174
1175
|
id: string;
|
|
1175
1176
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -1179,7 +1180,6 @@ export declare const WorkflowInterventionSchema: z.ZodObject<{
|
|
|
1179
1180
|
id: string;
|
|
1180
1181
|
type: "user" | "serviceAccount" | "system";
|
|
1181
1182
|
} | undefined;
|
|
1182
|
-
expiredAt?: string | undefined;
|
|
1183
1183
|
}>;
|
|
1184
1184
|
export declare const WorkflowSchema: z.ZodObject<{
|
|
1185
1185
|
id: z.ZodString;
|
|
@@ -1220,14 +1220,14 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1220
1220
|
params: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1221
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1222
1222
|
id: string;
|
|
1223
|
-
type: "action";
|
|
1224
1223
|
params: Record<string, import("./common").JsonValue>;
|
|
1224
|
+
type: "action";
|
|
1225
1225
|
key: string;
|
|
1226
1226
|
objectTypeId?: string | undefined;
|
|
1227
1227
|
}, {
|
|
1228
1228
|
id: string;
|
|
1229
|
-
type: "action";
|
|
1230
1229
|
params: Record<string, import("./common").JsonValue>;
|
|
1230
|
+
type: "action";
|
|
1231
1231
|
key: string;
|
|
1232
1232
|
objectTypeId?: string | undefined;
|
|
1233
1233
|
}>, z.ZodObject<{
|
|
@@ -1290,7 +1290,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1290
1290
|
type: "user" | "serviceAccount" | "system";
|
|
1291
1291
|
}>;
|
|
1292
1292
|
}, "strip", z.ZodTypeAny, {
|
|
1293
|
-
status: "
|
|
1293
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1294
1294
|
projectId: string;
|
|
1295
1295
|
id: string;
|
|
1296
1296
|
startedAt: string;
|
|
@@ -1300,10 +1300,10 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1300
1300
|
type: "user" | "serviceAccount" | "system";
|
|
1301
1301
|
};
|
|
1302
1302
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1303
|
-
queuedAt?: string | undefined;
|
|
1304
1303
|
finishedAt?: string | undefined;
|
|
1304
|
+
queuedAt?: string | undefined;
|
|
1305
1305
|
}, {
|
|
1306
|
-
status: "
|
|
1306
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1307
1307
|
projectId: string;
|
|
1308
1308
|
id: string;
|
|
1309
1309
|
startedAt: string;
|
|
@@ -1313,8 +1313,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1313
1313
|
type: "user" | "serviceAccount" | "system";
|
|
1314
1314
|
};
|
|
1315
1315
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1316
|
-
queuedAt?: string | undefined;
|
|
1317
1316
|
finishedAt?: string | undefined;
|
|
1317
|
+
queuedAt?: string | undefined;
|
|
1318
1318
|
}>>;
|
|
1319
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1320
1320
|
id: string;
|
|
@@ -1331,8 +1331,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1331
1331
|
input: Record<string, import("./common").JsonValue>;
|
|
1332
1332
|
} | {
|
|
1333
1333
|
id: string;
|
|
1334
|
-
type: "action";
|
|
1335
1334
|
params: Record<string, import("./common").JsonValue>;
|
|
1335
|
+
type: "action";
|
|
1336
1336
|
key: string;
|
|
1337
1337
|
objectTypeId?: string | undefined;
|
|
1338
1338
|
} | {
|
|
@@ -1350,7 +1350,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1350
1350
|
input: Record<string, import("./common").JsonValue>;
|
|
1351
1351
|
})[];
|
|
1352
1352
|
latestRun: {
|
|
1353
|
-
status: "
|
|
1353
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1354
1354
|
projectId: string;
|
|
1355
1355
|
id: string;
|
|
1356
1356
|
startedAt: string;
|
|
@@ -1360,8 +1360,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1360
1360
|
type: "user" | "serviceAccount" | "system";
|
|
1361
1361
|
};
|
|
1362
1362
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1363
|
-
queuedAt?: string | undefined;
|
|
1364
1363
|
finishedAt?: string | undefined;
|
|
1364
|
+
queuedAt?: string | undefined;
|
|
1365
1365
|
} | null;
|
|
1366
1366
|
}, {
|
|
1367
1367
|
id: string;
|
|
@@ -1378,8 +1378,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1378
1378
|
input: Record<string, import("./common").JsonValue>;
|
|
1379
1379
|
} | {
|
|
1380
1380
|
id: string;
|
|
1381
|
-
type: "action";
|
|
1382
1381
|
params: Record<string, import("./common").JsonValue>;
|
|
1382
|
+
type: "action";
|
|
1383
1383
|
key: string;
|
|
1384
1384
|
objectTypeId?: string | undefined;
|
|
1385
1385
|
} | {
|
|
@@ -1397,7 +1397,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1397
1397
|
input: Record<string, import("./common").JsonValue>;
|
|
1398
1398
|
})[];
|
|
1399
1399
|
latestRun: {
|
|
1400
|
-
status: "
|
|
1400
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1401
1401
|
projectId: string;
|
|
1402
1402
|
id: string;
|
|
1403
1403
|
startedAt: string;
|
|
@@ -1407,8 +1407,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1407
1407
|
type: "user" | "serviceAccount" | "system";
|
|
1408
1408
|
};
|
|
1409
1409
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1410
|
-
queuedAt?: string | undefined;
|
|
1411
1410
|
finishedAt?: string | undefined;
|
|
1411
|
+
queuedAt?: string | undefined;
|
|
1412
1412
|
} | null;
|
|
1413
1413
|
}>;
|
|
1414
1414
|
export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
@@ -1432,7 +1432,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1432
1432
|
type: "user" | "serviceAccount" | "system";
|
|
1433
1433
|
}>;
|
|
1434
1434
|
}, "strip", z.ZodTypeAny, {
|
|
1435
|
-
status: "
|
|
1435
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1436
1436
|
projectId: string;
|
|
1437
1437
|
id: string;
|
|
1438
1438
|
startedAt: string;
|
|
@@ -1442,10 +1442,10 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1442
1442
|
type: "user" | "serviceAccount" | "system";
|
|
1443
1443
|
};
|
|
1444
1444
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1445
|
-
queuedAt?: string | undefined;
|
|
1446
1445
|
finishedAt?: string | undefined;
|
|
1446
|
+
queuedAt?: string | undefined;
|
|
1447
1447
|
}, {
|
|
1448
|
-
status: "
|
|
1448
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1449
1449
|
projectId: string;
|
|
1450
1450
|
id: string;
|
|
1451
1451
|
startedAt: string;
|
|
@@ -1455,14 +1455,14 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1455
1455
|
type: "user" | "serviceAccount" | "system";
|
|
1456
1456
|
};
|
|
1457
1457
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1458
|
-
queuedAt?: string | undefined;
|
|
1459
1458
|
finishedAt?: string | undefined;
|
|
1459
|
+
queuedAt?: string | undefined;
|
|
1460
1460
|
}>, "many">;
|
|
1461
1461
|
hasMore: z.ZodBoolean;
|
|
1462
1462
|
total: z.ZodNumber;
|
|
1463
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1464
|
runs: {
|
|
1465
|
-
status: "
|
|
1465
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1466
1466
|
projectId: string;
|
|
1467
1467
|
id: string;
|
|
1468
1468
|
startedAt: string;
|
|
@@ -1472,14 +1472,14 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1472
1472
|
type: "user" | "serviceAccount" | "system";
|
|
1473
1473
|
};
|
|
1474
1474
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1475
|
-
queuedAt?: string | undefined;
|
|
1476
1475
|
finishedAt?: string | undefined;
|
|
1476
|
+
queuedAt?: string | undefined;
|
|
1477
1477
|
}[];
|
|
1478
1478
|
hasMore: boolean;
|
|
1479
1479
|
total: number;
|
|
1480
1480
|
}, {
|
|
1481
1481
|
runs: {
|
|
1482
|
-
status: "
|
|
1482
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1483
1483
|
projectId: string;
|
|
1484
1484
|
id: string;
|
|
1485
1485
|
startedAt: string;
|
|
@@ -1489,8 +1489,8 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1489
1489
|
type: "user" | "serviceAccount" | "system";
|
|
1490
1490
|
};
|
|
1491
1491
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1492
|
-
queuedAt?: string | undefined;
|
|
1493
1492
|
finishedAt?: string | undefined;
|
|
1493
|
+
queuedAt?: string | undefined;
|
|
1494
1494
|
}[];
|
|
1495
1495
|
hasMore: boolean;
|
|
1496
1496
|
total: number;
|
|
@@ -1519,7 +1519,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1519
1519
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1520
1520
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1521
1521
|
}, "strip", z.ZodTypeAny, {
|
|
1522
|
-
status: "
|
|
1522
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1523
1523
|
projectId: string;
|
|
1524
1524
|
id: string;
|
|
1525
1525
|
startedAt: string;
|
|
@@ -1530,11 +1530,11 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1530
1530
|
type: "user" | "serviceAccount" | "system";
|
|
1531
1531
|
};
|
|
1532
1532
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1533
|
-
queuedAt?: string | undefined;
|
|
1534
1533
|
finishedAt?: string | undefined;
|
|
1535
1534
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1535
|
+
queuedAt?: string | undefined;
|
|
1536
1536
|
}, {
|
|
1537
|
-
status: "
|
|
1537
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1538
1538
|
projectId: string;
|
|
1539
1539
|
id: string;
|
|
1540
1540
|
startedAt: string;
|
|
@@ -1545,9 +1545,9 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1545
1545
|
type: "user" | "serviceAccount" | "system";
|
|
1546
1546
|
};
|
|
1547
1547
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1548
|
-
queuedAt?: string | undefined;
|
|
1549
1548
|
finishedAt?: string | undefined;
|
|
1550
1549
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1550
|
+
queuedAt?: string | undefined;
|
|
1551
1551
|
}>;
|
|
1552
1552
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1553
1553
|
id: z.ZodString;
|
|
@@ -1637,7 +1637,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1637
1637
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1638
1638
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1639
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1640
|
-
status: "
|
|
1640
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1641
1641
|
attempt: number;
|
|
1642
1642
|
modelId?: string | undefined;
|
|
1643
1643
|
startedAt?: string | undefined;
|
|
@@ -1665,7 +1665,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1665
1665
|
} | undefined;
|
|
1666
1666
|
finishReason?: string | undefined;
|
|
1667
1667
|
}, {
|
|
1668
|
-
status: "
|
|
1668
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1669
1669
|
attempt: number;
|
|
1670
1670
|
modelId?: string | undefined;
|
|
1671
1671
|
startedAt?: string | undefined;
|
|
@@ -1694,20 +1694,20 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1694
1694
|
finishReason?: string | undefined;
|
|
1695
1695
|
}>>;
|
|
1696
1696
|
}, "strip", z.ZodTypeAny, {
|
|
1697
|
-
status: "
|
|
1697
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1698
1698
|
projectId: string;
|
|
1699
1699
|
id: string;
|
|
1700
1700
|
startedAt: string;
|
|
1701
1701
|
input: Record<string, import("./common").JsonValue>;
|
|
1702
1702
|
workflowId: string;
|
|
1703
1703
|
workflowRunId: string;
|
|
1704
|
-
nodeId: string;
|
|
1705
|
-
nodeKey: string;
|
|
1706
1704
|
nodeIndex: number;
|
|
1707
1705
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1706
|
+
nodeId: string;
|
|
1707
|
+
nodeKey: string;
|
|
1708
1708
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1709
1709
|
agentExecution?: {
|
|
1710
|
-
status: "
|
|
1710
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1711
1711
|
attempt: number;
|
|
1712
1712
|
modelId?: string | undefined;
|
|
1713
1713
|
startedAt?: string | undefined;
|
|
@@ -1738,20 +1738,20 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1738
1738
|
finishedAt?: string | undefined;
|
|
1739
1739
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1740
1740
|
}, {
|
|
1741
|
-
status: "
|
|
1741
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1742
1742
|
projectId: string;
|
|
1743
1743
|
id: string;
|
|
1744
1744
|
startedAt: string;
|
|
1745
1745
|
input: Record<string, import("./common").JsonValue>;
|
|
1746
1746
|
workflowId: string;
|
|
1747
1747
|
workflowRunId: string;
|
|
1748
|
-
nodeId: string;
|
|
1749
|
-
nodeKey: string;
|
|
1750
1748
|
nodeIndex: number;
|
|
1751
1749
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1750
|
+
nodeId: string;
|
|
1751
|
+
nodeKey: string;
|
|
1752
1752
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1753
1753
|
agentExecution?: {
|
|
1754
|
-
status: "
|
|
1754
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1755
1755
|
attempt: number;
|
|
1756
1756
|
modelId?: string | undefined;
|
|
1757
1757
|
startedAt?: string | undefined;
|
|
@@ -1784,7 +1784,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1784
1784
|
}>, "many">;
|
|
1785
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1786
1786
|
run: {
|
|
1787
|
-
status: "
|
|
1787
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1788
1788
|
projectId: string;
|
|
1789
1789
|
id: string;
|
|
1790
1790
|
startedAt: string;
|
|
@@ -1795,25 +1795,25 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1795
1795
|
type: "user" | "serviceAccount" | "system";
|
|
1796
1796
|
};
|
|
1797
1797
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1798
|
-
queuedAt?: string | undefined;
|
|
1799
1798
|
finishedAt?: string | undefined;
|
|
1800
1799
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1800
|
+
queuedAt?: string | undefined;
|
|
1801
1801
|
};
|
|
1802
1802
|
nodes: {
|
|
1803
|
-
status: "
|
|
1803
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1804
1804
|
projectId: string;
|
|
1805
1805
|
id: string;
|
|
1806
1806
|
startedAt: string;
|
|
1807
1807
|
input: Record<string, import("./common").JsonValue>;
|
|
1808
1808
|
workflowId: string;
|
|
1809
1809
|
workflowRunId: string;
|
|
1810
|
-
nodeId: string;
|
|
1811
|
-
nodeKey: string;
|
|
1812
1810
|
nodeIndex: number;
|
|
1813
1811
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1812
|
+
nodeId: string;
|
|
1813
|
+
nodeKey: string;
|
|
1814
1814
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1815
1815
|
agentExecution?: {
|
|
1816
|
-
status: "
|
|
1816
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1817
1817
|
attempt: number;
|
|
1818
1818
|
modelId?: string | undefined;
|
|
1819
1819
|
startedAt?: string | undefined;
|
|
@@ -1846,7 +1846,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1846
1846
|
}[];
|
|
1847
1847
|
}, {
|
|
1848
1848
|
run: {
|
|
1849
|
-
status: "
|
|
1849
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1850
1850
|
projectId: string;
|
|
1851
1851
|
id: string;
|
|
1852
1852
|
startedAt: string;
|
|
@@ -1857,25 +1857,25 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
1857
1857
|
type: "user" | "serviceAccount" | "system";
|
|
1858
1858
|
};
|
|
1859
1859
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1860
|
-
queuedAt?: string | undefined;
|
|
1861
1860
|
finishedAt?: string | undefined;
|
|
1862
1861
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1862
|
+
queuedAt?: string | undefined;
|
|
1863
1863
|
};
|
|
1864
1864
|
nodes: {
|
|
1865
|
-
status: "
|
|
1865
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
1866
1866
|
projectId: string;
|
|
1867
1867
|
id: string;
|
|
1868
1868
|
startedAt: string;
|
|
1869
1869
|
input: Record<string, import("./common").JsonValue>;
|
|
1870
1870
|
workflowId: string;
|
|
1871
1871
|
workflowRunId: string;
|
|
1872
|
-
nodeId: string;
|
|
1873
|
-
nodeKey: string;
|
|
1874
1872
|
nodeIndex: number;
|
|
1875
1873
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
1874
|
+
nodeId: string;
|
|
1875
|
+
nodeKey: string;
|
|
1876
1876
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1877
1877
|
agentExecution?: {
|
|
1878
|
-
status: "
|
|
1878
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
1879
1879
|
attempt: number;
|
|
1880
1880
|
modelId?: string | undefined;
|
|
1881
1881
|
startedAt?: string | undefined;
|
|
@@ -1931,7 +1931,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1931
1931
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
1932
1932
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
1933
1933
|
}, "strip", z.ZodTypeAny, {
|
|
1934
|
-
status: "
|
|
1934
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1935
1935
|
projectId: string;
|
|
1936
1936
|
id: string;
|
|
1937
1937
|
startedAt: string;
|
|
@@ -1942,11 +1942,11 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1942
1942
|
type: "user" | "serviceAccount" | "system";
|
|
1943
1943
|
};
|
|
1944
1944
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1945
|
-
queuedAt?: string | undefined;
|
|
1946
1945
|
finishedAt?: string | undefined;
|
|
1947
1946
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1947
|
+
queuedAt?: string | undefined;
|
|
1948
1948
|
}, {
|
|
1949
|
-
status: "
|
|
1949
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
1950
1950
|
projectId: string;
|
|
1951
1951
|
id: string;
|
|
1952
1952
|
startedAt: string;
|
|
@@ -1957,9 +1957,9 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
1957
1957
|
type: "user" | "serviceAccount" | "system";
|
|
1958
1958
|
};
|
|
1959
1959
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1960
|
-
queuedAt?: string | undefined;
|
|
1961
1960
|
finishedAt?: string | undefined;
|
|
1962
1961
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1962
|
+
queuedAt?: string | undefined;
|
|
1963
1963
|
}>;
|
|
1964
1964
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1965
1965
|
id: z.ZodString;
|
|
@@ -2049,7 +2049,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2049
2049
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
2050
2050
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
2051
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2052
|
-
status: "
|
|
2052
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2053
2053
|
attempt: number;
|
|
2054
2054
|
modelId?: string | undefined;
|
|
2055
2055
|
startedAt?: string | undefined;
|
|
@@ -2077,7 +2077,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2077
2077
|
} | undefined;
|
|
2078
2078
|
finishReason?: string | undefined;
|
|
2079
2079
|
}, {
|
|
2080
|
-
status: "
|
|
2080
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2081
2081
|
attempt: number;
|
|
2082
2082
|
modelId?: string | undefined;
|
|
2083
2083
|
startedAt?: string | undefined;
|
|
@@ -2106,20 +2106,20 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2106
2106
|
finishReason?: string | undefined;
|
|
2107
2107
|
}>>;
|
|
2108
2108
|
}, "strip", z.ZodTypeAny, {
|
|
2109
|
-
status: "
|
|
2109
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
2110
2110
|
projectId: string;
|
|
2111
2111
|
id: string;
|
|
2112
2112
|
startedAt: string;
|
|
2113
2113
|
input: Record<string, import("./common").JsonValue>;
|
|
2114
2114
|
workflowId: string;
|
|
2115
2115
|
workflowRunId: string;
|
|
2116
|
-
nodeId: string;
|
|
2117
|
-
nodeKey: string;
|
|
2118
2116
|
nodeIndex: number;
|
|
2119
2117
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2118
|
+
nodeId: string;
|
|
2119
|
+
nodeKey: string;
|
|
2120
2120
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2121
2121
|
agentExecution?: {
|
|
2122
|
-
status: "
|
|
2122
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2123
2123
|
attempt: number;
|
|
2124
2124
|
modelId?: string | undefined;
|
|
2125
2125
|
startedAt?: string | undefined;
|
|
@@ -2150,20 +2150,20 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2150
2150
|
finishedAt?: string | undefined;
|
|
2151
2151
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2152
2152
|
}, {
|
|
2153
|
-
status: "
|
|
2153
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
2154
2154
|
projectId: string;
|
|
2155
2155
|
id: string;
|
|
2156
2156
|
startedAt: string;
|
|
2157
2157
|
input: Record<string, import("./common").JsonValue>;
|
|
2158
2158
|
workflowId: string;
|
|
2159
2159
|
workflowRunId: string;
|
|
2160
|
-
nodeId: string;
|
|
2161
|
-
nodeKey: string;
|
|
2162
2160
|
nodeIndex: number;
|
|
2163
2161
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2162
|
+
nodeId: string;
|
|
2163
|
+
nodeKey: string;
|
|
2164
2164
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2165
2165
|
agentExecution?: {
|
|
2166
|
-
status: "
|
|
2166
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2167
2167
|
attempt: number;
|
|
2168
2168
|
modelId?: string | undefined;
|
|
2169
2169
|
startedAt?: string | undefined;
|
|
@@ -2196,7 +2196,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2196
2196
|
}>, "many">;
|
|
2197
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2198
2198
|
run: {
|
|
2199
|
-
status: "
|
|
2199
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
2200
2200
|
projectId: string;
|
|
2201
2201
|
id: string;
|
|
2202
2202
|
startedAt: string;
|
|
@@ -2207,25 +2207,25 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2207
2207
|
type: "user" | "serviceAccount" | "system";
|
|
2208
2208
|
};
|
|
2209
2209
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2210
|
-
queuedAt?: string | undefined;
|
|
2211
2210
|
finishedAt?: string | undefined;
|
|
2212
2211
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2212
|
+
queuedAt?: string | undefined;
|
|
2213
2213
|
};
|
|
2214
2214
|
nodes: {
|
|
2215
|
-
status: "
|
|
2215
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
2216
2216
|
projectId: string;
|
|
2217
2217
|
id: string;
|
|
2218
2218
|
startedAt: string;
|
|
2219
2219
|
input: Record<string, import("./common").JsonValue>;
|
|
2220
2220
|
workflowId: string;
|
|
2221
2221
|
workflowRunId: string;
|
|
2222
|
-
nodeId: string;
|
|
2223
|
-
nodeKey: string;
|
|
2224
2222
|
nodeIndex: number;
|
|
2225
2223
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2224
|
+
nodeId: string;
|
|
2225
|
+
nodeKey: string;
|
|
2226
2226
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2227
2227
|
agentExecution?: {
|
|
2228
|
-
status: "
|
|
2228
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2229
2229
|
attempt: number;
|
|
2230
2230
|
modelId?: string | undefined;
|
|
2231
2231
|
startedAt?: string | undefined;
|
|
@@ -2258,7 +2258,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2258
2258
|
}[];
|
|
2259
2259
|
}, {
|
|
2260
2260
|
run: {
|
|
2261
|
-
status: "
|
|
2261
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "waiting";
|
|
2262
2262
|
projectId: string;
|
|
2263
2263
|
id: string;
|
|
2264
2264
|
startedAt: string;
|
|
@@ -2269,25 +2269,25 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2269
2269
|
type: "user" | "serviceAccount" | "system";
|
|
2270
2270
|
};
|
|
2271
2271
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2272
|
-
queuedAt?: string | undefined;
|
|
2273
2272
|
finishedAt?: string | undefined;
|
|
2274
2273
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2274
|
+
queuedAt?: string | undefined;
|
|
2275
2275
|
};
|
|
2276
2276
|
nodes: {
|
|
2277
|
-
status: "
|
|
2277
|
+
status: "succeeded" | "failed" | "running" | "cancelled" | "waiting";
|
|
2278
2278
|
projectId: string;
|
|
2279
2279
|
id: string;
|
|
2280
2280
|
startedAt: string;
|
|
2281
2281
|
input: Record<string, import("./common").JsonValue>;
|
|
2282
2282
|
workflowId: string;
|
|
2283
2283
|
workflowRunId: string;
|
|
2284
|
-
nodeId: string;
|
|
2285
|
-
nodeKey: string;
|
|
2286
2284
|
nodeIndex: number;
|
|
2287
2285
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
2286
|
+
nodeId: string;
|
|
2287
|
+
nodeKey: string;
|
|
2288
2288
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2289
2289
|
agentExecution?: {
|
|
2290
|
-
status: "
|
|
2290
|
+
status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
|
|
2291
2291
|
attempt: number;
|
|
2292
2292
|
modelId?: string | undefined;
|
|
2293
2293
|
startedAt?: string | undefined;
|
|
@@ -2360,22 +2360,23 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2360
2360
|
}>>;
|
|
2361
2361
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2362
2362
|
}, "strip", z.ZodTypeAny, {
|
|
2363
|
-
status: "
|
|
2363
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2364
2364
|
projectId: string;
|
|
2365
2365
|
id: string;
|
|
2366
2366
|
input: Record<string, import("./common").JsonValue>;
|
|
2367
2367
|
workflowId: string;
|
|
2368
2368
|
workflowRunId: string;
|
|
2369
2369
|
nodeRunId: string;
|
|
2370
|
-
|
|
2370
|
+
nodeIndex: number;
|
|
2371
2371
|
nodeId: string;
|
|
2372
2372
|
nodeKey: string;
|
|
2373
|
-
|
|
2373
|
+
interventionId: string;
|
|
2374
2374
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2375
2375
|
requestedAt: string;
|
|
2376
2376
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2377
2377
|
expiresAt?: string | undefined;
|
|
2378
2378
|
submittedAt?: string | undefined;
|
|
2379
|
+
expiredAt?: string | undefined;
|
|
2379
2380
|
submittedBy?: {
|
|
2380
2381
|
id: string;
|
|
2381
2382
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2385,24 +2386,24 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2385
2386
|
id: string;
|
|
2386
2387
|
type: "user" | "serviceAccount" | "system";
|
|
2387
2388
|
} | undefined;
|
|
2388
|
-
expiredAt?: string | undefined;
|
|
2389
2389
|
}, {
|
|
2390
|
-
status: "
|
|
2390
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2391
2391
|
projectId: string;
|
|
2392
2392
|
id: string;
|
|
2393
2393
|
input: Record<string, import("./common").JsonValue>;
|
|
2394
2394
|
workflowId: string;
|
|
2395
2395
|
workflowRunId: string;
|
|
2396
2396
|
nodeRunId: string;
|
|
2397
|
-
|
|
2397
|
+
nodeIndex: number;
|
|
2398
2398
|
nodeId: string;
|
|
2399
2399
|
nodeKey: string;
|
|
2400
|
-
|
|
2400
|
+
interventionId: string;
|
|
2401
2401
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2402
2402
|
requestedAt: string;
|
|
2403
2403
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2404
2404
|
expiresAt?: string | undefined;
|
|
2405
2405
|
submittedAt?: string | undefined;
|
|
2406
|
+
expiredAt?: string | undefined;
|
|
2406
2407
|
submittedBy?: {
|
|
2407
2408
|
id: string;
|
|
2408
2409
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2412,7 +2413,6 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2412
2413
|
id: string;
|
|
2413
2414
|
type: "user" | "serviceAccount" | "system";
|
|
2414
2415
|
} | undefined;
|
|
2415
|
-
expiredAt?: string | undefined;
|
|
2416
2416
|
}>, "many">;
|
|
2417
2417
|
hasMore: z.ZodBoolean;
|
|
2418
2418
|
total: z.ZodNumber;
|
|
@@ -2420,22 +2420,23 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2420
2420
|
hasMore: boolean;
|
|
2421
2421
|
total: number;
|
|
2422
2422
|
interventions: {
|
|
2423
|
-
status: "
|
|
2423
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2424
2424
|
projectId: string;
|
|
2425
2425
|
id: string;
|
|
2426
2426
|
input: Record<string, import("./common").JsonValue>;
|
|
2427
2427
|
workflowId: string;
|
|
2428
2428
|
workflowRunId: string;
|
|
2429
2429
|
nodeRunId: string;
|
|
2430
|
-
|
|
2430
|
+
nodeIndex: number;
|
|
2431
2431
|
nodeId: string;
|
|
2432
2432
|
nodeKey: string;
|
|
2433
|
-
|
|
2433
|
+
interventionId: string;
|
|
2434
2434
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2435
2435
|
requestedAt: string;
|
|
2436
2436
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2437
2437
|
expiresAt?: string | undefined;
|
|
2438
2438
|
submittedAt?: string | undefined;
|
|
2439
|
+
expiredAt?: string | undefined;
|
|
2439
2440
|
submittedBy?: {
|
|
2440
2441
|
id: string;
|
|
2441
2442
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2445,28 +2446,28 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2445
2446
|
id: string;
|
|
2446
2447
|
type: "user" | "serviceAccount" | "system";
|
|
2447
2448
|
} | undefined;
|
|
2448
|
-
expiredAt?: string | undefined;
|
|
2449
2449
|
}[];
|
|
2450
2450
|
}, {
|
|
2451
2451
|
hasMore: boolean;
|
|
2452
2452
|
total: number;
|
|
2453
2453
|
interventions: {
|
|
2454
|
-
status: "
|
|
2454
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2455
2455
|
projectId: string;
|
|
2456
2456
|
id: string;
|
|
2457
2457
|
input: Record<string, import("./common").JsonValue>;
|
|
2458
2458
|
workflowId: string;
|
|
2459
2459
|
workflowRunId: string;
|
|
2460
2460
|
nodeRunId: string;
|
|
2461
|
-
|
|
2461
|
+
nodeIndex: number;
|
|
2462
2462
|
nodeId: string;
|
|
2463
2463
|
nodeKey: string;
|
|
2464
|
-
|
|
2464
|
+
interventionId: string;
|
|
2465
2465
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2466
2466
|
requestedAt: string;
|
|
2467
2467
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2468
2468
|
expiresAt?: string | undefined;
|
|
2469
2469
|
submittedAt?: string | undefined;
|
|
2470
|
+
expiredAt?: string | undefined;
|
|
2470
2471
|
submittedBy?: {
|
|
2471
2472
|
id: string;
|
|
2472
2473
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2476,7 +2477,6 @@ export declare const WorkflowInterventionListResponseSchema: z.ZodObject<{
|
|
|
2476
2477
|
id: string;
|
|
2477
2478
|
type: "user" | "serviceAccount" | "system";
|
|
2478
2479
|
} | undefined;
|
|
2479
|
-
expiredAt?: string | undefined;
|
|
2480
2480
|
}[];
|
|
2481
2481
|
}>;
|
|
2482
2482
|
export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
@@ -2520,22 +2520,23 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2520
2520
|
}>>;
|
|
2521
2521
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2522
2522
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
status: "
|
|
2523
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2524
2524
|
projectId: string;
|
|
2525
2525
|
id: string;
|
|
2526
2526
|
input: Record<string, import("./common").JsonValue>;
|
|
2527
2527
|
workflowId: string;
|
|
2528
2528
|
workflowRunId: string;
|
|
2529
2529
|
nodeRunId: string;
|
|
2530
|
-
|
|
2530
|
+
nodeIndex: number;
|
|
2531
2531
|
nodeId: string;
|
|
2532
2532
|
nodeKey: string;
|
|
2533
|
-
|
|
2533
|
+
interventionId: string;
|
|
2534
2534
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2535
2535
|
requestedAt: string;
|
|
2536
2536
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2537
2537
|
expiresAt?: string | undefined;
|
|
2538
2538
|
submittedAt?: string | undefined;
|
|
2539
|
+
expiredAt?: string | undefined;
|
|
2539
2540
|
submittedBy?: {
|
|
2540
2541
|
id: string;
|
|
2541
2542
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2545,24 +2546,24 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2545
2546
|
id: string;
|
|
2546
2547
|
type: "user" | "serviceAccount" | "system";
|
|
2547
2548
|
} | undefined;
|
|
2548
|
-
expiredAt?: string | undefined;
|
|
2549
2549
|
}, {
|
|
2550
|
-
status: "
|
|
2550
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2551
2551
|
projectId: string;
|
|
2552
2552
|
id: string;
|
|
2553
2553
|
input: Record<string, import("./common").JsonValue>;
|
|
2554
2554
|
workflowId: string;
|
|
2555
2555
|
workflowRunId: string;
|
|
2556
2556
|
nodeRunId: string;
|
|
2557
|
-
|
|
2557
|
+
nodeIndex: number;
|
|
2558
2558
|
nodeId: string;
|
|
2559
2559
|
nodeKey: string;
|
|
2560
|
-
|
|
2560
|
+
interventionId: string;
|
|
2561
2561
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2562
2562
|
requestedAt: string;
|
|
2563
2563
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2564
2564
|
expiresAt?: string | undefined;
|
|
2565
2565
|
submittedAt?: string | undefined;
|
|
2566
|
+
expiredAt?: string | undefined;
|
|
2566
2567
|
submittedBy?: {
|
|
2567
2568
|
id: string;
|
|
2568
2569
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2572,28 +2573,28 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2572
2573
|
id: string;
|
|
2573
2574
|
type: "user" | "serviceAccount" | "system";
|
|
2574
2575
|
} | undefined;
|
|
2575
|
-
expiredAt?: string | undefined;
|
|
2576
2576
|
}>;
|
|
2577
2577
|
jobId: z.ZodString;
|
|
2578
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2579
2579
|
jobId: string;
|
|
2580
2580
|
intervention: {
|
|
2581
|
-
status: "
|
|
2581
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2582
2582
|
projectId: string;
|
|
2583
2583
|
id: string;
|
|
2584
2584
|
input: Record<string, import("./common").JsonValue>;
|
|
2585
2585
|
workflowId: string;
|
|
2586
2586
|
workflowRunId: string;
|
|
2587
2587
|
nodeRunId: string;
|
|
2588
|
-
|
|
2588
|
+
nodeIndex: number;
|
|
2589
2589
|
nodeId: string;
|
|
2590
2590
|
nodeKey: string;
|
|
2591
|
-
|
|
2591
|
+
interventionId: string;
|
|
2592
2592
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2593
2593
|
requestedAt: string;
|
|
2594
2594
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2595
2595
|
expiresAt?: string | undefined;
|
|
2596
2596
|
submittedAt?: string | undefined;
|
|
2597
|
+
expiredAt?: string | undefined;
|
|
2597
2598
|
submittedBy?: {
|
|
2598
2599
|
id: string;
|
|
2599
2600
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2603,27 +2604,27 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2603
2604
|
id: string;
|
|
2604
2605
|
type: "user" | "serviceAccount" | "system";
|
|
2605
2606
|
} | undefined;
|
|
2606
|
-
expiredAt?: string | undefined;
|
|
2607
2607
|
};
|
|
2608
2608
|
}, {
|
|
2609
2609
|
jobId: string;
|
|
2610
2610
|
intervention: {
|
|
2611
|
-
status: "
|
|
2611
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2612
2612
|
projectId: string;
|
|
2613
2613
|
id: string;
|
|
2614
2614
|
input: Record<string, import("./common").JsonValue>;
|
|
2615
2615
|
workflowId: string;
|
|
2616
2616
|
workflowRunId: string;
|
|
2617
2617
|
nodeRunId: string;
|
|
2618
|
-
|
|
2618
|
+
nodeIndex: number;
|
|
2619
2619
|
nodeId: string;
|
|
2620
2620
|
nodeKey: string;
|
|
2621
|
-
|
|
2621
|
+
interventionId: string;
|
|
2622
2622
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2623
2623
|
requestedAt: string;
|
|
2624
2624
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2625
2625
|
expiresAt?: string | undefined;
|
|
2626
2626
|
submittedAt?: string | undefined;
|
|
2627
|
+
expiredAt?: string | undefined;
|
|
2627
2628
|
submittedBy?: {
|
|
2628
2629
|
id: string;
|
|
2629
2630
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2633,7 +2634,6 @@ export declare const SubmitWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2633
2634
|
id: string;
|
|
2634
2635
|
type: "user" | "serviceAccount" | "system";
|
|
2635
2636
|
} | undefined;
|
|
2636
|
-
expiredAt?: string | undefined;
|
|
2637
2637
|
};
|
|
2638
2638
|
}>;
|
|
2639
2639
|
export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
@@ -2677,22 +2677,23 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2677
2677
|
}>>;
|
|
2678
2678
|
expiredAt: z.ZodOptional<z.ZodString>;
|
|
2679
2679
|
}, "strip", z.ZodTypeAny, {
|
|
2680
|
-
status: "
|
|
2680
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2681
2681
|
projectId: string;
|
|
2682
2682
|
id: string;
|
|
2683
2683
|
input: Record<string, import("./common").JsonValue>;
|
|
2684
2684
|
workflowId: string;
|
|
2685
2685
|
workflowRunId: string;
|
|
2686
2686
|
nodeRunId: string;
|
|
2687
|
-
|
|
2687
|
+
nodeIndex: number;
|
|
2688
2688
|
nodeId: string;
|
|
2689
2689
|
nodeKey: string;
|
|
2690
|
-
|
|
2690
|
+
interventionId: string;
|
|
2691
2691
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2692
2692
|
requestedAt: string;
|
|
2693
2693
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2694
2694
|
expiresAt?: string | undefined;
|
|
2695
2695
|
submittedAt?: string | undefined;
|
|
2696
|
+
expiredAt?: string | undefined;
|
|
2696
2697
|
submittedBy?: {
|
|
2697
2698
|
id: string;
|
|
2698
2699
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2702,24 +2703,24 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2702
2703
|
id: string;
|
|
2703
2704
|
type: "user" | "serviceAccount" | "system";
|
|
2704
2705
|
} | undefined;
|
|
2705
|
-
expiredAt?: string | undefined;
|
|
2706
2706
|
}, {
|
|
2707
|
-
status: "
|
|
2707
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2708
2708
|
projectId: string;
|
|
2709
2709
|
id: string;
|
|
2710
2710
|
input: Record<string, import("./common").JsonValue>;
|
|
2711
2711
|
workflowId: string;
|
|
2712
2712
|
workflowRunId: string;
|
|
2713
2713
|
nodeRunId: string;
|
|
2714
|
-
|
|
2714
|
+
nodeIndex: number;
|
|
2715
2715
|
nodeId: string;
|
|
2716
2716
|
nodeKey: string;
|
|
2717
|
-
|
|
2717
|
+
interventionId: string;
|
|
2718
2718
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2719
2719
|
requestedAt: string;
|
|
2720
2720
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2721
2721
|
expiresAt?: string | undefined;
|
|
2722
2722
|
submittedAt?: string | undefined;
|
|
2723
|
+
expiredAt?: string | undefined;
|
|
2723
2724
|
submittedBy?: {
|
|
2724
2725
|
id: string;
|
|
2725
2726
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2729,26 +2730,26 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2729
2730
|
id: string;
|
|
2730
2731
|
type: "user" | "serviceAccount" | "system";
|
|
2731
2732
|
} | undefined;
|
|
2732
|
-
expiredAt?: string | undefined;
|
|
2733
2733
|
}>;
|
|
2734
2734
|
}, "strip", z.ZodTypeAny, {
|
|
2735
2735
|
intervention: {
|
|
2736
|
-
status: "
|
|
2736
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2737
2737
|
projectId: string;
|
|
2738
2738
|
id: string;
|
|
2739
2739
|
input: Record<string, import("./common").JsonValue>;
|
|
2740
2740
|
workflowId: string;
|
|
2741
2741
|
workflowRunId: string;
|
|
2742
2742
|
nodeRunId: string;
|
|
2743
|
-
|
|
2743
|
+
nodeIndex: number;
|
|
2744
2744
|
nodeId: string;
|
|
2745
2745
|
nodeKey: string;
|
|
2746
|
-
|
|
2746
|
+
interventionId: string;
|
|
2747
2747
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2748
2748
|
requestedAt: string;
|
|
2749
2749
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2750
2750
|
expiresAt?: string | undefined;
|
|
2751
2751
|
submittedAt?: string | undefined;
|
|
2752
|
+
expiredAt?: string | undefined;
|
|
2752
2753
|
submittedBy?: {
|
|
2753
2754
|
id: string;
|
|
2754
2755
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2758,26 +2759,26 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2758
2759
|
id: string;
|
|
2759
2760
|
type: "user" | "serviceAccount" | "system";
|
|
2760
2761
|
} | undefined;
|
|
2761
|
-
expiredAt?: string | undefined;
|
|
2762
2762
|
};
|
|
2763
2763
|
}, {
|
|
2764
2764
|
intervention: {
|
|
2765
|
-
status: "
|
|
2765
|
+
status: "expired" | "pending" | "cancelled" | "submitted";
|
|
2766
2766
|
projectId: string;
|
|
2767
2767
|
id: string;
|
|
2768
2768
|
input: Record<string, import("./common").JsonValue>;
|
|
2769
2769
|
workflowId: string;
|
|
2770
2770
|
workflowRunId: string;
|
|
2771
2771
|
nodeRunId: string;
|
|
2772
|
-
|
|
2772
|
+
nodeIndex: number;
|
|
2773
2773
|
nodeId: string;
|
|
2774
2774
|
nodeKey: string;
|
|
2775
|
-
|
|
2775
|
+
interventionId: string;
|
|
2776
2776
|
defaultResponse: Record<string, import("./common").JsonValue>;
|
|
2777
2777
|
requestedAt: string;
|
|
2778
2778
|
response?: Record<string, import("./common").JsonValue> | undefined;
|
|
2779
2779
|
expiresAt?: string | undefined;
|
|
2780
2780
|
submittedAt?: string | undefined;
|
|
2781
|
+
expiredAt?: string | undefined;
|
|
2781
2782
|
submittedBy?: {
|
|
2782
2783
|
id: string;
|
|
2783
2784
|
type: "user" | "serviceAccount" | "system";
|
|
@@ -2787,7 +2788,6 @@ export declare const CancelWorkflowInterventionResponseSchema: z.ZodObject<{
|
|
|
2787
2788
|
id: string;
|
|
2788
2789
|
type: "user" | "serviceAccount" | "system";
|
|
2789
2790
|
} | undefined;
|
|
2790
|
-
expiredAt?: string | undefined;
|
|
2791
2791
|
};
|
|
2792
2792
|
}>;
|
|
2793
2793
|
export declare const RequestWorkflowRunResponseSchema: z.ZodObject<{
|
|
@@ -2797,13 +2797,13 @@ export declare const RequestWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2797
2797
|
queuedAt: z.ZodString;
|
|
2798
2798
|
}, "strip", z.ZodTypeAny, {
|
|
2799
2799
|
runId: string;
|
|
2800
|
-
queuedAt: string;
|
|
2801
|
-
jobId: string;
|
|
2802
2800
|
workflowId: string;
|
|
2801
|
+
jobId: string;
|
|
2802
|
+
queuedAt: string;
|
|
2803
2803
|
}, {
|
|
2804
2804
|
runId: string;
|
|
2805
|
-
queuedAt: string;
|
|
2806
|
-
jobId: string;
|
|
2807
2805
|
workflowId: string;
|
|
2806
|
+
jobId: string;
|
|
2807
|
+
queuedAt: string;
|
|
2808
2808
|
}>;
|
|
2809
2809
|
//# sourceMappingURL=workflows.d.ts.map
|