@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.
Files changed (171) hide show
  1. package/README.md +3 -3
  2. package/dist/auth/application-access.d.ts +2 -2
  3. package/dist/auth/application-access.d.ts.map +1 -1
  4. package/dist/auth/connector-callback-cookie.d.ts +12 -0
  5. package/dist/auth/connector-callback-cookie.d.ts.map +1 -0
  6. package/dist/auth/guard.d.ts +3 -3
  7. package/dist/auth/guard.d.ts.map +1 -1
  8. package/dist/auth/public-routes.d.ts.map +1 -1
  9. package/dist/auth/scope.d.ts +21 -27
  10. package/dist/auth/scope.d.ts.map +1 -1
  11. package/dist/auth/session-cookies.d.ts +2 -2
  12. package/dist/auth/session-cookies.d.ts.map +1 -1
  13. package/dist/connectors/http.d.ts +16 -0
  14. package/dist/connectors/http.d.ts.map +1 -0
  15. package/dist/files/content.d.ts +11 -0
  16. package/dist/files/content.d.ts.map +1 -1
  17. package/dist/index.js +4164 -3541
  18. package/dist/index.js.map +57 -52
  19. package/dist/openapi/tags.d.ts +11 -3
  20. package/dist/openapi/tags.d.ts.map +1 -1
  21. package/dist/registerRoutes.d.ts +6 -2
  22. package/dist/registerRoutes.d.ts.map +1 -1
  23. package/dist/routes/action-runs.d.ts +21 -31
  24. package/dist/routes/action-runs.d.ts.map +1 -1
  25. package/dist/routes/actions.d.ts +9 -8
  26. package/dist/routes/actions.d.ts.map +1 -1
  27. package/dist/routes/agent-api-gateway.d.ts +2 -2
  28. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  29. package/dist/routes/agents.d.ts +130 -131
  30. package/dist/routes/agents.d.ts.map +1 -1
  31. package/dist/routes/auth.d.ts +90 -90
  32. package/dist/routes/auth.d.ts.map +1 -1
  33. package/dist/routes/connector-connection-runs.d.ts +794 -0
  34. package/dist/routes/connector-connection-runs.d.ts.map +1 -0
  35. package/dist/routes/connector-connections.d.ts +219 -0
  36. package/dist/routes/connector-connections.d.ts.map +1 -0
  37. package/dist/routes/connectors.d.ts +10 -4
  38. package/dist/routes/connectors.d.ts.map +1 -1
  39. package/dist/routes/datasets.d.ts +15 -9
  40. package/dist/routes/datasets.d.ts.map +1 -1
  41. package/dist/routes/events.d.ts +8 -8
  42. package/dist/routes/events.d.ts.map +1 -1
  43. package/dist/routes/files.d.ts +11 -10
  44. package/dist/routes/files.d.ts.map +1 -1
  45. package/dist/routes/links.d.ts +2 -2
  46. package/dist/routes/links.d.ts.map +1 -1
  47. package/dist/routes/logs.d.ts +5 -5
  48. package/dist/routes/logs.d.ts.map +1 -1
  49. package/dist/routes/objects.d.ts +34 -34
  50. package/dist/routes/objects.d.ts.map +1 -1
  51. package/dist/routes/ontology.d.ts +62 -62
  52. package/dist/routes/ontology.d.ts.map +1 -1
  53. package/dist/routes/pipelines.d.ts +28 -34
  54. package/dist/routes/pipelines.d.ts.map +1 -1
  55. package/dist/routes/project.d.ts +2 -2
  56. package/dist/routes/project.d.ts.map +1 -1
  57. package/dist/routes/projections.d.ts +131 -83
  58. package/dist/routes/projections.d.ts.map +1 -1
  59. package/dist/routes/rules.d.ts +6 -6
  60. package/dist/routes/rules.d.ts.map +1 -1
  61. package/dist/routes/status.d.ts +2 -2
  62. package/dist/routes/status.d.ts.map +1 -1
  63. package/dist/routes/syncs.d.ts +27 -30
  64. package/dist/routes/syncs.d.ts.map +1 -1
  65. package/dist/routes/telemetry.d.ts +2 -2
  66. package/dist/routes/telemetry.d.ts.map +1 -1
  67. package/dist/routes/webhook-runs.d.ts +9 -9
  68. package/dist/routes/webhook-runs.d.ts.map +1 -1
  69. package/dist/routes/webhooks.d.ts +2 -2
  70. package/dist/routes/webhooks.d.ts.map +1 -1
  71. package/dist/routes/workflows.d.ts +132 -107
  72. package/dist/routes/workflows.d.ts.map +1 -1
  73. package/dist/routes/ws/agents.d.ts +11 -5
  74. package/dist/routes/ws/agents.d.ts.map +1 -1
  75. package/dist/routes/ws/events.d.ts +8 -8
  76. package/dist/routes/ws/events.d.ts.map +1 -1
  77. package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
  78. package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
  79. package/dist/routes/ws/logs.d.ts +10 -10
  80. package/dist/routes/ws/logs.d.ts.map +1 -1
  81. package/dist/schemas/actions.d.ts +97 -202
  82. package/dist/schemas/actions.d.ts.map +1 -1
  83. package/dist/schemas/agents.d.ts +443 -440
  84. package/dist/schemas/agents.d.ts.map +1 -1
  85. package/dist/schemas/ai-usage.d.ts +34 -0
  86. package/dist/schemas/ai-usage.d.ts.map +1 -0
  87. package/dist/schemas/auth.d.ts +168 -168
  88. package/dist/schemas/common.d.ts +37 -0
  89. package/dist/schemas/common.d.ts.map +1 -1
  90. package/dist/schemas/connectors.d.ts +713 -2
  91. package/dist/schemas/connectors.d.ts.map +1 -1
  92. package/dist/schemas/datasets.d.ts +29 -23
  93. package/dist/schemas/datasets.d.ts.map +1 -1
  94. package/dist/schemas/event-payloads.d.ts +6 -6
  95. package/dist/schemas/events.d.ts +34 -34
  96. package/dist/schemas/logs.d.ts +22 -22
  97. package/dist/schemas/objects.d.ts +10 -10
  98. package/dist/schemas/ontology.d.ts +174 -174
  99. package/dist/schemas/pipelines.d.ts +131 -190
  100. package/dist/schemas/pipelines.d.ts.map +1 -1
  101. package/dist/schemas/projections.d.ts +918 -563
  102. package/dist/schemas/projections.d.ts.map +1 -1
  103. package/dist/schemas/rules.d.ts +6 -6
  104. package/dist/schemas/status.d.ts +2 -2
  105. package/dist/schemas/syncs.d.ts +88 -124
  106. package/dist/schemas/syncs.d.ts.map +1 -1
  107. package/dist/schemas/webhook-runs.d.ts +41 -41
  108. package/dist/schemas/webhook-runs.d.ts.map +1 -1
  109. package/dist/schemas/workflows.d.ts +792 -406
  110. package/dist/schemas/workflows.d.ts.map +1 -1
  111. package/dist/server.d.ts +6 -6
  112. package/dist/server.d.ts.map +1 -1
  113. package/dist/utils/http.d.ts +2 -0
  114. package/dist/utils/http.d.ts.map +1 -1
  115. package/dist/utils/ws.d.ts +4 -3
  116. package/dist/utils/ws.d.ts.map +1 -1
  117. package/package.json +8 -5
  118. package/src/auth/access-token-boundary.ts +4 -4
  119. package/src/auth/application-access.ts +8 -9
  120. package/src/auth/connector-callback-cookie.ts +95 -0
  121. package/src/auth/guard.ts +11 -11
  122. package/src/auth/public-routes.ts +13 -0
  123. package/src/auth/scope.ts +34 -30
  124. package/src/auth/session-cookies.ts +3 -3
  125. package/src/connectors/http.ts +110 -0
  126. package/src/files/content.ts +11 -0
  127. package/src/openapi/tags.ts +9 -1
  128. package/src/registerRoutes.ts +34 -23
  129. package/src/routes/action-runs.ts +49 -42
  130. package/src/routes/actions.ts +7 -13
  131. package/src/routes/agent-api-gateway.ts +87 -42
  132. package/src/routes/agents.ts +89 -200
  133. package/src/routes/auth.ts +87 -91
  134. package/src/routes/connector-connection-runs.ts +346 -0
  135. package/src/routes/connector-connections.ts +135 -0
  136. package/src/routes/connectors.ts +24 -12
  137. package/src/routes/datasets.ts +55 -54
  138. package/src/routes/events.ts +5 -5
  139. package/src/routes/files.ts +24 -31
  140. package/src/routes/links.ts +32 -35
  141. package/src/routes/logs.ts +6 -11
  142. package/src/routes/objects.ts +51 -114
  143. package/src/routes/ontology.ts +27 -38
  144. package/src/routes/pipelines.ts +28 -62
  145. package/src/routes/project.ts +3 -3
  146. package/src/routes/projections.ts +26 -38
  147. package/src/routes/rules.ts +11 -25
  148. package/src/routes/status.ts +5 -5
  149. package/src/routes/syncs.ts +19 -45
  150. package/src/routes/telemetry.ts +18 -29
  151. package/src/routes/webhook-runs.ts +5 -5
  152. package/src/routes/webhooks.ts +259 -341
  153. package/src/routes/workflows.ts +260 -259
  154. package/src/routes/ws/agents.ts +196 -66
  155. package/src/routes/ws/events.ts +11 -10
  156. package/src/routes/ws/log-subscription-hub.ts +6 -12
  157. package/src/routes/ws/logs.ts +13 -5
  158. package/src/schemas/actions.ts +58 -25
  159. package/src/schemas/agents.ts +19 -14
  160. package/src/schemas/ai-usage.ts +16 -0
  161. package/src/schemas/common.ts +24 -0
  162. package/src/schemas/connectors.ts +164 -0
  163. package/src/schemas/datasets.ts +3 -2
  164. package/src/schemas/pipelines.ts +24 -40
  165. package/src/schemas/projections.ts +17 -3
  166. package/src/schemas/syncs.ts +16 -10
  167. package/src/schemas/webhook-runs.ts +10 -5
  168. package/src/schemas/workflows.ts +42 -25
  169. package/src/server.ts +65 -26
  170. package/src/utils/http.ts +34 -6
  171. package/src/utils/ws.ts +10 -5
@@ -1,10 +1,12 @@
1
+ import type { SixbFailure } from "@sixb/core";
1
2
  import { z } from "zod";
2
3
  export declare const ProjectionKindSchema: z.ZodEnum<["object", "link", "telemetry"]>;
3
- export declare const ProjectionRunStatusSchema: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
4
+ export declare const ProjectionRunStatusSchema: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4
5
  export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
5
6
  id: z.ZodString;
6
7
  projectId: z.ZodString;
7
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
8
+ executionId: z.ZodString;
9
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
8
10
  attempt: z.ZodNumber;
9
11
  progress: z.ZodObject<{
10
12
  sourceRowsRead: z.ZodNumber;
@@ -16,9 +18,10 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
16
18
  sourceRowsRead: number;
17
19
  sourceRowsSkipped: number;
18
20
  }>;
19
- startedAt: z.ZodString;
21
+ queuedAt: z.ZodString;
22
+ startedAt: z.ZodOptional<z.ZodString>;
20
23
  finishedAt: z.ZodOptional<z.ZodString>;
