@sixb/server 0.1.18 → 0.1.19

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.
Files changed (57) hide show
  1. package/README.md +3 -3
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/index.js +660 -685
  5. package/dist/index.js.map +14 -13
  6. package/dist/routes/action-runs.d.ts +11 -13
  7. package/dist/routes/action-runs.d.ts.map +1 -1
  8. package/dist/routes/actions.d.ts +44 -13
  9. package/dist/routes/actions.d.ts.map +1 -1
  10. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  11. package/dist/routes/agents.d.ts +20 -20
  12. package/dist/routes/connector-connection-runs.d.ts +21 -21
  13. package/dist/routes/connector-connections.d.ts +8 -8
  14. package/dist/routes/connectors.d.ts +2 -2
  15. package/dist/routes/datasets.d.ts +5 -5
  16. package/dist/routes/events.d.ts +4 -4
  17. package/dist/routes/files.d.ts +15 -12
  18. package/dist/routes/files.d.ts.map +1 -1
  19. package/dist/routes/ontology.d.ts +6 -6
  20. package/dist/routes/pipelines.d.ts +16 -16
  21. package/dist/routes/projections.d.ts +49 -49
  22. package/dist/routes/syncs.d.ts +10 -10
  23. package/dist/routes/webhook-runs.d.ts +2 -2
  24. package/dist/routes/workflows.d.ts +48 -48
  25. package/dist/routes/ws/events.d.ts +6 -9
  26. package/dist/routes/ws/events.d.ts.map +1 -1
  27. package/dist/schemas/actions.d.ts +100 -84
  28. package/dist/schemas/actions.d.ts.map +1 -1
  29. package/dist/schemas/agents.d.ts +20 -20
  30. package/dist/schemas/ai-limits.d.ts +10 -10
  31. package/dist/schemas/connectors.d.ts +8 -8
  32. package/dist/schemas/datasets.d.ts +40 -40
  33. package/dist/schemas/events.d.ts +24 -24
  34. package/dist/schemas/events.d.ts.map +1 -1
  35. package/dist/schemas/files.d.ts +4 -4
  36. package/dist/schemas/ontology.d.ts +40 -40
  37. package/dist/schemas/pipelines.d.ts +92 -92
  38. package/dist/schemas/projections.d.ts +290 -290
  39. package/dist/schemas/syncs.d.ts +34 -34
  40. package/dist/schemas/webhook-runs.d.ts +8 -8
  41. package/dist/schemas/workflows.d.ts +160 -160
  42. package/dist/server.d.ts +1 -0
  43. package/dist/server.d.ts.map +1 -1
  44. package/dist/utils/http.d.ts.map +1 -1
  45. package/dist/utils/request-body.d.ts +20 -6
  46. package/dist/utils/request-body.d.ts.map +1 -1
  47. package/package.json +5 -5
  48. package/src/actions/serialize.ts +55 -0
  49. package/src/routes/action-runs.ts +1 -54
  50. package/src/routes/actions.ts +26 -8
  51. package/src/routes/agent-api-gateway.ts +18 -42
  52. package/src/routes/files.ts +15 -63
  53. package/src/routes/ws/events.ts +2 -12
  54. package/src/schemas/actions.ts +21 -18
  55. package/src/server.ts +21 -3
  56. package/src/utils/http.ts +2 -0
  57. package/src/utils/request-body.ts +55 -6
