@sixb/server 0.1.21 → 0.1.23

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 (165) hide show
  1. package/dist/artifacts/frame.d.ts +5 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/browser-origin.d.ts +5 -1
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/experience.d.ts +1 -0
  6. package/dist/auth/experience.d.ts.map +1 -1
  7. package/dist/auth/public-routes.d.ts.map +1 -1
  8. package/dist/auth/responses.d.ts +1 -1
  9. package/dist/auth/responses.d.ts.map +1 -1
  10. package/dist/auth/scope.d.ts +19 -3
  11. package/dist/auth/scope.d.ts.map +1 -1
  12. package/dist/index.js +10093 -7553
  13. package/dist/index.js.map +51 -39
  14. package/dist/models/display.d.ts +27 -0
  15. package/dist/models/display.d.ts.map +1 -1
  16. package/dist/openapi/components.d.ts +14 -0
  17. package/dist/openapi/components.d.ts.map +1 -0
  18. package/dist/openapi/tags.d.ts +14 -2
  19. package/dist/openapi/tags.d.ts.map +1 -1
  20. package/dist/registerRoutes.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +5 -5
  22. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  23. package/dist/routes/agent-approval-gate.d.ts +27 -0
  24. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  25. package/dist/routes/agent-approvals.d.ts +599 -0
  26. package/dist/routes/agent-approvals.d.ts.map +1 -0
  27. package/dist/routes/agent-children.d.ts +318 -0
  28. package/dist/routes/agent-children.d.ts.map +1 -0
  29. package/dist/routes/agent-memory.d.ts +267 -0
  30. package/dist/routes/agent-memory.d.ts.map +1 -0
  31. package/dist/routes/agents.d.ts +999 -80
  32. package/dist/routes/agents.d.ts.map +1 -1
  33. package/dist/routes/ai-accounting.d.ts.map +1 -1
  34. package/dist/routes/artifact-frames.d.ts +3 -3
  35. package/dist/routes/artifact-frames.d.ts.map +1 -1
  36. package/dist/routes/artifacts.d.ts +790 -134
  37. package/dist/routes/artifacts.d.ts.map +1 -1
  38. package/dist/routes/auth.d.ts +116 -10
  39. package/dist/routes/auth.d.ts.map +1 -1
  40. package/dist/routes/connector-connection-runs.d.ts +50 -50
  41. package/dist/routes/connectors.d.ts +2 -2
  42. package/dist/routes/datasets.d.ts +20 -20
  43. package/dist/routes/events.d.ts +4 -4
  44. package/dist/routes/files.d.ts +14 -14
  45. package/dist/routes/files.d.ts.map +1 -1
  46. package/dist/routes/links.d.ts +2 -2
  47. package/dist/routes/logs.d.ts +5 -5
  48. package/dist/routes/model-calls.d.ts +155 -0
  49. package/dist/routes/model-calls.d.ts.map +1 -0
  50. package/dist/routes/model-generations.d.ts +400 -0
  51. package/dist/routes/model-generations.d.ts.map +1 -0
  52. package/dist/routes/models.d.ts +434 -1
  53. package/dist/routes/models.d.ts.map +1 -1
  54. package/dist/routes/objects.d.ts +71 -40
  55. package/dist/routes/objects.d.ts.map +1 -1
  56. package/dist/routes/observed-agent-threads.d.ts +682 -0
  57. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  58. package/dist/routes/ontology.d.ts +66 -62
  59. package/dist/routes/ontology.d.ts.map +1 -1
  60. package/dist/routes/pipelines.d.ts +24 -24
  61. package/dist/routes/projections.d.ts +55 -55
  62. package/dist/routes/rules.d.ts +2 -2
  63. package/dist/routes/share-grants.d.ts +9 -9
  64. package/dist/routes/syncs.d.ts +46 -46
  65. package/dist/routes/users.d.ts +117 -0
  66. package/dist/routes/users.d.ts.map +1 -0
  67. package/dist/routes/webhook-runs.d.ts +1 -1
  68. package/dist/routes/workflows.d.ts +118 -52
  69. package/dist/routes/workflows.d.ts.map +1 -1
  70. package/dist/routes/ws/agents.d.ts +7 -2
  71. package/dist/routes/ws/agents.d.ts.map +1 -1
  72. package/dist/routes/ws/events.d.ts +6 -6
  73. package/dist/routes/ws/logs.d.ts +14 -14
  74. package/dist/schemas/actions.d.ts +15 -15
  75. package/dist/schemas/activity.d.ts +48 -28
  76. package/dist/schemas/activity.d.ts.map +1 -1
  77. package/dist/schemas/agent-approvals.d.ts +1091 -0
  78. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  79. package/dist/schemas/agent-memory.d.ts +250 -0
  80. package/dist/schemas/agent-memory.d.ts.map +1 -0
  81. package/dist/schemas/agents.d.ts +5442 -369
  82. package/dist/schemas/agents.d.ts.map +1 -1
  83. package/dist/schemas/ai-accounting.d.ts +1290 -411
  84. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  85. package/dist/schemas/ai-limits.d.ts +10 -10
  86. package/dist/schemas/ai-usage.d.ts +12 -0
  87. package/dist/schemas/ai-usage.d.ts.map +1 -1
  88. package/dist/schemas/artifacts.d.ts +650 -98
  89. package/dist/schemas/artifacts.d.ts.map +1 -1
  90. package/dist/schemas/auth.d.ts +119 -46
  91. package/dist/schemas/auth.d.ts.map +1 -1
  92. package/dist/schemas/connectors.d.ts +22 -22
  93. package/dist/schemas/datasets.d.ts +98 -98
  94. package/dist/schemas/event-payloads.d.ts +6 -6
  95. package/dist/schemas/events.d.ts +26 -26
  96. package/dist/schemas/events.d.ts.map +1 -1
  97. package/dist/schemas/files.d.ts +24 -24
  98. package/dist/schemas/links.d.ts +2 -2
  99. package/dist/schemas/logs.d.ts +32 -32
  100. package/dist/schemas/models.d.ts +8889 -10
  101. package/dist/schemas/models.d.ts.map +1 -1
  102. package/dist/schemas/objects.d.ts +48 -12
  103. package/dist/schemas/objects.d.ts.map +1 -1
  104. package/dist/schemas/ontology.d.ts +127 -104
  105. package/dist/schemas/ontology.d.ts.map +1 -1
  106. package/dist/schemas/pipelines.d.ts +132 -132
  107. package/dist/schemas/projections.d.ts +314 -314
  108. package/dist/schemas/rules.d.ts +4 -4
  109. package/dist/schemas/share-grants.d.ts +30 -30
  110. package/dist/schemas/syncs.d.ts +49 -49
  111. package/dist/schemas/users.d.ts +72 -0
  112. package/dist/schemas/users.d.ts.map +1 -0
  113. package/dist/schemas/webhook-runs.d.ts +6 -6
  114. package/dist/schemas/workflows.d.ts +701 -186
  115. package/dist/schemas/workflows.d.ts.map +1 -1
  116. package/dist/server.d.ts +1 -0
  117. package/dist/server.d.ts.map +1 -1
  118. package/dist/utils/http.d.ts.map +1 -1
  119. package/package.json +7 -7
  120. package/src/artifacts/frame.ts +6 -1
  121. package/src/auth/browser-origin.ts +8 -3
  122. package/src/auth/experience.ts +1 -1
  123. package/src/auth/guard.ts +2 -2
  124. package/src/auth/public-routes.ts +6 -0
  125. package/src/auth/responses.ts +7 -6
  126. package/src/auth/scope.ts +32 -3
  127. package/src/models/display.ts +61 -16
  128. package/src/openapi/components.ts +54 -0
  129. package/src/openapi/tags.ts +12 -0
  130. package/src/registerRoutes.ts +14 -0
  131. package/src/routes/agent-api-gateway.ts +115 -91
  132. package/src/routes/agent-approval-gate.ts +213 -0
  133. package/src/routes/agent-approvals.ts +299 -0
  134. package/src/routes/agent-children.ts +209 -0
  135. package/src/routes/agent-memory.ts +210 -0
  136. package/src/routes/agents.ts +363 -142
  137. package/src/routes/ai-accounting.ts +4 -0
  138. package/src/routes/artifact-frames.ts +14 -8
  139. package/src/routes/artifacts.ts +297 -22
  140. package/src/routes/auth.ts +306 -13
  141. package/src/routes/files.ts +6 -7
  142. package/src/routes/model-calls.ts +120 -0
  143. package/src/routes/model-generations.ts +245 -0
  144. package/src/routes/models.ts +116 -9
  145. package/src/routes/objects.ts +55 -61
  146. package/src/routes/observed-agent-threads.ts +253 -0
  147. package/src/routes/ontology.ts +1 -0
  148. package/src/routes/users.ts +73 -0
  149. package/src/routes/workflows.ts +6 -9
  150. package/src/routes/ws/agents.ts +10 -5
  151. package/src/schemas/activity.ts +2 -0
  152. package/src/schemas/agent-approvals.ts +129 -0
  153. package/src/schemas/agent-memory.ts +96 -0
  154. package/src/schemas/agents.ts +239 -0
  155. package/src/schemas/ai-accounting.ts +40 -4
  156. package/src/schemas/ai-usage.ts +10 -0
  157. package/src/schemas/artifacts.ts +91 -3
  158. package/src/schemas/auth.ts +25 -0
  159. package/src/schemas/models.ts +197 -1
  160. package/src/schemas/objects.ts +181 -0
  161. package/src/schemas/ontology.ts +1 -0
  162. package/src/schemas/users.ts +24 -0
  163. package/src/schemas/workflows.ts +2 -0
  164. package/src/server.ts +9 -10
  165. package/src/utils/http.ts +2 -0