21
- errorMessage: z.ZodOptional<z.ZodString>;
24
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
22
25
  } & {
23
26
  identity: z.ZodObject<{
24
27
  projectionId: z.ZodString;
@@ -74,11 +77,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
74
77
  objectTypeId: string;
75
78
  }>;
76
79
  }, "strip", z.ZodTypeAny, {
77
- status: "running" | "succeeded" | "failed" | "cancelled";
78
80
  projectId: string;
79
81
  id: string;
80
- startedAt: string;
82
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
83
+ queuedAt: string;
81
84
  attempt: number;
85
+ executionId: string;
82
86
  progress: {
83
87
  sourceRowsRead: number;
84
88
  sourceRowsSkipped: number;
@@ -99,14 +103,16 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
99
103
  target: {
100
104
  objectTypeId: string;
101
105
  };
106
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
107
+ startedAt?: string | undefined;
102
108
  finishedAt?: string | undefined;
103
- errorMessage?: string | undefined;
104
109
  }, {
105
- status: "running" | "succeeded" | "failed" | "cancelled";
106
110
  projectId: string;
107
111
  id: string;
108
- startedAt: string;
112
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
113
+ queuedAt: string;
109
114
  attempt: number;
115
+ executionId: string;
110
116
  progress: {
111
117
  sourceRowsRead: number;
112
118
  sourceRowsSkipped: number;
@@ -127,12 +133,14 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
127
133
  target: {
128
134
  objectTypeId: string;
129
135
  };
136
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
137
+ startedAt?: string | undefined;
130
138
  finishedAt?: string | undefined;
131
- errorMessage?: string | undefined;
132
139
  }>, z.ZodObject<{
133
140
  id: z.ZodString;
134
141
  projectId: z.ZodString;
135
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
142
+ executionId: z.ZodString;
143
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
136
144
  attempt: z.ZodNumber;
137
145
  progress: z.ZodObject<{
138
146
  sourceRowsRead: z.ZodNumber;
@@ -144,9 +152,10 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
144
152
  sourceRowsRead: number;
145
153
  sourceRowsSkipped: number;
146
154
  }>;
147
- startedAt: z.ZodString;
155
+ queuedAt: z.ZodString;
156
+ startedAt: z.ZodOptional<z.ZodString>;
148
157
  finishedAt: z.ZodOptional<z.ZodString>;
149
- errorMessage: z.ZodOptional<z.ZodString>;
158
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
150
159
  } & {
151
160
  identity: z.ZodObject<{
152
161
  projectionId: z.ZodString;
@@ -205,11 +214,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
205
214
  sourceObjectTypeId: string;
206
215
  }>;
207
216
  }, "strip", z.ZodTypeAny, {
208
- status: "running" | "succeeded" | "failed" | "cancelled";
209
217
  projectId: string;
210
218
  id: string;
211
- startedAt: string;
219
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
220
+ queuedAt: string;
212
221
  attempt: number;
222
+ executionId: string;
213
223
  progress: {
214
224
  sourceRowsRead: number;
215
225
  sourceRowsSkipped: number;
@@ -231,14 +241,16 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
231
241
  targetObjectTypeId: string;
232
242
  sourceObjectTypeId: string;
233
243
  };
244
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
245
+ startedAt?: string | undefined;
234
246
  finishedAt?: string | undefined;
235
- errorMessage?: string | undefined;
236
247
  }, {
237
- status: "running" | "succeeded" | "failed" | "cancelled";
238
248
  projectId: string;
239
249
  id: string;
240
- startedAt: string;
250
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
251
+ queuedAt: string;
241
252
  attempt: number;
253
+ executionId: string;
242
254
  progress: {
243
255
  sourceRowsRead: number;
244
256
  sourceRowsSkipped: number;
@@ -260,12 +272,14 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
260
272
  targetObjectTypeId: string;
261
273
  sourceObjectTypeId: string;
262
274
  };
275
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
276
+ startedAt?: string | undefined;
263
277
  finishedAt?: string | undefined;
264
- errorMessage?: string | undefined;
265
278
  }>, z.ZodObject<{
266
279
  id: z.ZodString;
267
280
  projectId: z.ZodString;
268
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
281
+ executionId: z.ZodString;
282
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
269
283
  attempt: z.ZodNumber;
270
284
  progress: z.ZodObject<{
271
285
  sourceRowsRead: z.ZodNumber;
@@ -277,9 +291,10 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
277
291
  sourceRowsRead: number;
278
292
  sourceRowsSkipped: number;
279
293
  }>;
280
- startedAt: z.ZodString;
294
+ queuedAt: z.ZodString;
295
+ startedAt: z.ZodOptional<z.ZodString>;
281
296
  finishedAt: z.ZodOptional<z.ZodString>;
282
- errorMessage: z.ZodOptional<z.ZodString>;
297
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
283
298
  } & {
284
299
  identity: z.ZodObject<{
285
300
  projectionId: z.ZodString;
@@ -335,11 +350,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
335
350
  objectTypeId: string;
336
351
  }>;
337
352
  }, "strip", z.ZodTypeAny, {
338
- status: "running" | "succeeded" | "failed" | "cancelled";
339
353
  projectId: string;
340
354
  id: string;
341
- startedAt: string;
355
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
356
+ queuedAt: string;
342
357
  attempt: number;
358
+ executionId: string;
343
359
  progress: {
344
360
  sourceRowsRead: number;
345
361
  sourceRowsSkipped: number;
@@ -360,14 +376,16 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
360
376
  target: {
361
377
  objectTypeId: string;
362
378
  };
379
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
380
+ startedAt?: string | undefined;
363
381
  finishedAt?: string | undefined;
364
- errorMessage?: string | undefined;
365
382
  }, {
366
- status: "running" | "succeeded" | "failed" | "cancelled";
367
383
  projectId: string;
368
384
  id: string;
369
- startedAt: string;
385
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
386
+ queuedAt: string;
370
387
  attempt: number;
388
+ executionId: string;
371
389
  progress: {
372
390
  sourceRowsRead: number;
373
391
  sourceRowsSkipped: number;
@@ -388,8 +406,9 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
388
406
  target: {
389
407
  objectTypeId: string;
390
408
  };
409
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
410
+ startedAt?: string | undefined;
391
411
  finishedAt?: string | undefined;
392
- errorMessage?: string | undefined;
393
412
  }>]>;
394
413
  export declare const ForeignKeyDescriptorSchema: z.ZodObject<{
395
414
  linkId: z.ZodString;
@@ -432,7 +451,8 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
432
451
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
433
452
  id: z.ZodString;
434
453
  projectId: z.ZodString;
435
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
454
+ executionId: z.ZodString;
455
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
436
456
  attempt: z.ZodNumber;
437
457
  progress: z.ZodObject<{
438
458
  sourceRowsRead: z.ZodNumber;
@@ -444,9 +464,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
444
464
  sourceRowsRead: number;
445
465
  sourceRowsSkipped: number;
446
466
  }>;
447
- startedAt: z.ZodString;
467
+ queuedAt: z.ZodString;
468
+ startedAt: z.ZodOptional<z.ZodString>;
448
469
  finishedAt: z.ZodOptional<z.ZodString>;
449
- errorMessage: z.ZodOptional<z.ZodString>;
470
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
450
471
  } & {
451
472
  identity: z.ZodObject<{
452
473
  projectionId: z.ZodString;
@@ -502,11 +523,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
502
523
  objectTypeId: string;
503
524
  }>;
504
525
  }, "strip", z.ZodTypeAny, {
505
- status: "running" | "succeeded" | "failed" | "cancelled";
506
526
  projectId: string;
507
527
  id: string;
508
- startedAt: string;
528
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
529
+ queuedAt: string;
509
530
  attempt: number;
531
+ executionId: string;
510
532
  progress: {
511
533
  sourceRowsRead: number;
512
534
  sourceRowsSkipped: number;
@@ -527,14 +549,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
527
549
  target: {
528
550
  objectTypeId: string;
529
551
  };
552
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
553
+ startedAt?: string | undefined;
530
554
  finishedAt?: string | undefined;
531
- errorMessage?: string | undefined;
532
555
  }, {
533
- status: "running" | "succeeded" | "failed" | "cancelled";
534
556
  projectId: string;
535
557
  id: string;
536
- startedAt: string;
558
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
559
+ queuedAt: string;
537
560
  attempt: number;
561
+ executionId: string;
538
562
  progress: {
539
563
  sourceRowsRead: number;
540
564
  sourceRowsSkipped: number;
@@ -555,12 +579,14 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
555
579
  target: {
556
580
  objectTypeId: string;
557
581
  };
582
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
583
+ startedAt?: string | undefined;
558
584
  finishedAt?: string | undefined;
559
- errorMessage?: string | undefined;
560
585
  }>, z.ZodObject<{
561
586
  id: z.ZodString;
562
587
  projectId: z.ZodString;
563
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
588
+ executionId: z.ZodString;
589
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
564
590
  attempt: z.ZodNumber;
565
591
  progress: z.ZodObject<{
566
592
  sourceRowsRead: z.ZodNumber;
@@ -572,9 +598,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
572
598
  sourceRowsRead: number;
573
599
  sourceRowsSkipped: number;
574
600
  }>;
575
- startedAt: z.ZodString;
601
+ queuedAt: z.ZodString;
602
+ startedAt: z.ZodOptional<z.ZodString>;
576
603
  finishedAt: z.ZodOptional<z.ZodString>;
577
- errorMessage: z.ZodOptional<z.ZodString>;
604
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
578
605
  } & {
579
606
  identity: z.ZodObject<{
580
607
  projectionId: z.ZodString;
@@ -633,11 +660,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
633
660
  sourceObjectTypeId: string;
634
661
  }>;
635
662
  }, "strip", z.ZodTypeAny, {
636
- status: "running" | "succeeded" | "failed" | "cancelled";
637
663
  projectId: string;
638
664
  id: string;
639
- startedAt: string;
665
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
666
+ queuedAt: string;
640
667
  attempt: number;
668
+ executionId: string;
641
669
  progress: {
642
670
  sourceRowsRead: number;
643
671
  sourceRowsSkipped: number;
@@ -659,14 +687,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
659
687
  targetObjectTypeId: string;
660
688
  sourceObjectTypeId: string;
661
689
  };
690
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
691
+ startedAt?: string | undefined;
662
692
  finishedAt?: string | undefined;
663
- errorMessage?: string | undefined;
664
693
  }, {
665
- status: "running" | "succeeded" | "failed" | "cancelled";
666
694
  projectId: string;
667
695
  id: string;
668
- startedAt: string;
696
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
697
+ queuedAt: string;
669
698
  attempt: number;
699
+ executionId: string;
670
700
  progress: {
671
701
  sourceRowsRead: number;
672
702
  sourceRowsSkipped: number;
@@ -688,12 +718,14 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
688
718
  targetObjectTypeId: string;
689
719
  sourceObjectTypeId: string;
690
720
  };
721
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
722
+ startedAt?: string | undefined;
691
723
  finishedAt?: string | undefined;
692
- errorMessage?: string | undefined;
693
724
  }>, z.ZodObject<{
694
725
  id: z.ZodString;
695
726
  projectId: z.ZodString;
696
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
727
+ executionId: z.ZodString;
728
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
697
729
  attempt: z.ZodNumber;
698
730
  progress: z.ZodObject<{
699
731
  sourceRowsRead: z.ZodNumber;
@@ -705,9 +737,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
705
737
  sourceRowsRead: number;
706
738
  sourceRowsSkipped: number;
707
739
  }>;
708
- startedAt: z.ZodString;
740
+ queuedAt: z.ZodString;
741
+ startedAt: z.ZodOptional<z.ZodString>;
709
742
  finishedAt: z.ZodOptional<z.ZodString>;
710
- errorMessage: z.ZodOptional<z.ZodString>;
743
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
711
744
  } & {
712
745
  identity: z.ZodObject<{
713
746
  projectionId: z.ZodString;
@@ -763,11 +796,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
763
796
  objectTypeId: string;
764
797
  }>;
765
798
  }, "strip", z.ZodTypeAny, {
766
- status: "running" | "succeeded" | "failed" | "cancelled";
767
799
  projectId: string;
768
800
  id: string;
769
- startedAt: string;
801
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
802
+ queuedAt: string;
770
803
  attempt: number;
804
+ executionId: string;
771
805
  progress: {
772
806
  sourceRowsRead: number;
773
807
  sourceRowsSkipped: number;
@@ -788,14 +822,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
788
822
  target: {
789
823
  objectTypeId: string;
790
824
  };
825
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
826
+ startedAt?: string | undefined;
791
827
  finishedAt?: string | undefined;
792
- errorMessage?: string | undefined;
793
828
  }, {
794
- status: "running" | "succeeded" | "failed" | "cancelled";
795
829
  projectId: string;
796
830
  id: string;
797
- startedAt: string;
831
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
832
+ queuedAt: string;
798
833
  attempt: number;
834
+ executionId: string;
799
835
  progress: {
800
836
  sourceRowsRead: number;
801
837
  sourceRowsSkipped: number;
@@ -816,26 +852,28 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
816
852
  target: {
817
853
  objectTypeId: string;
818
854
  };
855
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
856
+ startedAt?: string | undefined;
819
857
  finishedAt?: string | undefined;
820
- errorMessage?: string | undefined;
821
858
  }>]>>;
822
859
  }, "strip", z.ZodTypeAny, {
860
+ id: string;
823
861
  links: Record<string, {
824
862
  targetObjectTypeId: string;
825
863
  linkId: string;
826
864
  sourcePropertyId?: string | undefined;
827
865
  sourceField?: string | undefined;
828
866
  }>;
829
- objectTypeId: string;
830
- id: string;
831
867
  properties: Record<string, string>;
868
+ objectTypeId: string;
832
869
  datasetId: string;
833
870
  latestRun: {
834
- status: "running" | "succeeded" | "failed" | "cancelled";
835
871
  projectId: string;
836
872
  id: string;
837
- startedAt: string;
873
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
874
+ queuedAt: string;
838
875
  attempt: number;
876
+ executionId: string;
839
877
  progress: {
840
878
  sourceRowsRead: number;
841
879
  sourceRowsSkipped: number;
@@ -856,14 +894,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
856
894
  target: {
857
895
  objectTypeId: string;
858
896
  };
897
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
898
+ startedAt?: string | undefined;
859
899
  finishedAt?: string | undefined;
860
- errorMessage?: string | undefined;
861
900
  } | {
862
- status: "running" | "succeeded" | "failed" | "cancelled";
863
901
  projectId: string;
864
902
  id: string;
865
- startedAt: string;
903
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
904
+ queuedAt: string;
866
905
  attempt: number;
906
+ executionId: string;
867
907
  progress: {
868
908
  sourceRowsRead: number;
869
909
  sourceRowsSkipped: number;
@@ -885,14 +925,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
885
925
  targetObjectTypeId: string;
886
926
  sourceObjectTypeId: string;
887
927
  };
928
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
929
+ startedAt?: string | undefined;
888
930
  finishedAt?: string | undefined;
889
- errorMessage?: string | undefined;
890
931
  } | {
891
- status: "running" | "succeeded" | "failed" | "cancelled";
892
932
  projectId: string;
893
933
  id: string;
894
- startedAt: string;
934
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
935
+ queuedAt: string;
895
936
  attempt: number;
937
+ executionId: string;
896
938
  progress: {
897
939
  sourceRowsRead: number;
898
940
  sourceRowsSkipped: number;
@@ -913,27 +955,29 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
913
955
  target: {
914
956
  objectTypeId: string;
915
957
  };
958
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
959
+ startedAt?: string | undefined;
916
960
  finishedAt?: string | undefined;
917
- errorMessage?: string | undefined;
918
961
  } | null;
919
962
  _tag: "ObjectProjectionDefinition";
920
963
  }, {
964
+ id: string;
921
965
  links: Record<string, {
922
966
  targetObjectTypeId: string;
923
967
  linkId: string;
924
968
  sourcePropertyId?: string | undefined;
925
969
  sourceField?: string | undefined;
926
970
  }>;
927
- objectTypeId: string;
928
- id: string;
929
971
  properties: Record<string, string>;
972
+ objectTypeId: string;
930
973
  datasetId: string;
931
974
  latestRun: {
932
- status: "running" | "succeeded" | "failed" | "cancelled";
933
975
  projectId: string;
934
976
  id: string;
935
- startedAt: string;
977
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
978
+ queuedAt: string;
936
979
  attempt: number;
980
+ executionId: string;
937
981
  progress: {
938
982
  sourceRowsRead: number;
939
983
  sourceRowsSkipped: number;
@@ -954,14 +998,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
954
998
  target: {
955
999
  objectTypeId: string;
956
1000
  };
1001
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1002
+ startedAt?: string | undefined;
957
1003
  finishedAt?: string | undefined;
958
- errorMessage?: string | undefined;
959
1004
  } | {
960
- status: "running" | "succeeded" | "failed" | "cancelled";
961
1005
  projectId: string;
962
1006
  id: string;
963
- startedAt: string;
1007
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1008
+ queuedAt: string;
964
1009
  attempt: number;
1010
+ executionId: string;
965
1011
  progress: {
966
1012
  sourceRowsRead: number;
967
1013
  sourceRowsSkipped: number;
@@ -983,14 +1029,16 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
983
1029
  targetObjectTypeId: string;
984
1030
  sourceObjectTypeId: string;
985
1031
  };
1032
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1033
+ startedAt?: string | undefined;
986
1034
  finishedAt?: string | undefined;
987
- errorMessage?: string | undefined;
988
1035
  } | {
989
- status: "running" | "succeeded" | "failed" | "cancelled";
990
1036
  projectId: string;
991
1037
  id: string;
992
- startedAt: string;
1038
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1039
+ queuedAt: string;
993
1040
  attempt: number;
1041
+ executionId: string;
994
1042
  progress: {
995
1043
  sourceRowsRead: number;
996
1044
  sourceRowsSkipped: number;
@@ -1011,8 +1059,9 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1011
1059
  target: {
1012
1060
  objectTypeId: string;
1013
1061
  };
1062
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1063
+ startedAt?: string | undefined;
1014
1064
  finishedAt?: string | undefined;
1015
- errorMessage?: string | undefined;
1016
1065
  } | null;
1017
1066
  _tag: "ObjectProjectionDefinition";
1018
1067
  }>;
@@ -1028,7 +1077,8 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1028
1077
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1029
1078
  id: z.ZodString;
1030
1079
  projectId: z.ZodString;
1031
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1080
+ executionId: z.ZodString;
1081
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1032
1082
  attempt: z.ZodNumber;
1033
1083
  progress: z.ZodObject<{
1034
1084
  sourceRowsRead: z.ZodNumber;
@@ -1040,9 +1090,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1040
1090
  sourceRowsRead: number;
1041
1091
  sourceRowsSkipped: number;
1042
1092
  }>;
1043
- startedAt: z.ZodString;
1093
+ queuedAt: z.ZodString;
1094
+ startedAt: z.ZodOptional<z.ZodString>;
1044
1095
  finishedAt: z.ZodOptional<z.ZodString>;
1045
- errorMessage: z.ZodOptional<z.ZodString>;
1096
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1046
1097
  } & {
1047
1098
  identity: z.ZodObject<{
1048
1099
  projectionId: z.ZodString;
@@ -1098,11 +1149,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1098
1149
  objectTypeId: string;
1099
1150
  }>;
1100
1151
  }, "strip", z.ZodTypeAny, {
1101
- status: "running" | "succeeded" | "failed" | "cancelled";
1102
1152
  projectId: string;
1103
1153
  id: string;
1104
- startedAt: string;
1154
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1155
+ queuedAt: string;
1105
1156
  attempt: number;
1157
+ executionId: string;
1106
1158
  progress: {
1107
1159
  sourceRowsRead: number;
1108
1160
  sourceRowsSkipped: number;
@@ -1123,14 +1175,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1123
1175
  target: {
1124
1176
  objectTypeId: string;
1125
1177
  };
1178
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1179
+ startedAt?: string | undefined;
1126
1180
  finishedAt?: string | undefined;
1127
- errorMessage?: string | undefined;
1128
1181
  }, {
1129
- status: "running" | "succeeded" | "failed" | "cancelled";
1130
1182
  projectId: string;
1131
1183
  id: string;
1132
- startedAt: string;
1184
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1185
+ queuedAt: string;
1133
1186
  attempt: number;
1187
+ executionId: string;
1134
1188
  progress: {
1135
1189
  sourceRowsRead: number;
1136
1190
  sourceRowsSkipped: number;
@@ -1151,12 +1205,14 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1151
1205
  target: {
1152
1206
  objectTypeId: string;
1153
1207
  };
1208
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1209
+ startedAt?: string | undefined;
1154
1210
  finishedAt?: string | undefined;
1155
- errorMessage?: string | undefined;
1156
1211
  }>, z.ZodObject<{
1157
1212
  id: z.ZodString;
1158
1213
  projectId: z.ZodString;
1159
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1214
+ executionId: z.ZodString;
1215
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1160
1216
  attempt: z.ZodNumber;
1161
1217
  progress: z.ZodObject<{
1162
1218
  sourceRowsRead: z.ZodNumber;
@@ -1168,9 +1224,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1168
1224
  sourceRowsRead: number;
1169
1225
  sourceRowsSkipped: number;
1170
1226
  }>;
1171
- startedAt: z.ZodString;
1227
+ queuedAt: z.ZodString;
1228
+ startedAt: z.ZodOptional<z.ZodString>;
1172
1229
  finishedAt: z.ZodOptional<z.ZodString>;
1173
- errorMessage: z.ZodOptional<z.ZodString>;
1230
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1174
1231
  } & {
1175
1232
  identity: z.ZodObject<{
1176
1233
  projectionId: z.ZodString;
@@ -1229,11 +1286,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1229
1286
  sourceObjectTypeId: string;
1230
1287
  }>;
1231
1288
  }, "strip", z.ZodTypeAny, {
1232
- status: "running" | "succeeded" | "failed" | "cancelled";
1233
1289
  projectId: string;
1234
1290
  id: string;
1235
- startedAt: string;
1291
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1292
+ queuedAt: string;
1236
1293
  attempt: number;
1294
+ executionId: string;
1237
1295
  progress: {
1238
1296
  sourceRowsRead: number;
1239
1297
  sourceRowsSkipped: number;
@@ -1255,14 +1313,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1255
1313
  targetObjectTypeId: string;
1256
1314
  sourceObjectTypeId: string;
1257
1315
  };
1316
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1317
+ startedAt?: string | undefined;
1258
1318
  finishedAt?: string | undefined;
1259
- errorMessage?: string | undefined;
1260
1319
  }, {
1261
- status: "running" | "succeeded" | "failed" | "cancelled";
1262
1320
  projectId: string;
1263
1321
  id: string;
1264
- startedAt: string;
1322
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1323
+ queuedAt: string;
1265
1324
  attempt: number;
1325
+ executionId: string;
1266
1326
  progress: {
1267
1327
  sourceRowsRead: number;
1268
1328
  sourceRowsSkipped: number;
@@ -1284,12 +1344,14 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1284
1344
  targetObjectTypeId: string;
1285
1345
  sourceObjectTypeId: string;
1286
1346
  };
1347
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1348
+ startedAt?: string | undefined;
1287
1349
  finishedAt?: string | undefined;
1288
- errorMessage?: string | undefined;
1289
1350
  }>, z.ZodObject<{
1290
1351
  id: z.ZodString;
1291
1352
  projectId: z.ZodString;
1292
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1353
+ executionId: z.ZodString;
1354
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1293
1355
  attempt: z.ZodNumber;
1294
1356
  progress: z.ZodObject<{
1295
1357
  sourceRowsRead: z.ZodNumber;
@@ -1301,9 +1363,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1301
1363
  sourceRowsRead: number;
1302
1364
  sourceRowsSkipped: number;
1303
1365
  }>;
1304
- startedAt: z.ZodString;
1366
+ queuedAt: z.ZodString;
1367
+ startedAt: z.ZodOptional<z.ZodString>;
1305
1368
  finishedAt: z.ZodOptional<z.ZodString>;
1306
- errorMessage: z.ZodOptional<z.ZodString>;
1369
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1307
1370
  } & {
1308
1371
  identity: z.ZodObject<{
1309
1372
  projectionId: z.ZodString;
@@ -1359,11 +1422,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1359
1422
  objectTypeId: string;
1360
1423
  }>;
1361
1424
  }, "strip", z.ZodTypeAny, {
1362
- status: "running" | "succeeded" | "failed" | "cancelled";
1363
1425
  projectId: string;
1364
1426
  id: string;
1365
- startedAt: string;
1427
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1428
+ queuedAt: string;
1366
1429
  attempt: number;
1430
+ executionId: string;
1367
1431
  progress: {
1368
1432
  sourceRowsRead: number;
1369
1433
  sourceRowsSkipped: number;
@@ -1384,14 +1448,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1384
1448
  target: {
1385
1449
  objectTypeId: string;
1386
1450
  };
1451
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1452
+ startedAt?: string | undefined;
1387
1453
  finishedAt?: string | undefined;
1388
- errorMessage?: string | undefined;
1389
1454
  }, {
1390
- status: "running" | "succeeded" | "failed" | "cancelled";
1391
1455
  projectId: string;
1392
1456
  id: string;
1393
- startedAt: string;
1457
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1458
+ queuedAt: string;
1394
1459
  attempt: number;
1460
+ executionId: string;
1395
1461
  progress: {
1396
1462
  sourceRowsRead: number;
1397
1463
  sourceRowsSkipped: number;
@@ -1412,8 +1478,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1412
1478
  target: {
1413
1479
  objectTypeId: string;
1414
1480
  };
1481
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1482
+ startedAt?: string | undefined;
1415
1483
  finishedAt?: string | undefined;
1416
- errorMessage?: string | undefined;
1417
1484
  }>]>>;
1418
1485
  }, "strip", z.ZodTypeAny, {
1419
1486
  id: string;
@@ -1422,11 +1489,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1422
1489
  linkId: string;
1423
1490
  sourceObjectTypeId: string;
1424
1491
  latestRun: {
1425
- status: "running" | "succeeded" | "failed" | "cancelled";
1426
1492
  projectId: string;
1427
1493
  id: string;
1428
- startedAt: string;
1494
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1495
+ queuedAt: string;
1429
1496
  attempt: number;
1497
+ executionId: string;
1430
1498
  progress: {
1431
1499
  sourceRowsRead: number;
1432
1500
  sourceRowsSkipped: number;
@@ -1447,14 +1515,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1447
1515
  target: {
1448
1516
  objectTypeId: string;
1449
1517
  };
1518
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1519
+ startedAt?: string | undefined;
1450
1520
  finishedAt?: string | undefined;
1451
- errorMessage?: string | undefined;
1452
1521
  } | {
1453
- status: "running" | "succeeded" | "failed" | "cancelled";
1454
1522
  projectId: string;
1455
1523
  id: string;
1456
- startedAt: string;
1524
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1525
+ queuedAt: string;
1457
1526
  attempt: number;
1527
+ executionId: string;
1458
1528
  progress: {
1459
1529
  sourceRowsRead: number;
1460
1530
  sourceRowsSkipped: number;
@@ -1476,14 +1546,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1476
1546
  targetObjectTypeId: string;
1477
1547
  sourceObjectTypeId: string;
1478
1548
  };
1549
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1550
+ startedAt?: string | undefined;
1479
1551
  finishedAt?: string | undefined;
1480
- errorMessage?: string | undefined;
1481
1552
  } | {
1482
- status: "running" | "succeeded" | "failed" | "cancelled";
1483
1553
  projectId: string;
1484
1554
  id: string;
1485
- startedAt: string;
1555
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1556
+ queuedAt: string;
1486
1557
  attempt: number;
1558
+ executionId: string;
1487
1559
  progress: {
1488
1560
  sourceRowsRead: number;
1489
1561
  sourceRowsSkipped: number;
@@ -1504,8 +1576,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1504
1576
  target: {
1505
1577
  objectTypeId: string;
1506
1578
  };
1579
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1580
+ startedAt?: string | undefined;
1507
1581
  finishedAt?: string | undefined;
1508
- errorMessage?: string | undefined;
1509
1582
  } | null;
1510
1583
  sourceField: string;
1511
1584
  _tag: "LinkProjectionDefinition";
@@ -1517,11 +1590,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1517
1590
  linkId: string;
1518
1591
  sourceObjectTypeId: string;
1519
1592
  latestRun: {
1520
- status: "running" | "succeeded" | "failed" | "cancelled";
1521
1593
  projectId: string;
1522
1594
  id: string;
1523
- startedAt: string;
1595
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1596
+ queuedAt: string;
1524
1597
  attempt: number;
1598
+ executionId: string;
1525
1599
  progress: {
1526
1600
  sourceRowsRead: number;
1527
1601
  sourceRowsSkipped: number;
@@ -1542,14 +1616,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1542
1616
  target: {
1543
1617
  objectTypeId: string;
1544
1618
  };
1619
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1620
+ startedAt?: string | undefined;
1545
1621
  finishedAt?: string | undefined;
1546
- errorMessage?: string | undefined;
1547
1622
  } | {
1548
- status: "running" | "succeeded" | "failed" | "cancelled";
1549
1623
  projectId: string;
1550
1624
  id: string;
1551
- startedAt: string;
1625
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1626
+ queuedAt: string;
1552
1627
  attempt: number;
1628
+ executionId: string;
1553
1629
  progress: {
1554
1630
  sourceRowsRead: number;
1555
1631
  sourceRowsSkipped: number;
@@ -1571,14 +1647,16 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1571
1647
  targetObjectTypeId: string;
1572
1648
  sourceObjectTypeId: string;
1573
1649
  };
1650
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1651
+ startedAt?: string | undefined;
1574
1652
  finishedAt?: string | undefined;
1575
- errorMessage?: string | undefined;
1576
1653
  } | {
1577
- status: "running" | "succeeded" | "failed" | "cancelled";
1578
1654
  projectId: string;
1579
1655
  id: string;
1580
- startedAt: string;
1656
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1657
+ queuedAt: string;
1581
1658
  attempt: number;
1659
+ executionId: string;
1582
1660
  progress: {
1583
1661
  sourceRowsRead: number;
1584
1662
  sourceRowsSkipped: number;
@@ -1599,8 +1677,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1599
1677
  target: {
1600
1678
  objectTypeId: string;
1601
1679
  };
1680
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1681
+ startedAt?: string | undefined;
1602
1682
  finishedAt?: string | undefined;
1603
- errorMessage?: string | undefined;
1604
1683
  } | null;
1605
1684
  sourceField: string;
1606
1685
  _tag: "LinkProjectionDefinition";
@@ -1619,7 +1698,8 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1619
1698
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1620
1699
  id: z.ZodString;
1621
1700
  projectId: z.ZodString;
1622
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1701
+ executionId: z.ZodString;
1702
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1623
1703
  attempt: z.ZodNumber;
1624
1704
  progress: z.ZodObject<{
1625
1705
  sourceRowsRead: z.ZodNumber;
@@ -1631,9 +1711,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1631
1711
  sourceRowsRead: number;
1632
1712
  sourceRowsSkipped: number;
1633
1713
  }>;
1634
- startedAt: z.ZodString;
1714
+ queuedAt: z.ZodString;
1715
+ startedAt: z.ZodOptional<z.ZodString>;
1635
1716
  finishedAt: z.ZodOptional<z.ZodString>;
1636
- errorMessage: z.ZodOptional<z.ZodString>;
1717
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1637
1718
  } & {
1638
1719
  identity: z.ZodObject<{
1639
1720
  projectionId: z.ZodString;
@@ -1689,11 +1770,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1689
1770
  objectTypeId: string;
1690
1771
  }>;
1691
1772
  }, "strip", z.ZodTypeAny, {
1692
- status: "running" | "succeeded" | "failed" | "cancelled";
1693
1773
  projectId: string;
1694
1774
  id: string;
1695
- startedAt: string;
1775
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1776
+ queuedAt: string;
1696
1777
  attempt: number;
1778
+ executionId: string;
1697
1779
  progress: {
1698
1780
  sourceRowsRead: number;
1699
1781
  sourceRowsSkipped: number;
@@ -1714,14 +1796,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1714
1796
  target: {
1715
1797
  objectTypeId: string;
1716
1798
  };
1799
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1800
+ startedAt?: string | undefined;
1717
1801
  finishedAt?: string | undefined;
1718
- errorMessage?: string | undefined;
1719
1802
  }, {
1720
- status: "running" | "succeeded" | "failed" | "cancelled";
1721
1803
  projectId: string;
1722
1804
  id: string;
1723
- startedAt: string;
1805
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1806
+ queuedAt: string;
1724
1807
  attempt: number;
1808
+ executionId: string;
1725
1809
  progress: {
1726
1810
  sourceRowsRead: number;
1727
1811
  sourceRowsSkipped: number;
@@ -1742,12 +1826,14 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1742
1826
  target: {
1743
1827
  objectTypeId: string;
1744
1828
  };
1829
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1830
+ startedAt?: string | undefined;
1745
1831
  finishedAt?: string | undefined;
1746
- errorMessage?: string | undefined;
1747
1832
  }>, z.ZodObject<{
1748
1833
  id: z.ZodString;
1749
1834
  projectId: z.ZodString;
1750
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1835
+ executionId: z.ZodString;
1836
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1751
1837
  attempt: z.ZodNumber;
1752
1838
  progress: z.ZodObject<{
1753
1839
  sourceRowsRead: z.ZodNumber;
@@ -1759,9 +1845,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1759
1845
  sourceRowsRead: number;
1760
1846
  sourceRowsSkipped: number;
1761
1847
  }>;
1762
- startedAt: z.ZodString;
1848
+ queuedAt: z.ZodString;
1849
+ startedAt: z.ZodOptional<z.ZodString>;
1763
1850
  finishedAt: z.ZodOptional<z.ZodString>;
1764
- errorMessage: z.ZodOptional<z.ZodString>;
1851
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1765
1852
  } & {
1766
1853
  identity: z.ZodObject<{
1767
1854
  projectionId: z.ZodString;
@@ -1820,11 +1907,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1820
1907
  sourceObjectTypeId: string;
1821
1908
  }>;
1822
1909
  }, "strip", z.ZodTypeAny, {
1823
- status: "running" | "succeeded" | "failed" | "cancelled";
1824
1910
  projectId: string;
1825
1911
  id: string;
1826
- startedAt: string;
1912
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1913
+ queuedAt: string;
1827
1914
  attempt: number;
1915
+ executionId: string;
1828
1916
  progress: {
1829
1917
  sourceRowsRead: number;
1830
1918
  sourceRowsSkipped: number;
@@ -1846,14 +1934,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1846
1934
  targetObjectTypeId: string;
1847
1935
  sourceObjectTypeId: string;
1848
1936
  };
1937
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1938
+ startedAt?: string | undefined;
1849
1939
  finishedAt?: string | undefined;
1850
- errorMessage?: string | undefined;
1851
1940
  }, {
1852
- status: "running" | "succeeded" | "failed" | "cancelled";
1853
1941
  projectId: string;
1854
1942
  id: string;
1855
- startedAt: string;
1943
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1944
+ queuedAt: string;
1856
1945
  attempt: number;
1946
+ executionId: string;
1857
1947
  progress: {
1858
1948
  sourceRowsRead: number;
1859
1949
  sourceRowsSkipped: number;
@@ -1875,12 +1965,14 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1875
1965
  targetObjectTypeId: string;
1876
1966
  sourceObjectTypeId: string;
1877
1967
  };
1968
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1969
+ startedAt?: string | undefined;
1878
1970
  finishedAt?: string | undefined;
1879
- errorMessage?: string | undefined;
1880
1971
  }>, z.ZodObject<{
1881
1972
  id: z.ZodString;
1882
1973
  projectId: z.ZodString;
1883
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1974
+ executionId: z.ZodString;
1975
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1884
1976
  attempt: z.ZodNumber;
1885
1977
  progress: z.ZodObject<{
1886
1978
  sourceRowsRead: z.ZodNumber;
@@ -1892,9 +1984,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1892
1984
  sourceRowsRead: number;
1893
1985
  sourceRowsSkipped: number;
1894
1986
  }>;
1895
- startedAt: z.ZodString;
1987
+ queuedAt: z.ZodString;
1988
+ startedAt: z.ZodOptional<z.ZodString>;
1896
1989
  finishedAt: z.ZodOptional<z.ZodString>;
1897
- errorMessage: z.ZodOptional<z.ZodString>;
1990
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
1898
1991
  } & {
1899
1992
  identity: z.ZodObject<{
1900
1993
  projectionId: z.ZodString;
@@ -1950,11 +2043,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1950
2043
  objectTypeId: string;
1951
2044
  }>;
1952
2045
  }, "strip", z.ZodTypeAny, {
1953
- status: "running" | "succeeded" | "failed" | "cancelled";
1954
2046
  projectId: string;
1955
2047
  id: string;
1956
- startedAt: string;
2048
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2049
+ queuedAt: string;
1957
2050
  attempt: number;
2051
+ executionId: string;
1958
2052
  progress: {
1959
2053
  sourceRowsRead: number;
1960
2054
  sourceRowsSkipped: number;
@@ -1975,14 +2069,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1975
2069
  target: {
1976
2070
  objectTypeId: string;
1977
2071
  };
2072
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2073
+ startedAt?: string | undefined;
1978
2074
  finishedAt?: string | undefined;
1979
- errorMessage?: string | undefined;
1980
2075
  }, {
1981
- status: "running" | "succeeded" | "failed" | "cancelled";
1982
2076
  projectId: string;
1983
2077
  id: string;
1984
- startedAt: string;
2078
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2079
+ queuedAt: string;
1985
2080
  attempt: number;
2081
+ executionId: string;
1986
2082
  progress: {
1987
2083
  sourceRowsRead: number;
1988
2084
  sourceRowsSkipped: number;
@@ -2003,20 +2099,22 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2003
2099
  target: {
2004
2100
  objectTypeId: string;
2005
2101
  };
2102
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2103
+ startedAt?: string | undefined;
2006
2104
  finishedAt?: string | undefined;
2007
- errorMessage?: string | undefined;
2008
2105
  }>]>>;
2009
2106
  }, "strip", z.ZodTypeAny, {
2010
- objectTypeId: string;
2011
2107
  id: string;
2108
+ objectTypeId: string;
2012
2109
  datasetId: string;
2013
2110
  propertyId: string;
2014
2111
  latestRun: {
2015
- status: "running" | "succeeded" | "failed" | "cancelled";
2016
2112
  projectId: string;
2017
2113
  id: string;
2018
- startedAt: string;
2114
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2115
+ queuedAt: string;
2019
2116
  attempt: number;
2117
+ executionId: string;
2020
2118
  progress: {
2021
2119
  sourceRowsRead: number;
2022
2120
  sourceRowsSkipped: number;
@@ -2037,14 +2135,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2037
2135
  target: {
2038
2136
  objectTypeId: string;
2039
2137
  };
2138
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2139
+ startedAt?: string | undefined;
2040
2140
  finishedAt?: string | undefined;
2041
- errorMessage?: string | undefined;
2042
2141
  } | {
2043
- status: "running" | "succeeded" | "failed" | "cancelled";
2044
2142
  projectId: string;
2045
2143
  id: string;
2046
- startedAt: string;
2144
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2145
+ queuedAt: string;
2047
2146
  attempt: number;
2147
+ executionId: string;
2048
2148
  progress: {
2049
2149
  sourceRowsRead: number;
2050
2150
  sourceRowsSkipped: number;
@@ -2066,14 +2166,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2066
2166
  targetObjectTypeId: string;
2067
2167
  sourceObjectTypeId: string;
2068
2168
  };
2169
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2170
+ startedAt?: string | undefined;
2069
2171
  finishedAt?: string | undefined;
2070
- errorMessage?: string | undefined;
2071
2172
  } | {
2072
- status: "running" | "succeeded" | "failed" | "cancelled";
2073
2173
  projectId: string;
2074
2174
  id: string;
2075
- startedAt: string;
2175
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2176
+ queuedAt: string;
2076
2177
  attempt: number;
2178
+ executionId: string;
2077
2179
  progress: {
2078
2180
  sourceRowsRead: number;
2079
2181
  sourceRowsSkipped: number;
@@ -2094,8 +2196,9 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2094
2196
  target: {
2095
2197
  objectTypeId: string;
2096
2198
  };
2199
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2200
+ startedAt?: string | undefined;
2097
2201
  finishedAt?: string | undefined;
2098
- errorMessage?: string | undefined;
2099
2202
  } | null;
2100
2203
  _tag: "TelemetryProjectionDefinition";
2101
2204
  objectIdField: string;
@@ -2103,16 +2206,17 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2103
2206
  valueField: string;
2104
2207
  unitField?: string | undefined;
2105
2208
  }, {
2106
- objectTypeId: string;
2107
2209
  id: string;
2210
+ objectTypeId: string;
2108
2211
  datasetId: string;
2109
2212
  propertyId: string;
2110
2213
  latestRun: {
2111
- status: "running" | "succeeded" | "failed" | "cancelled";
2112
2214
  projectId: string;
2113
2215
  id: string;
2114
- startedAt: string;
2216
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2217
+ queuedAt: string;
2115
2218
  attempt: number;
2219
+ executionId: string;
2116
2220
  progress: {
2117
2221
  sourceRowsRead: number;
2118
2222
  sourceRowsSkipped: number;
@@ -2133,14 +2237,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2133
2237
  target: {
2134
2238
  objectTypeId: string;
2135
2239
  };
2240
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2241
+ startedAt?: string | undefined;
2136
2242
  finishedAt?: string | undefined;
2137
- errorMessage?: string | undefined;
2138
2243
  } | {
2139
- status: "running" | "succeeded" | "failed" | "cancelled";
2140
2244
  projectId: string;
2141
2245
  id: string;
2142
- startedAt: string;
2246
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2247
+ queuedAt: string;
2143
2248
  attempt: number;
2249
+ executionId: string;
2144
2250
  progress: {
2145
2251
  sourceRowsRead: number;
2146
2252
  sourceRowsSkipped: number;
@@ -2162,14 +2268,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2162
2268
  targetObjectTypeId: string;
2163
2269
  sourceObjectTypeId: string;
2164
2270
  };
2271
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2272
+ startedAt?: string | undefined;
2165
2273
  finishedAt?: string | undefined;
2166
- errorMessage?: string | undefined;
2167
2274
  } | {
2168
- status: "running" | "succeeded" | "failed" | "cancelled";
2169
2275
  projectId: string;
2170
2276
  id: string;
2171
- startedAt: string;
2277
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2278
+ queuedAt: string;
2172
2279
  attempt: number;
2280
+ executionId: string;
2173
2281
  progress: {
2174
2282
  sourceRowsRead: number;
2175
2283
  sourceRowsSkipped: number;
@@ -2190,8 +2298,9 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2190
2298
  target: {
2191
2299
  objectTypeId: string;
2192
2300
  };
2301
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2302
+ startedAt?: string | undefined;
2193
2303
  finishedAt?: string | undefined;
2194
- errorMessage?: string | undefined;
2195
2304
  } | null;
2196
2305
  _tag: "TelemetryProjectionDefinition";
2197
2306
  objectIdField: string;
@@ -2225,7 +2334,8 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2225
2334
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2226
2335
  id: z.ZodString;
2227
2336
  projectId: z.ZodString;
2228
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2337
+ executionId: z.ZodString;
2338
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2229
2339
  attempt: z.ZodNumber;
2230
2340
  progress: z.ZodObject<{
2231
2341
  sourceRowsRead: z.ZodNumber;
@@ -2237,9 +2347,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2237
2347
  sourceRowsRead: number;
2238
2348
  sourceRowsSkipped: number;
2239
2349
  }>;
2240
- startedAt: z.ZodString;
2350
+ queuedAt: z.ZodString;
2351
+ startedAt: z.ZodOptional<z.ZodString>;
2241
2352
  finishedAt: z.ZodOptional<z.ZodString>;
2242
- errorMessage: z.ZodOptional<z.ZodString>;
2353
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
2243
2354
  } & {
2244
2355
  identity: z.ZodObject<{
2245
2356
  projectionId: z.ZodString;
@@ -2295,11 +2406,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2295
2406
  objectTypeId: string;
2296
2407
  }>;
2297
2408
  }, "strip", z.ZodTypeAny, {
2298
- status: "running" | "succeeded" | "failed" | "cancelled";
2299
2409
  projectId: string;
2300
2410
  id: string;
2301
- startedAt: string;
2411
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2412
+ queuedAt: string;
2302
2413
  attempt: number;
2414
+ executionId: string;
2303
2415
  progress: {
2304
2416
  sourceRowsRead: number;
2305
2417
  sourceRowsSkipped: number;
@@ -2320,14 +2432,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2320
2432
  target: {
2321
2433
  objectTypeId: string;
2322
2434
  };
2435
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2436
+ startedAt?: string | undefined;
2323
2437
  finishedAt?: string | undefined;
2324
- errorMessage?: string | undefined;
2325
2438
  }, {
2326
- status: "running" | "succeeded" | "failed" | "cancelled";
2327
2439
  projectId: string;
2328
2440
  id: string;
2329
- startedAt: string;
2441
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2442
+ queuedAt: string;
2330
2443
  attempt: number;
2444
+ executionId: string;
2331
2445
  progress: {
2332
2446
  sourceRowsRead: number;
2333
2447
  sourceRowsSkipped: number;
@@ -2348,12 +2462,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2348
2462
  target: {
2349
2463
  objectTypeId: string;
2350
2464
  };
2465
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2466
+ startedAt?: string | undefined;
2351
2467
  finishedAt?: string | undefined;
2352
- errorMessage?: string | undefined;
2353
2468
  }>, z.ZodObject<{
2354
2469
  id: z.ZodString;
2355
2470
  projectId: z.ZodString;
2356
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2471
+ executionId: z.ZodString;
2472
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2357
2473
  attempt: z.ZodNumber;
2358
2474
  progress: z.ZodObject<{
2359
2475
  sourceRowsRead: z.ZodNumber;
@@ -2365,9 +2481,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2365
2481
  sourceRowsRead: number;
2366
2482
  sourceRowsSkipped: number;
2367
2483
  }>;
2368
- startedAt: z.ZodString;
2484
+ queuedAt: z.ZodString;
2485
+ startedAt: z.ZodOptional<z.ZodString>;
2369
2486
  finishedAt: z.ZodOptional<z.ZodString>;
2370
- errorMessage: z.ZodOptional<z.ZodString>;
2487
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
2371
2488
  } & {
2372
2489
  identity: z.ZodObject<{
2373
2490
  projectionId: z.ZodString;
@@ -2426,11 +2543,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2426
2543
  sourceObjectTypeId: string;
2427
2544
  }>;
2428
2545
  }, "strip", z.ZodTypeAny, {
2429
- status: "running" | "succeeded" | "failed" | "cancelled";
2430
2546
  projectId: string;
2431
2547
  id: string;
2432
- startedAt: string;
2548
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2549
+ queuedAt: string;
2433
2550
  attempt: number;
2551
+ executionId: string;
2434
2552
  progress: {
2435
2553
  sourceRowsRead: number;
2436
2554
  sourceRowsSkipped: number;
@@ -2452,14 +2570,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2452
2570
  targetObjectTypeId: string;
2453
2571
  sourceObjectTypeId: string;
2454
2572
  };
2573
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2574
+ startedAt?: string | undefined;
2455
2575
  finishedAt?: string | undefined;
2456
- errorMessage?: string | undefined;
2457
2576
  }, {
2458
- status: "running" | "succeeded" | "failed" | "cancelled";
2459
2577
  projectId: string;
2460
2578
  id: string;
2461
- startedAt: string;
2579
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2580
+ queuedAt: string;
2462
2581
  attempt: number;
2582
+ executionId: string;
2463
2583
  progress: {
2464
2584
  sourceRowsRead: number;
2465
2585
  sourceRowsSkipped: number;
@@ -2481,12 +2601,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2481
2601
  targetObjectTypeId: string;
2482
2602
  sourceObjectTypeId: string;
2483
2603
  };
2604
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2605
+ startedAt?: string | undefined;
2484
2606
  finishedAt?: string | undefined;
2485
- errorMessage?: string | undefined;
2486
2607
  }>, z.ZodObject<{
2487
2608
  id: z.ZodString;
2488
2609
  projectId: z.ZodString;
2489
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2610
+ executionId: z.ZodString;
2611
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2490
2612
  attempt: z.ZodNumber;
2491
2613
  progress: z.ZodObject<{
2492
2614
  sourceRowsRead: z.ZodNumber;
@@ -2498,9 +2620,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2498
2620
  sourceRowsRead: number;
2499
2621
  sourceRowsSkipped: number;
2500
2622
  }>;
2501
- startedAt: z.ZodString;
2623
+ queuedAt: z.ZodString;
2624
+ startedAt: z.ZodOptional<z.ZodString>;
2502
2625
  finishedAt: z.ZodOptional<z.ZodString>;
2503
- errorMessage: z.ZodOptional<z.ZodString>;
2626
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
2504
2627
  } & {
2505
2628
  identity: z.ZodObject<{
2506
2629
  projectionId: z.ZodString;
@@ -2556,11 +2679,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2556
2679
  objectTypeId: string;
2557
2680
  }>;
2558
2681
  }, "strip", z.ZodTypeAny, {
2559
- status: "running" | "succeeded" | "failed" | "cancelled";
2560
2682
  projectId: string;
2561
2683
  id: string;
2562
- startedAt: string;
2684
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2685
+ queuedAt: string;
2563
2686
  attempt: number;
2687
+ executionId: string;
2564
2688
  progress: {
2565
2689
  sourceRowsRead: number;
2566
2690
  sourceRowsSkipped: number;
@@ -2581,14 +2705,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2581
2705
  target: {
2582
2706
  objectTypeId: string;
2583
2707
  };
2708
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2709
+ startedAt?: string | undefined;
2584
2710
  finishedAt?: string | undefined;
2585
- errorMessage?: string | undefined;
2586
2711
  }, {
2587
- status: "running" | "succeeded" | "failed" | "cancelled";
2588
2712
  projectId: string;
2589
2713
  id: string;
2590
- startedAt: string;
2714
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2715
+ queuedAt: string;
2591
2716
  attempt: number;
2717
+ executionId: string;
2592
2718
  progress: {
2593
2719
  sourceRowsRead: number;
2594
2720
  sourceRowsSkipped: number;
@@ -2609,26 +2735,28 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2609
2735
  target: {
2610
2736
  objectTypeId: string;
2611
2737
  };
2738
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2739
+ startedAt?: string | undefined;
2612
2740
  finishedAt?: string | undefined;
2613
- errorMessage?: string | undefined;
2614
2741
  }>]>>;
2615
2742
  }, "strip", z.ZodTypeAny, {
2743
+ id: string;
2616
2744
  links: Record<string, {
2617
2745
  targetObjectTypeId: string;
2618
2746
  linkId: string;
2619
2747
  sourcePropertyId?: string | undefined;
2620
2748
  sourceField?: string | undefined;
2621
2749
  }>;
2622
- objectTypeId: string;
2623
- id: string;
2624
2750
  properties: Record<string, string>;
2751
+ objectTypeId: string;
2625
2752
  datasetId: string;
2626
2753
  latestRun: {
2627
- status: "running" | "succeeded" | "failed" | "cancelled";
2628
2754
  projectId: string;
2629
2755
  id: string;
2630
- startedAt: string;
2756
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2757
+ queuedAt: string;
2631
2758
  attempt: number;
2759
+ executionId: string;
2632
2760
  progress: {
2633
2761
  sourceRowsRead: number;
2634
2762
  sourceRowsSkipped: number;
@@ -2649,14 +2777,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2649
2777
  target: {
2650
2778
  objectTypeId: string;
2651
2779
  };
2780
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2781
+ startedAt?: string | undefined;
2652
2782
  finishedAt?: string | undefined;
2653
- errorMessage?: string | undefined;
2654
2783
  } | {
2655
- status: "running" | "succeeded" | "failed" | "cancelled";
2656
2784
  projectId: string;
2657
2785
  id: string;
2658
- startedAt: string;
2786
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2787
+ queuedAt: string;
2659
2788
  attempt: number;
2789
+ executionId: string;
2660
2790
  progress: {
2661
2791
  sourceRowsRead: number;
2662
2792
  sourceRowsSkipped: number;
@@ -2678,14 +2808,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2678
2808
  targetObjectTypeId: string;
2679
2809
  sourceObjectTypeId: string;
2680
2810
  };
2811
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2812
+ startedAt?: string | undefined;
2681
2813
  finishedAt?: string | undefined;
2682
- errorMessage?: string | undefined;
2683
2814
  } | {
2684
- status: "running" | "succeeded" | "failed" | "cancelled";
2685
2815
  projectId: string;
2686
2816
  id: string;
2687
- startedAt: string;
2817
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2818
+ queuedAt: string;
2688
2819
  attempt: number;
2820
+ executionId: string;
2689
2821
  progress: {
2690
2822
  sourceRowsRead: number;
2691
2823
  sourceRowsSkipped: number;
@@ -2706,27 +2838,29 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2706
2838
  target: {
2707
2839
  objectTypeId: string;
2708
2840
  };
2841
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2842
+ startedAt?: string | undefined;
2709
2843
  finishedAt?: string | undefined;
2710
- errorMessage?: string | undefined;
2711
2844
  } | null;
2712
2845
  _tag: "ObjectProjectionDefinition";
2713
2846
  }, {
2847
+ id: string;
2714
2848
  links: Record<string, {
2715
2849
  targetObjectTypeId: string;
2716
2850
  linkId: string;
2717
2851
  sourcePropertyId?: string | undefined;
2718
2852
  sourceField?: string | undefined;
2719
2853
  }>;
2720
- objectTypeId: string;
2721
- id: string;
2722
2854
  properties: Record<string, string>;
2855
+ objectTypeId: string;
2723
2856
  datasetId: string;
2724
2857
  latestRun: {
2725
- status: "running" | "succeeded" | "failed" | "cancelled";
2726
2858
  projectId: string;
2727
2859
  id: string;
2728
- startedAt: string;
2860
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2861
+ queuedAt: string;
2729
2862
  attempt: number;
2863
+ executionId: string;
2730
2864
  progress: {
2731
2865
  sourceRowsRead: number;
2732
2866
  sourceRowsSkipped: number;
@@ -2747,14 +2881,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2747
2881
  target: {
2748
2882
  objectTypeId: string;
2749
2883
  };
2884
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2885
+ startedAt?: string | undefined;
2750
2886
  finishedAt?: string | undefined;
2751
- errorMessage?: string | undefined;
2752
2887
  } | {
2753
- status: "running" | "succeeded" | "failed" | "cancelled";
2754
2888
  projectId: string;
2755
2889
  id: string;
2756
- startedAt: string;
2890
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2891
+ queuedAt: string;
2757
2892
  attempt: number;
2893
+ executionId: string;
2758
2894
  progress: {
2759
2895
  sourceRowsRead: number;
2760
2896
  sourceRowsSkipped: number;
@@ -2776,14 +2912,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2776
2912
  targetObjectTypeId: string;
2777
2913
  sourceObjectTypeId: string;
2778
2914
  };
2915
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2916
+ startedAt?: string | undefined;
2779
2917
  finishedAt?: string | undefined;
2780
- errorMessage?: string | undefined;
2781
2918
  } | {
2782
- status: "running" | "succeeded" | "failed" | "cancelled";
2783
2919
  projectId: string;
2784
2920
  id: string;
2785
- startedAt: string;
2921
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2922
+ queuedAt: string;
2786
2923
  attempt: number;
2924
+ executionId: string;
2787
2925
  progress: {
2788
2926
  sourceRowsRead: number;
2789
2927
  sourceRowsSkipped: number;
@@ -2804,8 +2942,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2804
2942
  target: {
2805
2943
  objectTypeId: string;
2806
2944
  };
2945
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2946
+ startedAt?: string | undefined;
2807
2947
  finishedAt?: string | undefined;
2808
- errorMessage?: string | undefined;
2809
2948
  } | null;
2810
2949
  _tag: "ObjectProjectionDefinition";
2811
2950
  }>, "many">;
@@ -2821,7 +2960,8 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2821
2960
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2822
2961
  id: z.ZodString;
2823
2962
  projectId: z.ZodString;
2824
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2963
+ executionId: z.ZodString;
2964
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2825
2965
  attempt: z.ZodNumber;
2826
2966
  progress: z.ZodObject<{
2827
2967
  sourceRowsRead: z.ZodNumber;
@@ -2833,9 +2973,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2833
2973
  sourceRowsRead: number;
2834
2974
  sourceRowsSkipped: number;
2835
2975
  }>;
2836
- startedAt: z.ZodString;
2976
+ queuedAt: z.ZodString;
2977
+ startedAt: z.ZodOptional<z.ZodString>;
2837
2978
  finishedAt: z.ZodOptional<z.ZodString>;
2838
- errorMessage: z.ZodOptional<z.ZodString>;
2979
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
2839
2980
  } & {
2840
2981
  identity: z.ZodObject<{
2841
2982
  projectionId: z.ZodString;
@@ -2891,11 +3032,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2891
3032
  objectTypeId: string;
2892
3033
  }>;
2893
3034
  }, "strip", z.ZodTypeAny, {
2894
- status: "running" | "succeeded" | "failed" | "cancelled";
2895
3035
  projectId: string;
2896
3036
  id: string;
2897
- startedAt: string;
3037
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3038
+ queuedAt: string;
2898
3039
  attempt: number;
3040
+ executionId: string;
2899
3041
  progress: {
2900
3042
  sourceRowsRead: number;
2901
3043
  sourceRowsSkipped: number;
@@ -2916,14 +3058,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2916
3058
  target: {
2917
3059
  objectTypeId: string;
2918
3060
  };
3061
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3062
+ startedAt?: string | undefined;
2919
3063
  finishedAt?: string | undefined;
2920
- errorMessage?: string | undefined;
2921
3064
  }, {
2922
- status: "running" | "succeeded" | "failed" | "cancelled";
2923
3065
  projectId: string;
2924
3066
  id: string;
2925
- startedAt: string;
3067
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3068
+ queuedAt: string;
2926
3069
  attempt: number;
3070
+ executionId: string;
2927
3071
  progress: {
2928
3072
  sourceRowsRead: number;
2929
3073
  sourceRowsSkipped: number;
@@ -2944,12 +3088,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2944
3088
  target: {
2945
3089
  objectTypeId: string;
2946
3090
  };
3091
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3092
+ startedAt?: string | undefined;
2947
3093
  finishedAt?: string | undefined;
2948
- errorMessage?: string | undefined;
2949
3094
  }>, z.ZodObject<{
2950
3095
  id: z.ZodString;
2951
3096
  projectId: z.ZodString;
2952
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3097
+ executionId: z.ZodString;
3098
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2953
3099
  attempt: z.ZodNumber;
2954
3100
  progress: z.ZodObject<{
2955
3101
  sourceRowsRead: z.ZodNumber;
@@ -2961,9 +3107,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2961
3107
  sourceRowsRead: number;
2962
3108
  sourceRowsSkipped: number;
2963
3109
  }>;
2964
- startedAt: z.ZodString;
3110
+ queuedAt: z.ZodString;
3111
+ startedAt: z.ZodOptional<z.ZodString>;
2965
3112
  finishedAt: z.ZodOptional<z.ZodString>;
2966
- errorMessage: z.ZodOptional<z.ZodString>;
3113
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
2967
3114
  } & {
2968
3115
  identity: z.ZodObject<{
2969
3116
  projectionId: z.ZodString;
@@ -3022,11 +3169,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3022
3169
  sourceObjectTypeId: string;
3023
3170
  }>;
3024
3171
  }, "strip", z.ZodTypeAny, {
3025
- status: "running" | "succeeded" | "failed" | "cancelled";
3026
3172
  projectId: string;
3027
3173
  id: string;
3028
- startedAt: string;
3174
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3175
+ queuedAt: string;
3029
3176
  attempt: number;
3177
+ executionId: string;
3030
3178
  progress: {
3031
3179
  sourceRowsRead: number;
3032
3180
  sourceRowsSkipped: number;
@@ -3048,14 +3196,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3048
3196
  targetObjectTypeId: string;
3049
3197
  sourceObjectTypeId: string;
3050
3198
  };
3199
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3200
+ startedAt?: string | undefined;
3051
3201
  finishedAt?: string | undefined;
3052
- errorMessage?: string | undefined;
3053
3202
  }, {
3054
- status: "running" | "succeeded" | "failed" | "cancelled";
3055
3203
  projectId: string;
3056
3204
  id: string;
3057
- startedAt: string;
3205
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3206
+ queuedAt: string;
3058
3207
  attempt: number;
3208
+ executionId: string;
3059
3209
  progress: {
3060
3210
  sourceRowsRead: number;
3061
3211
  sourceRowsSkipped: number;
@@ -3077,12 +3227,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3077
3227
  targetObjectTypeId: string;
3078
3228
  sourceObjectTypeId: string;
3079
3229
  };
3230
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3231
+ startedAt?: string | undefined;
3080
3232
  finishedAt?: string | undefined;
3081
- errorMessage?: string | undefined;
3082
3233
  }>, z.ZodObject<{
3083
3234
  id: z.ZodString;
3084
3235
  projectId: z.ZodString;
3085
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3236
+ executionId: z.ZodString;
3237
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3086
3238
  attempt: z.ZodNumber;
3087
3239
  progress: z.ZodObject<{
3088
3240
  sourceRowsRead: z.ZodNumber;
@@ -3094,9 +3246,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3094
3246
  sourceRowsRead: number;
3095
3247
  sourceRowsSkipped: number;
3096
3248
  }>;
3097
- startedAt: z.ZodString;
3249
+ queuedAt: z.ZodString;
3250
+ startedAt: z.ZodOptional<z.ZodString>;
3098
3251
  finishedAt: z.ZodOptional<z.ZodString>;
3099
- errorMessage: z.ZodOptional<z.ZodString>;
3252
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
3100
3253
  } & {
3101
3254
  identity: z.ZodObject<{
3102
3255
  projectionId: z.ZodString;
@@ -3152,11 +3305,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3152
3305
  objectTypeId: string;
3153
3306
  }>;
3154
3307
  }, "strip", z.ZodTypeAny, {
3155
- status: "running" | "succeeded" | "failed" | "cancelled";
3156
3308
  projectId: string;
3157
3309
  id: string;
3158
- startedAt: string;
3310
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3311
+ queuedAt: string;
3159
3312
  attempt: number;
3313
+ executionId: string;
3160
3314
  progress: {
3161
3315
  sourceRowsRead: number;
3162
3316
  sourceRowsSkipped: number;
@@ -3177,14 +3331,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3177
3331
  target: {
3178
3332
  objectTypeId: string;
3179
3333
  };
3334
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3335
+ startedAt?: string | undefined;
3180
3336
  finishedAt?: string | undefined;
3181
- errorMessage?: string | undefined;
3182
3337
  }, {
3183
- status: "running" | "succeeded" | "failed" | "cancelled";
3184
3338
  projectId: string;
3185
3339
  id: string;
3186
- startedAt: string;
3340
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3341
+ queuedAt: string;
3187
3342
  attempt: number;
3343
+ executionId: string;
3188
3344
  progress: {
3189
3345
  sourceRowsRead: number;
3190
3346
  sourceRowsSkipped: number;
@@ -3205,8 +3361,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3205
3361
  target: {
3206
3362
  objectTypeId: string;
3207
3363
  };
3364
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3365
+ startedAt?: string | undefined;
3208
3366
  finishedAt?: string | undefined;
3209
- errorMessage?: string | undefined;
3210
3367
  }>]>>;
3211
3368
  }, "strip", z.ZodTypeAny, {
3212
3369
  id: string;
@@ -3215,11 +3372,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3215
3372
  linkId: string;
3216
3373
  sourceObjectTypeId: string;
3217
3374
  latestRun: {
3218
- status: "running" | "succeeded" | "failed" | "cancelled";
3219
3375
  projectId: string;
3220
3376
  id: string;
3221
- startedAt: string;
3377
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3378
+ queuedAt: string;
3222
3379
  attempt: number;
3380
+ executionId: string;
3223
3381
  progress: {
3224
3382
  sourceRowsRead: number;
3225
3383
  sourceRowsSkipped: number;
@@ -3240,14 +3398,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3240
3398
  target: {
3241
3399
  objectTypeId: string;
3242
3400
  };
3401
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3402
+ startedAt?: string | undefined;
3243
3403
  finishedAt?: string | undefined;
3244
- errorMessage?: string | undefined;
3245
3404
  } | {
3246
- status: "running" | "succeeded" | "failed" | "cancelled";
3247
3405
  projectId: string;
3248
3406
  id: string;
3249
- startedAt: string;
3407
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3408
+ queuedAt: string;
3250
3409
  attempt: number;
3410
+ executionId: string;
3251
3411
  progress: {
3252
3412
  sourceRowsRead: number;
3253
3413
  sourceRowsSkipped: number;
@@ -3269,14 +3429,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3269
3429
  targetObjectTypeId: string;
3270
3430
  sourceObjectTypeId: string;
3271
3431
  };
3432
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3433
+ startedAt?: string | undefined;
3272
3434
  finishedAt?: string | undefined;
3273
- errorMessage?: string | undefined;
3274
3435
  } | {
3275
- status: "running" | "succeeded" | "failed" | "cancelled";
3276
3436
  projectId: string;
3277
3437
  id: string;
3278
- startedAt: string;
3438
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3439
+ queuedAt: string;
3279
3440
  attempt: number;
3441
+ executionId: string;
3280
3442
  progress: {
3281
3443
  sourceRowsRead: number;
3282
3444
  sourceRowsSkipped: number;
@@ -3297,8 +3459,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3297
3459
  target: {
3298
3460
  objectTypeId: string;
3299
3461
  };
3462
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3463
+ startedAt?: string | undefined;
3300
3464
  finishedAt?: string | undefined;
3301
- errorMessage?: string | undefined;
3302
3465
  } | null;
3303
3466
  sourceField: string;
3304
3467
  _tag: "LinkProjectionDefinition";
@@ -3310,11 +3473,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3310
3473
  linkId: string;
3311
3474
  sourceObjectTypeId: string;
3312
3475
  latestRun: {
3313
- status: "running" | "succeeded" | "failed" | "cancelled";
3314
3476
  projectId: string;
3315
3477
  id: string;
3316
- startedAt: string;
3478
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3479
+ queuedAt: string;
3317
3480
  attempt: number;
3481
+ executionId: string;
3318
3482
  progress: {
3319
3483
  sourceRowsRead: number;
3320
3484
  sourceRowsSkipped: number;
@@ -3335,14 +3499,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3335
3499
  target: {
3336
3500
  objectTypeId: string;
3337
3501
  };
3502
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3503
+ startedAt?: string | undefined;
3338
3504
  finishedAt?: string | undefined;
3339
- errorMessage?: string | undefined;
3340
3505
  } | {
3341
- status: "running" | "succeeded" | "failed" | "cancelled";
3342
3506
  projectId: string;
3343
3507
  id: string;
3344
- startedAt: string;
3508
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3509
+ queuedAt: string;
3345
3510
  attempt: number;
3511
+ executionId: string;
3346
3512
  progress: {
3347
3513
  sourceRowsRead: number;
3348
3514
  sourceRowsSkipped: number;
@@ -3364,14 +3530,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3364
3530
  targetObjectTypeId: string;
3365
3531
  sourceObjectTypeId: string;
3366
3532
  };
3533
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3534
+ startedAt?: string | undefined;
3367
3535
  finishedAt?: string | undefined;
3368
- errorMessage?: string | undefined;
3369
3536
  } | {
3370
- status: "running" | "succeeded" | "failed" | "cancelled";
3371
3537
  projectId: string;
3372
3538
  id: string;
3373
- startedAt: string;
3539
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3540
+ queuedAt: string;
3374
3541
  attempt: number;
3542
+ executionId: string;
3375
3543
  progress: {
3376
3544
  sourceRowsRead: number;
3377
3545
  sourceRowsSkipped: number;
@@ -3392,8 +3560,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3392
3560
  target: {
3393
3561
  objectTypeId: string;
3394
3562
  };
3563
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3564
+ startedAt?: string | undefined;
3395
3565
  finishedAt?: string | undefined;
3396
- errorMessage?: string | undefined;
3397
3566
  } | null;
3398
3567
  sourceField: string;
3399
3568
  _tag: "LinkProjectionDefinition";
@@ -3412,7 +3581,8 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3412
3581
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3413
3582
  id: z.ZodString;
3414
3583
  projectId: z.ZodString;
3415
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3584
+ executionId: z.ZodString;
3585
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3416
3586
  attempt: z.ZodNumber;
3417
3587
  progress: z.ZodObject<{
3418
3588
  sourceRowsRead: z.ZodNumber;
@@ -3424,9 +3594,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3424
3594
  sourceRowsRead: number;
3425
3595
  sourceRowsSkipped: number;
3426
3596
  }>;
3427
- startedAt: z.ZodString;
3597
+ queuedAt: z.ZodString;
3598
+ startedAt: z.ZodOptional<z.ZodString>;
3428
3599
  finishedAt: z.ZodOptional<z.ZodString>;
3429
- errorMessage: z.ZodOptional<z.ZodString>;
3600
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
3430
3601
  } & {
3431
3602
  identity: z.ZodObject<{
3432
3603
  projectionId: z.ZodString;
@@ -3482,11 +3653,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3482
3653
  objectTypeId: string;
3483
3654
  }>;
3484
3655
  }, "strip", z.ZodTypeAny, {
3485
- status: "running" | "succeeded" | "failed" | "cancelled";
3486
3656
  projectId: string;
3487
3657
  id: string;
3488
- startedAt: string;
3658
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3659
+ queuedAt: string;
3489
3660
  attempt: number;
3661
+ executionId: string;
3490
3662
  progress: {
3491
3663
  sourceRowsRead: number;
3492
3664
  sourceRowsSkipped: number;
@@ -3507,14 +3679,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3507
3679
  target: {
3508
3680
  objectTypeId: string;
3509
3681
  };
3682
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3683
+ startedAt?: string | undefined;
3510
3684
  finishedAt?: string | undefined;
3511
- errorMessage?: string | undefined;
3512
3685
  }, {
3513
- status: "running" | "succeeded" | "failed" | "cancelled";
3514
3686
  projectId: string;
3515
3687
  id: string;
3516
- startedAt: string;
3688
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3689
+ queuedAt: string;
3517
3690
  attempt: number;
3691
+ executionId: string;
3518
3692
  progress: {
3519
3693
  sourceRowsRead: number;
3520
3694
  sourceRowsSkipped: number;
@@ -3535,12 +3709,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3535
3709
  target: {
3536
3710
  objectTypeId: string;
3537
3711
  };
3712
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3713
+ startedAt?: string | undefined;
3538
3714
  finishedAt?: string | undefined;
3539
- errorMessage?: string | undefined;
3540
3715
  }>, z.ZodObject<{
3541
3716
  id: z.ZodString;
3542
3717
  projectId: z.ZodString;
3543
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3718
+ executionId: z.ZodString;
3719
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3544
3720
  attempt: z.ZodNumber;
3545
3721
  progress: z.ZodObject<{
3546
3722
  sourceRowsRead: z.ZodNumber;
@@ -3552,9 +3728,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3552
3728
  sourceRowsRead: number;
3553
3729
  sourceRowsSkipped: number;
3554
3730
  }>;
3555
- startedAt: z.ZodString;
3731
+ queuedAt: z.ZodString;
3732
+ startedAt: z.ZodOptional<z.ZodString>;
3556
3733
  finishedAt: z.ZodOptional<z.ZodString>;
3557
- errorMessage: z.ZodOptional<z.ZodString>;
3734
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
3558
3735
  } & {
3559
3736
  identity: z.ZodObject<{
3560
3737
  projectionId: z.ZodString;
@@ -3613,11 +3790,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3613
3790
  sourceObjectTypeId: string;
3614
3791
  }>;
3615
3792
  }, "strip", z.ZodTypeAny, {
3616
- status: "running" | "succeeded" | "failed" | "cancelled";
3617
3793
  projectId: string;
3618
3794
  id: string;
3619
- startedAt: string;
3795
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3796
+ queuedAt: string;
3620
3797
  attempt: number;
3798
+ executionId: string;
3621
3799
  progress: {
3622
3800
  sourceRowsRead: number;
3623
3801
  sourceRowsSkipped: number;
@@ -3639,14 +3817,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3639
3817
  targetObjectTypeId: string;
3640
3818
  sourceObjectTypeId: string;
3641
3819
  };
3820
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3821
+ startedAt?: string | undefined;
3642
3822
  finishedAt?: string | undefined;
3643
- errorMessage?: string | undefined;
3644
3823
  }, {
3645
- status: "running" | "succeeded" | "failed" | "cancelled";
3646
3824
  projectId: string;
3647
3825
  id: string;
3648
- startedAt: string;
3826
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3827
+ queuedAt: string;
3649
3828
  attempt: number;
3829
+ executionId: string;
3650
3830
  progress: {
3651
3831
  sourceRowsRead: number;
3652
3832
  sourceRowsSkipped: number;
@@ -3668,12 +3848,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3668
3848
  targetObjectTypeId: string;
3669
3849
  sourceObjectTypeId: string;
3670
3850
  };
3851
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3852
+ startedAt?: string | undefined;
3671
3853
  finishedAt?: string | undefined;
3672
- errorMessage?: string | undefined;
3673
3854
  }>, z.ZodObject<{
3674
3855
  id: z.ZodString;
3675
3856
  projectId: z.ZodString;
3676
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3857
+ executionId: z.ZodString;
3858
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3677
3859
  attempt: z.ZodNumber;
3678
3860
  progress: z.ZodObject<{
3679
3861
  sourceRowsRead: z.ZodNumber;
@@ -3685,9 +3867,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3685
3867
  sourceRowsRead: number;
3686
3868
  sourceRowsSkipped: number;
3687
3869
  }>;
3688
- startedAt: z.ZodString;
3870
+ queuedAt: z.ZodString;
3871
+ startedAt: z.ZodOptional<z.ZodString>;
3689
3872
  finishedAt: z.ZodOptional<z.ZodString>;
3690
- errorMessage: z.ZodOptional<z.ZodString>;
3873
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
3691
3874
  } & {
3692
3875
  identity: z.ZodObject<{
3693
3876
  projectionId: z.ZodString;
@@ -3743,11 +3926,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3743
3926
  objectTypeId: string;
3744
3927
  }>;
3745
3928
  }, "strip", z.ZodTypeAny, {
3746
- status: "running" | "succeeded" | "failed" | "cancelled";
3747
3929
  projectId: string;
3748
3930
  id: string;
3749
- startedAt: string;
3931
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3932
+ queuedAt: string;
3750
3933
  attempt: number;
3934
+ executionId: string;
3751
3935
  progress: {
3752
3936
  sourceRowsRead: number;
3753
3937
  sourceRowsSkipped: number;
@@ -3768,14 +3952,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3768
3952
  target: {
3769
3953
  objectTypeId: string;
3770
3954
  };
3955
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3956
+ startedAt?: string | undefined;
3771
3957
  finishedAt?: string | undefined;
3772
- errorMessage?: string | undefined;
3773
3958
  }, {
3774
- status: "running" | "succeeded" | "failed" | "cancelled";
3775
3959
  projectId: string;
3776
3960
  id: string;
3777
- startedAt: string;
3961
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3962
+ queuedAt: string;
3778
3963
  attempt: number;
3964
+ executionId: string;
3779
3965
  progress: {
3780
3966
  sourceRowsRead: number;
3781
3967
  sourceRowsSkipped: number;
@@ -3796,20 +3982,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3796
3982
  target: {
3797
3983
  objectTypeId: string;
3798
3984
  };
3985
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3986
+ startedAt?: string | undefined;
3799
3987
  finishedAt?: string | undefined;
3800
- errorMessage?: string | undefined;
3801
3988
  }>]>>;
3802
3989
  }, "strip", z.ZodTypeAny, {
3803
- objectTypeId: string;
3804
3990
  id: string;
3991
+ objectTypeId: string;
3805
3992
  datasetId: string;
3806
3993
  propertyId: string;
3807
3994
  latestRun: {
3808
- status: "running" | "succeeded" | "failed" | "cancelled";
3809
3995
  projectId: string;
3810
3996
  id: string;
3811
- startedAt: string;
3997
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3998
+ queuedAt: string;
3812
3999
  attempt: number;
4000
+ executionId: string;
3813
4001
  progress: {
3814
4002
  sourceRowsRead: number;
3815
4003
  sourceRowsSkipped: number;
@@ -3830,14 +4018,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3830
4018
  target: {
3831
4019
  objectTypeId: string;
3832
4020
  };
4021
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4022
+ startedAt?: string | undefined;
3833
4023
  finishedAt?: string | undefined;
3834
- errorMessage?: string | undefined;
3835
4024
  } | {
3836
- status: "running" | "succeeded" | "failed" | "cancelled";
3837
4025
  projectId: string;
3838
4026
  id: string;
3839
- startedAt: string;
4027
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4028
+ queuedAt: string;
3840
4029
  attempt: number;
4030
+ executionId: string;
3841
4031
  progress: {
3842
4032
  sourceRowsRead: number;
3843
4033
  sourceRowsSkipped: number;
@@ -3859,14 +4049,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3859
4049
  targetObjectTypeId: string;
3860
4050
  sourceObjectTypeId: string;
3861
4051
  };
4052
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4053
+ startedAt?: string | undefined;
3862
4054
  finishedAt?: string | undefined;
3863
- errorMessage?: string | undefined;
3864
4055
  } | {
3865
- status: "running" | "succeeded" | "failed" | "cancelled";
3866
4056
  projectId: string;
3867
4057
  id: string;
3868
- startedAt: string;
4058
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4059
+ queuedAt: string;
3869
4060
  attempt: number;
4061
+ executionId: string;
3870
4062
  progress: {
3871
4063
  sourceRowsRead: number;
3872
4064
  sourceRowsSkipped: number;
@@ -3887,8 +4079,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3887
4079
  target: {
3888
4080
  objectTypeId: string;
3889
4081
  };
4082
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4083
+ startedAt?: string | undefined;
3890
4084
  finishedAt?: string | undefined;
3891
- errorMessage?: string | undefined;
3892
4085
  } | null;
3893
4086
  _tag: "TelemetryProjectionDefinition";
3894
4087
  objectIdField: string;
@@ -3896,16 +4089,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3896
4089
  valueField: string;
3897
4090
  unitField?: string | undefined;
3898
4091
  }, {
3899
- objectTypeId: string;
3900
4092
  id: string;
4093
+ objectTypeId: string;
3901
4094
  datasetId: string;
3902
4095
  propertyId: string;
3903
4096
  latestRun: {
3904
- status: "running" | "succeeded" | "failed" | "cancelled";
3905
4097
  projectId: string;
3906
4098
  id: string;
3907
- startedAt: string;
4099
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4100
+ queuedAt: string;
3908
4101
  attempt: number;
4102
+ executionId: string;
3909
4103
  progress: {
3910
4104
  sourceRowsRead: number;
3911
4105
  sourceRowsSkipped: number;
@@ -3926,14 +4120,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3926
4120
  target: {
3927
4121
  objectTypeId: string;
3928
4122
  };
4123
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4124
+ startedAt?: string | undefined;
3929
4125
  finishedAt?: string | undefined;
3930
- errorMessage?: string | undefined;
3931
4126
  } | {
3932
- status: "running" | "succeeded" | "failed" | "cancelled";
3933
4127
  projectId: string;
3934
4128
  id: string;
3935
- startedAt: string;
4129
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4130
+ queuedAt: string;
3936
4131
  attempt: number;
4132
+ executionId: string;
3937
4133
  progress: {
3938
4134
  sourceRowsRead: number;
3939
4135
  sourceRowsSkipped: number;
@@ -3955,14 +4151,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3955
4151
  targetObjectTypeId: string;
3956
4152
  sourceObjectTypeId: string;
3957
4153
  };
4154
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4155
+ startedAt?: string | undefined;
3958
4156
  finishedAt?: string | undefined;
3959
- errorMessage?: string | undefined;
3960
4157
  } | {
3961
- status: "running" | "succeeded" | "failed" | "cancelled";
3962
4158
  projectId: string;
3963
4159
  id: string;
3964
- startedAt: string;
4160
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4161
+ queuedAt: string;
3965
4162
  attempt: number;
4163
+ executionId: string;
3966
4164
  progress: {
3967
4165
  sourceRowsRead: number;
3968
4166
  sourceRowsSkipped: number;
@@ -3983,8 +4181,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3983
4181
  target: {
3984
4182
  objectTypeId: string;
3985
4183
  };
4184
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4185
+ startedAt?: string | undefined;
3986
4186
  finishedAt?: string | undefined;
3987
- errorMessage?: string | undefined;
3988
4187
  } | null;
3989
4188
  _tag: "TelemetryProjectionDefinition";
3990
4189
  objectIdField: string;
@@ -3994,22 +4193,23 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3994
4193
  }>, "many">;
3995
4194
  }, "strip", z.ZodTypeAny, {
3996
4195
  objectProjections: {
4196
+ id: string;
3997
4197
  links: Record<string, {
3998
4198
  targetObjectTypeId: string;
3999
4199
  linkId: string;
4000
4200
  sourcePropertyId?: string | undefined;
4001
4201
  sourceField?: string | undefined;
4002
4202
  }>;
4003
- objectTypeId: string;
4004
- id: string;
4005
4203
  properties: Record<string, string>;
4204
+ objectTypeId: string;
4006
4205
  datasetId: string;
4007
4206
  latestRun: {
4008
- status: "running" | "succeeded" | "failed" | "cancelled";
4009
4207
  projectId: string;
4010
4208
  id: string;
4011
- startedAt: string;
4209
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4210
+ queuedAt: string;
4012
4211
  attempt: number;
4212
+ executionId: string;
4013
4213
  progress: {
4014
4214
  sourceRowsRead: number;
4015
4215
  sourceRowsSkipped: number;
@@ -4030,14 +4230,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4030
4230
  target: {
4031
4231
  objectTypeId: string;
4032
4232
  };
4233
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4234
+ startedAt?: string | undefined;
4033
4235
  finishedAt?: string | undefined;
4034
- errorMessage?: string | undefined;
4035
4236
  } | {
4036
- status: "running" | "succeeded" | "failed" | "cancelled";
4037
4237
  projectId: string;
4038
4238
  id: string;
4039
- startedAt: string;
4239
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4240
+ queuedAt: string;
4040
4241
  attempt: number;
4242
+ executionId: string;
4041
4243
  progress: {
4042
4244
  sourceRowsRead: number;
4043
4245
  sourceRowsSkipped: number;
@@ -4059,14 +4261,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4059
4261
  targetObjectTypeId: string;
4060
4262
  sourceObjectTypeId: string;
4061
4263
  };
4264
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4265
+ startedAt?: string | undefined;
4062
4266
  finishedAt?: string | undefined;
4063
- errorMessage?: string | undefined;
4064
4267
  } | {
4065
- status: "running" | "succeeded" | "failed" | "cancelled";
4066
4268
  projectId: string;
4067
4269
  id: string;
4068
- startedAt: string;
4270
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4271
+ queuedAt: string;
4069
4272
  attempt: number;
4273
+ executionId: string;
4070
4274
  progress: {
4071
4275
  sourceRowsRead: number;
4072
4276
  sourceRowsSkipped: number;
@@ -4087,8 +4291,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4087
4291
  target: {
4088
4292
  objectTypeId: string;
4089
4293
  };
4294
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4295
+ startedAt?: string | undefined;
4090
4296
  finishedAt?: string | undefined;
4091
- errorMessage?: string | undefined;
4092
4297
  } | null;
4093
4298
  _tag: "ObjectProjectionDefinition";
4094
4299
  }[];
@@ -4099,11 +4304,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4099
4304
  linkId: string;
4100
4305
  sourceObjectTypeId: string;
4101
4306
  latestRun: {
4102
- status: "running" | "succeeded" | "failed" | "cancelled";
4103
4307
  projectId: string;
4104
4308
  id: string;
4105
- startedAt: string;
4309
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4310
+ queuedAt: string;
4106
4311
  attempt: number;
4312
+ executionId: string;
4107
4313
  progress: {
4108
4314
  sourceRowsRead: number;
4109
4315
  sourceRowsSkipped: number;
@@ -4124,14 +4330,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4124
4330
  target: {
4125
4331
  objectTypeId: string;
4126
4332
  };
4333
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4334
+ startedAt?: string | undefined;
4127
4335
  finishedAt?: string | undefined;
4128
- errorMessage?: string | undefined;
4129
4336
  } | {
4130
- status: "running" | "succeeded" | "failed" | "cancelled";
4131
4337
  projectId: string;
4132
4338
  id: string;
4133
- startedAt: string;
4339
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4340
+ queuedAt: string;
4134
4341
  attempt: number;
4342
+ executionId: string;
4135
4343
  progress: {
4136
4344
  sourceRowsRead: number;
4137
4345
  sourceRowsSkipped: number;
@@ -4153,14 +4361,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4153
4361
  targetObjectTypeId: string;
4154
4362
  sourceObjectTypeId: string;
4155
4363
  };
4364
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4365
+ startedAt?: string | undefined;
4156
4366
  finishedAt?: string | undefined;
4157
- errorMessage?: string | undefined;
4158
4367
  } | {
4159
- status: "running" | "succeeded" | "failed" | "cancelled";
4160
4368
  projectId: string;
4161
4369
  id: string;
4162
- startedAt: string;
4370
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4371
+ queuedAt: string;
4163
4372
  attempt: number;
4373
+ executionId: string;
4164
4374
  progress: {
4165
4375
  sourceRowsRead: number;
4166
4376
  sourceRowsSkipped: number;
@@ -4181,24 +4391,26 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4181
4391
  target: {
4182
4392
  objectTypeId: string;
4183
4393
  };
4394
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4395
+ startedAt?: string | undefined;
4184
4396
  finishedAt?: string | undefined;
4185
- errorMessage?: string | undefined;
4186
4397
  } | null;
4187
4398
  sourceField: string;
4188
4399
  _tag: "LinkProjectionDefinition";
4189
4400
  targetField: string;
4190
4401
  }[];
4191
4402
  telemetryProjections: {
4192
- objectTypeId: string;
4193
4403
  id: string;
4404
+ objectTypeId: string;
4194
4405
  datasetId: string;
4195
4406
  propertyId: string;
4196
4407
  latestRun: {
4197
- status: "running" | "succeeded" | "failed" | "cancelled";
4198
4408
  projectId: string;
4199
4409
  id: string;
4200
- startedAt: string;
4410
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4411
+ queuedAt: string;
4201
4412
  attempt: number;
4413
+ executionId: string;
4202
4414
  progress: {
4203
4415
  sourceRowsRead: number;
4204
4416
  sourceRowsSkipped: number;
@@ -4219,14 +4431,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4219
4431
  target: {
4220
4432
  objectTypeId: string;
4221
4433
  };
4434
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4435
+ startedAt?: string | undefined;
4222
4436
  finishedAt?: string | undefined;
4223
- errorMessage?: string | undefined;
4224
4437
  } | {
4225
- status: "running" | "succeeded" | "failed" | "cancelled";
4226
4438
  projectId: string;
4227
4439
  id: string;
4228
- startedAt: string;
4440
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4441
+ queuedAt: string;
4229
4442
  attempt: number;
4443
+ executionId: string;
4230
4444
  progress: {
4231
4445
  sourceRowsRead: number;
4232
4446
  sourceRowsSkipped: number;
@@ -4248,14 +4462,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4248
4462
  targetObjectTypeId: string;
4249
4463
  sourceObjectTypeId: string;
4250
4464
  };
4465
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4466
+ startedAt?: string | undefined;
4251
4467
  finishedAt?: string | undefined;
4252
- errorMessage?: string | undefined;
4253
4468
  } | {
4254
- status: "running" | "succeeded" | "failed" | "cancelled";
4255
4469
  projectId: string;
4256
4470
  id: string;
4257
- startedAt: string;
4471
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4472
+ queuedAt: string;
4258
4473
  attempt: number;
4474
+ executionId: string;
4259
4475
  progress: {
4260
4476
  sourceRowsRead: number;
4261
4477
  sourceRowsSkipped: number;
@@ -4276,8 +4492,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4276
4492
  target: {
4277
4493
  objectTypeId: string;
4278
4494
  };
4495
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4496
+ startedAt?: string | undefined;
4279
4497
  finishedAt?: string | undefined;
4280
- errorMessage?: string | undefined;
4281
4498
  } | null;
4282
4499
  _tag: "TelemetryProjectionDefinition";
4283
4500
  objectIdField: string;
@@ -4287,22 +4504,23 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4287
4504
  }[];
4288
4505
  }, {
4289
4506
  objectProjections: {
4507
+ id: string;
4290
4508
  links: Record<string, {
4291
4509
  targetObjectTypeId: string;
4292
4510
  linkId: string;
4293
4511
  sourcePropertyId?: string | undefined;
4294
4512
  sourceField?: string | undefined;
4295
4513
  }>;
4296
- objectTypeId: string;
4297
- id: string;
4298
4514
  properties: Record<string, string>;
4515
+ objectTypeId: string;
4299
4516
  datasetId: string;
4300
4517
  latestRun: {
4301
- status: "running" | "succeeded" | "failed" | "cancelled";
4302
4518
  projectId: string;
4303
4519
  id: string;
4304
- startedAt: string;
4520
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4521
+ queuedAt: string;
4305
4522
  attempt: number;
4523
+ executionId: string;
4306
4524
  progress: {
4307
4525
  sourceRowsRead: number;
4308
4526
  sourceRowsSkipped: number;
@@ -4323,14 +4541,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4323
4541
  target: {
4324
4542
  objectTypeId: string;
4325
4543
  };
4544
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4545
+ startedAt?: string | undefined;
4326
4546
  finishedAt?: string | undefined;
4327
- errorMessage?: string | undefined;
4328
4547
  } | {
4329
- status: "running" | "succeeded" | "failed" | "cancelled";
4330
4548
  projectId: string;
4331
4549
  id: string;
4332
- startedAt: string;
4550
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4551
+ queuedAt: string;
4333
4552
  attempt: number;
4553
+ executionId: string;
4334
4554
  progress: {
4335
4555
  sourceRowsRead: number;
4336
4556
  sourceRowsSkipped: number;
@@ -4352,14 +4572,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4352
4572
  targetObjectTypeId: string;
4353
4573
  sourceObjectTypeId: string;
4354
4574
  };
4575
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4576
+ startedAt?: string | undefined;
4355
4577
  finishedAt?: string | undefined;
4356
- errorMessage?: string | undefined;
4357
4578
  } | {
4358
- status: "running" | "succeeded" | "failed" | "cancelled";
4359
4579
  projectId: string;
4360
4580
  id: string;
4361
- startedAt: string;
4581
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4582
+ queuedAt: string;
4362
4583
  attempt: number;
4584
+ executionId: string;
4363
4585
  progress: {
4364
4586
  sourceRowsRead: number;
4365
4587
  sourceRowsSkipped: number;
@@ -4380,8 +4602,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4380
4602
  target: {
4381
4603
  objectTypeId: string;
4382
4604
  };
4605
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4606
+ startedAt?: string | undefined;
4383
4607
  finishedAt?: string | undefined;
4384
- errorMessage?: string | undefined;
4385
4608
  } | null;
4386
4609
  _tag: "ObjectProjectionDefinition";
4387
4610
  }[];
@@ -4392,11 +4615,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4392
4615
  linkId: string;
4393
4616
  sourceObjectTypeId: string;
4394
4617
  latestRun: {
4395
- status: "running" | "succeeded" | "failed" | "cancelled";
4396
4618
  projectId: string;
4397
4619
  id: string;
4398
- startedAt: string;
4620
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4621
+ queuedAt: string;
4399
4622
  attempt: number;
4623
+ executionId: string;
4400
4624
  progress: {
4401
4625
  sourceRowsRead: number;
4402
4626
  sourceRowsSkipped: number;
@@ -4417,14 +4641,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4417
4641
  target: {
4418
4642
  objectTypeId: string;
4419
4643
  };
4644
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4645
+ startedAt?: string | undefined;
4420
4646
  finishedAt?: string | undefined;
4421
- errorMessage?: string | undefined;
4422
4647
  } | {
4423
- status: "running" | "succeeded" | "failed" | "cancelled";
4424
4648
  projectId: string;
4425
4649
  id: string;
4426
- startedAt: string;
4650
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4651
+ queuedAt: string;
4427
4652
  attempt: number;
4653
+ executionId: string;
4428
4654
  progress: {
4429
4655
  sourceRowsRead: number;
4430
4656
  sourceRowsSkipped: number;
@@ -4446,14 +4672,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4446
4672
  targetObjectTypeId: string;
4447
4673
  sourceObjectTypeId: string;
4448
4674
  };
4675
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4676
+ startedAt?: string | undefined;
4449
4677
  finishedAt?: string | undefined;
4450
- errorMessage?: string | undefined;
4451
4678
  } | {
4452
- status: "running" | "succeeded" | "failed" | "cancelled";
4453
4679
  projectId: string;
4454
4680
  id: string;
4455
- startedAt: string;
4681
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4682
+ queuedAt: string;
4456
4683
  attempt: number;
4684
+ executionId: string;
4457
4685
  progress: {
4458
4686
  sourceRowsRead: number;
4459
4687
  sourceRowsSkipped: number;
@@ -4474,24 +4702,26 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4474
4702
  target: {
4475
4703
  objectTypeId: string;
4476
4704
  };
4705
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4706
+ startedAt?: string | undefined;
4477
4707
  finishedAt?: string | undefined;
4478
- errorMessage?: string | undefined;
4479
4708
  } | null;
4480
4709
  sourceField: string;
4481
4710
  _tag: "LinkProjectionDefinition";
4482
4711
  targetField: string;
4483
4712
  }[];
4484
4713
  telemetryProjections: {
4485
- objectTypeId: string;
4486
4714
  id: string;
4715
+ objectTypeId: string;
4487
4716
  datasetId: string;
4488
4717
  propertyId: string;
4489
4718
  latestRun: {
4490
- status: "running" | "succeeded" | "failed" | "cancelled";
4491
4719
  projectId: string;
4492
4720
  id: string;
4493
- startedAt: string;
4721
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4722
+ queuedAt: string;
4494
4723
  attempt: number;
4724
+ executionId: string;
4495
4725
  progress: {
4496
4726
  sourceRowsRead: number;
4497
4727
  sourceRowsSkipped: number;
@@ -4512,14 +4742,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4512
4742
  target: {
4513
4743
  objectTypeId: string;
4514
4744
  };
4745
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4746
+ startedAt?: string | undefined;
4515
4747
  finishedAt?: string | undefined;
4516
- errorMessage?: string | undefined;
4517
4748
  } | {
4518
- status: "running" | "succeeded" | "failed" | "cancelled";
4519
4749
  projectId: string;
4520
4750
  id: string;
4521
- startedAt: string;
4751
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4752
+ queuedAt: string;
4522
4753
  attempt: number;
4754
+ executionId: string;
4523
4755
  progress: {
4524
4756
  sourceRowsRead: number;
4525
4757
  sourceRowsSkipped: number;
@@ -4541,14 +4773,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4541
4773
  targetObjectTypeId: string;
4542
4774
  sourceObjectTypeId: string;
4543
4775
  };
4776
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4777
+ startedAt?: string | undefined;
4544
4778
  finishedAt?: string | undefined;
4545
- errorMessage?: string | undefined;
4546
4779
  } | {
4547
- status: "running" | "succeeded" | "failed" | "cancelled";
4548
4780
  projectId: string;
4549
4781
  id: string;
4550
- startedAt: string;
4782
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4783
+ queuedAt: string;
4551
4784
  attempt: number;
4785
+ executionId: string;
4552
4786
  progress: {
4553
4787
  sourceRowsRead: number;
4554
4788
  sourceRowsSkipped: number;
@@ -4569,8 +4803,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4569
4803
  target: {
4570
4804
  objectTypeId: string;
4571
4805
  };
4806
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4807
+ startedAt?: string | undefined;
4572
4808
  finishedAt?: string | undefined;
4573
- errorMessage?: string | undefined;
4574
4809
  } | null;
4575
4810
  _tag: "TelemetryProjectionDefinition";
4576
4811
  objectIdField: string;
@@ -4611,7 +4846,8 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4611
4846
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4612
4847
  id: z.ZodString;
4613
4848
  projectId: z.ZodString;
4614
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
4849
+ executionId: z.ZodString;
4850
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4615
4851
  attempt: z.ZodNumber;
4616
4852
  progress: z.ZodObject<{
4617
4853
  sourceRowsRead: z.ZodNumber;
@@ -4623,9 +4859,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4623
4859
  sourceRowsRead: number;
4624
4860
  sourceRowsSkipped: number;
4625
4861
  }>;
4626
- startedAt: z.ZodString;
4862
+ queuedAt: z.ZodString;
4863
+ startedAt: z.ZodOptional<z.ZodString>;
4627
4864
  finishedAt: z.ZodOptional<z.ZodString>;
4628
- errorMessage: z.ZodOptional<z.ZodString>;
4865
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
4629
4866
  } & {
4630
4867
  identity: z.ZodObject<{
4631
4868
  projectionId: z.ZodString;
@@ -4681,11 +4918,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4681
4918
  objectTypeId: string;
4682
4919
  }>;
4683
4920
  }, "strip", z.ZodTypeAny, {
4684
- status: "running" | "succeeded" | "failed" | "cancelled";
4685
4921
  projectId: string;
4686
4922
  id: string;
4687
- startedAt: string;
4923
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4924
+ queuedAt: string;
4688
4925
  attempt: number;
4926
+ executionId: string;
4689
4927
  progress: {
4690
4928
  sourceRowsRead: number;
4691
4929
  sourceRowsSkipped: number;
@@ -4706,14 +4944,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4706
4944
  target: {
4707
4945
  objectTypeId: string;
4708
4946
  };
4947
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4948
+ startedAt?: string | undefined;
4709
4949
  finishedAt?: string | undefined;
4710
- errorMessage?: string | undefined;
4711
4950
  }, {
4712
- status: "running" | "succeeded" | "failed" | "cancelled";
4713
4951
  projectId: string;
4714
4952
  id: string;
4715
- startedAt: string;
4953
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4954
+ queuedAt: string;
4716
4955
  attempt: number;
4956
+ executionId: string;
4717
4957
  progress: {
4718
4958
  sourceRowsRead: number;
4719
4959
  sourceRowsSkipped: number;
@@ -4734,12 +4974,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4734
4974
  target: {
4735
4975
  objectTypeId: string;
4736
4976
  };
4977
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4978
+ startedAt?: string | undefined;
4737
4979
  finishedAt?: string | undefined;
4738
- errorMessage?: string | undefined;
4739
4980
  }>, z.ZodObject<{
4740
4981
  id: z.ZodString;
4741
4982
  projectId: z.ZodString;
4742
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
4983
+ executionId: z.ZodString;
4984
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4743
4985
  attempt: z.ZodNumber;
4744
4986
  progress: z.ZodObject<{
4745
4987
  sourceRowsRead: z.ZodNumber;
@@ -4751,9 +4993,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4751
4993
  sourceRowsRead: number;
4752
4994
  sourceRowsSkipped: number;
4753
4995
  }>;
4754
- startedAt: z.ZodString;
4996
+ queuedAt: z.ZodString;
4997
+ startedAt: z.ZodOptional<z.ZodString>;
4755
4998
  finishedAt: z.ZodOptional<z.ZodString>;
4756
- errorMessage: z.ZodOptional<z.ZodString>;
4999
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
4757
5000
  } & {
4758
5001
  identity: z.ZodObject<{
4759
5002
  projectionId: z.ZodString;
@@ -4812,11 +5055,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4812
5055
  sourceObjectTypeId: string;
4813
5056
  }>;
4814
5057
  }, "strip", z.ZodTypeAny, {
4815
- status: "running" | "succeeded" | "failed" | "cancelled";
4816
5058
  projectId: string;
4817
5059
  id: string;
4818
- startedAt: string;
5060
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5061
+ queuedAt: string;
4819
5062
  attempt: number;
5063
+ executionId: string;
4820
5064
  progress: {
4821
5065
  sourceRowsRead: number;
4822
5066
  sourceRowsSkipped: number;
@@ -4838,14 +5082,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4838
5082
  targetObjectTypeId: string;
4839
5083
  sourceObjectTypeId: string;
4840
5084
  };
5085
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5086
+ startedAt?: string | undefined;
4841
5087
  finishedAt?: string | undefined;
4842
- errorMessage?: string | undefined;
4843
5088
  }, {
4844
- status: "running" | "succeeded" | "failed" | "cancelled";
4845
5089
  projectId: string;
4846
5090
  id: string;
4847
- startedAt: string;
5091
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5092
+ queuedAt: string;
4848
5093
  attempt: number;
5094
+ executionId: string;
4849
5095
  progress: {
4850
5096
  sourceRowsRead: number;
4851
5097
  sourceRowsSkipped: number;
@@ -4867,12 +5113,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4867
5113
  targetObjectTypeId: string;
4868
5114
  sourceObjectTypeId: string;
4869
5115
  };
5116
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5117
+ startedAt?: string | undefined;
4870
5118
  finishedAt?: string | undefined;
4871
- errorMessage?: string | undefined;
4872
5119
  }>, z.ZodObject<{
4873
5120
  id: z.ZodString;
4874
5121
  projectId: z.ZodString;
4875
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5122
+ executionId: z.ZodString;
5123
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4876
5124
  attempt: z.ZodNumber;
4877
5125
  progress: z.ZodObject<{
4878
5126
  sourceRowsRead: z.ZodNumber;
@@ -4884,9 +5132,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4884
5132
  sourceRowsRead: number;
4885
5133
  sourceRowsSkipped: number;
4886
5134
  }>;
4887
- startedAt: z.ZodString;
5135
+ queuedAt: z.ZodString;
5136
+ startedAt: z.ZodOptional<z.ZodString>;
4888
5137
  finishedAt: z.ZodOptional<z.ZodString>;
4889
- errorMessage: z.ZodOptional<z.ZodString>;
5138
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
4890
5139
  } & {
4891
5140
  identity: z.ZodObject<{
4892
5141
  projectionId: z.ZodString;
@@ -4942,11 +5191,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4942
5191
  objectTypeId: string;
4943
5192
  }>;
4944
5193
  }, "strip", z.ZodTypeAny, {
4945
- status: "running" | "succeeded" | "failed" | "cancelled";
4946
5194
  projectId: string;
4947
5195
  id: string;
4948
- startedAt: string;
5196
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5197
+ queuedAt: string;
4949
5198
  attempt: number;
5199
+ executionId: string;
4950
5200
  progress: {
4951
5201
  sourceRowsRead: number;
4952
5202
  sourceRowsSkipped: number;
@@ -4967,14 +5217,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4967
5217
  target: {
4968
5218
  objectTypeId: string;
4969
5219
  };
5220
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5221
+ startedAt?: string | undefined;
4970
5222
  finishedAt?: string | undefined;
4971
- errorMessage?: string | undefined;
4972
5223
  }, {
4973
- status: "running" | "succeeded" | "failed" | "cancelled";
4974
5224
  projectId: string;
4975
5225
  id: string;
4976
- startedAt: string;
5226
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5227
+ queuedAt: string;
4977
5228
  attempt: number;
5229
+ executionId: string;
4978
5230
  progress: {
4979
5231
  sourceRowsRead: number;
4980
5232
  sourceRowsSkipped: number;
@@ -4995,26 +5247,28 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4995
5247
  target: {
4996
5248
  objectTypeId: string;
4997
5249
  };
5250
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5251
+ startedAt?: string | undefined;
4998
5252
  finishedAt?: string | undefined;
4999
- errorMessage?: string | undefined;
5000
5253
  }>]>>;
5001
5254
  }, "strip", z.ZodTypeAny, {
5255
+ id: string;
5002
5256
  links: Record<string, {
5003
5257
  targetObjectTypeId: string;
5004
5258
  linkId: string;
5005
5259
  sourcePropertyId?: string | undefined;
5006
5260
  sourceField?: string | undefined;
5007
5261
  }>;
5008
- objectTypeId: string;
5009
- id: string;
5010
5262
  properties: Record<string, string>;
5263
+ objectTypeId: string;
5011
5264
  datasetId: string;
5012
5265
  latestRun: {
5013
- status: "running" | "succeeded" | "failed" | "cancelled";
5014
5266
  projectId: string;
5015
5267
  id: string;
5016
- startedAt: string;
5268
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5269
+ queuedAt: string;
5017
5270
  attempt: number;
5271
+ executionId: string;
5018
5272
  progress: {
5019
5273
  sourceRowsRead: number;
5020
5274
  sourceRowsSkipped: number;
@@ -5035,14 +5289,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5035
5289
  target: {
5036
5290
  objectTypeId: string;
5037
5291
  };
5292
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5293
+ startedAt?: string | undefined;
5038
5294
  finishedAt?: string | undefined;
5039
- errorMessage?: string | undefined;
5040
5295
  } | {
5041
- status: "running" | "succeeded" | "failed" | "cancelled";
5042
5296
  projectId: string;
5043
5297
  id: string;
5044
- startedAt: string;
5298
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5299
+ queuedAt: string;
5045
5300
  attempt: number;
5301
+ executionId: string;
5046
5302
  progress: {
5047
5303
  sourceRowsRead: number;
5048
5304
  sourceRowsSkipped: number;
@@ -5064,14 +5320,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5064
5320
  targetObjectTypeId: string;
5065
5321
  sourceObjectTypeId: string;
5066
5322
  };
5323
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5324
+ startedAt?: string | undefined;
5067
5325
  finishedAt?: string | undefined;
5068
- errorMessage?: string | undefined;
5069
5326
  } | {
5070
- status: "running" | "succeeded" | "failed" | "cancelled";
5071
5327
  projectId: string;
5072
5328
  id: string;
5073
- startedAt: string;
5329
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5330
+ queuedAt: string;
5074
5331
  attempt: number;
5332
+ executionId: string;
5075
5333
  progress: {
5076
5334
  sourceRowsRead: number;
5077
5335
  sourceRowsSkipped: number;
@@ -5092,27 +5350,29 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5092
5350
  target: {
5093
5351
  objectTypeId: string;
5094
5352
  };
5353
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5354
+ startedAt?: string | undefined;
5095
5355
  finishedAt?: string | undefined;
5096
- errorMessage?: string | undefined;
5097
5356
  } | null;
5098
5357
  _tag: "ObjectProjectionDefinition";
5099
5358
  }, {
5359
+ id: string;
5100
5360
  links: Record<string, {
5101
5361
  targetObjectTypeId: string;
5102
5362
  linkId: string;
5103
5363
  sourcePropertyId?: string | undefined;
5104
5364
  sourceField?: string | undefined;
5105
5365
  }>;
5106
- objectTypeId: string;
5107
- id: string;
5108
5366
  properties: Record<string, string>;
5367
+ objectTypeId: string;
5109
5368
  datasetId: string;
5110
5369
  latestRun: {
5111
- status: "running" | "succeeded" | "failed" | "cancelled";
5112
5370
  projectId: string;
5113
5371
  id: string;
5114
- startedAt: string;
5372
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5373
+ queuedAt: string;
5115
5374
  attempt: number;
5375
+ executionId: string;
5116
5376
  progress: {
5117
5377
  sourceRowsRead: number;
5118
5378
  sourceRowsSkipped: number;
@@ -5133,14 +5393,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5133
5393
  target: {
5134
5394
  objectTypeId: string;
5135
5395
  };
5396
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5397
+ startedAt?: string | undefined;
5136
5398
  finishedAt?: string | undefined;
5137
- errorMessage?: string | undefined;
5138
5399
  } | {
5139
- status: "running" | "succeeded" | "failed" | "cancelled";
5140
5400
  projectId: string;
5141
5401
  id: string;
5142
- startedAt: string;
5402
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5403
+ queuedAt: string;
5143
5404
  attempt: number;
5405
+ executionId: string;
5144
5406
  progress: {
5145
5407
  sourceRowsRead: number;
5146
5408
  sourceRowsSkipped: number;
@@ -5162,14 +5424,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5162
5424
  targetObjectTypeId: string;
5163
5425
  sourceObjectTypeId: string;
5164
5426
  };
5427
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5428
+ startedAt?: string | undefined;
5165
5429
  finishedAt?: string | undefined;
5166
- errorMessage?: string | undefined;
5167
5430
  } | {
5168
- status: "running" | "succeeded" | "failed" | "cancelled";
5169
5431
  projectId: string;
5170
5432
  id: string;
5171
- startedAt: string;
5433
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5434
+ queuedAt: string;
5172
5435
  attempt: number;
5436
+ executionId: string;
5173
5437
  progress: {
5174
5438
  sourceRowsRead: number;
5175
5439
  sourceRowsSkipped: number;
@@ -5190,8 +5454,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5190
5454
  target: {
5191
5455
  objectTypeId: string;
5192
5456
  };
5457
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5458
+ startedAt?: string | undefined;
5193
5459
  finishedAt?: string | undefined;
5194
- errorMessage?: string | undefined;
5195
5460
  } | null;
5196
5461
  _tag: "ObjectProjectionDefinition";
5197
5462
  }>, z.ZodObject<{
@@ -5206,7 +5471,8 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5206
5471
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5207
5472
  id: z.ZodString;
5208
5473
  projectId: z.ZodString;
5209
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5474
+ executionId: z.ZodString;
5475
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5210
5476
  attempt: z.ZodNumber;
5211
5477
  progress: z.ZodObject<{
5212
5478
  sourceRowsRead: z.ZodNumber;
@@ -5218,9 +5484,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5218
5484
  sourceRowsRead: number;
5219
5485
  sourceRowsSkipped: number;
5220
5486
  }>;
5221
- startedAt: z.ZodString;
5487
+ queuedAt: z.ZodString;
5488
+ startedAt: z.ZodOptional<z.ZodString>;
5222
5489
  finishedAt: z.ZodOptional<z.ZodString>;
5223
- errorMessage: z.ZodOptional<z.ZodString>;
5490
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
5224
5491
  } & {
5225
5492
  identity: z.ZodObject<{
5226
5493
  projectionId: z.ZodString;
@@ -5276,11 +5543,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5276
5543
  objectTypeId: string;
5277
5544
  }>;
5278
5545
  }, "strip", z.ZodTypeAny, {
5279
- status: "running" | "succeeded" | "failed" | "cancelled";
5280
5546
  projectId: string;
5281
5547
  id: string;
5282
- startedAt: string;
5548
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5549
+ queuedAt: string;
5283
5550
  attempt: number;
5551
+ executionId: string;
5284
5552
  progress: {
5285
5553
  sourceRowsRead: number;
5286
5554
  sourceRowsSkipped: number;
@@ -5301,14 +5569,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5301
5569
  target: {
5302
5570
  objectTypeId: string;
5303
5571
  };
5572
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5573
+ startedAt?: string | undefined;
5304
5574
  finishedAt?: string | undefined;
5305
- errorMessage?: string | undefined;
5306
5575
  }, {
5307
- status: "running" | "succeeded" | "failed" | "cancelled";
5308
5576
  projectId: string;
5309
5577
  id: string;
5310
- startedAt: string;
5578
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5579
+ queuedAt: string;
5311
5580
  attempt: number;
5581
+ executionId: string;
5312
5582
  progress: {
5313
5583
  sourceRowsRead: number;
5314
5584
  sourceRowsSkipped: number;
@@ -5329,12 +5599,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5329
5599
  target: {
5330
5600
  objectTypeId: string;
5331
5601
  };
5602
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5603
+ startedAt?: string | undefined;
5332
5604
  finishedAt?: string | undefined;
5333
- errorMessage?: string | undefined;
5334
5605
  }>, z.ZodObject<{
5335
5606
  id: z.ZodString;
5336
5607
  projectId: z.ZodString;
5337
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5608
+ executionId: z.ZodString;
5609
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5338
5610
  attempt: z.ZodNumber;
5339
5611
  progress: z.ZodObject<{
5340
5612
  sourceRowsRead: z.ZodNumber;
@@ -5346,9 +5618,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5346
5618
  sourceRowsRead: number;
5347
5619
  sourceRowsSkipped: number;
5348
5620
  }>;
5349
- startedAt: z.ZodString;
5621
+ queuedAt: z.ZodString;
5622
+ startedAt: z.ZodOptional<z.ZodString>;
5350
5623
  finishedAt: z.ZodOptional<z.ZodString>;
5351
- errorMessage: z.ZodOptional<z.ZodString>;
5624
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
5352
5625
  } & {
5353
5626
  identity: z.ZodObject<{
5354
5627
  projectionId: z.ZodString;
@@ -5407,11 +5680,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5407
5680
  sourceObjectTypeId: string;
5408
5681
  }>;
5409
5682
  }, "strip", z.ZodTypeAny, {
5410
- status: "running" | "succeeded" | "failed" | "cancelled";
5411
5683
  projectId: string;
5412
5684
  id: string;
5413
- startedAt: string;
5685
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5686
+ queuedAt: string;
5414
5687
  attempt: number;
5688
+ executionId: string;
5415
5689
  progress: {
5416
5690
  sourceRowsRead: number;
5417
5691
  sourceRowsSkipped: number;
@@ -5433,14 +5707,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5433
5707
  targetObjectTypeId: string;
5434
5708
  sourceObjectTypeId: string;
5435
5709
  };
5710
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5711
+ startedAt?: string | undefined;
5436
5712
  finishedAt?: string | undefined;
5437
- errorMessage?: string | undefined;
5438
5713
  }, {
5439
- status: "running" | "succeeded" | "failed" | "cancelled";
5440
5714
  projectId: string;
5441
5715
  id: string;
5442
- startedAt: string;
5716
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5717
+ queuedAt: string;
5443
5718
  attempt: number;
5719
+ executionId: string;
5444
5720
  progress: {
5445
5721
  sourceRowsRead: number;
5446
5722
  sourceRowsSkipped: number;
@@ -5462,12 +5738,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5462
5738
  targetObjectTypeId: string;
5463
5739
  sourceObjectTypeId: string;
5464
5740
  };
5741
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5742
+ startedAt?: string | undefined;
5465
5743
  finishedAt?: string | undefined;
5466
- errorMessage?: string | undefined;
5467
5744
  }>, z.ZodObject<{
5468
5745
  id: z.ZodString;
5469
5746
  projectId: z.ZodString;
5470
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5747
+ executionId: z.ZodString;
5748
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5471
5749
  attempt: z.ZodNumber;
5472
5750
  progress: z.ZodObject<{
5473
5751
  sourceRowsRead: z.ZodNumber;
@@ -5479,9 +5757,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5479
5757
  sourceRowsRead: number;
5480
5758
  sourceRowsSkipped: number;
5481
5759
  }>;
5482
- startedAt: z.ZodString;
5760
+ queuedAt: z.ZodString;
5761
+ startedAt: z.ZodOptional<z.ZodString>;
5483
5762
  finishedAt: z.ZodOptional<z.ZodString>;
5484
- errorMessage: z.ZodOptional<z.ZodString>;
5763
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
5485
5764
  } & {
5486
5765
  identity: z.ZodObject<{
5487
5766
  projectionId: z.ZodString;
@@ -5537,11 +5816,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5537
5816
  objectTypeId: string;
5538
5817
  }>;
5539
5818
  }, "strip", z.ZodTypeAny, {
5540
- status: "running" | "succeeded" | "failed" | "cancelled";
5541
5819
  projectId: string;
5542
5820
  id: string;
5543
- startedAt: string;
5821
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5822
+ queuedAt: string;
5544
5823
  attempt: number;
5824
+ executionId: string;
5545
5825
  progress: {
5546
5826
  sourceRowsRead: number;
5547
5827
  sourceRowsSkipped: number;
@@ -5562,14 +5842,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5562
5842
  target: {
5563
5843
  objectTypeId: string;
5564
5844
  };
5845
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5846
+ startedAt?: string | undefined;
5565
5847
  finishedAt?: string | undefined;
5566
- errorMessage?: string | undefined;
5567
5848
  }, {
5568
- status: "running" | "succeeded" | "failed" | "cancelled";
5569
5849
  projectId: string;
5570
5850
  id: string;
5571
- startedAt: string;
5851
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5852
+ queuedAt: string;
5572
5853
  attempt: number;
5854
+ executionId: string;
5573
5855
  progress: {
5574
5856
  sourceRowsRead: number;
5575
5857
  sourceRowsSkipped: number;
@@ -5590,8 +5872,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5590
5872
  target: {
5591
5873
  objectTypeId: string;
5592
5874
  };
5875
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5876
+ startedAt?: string | undefined;
5593
5877
  finishedAt?: string | undefined;
5594
- errorMessage?: string | undefined;
5595
5878
  }>]>>;
5596
5879
  }, "strip", z.ZodTypeAny, {
5597
5880
  id: string;
@@ -5600,11 +5883,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5600
5883
  linkId: string;
5601
5884
  sourceObjectTypeId: string;
5602
5885
  latestRun: {
5603
- status: "running" | "succeeded" | "failed" | "cancelled";
5604
5886
  projectId: string;
5605
5887
  id: string;
5606
- startedAt: string;
5888
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5889
+ queuedAt: string;
5607
5890
  attempt: number;
5891
+ executionId: string;
5608
5892
  progress: {
5609
5893
  sourceRowsRead: number;
5610
5894
  sourceRowsSkipped: number;
@@ -5625,14 +5909,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5625
5909
  target: {
5626
5910
  objectTypeId: string;
5627
5911
  };
5912
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5913
+ startedAt?: string | undefined;
5628
5914
  finishedAt?: string | undefined;
5629
- errorMessage?: string | undefined;
5630
5915
  } | {
5631
- status: "running" | "succeeded" | "failed" | "cancelled";
5632
5916
  projectId: string;
5633
5917
  id: string;
5634
- startedAt: string;
5918
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5919
+ queuedAt: string;
5635
5920
  attempt: number;
5921
+ executionId: string;
5636
5922
  progress: {
5637
5923
  sourceRowsRead: number;
5638
5924
  sourceRowsSkipped: number;
@@ -5654,14 +5940,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5654
5940
  targetObjectTypeId: string;
5655
5941
  sourceObjectTypeId: string;
5656
5942
  };
5943
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5944
+ startedAt?: string | undefined;
5657
5945
  finishedAt?: string | undefined;
5658
- errorMessage?: string | undefined;
5659
5946
  } | {
5660
- status: "running" | "succeeded" | "failed" | "cancelled";
5661
5947
  projectId: string;
5662
5948
  id: string;
5663
- startedAt: string;
5949
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5950
+ queuedAt: string;
5664
5951
  attempt: number;
5952
+ executionId: string;
5665
5953
  progress: {
5666
5954
  sourceRowsRead: number;
5667
5955
  sourceRowsSkipped: number;
@@ -5682,8 +5970,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5682
5970
  target: {
5683
5971
  objectTypeId: string;
5684
5972
  };
5973
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5974
+ startedAt?: string | undefined;
5685
5975
  finishedAt?: string | undefined;
5686
- errorMessage?: string | undefined;
5687
5976
  } | null;
5688
5977
  sourceField: string;
5689
5978
  _tag: "LinkProjectionDefinition";
@@ -5695,11 +5984,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5695
5984
  linkId: string;
5696
5985
  sourceObjectTypeId: string;
5697
5986
  latestRun: {
5698
- status: "running" | "succeeded" | "failed" | "cancelled";
5699
5987
  projectId: string;
5700
5988
  id: string;
5701
- startedAt: string;
5989
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5990
+ queuedAt: string;
5702
5991
  attempt: number;
5992
+ executionId: string;
5703
5993
  progress: {
5704
5994
  sourceRowsRead: number;
5705
5995
  sourceRowsSkipped: number;
@@ -5720,14 +6010,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5720
6010
  target: {
5721
6011
  objectTypeId: string;
5722
6012
  };
6013
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6014
+ startedAt?: string | undefined;
5723
6015
  finishedAt?: string | undefined;
5724
- errorMessage?: string | undefined;
5725
6016
  } | {
5726
- status: "running" | "succeeded" | "failed" | "cancelled";
5727
6017
  projectId: string;
5728
6018
  id: string;
5729
- startedAt: string;
6019
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6020
+ queuedAt: string;
5730
6021
  attempt: number;
6022
+ executionId: string;
5731
6023
  progress: {
5732
6024
  sourceRowsRead: number;
5733
6025
  sourceRowsSkipped: number;
@@ -5749,14 +6041,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5749
6041
  targetObjectTypeId: string;
5750
6042
  sourceObjectTypeId: string;
5751
6043
  };
6044
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6045
+ startedAt?: string | undefined;
5752
6046
  finishedAt?: string | undefined;
5753
- errorMessage?: string | undefined;
5754
6047
  } | {
5755
- status: "running" | "succeeded" | "failed" | "cancelled";
5756
6048
  projectId: string;
5757
6049
  id: string;
5758
- startedAt: string;
6050
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6051
+ queuedAt: string;
5759
6052
  attempt: number;
6053
+ executionId: string;
5760
6054
  progress: {
5761
6055
  sourceRowsRead: number;
5762
6056
  sourceRowsSkipped: number;
@@ -5777,8 +6071,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5777
6071
  target: {
5778
6072
  objectTypeId: string;
5779
6073
  };
6074
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6075
+ startedAt?: string | undefined;
5780
6076
  finishedAt?: string | undefined;
5781
- errorMessage?: string | undefined;
5782
6077
  } | null;
5783
6078
  sourceField: string;
5784
6079
  _tag: "LinkProjectionDefinition";
@@ -5796,7 +6091,8 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5796
6091
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5797
6092
  id: z.ZodString;
5798
6093
  projectId: z.ZodString;
5799
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6094
+ executionId: z.ZodString;
6095
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5800
6096
  attempt: z.ZodNumber;
5801
6097
  progress: z.ZodObject<{
5802
6098
  sourceRowsRead: z.ZodNumber;
@@ -5808,9 +6104,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5808
6104
  sourceRowsRead: number;
5809
6105
  sourceRowsSkipped: number;
5810
6106
  }>;
5811
- startedAt: z.ZodString;
6107
+ queuedAt: z.ZodString;
6108
+ startedAt: z.ZodOptional<z.ZodString>;
5812
6109
  finishedAt: z.ZodOptional<z.ZodString>;
5813
- errorMessage: z.ZodOptional<z.ZodString>;
6110
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
5814
6111
  } & {
5815
6112
  identity: z.ZodObject<{
5816
6113
  projectionId: z.ZodString;
@@ -5866,11 +6163,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5866
6163
  objectTypeId: string;
5867
6164
  }>;
5868
6165
  }, "strip", z.ZodTypeAny, {
5869
- status: "running" | "succeeded" | "failed" | "cancelled";
5870
6166
  projectId: string;
5871
6167
  id: string;
5872
- startedAt: string;
6168
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6169
+ queuedAt: string;
5873
6170
  attempt: number;
6171
+ executionId: string;
5874
6172
  progress: {
5875
6173
  sourceRowsRead: number;
5876
6174
  sourceRowsSkipped: number;
@@ -5891,14 +6189,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5891
6189
  target: {
5892
6190
  objectTypeId: string;
5893
6191
  };
6192
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6193
+ startedAt?: string | undefined;
5894
6194
  finishedAt?: string | undefined;
5895
- errorMessage?: string | undefined;
5896
6195
  }, {
5897
- status: "running" | "succeeded" | "failed" | "cancelled";
5898
6196
  projectId: string;
5899
6197
  id: string;
5900
- startedAt: string;
6198
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6199
+ queuedAt: string;
5901
6200
  attempt: number;
6201
+ executionId: string;
5902
6202
  progress: {
5903
6203
  sourceRowsRead: number;
5904
6204
  sourceRowsSkipped: number;
@@ -5919,12 +6219,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5919
6219
  target: {
5920
6220
  objectTypeId: string;
5921
6221
  };
6222
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6223
+ startedAt?: string | undefined;
5922
6224
  finishedAt?: string | undefined;
5923
- errorMessage?: string | undefined;
5924
6225
  }>, z.ZodObject<{
5925
6226
  id: z.ZodString;
5926
6227
  projectId: z.ZodString;
5927
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6228
+ executionId: z.ZodString;
6229
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5928
6230
  attempt: z.ZodNumber;
5929
6231
  progress: z.ZodObject<{
5930
6232
  sourceRowsRead: z.ZodNumber;
@@ -5936,9 +6238,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5936
6238
  sourceRowsRead: number;
5937
6239
  sourceRowsSkipped: number;
5938
6240
  }>;
5939
- startedAt: z.ZodString;
6241
+ queuedAt: z.ZodString;
6242
+ startedAt: z.ZodOptional<z.ZodString>;
5940
6243
  finishedAt: z.ZodOptional<z.ZodString>;
5941
- errorMessage: z.ZodOptional<z.ZodString>;
6244
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
5942
6245
  } & {
5943
6246
  identity: z.ZodObject<{
5944
6247
  projectionId: z.ZodString;
@@ -5997,11 +6300,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5997
6300
  sourceObjectTypeId: string;
5998
6301
  }>;
5999
6302
  }, "strip", z.ZodTypeAny, {
6000
- status: "running" | "succeeded" | "failed" | "cancelled";
6001
6303
  projectId: string;
6002
6304
  id: string;
6003
- startedAt: string;
6305
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6306
+ queuedAt: string;
6004
6307
  attempt: number;
6308
+ executionId: string;
6005
6309
  progress: {
6006
6310
  sourceRowsRead: number;
6007
6311
  sourceRowsSkipped: number;
@@ -6023,14 +6327,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6023
6327
  targetObjectTypeId: string;
6024
6328
  sourceObjectTypeId: string;
6025
6329
  };
6330
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6331
+ startedAt?: string | undefined;
6026
6332
  finishedAt?: string | undefined;
6027
- errorMessage?: string | undefined;
6028
6333
  }, {
6029
- status: "running" | "succeeded" | "failed" | "cancelled";
6030
6334
  projectId: string;
6031
6335
  id: string;
6032
- startedAt: string;
6336
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6337
+ queuedAt: string;
6033
6338
  attempt: number;
6339
+ executionId: string;
6034
6340
  progress: {
6035
6341
  sourceRowsRead: number;
6036
6342
  sourceRowsSkipped: number;
@@ -6052,12 +6358,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6052
6358
  targetObjectTypeId: string;
6053
6359
  sourceObjectTypeId: string;
6054
6360
  };
6361
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6362
+ startedAt?: string | undefined;
6055
6363
  finishedAt?: string | undefined;
6056
- errorMessage?: string | undefined;
6057
6364
  }>, z.ZodObject<{
6058
6365
  id: z.ZodString;
6059
6366
  projectId: z.ZodString;
6060
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6367
+ executionId: z.ZodString;
6368
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6061
6369
  attempt: z.ZodNumber;
6062
6370
  progress: z.ZodObject<{
6063
6371
  sourceRowsRead: z.ZodNumber;
@@ -6069,9 +6377,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6069
6377
  sourceRowsRead: number;
6070
6378
  sourceRowsSkipped: number;
6071
6379
  }>;
6072
- startedAt: z.ZodString;
6380
+ queuedAt: z.ZodString;
6381
+ startedAt: z.ZodOptional<z.ZodString>;
6073
6382
  finishedAt: z.ZodOptional<z.ZodString>;
6074
- errorMessage: z.ZodOptional<z.ZodString>;
6383
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
6075
6384
  } & {
6076
6385
  identity: z.ZodObject<{
6077
6386
  projectionId: z.ZodString;
@@ -6127,11 +6436,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6127
6436
  objectTypeId: string;
6128
6437
  }>;
6129
6438
  }, "strip", z.ZodTypeAny, {
6130
- status: "running" | "succeeded" | "failed" | "cancelled";
6131
6439
  projectId: string;
6132
6440
  id: string;
6133
- startedAt: string;
6441
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6442
+ queuedAt: string;
6134
6443
  attempt: number;
6444
+ executionId: string;
6135
6445
  progress: {
6136
6446
  sourceRowsRead: number;
6137
6447
  sourceRowsSkipped: number;
@@ -6152,14 +6462,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6152
6462
  target: {
6153
6463
  objectTypeId: string;
6154
6464
  };
6465
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6466
+ startedAt?: string | undefined;
6155
6467
  finishedAt?: string | undefined;
6156
- errorMessage?: string | undefined;
6157
6468
  }, {
6158
- status: "running" | "succeeded" | "failed" | "cancelled";
6159
6469
  projectId: string;
6160
6470
  id: string;
6161
- startedAt: string;
6471
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6472
+ queuedAt: string;
6162
6473
  attempt: number;
6474
+ executionId: string;
6163
6475
  progress: {
6164
6476
  sourceRowsRead: number;
6165
6477
  sourceRowsSkipped: number;
@@ -6180,20 +6492,22 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6180
6492
  target: {
6181
6493
  objectTypeId: string;
6182
6494
  };
6495
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6496
+ startedAt?: string | undefined;
6183
6497
  finishedAt?: string | undefined;
6184
- errorMessage?: string | undefined;
6185
6498
  }>]>>;
6186
6499
  }, "strip", z.ZodTypeAny, {
6187
- objectTypeId: string;
6188
6500
  id: string;
6501
+ objectTypeId: string;
6189
6502
  datasetId: string;
6190
6503
  propertyId: string;
6191
6504
  latestRun: {
6192
- status: "running" | "succeeded" | "failed" | "cancelled";
6193
6505
  projectId: string;
6194
6506
  id: string;
6195
- startedAt: string;
6507
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6508
+ queuedAt: string;
6196
6509
  attempt: number;
6510
+ executionId: string;
6197
6511
  progress: {
6198
6512
  sourceRowsRead: number;
6199
6513
  sourceRowsSkipped: number;
@@ -6214,14 +6528,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6214
6528
  target: {
6215
6529
  objectTypeId: string;
6216
6530
  };
6531
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6532
+ startedAt?: string | undefined;
6217
6533
  finishedAt?: string | undefined;
6218
- errorMessage?: string | undefined;
6219
6534
  } | {
6220
- status: "running" | "succeeded" | "failed" | "cancelled";
6221
6535
  projectId: string;
6222
6536
  id: string;
6223
- startedAt: string;
6537
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6538
+ queuedAt: string;
6224
6539
  attempt: number;
6540
+ executionId: string;
6225
6541
  progress: {
6226
6542
  sourceRowsRead: number;
6227
6543
  sourceRowsSkipped: number;
@@ -6243,14 +6559,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6243
6559
  targetObjectTypeId: string;
6244
6560
  sourceObjectTypeId: string;
6245
6561
  };
6562
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6563
+ startedAt?: string | undefined;
6246
6564
  finishedAt?: string | undefined;
6247
- errorMessage?: string | undefined;
6248
6565
  } | {
6249
- status: "running" | "succeeded" | "failed" | "cancelled";
6250
6566
  projectId: string;
6251
6567
  id: string;
6252
- startedAt: string;
6568
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6569
+ queuedAt: string;
6253
6570
  attempt: number;
6571
+ executionId: string;
6254
6572
  progress: {
6255
6573
  sourceRowsRead: number;
6256
6574
  sourceRowsSkipped: number;
@@ -6271,8 +6589,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6271
6589
  target: {
6272
6590
  objectTypeId: string;
6273
6591
  };
6592
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6593
+ startedAt?: string | undefined;
6274
6594
  finishedAt?: string | undefined;
6275
- errorMessage?: string | undefined;
6276
6595
  } | null;
6277
6596
  _tag: "TelemetryProjectionDefinition";
6278
6597
  objectIdField: string;
@@ -6280,16 +6599,17 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6280
6599
  valueField: string;
6281
6600
  unitField?: string | undefined;
6282
6601
  }, {
6283
- objectTypeId: string;
6284
6602
  id: string;
6603
+ objectTypeId: string;
6285
6604
  datasetId: string;
6286
6605
  propertyId: string;
6287
6606
  latestRun: {
6288
- status: "running" | "succeeded" | "failed" | "cancelled";
6289
6607
  projectId: string;
6290
6608
  id: string;
6291
- startedAt: string;
6609
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6610
+ queuedAt: string;
6292
6611
  attempt: number;
6612
+ executionId: string;
6293
6613
  progress: {
6294
6614
  sourceRowsRead: number;
6295
6615
  sourceRowsSkipped: number;
@@ -6310,14 +6630,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6310
6630
  target: {
6311
6631
  objectTypeId: string;
6312
6632
  };
6633
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6634
+ startedAt?: string | undefined;
6313
6635
  finishedAt?: string | undefined;
6314
- errorMessage?: string | undefined;
6315
6636
  } | {
6316
- status: "running" | "succeeded" | "failed" | "cancelled";
6317
6637
  projectId: string;
6318
6638
  id: string;
6319
- startedAt: string;
6639
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6640
+ queuedAt: string;
6320
6641
  attempt: number;
6642
+ executionId: string;
6321
6643
  progress: {
6322
6644
  sourceRowsRead: number;
6323
6645
  sourceRowsSkipped: number;
@@ -6339,14 +6661,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6339
6661
  targetObjectTypeId: string;
6340
6662
  sourceObjectTypeId: string;
6341
6663
  };
6664
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6665
+ startedAt?: string | undefined;
6342
6666
  finishedAt?: string | undefined;
6343
- errorMessage?: string | undefined;
6344
6667
  } | {
6345
- status: "running" | "succeeded" | "failed" | "cancelled";
6346
6668
  projectId: string;
6347
6669
  id: string;
6348
- startedAt: string;
6670
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6671
+ queuedAt: string;
6349
6672
  attempt: number;
6673
+ executionId: string;
6350
6674
  progress: {
6351
6675
  sourceRowsRead: number;
6352
6676
  sourceRowsSkipped: number;
@@ -6367,8 +6691,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6367
6691
  target: {
6368
6692
  objectTypeId: string;
6369
6693
  };
6694
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6695
+ startedAt?: string | undefined;
6370
6696
  finishedAt?: string | undefined;
6371
- errorMessage?: string | undefined;
6372
6697
  } | null;
6373
6698
  _tag: "TelemetryProjectionDefinition";
6374
6699
  objectIdField: string;
@@ -6388,30 +6713,30 @@ export declare const ProjectionRunsQuerySchema: z.ZodObject<{
6388
6713
  projectionKind: z.ZodOptional<z.ZodEnum<["object", "link", "telemetry"]>>;
6389
6714
  datasetId: z.ZodOptional<z.ZodString>;
6390
6715
  datasetVersionId: z.ZodOptional<z.ZodString>;
6391
- status: z.ZodOptional<z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>>;
6716
+ status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
6392
6717
  startedAfter: z.ZodOptional<z.ZodString>;
6393
6718
  startedBefore: z.ZodOptional<z.ZodString>;
6394
6719
  limit: z.ZodOptional<z.ZodString>;
6395
6720
  offset: z.ZodOptional<z.ZodString>;
6396
6721
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
6397
6722
  }, "strip", z.ZodTypeAny, {
6398
- status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
6723
+ status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
6724
+ startedAfter?: string | undefined;
6725
+ startedBefore?: string | undefined;
6399
6726
  limit?: string | undefined;
6400
6727
  offset?: string | undefined;
6401
6728
  order?: "asc" | "desc" | undefined;
6402
- startedAfter?: string | undefined;
6403
- startedBefore?: string | undefined;
6404
6729
  datasetId?: string | undefined;
6405
6730
  projectionId?: string | undefined;
6406
6731
  datasetVersionId?: string | undefined;
6407
6732
  projectionKind?: "object" | "telemetry" | "link" | undefined;
6408
6733
  }, {
6409
- status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
6734
+ status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
6735
+ startedAfter?: string | undefined;
6736
+ startedBefore?: string | undefined;
6410
6737
  limit?: string | undefined;
6411
6738
  offset?: string | undefined;
6412
6739
  order?: "asc" | "desc" | undefined;
6413
- startedAfter?: string | undefined;
6414
- startedBefore?: string | undefined;
6415
6740
  datasetId?: string | undefined;
6416
6741
  projectionId?: string | undefined;
6417
6742
  datasetVersionId?: string | undefined;
@@ -6421,7 +6746,8 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6421
6746
  runs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
6422
6747
  id: z.ZodString;
6423
6748
  projectId: z.ZodString;
6424
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6749
+ executionId: z.ZodString;
6750
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6425
6751
  attempt: z.ZodNumber;
6426
6752
  progress: z.ZodObject<{
6427
6753
  sourceRowsRead: z.ZodNumber;
@@ -6433,9 +6759,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6433
6759
  sourceRowsRead: number;
6434
6760
  sourceRowsSkipped: number;
6435
6761
  }>;
6436
- startedAt: z.ZodString;
6762
+ queuedAt: z.ZodString;
6763
+ startedAt: z.ZodOptional<z.ZodString>;
6437
6764
  finishedAt: z.ZodOptional<z.ZodString>;
6438
- errorMessage: z.ZodOptional<z.ZodString>;
6765
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
6439
6766
  } & {
6440
6767
  identity: z.ZodObject<{
6441
6768
  projectionId: z.ZodString;
@@ -6491,11 +6818,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6491
6818
  objectTypeId: string;
6492
6819
  }>;
6493
6820
  }, "strip", z.ZodTypeAny, {
6494
- status: "running" | "succeeded" | "failed" | "cancelled";
6495
6821
  projectId: string;
6496
6822
  id: string;
6497
- startedAt: string;
6823
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6824
+ queuedAt: string;
6498
6825
  attempt: number;
6826
+ executionId: string;
6499
6827
  progress: {
6500
6828
  sourceRowsRead: number;
6501
6829
  sourceRowsSkipped: number;
@@ -6516,14 +6844,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6516
6844
  target: {
6517
6845
  objectTypeId: string;
6518
6846
  };
6847
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6848
+ startedAt?: string | undefined;
6519
6849
  finishedAt?: string | undefined;
6520
- errorMessage?: string | undefined;
6521
6850
  }, {
6522
- status: "running" | "succeeded" | "failed" | "cancelled";
6523
6851
  projectId: string;
6524
6852
  id: string;
6525
- startedAt: string;
6853
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6854
+ queuedAt: string;
6526
6855
  attempt: number;
6856
+ executionId: string;
6527
6857
  progress: {
6528
6858
  sourceRowsRead: number;
6529
6859
  sourceRowsSkipped: number;
@@ -6544,12 +6874,14 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6544
6874
  target: {
6545
6875
  objectTypeId: string;
6546
6876
  };
6877
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6878
+ startedAt?: string | undefined;
6547
6879
  finishedAt?: string | undefined;
6548
- errorMessage?: string | undefined;
6549
6880
  }>, z.ZodObject<{
6550
6881
  id: z.ZodString;
6551
6882
  projectId: z.ZodString;
6552
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6883
+ executionId: z.ZodString;
6884
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6553
6885
  attempt: z.ZodNumber;
6554
6886
  progress: z.ZodObject<{
6555
6887
  sourceRowsRead: z.ZodNumber;
@@ -6561,9 +6893,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6561
6893
  sourceRowsRead: number;
6562
6894
  sourceRowsSkipped: number;
6563
6895
  }>;
6564
- startedAt: z.ZodString;
6896
+ queuedAt: z.ZodString;
6897
+ startedAt: z.ZodOptional<z.ZodString>;
6565
6898
  finishedAt: z.ZodOptional<z.ZodString>;
6566
- errorMessage: z.ZodOptional<z.ZodString>;
6899
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
6567
6900
  } & {
6568
6901
  identity: z.ZodObject<{
6569
6902
  projectionId: z.ZodString;
@@ -6622,11 +6955,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6622
6955
  sourceObjectTypeId: string;
6623
6956
  }>;
6624
6957
  }, "strip", z.ZodTypeAny, {
6625
- status: "running" | "succeeded" | "failed" | "cancelled";
6626
6958
  projectId: string;
6627
6959
  id: string;
6628
- startedAt: string;
6960
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6961
+ queuedAt: string;
6629
6962
  attempt: number;
6963
+ executionId: string;
6630
6964
  progress: {
6631
6965
  sourceRowsRead: number;
6632
6966
  sourceRowsSkipped: number;
@@ -6648,14 +6982,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6648
6982
  targetObjectTypeId: string;
6649
6983
  sourceObjectTypeId: string;
6650
6984
  };
6985
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6986
+ startedAt?: string | undefined;
6651
6987
  finishedAt?: string | undefined;
6652
- errorMessage?: string | undefined;
6653
6988
  }, {
6654
- status: "running" | "succeeded" | "failed" | "cancelled";
6655
6989
  projectId: string;
6656
6990
  id: string;
6657
- startedAt: string;
6991
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6992
+ queuedAt: string;
6658
6993
  attempt: number;
6994
+ executionId: string;
6659
6995
  progress: {
6660
6996
  sourceRowsRead: number;
6661
6997
  sourceRowsSkipped: number;
@@ -6677,12 +7013,14 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6677
7013
  targetObjectTypeId: string;
6678
7014
  sourceObjectTypeId: string;
6679
7015
  };
7016
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7017
+ startedAt?: string | undefined;
6680
7018
  finishedAt?: string | undefined;
6681
- errorMessage?: string | undefined;
6682
7019
  }>, z.ZodObject<{
6683
7020
  id: z.ZodString;
6684
7021
  projectId: z.ZodString;
6685
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
7022
+ executionId: z.ZodString;
7023
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6686
7024
  attempt: z.ZodNumber;
6687
7025
  progress: z.ZodObject<{
6688
7026
  sourceRowsRead: z.ZodNumber;
@@ -6694,9 +7032,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6694
7032
  sourceRowsRead: number;
6695
7033
  sourceRowsSkipped: number;
6696
7034
  }>;
6697
- startedAt: z.ZodString;
7035
+ queuedAt: z.ZodString;
7036
+ startedAt: z.ZodOptional<z.ZodString>;
6698
7037
  finishedAt: z.ZodOptional<z.ZodString>;
6699
- errorMessage: z.ZodOptional<z.ZodString>;
7038
+ error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled">>>;
6700
7039
  } & {
6701
7040
  identity: z.ZodObject<{
6702
7041
  projectionId: z.ZodString;
@@ -6752,11 +7091,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6752
7091
  objectTypeId: string;
6753
7092
  }>;
6754
7093
  }, "strip", z.ZodTypeAny, {
6755
- status: "running" | "succeeded" | "failed" | "cancelled";
6756
7094
  projectId: string;
6757
7095
  id: string;
6758
- startedAt: string;
7096
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7097
+ queuedAt: string;
6759
7098
  attempt: number;
7099
+ executionId: string;
6760
7100
  progress: {
6761
7101
  sourceRowsRead: number;
6762
7102
  sourceRowsSkipped: number;
@@ -6777,14 +7117,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6777
7117
  target: {
6778
7118
  objectTypeId: string;
6779
7119
  };
7120
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7121
+ startedAt?: string | undefined;
6780
7122
  finishedAt?: string | undefined;
6781
- errorMessage?: string | undefined;
6782
7123
  }, {
6783
- status: "running" | "succeeded" | "failed" | "cancelled";
6784
7124
  projectId: string;
6785
7125
  id: string;
6786
- startedAt: string;
7126
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7127
+ queuedAt: string;
6787
7128
  attempt: number;
7129
+ executionId: string;
6788
7130
  progress: {
6789
7131
  sourceRowsRead: number;
6790
7132
  sourceRowsSkipped: number;
@@ -6805,18 +7147,20 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6805
7147
  target: {
6806
7148
  objectTypeId: string;
6807
7149
  };
7150
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7151
+ startedAt?: string | undefined;
6808
7152
  finishedAt?: string | undefined;
6809
- errorMessage?: string | undefined;
6810
7153
  }>]>, "many">;
6811
7154
  hasMore: z.ZodBoolean;
6812
7155
  total: z.ZodNumber;
6813
7156
  }, "strip", z.ZodTypeAny, {
6814
7157
  runs: ({
6815
- status: "running" | "succeeded" | "failed" | "cancelled";
6816
7158
  projectId: string;
6817
7159
  id: string;
6818
- startedAt: string;
7160
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7161
+ queuedAt: string;
6819
7162
  attempt: number;
7163
+ executionId: string;
6820
7164
  progress: {
6821
7165
  sourceRowsRead: number;
6822
7166
  sourceRowsSkipped: number;
@@ -6837,14 +7181,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6837
7181
  target: {
6838
7182
  objectTypeId: string;
6839
7183
  };
7184
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7185
+ startedAt?: string | undefined;
6840
7186
  finishedAt?: string | undefined;
6841
- errorMessage?: string | undefined;
6842
7187
  } | {
6843
- status: "running" | "succeeded" | "failed" | "cancelled";
6844
7188
  projectId: string;
6845
7189
  id: string;
6846
- startedAt: string;
7190
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7191
+ queuedAt: string;
6847
7192
  attempt: number;
7193
+ executionId: string;
6848
7194
  progress: {
6849
7195
  sourceRowsRead: number;
6850
7196
  sourceRowsSkipped: number;
@@ -6866,14 +7212,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6866
7212
  targetObjectTypeId: string;
6867
7213
  sourceObjectTypeId: string;
6868
7214
  };
7215
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7216
+ startedAt?: string | undefined;
6869
7217
  finishedAt?: string | undefined;
6870
- errorMessage?: string | undefined;
6871
7218
  } | {
6872
- status: "running" | "succeeded" | "failed" | "cancelled";
6873
7219
  projectId: string;
6874
7220
  id: string;
6875
- startedAt: string;
7221
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7222
+ queuedAt: string;
6876
7223
  attempt: number;
7224
+ executionId: string;
6877
7225
  progress: {
6878
7226
  sourceRowsRead: number;
6879
7227
  sourceRowsSkipped: number;
@@ -6894,18 +7242,20 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6894
7242
  target: {
6895
7243
  objectTypeId: string;
6896
7244
  };
7245
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7246
+ startedAt?: string | undefined;
6897
7247
  finishedAt?: string | undefined;
6898
- errorMessage?: string | undefined;
6899
7248
  })[];
6900
7249
  hasMore: boolean;
6901
7250
  total: number;
6902
7251
  }, {
6903
7252
  runs: ({
6904
- status: "running" | "succeeded" | "failed" | "cancelled";
6905
7253
  projectId: string;
6906
7254
  id: string;
6907
- startedAt: string;
7255
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7256
+ queuedAt: string;
6908
7257
  attempt: number;
7258
+ executionId: string;
6909
7259
  progress: {
6910
7260
  sourceRowsRead: number;
6911
7261
  sourceRowsSkipped: number;
@@ -6926,14 +7276,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6926
7276
  target: {
6927
7277
  objectTypeId: string;
6928
7278
  };
7279
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7280
+ startedAt?: string | undefined;
6929
7281
  finishedAt?: string | undefined;
6930
- errorMessage?: string | undefined;
6931
7282
  } | {
6932
- status: "running" | "succeeded" | "failed" | "cancelled";
6933
7283
  projectId: string;
6934
7284
  id: string;
6935
- startedAt: string;
7285
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7286
+ queuedAt: string;
6936
7287
  attempt: number;
7288
+ executionId: string;
6937
7289
  progress: {
6938
7290
  sourceRowsRead: number;
6939
7291
  sourceRowsSkipped: number;
@@ -6955,14 +7307,16 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6955
7307
  targetObjectTypeId: string;
6956
7308
  sourceObjectTypeId: string;
6957
7309
  };
7310
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7311
+ startedAt?: string | undefined;
6958
7312
  finishedAt?: string | undefined;
6959
- errorMessage?: string | undefined;
6960
7313
  } | {
6961
- status: "running" | "succeeded" | "failed" | "cancelled";
6962
7314
  projectId: string;
6963
7315
  id: string;
6964
- startedAt: string;
7316
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7317
+ queuedAt: string;
6965
7318
  attempt: number;
7319
+ executionId: string;
6966
7320
  progress: {
6967
7321
  sourceRowsRead: number;
6968
7322
  sourceRowsSkipped: number;
@@ -6983,8 +7337,9 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6983
7337
  target: {
6984
7338
  objectTypeId: string;
6985
7339
  };
7340
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7341
+ startedAt?: string | undefined;
6986
7342
  finishedAt?: string | undefined;
6987
- errorMessage?: string | undefined;
6988
7343
  })[];
6989
7344
  hasMore: boolean;
6990
7345
  total: number;