@@ -24,7 +24,7 @@ export declare const PipelineRunsQuerySchema: z.ZodObject<{
24
24
  offset: z.ZodOptional<z.ZodString>;
25
25
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
26
26
  }, "strip", z.ZodTypeAny, {
27
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
27
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
28
28
  startedAfter?: string | undefined;
29
29
  startedBefore?: string | undefined;
30
30
  limit?: string | undefined;
@@ -32,7 +32,7 @@ export declare const PipelineRunsQuerySchema: z.ZodObject<{
32
32
  order?: "asc" | "desc" | undefined;
33
33
  pipelineId?: string | undefined;
34
34
  }, {
35
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
35
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
36
36
  startedAfter?: string | undefined;
37
37
  startedBefore?: string | undefined;
38
38
  limit?: string | undefined;
@@ -60,11 +60,11 @@ export declare const PipelineRunSchema: z.ZodObject<{
60
60
  }>>;
61
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">>>;
62
62
  }, "strip", z.ZodTypeAny, {
63
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
63
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
64
64
  projectId: string;
65
65
  id: string;
66
- queuedAt: string;
67
66
  pipelineId: string;
67
+ queuedAt: string;
68
68
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
69
69
  startedAt?: string | undefined;
70
70
  finishedAt?: string | undefined;
@@ -73,11 +73,11 @@ export declare const PipelineRunSchema: z.ZodObject<{
73
73
  versionId: string;
74
74
  } | undefined;
75
75
  }, {
76
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
76
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
77
77
  projectId: string;
78
78
  id: string;
79
- queuedAt: string;
80
79
  pipelineId: string;
80
+ queuedAt: string;
81
81
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
82
82
  startedAt?: string | undefined;
83
83
  finishedAt?: string | undefined;
@@ -120,7 +120,7 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
120
120
  rowsWritten: z.ZodOptional<z.ZodNumber>;
121
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">>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
- status: "running" | "succeeded" | "failed" | "cancelled";
123
+ status: "succeeded" | "failed" | "running" | "cancelled";
124
124
  projectId: string;
125
125
  id: string;
126
126
  mode: "append" | "snapshot";
@@ -130,8 +130,8 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
130
130
  datasetId: string;
131
131
  versionId: string;
132
132
  }[];
133
- stepId: string;
134
133
  pipelineId: string;
134
+ stepId: string;
135
135
  pipelineRunId: string;
136
136
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
137
137
  finishedAt?: string | undefined;
@@ -141,7 +141,7 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
141
141
  } | undefined;
142
142
  rowsWritten?: number | undefined;
143
143
  }, {
144
- status: "running" | "succeeded" | "failed" | "cancelled";
144
+ status: "succeeded" | "failed" | "running" | "cancelled";
145
145
  projectId: string;
146
146
  id: string;
147
147
  mode: "append" | "snapshot";
@@ -151,8 +151,8 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
151
151
  datasetId: string;
152
152
  versionId: string;
153
153
  }[];
154
- stepId: string;
155
154
  pipelineId: string;
155
+ stepId: string;
156
156
  pipelineRunId: string;
157
157
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
158
158
  finishedAt?: string | undefined;
@@ -196,23 +196,23 @@ export declare const PipelineStepSchema: z.ZodObject<{
196
196
  nullable: z.ZodOptional<z.ZodBoolean>;
197
197
  }, "strip", z.ZodTypeAny, {
198
198
  name: string;
199
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
199
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
200
200
  nullable?: boolean | undefined;
201
201
  }, {
202
202
  name: string;
203
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
203
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
204
204
  nullable?: boolean | undefined;
205
205
  }>, "many">;
206
206
  }, "strip", z.ZodTypeAny, {
207
207
  columns: {
208
208
  name: string;
209
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
209
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
210
210
  nullable?: boolean | undefined;
211
211
  }[];
212
212
  }, {
213
213
  columns: {
214
214
  name: string;
215
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
215
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
216
216
  nullable?: boolean | undefined;
217
217
  }[];
218
218
  }>;
@@ -221,7 +221,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
221
221
  schema: {
222
222
  columns: {
223
223
  name: string;
224
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
224
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
225
225
  nullable?: boolean | undefined;
226
226
  }[];
227
227
  };
@@ -234,7 +234,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
234
234
  schema: {
235
235
  columns: {
236
236
  name: string;
237
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
237
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
238
238
  nullable?: boolean | undefined;
239
239
  }[];
240
240
  };
@@ -250,7 +250,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
250
250
  schema: {
251
251
  columns: {
252
252
  name: string;
253
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
253
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
254
254
  nullable?: boolean | undefined;
255
255
  }[];
256
256
  };