@@ -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?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
27
+ status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | 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?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
35
+ status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
36
36
  startedAfter?: string | undefined;
37
37
  startedBefore?: string | undefined;
38
38
  limit?: string | undefined;
@@ -60,7 +60,7 @@ 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: "succeeded" | "failed" | "queued" | "running" | "cancelled";
63
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
64
64
  projectId: string;
65
65
  id: string;
66
66
  queuedAt: string;
@@ -73,7 +73,7 @@ export declare const PipelineRunSchema: z.ZodObject<{
73
73
  versionId: string;
74
74
  } | undefined;
75
75
  }, {
76
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
76
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
77
77
  projectId: string;
78
78
  id: string;
79
79
  queuedAt: string;
@@ -120,18 +120,18 @@ 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: "succeeded" | "failed" | "running" | "cancelled";
123
+ status: "succeeded" | "failed" | "cancelled" | "running";
124
124
  projectId: string;
125
125
  id: string;
126
126
  mode: "append" | "snapshot";
127
127
  startedAt: string;
128
- datasetId: string;
129
128
  inputs: {
130
129
  datasetId: string;
131
130
  versionId: string;
132
131
  }[];
133
- pipelineId: string;
132
+ datasetId: string;
134
133
  stepId: string;
134
+ pipelineId: 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,18 +141,18 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
141
141
  } | undefined;
