@sixb/server 0.1.0 → 0.1.2
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 +3 -3
- package/dist/auth/application-access.d.ts +2 -2
- package/dist/auth/application-access.d.ts.map +1 -1
- package/dist/auth/connector-callback-cookie.d.ts +12 -0
- package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
- package/dist/auth/guard.d.ts +3 -3
- package/dist/auth/guard.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +21 -27
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/session-cookies.d.ts +2 -2
- package/dist/auth/session-cookies.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +16 -0
- package/dist/connectors/http.d.ts.map +1 -0
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +4164 -3541
- package/dist/index.js.map +57 -52
- package/dist/openapi/tags.d.ts +11 -3
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +6 -2
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/action-runs.d.ts +21 -31
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +9 -8
- package/dist/routes/actions.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts +2 -2
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +130 -131
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +90 -90
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +794 -0
- package/dist/routes/connector-connection-runs.d.ts.map +1 -0
- package/dist/routes/connector-connections.d.ts +219 -0
- package/dist/routes/connector-connections.d.ts.map +1 -0
- package/dist/routes/connectors.d.ts +10 -4
- package/dist/routes/connectors.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +15 -9
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +8 -8
- package/dist/routes/events.d.ts.map +1 -1
- package/dist/routes/files.d.ts +11 -10
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/logs.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +34 -34
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +62 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +28 -34
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/project.d.ts +2 -2
- package/dist/routes/project.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +131 -83
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +6 -6
- package/dist/routes/rules.d.ts.map +1 -1
- package/dist/routes/status.d.ts +2 -2
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +27 -30
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +2 -2
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +9 -9
- package/dist/routes/webhook-runs.d.ts.map +1 -1
- package/dist/routes/webhooks.d.ts +2 -2
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +132 -107
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +11 -5
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +8 -8
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
- package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/logs.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +97 -202
- package/dist/schemas/actions.d.ts.map +1 -1
- package/dist/schemas/agents.d.ts +443 -440
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-usage.d.ts +34 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +168 -168
- package/dist/schemas/common.d.ts +37 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +713 -2
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +29 -23
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +34 -34
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +10 -10
- package/dist/schemas/ontology.d.ts +174 -174
- package/dist/schemas/pipelines.d.ts +131 -190
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +918 -563
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +6 -6
- package/dist/schemas/status.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +88 -124
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +41 -41
- package/dist/schemas/webhook-runs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +792 -406
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +6 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts +2 -0
- package/dist/utils/http.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +4 -3
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/access-token-boundary.ts +4 -4
- package/src/auth/application-access.ts +8 -9
- package/src/auth/connector-callback-cookie.ts +95 -0
- package/src/auth/guard.ts +11 -11
- package/src/auth/public-routes.ts +13 -0
- package/src/auth/scope.ts +34 -30
- package/src/auth/session-cookies.ts +3 -3
- package/src/connectors/http.ts +110 -0
- package/src/files/content.ts +11 -0
- package/src/openapi/tags.ts +9 -1
- package/src/registerRoutes.ts +34 -23
- package/src/routes/action-runs.ts +49 -42
- package/src/routes/actions.ts +7 -13
- package/src/routes/agent-api-gateway.ts +87 -42
- package/src/routes/agents.ts +89 -200
- package/src/routes/auth.ts +87 -91
- package/src/routes/connector-connection-runs.ts +346 -0
- package/src/routes/connector-connections.ts +135 -0
- package/src/routes/connectors.ts +24 -12
- package/src/routes/datasets.ts +55 -54
- package/src/routes/events.ts +5 -5
- package/src/routes/files.ts +24 -31
- package/src/routes/links.ts +32 -35
- package/src/routes/logs.ts +6 -11
- package/src/routes/objects.ts +51 -114
- package/src/routes/ontology.ts +27 -38
- package/src/routes/pipelines.ts +28 -62
- package/src/routes/project.ts +3 -3
- package/src/routes/projections.ts +26 -38
- package/src/routes/rules.ts +11 -25
- package/src/routes/status.ts +5 -5
- package/src/routes/syncs.ts +19 -45
- package/src/routes/telemetry.ts +18 -29
- package/src/routes/webhook-runs.ts +5 -5
- package/src/routes/webhooks.ts +259 -341
- package/src/routes/workflows.ts +260 -259
- package/src/routes/ws/agents.ts +196 -66
- package/src/routes/ws/events.ts +11 -10
- package/src/routes/ws/log-subscription-hub.ts +6 -12
- package/src/routes/ws/logs.ts +13 -5
- package/src/schemas/actions.ts +58 -25
- package/src/schemas/agents.ts +19 -14
- package/src/schemas/ai-usage.ts +16 -0
- package/src/schemas/common.ts +24 -0
- package/src/schemas/connectors.ts +164 -0
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +24 -40
- package/src/schemas/projections.ts +17 -3
- package/src/schemas/syncs.ts +16 -10
- package/src/schemas/webhook-runs.ts +10 -5
- package/src/schemas/workflows.ts +42 -25
- package/src/server.ts +65 -26
- package/src/utils/http.ts +34 -6
- package/src/utils/ws.ts +10 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SixbFailure } from "@sixb/core/storage";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
export declare const PipelineParamsSchema: z.ZodObject<{
|
|
3
4
|
pipelineId: z.ZodString;
|
|
@@ -13,38 +14,39 @@ export declare const PipelineRunParamsSchema: z.ZodObject<{
|
|
|
13
14
|
}, {
|
|
14
15
|
runId: string;
|
|
15
16
|
}>;
|
|
16
|
-
export declare const PipelineRunStatusSchema: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
17
|
+
export declare const PipelineRunStatusSchema: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
17
18
|
export declare const PipelineRunsQuerySchema: z.ZodObject<{
|
|
18
19
|
pipelineId: z.ZodOptional<z.ZodString>;
|
|
19
|
-
status: z.ZodOptional<z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>>;
|
|
20
|
+
status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
|
|
20
21
|
startedAfter: z.ZodOptional<z.ZodString>;
|
|
21
22
|
startedBefore: z.ZodOptional<z.ZodString>;
|
|
22
23
|
limit: z.ZodOptional<z.ZodString>;
|
|
23
24
|
offset: z.ZodOptional<z.ZodString>;
|
|
24
25
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
25
26
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
27
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
28
|
+
startedAfter?: string | undefined;
|
|
29
|
+
startedBefore?: string | undefined;
|
|
27
30
|
limit?: string | undefined;
|
|
28
31
|
offset?: string | undefined;
|
|
29
32
|
order?: "asc" | "desc" | undefined;
|
|
30
|
-
startedAfter?: string | undefined;
|
|
31
|
-
startedBefore?: string | undefined;
|
|
32
33
|
pipelineId?: string | undefined;
|
|
33
34
|
}, {
|
|
34
|
-
status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
35
|
+
status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
|
|
36
|
+
startedAfter?: string | undefined;
|
|
37
|
+
startedBefore?: string | undefined;
|
|
35
38
|
limit?: string | undefined;
|
|
36
39
|
offset?: string | undefined;
|
|
37
40
|
order?: "asc" | "desc" | undefined;
|
|
38
|
-
startedAfter?: string | undefined;
|
|
39
|
-
startedBefore?: string | undefined;
|
|
40
41
|
pipelineId?: string | undefined;
|
|
41
42
|
}>;
|
|
42
43
|
export declare const PipelineRunSchema: z.ZodObject<{
|
|
43
44
|
id: z.ZodString;
|
|
44
45
|
projectId: z.ZodString;
|
|
45
46
|
pipelineId: z.ZodString;
|
|
46
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
47
|
-
|
|
47
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
48
|
+
queuedAt: z.ZodString;
|
|
49
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
48
50
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
49
51
|
output: z.ZodOptional<z.ZodObject<{
|
|
50
52
|
datasetId: z.ZodString;
|
|
@@ -56,41 +58,28 @@ export declare const PipelineRunSchema: z.ZodObject<{
|
|
|
56
58
|
datasetId: string;
|
|
57
59
|
versionId: string;
|
|
58
60
|
}>>;
|
|
59
|
-
error: z.ZodOptional<z.
|
|
60
|
-
name: z.ZodOptional<z.ZodString>;
|
|
61
|
-
message: z.ZodString;
|
|
62
|
-
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
message: string;
|
|
64
|
-
name?: string | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
message: string;
|
|
67
|
-
name?: string | undefined;
|
|
68
|
-
}>>;
|
|
61
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
69
62
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
71
63
|
projectId: string;
|
|
72
64
|
id: string;
|
|
73
|
-
|
|
65
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
66
|
+
queuedAt: string;
|
|
74
67
|
pipelineId: string;
|
|
75
|
-
error?:
|
|
76
|
-
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
} | undefined;
|
|
68
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
69
|
+
startedAt?: string | undefined;
|
|
79
70
|
finishedAt?: string | undefined;
|
|
80
71
|
output?: {
|
|
81
72
|
datasetId: string;
|
|
82
73
|
versionId: string;
|
|
83
74
|
} | undefined;
|
|
84
75
|
}, {
|
|
85
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
86
76
|
projectId: string;
|
|
87
77
|
id: string;
|
|
88
|
-
|
|
78
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
79
|
+
queuedAt: string;
|
|
89
80
|
pipelineId: string;
|
|
90
|
-
error?:
|
|
91
|
-
|
|
92
|
-
name?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
81
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
82
|
+
startedAt?: string | undefined;
|
|
94
83
|
finishedAt?: string | undefined;
|
|
95
84
|
output?: {
|
|
96
85
|
datasetId: string;
|
|
@@ -129,20 +118,11 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
|
|
|
129
118
|
versionId: string;
|
|
130
119
|
}>>;
|
|
131
120
|
rowsWritten: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
error: z.ZodOptional<z.
|
|
133
|
-
name: z.ZodOptional<z.ZodString>;
|
|
134
|
-
message: z.ZodString;
|
|
135
|
-
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
message: string;
|
|
137
|
-
name?: string | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
message: string;
|
|
140
|
-
name?: string | undefined;
|
|
141
|
-
}>>;
|
|
121
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
142
122
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
144
123
|
projectId: string;
|
|
145
124
|
id: string;
|
|
125
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
146
126
|
mode: "append" | "snapshot";
|
|
147
127
|
startedAt: string;
|
|
148
128
|
datasetId: string;
|
|
@@ -153,10 +133,7 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
|
|
|
153
133
|
pipelineId: string;
|
|
154
134
|
stepId: string;
|
|
155
135
|
pipelineRunId: string;
|
|
156
|
-
error?:
|
|
157
|
-
message: string;
|
|
158
|
-
name?: string | undefined;
|
|
159
|
-
} | undefined;
|
|
136
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
160
137
|
finishedAt?: string | undefined;
|
|
161
138
|
output?: {
|
|
162
139
|
datasetId: string;
|
|
@@ -164,9 +141,9 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
|
|
|
164
141
|
} | undefined;
|
|
165
142
|
rowsWritten?: number | undefined;
|
|
166
143
|
}, {
|
|
167
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
168
144
|
projectId: string;
|
|
169
145
|
id: string;
|
|
146
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
170
147
|
mode: "append" | "snapshot";
|
|
171
148
|
startedAt: string;
|
|
172
149
|
datasetId: string;
|
|
@@ -177,10 +154,7 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
|
|
|
177
154
|
pipelineId: string;
|
|
178
155
|
stepId: string;
|
|
179
156
|
pipelineRunId: string;
|
|
180
|
-
error?:
|
|
181
|
-
message: string;
|
|
182
|
-
name?: string | undefined;
|
|
183
|
-
} | undefined;
|
|
157
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
184
158
|
finishedAt?: string | undefined;
|
|
185
159
|
output?: {
|
|
186
160
|
datasetId: string;
|
|
@@ -212,6 +186,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
212
186
|
dataset: z.ZodObject<{
|
|
213
187
|
id: z.ZodString;
|
|
214
188
|
description: z.ZodOptional<z.ZodString>;
|
|
189
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
215
190
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
216
191
|
schema: z.ZodObject<{
|
|
217
192
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -250,6 +225,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
250
225
|
}[];
|
|
251
226
|
};
|
|
252
227
|
description?: string | undefined;
|
|
228
|
+
primaryKey?: string | string[] | undefined;
|
|
253
229
|
partitionBy?: string[] | undefined;
|
|
254
230
|
}, {
|
|
255
231
|
id: string;
|
|
@@ -261,6 +237,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
261
237
|
}[];
|
|
262
238
|
};
|
|
263
239
|
description?: string | undefined;
|
|
240
|
+
primaryKey?: string | string[] | undefined;
|
|
264
241
|
partitionBy?: string[] | undefined;
|
|
265
242
|
}>;
|
|
266
243
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -275,6 +252,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
275
252
|
}[];
|
|
276
253
|
};
|
|
277
254
|
description?: string | undefined;
|
|
255
|
+
primaryKey?: string | string[] | undefined;
|
|
278
256
|
partitionBy?: string[] | undefined;
|
|
279
257
|
};
|
|
280
258
|
}, {
|
|
@@ -289,12 +267,14 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
289
267
|
}[];
|
|
290
268
|
};
|
|
291
269
|
description?: string | undefined;
|
|
270
|
+
primaryKey?: string | string[] | undefined;
|
|
292
271
|
partitionBy?: string[] | undefined;
|
|
293
272
|
};
|
|
294
273
|
}>, "many">;
|
|
295
274
|
output: z.ZodObject<{
|
|
296
275
|
id: z.ZodString;
|
|
297
276
|
description: z.ZodOptional<z.ZodString>;
|
|
277
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
298
278
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
279
|
schema: z.ZodObject<{
|
|
300
280
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -333,6 +313,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
333
313
|
}[];
|
|
334
314
|
};
|
|
335
315
|
description?: string | undefined;
|
|
316
|
+
primaryKey?: string | string[] | undefined;
|
|
336
317
|
partitionBy?: string[] | undefined;
|
|
337
318
|
}, {
|
|
338
319
|
id: string;
|
|
@@ -344,6 +325,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
344
325
|
}[];
|
|
345
326
|
};
|
|
346
327
|
description?: string | undefined;
|
|
328
|
+
primaryKey?: string | string[] | undefined;
|
|
347
329
|
partitionBy?: string[] | undefined;
|
|
348
330
|
}>;
|
|
349
331
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -359,6 +341,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
359
341
|
}[];
|
|
360
342
|
};
|
|
361
343
|
description?: string | undefined;
|
|
344
|
+
primaryKey?: string | string[] | undefined;
|
|
362
345
|
partitionBy?: string[] | undefined;
|
|
363
346
|
};
|
|
364
347
|
inputs: {
|
|
@@ -373,6 +356,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
373
356
|
}[];
|
|
374
357
|
};
|
|
375
358
|
description?: string | undefined;
|
|
359
|
+
primaryKey?: string | string[] | undefined;
|
|
376
360
|
partitionBy?: string[] | undefined;
|
|
377
361
|
};
|
|
378
362
|
}[];
|
|
@@ -395,6 +379,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
395
379
|
}[];
|
|
396
380
|
};
|
|
397
381
|
description?: string | undefined;
|
|
382
|
+
primaryKey?: string | string[] | undefined;
|
|
398
383
|
partitionBy?: string[] | undefined;
|
|
399
384
|
};
|
|
400
385
|
inputs: {
|
|
@@ -409,6 +394,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
|
|
|
409
394
|
}[];
|
|
410
395
|
};
|
|
411
396
|
description?: string | undefined;
|
|
397
|
+
primaryKey?: string | string[] | undefined;
|
|
412
398
|
partitionBy?: string[] | undefined;
|
|
413
399
|
};
|
|
414
400
|
}[];
|
|
@@ -459,6 +445,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
459
445
|
dataset: z.ZodObject<{
|
|
460
446
|
id: z.ZodString;
|
|
461
447
|
description: z.ZodOptional<z.ZodString>;
|
|
448
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
462
449
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
463
450
|
schema: z.ZodObject<{
|
|
464
451
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -497,6 +484,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
497
484
|
}[];
|
|
498
485
|
};
|
|
499
486
|
description?: string | undefined;
|
|
487
|
+
primaryKey?: string | string[] | undefined;
|
|
500
488
|
partitionBy?: string[] | undefined;
|
|
501
489
|
}, {
|
|
502
490
|
id: string;
|
|
@@ -508,6 +496,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
508
496
|
}[];
|
|
509
497
|
};
|
|
510
498
|
description?: string | undefined;
|
|
499
|
+
primaryKey?: string | string[] | undefined;
|
|
511
500
|
partitionBy?: string[] | undefined;
|
|
512
501
|
}>;
|
|
513
502
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -522,6 +511,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
522
511
|
}[];
|
|
523
512
|
};
|
|
524
513
|
description?: string | undefined;
|
|
514
|
+
primaryKey?: string | string[] | undefined;
|
|
525
515
|
partitionBy?: string[] | undefined;
|
|
526
516
|
};
|
|
527
517
|
}, {
|
|
@@ -536,12 +526,14 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
536
526
|
}[];
|
|
537
527
|
};
|
|
538
528
|
description?: string | undefined;
|
|
529
|
+
primaryKey?: string | string[] | undefined;
|
|
539
530
|
partitionBy?: string[] | undefined;
|
|
540
531
|
};
|
|
541
532
|
}>, "many">;
|
|
542
533
|
output: z.ZodObject<{
|
|
543
534
|
id: z.ZodString;
|
|
544
535
|
description: z.ZodOptional<z.ZodString>;
|
|
536
|
+
primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
545
537
|
partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
546
538
|
schema: z.ZodObject<{
|
|
547
539
|
columns: z.ZodArray<z.ZodObject<{
|
|
@@ -580,6 +572,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
580
572
|
}[];
|
|
581
573
|
};
|
|
582
574
|
description?: string | undefined;
|
|
575
|
+
primaryKey?: string | string[] | undefined;
|
|
583
576
|
partitionBy?: string[] | undefined;
|
|
584
577
|
}, {
|
|
585
578
|
id: string;
|
|
@@ -591,6 +584,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
591
584
|
}[];
|
|
592
585
|
};
|
|
593
586
|
description?: string | undefined;
|
|
587
|
+
primaryKey?: string | string[] | undefined;
|
|
594
588
|
partitionBy?: string[] | undefined;
|
|
595
589
|
}>;
|
|
596
590
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -606,6 +600,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
606
600
|
}[];
|
|
607
601
|
};
|
|
608
602
|
description?: string | undefined;
|
|
603
|
+
primaryKey?: string | string[] | undefined;
|
|
609
604
|
partitionBy?: string[] | undefined;
|
|
610
605
|
};
|
|
611
606
|
inputs: {
|
|
@@ -620,6 +615,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
620
615
|
}[];
|
|
621
616
|
};
|
|
622
617
|
description?: string | undefined;
|
|
618
|
+
primaryKey?: string | string[] | undefined;
|
|
623
619
|
partitionBy?: string[] | undefined;
|
|
624
620
|
};
|
|
625
621
|
}[];
|
|
@@ -642,6 +638,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
642
638
|
}[];
|
|
643
639
|
};
|
|
644
640
|
description?: string | undefined;
|
|
641
|
+
primaryKey?: string | string[] | undefined;
|
|
645
642
|
partitionBy?: string[] | undefined;
|
|
646
643
|
};
|
|
647
644
|
inputs: {
|
|
@@ -656,6 +653,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
656
653
|
}[];
|
|
657
654
|
};
|
|
658
655
|
description?: string | undefined;
|
|
656
|
+
primaryKey?: string | string[] | undefined;
|
|
659
657
|
partitionBy?: string[] | undefined;
|
|
660
658
|
};
|
|
661
659
|
}[];
|
|
@@ -681,6 +679,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
681
679
|
}[];
|
|
682
680
|
};
|
|
683
681
|
description?: string | undefined;
|
|
682
|
+
primaryKey?: string | string[] | undefined;
|
|
684
683
|
partitionBy?: string[] | undefined;
|
|
685
684
|
};
|
|
686
685
|
inputs: {
|
|
@@ -695,6 +694,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
695
694
|
}[];
|
|
696
695
|
};
|
|
697
696
|
description?: string | undefined;
|
|
697
|
+
primaryKey?: string | string[] | undefined;
|
|
698
698
|
partitionBy?: string[] | undefined;
|
|
699
699
|
};
|
|
700
700
|
}[];
|
|
@@ -720,6 +720,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
720
720
|
}[];
|
|
721
721
|
};
|
|
722
722
|
description?: string | undefined;
|
|
723
|
+
primaryKey?: string | string[] | undefined;
|
|
723
724
|
partitionBy?: string[] | undefined;
|
|
724
725
|
};
|
|
725
726
|
inputs: {
|
|
@@ -734,6 +735,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
734
735
|
}[];
|
|
735
736
|
};
|
|
736
737
|
description?: string | undefined;
|
|
738
|
+
primaryKey?: string | string[] | undefined;
|
|
737
739
|
partitionBy?: string[] | undefined;
|
|
738
740
|
};
|
|
739
741
|
}[];
|
|
@@ -762,6 +764,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
762
764
|
}[];
|
|
763
765
|
};
|
|
764
766
|
description?: string | undefined;
|
|
767
|
+
primaryKey?: string | string[] | undefined;
|
|
765
768
|
partitionBy?: string[] | undefined;
|
|
766
769
|
};
|
|
767
770
|
inputs: {
|
|
@@ -776,6 +779,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
776
779
|
}[];
|
|
777
780
|
};
|
|
778
781
|
description?: string | undefined;
|
|
782
|
+
primaryKey?: string | string[] | undefined;
|
|
779
783
|
partitionBy?: string[] | undefined;
|
|
780
784
|
};
|
|
781
785
|
}[];
|
|
@@ -804,6 +808,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
804
808
|
}[];
|
|
805
809
|
};
|
|
806
810
|
description?: string | undefined;
|
|
811
|
+
primaryKey?: string | string[] | undefined;
|
|
807
812
|
partitionBy?: string[] | undefined;
|
|
808
813
|
};
|
|
809
814
|
inputs: {
|
|
@@ -818,6 +823,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
818
823
|
}[];
|
|
819
824
|
};
|
|
820
825
|
description?: string | undefined;
|
|
826
|
+
primaryKey?: string | string[] | undefined;
|
|
821
827
|
partitionBy?: string[] | undefined;
|
|
822
828
|
};
|
|
823
829
|
}[];
|
|
@@ -834,8 +840,9 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
834
840
|
id: z.ZodString;
|
|
835
841
|
projectId: z.ZodString;
|
|
836
842
|
pipelineId: z.ZodString;
|
|
837
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
838
|
-
|
|
843
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
844
|
+
queuedAt: z.ZodString;
|
|
845
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
839
846
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
840
847
|
output: z.ZodOptional<z.ZodObject<{
|
|
841
848
|
datasetId: z.ZodString;
|
|
@@ -847,41 +854,28 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
847
854
|
datasetId: string;
|
|
848
855
|
versionId: string;
|
|
849
856
|
}>>;
|
|
850
|
-
error: z.ZodOptional<z.
|
|
851
|
-
name: z.ZodOptional<z.ZodString>;
|
|
852
|
-
message: z.ZodString;
|
|
853
|
-
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
message: string;
|
|
855
|
-
name?: string | undefined;
|
|
856
|
-
}, {
|
|
857
|
-
message: string;
|
|
858
|
-
name?: string | undefined;
|
|
859
|
-
}>>;
|
|
857
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
860
858
|
}, "strip", z.ZodTypeAny, {
|
|
861
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
862
859
|
projectId: string;
|
|
863
860
|
id: string;
|
|
864
|
-
|
|
861
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
862
|
+
queuedAt: string;
|
|
865
863
|
pipelineId: string;
|
|
866
|
-
error?:
|
|
867
|
-
|
|
868
|
-
name?: string | undefined;
|
|
869
|
-
} | undefined;
|
|
864
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
865
|
+
startedAt?: string | undefined;
|
|
870
866
|
finishedAt?: string | undefined;
|
|
871
867
|
output?: {
|
|
872
868
|
datasetId: string;
|
|
873
869
|
versionId: string;
|
|
874
870
|
} | undefined;
|
|
875
871
|
}, {
|
|
876
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
877
872
|
projectId: string;
|
|
878
873
|
id: string;
|
|
879
|
-
|
|
874
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
875
|
+
queuedAt: string;
|
|
880
876
|
pipelineId: string;
|
|
881
|
-
error?:
|
|
882
|
-
|
|
883
|
-
name?: string | undefined;
|
|
884
|
-
} | undefined;
|
|
877
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
878
|
+
startedAt?: string | undefined;
|
|
885
879
|
finishedAt?: string | undefined;
|
|
886
880
|
output?: {
|
|
887
881
|
datasetId: string;
|
|
@@ -911,6 +905,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
911
905
|
}[];
|
|
912
906
|
};
|
|
913
907
|
description?: string | undefined;
|
|
908
|
+
primaryKey?: string | string[] | undefined;
|
|
914
909
|
partitionBy?: string[] | undefined;
|
|
915
910
|
};
|
|
916
911
|
inputs: {
|
|
@@ -925,6 +920,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
925
920
|
}[];
|
|
926
921
|
};
|
|
927
922
|
description?: string | undefined;
|
|
923
|
+
primaryKey?: string | string[] | undefined;
|
|
928
924
|
partitionBy?: string[] | undefined;
|
|
929
925
|
};
|
|
930
926
|
}[];
|
|
@@ -938,15 +934,13 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
938
934
|
}[];
|
|
939
935
|
};
|
|
940
936
|
latestRun: {
|
|
941
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
942
937
|
projectId: string;
|
|
943
938
|
id: string;
|
|
944
|
-
|
|
939
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
940
|
+
queuedAt: string;
|
|
945
941
|
pipelineId: string;
|
|
946
|
-
error?:
|
|
947
|
-
|
|
948
|
-
name?: string | undefined;
|
|
949
|
-
} | undefined;
|
|
942
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
943
|
+
startedAt?: string | undefined;
|
|
950
944
|
finishedAt?: string | undefined;
|
|
951
945
|
output?: {
|
|
952
946
|
datasetId: string;
|
|
@@ -976,6 +970,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
976
970
|
}[];
|
|
977
971
|
};
|
|
978
972
|
description?: string | undefined;
|
|
973
|
+
primaryKey?: string | string[] | undefined;
|
|
979
974
|
partitionBy?: string[] | undefined;
|
|
980
975
|
};
|
|
981
976
|
inputs: {
|
|
@@ -990,6 +985,7 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
990
985
|
}[];
|
|
991
986
|
};
|
|
992
987
|
description?: string | undefined;
|
|
988
|
+
primaryKey?: string | string[] | undefined;
|
|
993
989
|
partitionBy?: string[] | undefined;
|
|
994
990
|
};
|
|
995
991
|
}[];
|
|
@@ -1003,15 +999,13 @@ export declare const PipelineSchema: z.ZodObject<{
|
|
|
1003
999
|
}[];
|
|
1004
1000
|
};
|
|
1005
1001
|
latestRun: {
|
|
1006
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1007
1002
|
projectId: string;
|
|
1008
1003
|
id: string;
|
|
1009
|
-
|
|
1004
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1005
|
+
queuedAt: string;
|
|
1010
1006
|
pipelineId: string;
|
|
1011
|
-
error?:
|
|
1012
|
-
|
|
1013
|
-
name?: string | undefined;
|
|
1014
|
-
} | undefined;
|
|
1007
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1008
|
+
startedAt?: string | undefined;
|
|
1015
1009
|
finishedAt?: string | undefined;
|
|
1016
1010
|
output?: {
|
|
1017
1011
|
datasetId: string;
|
|
@@ -1024,8 +1018,9 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1024
1018
|
id: z.ZodString;
|
|
1025
1019
|
projectId: z.ZodString;
|
|
1026
1020
|
pipelineId: z.ZodString;
|
|
1027
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
1028
|
-
|
|
1021
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1022
|
+
queuedAt: z.ZodString;
|
|
1023
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
1029
1024
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1030
1025
|
output: z.ZodOptional<z.ZodObject<{
|
|
1031
1026
|
datasetId: z.ZodString;
|
|
@@ -1037,41 +1032,28 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1037
1032
|
datasetId: string;
|
|
1038
1033
|
versionId: string;
|
|
1039
1034
|
}>>;
|
|
1040
|
-
error: z.ZodOptional<z.
|
|
1041
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
message: z.ZodString;
|
|
1043
|
-
}, "strip", z.ZodTypeAny, {
|
|
1044
|
-
message: string;
|
|
1045
|
-
name?: string | undefined;
|
|
1046
|
-
}, {
|
|
1047
|
-
message: string;
|
|
1048
|
-
name?: string | undefined;
|
|
1049
|
-
}>>;
|
|
1035
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
1050
1036
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1052
1037
|
projectId: string;
|
|
1053
1038
|
id: string;
|
|
1054
|
-
|
|
1039
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1040
|
+
queuedAt: string;
|
|
1055
1041
|
pipelineId: string;
|
|
1056
|
-
error?:
|
|
1057
|
-
|
|
1058
|
-
name?: string | undefined;
|
|
1059
|
-
} | undefined;
|
|
1042
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1043
|
+
startedAt?: string | undefined;
|
|
1060
1044
|
finishedAt?: string | undefined;
|
|
1061
1045
|
output?: {
|
|
1062
1046
|
datasetId: string;
|
|
1063
1047
|
versionId: string;
|
|
1064
1048
|
} | undefined;
|
|
1065
1049
|
}, {
|
|
1066
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1067
1050
|
projectId: string;
|
|
1068
1051
|
id: string;
|
|
1069
|
-
|
|
1052
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1053
|
+
queuedAt: string;
|
|
1070
1054
|
pipelineId: string;
|
|
1071
|
-
error?:
|
|
1072
|
-
|
|
1073
|
-
name?: string | undefined;
|
|
1074
|
-
} | undefined;
|
|
1055
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1056
|
+
startedAt?: string | undefined;
|
|
1075
1057
|
finishedAt?: string | undefined;
|
|
1076
1058
|
output?: {
|
|
1077
1059
|
datasetId: string;
|
|
@@ -1082,15 +1064,13 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1082
1064
|
total: z.ZodNumber;
|
|
1083
1065
|
}, "strip", z.ZodTypeAny, {
|
|
1084
1066
|
runs: {
|
|
1085
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1086
1067
|
projectId: string;
|
|
1087
1068
|
id: string;
|
|
1088
|
-
|
|
1069
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1070
|
+
queuedAt: string;
|
|
1089
1071
|
pipelineId: string;
|
|
1090
|
-
error?:
|
|
1091
|
-
|
|
1092
|
-
name?: string | undefined;
|
|
1093
|
-
} | undefined;
|
|
1072
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1073
|
+
startedAt?: string | undefined;
|
|
1094
1074
|
finishedAt?: string | undefined;
|
|
1095
1075
|
output?: {
|
|
1096
1076
|
datasetId: string;
|
|
@@ -1101,15 +1081,13 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
|
|
|
1101
1081
|
total: number;
|
|
1102
1082
|
}, {
|
|
1103
1083
|
runs: {
|
|
1104
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1105
1084
|
projectId: string;
|
|
1106
1085
|
id: string;
|
|
1107
|
-
|
|
1086
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1087
|
+
queuedAt: string;
|
|
1108
1088
|
pipelineId: string;
|
|
1109
|
-
error?:
|
|
1110
|
-
|
|
1111
|
-
name?: string | undefined;
|
|
1112
|
-
} | undefined;
|
|
1089
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1090
|
+
startedAt?: string | undefined;
|
|
1113
1091
|
finishedAt?: string | undefined;
|
|
1114
1092
|
output?: {
|
|
1115
1093
|
datasetId: string;
|
|
@@ -1124,8 +1102,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1124
1102
|
id: z.ZodString;
|
|
1125
1103
|
projectId: z.ZodString;
|
|
1126
1104
|
pipelineId: z.ZodString;
|
|
1127
|
-
status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
|
|
1128
|
-
|
|
1105
|
+
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
1106
|
+
queuedAt: z.ZodString;
|
|
1107
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
1129
1108
|
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1130
1109
|
output: z.ZodOptional<z.ZodObject<{
|
|
1131
1110
|
datasetId: z.ZodString;
|
|
@@ -1137,41 +1116,28 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1137
1116
|
datasetId: string;
|
|
1138
1117
|
versionId: string;
|
|
1139
1118
|
}>>;
|
|
1140
|
-
error: z.ZodOptional<z.
|
|
1141
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
message: z.ZodString;
|
|
1143
|
-
}, "strip", z.ZodTypeAny, {
|
|
1144
|
-
message: string;
|
|
1145
|
-
name?: string | undefined;
|
|
1146
|
-
}, {
|
|
1147
|
-
message: string;
|
|
1148
|
-
name?: string | undefined;
|
|
1149
|
-
}>>;
|
|
1119
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
1150
1120
|
}, "strip", z.ZodTypeAny, {
|
|
1151
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1152
1121
|
projectId: string;
|
|
1153
1122
|
id: string;
|
|
1154
|
-
|
|
1123
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1124
|
+
queuedAt: string;
|
|
1155
1125
|
pipelineId: string;
|
|
1156
|
-
error?:
|
|
1157
|
-
|
|
1158
|
-
name?: string | undefined;
|
|
1159
|
-
} | undefined;
|
|
1126
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1127
|
+
startedAt?: string | undefined;
|
|
1160
1128
|
finishedAt?: string | undefined;
|
|
1161
1129
|
output?: {
|
|
1162
1130
|
datasetId: string;
|
|
1163
1131
|
versionId: string;
|
|
1164
1132
|
} | undefined;
|
|
1165
1133
|
}, {
|
|
1166
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1167
1134
|
projectId: string;
|
|
1168
1135
|
id: string;
|
|
1169
|
-
|
|
1136
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1137
|
+
queuedAt: string;
|
|
1170
1138
|
pipelineId: string;
|
|
1171
|
-
error?:
|
|
1172
|
-
|
|
1173
|
-
name?: string | undefined;
|
|
1174
|
-
} | undefined;
|
|
1139
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1140
|
+
startedAt?: string | undefined;
|
|
1175
1141
|
finishedAt?: string | undefined;
|
|
1176
1142
|
output?: {
|
|
1177
1143
|
datasetId: string;
|
|
@@ -1210,20 +1176,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1210
1176
|
versionId: string;
|
|
1211
1177
|
}>>;
|
|
1212
1178
|
rowsWritten: z.ZodOptional<z.ZodNumber>;
|
|
1213
|
-
error: z.ZodOptional<z.
|
|
1214
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
message: z.ZodString;
|
|
1216
|
-
}, "strip", z.ZodTypeAny, {
|
|
1217
|
-
message: string;
|
|
1218
|
-
name?: string | undefined;
|
|
1219
|
-
}, {
|
|
1220
|
-
message: string;
|
|
1221
|
-
name?: string | undefined;
|
|
1222
|
-
}>>;
|
|
1179
|
+
error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
|
|
1223
1180
|
}, "strip", z.ZodTypeAny, {
|
|
1224
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1225
1181
|
projectId: string;
|
|
1226
1182
|
id: string;
|
|
1183
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1227
1184
|
mode: "append" | "snapshot";
|
|
1228
1185
|
startedAt: string;
|
|
1229
1186
|
datasetId: string;
|
|
@@ -1234,10 +1191,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1234
1191
|
pipelineId: string;
|
|
1235
1192
|
stepId: string;
|
|
1236
1193
|
pipelineRunId: string;
|
|
1237
|
-
error?:
|
|
1238
|
-
message: string;
|
|
1239
|
-
name?: string | undefined;
|
|
1240
|
-
} | undefined;
|
|
1194
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1241
1195
|
finishedAt?: string | undefined;
|
|
1242
1196
|
output?: {
|
|
1243
1197
|
datasetId: string;
|
|
@@ -1245,9 +1199,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1245
1199
|
} | undefined;
|
|
1246
1200
|
rowsWritten?: number | undefined;
|
|
1247
1201
|
}, {
|
|
1248
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1249
1202
|
projectId: string;
|
|
1250
1203
|
id: string;
|
|
1204
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1251
1205
|
mode: "append" | "snapshot";
|
|
1252
1206
|
startedAt: string;
|
|
1253
1207
|
datasetId: string;
|
|
@@ -1258,10 +1212,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1258
1212
|
pipelineId: string;
|
|
1259
1213
|
stepId: string;
|
|
1260
1214
|
pipelineRunId: string;
|
|
1261
|
-
error?:
|
|
1262
|
-
message: string;
|
|
1263
|
-
name?: string | undefined;
|
|
1264
|
-
} | undefined;
|
|
1215
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1265
1216
|
finishedAt?: string | undefined;
|
|
1266
1217
|
output?: {
|
|
1267
1218
|
datasetId: string;
|
|
@@ -1271,15 +1222,13 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1271
1222
|
}>, "many">;
|
|
1272
1223
|
}, "strip", z.ZodTypeAny, {
|
|
1273
1224
|
run: {
|
|
1274
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1275
1225
|
projectId: string;
|
|
1276
1226
|
id: string;
|
|
1277
|
-
|
|
1227
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1228
|
+
queuedAt: string;
|
|
1278
1229
|
pipelineId: string;
|
|
1279
|
-
error?:
|
|
1280
|
-
|
|
1281
|
-
name?: string | undefined;
|
|
1282
|
-
} | undefined;
|
|
1230
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1231
|
+
startedAt?: string | undefined;
|
|
1283
1232
|
finishedAt?: string | undefined;
|
|
1284
1233
|
output?: {
|
|
1285
1234
|
datasetId: string;
|
|
@@ -1287,9 +1236,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1287
1236
|
} | undefined;
|
|
1288
1237
|
};
|
|
1289
1238
|
steps: {
|
|
1290
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1291
1239
|
projectId: string;
|
|
1292
1240
|
id: string;
|
|
1241
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1293
1242
|
mode: "append" | "snapshot";
|
|
1294
1243
|
startedAt: string;
|
|
1295
1244
|
datasetId: string;
|
|
@@ -1300,10 +1249,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1300
1249
|
pipelineId: string;
|
|
1301
1250
|
stepId: string;
|
|
1302
1251
|
pipelineRunId: string;
|
|
1303
|
-
error?:
|
|
1304
|
-
message: string;
|
|
1305
|
-
name?: string | undefined;
|
|
1306
|
-
} | undefined;
|
|
1252
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1307
1253
|
finishedAt?: string | undefined;
|
|
1308
1254
|
output?: {
|
|
1309
1255
|
datasetId: string;
|
|
@@ -1313,15 +1259,13 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1313
1259
|
}[];
|
|
1314
1260
|
}, {
|
|
1315
1261
|
run: {
|
|
1316
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1317
1262
|
projectId: string;
|
|
1318
1263
|
id: string;
|
|
1319
|
-
|
|
1264
|
+
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
1265
|
+
queuedAt: string;
|
|
1320
1266
|
pipelineId: string;
|
|
1321
|
-
error?:
|
|
1322
|
-
|
|
1323
|
-
name?: string | undefined;
|
|
1324
|
-
} | undefined;
|
|
1267
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1268
|
+
startedAt?: string | undefined;
|
|
1325
1269
|
finishedAt?: string | undefined;
|
|
1326
1270
|
output?: {
|
|
1327
1271
|
datasetId: string;
|
|
@@ -1329,9 +1273,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1329
1273
|
} | undefined;
|
|
1330
1274
|
};
|
|
1331
1275
|
steps: {
|
|
1332
|
-
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1333
1276
|
projectId: string;
|
|
1334
1277
|
id: string;
|
|
1278
|
+
status: "running" | "succeeded" | "failed" | "cancelled";
|
|
1335
1279
|
mode: "append" | "snapshot";
|
|
1336
1280
|
startedAt: string;
|
|
1337
1281
|
datasetId: string;
|
|
@@ -1342,10 +1286,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
|
|
|
1342
1286
|
pipelineId: string;
|
|
1343
1287
|
stepId: string;
|
|
1344
1288
|
pipelineRunId: string;
|
|
1345
|
-
error?:
|
|
1346
|
-
message: string;
|
|
1347
|
-
name?: string | undefined;
|
|
1348
|
-
} | undefined;
|
|
1289
|
+
error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
1349
1290
|
finishedAt?: string | undefined;
|
|
1350
1291
|
output?: {
|
|
1351
1292
|
datasetId: string;
|