@@ -266,7 +266,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
266
266
  schema: {
267
267
  columns: {
268
268
  name: string;
269
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
269
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
270
270
  nullable?: boolean | undefined;
271
271
  }[];
272
272
  };
@@ -289,23 +289,23 @@ export declare const PipelineStepSchema: z.ZodObject<{
289
289
  nullable: z.ZodOptional<z.ZodBoolean>;
290
290
  }, "strip", z.ZodTypeAny, {
291
291
  name: string;
292
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
292
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
293
293
  nullable?: boolean | undefined;
294
294
  }, {
295
295
  name: string;
296
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
296
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
297
297
  nullable?: boolean | undefined;
298
298
  }>, "many">;
299
299
  }, "strip", z.ZodTypeAny, {
300
300
  columns: {
301
301
  name: string;
302
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
302
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
303
303
  nullable?: boolean | undefined;
304
304
  }[];
305
305
  }, {
306
306
  columns: {
307
307
  name: string;
308
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
308
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
309
309
  nullable?: boolean | undefined;
310
310
  }[];
311
311
  }>;
@@ -314,7 +314,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
314
314
  schema: {
315
315
  columns: {
316
316
  name: string;
317
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
317
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
318
318
  nullable?: boolean | undefined;
319
319
  }[];
320
320
  };
@@ -327,7 +327,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
327
327
  schema: {
328
328
  columns: {
329
329
  name: string;
330
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
330
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
331
331
  nullable?: boolean | undefined;
332
332
  }[];
333
333
  };
@@ -344,7 +344,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
344
344
  schema: {
345
345
  columns: {
346
346
  name: string;
347
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
347
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
348
348
  nullable?: boolean | undefined;
349
349
  }[];
350
350
  };
@@ -360,7 +360,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
360
360
  schema: {
361
361
  columns: {
362
362
  name: string;
363
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
363
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
364
364
  nullable?: boolean | undefined;
365
365
  }[];
366
366
  };
@@ -384,7 +384,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
384
384
  schema: {
385
385
  columns: {
386
386
  name: string;
387
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
387
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
388
388
  nullable?: boolean | undefined;
389
389
  }[];
390
390
  };
@@ -400,7 +400,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
400
400
  schema: {
401
401
  columns: {
402
402
  name: string;
403
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
403
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
404
404
  nullable?: boolean | undefined;
405
405
  }[];
406
406
  };
@@ -467,23 +467,23 @@ export declare const PipelineSchema: z.ZodObject<{
467
467
  nullable: z.ZodOptional<z.ZodBoolean>;
468
468
  }, "strip", z.ZodTypeAny, {
469
469
  name: string;
470
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
470
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
471
471
  nullable?: boolean | undefined;
472
472
  }, {
473
473
  name: string;
474
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
474
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
475
475
  nullable?: boolean | undefined;
476
476
  }>, "many">;
477
477
  }, "strip", z.ZodTypeAny, {
478
478
  columns: {
479
479
  name: string;
480
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
480
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
481
481
  nullable?: boolean | undefined;
482
482
  }[];
483
483
  }, {
484
484
  columns: {
485
485
  name: string;
486
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
486
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
487
487
  nullable?: boolean | undefined;
488
488
  }[];
489
489
  }>;