142
142
  rowsWritten?: number | undefined;
143
143
  }, {
144
- status: "succeeded" | "failed" | "running" | "cancelled";
144
+ status: "succeeded" | "failed" | "cancelled" | "running";
145
145
  projectId: string;
146
146
  id: string;
147
147
  mode: "append" | "snapshot";
148
148
  startedAt: string;
149
- datasetId: string;
150
149
  inputs: {
151
150
  datasetId: string;
152
151
  versionId: string;
153
152
  }[];
154
- pipelineId: string;
153
+ datasetId: string;
155
154
  stepId: string;
155
+ pipelineId: 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;
@@ -195,24 +195,24 @@ export declare const PipelineStepSchema: z.ZodObject<{
195
195
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
196
196
  nullable: z.ZodOptional<z.ZodBoolean>;
197
197
  }, "strip", z.ZodTypeAny, {
198
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
198
199
  name: string;
199
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
200
200
  nullable?: boolean | undefined;
201
201
  }, {
202
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
202
203
  name: string;
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
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
208
209
  name: string;
209
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
210
210
  nullable?: boolean | undefined;
211
211
  }[];
212
212
  }, {
213
213
  columns: {
214
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
214
215
  name: string;
215
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
216
216
  nullable?: boolean | undefined;
217
217
  }[];
218
218
  }>;
@@ -220,8 +220,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
220
220
  id: string;
221
221
  schema: {
222
222
  columns: {
223
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
223
224
  name: string;
224
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
225
225
  nullable?: boolean | undefined;
226
226
  }[];
227
227
  };
@@ -233,8 +233,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
233
233
  id: string;
234
234
  schema: {
235
235
  columns: {
236
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
236
237
  name: string;
237
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
238
238
  nullable?: boolean | undefined;
239
239
  }[];
240
240
  };
@@ -249,8 +249,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
249
249
  id: string;
250
250
  schema: {
251
251
  columns: {
252
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
252
253
  name: string;
253
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
254
254
  nullable?: boolean | undefined;
255
255
  }[];
256
256
  };
@@ -265,8 +265,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
265
265
  id: string;
266
266
  schema: {
267
267
  columns: {
268
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
268
269
  name: string;
269
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
270
270
  nullable?: boolean | undefined;
271
271
  }[];
272
272
  };
@@ -288,24 +288,24 @@ export declare const PipelineStepSchema: z.ZodObject<{
288
288
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
289
289
  nullable: z.ZodOptional<z.ZodBoolean>;
290
290
  }, "strip", z.ZodTypeAny, {
291
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
291
292
  name: string;
292
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
293
293
  nullable?: boolean | undefined;
294
294
  }, {
295
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
295
296
  name: string;
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
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
301
302
  name: string;
302
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
303
303
  nullable?: boolean | undefined;
304
304
  }[];
305
305
  }, {
306
306
  columns: {
307
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
307
308
  name: string;
308
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
309
309
  nullable?: boolean | undefined;
310
310
  }[];
311
311
  }>;
@@ -313,8 +313,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
313
313
  id: string;
314
314
  schema: {
315
315
  columns: {
316
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
316
317
  name: string;
317
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
318
318
  nullable?: boolean | undefined;
319
319
  }[];
320
320
  };
@@ -326,8 +326,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
326
326
  id: string;
327
327
  schema: {
328
328
  columns: {
329
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
329
330
  name: string;
330
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
331
331
  nullable?: boolean | undefined;
332
332
  }[];
333
333
  };
@@ -338,13 +338,19 @@ export declare const PipelineStepSchema: z.ZodObject<{
338
338
  }>;