@@ -492,7 +492,7 @@ export declare const PipelineSchema: z.ZodObject<{
492
492
  schema: {
493
493
  columns: {
494
494
  name: string;
495
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
495
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
496
496
  nullable?: boolean | undefined;
497
497
  }[];
498
498
  };
@@ -505,7 +505,7 @@ export declare const PipelineSchema: z.ZodObject<{
505
505
  schema: {
506
506
  columns: {
507
507
  name: string;
508
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
508
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
509
509
  nullable?: boolean | undefined;
510
510
  }[];
511
511
  };
@@ -521,7 +521,7 @@ export declare const PipelineSchema: z.ZodObject<{
521
521
  schema: {
522
522
  columns: {
523
523
  name: string;
524
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
524
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
525
525
  nullable?: boolean | undefined;
526
526
  }[];
527
527
  };
@@ -537,7 +537,7 @@ export declare const PipelineSchema: z.ZodObject<{
537
537
  schema: {
538
538
  columns: {
539
539
  name: string;
540
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
540
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
541
541
  nullable?: boolean | undefined;
542
542
  }[];
543
543
  };
@@ -560,23 +560,23 @@ export declare const PipelineSchema: z.ZodObject<{
560
560
  nullable: z.ZodOptional<z.ZodBoolean>;
561
561
  }, "strip", z.ZodTypeAny, {
562
562
  name: string;
563
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
563
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
564
564
  nullable?: boolean | undefined;
565
565
  }, {
566
566
  name: string;
567
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
567
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
568
568
  nullable?: boolean | undefined;
569
569
  }>, "many">;
570
570
  }, "strip", z.ZodTypeAny, {
571
571
  columns: {
572
572
  name: string;
573
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
573
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
574
574
  nullable?: boolean | undefined;
575
575
  }[];
576
576
  }, {
577
577
  columns: {
578
578
  name: string;
579
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
579
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
580
580
  nullable?: boolean | undefined;
581
581
  }[];
582
582
  }>;
@@ -585,7 +585,7 @@ export declare const PipelineSchema: z.ZodObject<{
585
585
  schema: {
586
586
  columns: {
587
587
  name: string;
588
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
588
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
589
589
  nullable?: boolean | undefined;
590
590
  }[];
591
591
  };
@@ -598,7 +598,7 @@ export declare const PipelineSchema: z.ZodObject<{
598
598
  schema: {
599
599
  columns: {
600
600
  name: string;
601
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
601
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
602
602
  nullable?: boolean | undefined;
603
603
  }[];
604
604
  };
@@ -615,7 +615,7 @@ export declare const PipelineSchema: z.ZodObject<{
615
615
  schema: {
616
616
  columns: {
617
617
  name: string;
618
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
618
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
619
619
  nullable?: boolean | undefined;
620
620
  }[];
621
621
  };
@@ -631,7 +631,7 @@ export declare const PipelineSchema: z.ZodObject<{
631
631
  schema: {
632
632
  columns: {
633
633
  name: string;
634
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
634
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
635
635
  nullable?: boolean | undefined;
636
636
  }[];
637
637
  };
@@ -655,7 +655,7 @@ export declare const PipelineSchema: z.ZodObject<{
655
655
  schema: {
656
656
  columns: {
657
657
  name: string;
658
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
658
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
659
659
  nullable?: boolean | undefined;
660
660
  }[];
661
661
  };
@@ -671,7 +671,7 @@ export declare const PipelineSchema: z.ZodObject<{
671
671
  schema: {
672
672
  columns: {
673
673
  name: string;
674
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
674
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
675
675
  nullable?: boolean | undefined;
676
676
  }[];
677
677
  };
@@ -698,7 +698,7 @@ export declare const PipelineSchema: z.ZodObject<{
698
698
  schema: {
699
699
  columns: {
700
700
  name: string;
701
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
701
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
702
702
  nullable?: boolean | undefined;
703
703
  }[];
704
704
  };
@@ -714,7 +714,7 @@ export declare const PipelineSchema: z.ZodObject<{
714
714
  schema: {
715
715
  columns: {
716
716
  name: string;
717
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
717
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
718
718
  nullable?: boolean | undefined;
719
719
  }[];
720
720
  };
@@ -741,7 +741,7 @@ export declare const PipelineSchema: z.ZodObject<{
741
741
  schema: {
742
742
  columns: {
743
743
  name: string;
744
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
744
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
745
745
  nullable?: boolean | undefined;
746
746
  }[];
747
747
  };
@@ -757,7 +757,7 @@ export declare const PipelineSchema: z.ZodObject<{
757
757
  schema: {
758
758
  columns: {
759
759
  name: string;
760
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
760
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
761
761
  nullable?: boolean | undefined;
762
762
  }[];
763
763
  };
@@ -787,7 +787,7 @@ export declare const PipelineSchema: z.ZodObject<{
787
787
  schema: {
788
788
  columns: {
789
789
  name: string;
790
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
790
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
791
791
  nullable?: boolean | undefined;
792
792
  }[];
793
793
  };
@@ -803,7 +803,7 @@ export declare const PipelineSchema: z.ZodObject<{
803
803
  schema: {
804
804
  columns: {
805
805
  name: string;
806
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
806
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
807
807
  nullable?: boolean | undefined;
808
808
  }[];
809
809
  };
@@ -833,7 +833,7 @@ export declare const PipelineSchema: z.ZodObject<{
833
833
  schema: {
834
834
  columns: {
835
835
  name: string;
836
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
836
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
837
837
  nullable?: boolean | undefined;
838
838
  }[];
839
839
  };
@@ -849,7 +849,7 @@ export declare const PipelineSchema: z.ZodObject<{
849
849
  schema: {
850
850
  columns: {
851
851
  name: string;
852
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
852
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
853
853
  nullable?: boolean | undefined;
854
854
  }[];
855
855
  };
@@ -888,11 +888,11 @@ export declare const PipelineSchema: z.ZodObject<{
888
888
  }>>;
889
889
  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">>>;
890
890
  }, "strip", z.ZodTypeAny, {
891
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
891
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
892
892
  projectId: string;
893
893
  id: string;
894
- queuedAt: string;
895
894
  pipelineId: string;
895
+ queuedAt: string;
896
896
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
897
897
  startedAt?: string | undefined;
898
898
  finishedAt?: string | undefined;
@@ -901,11 +901,11 @@ export declare const PipelineSchema: z.ZodObject<{
901
901
  versionId: string;
902
902
  } | undefined;
903
903
  }, {
904
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
904
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
905
905
  projectId: string;
906
906
  id: string;
907
- queuedAt: string;
908
907
  pipelineId: string;
908
+ queuedAt: string;
909
909
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
910
910
  startedAt?: string | undefined;
911
911
  finishedAt?: string | undefined;
@@ -932,7 +932,7 @@ export declare const PipelineSchema: z.ZodObject<{
932
932
  schema: {
933
933
  columns: {
934
934
  name: string;
935
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
935
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
936
936
  nullable?: boolean | undefined;
937
937
  }[];
938
938
  };
@@ -948,7 +948,7 @@ export declare const PipelineSchema: z.ZodObject<{
948
948
  schema: {
949
949
  columns: {
950
950
  name: string;
951
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
951
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
952
952
  nullable?: boolean | undefined;
953
953
  }[];
954
954
  };
@@ -968,11 +968,11 @@ export declare const PipelineSchema: z.ZodObject<{
968
968
  }[];
969
969
  };
970
970
  latestRun: {
971
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
971
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
972
972
  projectId: string;
973
973
  id: string;
974
- queuedAt: string;
975
974
  pipelineId: string;
975
+ queuedAt: string;
976
976
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
977
977
  startedAt?: string | undefined;
978
978
  finishedAt?: string | undefined;
@@ -999,7 +999,7 @@ export declare const PipelineSchema: z.ZodObject<{
999
999
  schema: {
1000
1000
  columns: {
1001
1001
  name: string;
1002
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
1002
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
1003
1003
  nullable?: boolean | undefined;
1004
1004
  }[];
1005
1005
  };
@@ -1015,7 +1015,7 @@ export declare const PipelineSchema: z.ZodObject<{
1015
1015
  schema: {
1016
1016
  columns: {
1017
1017
  name: string;
1018
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
1018
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
1019
1019
  nullable?: boolean | undefined;
1020
1020
  }[];
1021
1021
  };
@@ -1035,11 +1035,11 @@ export declare const PipelineSchema: z.ZodObject<{
1035
1035
  }[];
1036
1036
  };
1037
1037
  latestRun: {
1038
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1038
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1039
1039
  projectId: string;
1040
1040
  id: string;
1041
- queuedAt: string;
1042
1041
  pipelineId: string;
1042
+ queuedAt: string;
1043
1043
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1044
1044
  startedAt?: string | undefined;
1045
1045
  finishedAt?: string | undefined;
@@ -1070,11 +1070,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1070
1070
  }>>;
1071
1071
  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">>>;
1072
1072
  }, "strip", z.ZodTypeAny, {
1073
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1073
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1074
1074
  projectId: string;
1075
1075
  id: string;
1076
- queuedAt: string;
1077
1076
  pipelineId: string;
1077
+ queuedAt: string;
1078
1078
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1079
1079
  startedAt?: string | undefined;
1080
1080
  finishedAt?: string | undefined;
@@ -1083,11 +1083,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1083
1083
  versionId: string;
1084
1084
  } | undefined;
1085
1085
  }, {
1086
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1086
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1087
1087
  projectId: string;
1088
1088
  id: string;
1089
- queuedAt: string;
1090
1089
  pipelineId: string;
1090
+ queuedAt: string;
1091
1091
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1092
1092
  startedAt?: string | undefined;
1093
1093
  finishedAt?: string | undefined;
@@ -1100,11 +1100,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1100
1100
  total: z.ZodNumber;
1101
1101
  }, "strip", z.ZodTypeAny, {
1102
1102
  runs: {
1103
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1103
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1104
1104
  projectId: string;
1105
1105
  id: string;
1106
- queuedAt: string;
1107
1106
  pipelineId: string;
1107
+ queuedAt: string;
1108
1108
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1109
1109
  startedAt?: string | undefined;
1110
1110
  finishedAt?: string | undefined;
@@ -1117,11 +1117,11 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1117
1117
  total: number;
1118
1118
  }, {
1119
1119
  runs: {
1120
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1120
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1121
1121
  projectId: string;
1122
1122
  id: string;
1123
- queuedAt: string;
1124
1123
  pipelineId: string;
1124
+ queuedAt: string;
1125
1125
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1126
1126
  startedAt?: string | undefined;
1127
1127
  finishedAt?: string | undefined;
@@ -1154,11 +1154,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1154
1154
  }>>;
1155
1155
  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">>>;
1156
1156
  }, "strip", z.ZodTypeAny, {
1157
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1157
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1158
1158
  projectId: string;
1159
1159
  id: string;
1160
- queuedAt: string;
1161
1160
  pipelineId: string;
1161
+ queuedAt: string;
1162
1162
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1163
1163
  startedAt?: string | undefined;
1164
1164
  finishedAt?: string | undefined;
@@ -1167,11 +1167,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1167
1167
  versionId: string;
1168
1168
  } | undefined;
1169
1169
  }, {
1170
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1170
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1171
1171
  projectId: string;
1172
1172
  id: string;
1173
- queuedAt: string;
1174
1173
  pipelineId: string;
1174
+ queuedAt: string;
1175
1175
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1176
1176
  startedAt?: string | undefined;
1177
1177
  finishedAt?: string | undefined;
@@ -1214,7 +1214,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1214
1214
  rowsWritten: z.ZodOptional<z.ZodNumber>;
1215
1215
  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">>>;
1216
1216
  }, "strip", z.ZodTypeAny, {
1217
- status: "running" | "succeeded" | "failed" | "cancelled";
1217
+ status: "succeeded" | "failed" | "running" | "cancelled";
1218
1218
  projectId: string;
1219
1219
  id: string;
1220
1220
  mode: "append" | "snapshot";
@@ -1224,8 +1224,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1224
1224
  datasetId: string;
1225
1225
  versionId: string;
1226
1226
  }[];
1227
- stepId: string;
1228
1227
  pipelineId: string;
1228
+ stepId: string;
1229
1229
  pipelineRunId: string;
1230
1230
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1231
1231
  finishedAt?: string | undefined;
@@ -1235,7 +1235,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1235
1235
  } | undefined;
1236
1236
  rowsWritten?: number | undefined;
1237
1237
  }, {
1238
- status: "running" | "succeeded" | "failed" | "cancelled";
1238
+ status: "succeeded" | "failed" | "running" | "cancelled";
1239
1239
  projectId: string;
1240
1240
  id: string;
1241
1241
  mode: "append" | "snapshot";
@@ -1245,8 +1245,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1245
1245
  datasetId: string;
1246
1246
  versionId: string;
1247
1247
  }[];
1248
- stepId: string;
1249
1248
  pipelineId: string;
1249
+ stepId: string;
1250
1250
  pipelineRunId: string;
1251
1251
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1252
1252
  finishedAt?: string | undefined;
@@ -1258,11 +1258,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1258
1258
  }>, "many">;
1259
1259
  }, "strip", z.ZodTypeAny, {
1260
1260
  run: {
1261
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1261
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1262
1262
  projectId: string;
1263
1263
  id: string;
1264
- queuedAt: string;
1265
1264
  pipelineId: string;
1265
+ queuedAt: string;
1266
1266
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1267
1267
  startedAt?: string | undefined;
1268
1268
  finishedAt?: string | undefined;
@@ -1272,7 +1272,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1272
1272
  } | undefined;
1273
1273
  };
1274
1274
  steps: {
1275
- status: "running" | "succeeded" | "failed" | "cancelled";
1275
+ status: "succeeded" | "failed" | "running" | "cancelled";
1276
1276
  projectId: string;
1277
1277
  id: string;
1278
1278
  mode: "append" | "snapshot";
@@ -1282,8 +1282,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1282
1282
  datasetId: string;
1283
1283
  versionId: string;
1284
1284
  }[];
1285
- stepId: string;
1286
1285
  pipelineId: string;
1286
+ stepId: string;
1287
1287
  pipelineRunId: string;
1288
1288
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1289
1289
  finishedAt?: string | undefined;
@@ -1295,11 +1295,11 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1295
1295
  }[];
1296
1296
  }, {
1297
1297
  run: {
1298
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1298
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1299
1299
  projectId: string;
1300
1300
  id: string;
1301
- queuedAt: string;
1302
1301
  pipelineId: string;
1302
+ queuedAt: string;
1303
1303
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1304
1304
  startedAt?: string | undefined;
1305
1305
  finishedAt?: string | undefined;
@@ -1309,7 +1309,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1309
1309
  } | undefined;
1310
1310
  };
1311
1311
  steps: {
1312
- status: "running" | "succeeded" | "failed" | "cancelled";
1312
+ status: "succeeded" | "failed" | "running" | "cancelled";
1313
1313
  projectId: string;
1314
1314
  id: string;
1315
1315
  mode: "append" | "snapshot";
@@ -1319,8 +1319,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1319
1319
  datasetId: string;
1320
1320
  versionId: string;
1321
1321
  }[];
1322
- stepId: string;
1323
1322
  pipelineId: string;
1323
+ stepId: string;
1324
1324
  pipelineRunId: string;
1325
1325
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1326
1326
  finishedAt?: string | undefined;
@@ -1338,13 +1338,13 @@ export declare const RequestPipelineRunResponseSchema: z.ZodObject<{
1338
1338
  queuedAt: z.ZodString;
1339
1339
  }, "strip", z.ZodTypeAny, {
1340
1340
  runId: string;
1341
- queuedAt: string;
1342
1341
  jobId: string;
1343
1342
  pipelineId: string;
1343
+ queuedAt: string;
1344
1344
  }, {
1345
1345
  runId: string;
1346
- queuedAt: string;
1347
1346
  jobId: string;
1348
1347
  pipelineId: string;
1348
+ queuedAt: string;
1349
1349
  }>;
1350
1350
  //# sourceMappingURL=pipelines.d.ts.map