339
339
  }, "strip", z.ZodTypeAny, {
340
340
  id: string;
341
+ executor: {
342
+ kind: "sql";
343
+ dialect: "duckdb";
344
+ } | {
345
+ kind: "run";
346
+ };
341
347
  mode: "append" | "snapshot";
342
348
  output: {
343
349
  id: string;
344
350
  schema: {
345
351
  columns: {
352
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
346
353
  name: string;
347
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
348
354
  nullable?: boolean | undefined;
349
355
  }[];
350
356
  };
@@ -359,8 +365,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
359
365
  id: string;
360
366
  schema: {
361
367
  columns: {
368
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
362
369
  name: string;
363
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
364
370
  nullable?: boolean | undefined;
365
371
  }[];
366
372
  };
@@ -370,21 +376,21 @@ export declare const PipelineStepSchema: z.ZodObject<{
370
376
  partitionBy?: string[] | undefined;
371
377
  };
372
378
  }[];
379
+ }, {
380
+ id: string;
373
381
  executor: {
374
382
  kind: "sql";
375
383
  dialect: "duckdb";
376
384
  } | {
377
385
  kind: "run";
378
386
  };
379
- }, {
380
- id: string;
381
387
  mode: "append" | "snapshot";
382
388
  output: {
383
389
  id: string;
384
390
  schema: {
385
391
  columns: {
392
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
386
393
  name: string;
387
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
388
394
  nullable?: boolean | undefined;
389
395
  }[];
390
396
  };
@@ -399,8 +405,8 @@ export declare const PipelineStepSchema: z.ZodObject<{
399
405
  id: string;
400
406
  schema: {
401
407
  columns: {
408
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
402
409
  name: string;
403
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
404
410
  nullable?: boolean | undefined;
405
411
  }[];
406
412
  };
@@ -410,12 +416,6 @@ export declare const PipelineStepSchema: z.ZodObject<{
410
416
  partitionBy?: string[] | undefined;
411
417
  };
412
418
  }[];
413
- executor: {
414
- kind: "sql";
415
- dialect: "duckdb";
416
- } | {
417
- kind: "run";
418
- };
419
419
  }>;
420
420
  export declare const PipelineSchema: z.ZodObject<{
421
421
  id: z.ZodString;
@@ -466,24 +466,24 @@ export declare const PipelineSchema: z.ZodObject<{
466
466
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
467
467
  nullable: z.ZodOptional<z.ZodBoolean>;
468
468
  }, "strip", z.ZodTypeAny, {
469
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
469
470
  name: string;
470
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
471
471
  nullable?: boolean | undefined;
472
472
  }, {
473
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
473
474
  name: string;
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
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
479
480
  name: string;
480
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
481
481
  nullable?: boolean | undefined;
482
482
  }[];
483
483
  }, {
484
484
  columns: {
485
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
485
486
  name: string;
486
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
487
487
  nullable?: boolean | undefined;
488
488
  }[];
489
489
  }>;
@@ -491,8 +491,8 @@ export declare const PipelineSchema: z.ZodObject<{
491
491
  id: string;
492
492
  schema: {
493
493
  columns: {
494
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
494
495
  name: string;
495
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
496
496
  nullable?: boolean | undefined;
497
497
  }[];
498
498
  };
@@ -504,8 +504,8 @@ export declare const PipelineSchema: z.ZodObject<{
504
504
  id: string;
505
505
  schema: {
506
506
  columns: {
507
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
507
508
  name: string;
508
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
509
509
  nullable?: boolean | undefined;
510
510
  }[];
511
511
  };
@@ -520,8 +520,8 @@ export declare const PipelineSchema: z.ZodObject<{
520
520
  id: string;
521
521
  schema: {
522
522
  columns: {
523
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
523
524
  name: string;
524
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
525
525
  nullable?: boolean | undefined;
526
526
  }[];
527
527
  };
@@ -536,8 +536,8 @@ export declare const PipelineSchema: z.ZodObject<{
536
536
  id: string;
537
537
  schema: {
538
538
  columns: {
539
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
539
540
  name: string;
540
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
541
541
  nullable?: boolean | undefined;
542
542
  }[];
543
543
  };
@@ -559,24 +559,24 @@ export declare const PipelineSchema: z.ZodObject<{
559
559
  type: z.ZodEnum<["string", "boolean", "int64", "float64", "decimal", "date", "timestamp", "json", "fileRef"]>;
560
560
  nullable: z.ZodOptional<z.ZodBoolean>;
561
561
  }, "strip", z.ZodTypeAny, {
562
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
562
563
  name: string;
563
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
564
564
  nullable?: boolean | undefined;
565
565
  }, {
566
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
566
567
  name: string;
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
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
572
573
  name: string;
573
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
574
574
  nullable?: boolean | undefined;
575
575
  }[];
576
576
  }, {
577
577
  columns: {
578
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
578
579
  name: string;
579
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
580
580
  nullable?: boolean | undefined;
581
581
  }[];
582
582
  }>;
@@ -584,8 +584,8 @@ export declare const PipelineSchema: z.ZodObject<{
584
584
  id: string;
585
585
  schema: {
586
586
  columns: {
587
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
587
588
  name: string;
588
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
589
589
  nullable?: boolean | undefined;
590
590
  }[];
591
591
  };
@@ -597,8 +597,8 @@ export declare const PipelineSchema: z.ZodObject<{
597
597
  id: string;
598
598
  schema: {
599
599
  columns: {
600
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
600
601
  name: string;
601
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
602
602
  nullable?: boolean | undefined;
603
603
  }[];
604
604
  };
@@ -609,13 +609,19 @@ export declare const PipelineSchema: z.ZodObject<{
609
609
  }>;
610
610
  }, "strip", z.ZodTypeAny, {
611
611
  id: string;
612
+ executor: {
613
+ kind: "sql";
614
+ dialect: "duckdb";
615
+ } | {
616
+ kind: "run";
617
+ };
612
618
  mode: "append" | "snapshot";
613
619
  output: {
614
620
  id: string;
615
621
  schema: {
616
622
  columns: {
623
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
617
624
  name: string;
618
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
619
625
  nullable?: boolean | undefined;
620
626
  }[];
621
627
  };
@@ -630,8 +636,8 @@ export declare const PipelineSchema: z.ZodObject<{
630
636
  id: string;
631
637
  schema: {
632
638
  columns: {
639
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
633
640
  name: string;
634
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
635
641
  nullable?: boolean | undefined;
636
642
  }[];
637
643
  };
@@ -641,21 +647,21 @@ export declare const PipelineSchema: z.ZodObject<{
641
647
  partitionBy?: string[] | undefined;
642
648
  };
643
649
  }[];
650
+ }, {
651
+ id: string;
644
652
  executor: {
645
653
  kind: "sql";
646
654
  dialect: "duckdb";
647
655
  } | {
648
656
  kind: "run";
649
657
  };
650
- }, {
651
- id: string;
652
658
  mode: "append" | "snapshot";
653
659
  output: {
654
660
  id: string;
655
661
  schema: {
656
662
  columns: {
663
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
657
664
  name: string;
658
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
659
665
  nullable?: boolean | undefined;
660
666
  }[];
661
667
  };
@@ -670,8 +676,8 @@ export declare const PipelineSchema: z.ZodObject<{
670
676
  id: string;
671
677
  schema: {
672
678
  columns: {
679
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
673
680
  name: string;
674
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
675
681
  nullable?: boolean | undefined;
676
682
  }[];
677
683
  };
@@ -681,24 +687,24 @@ export declare const PipelineSchema: z.ZodObject<{
681
687
  partitionBy?: string[] | undefined;
682
688
  };
683
689
  }[];
690
+ }>;
691
+ }, "strip", z.ZodTypeAny, {
692
+ kind: "step";
693
+ step: {
694
+ id: string;
684
695
  executor: {
685
696
  kind: "sql";
686
697
  dialect: "duckdb";
687
698
  } | {
688
699
  kind: "run";
689
700
  };
690
- }>;
691
- }, "strip", z.ZodTypeAny, {
692
- kind: "step";
693
- step: {
694
- id: string;
695
701
  mode: "append" | "snapshot";
696
702
  output: {
697
703
  id: string;
698
704
  schema: {
699
705
  columns: {
706
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
700
707
  name: string;
701
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
702
708
  nullable?: boolean | undefined;
703
709
  }[];
704
710
  };
@@ -713,8 +719,8 @@ export declare const PipelineSchema: z.ZodObject<{
713
719
  id: string;
714
720
  schema: {
715
721
  columns: {
722
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
716
723
  name: string;
717
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
718
724
  nullable?: boolean | undefined;
719
725
  }[];
720
726
  };
@@ -724,24 +730,24 @@ export declare const PipelineSchema: z.ZodObject<{
724
730
  partitionBy?: string[] | undefined;
725
731
  };
726
732
  }[];
733
+ };
734
+ }, {
735
+ kind: "step";
736
+ step: {
737
+ id: string;
727
738
  executor: {
728
739
  kind: "sql";
729
740
  dialect: "duckdb";
730
741
  } | {
731
742
  kind: "run";
732
743
  };
733
- };
734
- }, {
735
- kind: "step";
736
- step: {
737
- id: string;
738
744
  mode: "append" | "snapshot";
739
745
  output: {
740
746
  id: string;
741
747
  schema: {
742
748
  columns: {
749
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
743
750
  name: string;
744
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
745
751
  nullable?: boolean | undefined;
746
752
  }[];
747
753
  };
@@ -756,8 +762,8 @@ export declare const PipelineSchema: z.ZodObject<{
756
762
  id: string;
757
763
  schema: {
758
764
  columns: {
765
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
759
766
  name: string;
760
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
761
767
  nullable?: boolean | undefined;
762
768
  }[];
763
769
  };
@@ -767,12 +773,6 @@ export declare const PipelineSchema: z.ZodObject<{
767
773
  partitionBy?: string[] | undefined;
768
774
  };
769
775
  }[];
770
- executor: {
771
- kind: "sql";
772
- dialect: "duckdb";
773
- } | {
774
- kind: "run";
775
- };
776
776
  };
777
777
  }>, "many">;
778
778
  }, "strip", z.ZodTypeAny, {
@@ -781,13 +781,19 @@ export declare const PipelineSchema: z.ZodObject<{
781
781
  kind: "step";
782
782
  step: {
783
783
  id: string;
784
+ executor: {
785
+ kind: "sql";
786
+ dialect: "duckdb";
787
+ } | {
788
+ kind: "run";
789
+ };
784
790
  mode: "append" | "snapshot";
785
791
  output: {
786
792
  id: string;
787
793
  schema: {
788
794
  columns: {
795
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
789
796
  name: string;
790
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
791
797
  nullable?: boolean | undefined;
792
798
  }[];
793
799
  };
@@ -802,8 +808,8 @@ export declare const PipelineSchema: z.ZodObject<{
802
808
  id: string;
803
809
  schema: {
804
810
  columns: {
811
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
805
812
  name: string;
806
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
807
813
  nullable?: boolean | undefined;
808
814
  }[];
809
815
  };
@@ -813,12 +819,6 @@ export declare const PipelineSchema: z.ZodObject<{
813
819
  partitionBy?: string[] | undefined;
814
820
  };
815
821
  }[];
816
- executor: {
817
- kind: "sql";
818
- dialect: "duckdb";
819
- } | {
820
- kind: "run";
821
- };
822
822
  };
823
823
  }[];
824
824
  }, {
@@ -827,13 +827,19 @@ export declare const PipelineSchema: z.ZodObject<{
827
827
  kind: "step";
828
828
  step: {
829
829
  id: string;
830
+ executor: {
831
+ kind: "sql";
832
+ dialect: "duckdb";
833
+ } | {
834
+ kind: "run";
835
+ };
830
836
  mode: "append" | "snapshot";
831
837
  output: {
832
838
  id: string;
833
839
  schema: {
834
840
  columns: {
841
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
835
842
  name: string;
836
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
837
843
  nullable?: boolean | undefined;
838
844
  }[];
839
845
  };
@@ -848,8 +854,8 @@ export declare const PipelineSchema: z.ZodObject<{
848
854
  id: string;
849
855
  schema: {
850
856
  columns: {
857
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
851
858
  name: string;
852
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
853
859
  nullable?: boolean | undefined;
854
860
  }[];
855
861
  };
@@ -859,12 +865,6 @@ export declare const PipelineSchema: z.ZodObject<{
859
865
  partitionBy?: string[] | undefined;
860
866
  };
861
867
  }[];
862
- executor: {
863
- kind: "sql";
864
- dialect: "duckdb";
865
- } | {
866
- kind: "run";
867
- };
868
868
  };
869
869
  }[];
870
870
  }>;
@@ -888,7 +888,7 @@ 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: "succeeded" | "failed" | "queued" | "running" | "cancelled";
891
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
892
892
  projectId: string;
893
893
  id: string;
894
894
  queuedAt: string;
@@ -901,7 +901,7 @@ export declare const PipelineSchema: z.ZodObject<{
901
901
  versionId: string;
902
902
  } | undefined;
903
903
  }, {
904
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
904
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
905
905
  projectId: string;
906
906
  id: string;
907
907
  queuedAt: string;
@@ -921,7 +921,7 @@ export declare const PipelineSchema: z.ZodObject<{
921
921
  scheduleId: string;
922
922
  }[];
923
923
  latestRun: {
924
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
924
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
925
925
  projectId: string;
926
926
  id: string;
927
927
  queuedAt: string;
@@ -940,13 +940,19 @@ export declare const PipelineSchema: z.ZodObject<{
940
940
  kind: "step";
941
941
  step: {
942
942
  id: string;
943
+ executor: {
944
+ kind: "sql";
945
+ dialect: "duckdb";
946
+ } | {
947
+ kind: "run";
948
+ };
943
949
  mode: "append" | "snapshot";
944
950
  output: {
945
951
  id: string;
946
952
  schema: {
947
953
  columns: {
954
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
948
955
  name: string;
949
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
950
956
  nullable?: boolean | undefined;
951
957
  }[];
952
958
  };
@@ -961,8 +967,8 @@ export declare const PipelineSchema: z.ZodObject<{
961
967
  id: string;
962
968
  schema: {
963
969
  columns: {
970
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
964
971
  name: string;
965
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
966
972
  nullable?: boolean | undefined;
967
973
  }[];
968
974
  };
@@ -972,12 +978,6 @@ export declare const PipelineSchema: z.ZodObject<{
972
978
  partitionBy?: string[] | undefined;
973
979
  };
974
980
  }[];
975
- executor: {
976
- kind: "sql";
977
- dialect: "duckdb";
978
- } | {
979
- kind: "run";
980
- };
981
981
  };
982
982
  }[];
983
983
  };
@@ -988,7 +988,7 @@ export declare const PipelineSchema: z.ZodObject<{
988
988
  scheduleId: string;
989
989
  }[];
990
990
  latestRun: {
991
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
991
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
992
992
  projectId: string;
993
993
  id: string;
994
994
  queuedAt: string;
@@ -1007,13 +1007,19 @@ export declare const PipelineSchema: z.ZodObject<{
1007
1007
  kind: "step";
1008
1008
  step: {
1009
1009
  id: string;
1010
+ executor: {
1011
+ kind: "sql";
1012
+ dialect: "duckdb";
1013
+ } | {
1014
+ kind: "run";
1015
+ };
1010
1016
  mode: "append" | "snapshot";
1011
1017
  output: {
1012
1018
  id: string;
1013
1019
  schema: {
1014
1020
  columns: {
1021
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
1015
1022
  name: string;
1016
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
1017
1023
  nullable?: boolean | undefined;
1018
1024
  }[];
1019
1025
  };
@@ -1028,8 +1034,8 @@ export declare const PipelineSchema: z.ZodObject<{
1028
1034
  id: string;
1029
1035
  schema: {
1030
1036
  columns: {
1037
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
1031
1038
  name: string;
1032
- type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
1033
1039
  nullable?: boolean | undefined;
1034
1040
  }[];
1035
1041
  };
@@ -1039,12 +1045,6 @@ export declare const PipelineSchema: z.ZodObject<{
1039
1045
  partitionBy?: string[] | undefined;
1040
1046
  };
1041
1047
  }[];
1042
- executor: {
1043
- kind: "sql";
1044
- dialect: "duckdb";
1045
- } | {
1046
- kind: "run";
1047
- };
1048
1048
  };
1049
1049
  }[];
1050
1050
  };
@@ -1070,7 +1070,7 @@ 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: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1073
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1074
1074
  projectId: string;
1075
1075
  id: string;
1076
1076
  queuedAt: string;
@@ -1083,7 +1083,7 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1083
1083
  versionId: string;
1084
1084
  } | undefined;
1085
1085
  }, {
1086
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1086
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1087
1087
  projectId: string;
1088
1088
  id: string;
1089
1089
  queuedAt: string;
@@ -1100,7 +1100,7 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1100
1100
  total: z.ZodNumber;
1101
1101
  }, "strip", z.ZodTypeAny, {
1102
1102
  runs: {
1103
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1103
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1104
1104
  projectId: string;
1105
1105
  id: string;
1106
1106
  queuedAt: string;
@@ -1117,7 +1117,7 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1117
1117
  total: number;
1118
1118
  }, {
1119
1119
  runs: {
1120
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1120
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1121
1121
  projectId: string;
1122
1122
  id: string;
1123
1123
  queuedAt: string;
@@ -1154,7 +1154,7 @@ 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: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1157
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1158
1158
  projectId: string;
1159
1159
  id: string;
1160
1160
  queuedAt: string;
@@ -1167,7 +1167,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1167
1167
  versionId: string;
1168
1168
  } | undefined;
1169
1169
  }, {
1170
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1170
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1171
1171
  projectId: string;
1172
1172
  id: string;
1173
1173
  queuedAt: string;
@@ -1214,18 +1214,18 @@ 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: "succeeded" | "failed" | "running" | "cancelled";
1217
+ status: "succeeded" | "failed" | "cancelled" | "running";
1218
1218
  projectId: string;
1219
1219
  id: string;
1220
1220
  mode: "append" | "snapshot";
1221
1221
  startedAt: string;
1222
- datasetId: string;
1223
1222
  inputs: {
1224
1223
  datasetId: string;
1225
1224
  versionId: string;
1226
1225
  }[];
1227
- pipelineId: string;
1226
+ datasetId: string;
1228
1227
  stepId: string;
1228
+ pipelineId: 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,18 +1235,18 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1235
1235
  } | undefined;
1236
1236
  rowsWritten?: number | undefined;
1237
1237
  }, {
1238
- status: "succeeded" | "failed" | "running" | "cancelled";
1238
+ status: "succeeded" | "failed" | "cancelled" | "running";
1239
1239
  projectId: string;
1240
1240
  id: string;
1241
1241
  mode: "append" | "snapshot";
1242
1242
  startedAt: string;
1243
- datasetId: string;
1244
1243
  inputs: {
1245
1244
  datasetId: string;
1246
1245
  versionId: string;
1247
1246
  }[];
1248
- pipelineId: string;
1247
+ datasetId: string;
1249
1248
  stepId: string;
1249
+ pipelineId: 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,7 +1258,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1258
1258
  }>, "many">;
1259
1259
  }, "strip", z.ZodTypeAny, {
1260
1260
  run: {
1261
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1261
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1262
1262
  projectId: string;
1263
1263
  id: string;
1264
1264
  queuedAt: string;
@@ -1272,18 +1272,18 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1272
1272
  } | undefined;
1273
1273
  };
1274
1274
  steps: {
1275
- status: "succeeded" | "failed" | "running" | "cancelled";
1275
+ status: "succeeded" | "failed" | "cancelled" | "running";
1276
1276
  projectId: string;
1277
1277
  id: string;
1278
1278
  mode: "append" | "snapshot";
1279
1279
  startedAt: string;
1280
- datasetId: string;
1281
1280
  inputs: {
1282
1281
  datasetId: string;
1283
1282
  versionId: string;
1284
1283
  }[];
1285
- pipelineId: string;
1284
+ datasetId: string;
1286
1285
  stepId: string;
1286
+ pipelineId: 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,7 +1295,7 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1295
1295
  }[];
1296
1296
  }, {
1297
1297
  run: {
1298
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1298
+ status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1299
1299
  projectId: string;
1300
1300
  id: string;
1301
1301
  queuedAt: string;
@@ -1309,18 +1309,18 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1309
1309
  } | undefined;
1310
1310
  };
1311
1311
  steps: {
1312
- status: "succeeded" | "failed" | "running" | "cancelled";
1312
+ status: "succeeded" | "failed" | "cancelled" | "running";
1313
1313
  projectId: string;
1314
1314
  id: string;
1315
1315
  mode: "append" | "snapshot";
1316
1316
  startedAt: string;
1317
- datasetId: string;
1318
1317
  inputs: {
1319
1318
  datasetId: string;
1320
1319
  versionId: string;
1321
1320
  }[];
1322
- pipelineId: string;
1321
+ datasetId: string;
1323
1322
  stepId: string;
1323
+ pipelineId: 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;