@sixb/server 0.1.1 → 0.1.3

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 (178) 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/experience.d.ts +33 -0
  7. package/dist/auth/experience.d.ts.map +1 -0
  8. package/dist/auth/guard.d.ts +3 -3
  9. package/dist/auth/guard.d.ts.map +1 -1
  10. package/dist/auth/public-routes.d.ts.map +1 -1
  11. package/dist/auth/scope.d.ts +13 -27
  12. package/dist/auth/scope.d.ts.map +1 -1
  13. package/dist/auth/session-cookies.d.ts +2 -2
  14. package/dist/auth/session-cookies.d.ts.map +1 -1
  15. package/dist/connectors/http.d.ts +16 -0
  16. package/dist/connectors/http.d.ts.map +1 -0
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +3903 -2760
  20. package/dist/index.js.map +58 -50
  21. package/dist/openapi/tags.d.ts +15 -3
  22. package/dist/openapi/tags.d.ts.map +1 -1
  23. package/dist/registerRoutes.d.ts +6 -2
  24. package/dist/registerRoutes.d.ts.map +1 -1
  25. package/dist/routes/action-runs.d.ts +21 -31
  26. package/dist/routes/action-runs.d.ts.map +1 -1
  27. package/dist/routes/actions.d.ts +12 -11
  28. package/dist/routes/actions.d.ts.map +1 -1
  29. package/dist/routes/agent-api-gateway.d.ts +2 -2
  30. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  31. package/dist/routes/agents.d.ts +230 -159
  32. package/dist/routes/agents.d.ts.map +1 -1
  33. package/dist/routes/ai-accounting.d.ts +31 -0
  34. package/dist/routes/ai-accounting.d.ts.map +1 -0
  35. package/dist/routes/auth.d.ts +149 -92
  36. package/dist/routes/auth.d.ts.map +1 -1
  37. package/dist/routes/connector-connection-runs.d.ts +794 -0
  38. package/dist/routes/connector-connection-runs.d.ts.map +1 -0
  39. package/dist/routes/connector-connections.d.ts +219 -0
  40. package/dist/routes/connector-connections.d.ts.map +1 -0
  41. package/dist/routes/connectors.d.ts +10 -4
  42. package/dist/routes/connectors.d.ts.map +1 -1
  43. package/dist/routes/datasets.d.ts +16 -12
  44. package/dist/routes/datasets.d.ts.map +1 -1
  45. package/dist/routes/events.d.ts +9 -9
  46. package/dist/routes/events.d.ts.map +1 -1
  47. package/dist/routes/files.d.ts +19 -18
  48. package/dist/routes/files.d.ts.map +1 -1
  49. package/dist/routes/links.d.ts +11 -11
  50. package/dist/routes/links.d.ts.map +1 -1
  51. package/dist/routes/logs.d.ts +5 -5
  52. package/dist/routes/logs.d.ts.map +1 -1
  53. package/dist/routes/objects.d.ts +37 -37
  54. package/dist/routes/objects.d.ts.map +1 -1
  55. package/dist/routes/ontology.d.ts +50 -50
  56. package/dist/routes/ontology.d.ts.map +1 -1
  57. package/dist/routes/pipelines.d.ts +28 -38
  58. package/dist/routes/pipelines.d.ts.map +1 -1
  59. package/dist/routes/project.d.ts +2 -2
  60. package/dist/routes/project.d.ts.map +1 -1
  61. package/dist/routes/projections.d.ts +145 -85
  62. package/dist/routes/projections.d.ts.map +1 -1
  63. package/dist/routes/rules.d.ts +6 -6
  64. package/dist/routes/rules.d.ts.map +1 -1
  65. package/dist/routes/status.d.ts +2 -2
  66. package/dist/routes/status.d.ts.map +1 -1
  67. package/dist/routes/syncs.d.ts +23 -28
  68. package/dist/routes/syncs.d.ts.map +1 -1
  69. package/dist/routes/telemetry.d.ts +9 -9
  70. package/dist/routes/telemetry.d.ts.map +1 -1
  71. package/dist/routes/webhook-runs.d.ts +9 -9
  72. package/dist/routes/webhook-runs.d.ts.map +1 -1
  73. package/dist/routes/webhooks.d.ts +2 -2
  74. package/dist/routes/webhooks.d.ts.map +1 -1
  75. package/dist/routes/workflows.d.ts +177 -66
  76. package/dist/routes/workflows.d.ts.map +1 -1
  77. package/dist/routes/ws/agents.d.ts +11 -5
  78. package/dist/routes/ws/agents.d.ts.map +1 -1
  79. package/dist/routes/ws/events.d.ts +8 -8
  80. package/dist/routes/ws/events.d.ts.map +1 -1
  81. package/dist/routes/ws/log-subscription-hub.d.ts +6 -3
  82. package/dist/routes/ws/log-subscription-hub.d.ts.map +1 -1
  83. package/dist/routes/ws/logs.d.ts +10 -10
  84. package/dist/routes/ws/logs.d.ts.map +1 -1
  85. package/dist/schemas/actions.d.ts +89 -194
  86. package/dist/schemas/actions.d.ts.map +1 -1
  87. package/dist/schemas/agents.d.ts +791 -471
  88. package/dist/schemas/agents.d.ts.map +1 -1
  89. package/dist/schemas/ai-accounting.d.ts +2393 -0
  90. package/dist/schemas/ai-accounting.d.ts.map +1 -0
  91. package/dist/schemas/ai-usage.d.ts +34 -0
  92. package/dist/schemas/ai-usage.d.ts.map +1 -0
  93. package/dist/schemas/auth.d.ts +102 -102
  94. package/dist/schemas/common.d.ts +37 -0
  95. package/dist/schemas/common.d.ts.map +1 -1
  96. package/dist/schemas/connectors.d.ts +713 -2
  97. package/dist/schemas/connectors.d.ts.map +1 -1
  98. package/dist/schemas/datasets.d.ts +2 -2
  99. package/dist/schemas/event-payloads.d.ts +12 -12
  100. package/dist/schemas/events.d.ts +40 -40
  101. package/dist/schemas/links.d.ts +2 -2
  102. package/dist/schemas/logs.d.ts +22 -22
  103. package/dist/schemas/objects.d.ts +10 -10
  104. package/dist/schemas/ontology.d.ts +118 -118
  105. package/dist/schemas/pipelines.d.ts +89 -184
  106. package/dist/schemas/pipelines.d.ts.map +1 -1
  107. package/dist/schemas/projections.d.ts +1030 -563
  108. package/dist/schemas/projections.d.ts.map +1 -1
  109. package/dist/schemas/rules.d.ts +6 -6
  110. package/dist/schemas/syncs.d.ts +65 -108
  111. package/dist/schemas/syncs.d.ts.map +1 -1
  112. package/dist/schemas/webhook-runs.d.ts +41 -41
  113. package/dist/schemas/webhook-runs.d.ts.map +1 -1
  114. package/dist/schemas/workflows.d.ts +1189 -185
  115. package/dist/schemas/workflows.d.ts.map +1 -1
  116. package/dist/server.d.ts +11 -6
  117. package/dist/server.d.ts.map +1 -1
  118. package/dist/utils/http.d.ts +2 -0
  119. package/dist/utils/http.d.ts.map +1 -1
  120. package/dist/utils/ws.d.ts +4 -3
  121. package/dist/utils/ws.d.ts.map +1 -1
  122. package/package.json +5 -5
  123. package/src/auth/access-token-boundary.ts +4 -4
  124. package/src/auth/application-access.ts +8 -9
  125. package/src/auth/connector-callback-cookie.ts +95 -0
  126. package/src/auth/experience.ts +190 -0
  127. package/src/auth/guard.ts +11 -11
  128. package/src/auth/public-routes.ts +20 -0
  129. package/src/auth/scope.ts +26 -36
  130. package/src/auth/session-cookies.ts +3 -3
  131. package/src/connectors/http.ts +110 -0
  132. package/src/index.ts +1 -0
  133. package/src/openapi/tags.ts +13 -1
  134. package/src/registerRoutes.ts +36 -23
  135. package/src/routes/action-runs.ts +39 -39
  136. package/src/routes/actions.ts +7 -13
  137. package/src/routes/agent-api-gateway.ts +41 -38
  138. package/src/routes/agents.ts +90 -200
  139. package/src/routes/ai-accounting.ts +166 -0
  140. package/src/routes/auth.ts +274 -122
  141. package/src/routes/connector-connection-runs.ts +346 -0
  142. package/src/routes/connector-connections.ts +135 -0
  143. package/src/routes/connectors.ts +24 -12
  144. package/src/routes/datasets.ts +55 -54
  145. package/src/routes/events.ts +5 -5
  146. package/src/routes/files.ts +22 -30
  147. package/src/routes/links.ts +31 -35
  148. package/src/routes/logs.ts +6 -11
  149. package/src/routes/objects.ts +51 -114
  150. package/src/routes/ontology.ts +27 -38
  151. package/src/routes/pipelines.ts +28 -62
  152. package/src/routes/project.ts +3 -3
  153. package/src/routes/projections.ts +44 -42
  154. package/src/routes/rules.ts +11 -25
  155. package/src/routes/status.ts +5 -5
  156. package/src/routes/syncs.ts +19 -45
  157. package/src/routes/telemetry.ts +18 -29
  158. package/src/routes/webhook-runs.ts +5 -5
  159. package/src/routes/webhooks.ts +259 -341
  160. package/src/routes/workflows.ts +242 -248
  161. package/src/routes/ws/agents.ts +196 -66
  162. package/src/routes/ws/events.ts +11 -10
  163. package/src/routes/ws/log-subscription-hub.ts +6 -12
  164. package/src/routes/ws/logs.ts +13 -5
  165. package/src/schemas/actions.ts +58 -25
  166. package/src/schemas/agents.ts +23 -23
  167. package/src/schemas/ai-accounting.ts +182 -0
  168. package/src/schemas/ai-usage.ts +16 -0
  169. package/src/schemas/common.ts +24 -0
  170. package/src/schemas/connectors.ts +164 -0
  171. package/src/schemas/pipelines.ts +23 -15
  172. package/src/schemas/projections.ts +23 -3
  173. package/src/schemas/syncs.ts +13 -8
  174. package/src/schemas/webhook-runs.ts +10 -5
  175. package/src/schemas/workflows.ts +23 -8
  176. package/src/server.ts +75 -26
  177. package/src/utils/http.ts +34 -6
  178. 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,10 +77,11 @@ 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";
80
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
78
81
  projectId: string;
79
82
  id: string;
80
- startedAt: string;
83
+ queuedAt: string;
84
+ executionId: string;
81
85
  attempt: number;
82
86
  progress: {
83
87
  sourceRowsRead: number;
@@ -99,13 +103,15 @@ 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";
110
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
106
111
  projectId: string;
107
112
  id: string;
108
- startedAt: string;
113
+ queuedAt: string;
114
+ executionId: string;
109
115
  attempt: number;
110
116
  progress: {
111
117
  sourceRowsRead: 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,10 +214,11 @@ 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";
217
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
209
218
  projectId: string;
210
219
  id: string;
211
- startedAt: string;
220
+ queuedAt: string;
221
+ executionId: string;
212
222
  attempt: number;
213
223
  progress: {
214
224
  sourceRowsRead: number;
@@ -231,13 +241,15 @@ 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";
248
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
238
249
  projectId: string;
239
250
  id: string;
240
- startedAt: string;
251
+ queuedAt: string;
252
+ executionId: string;
241
253
  attempt: number;
242
254
  progress: {
243
255
  sourceRowsRead: 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,10 +350,11 @@ 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";
353
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
339
354
  projectId: string;
340
355
  id: string;
341
- startedAt: string;
356
+ queuedAt: string;
357
+ executionId: string;
342
358
  attempt: number;
343
359
  progress: {
344
360
  sourceRowsRead: number;
@@ -360,13 +376,15 @@ 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";
383
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
367
384
  projectId: string;
368
385
  id: string;
369
- startedAt: string;
386
+ queuedAt: string;
387
+ executionId: string;
370
388
  attempt: number;
371
389
  progress: {
372
390
  sourceRowsRead: 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;
@@ -407,6 +426,22 @@ export declare const ForeignKeyDescriptorSchema: z.ZodObject<{
407
426
  sourcePropertyId?: string | undefined;
408
427
  sourceField?: string | undefined;
409
428
  }>;
429
+ export declare const SourceEditConflictResolutionSchema: z.ZodUnion<[z.ZodObject<{
430
+ strategy: z.ZodLiteral<"editsWin">;
431
+ }, "strip", z.ZodTypeAny, {
432
+ strategy: "editsWin";
433
+ }, {
434
+ strategy: "editsWin";
435
+ }>, z.ZodObject<{
436
+ strategy: z.ZodLiteral<"mostRecent">;
437
+ sourceTimestamp: z.ZodString;
438
+ }, "strip", z.ZodTypeAny, {
439
+ strategy: "mostRecent";
440
+ sourceTimestamp: string;
441
+ }, {
442
+ strategy: "mostRecent";
443
+ sourceTimestamp: string;
444
+ }>]>;
410
445
  export declare const ObjectProjectionSchema: z.ZodObject<{
411
446
  _tag: z.ZodLiteral<"ObjectProjectionDefinition">;
412
447
  id: z.ZodString;
@@ -429,10 +464,27 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
429
464
  sourcePropertyId?: string | undefined;
430
465
  sourceField?: string | undefined;
431
466
  }>>;
467
+ conflictResolution: z.ZodUnion<[z.ZodObject<{
468
+ strategy: z.ZodLiteral<"editsWin">;
469
+ }, "strip", z.ZodTypeAny, {
470
+ strategy: "editsWin";
471
+ }, {
472
+ strategy: "editsWin";
473
+ }>, z.ZodObject<{
474
+ strategy: z.ZodLiteral<"mostRecent">;
475
+ sourceTimestamp: z.ZodString;
476
+ }, "strip", z.ZodTypeAny, {
477
+ strategy: "mostRecent";
478
+ sourceTimestamp: string;
479
+ }, {
480
+ strategy: "mostRecent";
481
+ sourceTimestamp: string;
482
+ }>]>;
432
483
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
433
484
  id: z.ZodString;
434
485
  projectId: z.ZodString;
435
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
486
+ executionId: z.ZodString;
487
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
436
488
  attempt: z.ZodNumber;
437
489
  progress: z.ZodObject<{
438
490
  sourceRowsRead: z.ZodNumber;
@@ -444,9 +496,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
444
496
  sourceRowsRead: number;
445
497
  sourceRowsSkipped: number;
446
498
  }>;
447
- startedAt: z.ZodString;
499
+ queuedAt: z.ZodString;
500
+ startedAt: z.ZodOptional<z.ZodString>;
448
501
  finishedAt: z.ZodOptional<z.ZodString>;
449
- errorMessage: z.ZodOptional<z.ZodString>;
502
+ 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
503
  } & {
451
504
  identity: z.ZodObject<{
452
505
  projectionId: z.ZodString;
@@ -502,10 +555,11 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
502
555
  objectTypeId: string;
503
556
  }>;
504
557
  }, "strip", z.ZodTypeAny, {
505
- status: "running" | "succeeded" | "failed" | "cancelled";
558
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
506
559
  projectId: string;
507
560
  id: string;
508
- startedAt: string;
561
+ queuedAt: string;
562
+ executionId: string;
509
563
  attempt: number;
510
564
  progress: {
511
565
  sourceRowsRead: number;
@@ -527,13 +581,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
527
581
  target: {
528
582
  objectTypeId: string;
529
583
  };
584
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
585
+ startedAt?: string | undefined;
530
586
  finishedAt?: string | undefined;
531
- errorMessage?: string | undefined;
532
587
  }, {
533
- status: "running" | "succeeded" | "failed" | "cancelled";
588
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
534
589
  projectId: string;
535
590
  id: string;
536
- startedAt: string;
591
+ queuedAt: string;
592
+ executionId: string;
537
593
  attempt: number;
538
594
  progress: {
539
595
  sourceRowsRead: number;
@@ -555,12 +611,14 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
555
611
  target: {
556
612
  objectTypeId: string;
557
613
  };
614
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
615
+ startedAt?: string | undefined;
558
616
  finishedAt?: string | undefined;
559
- errorMessage?: string | undefined;
560
617
  }>, z.ZodObject<{
561
618
  id: z.ZodString;
562
619
  projectId: z.ZodString;
563
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
620
+ executionId: z.ZodString;
621
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
564
622
  attempt: z.ZodNumber;
565
623
  progress: z.ZodObject<{
566
624
  sourceRowsRead: z.ZodNumber;
@@ -572,9 +630,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
572
630
  sourceRowsRead: number;
573
631
  sourceRowsSkipped: number;
574
632
  }>;
575
- startedAt: z.ZodString;
633
+ queuedAt: z.ZodString;
634
+ startedAt: z.ZodOptional<z.ZodString>;
576
635
  finishedAt: z.ZodOptional<z.ZodString>;
577
- errorMessage: z.ZodOptional<z.ZodString>;
636
+ 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
637
  } & {
579
638
  identity: z.ZodObject<{
580
639
  projectionId: z.ZodString;
@@ -633,10 +692,11 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
633
692
  sourceObjectTypeId: string;
634
693
  }>;
635
694
  }, "strip", z.ZodTypeAny, {
636
- status: "running" | "succeeded" | "failed" | "cancelled";
695
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
637
696
  projectId: string;
638
697
  id: string;
639
- startedAt: string;
698
+ queuedAt: string;
699
+ executionId: string;
640
700
  attempt: number;
641
701
  progress: {
642
702
  sourceRowsRead: number;
@@ -659,13 +719,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
659
719
  targetObjectTypeId: string;
660
720
  sourceObjectTypeId: string;
661
721
  };
722
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
723
+ startedAt?: string | undefined;
662
724
  finishedAt?: string | undefined;
663
- errorMessage?: string | undefined;
664
725
  }, {
665
- status: "running" | "succeeded" | "failed" | "cancelled";
726
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
666
727
  projectId: string;
667
728
  id: string;
668
- startedAt: string;
729
+ queuedAt: string;
730
+ executionId: string;
669
731
  attempt: number;
670
732
  progress: {
671
733
  sourceRowsRead: number;
@@ -688,12 +750,14 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
688
750
  targetObjectTypeId: string;
689
751
  sourceObjectTypeId: string;
690
752
  };
753
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
754
+ startedAt?: string | undefined;
691
755
  finishedAt?: string | undefined;
692
- errorMessage?: string | undefined;
693
756
  }>, z.ZodObject<{
694
757
  id: z.ZodString;
695
758
  projectId: z.ZodString;
696
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
759
+ executionId: z.ZodString;
760
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
697
761
  attempt: z.ZodNumber;
698
762
  progress: z.ZodObject<{
699
763
  sourceRowsRead: z.ZodNumber;
@@ -705,9 +769,10 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
705
769
  sourceRowsRead: number;
706
770
  sourceRowsSkipped: number;
707
771
  }>;
708
- startedAt: z.ZodString;
772
+ queuedAt: z.ZodString;
773
+ startedAt: z.ZodOptional<z.ZodString>;
709
774
  finishedAt: z.ZodOptional<z.ZodString>;
710
- errorMessage: z.ZodOptional<z.ZodString>;
775
+ 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
776
  } & {
712
777
  identity: z.ZodObject<{
713
778
  projectionId: z.ZodString;
@@ -763,10 +828,11 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
763
828
  objectTypeId: string;
764
829
  }>;
765
830
  }, "strip", z.ZodTypeAny, {
766
- status: "running" | "succeeded" | "failed" | "cancelled";
831
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
767
832
  projectId: string;
768
833
  id: string;
769
- startedAt: string;
834
+ queuedAt: string;
835
+ executionId: string;
770
836
  attempt: number;
771
837
  progress: {
772
838
  sourceRowsRead: number;
@@ -788,13 +854,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
788
854
  target: {
789
855
  objectTypeId: string;
790
856
  };
857
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
858
+ startedAt?: string | undefined;
791
859
  finishedAt?: string | undefined;
792
- errorMessage?: string | undefined;
793
860
  }, {
794
- status: "running" | "succeeded" | "failed" | "cancelled";
861
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
795
862
  projectId: string;
796
863
  id: string;
797
- startedAt: string;
864
+ queuedAt: string;
865
+ executionId: string;
798
866
  attempt: number;
799
867
  progress: {
800
868
  sourceRowsRead: number;
@@ -816,25 +884,27 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
816
884
  target: {
817
885
  objectTypeId: string;
818
886
  };
887
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
888
+ startedAt?: string | undefined;
819
889
  finishedAt?: string | undefined;
820
- errorMessage?: string | undefined;
821
890
  }>]>>;
822
891
  }, "strip", z.ZodTypeAny, {
892
+ id: string;
823
893
  links: Record<string, {
824
894
  targetObjectTypeId: string;
825
895
  linkId: string;
826
896
  sourcePropertyId?: string | undefined;
827
897
  sourceField?: string | undefined;
828
898
  }>;
829
- objectTypeId: string;
830
- id: string;
831
899
  properties: Record<string, string>;
900
+ objectTypeId: string;
832
901
  datasetId: string;
833
902
  latestRun: {
834
- status: "running" | "succeeded" | "failed" | "cancelled";
903
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
835
904
  projectId: string;
836
905
  id: string;
837
- startedAt: string;
906
+ queuedAt: string;
907
+ executionId: string;
838
908
  attempt: number;
839
909
  progress: {
840
910
  sourceRowsRead: number;
@@ -856,13 +926,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
856
926
  target: {
857
927
  objectTypeId: string;
858
928
  };
929
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
930
+ startedAt?: string | undefined;
859
931
  finishedAt?: string | undefined;
860
- errorMessage?: string | undefined;
861
932
  } | {
862
- status: "running" | "succeeded" | "failed" | "cancelled";
933
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
863
934
  projectId: string;
864
935
  id: string;
865
- startedAt: string;
936
+ queuedAt: string;
937
+ executionId: string;
866
938
  attempt: number;
867
939
  progress: {
868
940
  sourceRowsRead: number;
@@ -885,13 +957,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
885
957
  targetObjectTypeId: string;
886
958
  sourceObjectTypeId: string;
887
959
  };
960
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
961
+ startedAt?: string | undefined;
888
962
  finishedAt?: string | undefined;
889
- errorMessage?: string | undefined;
890
963
  } | {
891
- status: "running" | "succeeded" | "failed" | "cancelled";
964
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
892
965
  projectId: string;
893
966
  id: string;
894
- startedAt: string;
967
+ queuedAt: string;
968
+ executionId: string;
895
969
  attempt: number;
896
970
  progress: {
897
971
  sourceRowsRead: number;
@@ -913,26 +987,34 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
913
987
  target: {
914
988
  objectTypeId: string;
915
989
  };
990
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
991
+ startedAt?: string | undefined;
916
992
  finishedAt?: string | undefined;
917
- errorMessage?: string | undefined;
918
993
  } | null;
919
994
  _tag: "ObjectProjectionDefinition";
995
+ conflictResolution: {
996
+ strategy: "editsWin";
997
+ } | {
998
+ strategy: "mostRecent";
999
+ sourceTimestamp: string;
1000
+ };
920
1001
  }, {
1002
+ id: string;
921
1003
  links: Record<string, {
922
1004
  targetObjectTypeId: string;
923
1005
  linkId: string;
924
1006
  sourcePropertyId?: string | undefined;
925
1007
  sourceField?: string | undefined;
926
1008
  }>;
927
- objectTypeId: string;
928
- id: string;
929
1009
  properties: Record<string, string>;
1010
+ objectTypeId: string;
930
1011
  datasetId: string;
931
1012
  latestRun: {
932
- status: "running" | "succeeded" | "failed" | "cancelled";
1013
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
933
1014
  projectId: string;
934
1015
  id: string;
935
- startedAt: string;
1016
+ queuedAt: string;
1017
+ executionId: string;
936
1018
  attempt: number;
937
1019
  progress: {
938
1020
  sourceRowsRead: number;
@@ -954,13 +1036,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
954
1036
  target: {
955
1037
  objectTypeId: string;
956
1038
  };
1039
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1040
+ startedAt?: string | undefined;
957
1041
  finishedAt?: string | undefined;
958
- errorMessage?: string | undefined;
959
1042
  } | {
960
- status: "running" | "succeeded" | "failed" | "cancelled";
1043
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
961
1044
  projectId: string;
962
1045
  id: string;
963
- startedAt: string;
1046
+ queuedAt: string;
1047
+ executionId: string;
964
1048
  attempt: number;
965
1049
  progress: {
966
1050
  sourceRowsRead: number;
@@ -983,13 +1067,15 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
983
1067
  targetObjectTypeId: string;
984
1068
  sourceObjectTypeId: string;
985
1069
  };
1070
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1071
+ startedAt?: string | undefined;
986
1072
  finishedAt?: string | undefined;
987
- errorMessage?: string | undefined;
988
1073
  } | {
989
- status: "running" | "succeeded" | "failed" | "cancelled";
1074
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
990
1075
  projectId: string;
991
1076
  id: string;
992
- startedAt: string;
1077
+ queuedAt: string;
1078
+ executionId: string;
993
1079
  attempt: number;
994
1080
  progress: {
995
1081
  sourceRowsRead: number;
@@ -1011,10 +1097,17 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1011
1097
  target: {
1012
1098
  objectTypeId: string;
1013
1099
  };
1100
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1101
+ startedAt?: string | undefined;
1014
1102
  finishedAt?: string | undefined;
1015
- errorMessage?: string | undefined;
1016
1103
  } | null;
1017
1104
  _tag: "ObjectProjectionDefinition";
1105
+ conflictResolution: {
1106
+ strategy: "editsWin";
1107
+ } | {
1108
+ strategy: "mostRecent";
1109
+ sourceTimestamp: string;
1110
+ };
1018
1111
  }>;
1019
1112
  export declare const LinkProjectionSchema: z.ZodObject<{
1020
1113
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
@@ -1028,7 +1121,8 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1028
1121
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1029
1122
  id: z.ZodString;
1030
1123
  projectId: z.ZodString;
1031
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1124
+ executionId: z.ZodString;
1125
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1032
1126
  attempt: z.ZodNumber;
1033
1127
  progress: z.ZodObject<{
1034
1128
  sourceRowsRead: z.ZodNumber;
@@ -1040,9 +1134,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1040
1134
  sourceRowsRead: number;
1041
1135
  sourceRowsSkipped: number;
1042
1136
  }>;
1043
- startedAt: z.ZodString;
1137
+ queuedAt: z.ZodString;
1138
+ startedAt: z.ZodOptional<z.ZodString>;
1044
1139
  finishedAt: z.ZodOptional<z.ZodString>;
1045
- errorMessage: z.ZodOptional<z.ZodString>;
1140
+ 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
1141
  } & {
1047
1142
  identity: z.ZodObject<{
1048
1143
  projectionId: z.ZodString;
@@ -1098,10 +1193,11 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1098
1193
  objectTypeId: string;
1099
1194
  }>;
1100
1195
  }, "strip", z.ZodTypeAny, {
1101
- status: "running" | "succeeded" | "failed" | "cancelled";
1196
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1102
1197
  projectId: string;
1103
1198
  id: string;
1104
- startedAt: string;
1199
+ queuedAt: string;
1200
+ executionId: string;
1105
1201
  attempt: number;
1106
1202
  progress: {
1107
1203
  sourceRowsRead: number;
@@ -1123,13 +1219,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1123
1219
  target: {
1124
1220
  objectTypeId: string;
1125
1221
  };
1222
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1223
+ startedAt?: string | undefined;
1126
1224
  finishedAt?: string | undefined;
1127
- errorMessage?: string | undefined;
1128
1225
  }, {
1129
- status: "running" | "succeeded" | "failed" | "cancelled";
1226
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1130
1227
  projectId: string;
1131
1228
  id: string;
1132
- startedAt: string;
1229
+ queuedAt: string;
1230
+ executionId: string;
1133
1231
  attempt: number;
1134
1232
  progress: {
1135
1233
  sourceRowsRead: number;
@@ -1151,12 +1249,14 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1151
1249
  target: {
1152
1250
  objectTypeId: string;
1153
1251
  };
1252
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1253
+ startedAt?: string | undefined;
1154
1254
  finishedAt?: string | undefined;
1155
- errorMessage?: string | undefined;
1156
1255
  }>, z.ZodObject<{
1157
1256
  id: z.ZodString;
1158
1257
  projectId: z.ZodString;
1159
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1258
+ executionId: z.ZodString;
1259
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1160
1260
  attempt: z.ZodNumber;
1161
1261
  progress: z.ZodObject<{
1162
1262
  sourceRowsRead: z.ZodNumber;
@@ -1168,9 +1268,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1168
1268
  sourceRowsRead: number;
1169
1269
  sourceRowsSkipped: number;
1170
1270
  }>;
1171
- startedAt: z.ZodString;
1271
+ queuedAt: z.ZodString;
1272
+ startedAt: z.ZodOptional<z.ZodString>;
1172
1273
  finishedAt: z.ZodOptional<z.ZodString>;
1173
- errorMessage: z.ZodOptional<z.ZodString>;
1274
+ 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
1275
  } & {
1175
1276
  identity: z.ZodObject<{
1176
1277
  projectionId: z.ZodString;
@@ -1229,10 +1330,11 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1229
1330
  sourceObjectTypeId: string;
1230
1331
  }>;
1231
1332
  }, "strip", z.ZodTypeAny, {
1232
- status: "running" | "succeeded" | "failed" | "cancelled";
1333
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1233
1334
  projectId: string;
1234
1335
  id: string;
1235
- startedAt: string;
1336
+ queuedAt: string;
1337
+ executionId: string;
1236
1338
  attempt: number;
1237
1339
  progress: {
1238
1340
  sourceRowsRead: number;
@@ -1255,13 +1357,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1255
1357
  targetObjectTypeId: string;
1256
1358
  sourceObjectTypeId: string;
1257
1359
  };
1360
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1361
+ startedAt?: string | undefined;
1258
1362
  finishedAt?: string | undefined;
1259
- errorMessage?: string | undefined;
1260
1363
  }, {
1261
- status: "running" | "succeeded" | "failed" | "cancelled";
1364
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1262
1365
  projectId: string;
1263
1366
  id: string;
1264
- startedAt: string;
1367
+ queuedAt: string;
1368
+ executionId: string;
1265
1369
  attempt: number;
1266
1370
  progress: {
1267
1371
  sourceRowsRead: number;
@@ -1284,12 +1388,14 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1284
1388
  targetObjectTypeId: string;
1285
1389
  sourceObjectTypeId: string;
1286
1390
  };
1391
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1392
+ startedAt?: string | undefined;
1287
1393
  finishedAt?: string | undefined;
1288
- errorMessage?: string | undefined;
1289
1394
  }>, z.ZodObject<{
1290
1395
  id: z.ZodString;
1291
1396
  projectId: z.ZodString;
1292
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1397
+ executionId: z.ZodString;
1398
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1293
1399
  attempt: z.ZodNumber;
1294
1400
  progress: z.ZodObject<{
1295
1401
  sourceRowsRead: z.ZodNumber;
@@ -1301,9 +1407,10 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1301
1407
  sourceRowsRead: number;
1302
1408
  sourceRowsSkipped: number;
1303
1409
  }>;
1304
- startedAt: z.ZodString;
1410
+ queuedAt: z.ZodString;
1411
+ startedAt: z.ZodOptional<z.ZodString>;
1305
1412
  finishedAt: z.ZodOptional<z.ZodString>;
1306
- errorMessage: z.ZodOptional<z.ZodString>;
1413
+ 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
1414
  } & {
1308
1415
  identity: z.ZodObject<{
1309
1416
  projectionId: z.ZodString;
@@ -1359,10 +1466,11 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1359
1466
  objectTypeId: string;
1360
1467
  }>;
1361
1468
  }, "strip", z.ZodTypeAny, {
1362
- status: "running" | "succeeded" | "failed" | "cancelled";
1469
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1363
1470
  projectId: string;
1364
1471
  id: string;
1365
- startedAt: string;
1472
+ queuedAt: string;
1473
+ executionId: string;
1366
1474
  attempt: number;
1367
1475
  progress: {
1368
1476
  sourceRowsRead: number;
@@ -1384,13 +1492,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1384
1492
  target: {
1385
1493
  objectTypeId: string;
1386
1494
  };
1495
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1496
+ startedAt?: string | undefined;
1387
1497
  finishedAt?: string | undefined;
1388
- errorMessage?: string | undefined;
1389
1498
  }, {
1390
- status: "running" | "succeeded" | "failed" | "cancelled";
1499
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1391
1500
  projectId: string;
1392
1501
  id: string;
1393
- startedAt: string;
1502
+ queuedAt: string;
1503
+ executionId: string;
1394
1504
  attempt: number;
1395
1505
  progress: {
1396
1506
  sourceRowsRead: number;
@@ -1412,8 +1522,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1412
1522
  target: {
1413
1523
  objectTypeId: string;
1414
1524
  };
1525
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1526
+ startedAt?: string | undefined;
1415
1527
  finishedAt?: string | undefined;
1416
- errorMessage?: string | undefined;
1417
1528
  }>]>>;
1418
1529
  }, "strip", z.ZodTypeAny, {
1419
1530
  id: string;
@@ -1422,10 +1533,11 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1422
1533
  linkId: string;
1423
1534
  sourceObjectTypeId: string;
1424
1535
  latestRun: {
1425
- status: "running" | "succeeded" | "failed" | "cancelled";
1536
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1426
1537
  projectId: string;
1427
1538
  id: string;
1428
- startedAt: string;
1539
+ queuedAt: string;
1540
+ executionId: string;
1429
1541
  attempt: number;
1430
1542
  progress: {
1431
1543
  sourceRowsRead: number;
@@ -1447,13 +1559,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1447
1559
  target: {
1448
1560
  objectTypeId: string;
1449
1561
  };
1562
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1563
+ startedAt?: string | undefined;
1450
1564
  finishedAt?: string | undefined;
1451
- errorMessage?: string | undefined;
1452
1565
  } | {
1453
- status: "running" | "succeeded" | "failed" | "cancelled";
1566
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1454
1567
  projectId: string;
1455
1568
  id: string;
1456
- startedAt: string;
1569
+ queuedAt: string;
1570
+ executionId: string;
1457
1571
  attempt: number;
1458
1572
  progress: {
1459
1573
  sourceRowsRead: number;
@@ -1476,13 +1590,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1476
1590
  targetObjectTypeId: string;
1477
1591
  sourceObjectTypeId: string;
1478
1592
  };
1593
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1594
+ startedAt?: string | undefined;
1479
1595
  finishedAt?: string | undefined;
1480
- errorMessage?: string | undefined;
1481
1596
  } | {
1482
- status: "running" | "succeeded" | "failed" | "cancelled";
1597
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1483
1598
  projectId: string;
1484
1599
  id: string;
1485
- startedAt: string;
1600
+ queuedAt: string;
1601
+ executionId: string;
1486
1602
  attempt: number;
1487
1603
  progress: {
1488
1604
  sourceRowsRead: number;
@@ -1504,8 +1620,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1504
1620
  target: {
1505
1621
  objectTypeId: string;
1506
1622
  };
1623
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1624
+ startedAt?: string | undefined;
1507
1625
  finishedAt?: string | undefined;
1508
- errorMessage?: string | undefined;
1509
1626
  } | null;
1510
1627
  sourceField: string;
1511
1628
  _tag: "LinkProjectionDefinition";
@@ -1517,10 +1634,11 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1517
1634
  linkId: string;
1518
1635
  sourceObjectTypeId: string;
1519
1636
  latestRun: {
1520
- status: "running" | "succeeded" | "failed" | "cancelled";
1637
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1521
1638
  projectId: string;
1522
1639
  id: string;
1523
- startedAt: string;
1640
+ queuedAt: string;
1641
+ executionId: string;
1524
1642
  attempt: number;
1525
1643
  progress: {
1526
1644
  sourceRowsRead: number;
@@ -1542,13 +1660,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1542
1660
  target: {
1543
1661
  objectTypeId: string;
1544
1662
  };
1663
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1664
+ startedAt?: string | undefined;
1545
1665
  finishedAt?: string | undefined;
1546
- errorMessage?: string | undefined;
1547
1666
  } | {
1548
- status: "running" | "succeeded" | "failed" | "cancelled";
1667
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1549
1668
  projectId: string;
1550
1669
  id: string;
1551
- startedAt: string;
1670
+ queuedAt: string;
1671
+ executionId: string;
1552
1672
  attempt: number;
1553
1673
  progress: {
1554
1674
  sourceRowsRead: number;
@@ -1571,13 +1691,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1571
1691
  targetObjectTypeId: string;
1572
1692
  sourceObjectTypeId: string;
1573
1693
  };
1694
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1695
+ startedAt?: string | undefined;
1574
1696
  finishedAt?: string | undefined;
1575
- errorMessage?: string | undefined;
1576
1697
  } | {
1577
- status: "running" | "succeeded" | "failed" | "cancelled";
1698
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1578
1699
  projectId: string;
1579
1700
  id: string;
1580
- startedAt: string;
1701
+ queuedAt: string;
1702
+ executionId: string;
1581
1703
  attempt: number;
1582
1704
  progress: {
1583
1705
  sourceRowsRead: number;
@@ -1599,8 +1721,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1599
1721
  target: {
1600
1722
  objectTypeId: string;
1601
1723
  };
1724
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1725
+ startedAt?: string | undefined;
1602
1726
  finishedAt?: string | undefined;
1603
- errorMessage?: string | undefined;
1604
1727
  } | null;
1605
1728
  sourceField: string;
1606
1729
  _tag: "LinkProjectionDefinition";
@@ -1619,7 +1742,8 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1619
1742
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1620
1743
  id: z.ZodString;
1621
1744
  projectId: z.ZodString;
1622
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1745
+ executionId: z.ZodString;
1746
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1623
1747
  attempt: z.ZodNumber;
1624
1748
  progress: z.ZodObject<{
1625
1749
  sourceRowsRead: z.ZodNumber;
@@ -1631,9 +1755,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1631
1755
  sourceRowsRead: number;
1632
1756
  sourceRowsSkipped: number;
1633
1757
  }>;
1634
- startedAt: z.ZodString;
1758
+ queuedAt: z.ZodString;
1759
+ startedAt: z.ZodOptional<z.ZodString>;
1635
1760
  finishedAt: z.ZodOptional<z.ZodString>;
1636
- errorMessage: z.ZodOptional<z.ZodString>;
1761
+ 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
1762
  } & {
1638
1763
  identity: z.ZodObject<{
1639
1764
  projectionId: z.ZodString;
@@ -1689,10 +1814,11 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1689
1814
  objectTypeId: string;
1690
1815
  }>;
1691
1816
  }, "strip", z.ZodTypeAny, {
1692
- status: "running" | "succeeded" | "failed" | "cancelled";
1817
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1693
1818
  projectId: string;
1694
1819
  id: string;
1695
- startedAt: string;
1820
+ queuedAt: string;
1821
+ executionId: string;
1696
1822
  attempt: number;
1697
1823
  progress: {
1698
1824
  sourceRowsRead: number;
@@ -1714,13 +1840,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1714
1840
  target: {
1715
1841
  objectTypeId: string;
1716
1842
  };
1843
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1844
+ startedAt?: string | undefined;
1717
1845
  finishedAt?: string | undefined;
1718
- errorMessage?: string | undefined;
1719
1846
  }, {
1720
- status: "running" | "succeeded" | "failed" | "cancelled";
1847
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1721
1848
  projectId: string;
1722
1849
  id: string;
1723
- startedAt: string;
1850
+ queuedAt: string;
1851
+ executionId: string;
1724
1852
  attempt: number;
1725
1853
  progress: {
1726
1854
  sourceRowsRead: number;
@@ -1742,12 +1870,14 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1742
1870
  target: {
1743
1871
  objectTypeId: string;
1744
1872
  };
1873
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1874
+ startedAt?: string | undefined;
1745
1875
  finishedAt?: string | undefined;
1746
- errorMessage?: string | undefined;
1747
1876
  }>, z.ZodObject<{
1748
1877
  id: z.ZodString;
1749
1878
  projectId: z.ZodString;
1750
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
1879
+ executionId: z.ZodString;
1880
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1751
1881
  attempt: z.ZodNumber;
1752
1882
  progress: z.ZodObject<{
1753
1883
  sourceRowsRead: z.ZodNumber;
@@ -1759,9 +1889,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1759
1889
  sourceRowsRead: number;
1760
1890
  sourceRowsSkipped: number;
1761
1891
  }>;
1762
- startedAt: z.ZodString;
1892
+ queuedAt: z.ZodString;
1893
+ startedAt: z.ZodOptional<z.ZodString>;
1763
1894
  finishedAt: z.ZodOptional<z.ZodString>;
1764
- errorMessage: z.ZodOptional<z.ZodString>;
1895
+ 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
1896
  } & {
1766
1897
  identity: z.ZodObject<{
1767
1898
  projectionId: z.ZodString;
@@ -1820,10 +1951,11 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1820
1951
  sourceObjectTypeId: string;
1821
1952
  }>;
1822
1953
  }, "strip", z.ZodTypeAny, {
1823
- status: "running" | "succeeded" | "failed" | "cancelled";
1954
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1824
1955
  projectId: string;
1825
1956
  id: string;
1826
- startedAt: string;
1957
+ queuedAt: string;
1958
+ executionId: string;
1827
1959
  attempt: number;
1828
1960
  progress: {
1829
1961
  sourceRowsRead: number;
@@ -1846,13 +1978,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1846
1978
  targetObjectTypeId: string;
1847
1979
  sourceObjectTypeId: string;
1848
1980
  };
1981
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
1982
+ startedAt?: string | undefined;
1849
1983
  finishedAt?: string | undefined;
1850
- errorMessage?: string | undefined;
1851
1984
  }, {
1852
- status: "running" | "succeeded" | "failed" | "cancelled";
1985
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1853
1986
  projectId: string;
1854
1987
  id: string;
1855
- startedAt: string;
1988
+ queuedAt: string;
1989
+ executionId: string;
1856
1990
  attempt: number;
1857
1991
  progress: {
1858
1992
  sourceRowsRead: number;
@@ -1875,12 +2009,14 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1875
2009
  targetObjectTypeId: string;
1876
2010
  sourceObjectTypeId: string;
1877
2011
  };
2012
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2013
+ startedAt?: string | undefined;
1878
2014
  finishedAt?: string | undefined;
1879
- errorMessage?: string | undefined;
1880
2015
  }>, z.ZodObject<{
1881
2016
  id: z.ZodString;
1882
2017
  projectId: z.ZodString;
1883
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2018
+ executionId: z.ZodString;
2019
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
1884
2020
  attempt: z.ZodNumber;
1885
2021
  progress: z.ZodObject<{
1886
2022
  sourceRowsRead: z.ZodNumber;
@@ -1892,9 +2028,10 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1892
2028
  sourceRowsRead: number;
1893
2029
  sourceRowsSkipped: number;
1894
2030
  }>;
1895
- startedAt: z.ZodString;
2031
+ queuedAt: z.ZodString;
2032
+ startedAt: z.ZodOptional<z.ZodString>;
1896
2033
  finishedAt: z.ZodOptional<z.ZodString>;
1897
- errorMessage: z.ZodOptional<z.ZodString>;
2034
+ 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
2035
  } & {
1899
2036
  identity: z.ZodObject<{
1900
2037
  projectionId: z.ZodString;
@@ -1950,10 +2087,11 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1950
2087
  objectTypeId: string;
1951
2088
  }>;
1952
2089
  }, "strip", z.ZodTypeAny, {
1953
- status: "running" | "succeeded" | "failed" | "cancelled";
2090
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1954
2091
  projectId: string;
1955
2092
  id: string;
1956
- startedAt: string;
2093
+ queuedAt: string;
2094
+ executionId: string;
1957
2095
  attempt: number;
1958
2096
  progress: {
1959
2097
  sourceRowsRead: number;
@@ -1975,13 +2113,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1975
2113
  target: {
1976
2114
  objectTypeId: string;
1977
2115
  };
2116
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2117
+ startedAt?: string | undefined;
1978
2118
  finishedAt?: string | undefined;
1979
- errorMessage?: string | undefined;
1980
2119
  }, {
1981
- status: "running" | "succeeded" | "failed" | "cancelled";
2120
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1982
2121
  projectId: string;
1983
2122
  id: string;
1984
- startedAt: string;
2123
+ queuedAt: string;
2124
+ executionId: string;
1985
2125
  attempt: number;
1986
2126
  progress: {
1987
2127
  sourceRowsRead: number;
@@ -2003,19 +2143,21 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2003
2143
  target: {
2004
2144
  objectTypeId: string;
2005
2145
  };
2146
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2147
+ startedAt?: string | undefined;
2006
2148
  finishedAt?: string | undefined;
2007
- errorMessage?: string | undefined;
2008
2149
  }>]>>;
2009
2150
  }, "strip", z.ZodTypeAny, {
2010
- objectTypeId: string;
2011
2151
  id: string;
2152
+ objectTypeId: string;
2012
2153
  datasetId: string;
2013
2154
  propertyId: string;
2014
2155
  latestRun: {
2015
- status: "running" | "succeeded" | "failed" | "cancelled";
2156
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2016
2157
  projectId: string;
2017
2158
  id: string;
2018
- startedAt: string;
2159
+ queuedAt: string;
2160
+ executionId: string;
2019
2161
  attempt: number;
2020
2162
  progress: {
2021
2163
  sourceRowsRead: number;
@@ -2037,13 +2179,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2037
2179
  target: {
2038
2180
  objectTypeId: string;
2039
2181
  };
2182
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2183
+ startedAt?: string | undefined;
2040
2184
  finishedAt?: string | undefined;
2041
- errorMessage?: string | undefined;
2042
2185
  } | {
2043
- status: "running" | "succeeded" | "failed" | "cancelled";
2186
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2044
2187
  projectId: string;
2045
2188
  id: string;
2046
- startedAt: string;
2189
+ queuedAt: string;
2190
+ executionId: string;
2047
2191
  attempt: number;
2048
2192
  progress: {
2049
2193
  sourceRowsRead: number;
@@ -2066,13 +2210,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2066
2210
  targetObjectTypeId: string;
2067
2211
  sourceObjectTypeId: string;
2068
2212
  };
2213
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2214
+ startedAt?: string | undefined;
2069
2215
  finishedAt?: string | undefined;
2070
- errorMessage?: string | undefined;
2071
2216
  } | {
2072
- status: "running" | "succeeded" | "failed" | "cancelled";
2217
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2073
2218
  projectId: string;
2074
2219
  id: string;
2075
- startedAt: string;
2220
+ queuedAt: string;
2221
+ executionId: string;
2076
2222
  attempt: number;
2077
2223
  progress: {
2078
2224
  sourceRowsRead: number;
@@ -2094,8 +2240,9 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2094
2240
  target: {
2095
2241
  objectTypeId: string;
2096
2242
  };
2243
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2244
+ startedAt?: string | undefined;
2097
2245
  finishedAt?: string | undefined;
2098
- errorMessage?: string | undefined;
2099
2246
  } | null;
2100
2247
  _tag: "TelemetryProjectionDefinition";
2101
2248
  objectIdField: string;
@@ -2103,15 +2250,16 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2103
2250
  valueField: string;
2104
2251
  unitField?: string | undefined;
2105
2252
  }, {
2106
- objectTypeId: string;
2107
2253
  id: string;
2254
+ objectTypeId: string;
2108
2255
  datasetId: string;
2109
2256
  propertyId: string;
2110
2257
  latestRun: {
2111
- status: "running" | "succeeded" | "failed" | "cancelled";
2258
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2112
2259
  projectId: string;
2113
2260
  id: string;
2114
- startedAt: string;
2261
+ queuedAt: string;
2262
+ executionId: string;
2115
2263
  attempt: number;
2116
2264
  progress: {
2117
2265
  sourceRowsRead: number;
@@ -2133,13 +2281,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2133
2281
  target: {
2134
2282
  objectTypeId: string;
2135
2283
  };
2284
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2285
+ startedAt?: string | undefined;
2136
2286
  finishedAt?: string | undefined;
2137
- errorMessage?: string | undefined;
2138
2287
  } | {
2139
- status: "running" | "succeeded" | "failed" | "cancelled";
2288
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2140
2289
  projectId: string;
2141
2290
  id: string;
2142
- startedAt: string;
2291
+ queuedAt: string;
2292
+ executionId: string;
2143
2293
  attempt: number;
2144
2294
  progress: {
2145
2295
  sourceRowsRead: number;
@@ -2162,13 +2312,15 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2162
2312
  targetObjectTypeId: string;
2163
2313
  sourceObjectTypeId: string;
2164
2314
  };
2315
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2316
+ startedAt?: string | undefined;
2165
2317
  finishedAt?: string | undefined;
2166
- errorMessage?: string | undefined;
2167
2318
  } | {
2168
- status: "running" | "succeeded" | "failed" | "cancelled";
2319
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2169
2320
  projectId: string;
2170
2321
  id: string;
2171
- startedAt: string;
2322
+ queuedAt: string;
2323
+ executionId: string;
2172
2324
  attempt: number;
2173
2325
  progress: {
2174
2326
  sourceRowsRead: number;
@@ -2190,8 +2342,9 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2190
2342
  target: {
2191
2343
  objectTypeId: string;
2192
2344
  };
2345
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2346
+ startedAt?: string | undefined;
2193
2347
  finishedAt?: string | undefined;
2194
- errorMessage?: string | undefined;
2195
2348
  } | null;
2196
2349
  _tag: "TelemetryProjectionDefinition";
2197
2350
  objectIdField: string;
@@ -2222,10 +2375,27 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2222
2375
  sourcePropertyId?: string | undefined;
2223
2376
  sourceField?: string | undefined;
2224
2377
  }>>;
2378
+ conflictResolution: z.ZodUnion<[z.ZodObject<{
2379
+ strategy: z.ZodLiteral<"editsWin">;
2380
+ }, "strip", z.ZodTypeAny, {
2381
+ strategy: "editsWin";
2382
+ }, {
2383
+ strategy: "editsWin";
2384
+ }>, z.ZodObject<{
2385
+ strategy: z.ZodLiteral<"mostRecent">;
2386
+ sourceTimestamp: z.ZodString;
2387
+ }, "strip", z.ZodTypeAny, {
2388
+ strategy: "mostRecent";
2389
+ sourceTimestamp: string;
2390
+ }, {
2391
+ strategy: "mostRecent";
2392
+ sourceTimestamp: string;
2393
+ }>]>;
2225
2394
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2226
2395
  id: z.ZodString;
2227
2396
  projectId: z.ZodString;
2228
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2397
+ executionId: z.ZodString;
2398
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2229
2399
  attempt: z.ZodNumber;
2230
2400
  progress: z.ZodObject<{
2231
2401
  sourceRowsRead: z.ZodNumber;
@@ -2237,9 +2407,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2237
2407
  sourceRowsRead: number;
2238
2408
  sourceRowsSkipped: number;
2239
2409
  }>;
2240
- startedAt: z.ZodString;
2410
+ queuedAt: z.ZodString;
2411
+ startedAt: z.ZodOptional<z.ZodString>;
2241
2412
  finishedAt: z.ZodOptional<z.ZodString>;
2242
- errorMessage: z.ZodOptional<z.ZodString>;
2413
+ 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
2414
  } & {
2244
2415
  identity: z.ZodObject<{
2245
2416
  projectionId: z.ZodString;
@@ -2295,10 +2466,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2295
2466
  objectTypeId: string;
2296
2467
  }>;
2297
2468
  }, "strip", z.ZodTypeAny, {
2298
- status: "running" | "succeeded" | "failed" | "cancelled";
2469
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2299
2470
  projectId: string;
2300
2471
  id: string;
2301
- startedAt: string;
2472
+ queuedAt: string;
2473
+ executionId: string;
2302
2474
  attempt: number;
2303
2475
  progress: {
2304
2476
  sourceRowsRead: number;
@@ -2320,13 +2492,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2320
2492
  target: {
2321
2493
  objectTypeId: string;
2322
2494
  };
2495
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2496
+ startedAt?: string | undefined;
2323
2497
  finishedAt?: string | undefined;
2324
- errorMessage?: string | undefined;
2325
2498
  }, {
2326
- status: "running" | "succeeded" | "failed" | "cancelled";
2499
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2327
2500
  projectId: string;
2328
2501
  id: string;
2329
- startedAt: string;
2502
+ queuedAt: string;
2503
+ executionId: string;
2330
2504
  attempt: number;
2331
2505
  progress: {
2332
2506
  sourceRowsRead: number;
@@ -2348,12 +2522,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2348
2522
  target: {
2349
2523
  objectTypeId: string;
2350
2524
  };
2525
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2526
+ startedAt?: string | undefined;
2351
2527
  finishedAt?: string | undefined;
2352
- errorMessage?: string | undefined;
2353
2528
  }>, z.ZodObject<{
2354
2529
  id: z.ZodString;
2355
2530
  projectId: z.ZodString;
2356
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2531
+ executionId: z.ZodString;
2532
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2357
2533
  attempt: z.ZodNumber;
2358
2534
  progress: z.ZodObject<{
2359
2535
  sourceRowsRead: z.ZodNumber;
@@ -2365,9 +2541,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2365
2541
  sourceRowsRead: number;
2366
2542
  sourceRowsSkipped: number;
2367
2543
  }>;
2368
- startedAt: z.ZodString;
2544
+ queuedAt: z.ZodString;
2545
+ startedAt: z.ZodOptional<z.ZodString>;
2369
2546
  finishedAt: z.ZodOptional<z.ZodString>;
2370
- errorMessage: z.ZodOptional<z.ZodString>;
2547
+ 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
2548
  } & {
2372
2549
  identity: z.ZodObject<{
2373
2550
  projectionId: z.ZodString;
@@ -2426,10 +2603,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2426
2603
  sourceObjectTypeId: string;
2427
2604
  }>;
2428
2605
  }, "strip", z.ZodTypeAny, {
2429
- status: "running" | "succeeded" | "failed" | "cancelled";
2606
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2430
2607
  projectId: string;
2431
2608
  id: string;
2432
- startedAt: string;
2609
+ queuedAt: string;
2610
+ executionId: string;
2433
2611
  attempt: number;
2434
2612
  progress: {
2435
2613
  sourceRowsRead: number;
@@ -2452,13 +2630,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2452
2630
  targetObjectTypeId: string;
2453
2631
  sourceObjectTypeId: string;
2454
2632
  };
2633
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2634
+ startedAt?: string | undefined;
2455
2635
  finishedAt?: string | undefined;
2456
- errorMessage?: string | undefined;
2457
2636
  }, {
2458
- status: "running" | "succeeded" | "failed" | "cancelled";
2637
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2459
2638
  projectId: string;
2460
2639
  id: string;
2461
- startedAt: string;
2640
+ queuedAt: string;
2641
+ executionId: string;
2462
2642
  attempt: number;
2463
2643
  progress: {
2464
2644
  sourceRowsRead: number;
@@ -2481,12 +2661,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2481
2661
  targetObjectTypeId: string;
2482
2662
  sourceObjectTypeId: string;
2483
2663
  };
2664
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2665
+ startedAt?: string | undefined;
2484
2666
  finishedAt?: string | undefined;
2485
- errorMessage?: string | undefined;
2486
2667
  }>, z.ZodObject<{
2487
2668
  id: z.ZodString;
2488
2669
  projectId: z.ZodString;
2489
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
2670
+ executionId: z.ZodString;
2671
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2490
2672
  attempt: z.ZodNumber;
2491
2673
  progress: z.ZodObject<{
2492
2674
  sourceRowsRead: z.ZodNumber;
@@ -2498,9 +2680,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2498
2680
  sourceRowsRead: number;
2499
2681
  sourceRowsSkipped: number;
2500
2682
  }>;
2501
- startedAt: z.ZodString;
2683
+ queuedAt: z.ZodString;
2684
+ startedAt: z.ZodOptional<z.ZodString>;
2502
2685
  finishedAt: z.ZodOptional<z.ZodString>;
2503
- errorMessage: z.ZodOptional<z.ZodString>;
2686
+ 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
2687
  } & {
2505
2688
  identity: z.ZodObject<{
2506
2689
  projectionId: z.ZodString;
@@ -2556,10 +2739,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2556
2739
  objectTypeId: string;
2557
2740
  }>;
2558
2741
  }, "strip", z.ZodTypeAny, {
2559
- status: "running" | "succeeded" | "failed" | "cancelled";
2742
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2560
2743
  projectId: string;
2561
2744
  id: string;
2562
- startedAt: string;
2745
+ queuedAt: string;
2746
+ executionId: string;
2563
2747
  attempt: number;
2564
2748
  progress: {
2565
2749
  sourceRowsRead: number;
@@ -2581,13 +2765,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2581
2765
  target: {
2582
2766
  objectTypeId: string;
2583
2767
  };
2768
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2769
+ startedAt?: string | undefined;
2584
2770
  finishedAt?: string | undefined;
2585
- errorMessage?: string | undefined;
2586
2771
  }, {
2587
- status: "running" | "succeeded" | "failed" | "cancelled";
2772
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2588
2773
  projectId: string;
2589
2774
  id: string;
2590
- startedAt: string;
2775
+ queuedAt: string;
2776
+ executionId: string;
2591
2777
  attempt: number;
2592
2778
  progress: {
2593
2779
  sourceRowsRead: number;
@@ -2609,25 +2795,27 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2609
2795
  target: {
2610
2796
  objectTypeId: string;
2611
2797
  };
2798
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2799
+ startedAt?: string | undefined;
2612
2800
  finishedAt?: string | undefined;
2613
- errorMessage?: string | undefined;
2614
2801
  }>]>>;
2615
2802
  }, "strip", z.ZodTypeAny, {
2803
+ id: string;
2616
2804
  links: Record<string, {
2617
2805
  targetObjectTypeId: string;
2618
2806
  linkId: string;
2619
2807
  sourcePropertyId?: string | undefined;
2620
2808
  sourceField?: string | undefined;
2621
2809
  }>;
2622
- objectTypeId: string;
2623
- id: string;
2624
2810
  properties: Record<string, string>;
2811
+ objectTypeId: string;
2625
2812
  datasetId: string;
2626
2813
  latestRun: {
2627
- status: "running" | "succeeded" | "failed" | "cancelled";
2814
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2628
2815
  projectId: string;
2629
2816
  id: string;
2630
- startedAt: string;
2817
+ queuedAt: string;
2818
+ executionId: string;
2631
2819
  attempt: number;
2632
2820
  progress: {
2633
2821
  sourceRowsRead: number;
@@ -2649,13 +2837,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2649
2837
  target: {
2650
2838
  objectTypeId: string;
2651
2839
  };
2840
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2841
+ startedAt?: string | undefined;
2652
2842
  finishedAt?: string | undefined;
2653
- errorMessage?: string | undefined;
2654
2843
  } | {
2655
- status: "running" | "succeeded" | "failed" | "cancelled";
2844
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2656
2845
  projectId: string;
2657
2846
  id: string;
2658
- startedAt: string;
2847
+ queuedAt: string;
2848
+ executionId: string;
2659
2849
  attempt: number;
2660
2850
  progress: {
2661
2851
  sourceRowsRead: number;
@@ -2678,13 +2868,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2678
2868
  targetObjectTypeId: string;
2679
2869
  sourceObjectTypeId: string;
2680
2870
  };
2871
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2872
+ startedAt?: string | undefined;
2681
2873
  finishedAt?: string | undefined;
2682
- errorMessage?: string | undefined;
2683
2874
  } | {
2684
- status: "running" | "succeeded" | "failed" | "cancelled";
2875
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2685
2876
  projectId: string;
2686
2877
  id: string;
2687
- startedAt: string;
2878
+ queuedAt: string;
2879
+ executionId: string;
2688
2880
  attempt: number;
2689
2881
  progress: {
2690
2882
  sourceRowsRead: number;
@@ -2706,26 +2898,34 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2706
2898
  target: {
2707
2899
  objectTypeId: string;
2708
2900
  };
2901
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2902
+ startedAt?: string | undefined;
2709
2903
  finishedAt?: string | undefined;
2710
- errorMessage?: string | undefined;
2711
2904
  } | null;
2712
2905
  _tag: "ObjectProjectionDefinition";
2906
+ conflictResolution: {
2907
+ strategy: "editsWin";
2908
+ } | {
2909
+ strategy: "mostRecent";
2910
+ sourceTimestamp: string;
2911
+ };
2713
2912
  }, {
2913
+ id: string;
2714
2914
  links: Record<string, {
2715
2915
  targetObjectTypeId: string;
2716
2916
  linkId: string;
2717
2917
  sourcePropertyId?: string | undefined;
2718
2918
  sourceField?: string | undefined;
2719
2919
  }>;
2720
- objectTypeId: string;
2721
- id: string;
2722
2920
  properties: Record<string, string>;
2921
+ objectTypeId: string;
2723
2922
  datasetId: string;
2724
2923
  latestRun: {
2725
- status: "running" | "succeeded" | "failed" | "cancelled";
2924
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2726
2925
  projectId: string;
2727
2926
  id: string;
2728
- startedAt: string;
2927
+ queuedAt: string;
2928
+ executionId: string;
2729
2929
  attempt: number;
2730
2930
  progress: {
2731
2931
  sourceRowsRead: number;
@@ -2747,13 +2947,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2747
2947
  target: {
2748
2948
  objectTypeId: string;
2749
2949
  };
2950
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2951
+ startedAt?: string | undefined;
2750
2952
  finishedAt?: string | undefined;
2751
- errorMessage?: string | undefined;
2752
2953
  } | {
2753
- status: "running" | "succeeded" | "failed" | "cancelled";
2954
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2754
2955
  projectId: string;
2755
2956
  id: string;
2756
- startedAt: string;
2957
+ queuedAt: string;
2958
+ executionId: string;
2757
2959
  attempt: number;
2758
2960
  progress: {
2759
2961
  sourceRowsRead: number;
@@ -2776,13 +2978,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2776
2978
  targetObjectTypeId: string;
2777
2979
  sourceObjectTypeId: string;
2778
2980
  };
2981
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
2982
+ startedAt?: string | undefined;
2779
2983
  finishedAt?: string | undefined;
2780
- errorMessage?: string | undefined;
2781
2984
  } | {
2782
- status: "running" | "succeeded" | "failed" | "cancelled";
2985
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2783
2986
  projectId: string;
2784
2987
  id: string;
2785
- startedAt: string;
2988
+ queuedAt: string;
2989
+ executionId: string;
2786
2990
  attempt: number;
2787
2991
  progress: {
2788
2992
  sourceRowsRead: number;
@@ -2804,10 +3008,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2804
3008
  target: {
2805
3009
  objectTypeId: string;
2806
3010
  };
3011
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3012
+ startedAt?: string | undefined;
2807
3013
  finishedAt?: string | undefined;
2808
- errorMessage?: string | undefined;
2809
3014
  } | null;
2810
3015
  _tag: "ObjectProjectionDefinition";
3016
+ conflictResolution: {
3017
+ strategy: "editsWin";
3018
+ } | {
3019
+ strategy: "mostRecent";
3020
+ sourceTimestamp: string;
3021
+ };
2811
3022
  }>, "many">;
2812
3023
  linkProjections: z.ZodArray<z.ZodObject<{
2813
3024
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
@@ -2821,7 +3032,8 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2821
3032
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2822
3033
  id: z.ZodString;
2823
3034
  projectId: z.ZodString;
2824
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3035
+ executionId: z.ZodString;
3036
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2825
3037
  attempt: z.ZodNumber;
2826
3038
  progress: z.ZodObject<{
2827
3039
  sourceRowsRead: z.ZodNumber;
@@ -2833,9 +3045,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2833
3045
  sourceRowsRead: number;
2834
3046
  sourceRowsSkipped: number;
2835
3047
  }>;
2836
- startedAt: z.ZodString;
3048
+ queuedAt: z.ZodString;
3049
+ startedAt: z.ZodOptional<z.ZodString>;
2837
3050
  finishedAt: z.ZodOptional<z.ZodString>;
2838
- errorMessage: z.ZodOptional<z.ZodString>;
3051
+ 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
3052
  } & {
2840
3053
  identity: z.ZodObject<{
2841
3054
  projectionId: z.ZodString;
@@ -2891,10 +3104,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2891
3104
  objectTypeId: string;
2892
3105
  }>;
2893
3106
  }, "strip", z.ZodTypeAny, {
2894
- status: "running" | "succeeded" | "failed" | "cancelled";
3107
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2895
3108
  projectId: string;
2896
3109
  id: string;
2897
- startedAt: string;
3110
+ queuedAt: string;
3111
+ executionId: string;
2898
3112
  attempt: number;
2899
3113
  progress: {
2900
3114
  sourceRowsRead: number;
@@ -2916,13 +3130,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2916
3130
  target: {
2917
3131
  objectTypeId: string;
2918
3132
  };
3133
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3134
+ startedAt?: string | undefined;
2919
3135
  finishedAt?: string | undefined;
2920
- errorMessage?: string | undefined;
2921
3136
  }, {
2922
- status: "running" | "succeeded" | "failed" | "cancelled";
3137
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2923
3138
  projectId: string;
2924
3139
  id: string;
2925
- startedAt: string;
3140
+ queuedAt: string;
3141
+ executionId: string;
2926
3142
  attempt: number;
2927
3143
  progress: {
2928
3144
  sourceRowsRead: number;
@@ -2944,12 +3160,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2944
3160
  target: {
2945
3161
  objectTypeId: string;
2946
3162
  };
3163
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3164
+ startedAt?: string | undefined;
2947
3165
  finishedAt?: string | undefined;
2948
- errorMessage?: string | undefined;
2949
3166
  }>, z.ZodObject<{
2950
3167
  id: z.ZodString;
2951
3168
  projectId: z.ZodString;
2952
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3169
+ executionId: z.ZodString;
3170
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
2953
3171
  attempt: z.ZodNumber;
2954
3172
  progress: z.ZodObject<{
2955
3173
  sourceRowsRead: z.ZodNumber;
@@ -2961,9 +3179,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2961
3179
  sourceRowsRead: number;
2962
3180
  sourceRowsSkipped: number;
2963
3181
  }>;
2964
- startedAt: z.ZodString;
3182
+ queuedAt: z.ZodString;
3183
+ startedAt: z.ZodOptional<z.ZodString>;
2965
3184
  finishedAt: z.ZodOptional<z.ZodString>;
2966
- errorMessage: z.ZodOptional<z.ZodString>;
3185
+ 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
3186
  } & {
2968
3187
  identity: z.ZodObject<{
2969
3188
  projectionId: z.ZodString;
@@ -3022,10 +3241,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3022
3241
  sourceObjectTypeId: string;
3023
3242
  }>;
3024
3243
  }, "strip", z.ZodTypeAny, {
3025
- status: "running" | "succeeded" | "failed" | "cancelled";
3244
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3026
3245
  projectId: string;
3027
3246
  id: string;
3028
- startedAt: string;
3247
+ queuedAt: string;
3248
+ executionId: string;
3029
3249
  attempt: number;
3030
3250
  progress: {
3031
3251
  sourceRowsRead: number;
@@ -3048,13 +3268,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3048
3268
  targetObjectTypeId: string;
3049
3269
  sourceObjectTypeId: string;
3050
3270
  };
3271
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3272
+ startedAt?: string | undefined;
3051
3273
  finishedAt?: string | undefined;
3052
- errorMessage?: string | undefined;
3053
3274
  }, {
3054
- status: "running" | "succeeded" | "failed" | "cancelled";
3275
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3055
3276
  projectId: string;
3056
3277
  id: string;
3057
- startedAt: string;
3278
+ queuedAt: string;
3279
+ executionId: string;
3058
3280
  attempt: number;
3059
3281
  progress: {
3060
3282
  sourceRowsRead: number;
@@ -3077,12 +3299,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3077
3299
  targetObjectTypeId: string;
3078
3300
  sourceObjectTypeId: string;
3079
3301
  };
3302
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3303
+ startedAt?: string | undefined;
3080
3304
  finishedAt?: string | undefined;
3081
- errorMessage?: string | undefined;
3082
3305
  }>, z.ZodObject<{
3083
3306
  id: z.ZodString;
3084
3307
  projectId: z.ZodString;
3085
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3308
+ executionId: z.ZodString;
3309
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3086
3310
  attempt: z.ZodNumber;
3087
3311
  progress: z.ZodObject<{
3088
3312
  sourceRowsRead: z.ZodNumber;
@@ -3094,9 +3318,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3094
3318
  sourceRowsRead: number;
3095
3319
  sourceRowsSkipped: number;
3096
3320
  }>;
3097
- startedAt: z.ZodString;
3321
+ queuedAt: z.ZodString;
3322
+ startedAt: z.ZodOptional<z.ZodString>;
3098
3323
  finishedAt: z.ZodOptional<z.ZodString>;
3099
- errorMessage: z.ZodOptional<z.ZodString>;
3324
+ 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
3325
  } & {
3101
3326
  identity: z.ZodObject<{
3102
3327
  projectionId: z.ZodString;
@@ -3152,10 +3377,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3152
3377
  objectTypeId: string;
3153
3378
  }>;
3154
3379
  }, "strip", z.ZodTypeAny, {
3155
- status: "running" | "succeeded" | "failed" | "cancelled";
3380
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3156
3381
  projectId: string;
3157
3382
  id: string;
3158
- startedAt: string;
3383
+ queuedAt: string;
3384
+ executionId: string;
3159
3385
  attempt: number;
3160
3386
  progress: {
3161
3387
  sourceRowsRead: number;
@@ -3177,13 +3403,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3177
3403
  target: {
3178
3404
  objectTypeId: string;
3179
3405
  };
3406
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3407
+ startedAt?: string | undefined;
3180
3408
  finishedAt?: string | undefined;
3181
- errorMessage?: string | undefined;
3182
3409
  }, {
3183
- status: "running" | "succeeded" | "failed" | "cancelled";
3410
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3184
3411
  projectId: string;
3185
3412
  id: string;
3186
- startedAt: string;
3413
+ queuedAt: string;
3414
+ executionId: string;
3187
3415
  attempt: number;
3188
3416
  progress: {
3189
3417
  sourceRowsRead: number;
@@ -3205,8 +3433,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3205
3433
  target: {
3206
3434
  objectTypeId: string;
3207
3435
  };
3436
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3437
+ startedAt?: string | undefined;
3208
3438
  finishedAt?: string | undefined;
3209
- errorMessage?: string | undefined;
3210
3439
  }>]>>;
3211
3440
  }, "strip", z.ZodTypeAny, {
3212
3441
  id: string;
@@ -3215,10 +3444,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3215
3444
  linkId: string;
3216
3445
  sourceObjectTypeId: string;
3217
3446
  latestRun: {
3218
- status: "running" | "succeeded" | "failed" | "cancelled";
3447
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3219
3448
  projectId: string;
3220
3449
  id: string;
3221
- startedAt: string;
3450
+ queuedAt: string;
3451
+ executionId: string;
3222
3452
  attempt: number;
3223
3453
  progress: {
3224
3454
  sourceRowsRead: number;
@@ -3240,13 +3470,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3240
3470
  target: {
3241
3471
  objectTypeId: string;
3242
3472
  };
3473
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3474
+ startedAt?: string | undefined;
3243
3475
  finishedAt?: string | undefined;
3244
- errorMessage?: string | undefined;
3245
3476
  } | {
3246
- status: "running" | "succeeded" | "failed" | "cancelled";
3477
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3247
3478
  projectId: string;
3248
3479
  id: string;
3249
- startedAt: string;
3480
+ queuedAt: string;
3481
+ executionId: string;
3250
3482
  attempt: number;
3251
3483
  progress: {
3252
3484
  sourceRowsRead: number;
@@ -3269,13 +3501,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3269
3501
  targetObjectTypeId: string;
3270
3502
  sourceObjectTypeId: string;
3271
3503
  };
3504
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3505
+ startedAt?: string | undefined;
3272
3506
  finishedAt?: string | undefined;
3273
- errorMessage?: string | undefined;
3274
3507
  } | {
3275
- status: "running" | "succeeded" | "failed" | "cancelled";
3508
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3276
3509
  projectId: string;
3277
3510
  id: string;
3278
- startedAt: string;
3511
+ queuedAt: string;
3512
+ executionId: string;
3279
3513
  attempt: number;
3280
3514
  progress: {
3281
3515
  sourceRowsRead: number;
@@ -3297,8 +3531,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3297
3531
  target: {
3298
3532
  objectTypeId: string;
3299
3533
  };
3534
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3535
+ startedAt?: string | undefined;
3300
3536
  finishedAt?: string | undefined;
3301
- errorMessage?: string | undefined;
3302
3537
  } | null;
3303
3538
  sourceField: string;
3304
3539
  _tag: "LinkProjectionDefinition";
@@ -3310,10 +3545,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3310
3545
  linkId: string;
3311
3546
  sourceObjectTypeId: string;
3312
3547
  latestRun: {
3313
- status: "running" | "succeeded" | "failed" | "cancelled";
3548
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3314
3549
  projectId: string;
3315
3550
  id: string;
3316
- startedAt: string;
3551
+ queuedAt: string;
3552
+ executionId: string;
3317
3553
  attempt: number;
3318
3554
  progress: {
3319
3555
  sourceRowsRead: number;
@@ -3335,13 +3571,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3335
3571
  target: {
3336
3572
  objectTypeId: string;
3337
3573
  };
3574
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3575
+ startedAt?: string | undefined;
3338
3576
  finishedAt?: string | undefined;
3339
- errorMessage?: string | undefined;
3340
3577
  } | {
3341
- status: "running" | "succeeded" | "failed" | "cancelled";
3578
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3342
3579
  projectId: string;
3343
3580
  id: string;
3344
- startedAt: string;
3581
+ queuedAt: string;
3582
+ executionId: string;
3345
3583
  attempt: number;
3346
3584
  progress: {
3347
3585
  sourceRowsRead: number;
@@ -3364,13 +3602,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3364
3602
  targetObjectTypeId: string;
3365
3603
  sourceObjectTypeId: string;
3366
3604
  };
3605
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3606
+ startedAt?: string | undefined;
3367
3607
  finishedAt?: string | undefined;
3368
- errorMessage?: string | undefined;
3369
3608
  } | {
3370
- status: "running" | "succeeded" | "failed" | "cancelled";
3609
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3371
3610
  projectId: string;
3372
3611
  id: string;
3373
- startedAt: string;
3612
+ queuedAt: string;
3613
+ executionId: string;
3374
3614
  attempt: number;
3375
3615
  progress: {
3376
3616
  sourceRowsRead: number;
@@ -3392,8 +3632,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3392
3632
  target: {
3393
3633
  objectTypeId: string;
3394
3634
  };
3635
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3636
+ startedAt?: string | undefined;
3395
3637
  finishedAt?: string | undefined;
3396
- errorMessage?: string | undefined;
3397
3638
  } | null;
3398
3639
  sourceField: string;
3399
3640
  _tag: "LinkProjectionDefinition";
@@ -3412,7 +3653,8 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3412
3653
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
3413
3654
  id: z.ZodString;
3414
3655
  projectId: z.ZodString;
3415
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3656
+ executionId: z.ZodString;
3657
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3416
3658
  attempt: z.ZodNumber;
3417
3659
  progress: z.ZodObject<{
3418
3660
  sourceRowsRead: z.ZodNumber;
@@ -3424,9 +3666,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3424
3666
  sourceRowsRead: number;
3425
3667
  sourceRowsSkipped: number;
3426
3668
  }>;
3427
- startedAt: z.ZodString;
3669
+ queuedAt: z.ZodString;
3670
+ startedAt: z.ZodOptional<z.ZodString>;
3428
3671
  finishedAt: z.ZodOptional<z.ZodString>;
3429
- errorMessage: z.ZodOptional<z.ZodString>;
3672
+ 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
3673
  } & {
3431
3674
  identity: z.ZodObject<{
3432
3675
  projectionId: z.ZodString;
@@ -3482,10 +3725,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3482
3725
  objectTypeId: string;
3483
3726
  }>;
3484
3727
  }, "strip", z.ZodTypeAny, {
3485
- status: "running" | "succeeded" | "failed" | "cancelled";
3728
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3486
3729
  projectId: string;
3487
3730
  id: string;
3488
- startedAt: string;
3731
+ queuedAt: string;
3732
+ executionId: string;
3489
3733
  attempt: number;
3490
3734
  progress: {
3491
3735
  sourceRowsRead: number;
@@ -3507,13 +3751,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3507
3751
  target: {
3508
3752
  objectTypeId: string;
3509
3753
  };
3754
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3755
+ startedAt?: string | undefined;
3510
3756
  finishedAt?: string | undefined;
3511
- errorMessage?: string | undefined;
3512
3757
  }, {
3513
- status: "running" | "succeeded" | "failed" | "cancelled";
3758
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3514
3759
  projectId: string;
3515
3760
  id: string;
3516
- startedAt: string;
3761
+ queuedAt: string;
3762
+ executionId: string;
3517
3763
  attempt: number;
3518
3764
  progress: {
3519
3765
  sourceRowsRead: number;
@@ -3535,12 +3781,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3535
3781
  target: {
3536
3782
  objectTypeId: string;
3537
3783
  };
3784
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3785
+ startedAt?: string | undefined;
3538
3786
  finishedAt?: string | undefined;
3539
- errorMessage?: string | undefined;
3540
3787
  }>, z.ZodObject<{
3541
3788
  id: z.ZodString;
3542
3789
  projectId: z.ZodString;
3543
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3790
+ executionId: z.ZodString;
3791
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3544
3792
  attempt: z.ZodNumber;
3545
3793
  progress: z.ZodObject<{
3546
3794
  sourceRowsRead: z.ZodNumber;
@@ -3552,9 +3800,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3552
3800
  sourceRowsRead: number;
3553
3801
  sourceRowsSkipped: number;
3554
3802
  }>;
3555
- startedAt: z.ZodString;
3803
+ queuedAt: z.ZodString;
3804
+ startedAt: z.ZodOptional<z.ZodString>;
3556
3805
  finishedAt: z.ZodOptional<z.ZodString>;
3557
- errorMessage: z.ZodOptional<z.ZodString>;
3806
+ 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
3807
  } & {
3559
3808
  identity: z.ZodObject<{
3560
3809
  projectionId: z.ZodString;
@@ -3613,10 +3862,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3613
3862
  sourceObjectTypeId: string;
3614
3863
  }>;
3615
3864
  }, "strip", z.ZodTypeAny, {
3616
- status: "running" | "succeeded" | "failed" | "cancelled";
3865
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3617
3866
  projectId: string;
3618
3867
  id: string;
3619
- startedAt: string;
3868
+ queuedAt: string;
3869
+ executionId: string;
3620
3870
  attempt: number;
3621
3871
  progress: {
3622
3872
  sourceRowsRead: number;
@@ -3639,13 +3889,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3639
3889
  targetObjectTypeId: string;
3640
3890
  sourceObjectTypeId: string;
3641
3891
  };
3892
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3893
+ startedAt?: string | undefined;
3642
3894
  finishedAt?: string | undefined;
3643
- errorMessage?: string | undefined;
3644
3895
  }, {
3645
- status: "running" | "succeeded" | "failed" | "cancelled";
3896
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3646
3897
  projectId: string;
3647
3898
  id: string;
3648
- startedAt: string;
3899
+ queuedAt: string;
3900
+ executionId: string;
3649
3901
  attempt: number;
3650
3902
  progress: {
3651
3903
  sourceRowsRead: number;
@@ -3668,12 +3920,14 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3668
3920
  targetObjectTypeId: string;
3669
3921
  sourceObjectTypeId: string;
3670
3922
  };
3923
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
3924
+ startedAt?: string | undefined;
3671
3925
  finishedAt?: string | undefined;
3672
- errorMessage?: string | undefined;
3673
3926
  }>, z.ZodObject<{
3674
3927
  id: z.ZodString;
3675
3928
  projectId: z.ZodString;
3676
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
3929
+ executionId: z.ZodString;
3930
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
3677
3931
  attempt: z.ZodNumber;
3678
3932
  progress: z.ZodObject<{
3679
3933
  sourceRowsRead: z.ZodNumber;
@@ -3685,9 +3939,10 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3685
3939
  sourceRowsRead: number;
3686
3940
  sourceRowsSkipped: number;
3687
3941
  }>;
3688
- startedAt: z.ZodString;
3942
+ queuedAt: z.ZodString;
3943
+ startedAt: z.ZodOptional<z.ZodString>;
3689
3944
  finishedAt: z.ZodOptional<z.ZodString>;
3690
- errorMessage: z.ZodOptional<z.ZodString>;
3945
+ 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
3946
  } & {
3692
3947
  identity: z.ZodObject<{
3693
3948
  projectionId: z.ZodString;
@@ -3743,10 +3998,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3743
3998
  objectTypeId: string;
3744
3999
  }>;
3745
4000
  }, "strip", z.ZodTypeAny, {
3746
- status: "running" | "succeeded" | "failed" | "cancelled";
4001
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3747
4002
  projectId: string;
3748
4003
  id: string;
3749
- startedAt: string;
4004
+ queuedAt: string;
4005
+ executionId: string;
3750
4006
  attempt: number;
3751
4007
  progress: {
3752
4008
  sourceRowsRead: number;
@@ -3768,13 +4024,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3768
4024
  target: {
3769
4025
  objectTypeId: string;
3770
4026
  };
4027
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4028
+ startedAt?: string | undefined;
3771
4029
  finishedAt?: string | undefined;
3772
- errorMessage?: string | undefined;
3773
4030
  }, {
3774
- status: "running" | "succeeded" | "failed" | "cancelled";
4031
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3775
4032
  projectId: string;
3776
4033
  id: string;
3777
- startedAt: string;
4034
+ queuedAt: string;
4035
+ executionId: string;
3778
4036
  attempt: number;
3779
4037
  progress: {
3780
4038
  sourceRowsRead: number;
@@ -3796,19 +4054,21 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3796
4054
  target: {
3797
4055
  objectTypeId: string;
3798
4056
  };
4057
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4058
+ startedAt?: string | undefined;
3799
4059
  finishedAt?: string | undefined;
3800
- errorMessage?: string | undefined;
3801
4060
  }>]>>;
3802
4061
  }, "strip", z.ZodTypeAny, {
3803
- objectTypeId: string;
3804
4062
  id: string;
4063
+ objectTypeId: string;
3805
4064
  datasetId: string;
3806
4065
  propertyId: string;
3807
4066
  latestRun: {
3808
- status: "running" | "succeeded" | "failed" | "cancelled";
4067
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3809
4068
  projectId: string;
3810
4069
  id: string;
3811
- startedAt: string;
4070
+ queuedAt: string;
4071
+ executionId: string;
3812
4072
  attempt: number;
3813
4073
  progress: {
3814
4074
  sourceRowsRead: number;
@@ -3830,13 +4090,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3830
4090
  target: {
3831
4091
  objectTypeId: string;
3832
4092
  };
4093
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4094
+ startedAt?: string | undefined;
3833
4095
  finishedAt?: string | undefined;
3834
- errorMessage?: string | undefined;
3835
4096
  } | {
3836
- status: "running" | "succeeded" | "failed" | "cancelled";
4097
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3837
4098
  projectId: string;
3838
4099
  id: string;
3839
- startedAt: string;
4100
+ queuedAt: string;
4101
+ executionId: string;
3840
4102
  attempt: number;
3841
4103
  progress: {
3842
4104
  sourceRowsRead: number;
@@ -3859,13 +4121,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3859
4121
  targetObjectTypeId: string;
3860
4122
  sourceObjectTypeId: string;
3861
4123
  };
4124
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4125
+ startedAt?: string | undefined;
3862
4126
  finishedAt?: string | undefined;
3863
- errorMessage?: string | undefined;
3864
4127
  } | {
3865
- status: "running" | "succeeded" | "failed" | "cancelled";
4128
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3866
4129
  projectId: string;
3867
4130
  id: string;
3868
- startedAt: string;
4131
+ queuedAt: string;
4132
+ executionId: string;
3869
4133
  attempt: number;
3870
4134
  progress: {
3871
4135
  sourceRowsRead: number;
@@ -3887,8 +4151,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3887
4151
  target: {
3888
4152
  objectTypeId: string;
3889
4153
  };
4154
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4155
+ startedAt?: string | undefined;
3890
4156
  finishedAt?: string | undefined;
3891
- errorMessage?: string | undefined;
3892
4157
  } | null;
3893
4158
  _tag: "TelemetryProjectionDefinition";
3894
4159
  objectIdField: string;
@@ -3896,15 +4161,16 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3896
4161
  valueField: string;
3897
4162
  unitField?: string | undefined;
3898
4163
  }, {
3899
- objectTypeId: string;
3900
4164
  id: string;
4165
+ objectTypeId: string;
3901
4166
  datasetId: string;
3902
4167
  propertyId: string;
3903
4168
  latestRun: {
3904
- status: "running" | "succeeded" | "failed" | "cancelled";
4169
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3905
4170
  projectId: string;
3906
4171
  id: string;
3907
- startedAt: string;
4172
+ queuedAt: string;
4173
+ executionId: string;
3908
4174
  attempt: number;
3909
4175
  progress: {
3910
4176
  sourceRowsRead: number;
@@ -3926,13 +4192,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3926
4192
  target: {
3927
4193
  objectTypeId: string;
3928
4194
  };
4195
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4196
+ startedAt?: string | undefined;
3929
4197
  finishedAt?: string | undefined;
3930
- errorMessage?: string | undefined;
3931
4198
  } | {
3932
- status: "running" | "succeeded" | "failed" | "cancelled";
4199
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3933
4200
  projectId: string;
3934
4201
  id: string;
3935
- startedAt: string;
4202
+ queuedAt: string;
4203
+ executionId: string;
3936
4204
  attempt: number;
3937
4205
  progress: {
3938
4206
  sourceRowsRead: number;
@@ -3955,13 +4223,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3955
4223
  targetObjectTypeId: string;
3956
4224
  sourceObjectTypeId: string;
3957
4225
  };
4226
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4227
+ startedAt?: string | undefined;
3958
4228
  finishedAt?: string | undefined;
3959
- errorMessage?: string | undefined;
3960
4229
  } | {
3961
- status: "running" | "succeeded" | "failed" | "cancelled";
4230
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3962
4231
  projectId: string;
3963
4232
  id: string;
3964
- startedAt: string;
4233
+ queuedAt: string;
4234
+ executionId: string;
3965
4235
  attempt: number;
3966
4236
  progress: {
3967
4237
  sourceRowsRead: number;
@@ -3983,8 +4253,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3983
4253
  target: {
3984
4254
  objectTypeId: string;
3985
4255
  };
4256
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4257
+ startedAt?: string | undefined;
3986
4258
  finishedAt?: string | undefined;
3987
- errorMessage?: string | undefined;
3988
4259
  } | null;
3989
4260
  _tag: "TelemetryProjectionDefinition";
3990
4261
  objectIdField: string;
@@ -3994,21 +4265,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3994
4265
  }>, "many">;
3995
4266
  }, "strip", z.ZodTypeAny, {
3996
4267
  objectProjections: {
4268
+ id: string;
3997
4269
  links: Record<string, {
3998
4270
  targetObjectTypeId: string;
3999
4271
  linkId: string;
4000
4272
  sourcePropertyId?: string | undefined;
4001
4273
  sourceField?: string | undefined;
4002
4274
  }>;
4003
- objectTypeId: string;
4004
- id: string;
4005
4275
  properties: Record<string, string>;
4276
+ objectTypeId: string;
4006
4277
  datasetId: string;
4007
4278
  latestRun: {
4008
- status: "running" | "succeeded" | "failed" | "cancelled";
4279
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4009
4280
  projectId: string;
4010
4281
  id: string;
4011
- startedAt: string;
4282
+ queuedAt: string;
4283
+ executionId: string;
4012
4284
  attempt: number;
4013
4285
  progress: {
4014
4286
  sourceRowsRead: number;
@@ -4030,13 +4302,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4030
4302
  target: {
4031
4303
  objectTypeId: string;
4032
4304
  };
4305
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4306
+ startedAt?: string | undefined;
4033
4307
  finishedAt?: string | undefined;
4034
- errorMessage?: string | undefined;
4035
4308
  } | {
4036
- status: "running" | "succeeded" | "failed" | "cancelled";
4309
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4037
4310
  projectId: string;
4038
4311
  id: string;
4039
- startedAt: string;
4312
+ queuedAt: string;
4313
+ executionId: string;
4040
4314
  attempt: number;
4041
4315
  progress: {
4042
4316
  sourceRowsRead: number;
@@ -4059,13 +4333,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4059
4333
  targetObjectTypeId: string;
4060
4334
  sourceObjectTypeId: string;
4061
4335
  };
4336
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4337
+ startedAt?: string | undefined;
4062
4338
  finishedAt?: string | undefined;
4063
- errorMessage?: string | undefined;
4064
4339
  } | {
4065
- status: "running" | "succeeded" | "failed" | "cancelled";
4340
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4066
4341
  projectId: string;
4067
4342
  id: string;
4068
- startedAt: string;
4343
+ queuedAt: string;
4344
+ executionId: string;
4069
4345
  attempt: number;
4070
4346
  progress: {
4071
4347
  sourceRowsRead: number;
@@ -4087,10 +4363,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4087
4363
  target: {
4088
4364
  objectTypeId: string;
4089
4365
  };
4366
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4367
+ startedAt?: string | undefined;
4090
4368
  finishedAt?: string | undefined;
4091
- errorMessage?: string | undefined;
4092
4369
  } | null;
4093
4370
  _tag: "ObjectProjectionDefinition";
4371
+ conflictResolution: {
4372
+ strategy: "editsWin";
4373
+ } | {
4374
+ strategy: "mostRecent";
4375
+ sourceTimestamp: string;
4376
+ };
4094
4377
  }[];
4095
4378
  linkProjections: {
4096
4379
  id: string;
@@ -4099,10 +4382,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4099
4382
  linkId: string;
4100
4383
  sourceObjectTypeId: string;
4101
4384
  latestRun: {
4102
- status: "running" | "succeeded" | "failed" | "cancelled";
4385
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4103
4386
  projectId: string;
4104
4387
  id: string;
4105
- startedAt: string;
4388
+ queuedAt: string;
4389
+ executionId: string;
4106
4390
  attempt: number;
4107
4391
  progress: {
4108
4392
  sourceRowsRead: number;
@@ -4124,13 +4408,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4124
4408
  target: {
4125
4409
  objectTypeId: string;
4126
4410
  };
4411
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4412
+ startedAt?: string | undefined;
4127
4413
  finishedAt?: string | undefined;
4128
- errorMessage?: string | undefined;
4129
4414
  } | {
4130
- status: "running" | "succeeded" | "failed" | "cancelled";
4415
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4131
4416
  projectId: string;
4132
4417
  id: string;
4133
- startedAt: string;
4418
+ queuedAt: string;
4419
+ executionId: string;
4134
4420
  attempt: number;
4135
4421
  progress: {
4136
4422
  sourceRowsRead: number;
@@ -4153,13 +4439,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4153
4439
  targetObjectTypeId: string;
4154
4440
  sourceObjectTypeId: string;
4155
4441
  };
4442
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4443
+ startedAt?: string | undefined;
4156
4444
  finishedAt?: string | undefined;
4157
- errorMessage?: string | undefined;
4158
4445
  } | {
4159
- status: "running" | "succeeded" | "failed" | "cancelled";
4446
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4160
4447
  projectId: string;
4161
4448
  id: string;
4162
- startedAt: string;
4449
+ queuedAt: string;
4450
+ executionId: string;
4163
4451
  attempt: number;
4164
4452
  progress: {
4165
4453
  sourceRowsRead: number;
@@ -4181,23 +4469,25 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4181
4469
  target: {
4182
4470
  objectTypeId: string;
4183
4471
  };
4472
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4473
+ startedAt?: string | undefined;
4184
4474
  finishedAt?: string | undefined;
4185
- errorMessage?: string | undefined;
4186
4475
  } | null;
4187
4476
  sourceField: string;
4188
4477
  _tag: "LinkProjectionDefinition";
4189
4478
  targetField: string;
4190
4479
  }[];
4191
4480
  telemetryProjections: {
4192
- objectTypeId: string;
4193
4481
  id: string;
4482
+ objectTypeId: string;
4194
4483
  datasetId: string;
4195
4484
  propertyId: string;
4196
4485
  latestRun: {
4197
- status: "running" | "succeeded" | "failed" | "cancelled";
4486
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4198
4487
  projectId: string;
4199
4488
  id: string;
4200
- startedAt: string;
4489
+ queuedAt: string;
4490
+ executionId: string;
4201
4491
  attempt: number;
4202
4492
  progress: {
4203
4493
  sourceRowsRead: number;
@@ -4219,13 +4509,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4219
4509
  target: {
4220
4510
  objectTypeId: string;
4221
4511
  };
4512
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4513
+ startedAt?: string | undefined;
4222
4514
  finishedAt?: string | undefined;
4223
- errorMessage?: string | undefined;
4224
4515
  } | {
4225
- status: "running" | "succeeded" | "failed" | "cancelled";
4516
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4226
4517
  projectId: string;
4227
4518
  id: string;
4228
- startedAt: string;
4519
+ queuedAt: string;
4520
+ executionId: string;
4229
4521
  attempt: number;
4230
4522
  progress: {
4231
4523
  sourceRowsRead: number;
@@ -4248,13 +4540,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4248
4540
  targetObjectTypeId: string;
4249
4541
  sourceObjectTypeId: string;
4250
4542
  };
4543
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4544
+ startedAt?: string | undefined;
4251
4545
  finishedAt?: string | undefined;
4252
- errorMessage?: string | undefined;
4253
4546
  } | {
4254
- status: "running" | "succeeded" | "failed" | "cancelled";
4547
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4255
4548
  projectId: string;
4256
4549
  id: string;
4257
- startedAt: string;
4550
+ queuedAt: string;
4551
+ executionId: string;
4258
4552
  attempt: number;
4259
4553
  progress: {
4260
4554
  sourceRowsRead: number;
@@ -4276,8 +4570,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4276
4570
  target: {
4277
4571
  objectTypeId: string;
4278
4572
  };
4573
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4574
+ startedAt?: string | undefined;
4279
4575
  finishedAt?: string | undefined;
4280
- errorMessage?: string | undefined;
4281
4576
  } | null;
4282
4577
  _tag: "TelemetryProjectionDefinition";
4283
4578
  objectIdField: string;
@@ -4287,21 +4582,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4287
4582
  }[];
4288
4583
  }, {
4289
4584
  objectProjections: {
4585
+ id: string;
4290
4586
  links: Record<string, {
4291
4587
  targetObjectTypeId: string;
4292
4588
  linkId: string;
4293
4589
  sourcePropertyId?: string | undefined;
4294
4590
  sourceField?: string | undefined;
4295
4591
  }>;
4296
- objectTypeId: string;
4297
- id: string;
4298
4592
  properties: Record<string, string>;
4593
+ objectTypeId: string;
4299
4594
  datasetId: string;
4300
4595
  latestRun: {
4301
- status: "running" | "succeeded" | "failed" | "cancelled";
4596
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4302
4597
  projectId: string;
4303
4598
  id: string;
4304
- startedAt: string;
4599
+ queuedAt: string;
4600
+ executionId: string;
4305
4601
  attempt: number;
4306
4602
  progress: {
4307
4603
  sourceRowsRead: number;
@@ -4323,13 +4619,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4323
4619
  target: {
4324
4620
  objectTypeId: string;
4325
4621
  };
4622
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4623
+ startedAt?: string | undefined;
4326
4624
  finishedAt?: string | undefined;
4327
- errorMessage?: string | undefined;
4328
4625
  } | {
4329
- status: "running" | "succeeded" | "failed" | "cancelled";
4626
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4330
4627
  projectId: string;
4331
4628
  id: string;
4332
- startedAt: string;
4629
+ queuedAt: string;
4630
+ executionId: string;
4333
4631
  attempt: number;
4334
4632
  progress: {
4335
4633
  sourceRowsRead: number;
@@ -4352,13 +4650,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4352
4650
  targetObjectTypeId: string;
4353
4651
  sourceObjectTypeId: string;
4354
4652
  };
4653
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4654
+ startedAt?: string | undefined;
4355
4655
  finishedAt?: string | undefined;
4356
- errorMessage?: string | undefined;
4357
4656
  } | {
4358
- status: "running" | "succeeded" | "failed" | "cancelled";
4657
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4359
4658
  projectId: string;
4360
4659
  id: string;
4361
- startedAt: string;
4660
+ queuedAt: string;
4661
+ executionId: string;
4362
4662
  attempt: number;
4363
4663
  progress: {
4364
4664
  sourceRowsRead: number;
@@ -4380,10 +4680,17 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4380
4680
  target: {
4381
4681
  objectTypeId: string;
4382
4682
  };
4683
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4684
+ startedAt?: string | undefined;
4383
4685
  finishedAt?: string | undefined;
4384
- errorMessage?: string | undefined;
4385
4686
  } | null;
4386
4687
  _tag: "ObjectProjectionDefinition";
4688
+ conflictResolution: {
4689
+ strategy: "editsWin";
4690
+ } | {
4691
+ strategy: "mostRecent";
4692
+ sourceTimestamp: string;
4693
+ };
4387
4694
  }[];
4388
4695
  linkProjections: {
4389
4696
  id: string;
@@ -4392,10 +4699,11 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4392
4699
  linkId: string;
4393
4700
  sourceObjectTypeId: string;
4394
4701
  latestRun: {
4395
- status: "running" | "succeeded" | "failed" | "cancelled";
4702
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4396
4703
  projectId: string;
4397
4704
  id: string;
4398
- startedAt: string;
4705
+ queuedAt: string;
4706
+ executionId: string;
4399
4707
  attempt: number;
4400
4708
  progress: {
4401
4709
  sourceRowsRead: number;
@@ -4417,13 +4725,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4417
4725
  target: {
4418
4726
  objectTypeId: string;
4419
4727
  };
4728
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4729
+ startedAt?: string | undefined;
4420
4730
  finishedAt?: string | undefined;
4421
- errorMessage?: string | undefined;
4422
4731
  } | {
4423
- status: "running" | "succeeded" | "failed" | "cancelled";
4732
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4424
4733
  projectId: string;
4425
4734
  id: string;
4426
- startedAt: string;
4735
+ queuedAt: string;
4736
+ executionId: string;
4427
4737
  attempt: number;
4428
4738
  progress: {
4429
4739
  sourceRowsRead: number;
@@ -4446,13 +4756,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4446
4756
  targetObjectTypeId: string;
4447
4757
  sourceObjectTypeId: string;
4448
4758
  };
4759
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4760
+ startedAt?: string | undefined;
4449
4761
  finishedAt?: string | undefined;
4450
- errorMessage?: string | undefined;
4451
4762
  } | {
4452
- status: "running" | "succeeded" | "failed" | "cancelled";
4763
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4453
4764
  projectId: string;
4454
4765
  id: string;
4455
- startedAt: string;
4766
+ queuedAt: string;
4767
+ executionId: string;
4456
4768
  attempt: number;
4457
4769
  progress: {
4458
4770
  sourceRowsRead: number;
@@ -4474,23 +4786,25 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4474
4786
  target: {
4475
4787
  objectTypeId: string;
4476
4788
  };
4789
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4790
+ startedAt?: string | undefined;
4477
4791
  finishedAt?: string | undefined;
4478
- errorMessage?: string | undefined;
4479
4792
  } | null;
4480
4793
  sourceField: string;
4481
4794
  _tag: "LinkProjectionDefinition";
4482
4795
  targetField: string;
4483
4796
  }[];
4484
4797
  telemetryProjections: {
4485
- objectTypeId: string;
4486
4798
  id: string;
4799
+ objectTypeId: string;
4487
4800
  datasetId: string;
4488
4801
  propertyId: string;
4489
4802
  latestRun: {
4490
- status: "running" | "succeeded" | "failed" | "cancelled";
4803
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4491
4804
  projectId: string;
4492
4805
  id: string;
4493
- startedAt: string;
4806
+ queuedAt: string;
4807
+ executionId: string;
4494
4808
  attempt: number;
4495
4809
  progress: {
4496
4810
  sourceRowsRead: number;
@@ -4512,13 +4826,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4512
4826
  target: {
4513
4827
  objectTypeId: string;
4514
4828
  };
4829
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4830
+ startedAt?: string | undefined;
4515
4831
  finishedAt?: string | undefined;
4516
- errorMessage?: string | undefined;
4517
4832
  } | {
4518
- status: "running" | "succeeded" | "failed" | "cancelled";
4833
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4519
4834
  projectId: string;
4520
4835
  id: string;
4521
- startedAt: string;
4836
+ queuedAt: string;
4837
+ executionId: string;
4522
4838
  attempt: number;
4523
4839
  progress: {
4524
4840
  sourceRowsRead: number;
@@ -4541,13 +4857,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4541
4857
  targetObjectTypeId: string;
4542
4858
  sourceObjectTypeId: string;
4543
4859
  };
4860
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4861
+ startedAt?: string | undefined;
4544
4862
  finishedAt?: string | undefined;
4545
- errorMessage?: string | undefined;
4546
4863
  } | {
4547
- status: "running" | "succeeded" | "failed" | "cancelled";
4864
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4548
4865
  projectId: string;
4549
4866
  id: string;
4550
- startedAt: string;
4867
+ queuedAt: string;
4868
+ executionId: string;
4551
4869
  attempt: number;
4552
4870
  progress: {
4553
4871
  sourceRowsRead: number;
@@ -4569,8 +4887,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4569
4887
  target: {
4570
4888
  objectTypeId: string;
4571
4889
  };
4890
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
4891
+ startedAt?: string | undefined;
4572
4892
  finishedAt?: string | undefined;
4573
- errorMessage?: string | undefined;
4574
4893
  } | null;
4575
4894
  _tag: "TelemetryProjectionDefinition";
4576
4895
  objectIdField: string;
@@ -4608,10 +4927,27 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4608
4927
  sourcePropertyId?: string | undefined;
4609
4928
  sourceField?: string | undefined;
4610
4929
  }>>;
4930
+ conflictResolution: z.ZodUnion<[z.ZodObject<{
4931
+ strategy: z.ZodLiteral<"editsWin">;
4932
+ }, "strip", z.ZodTypeAny, {
4933
+ strategy: "editsWin";
4934
+ }, {
4935
+ strategy: "editsWin";
4936
+ }>, z.ZodObject<{
4937
+ strategy: z.ZodLiteral<"mostRecent">;
4938
+ sourceTimestamp: z.ZodString;
4939
+ }, "strip", z.ZodTypeAny, {
4940
+ strategy: "mostRecent";
4941
+ sourceTimestamp: string;
4942
+ }, {
4943
+ strategy: "mostRecent";
4944
+ sourceTimestamp: string;
4945
+ }>]>;
4611
4946
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4612
4947
  id: z.ZodString;
4613
4948
  projectId: z.ZodString;
4614
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
4949
+ executionId: z.ZodString;
4950
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4615
4951
  attempt: z.ZodNumber;
4616
4952
  progress: z.ZodObject<{
4617
4953
  sourceRowsRead: z.ZodNumber;
@@ -4623,9 +4959,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4623
4959
  sourceRowsRead: number;
4624
4960
  sourceRowsSkipped: number;
4625
4961
  }>;
4626
- startedAt: z.ZodString;
4962
+ queuedAt: z.ZodString;
4963
+ startedAt: z.ZodOptional<z.ZodString>;
4627
4964
  finishedAt: z.ZodOptional<z.ZodString>;
4628
- errorMessage: z.ZodOptional<z.ZodString>;
4965
+ 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
4966
  } & {
4630
4967
  identity: z.ZodObject<{
4631
4968
  projectionId: z.ZodString;
@@ -4681,10 +5018,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4681
5018
  objectTypeId: string;
4682
5019
  }>;
4683
5020
  }, "strip", z.ZodTypeAny, {
4684
- status: "running" | "succeeded" | "failed" | "cancelled";
5021
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4685
5022
  projectId: string;
4686
5023
  id: string;
4687
- startedAt: string;
5024
+ queuedAt: string;
5025
+ executionId: string;
4688
5026
  attempt: number;
4689
5027
  progress: {
4690
5028
  sourceRowsRead: number;
@@ -4706,13 +5044,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4706
5044
  target: {
4707
5045
  objectTypeId: string;
4708
5046
  };
5047
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5048
+ startedAt?: string | undefined;
4709
5049
  finishedAt?: string | undefined;
4710
- errorMessage?: string | undefined;
4711
5050
  }, {
4712
- status: "running" | "succeeded" | "failed" | "cancelled";
5051
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4713
5052
  projectId: string;
4714
5053
  id: string;
4715
- startedAt: string;
5054
+ queuedAt: string;
5055
+ executionId: string;
4716
5056
  attempt: number;
4717
5057
  progress: {
4718
5058
  sourceRowsRead: number;
@@ -4734,12 +5074,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4734
5074
  target: {
4735
5075
  objectTypeId: string;
4736
5076
  };
5077
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5078
+ startedAt?: string | undefined;
4737
5079
  finishedAt?: string | undefined;
4738
- errorMessage?: string | undefined;
4739
5080
  }>, z.ZodObject<{
4740
5081
  id: z.ZodString;
4741
5082
  projectId: z.ZodString;
4742
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5083
+ executionId: z.ZodString;
5084
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4743
5085
  attempt: z.ZodNumber;
4744
5086
  progress: z.ZodObject<{
4745
5087
  sourceRowsRead: z.ZodNumber;
@@ -4751,9 +5093,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4751
5093
  sourceRowsRead: number;
4752
5094
  sourceRowsSkipped: number;
4753
5095
  }>;
4754
- startedAt: z.ZodString;
5096
+ queuedAt: z.ZodString;
5097
+ startedAt: z.ZodOptional<z.ZodString>;
4755
5098
  finishedAt: z.ZodOptional<z.ZodString>;
4756
- errorMessage: z.ZodOptional<z.ZodString>;
5099
+ 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
5100
  } & {
4758
5101
  identity: z.ZodObject<{
4759
5102
  projectionId: z.ZodString;
@@ -4812,10 +5155,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4812
5155
  sourceObjectTypeId: string;
4813
5156
  }>;
4814
5157
  }, "strip", z.ZodTypeAny, {
4815
- status: "running" | "succeeded" | "failed" | "cancelled";
5158
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4816
5159
  projectId: string;
4817
5160
  id: string;
4818
- startedAt: string;
5161
+ queuedAt: string;
5162
+ executionId: string;
4819
5163
  attempt: number;
4820
5164
  progress: {
4821
5165
  sourceRowsRead: number;
@@ -4838,13 +5182,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4838
5182
  targetObjectTypeId: string;
4839
5183
  sourceObjectTypeId: string;
4840
5184
  };
5185
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5186
+ startedAt?: string | undefined;
4841
5187
  finishedAt?: string | undefined;
4842
- errorMessage?: string | undefined;
4843
5188
  }, {
4844
- status: "running" | "succeeded" | "failed" | "cancelled";
5189
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4845
5190
  projectId: string;
4846
5191
  id: string;
4847
- startedAt: string;
5192
+ queuedAt: string;
5193
+ executionId: string;
4848
5194
  attempt: number;
4849
5195
  progress: {
4850
5196
  sourceRowsRead: number;
@@ -4867,12 +5213,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4867
5213
  targetObjectTypeId: string;
4868
5214
  sourceObjectTypeId: string;
4869
5215
  };
5216
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5217
+ startedAt?: string | undefined;
4870
5218
  finishedAt?: string | undefined;
4871
- errorMessage?: string | undefined;
4872
5219
  }>, z.ZodObject<{
4873
5220
  id: z.ZodString;
4874
5221
  projectId: z.ZodString;
4875
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5222
+ executionId: z.ZodString;
5223
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
4876
5224
  attempt: z.ZodNumber;
4877
5225
  progress: z.ZodObject<{
4878
5226
  sourceRowsRead: z.ZodNumber;
@@ -4884,9 +5232,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4884
5232
  sourceRowsRead: number;
4885
5233
  sourceRowsSkipped: number;
4886
5234
  }>;
4887
- startedAt: z.ZodString;
5235
+ queuedAt: z.ZodString;
5236
+ startedAt: z.ZodOptional<z.ZodString>;
4888
5237
  finishedAt: z.ZodOptional<z.ZodString>;
4889
- errorMessage: z.ZodOptional<z.ZodString>;
5238
+ 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
5239
  } & {
4891
5240
  identity: z.ZodObject<{
4892
5241
  projectionId: z.ZodString;
@@ -4942,10 +5291,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4942
5291
  objectTypeId: string;
4943
5292
  }>;
4944
5293
  }, "strip", z.ZodTypeAny, {
4945
- status: "running" | "succeeded" | "failed" | "cancelled";
5294
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4946
5295
  projectId: string;
4947
5296
  id: string;
4948
- startedAt: string;
5297
+ queuedAt: string;
5298
+ executionId: string;
4949
5299
  attempt: number;
4950
5300
  progress: {
4951
5301
  sourceRowsRead: number;
@@ -4967,13 +5317,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4967
5317
  target: {
4968
5318
  objectTypeId: string;
4969
5319
  };
5320
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5321
+ startedAt?: string | undefined;
4970
5322
  finishedAt?: string | undefined;
4971
- errorMessage?: string | undefined;
4972
5323
  }, {
4973
- status: "running" | "succeeded" | "failed" | "cancelled";
5324
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4974
5325
  projectId: string;
4975
5326
  id: string;
4976
- startedAt: string;
5327
+ queuedAt: string;
5328
+ executionId: string;
4977
5329
  attempt: number;
4978
5330
  progress: {
4979
5331
  sourceRowsRead: number;
@@ -4995,25 +5347,27 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4995
5347
  target: {
4996
5348
  objectTypeId: string;
4997
5349
  };
5350
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5351
+ startedAt?: string | undefined;
4998
5352
  finishedAt?: string | undefined;
4999
- errorMessage?: string | undefined;
5000
5353
  }>]>>;
5001
5354
  }, "strip", z.ZodTypeAny, {
5355
+ id: string;
5002
5356
  links: Record<string, {
5003
5357
  targetObjectTypeId: string;
5004
5358
  linkId: string;
5005
5359
  sourcePropertyId?: string | undefined;
5006
5360
  sourceField?: string | undefined;
5007
5361
  }>;
5008
- objectTypeId: string;
5009
- id: string;
5010
5362
  properties: Record<string, string>;
5363
+ objectTypeId: string;
5011
5364
  datasetId: string;
5012
5365
  latestRun: {
5013
- status: "running" | "succeeded" | "failed" | "cancelled";
5366
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5014
5367
  projectId: string;
5015
5368
  id: string;
5016
- startedAt: string;
5369
+ queuedAt: string;
5370
+ executionId: string;
5017
5371
  attempt: number;
5018
5372
  progress: {
5019
5373
  sourceRowsRead: number;
@@ -5035,13 +5389,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5035
5389
  target: {
5036
5390
  objectTypeId: string;
5037
5391
  };
5392
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5393
+ startedAt?: string | undefined;
5038
5394
  finishedAt?: string | undefined;
5039
- errorMessage?: string | undefined;
5040
5395
  } | {
5041
- status: "running" | "succeeded" | "failed" | "cancelled";
5396
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5042
5397
  projectId: string;
5043
5398
  id: string;
5044
- startedAt: string;
5399
+ queuedAt: string;
5400
+ executionId: string;
5045
5401
  attempt: number;
5046
5402
  progress: {
5047
5403
  sourceRowsRead: number;
@@ -5064,13 +5420,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5064
5420
  targetObjectTypeId: string;
5065
5421
  sourceObjectTypeId: string;
5066
5422
  };
5423
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5424
+ startedAt?: string | undefined;
5067
5425
  finishedAt?: string | undefined;
5068
- errorMessage?: string | undefined;
5069
5426
  } | {
5070
- status: "running" | "succeeded" | "failed" | "cancelled";
5427
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5071
5428
  projectId: string;
5072
5429
  id: string;
5073
- startedAt: string;
5430
+ queuedAt: string;
5431
+ executionId: string;
5074
5432
  attempt: number;
5075
5433
  progress: {
5076
5434
  sourceRowsRead: number;
@@ -5092,26 +5450,34 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5092
5450
  target: {
5093
5451
  objectTypeId: string;
5094
5452
  };
5453
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5454
+ startedAt?: string | undefined;
5095
5455
  finishedAt?: string | undefined;
5096
- errorMessage?: string | undefined;
5097
5456
  } | null;
5098
5457
  _tag: "ObjectProjectionDefinition";
5458
+ conflictResolution: {
5459
+ strategy: "editsWin";
5460
+ } | {
5461
+ strategy: "mostRecent";
5462
+ sourceTimestamp: string;
5463
+ };
5099
5464
  }, {
5465
+ id: string;
5100
5466
  links: Record<string, {
5101
5467
  targetObjectTypeId: string;
5102
5468
  linkId: string;
5103
5469
  sourcePropertyId?: string | undefined;
5104
5470
  sourceField?: string | undefined;
5105
5471
  }>;
5106
- objectTypeId: string;
5107
- id: string;
5108
5472
  properties: Record<string, string>;
5473
+ objectTypeId: string;
5109
5474
  datasetId: string;
5110
5475
  latestRun: {
5111
- status: "running" | "succeeded" | "failed" | "cancelled";
5476
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5112
5477
  projectId: string;
5113
5478
  id: string;
5114
- startedAt: string;
5479
+ queuedAt: string;
5480
+ executionId: string;
5115
5481
  attempt: number;
5116
5482
  progress: {
5117
5483
  sourceRowsRead: number;
@@ -5133,13 +5499,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5133
5499
  target: {
5134
5500
  objectTypeId: string;
5135
5501
  };
5502
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5503
+ startedAt?: string | undefined;
5136
5504
  finishedAt?: string | undefined;
5137
- errorMessage?: string | undefined;
5138
5505
  } | {
5139
- status: "running" | "succeeded" | "failed" | "cancelled";
5506
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5140
5507
  projectId: string;
5141
5508
  id: string;
5142
- startedAt: string;
5509
+ queuedAt: string;
5510
+ executionId: string;
5143
5511
  attempt: number;
5144
5512
  progress: {
5145
5513
  sourceRowsRead: number;
@@ -5162,13 +5530,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5162
5530
  targetObjectTypeId: string;
5163
5531
  sourceObjectTypeId: string;
5164
5532
  };
5533
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5534
+ startedAt?: string | undefined;
5165
5535
  finishedAt?: string | undefined;
5166
- errorMessage?: string | undefined;
5167
5536
  } | {
5168
- status: "running" | "succeeded" | "failed" | "cancelled";
5537
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5169
5538
  projectId: string;
5170
5539
  id: string;
5171
- startedAt: string;
5540
+ queuedAt: string;
5541
+ executionId: string;
5172
5542
  attempt: number;
5173
5543
  progress: {
5174
5544
  sourceRowsRead: number;
@@ -5190,10 +5560,17 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5190
5560
  target: {
5191
5561
  objectTypeId: string;
5192
5562
  };
5563
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5564
+ startedAt?: string | undefined;
5193
5565
  finishedAt?: string | undefined;
5194
- errorMessage?: string | undefined;
5195
5566
  } | null;
5196
5567
  _tag: "ObjectProjectionDefinition";
5568
+ conflictResolution: {
5569
+ strategy: "editsWin";
5570
+ } | {
5571
+ strategy: "mostRecent";
5572
+ sourceTimestamp: string;
5573
+ };
5197
5574
  }>, z.ZodObject<{
5198
5575
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
5199
5576
  id: z.ZodString;
@@ -5206,7 +5583,8 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5206
5583
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5207
5584
  id: z.ZodString;
5208
5585
  projectId: z.ZodString;
5209
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5586
+ executionId: z.ZodString;
5587
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5210
5588
  attempt: z.ZodNumber;
5211
5589
  progress: z.ZodObject<{
5212
5590
  sourceRowsRead: z.ZodNumber;
@@ -5218,9 +5596,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5218
5596
  sourceRowsRead: number;
5219
5597
  sourceRowsSkipped: number;
5220
5598
  }>;
5221
- startedAt: z.ZodString;
5599
+ queuedAt: z.ZodString;
5600
+ startedAt: z.ZodOptional<z.ZodString>;
5222
5601
  finishedAt: z.ZodOptional<z.ZodString>;
5223
- errorMessage: z.ZodOptional<z.ZodString>;
5602
+ 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
5603
  } & {
5225
5604
  identity: z.ZodObject<{
5226
5605
  projectionId: z.ZodString;
@@ -5276,10 +5655,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5276
5655
  objectTypeId: string;
5277
5656
  }>;
5278
5657
  }, "strip", z.ZodTypeAny, {
5279
- status: "running" | "succeeded" | "failed" | "cancelled";
5658
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5280
5659
  projectId: string;
5281
5660
  id: string;
5282
- startedAt: string;
5661
+ queuedAt: string;
5662
+ executionId: string;
5283
5663
  attempt: number;
5284
5664
  progress: {
5285
5665
  sourceRowsRead: number;
@@ -5301,13 +5681,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5301
5681
  target: {
5302
5682
  objectTypeId: string;
5303
5683
  };
5684
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5685
+ startedAt?: string | undefined;
5304
5686
  finishedAt?: string | undefined;
5305
- errorMessage?: string | undefined;
5306
5687
  }, {
5307
- status: "running" | "succeeded" | "failed" | "cancelled";
5688
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5308
5689
  projectId: string;
5309
5690
  id: string;
5310
- startedAt: string;
5691
+ queuedAt: string;
5692
+ executionId: string;
5311
5693
  attempt: number;
5312
5694
  progress: {
5313
5695
  sourceRowsRead: number;
@@ -5329,12 +5711,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5329
5711
  target: {
5330
5712
  objectTypeId: string;
5331
5713
  };
5714
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5715
+ startedAt?: string | undefined;
5332
5716
  finishedAt?: string | undefined;
5333
- errorMessage?: string | undefined;
5334
5717
  }>, z.ZodObject<{
5335
5718
  id: z.ZodString;
5336
5719
  projectId: z.ZodString;
5337
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5720
+ executionId: z.ZodString;
5721
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5338
5722
  attempt: z.ZodNumber;
5339
5723
  progress: z.ZodObject<{
5340
5724
  sourceRowsRead: z.ZodNumber;
@@ -5346,9 +5730,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5346
5730
  sourceRowsRead: number;
5347
5731
  sourceRowsSkipped: number;
5348
5732
  }>;
5349
- startedAt: z.ZodString;
5733
+ queuedAt: z.ZodString;
5734
+ startedAt: z.ZodOptional<z.ZodString>;
5350
5735
  finishedAt: z.ZodOptional<z.ZodString>;
5351
- errorMessage: z.ZodOptional<z.ZodString>;
5736
+ 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
5737
  } & {
5353
5738
  identity: z.ZodObject<{
5354
5739
  projectionId: z.ZodString;
@@ -5407,10 +5792,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5407
5792
  sourceObjectTypeId: string;
5408
5793
  }>;
5409
5794
  }, "strip", z.ZodTypeAny, {
5410
- status: "running" | "succeeded" | "failed" | "cancelled";
5795
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5411
5796
  projectId: string;
5412
5797
  id: string;
5413
- startedAt: string;
5798
+ queuedAt: string;
5799
+ executionId: string;
5414
5800
  attempt: number;
5415
5801
  progress: {
5416
5802
  sourceRowsRead: number;
@@ -5433,13 +5819,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5433
5819
  targetObjectTypeId: string;
5434
5820
  sourceObjectTypeId: string;
5435
5821
  };
5822
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5823
+ startedAt?: string | undefined;
5436
5824
  finishedAt?: string | undefined;
5437
- errorMessage?: string | undefined;
5438
5825
  }, {
5439
- status: "running" | "succeeded" | "failed" | "cancelled";
5826
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5440
5827
  projectId: string;
5441
5828
  id: string;
5442
- startedAt: string;
5829
+ queuedAt: string;
5830
+ executionId: string;
5443
5831
  attempt: number;
5444
5832
  progress: {
5445
5833
  sourceRowsRead: number;
@@ -5462,12 +5850,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5462
5850
  targetObjectTypeId: string;
5463
5851
  sourceObjectTypeId: string;
5464
5852
  };
5853
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5854
+ startedAt?: string | undefined;
5465
5855
  finishedAt?: string | undefined;
5466
- errorMessage?: string | undefined;
5467
5856
  }>, z.ZodObject<{
5468
5857
  id: z.ZodString;
5469
5858
  projectId: z.ZodString;
5470
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
5859
+ executionId: z.ZodString;
5860
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5471
5861
  attempt: z.ZodNumber;
5472
5862
  progress: z.ZodObject<{
5473
5863
  sourceRowsRead: z.ZodNumber;
@@ -5479,9 +5869,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5479
5869
  sourceRowsRead: number;
5480
5870
  sourceRowsSkipped: number;
5481
5871
  }>;
5482
- startedAt: z.ZodString;
5872
+ queuedAt: z.ZodString;
5873
+ startedAt: z.ZodOptional<z.ZodString>;
5483
5874
  finishedAt: z.ZodOptional<z.ZodString>;
5484
- errorMessage: z.ZodOptional<z.ZodString>;
5875
+ 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
5876
  } & {
5486
5877
  identity: z.ZodObject<{
5487
5878
  projectionId: z.ZodString;
@@ -5537,10 +5928,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5537
5928
  objectTypeId: string;
5538
5929
  }>;
5539
5930
  }, "strip", z.ZodTypeAny, {
5540
- status: "running" | "succeeded" | "failed" | "cancelled";
5931
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5541
5932
  projectId: string;
5542
5933
  id: string;
5543
- startedAt: string;
5934
+ queuedAt: string;
5935
+ executionId: string;
5544
5936
  attempt: number;
5545
5937
  progress: {
5546
5938
  sourceRowsRead: number;
@@ -5562,13 +5954,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5562
5954
  target: {
5563
5955
  objectTypeId: string;
5564
5956
  };
5957
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5958
+ startedAt?: string | undefined;
5565
5959
  finishedAt?: string | undefined;
5566
- errorMessage?: string | undefined;
5567
5960
  }, {
5568
- status: "running" | "succeeded" | "failed" | "cancelled";
5961
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5569
5962
  projectId: string;
5570
5963
  id: string;
5571
- startedAt: string;
5964
+ queuedAt: string;
5965
+ executionId: string;
5572
5966
  attempt: number;
5573
5967
  progress: {
5574
5968
  sourceRowsRead: number;
@@ -5590,8 +5984,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5590
5984
  target: {
5591
5985
  objectTypeId: string;
5592
5986
  };
5987
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
5988
+ startedAt?: string | undefined;
5593
5989
  finishedAt?: string | undefined;
5594
- errorMessage?: string | undefined;
5595
5990
  }>]>>;
5596
5991
  }, "strip", z.ZodTypeAny, {
5597
5992
  id: string;
@@ -5600,10 +5995,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5600
5995
  linkId: string;
5601
5996
  sourceObjectTypeId: string;
5602
5997
  latestRun: {
5603
- status: "running" | "succeeded" | "failed" | "cancelled";
5998
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5604
5999
  projectId: string;
5605
6000
  id: string;
5606
- startedAt: string;
6001
+ queuedAt: string;
6002
+ executionId: string;
5607
6003
  attempt: number;
5608
6004
  progress: {
5609
6005
  sourceRowsRead: number;
@@ -5625,13 +6021,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5625
6021
  target: {
5626
6022
  objectTypeId: string;
5627
6023
  };
6024
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6025
+ startedAt?: string | undefined;
5628
6026
  finishedAt?: string | undefined;
5629
- errorMessage?: string | undefined;
5630
6027
  } | {
5631
- status: "running" | "succeeded" | "failed" | "cancelled";
6028
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5632
6029
  projectId: string;
5633
6030
  id: string;
5634
- startedAt: string;
6031
+ queuedAt: string;
6032
+ executionId: string;
5635
6033
  attempt: number;
5636
6034
  progress: {
5637
6035
  sourceRowsRead: number;
@@ -5654,13 +6052,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5654
6052
  targetObjectTypeId: string;
5655
6053
  sourceObjectTypeId: string;
5656
6054
  };
6055
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6056
+ startedAt?: string | undefined;
5657
6057
  finishedAt?: string | undefined;
5658
- errorMessage?: string | undefined;
5659
6058
  } | {
5660
- status: "running" | "succeeded" | "failed" | "cancelled";
6059
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5661
6060
  projectId: string;
5662
6061
  id: string;
5663
- startedAt: string;
6062
+ queuedAt: string;
6063
+ executionId: string;
5664
6064
  attempt: number;
5665
6065
  progress: {
5666
6066
  sourceRowsRead: number;
@@ -5682,8 +6082,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5682
6082
  target: {
5683
6083
  objectTypeId: string;
5684
6084
  };
6085
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6086
+ startedAt?: string | undefined;
5685
6087
  finishedAt?: string | undefined;
5686
- errorMessage?: string | undefined;
5687
6088
  } | null;
5688
6089
  sourceField: string;
5689
6090
  _tag: "LinkProjectionDefinition";
@@ -5695,10 +6096,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5695
6096
  linkId: string;
5696
6097
  sourceObjectTypeId: string;
5697
6098
  latestRun: {
5698
- status: "running" | "succeeded" | "failed" | "cancelled";
6099
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5699
6100
  projectId: string;
5700
6101
  id: string;
5701
- startedAt: string;
6102
+ queuedAt: string;
6103
+ executionId: string;
5702
6104
  attempt: number;
5703
6105
  progress: {
5704
6106
  sourceRowsRead: number;
@@ -5720,13 +6122,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5720
6122
  target: {
5721
6123
  objectTypeId: string;
5722
6124
  };
6125
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6126
+ startedAt?: string | undefined;
5723
6127
  finishedAt?: string | undefined;
5724
- errorMessage?: string | undefined;
5725
6128
  } | {
5726
- status: "running" | "succeeded" | "failed" | "cancelled";
6129
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5727
6130
  projectId: string;
5728
6131
  id: string;
5729
- startedAt: string;
6132
+ queuedAt: string;
6133
+ executionId: string;
5730
6134
  attempt: number;
5731
6135
  progress: {
5732
6136
  sourceRowsRead: number;
@@ -5749,13 +6153,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5749
6153
  targetObjectTypeId: string;
5750
6154
  sourceObjectTypeId: string;
5751
6155
  };
6156
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6157
+ startedAt?: string | undefined;
5752
6158
  finishedAt?: string | undefined;
5753
- errorMessage?: string | undefined;
5754
6159
  } | {
5755
- status: "running" | "succeeded" | "failed" | "cancelled";
6160
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5756
6161
  projectId: string;
5757
6162
  id: string;
5758
- startedAt: string;
6163
+ queuedAt: string;
6164
+ executionId: string;
5759
6165
  attempt: number;
5760
6166
  progress: {
5761
6167
  sourceRowsRead: number;
@@ -5777,8 +6183,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5777
6183
  target: {
5778
6184
  objectTypeId: string;
5779
6185
  };
6186
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6187
+ startedAt?: string | undefined;
5780
6188
  finishedAt?: string | undefined;
5781
- errorMessage?: string | undefined;
5782
6189
  } | null;
5783
6190
  sourceField: string;
5784
6191
  _tag: "LinkProjectionDefinition";
@@ -5796,7 +6203,8 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5796
6203
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
5797
6204
  id: z.ZodString;
5798
6205
  projectId: z.ZodString;
5799
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6206
+ executionId: z.ZodString;
6207
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5800
6208
  attempt: z.ZodNumber;
5801
6209
  progress: z.ZodObject<{
5802
6210
  sourceRowsRead: z.ZodNumber;
@@ -5808,9 +6216,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5808
6216
  sourceRowsRead: number;
5809
6217
  sourceRowsSkipped: number;
5810
6218
  }>;
5811
- startedAt: z.ZodString;
6219
+ queuedAt: z.ZodString;
6220
+ startedAt: z.ZodOptional<z.ZodString>;
5812
6221
  finishedAt: z.ZodOptional<z.ZodString>;
5813
- errorMessage: z.ZodOptional<z.ZodString>;
6222
+ 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
6223
  } & {
5815
6224
  identity: z.ZodObject<{
5816
6225
  projectionId: z.ZodString;
@@ -5866,10 +6275,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5866
6275
  objectTypeId: string;
5867
6276
  }>;
5868
6277
  }, "strip", z.ZodTypeAny, {
5869
- status: "running" | "succeeded" | "failed" | "cancelled";
6278
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5870
6279
  projectId: string;
5871
6280
  id: string;
5872
- startedAt: string;
6281
+ queuedAt: string;
6282
+ executionId: string;
5873
6283
  attempt: number;
5874
6284
  progress: {
5875
6285
  sourceRowsRead: number;
@@ -5891,13 +6301,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5891
6301
  target: {
5892
6302
  objectTypeId: string;
5893
6303
  };
6304
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6305
+ startedAt?: string | undefined;
5894
6306
  finishedAt?: string | undefined;
5895
- errorMessage?: string | undefined;
5896
6307
  }, {
5897
- status: "running" | "succeeded" | "failed" | "cancelled";
6308
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5898
6309
  projectId: string;
5899
6310
  id: string;
5900
- startedAt: string;
6311
+ queuedAt: string;
6312
+ executionId: string;
5901
6313
  attempt: number;
5902
6314
  progress: {
5903
6315
  sourceRowsRead: number;
@@ -5919,12 +6331,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5919
6331
  target: {
5920
6332
  objectTypeId: string;
5921
6333
  };
6334
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6335
+ startedAt?: string | undefined;
5922
6336
  finishedAt?: string | undefined;
5923
- errorMessage?: string | undefined;
5924
6337
  }>, z.ZodObject<{
5925
6338
  id: z.ZodString;
5926
6339
  projectId: z.ZodString;
5927
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6340
+ executionId: z.ZodString;
6341
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
5928
6342
  attempt: z.ZodNumber;
5929
6343
  progress: z.ZodObject<{
5930
6344
  sourceRowsRead: z.ZodNumber;
@@ -5936,9 +6350,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5936
6350
  sourceRowsRead: number;
5937
6351
  sourceRowsSkipped: number;
5938
6352
  }>;
5939
- startedAt: z.ZodString;
6353
+ queuedAt: z.ZodString;
6354
+ startedAt: z.ZodOptional<z.ZodString>;
5940
6355
  finishedAt: z.ZodOptional<z.ZodString>;
5941
- errorMessage: z.ZodOptional<z.ZodString>;
6356
+ 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
6357
  } & {
5943
6358
  identity: z.ZodObject<{
5944
6359
  projectionId: z.ZodString;
@@ -5997,10 +6412,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5997
6412
  sourceObjectTypeId: string;
5998
6413
  }>;
5999
6414
  }, "strip", z.ZodTypeAny, {
6000
- status: "running" | "succeeded" | "failed" | "cancelled";
6415
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6001
6416
  projectId: string;
6002
6417
  id: string;
6003
- startedAt: string;
6418
+ queuedAt: string;
6419
+ executionId: string;
6004
6420
  attempt: number;
6005
6421
  progress: {
6006
6422
  sourceRowsRead: number;
@@ -6023,13 +6439,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6023
6439
  targetObjectTypeId: string;
6024
6440
  sourceObjectTypeId: string;
6025
6441
  };
6442
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6443
+ startedAt?: string | undefined;
6026
6444
  finishedAt?: string | undefined;
6027
- errorMessage?: string | undefined;
6028
6445
  }, {
6029
- status: "running" | "succeeded" | "failed" | "cancelled";
6446
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6030
6447
  projectId: string;
6031
6448
  id: string;
6032
- startedAt: string;
6449
+ queuedAt: string;
6450
+ executionId: string;
6033
6451
  attempt: number;
6034
6452
  progress: {
6035
6453
  sourceRowsRead: number;
@@ -6052,12 +6470,14 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6052
6470
  targetObjectTypeId: string;
6053
6471
  sourceObjectTypeId: string;
6054
6472
  };
6473
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6474
+ startedAt?: string | undefined;
6055
6475
  finishedAt?: string | undefined;
6056
- errorMessage?: string | undefined;
6057
6476
  }>, z.ZodObject<{
6058
6477
  id: z.ZodString;
6059
6478
  projectId: z.ZodString;
6060
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6479
+ executionId: z.ZodString;
6480
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6061
6481
  attempt: z.ZodNumber;
6062
6482
  progress: z.ZodObject<{
6063
6483
  sourceRowsRead: z.ZodNumber;
@@ -6069,9 +6489,10 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6069
6489
  sourceRowsRead: number;
6070
6490
  sourceRowsSkipped: number;
6071
6491
  }>;
6072
- startedAt: z.ZodString;
6492
+ queuedAt: z.ZodString;
6493
+ startedAt: z.ZodOptional<z.ZodString>;
6073
6494
  finishedAt: z.ZodOptional<z.ZodString>;
6074
- errorMessage: z.ZodOptional<z.ZodString>;
6495
+ 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
6496
  } & {
6076
6497
  identity: z.ZodObject<{
6077
6498
  projectionId: z.ZodString;
@@ -6127,10 +6548,11 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6127
6548
  objectTypeId: string;
6128
6549
  }>;
6129
6550
  }, "strip", z.ZodTypeAny, {
6130
- status: "running" | "succeeded" | "failed" | "cancelled";
6551
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6131
6552
  projectId: string;
6132
6553
  id: string;
6133
- startedAt: string;
6554
+ queuedAt: string;
6555
+ executionId: string;
6134
6556
  attempt: number;
6135
6557
  progress: {
6136
6558
  sourceRowsRead: number;
@@ -6152,13 +6574,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6152
6574
  target: {
6153
6575
  objectTypeId: string;
6154
6576
  };
6577
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6578
+ startedAt?: string | undefined;
6155
6579
  finishedAt?: string | undefined;
6156
- errorMessage?: string | undefined;
6157
6580
  }, {
6158
- status: "running" | "succeeded" | "failed" | "cancelled";
6581
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6159
6582
  projectId: string;
6160
6583
  id: string;
6161
- startedAt: string;
6584
+ queuedAt: string;
6585
+ executionId: string;
6162
6586
  attempt: number;
6163
6587
  progress: {
6164
6588
  sourceRowsRead: number;
@@ -6180,19 +6604,21 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6180
6604
  target: {
6181
6605
  objectTypeId: string;
6182
6606
  };
6607
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6608
+ startedAt?: string | undefined;
6183
6609
  finishedAt?: string | undefined;
6184
- errorMessage?: string | undefined;
6185
6610
  }>]>>;
6186
6611
  }, "strip", z.ZodTypeAny, {
6187
- objectTypeId: string;
6188
6612
  id: string;
6613
+ objectTypeId: string;
6189
6614
  datasetId: string;
6190
6615
  propertyId: string;
6191
6616
  latestRun: {
6192
- status: "running" | "succeeded" | "failed" | "cancelled";
6617
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6193
6618
  projectId: string;
6194
6619
  id: string;
6195
- startedAt: string;
6620
+ queuedAt: string;
6621
+ executionId: string;
6196
6622
  attempt: number;
6197
6623
  progress: {
6198
6624
  sourceRowsRead: number;
@@ -6214,13 +6640,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6214
6640
  target: {
6215
6641
  objectTypeId: string;
6216
6642
  };
6643
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6644
+ startedAt?: string | undefined;
6217
6645
  finishedAt?: string | undefined;
6218
- errorMessage?: string | undefined;
6219
6646
  } | {
6220
- status: "running" | "succeeded" | "failed" | "cancelled";
6647
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6221
6648
  projectId: string;
6222
6649
  id: string;
6223
- startedAt: string;
6650
+ queuedAt: string;
6651
+ executionId: string;
6224
6652
  attempt: number;
6225
6653
  progress: {
6226
6654
  sourceRowsRead: number;
@@ -6243,13 +6671,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6243
6671
  targetObjectTypeId: string;
6244
6672
  sourceObjectTypeId: string;
6245
6673
  };
6674
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6675
+ startedAt?: string | undefined;
6246
6676
  finishedAt?: string | undefined;
6247
- errorMessage?: string | undefined;
6248
6677
  } | {
6249
- status: "running" | "succeeded" | "failed" | "cancelled";
6678
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6250
6679
  projectId: string;
6251
6680
  id: string;
6252
- startedAt: string;
6681
+ queuedAt: string;
6682
+ executionId: string;
6253
6683
  attempt: number;
6254
6684
  progress: {
6255
6685
  sourceRowsRead: number;
@@ -6271,8 +6701,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6271
6701
  target: {
6272
6702
  objectTypeId: string;
6273
6703
  };
6704
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6705
+ startedAt?: string | undefined;
6274
6706
  finishedAt?: string | undefined;
6275
- errorMessage?: string | undefined;
6276
6707
  } | null;
6277
6708
  _tag: "TelemetryProjectionDefinition";
6278
6709
  objectIdField: string;
@@ -6280,15 +6711,16 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6280
6711
  valueField: string;
6281
6712
  unitField?: string | undefined;
6282
6713
  }, {
6283
- objectTypeId: string;
6284
6714
  id: string;
6715
+ objectTypeId: string;
6285
6716
  datasetId: string;
6286
6717
  propertyId: string;
6287
6718
  latestRun: {
6288
- status: "running" | "succeeded" | "failed" | "cancelled";
6719
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6289
6720
  projectId: string;
6290
6721
  id: string;
6291
- startedAt: string;
6722
+ queuedAt: string;
6723
+ executionId: string;
6292
6724
  attempt: number;
6293
6725
  progress: {
6294
6726
  sourceRowsRead: number;
@@ -6310,13 +6742,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6310
6742
  target: {
6311
6743
  objectTypeId: string;
6312
6744
  };
6745
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6746
+ startedAt?: string | undefined;
6313
6747
  finishedAt?: string | undefined;
6314
- errorMessage?: string | undefined;
6315
6748
  } | {
6316
- status: "running" | "succeeded" | "failed" | "cancelled";
6749
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6317
6750
  projectId: string;
6318
6751
  id: string;
6319
- startedAt: string;
6752
+ queuedAt: string;
6753
+ executionId: string;
6320
6754
  attempt: number;
6321
6755
  progress: {
6322
6756
  sourceRowsRead: number;
@@ -6339,13 +6773,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6339
6773
  targetObjectTypeId: string;
6340
6774
  sourceObjectTypeId: string;
6341
6775
  };
6776
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6777
+ startedAt?: string | undefined;
6342
6778
  finishedAt?: string | undefined;
6343
- errorMessage?: string | undefined;
6344
6779
  } | {
6345
- status: "running" | "succeeded" | "failed" | "cancelled";
6780
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6346
6781
  projectId: string;
6347
6782
  id: string;
6348
- startedAt: string;
6783
+ queuedAt: string;
6784
+ executionId: string;
6349
6785
  attempt: number;
6350
6786
  progress: {
6351
6787
  sourceRowsRead: number;
@@ -6367,8 +6803,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6367
6803
  target: {
6368
6804
  objectTypeId: string;
6369
6805
  };
6806
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6807
+ startedAt?: string | undefined;
6370
6808
  finishedAt?: string | undefined;
6371
- errorMessage?: string | undefined;
6372
6809
  } | null;
6373
6810
  _tag: "TelemetryProjectionDefinition";
6374
6811
  objectIdField: string;
@@ -6388,30 +6825,30 @@ export declare const ProjectionRunsQuerySchema: z.ZodObject<{
6388
6825
  projectionKind: z.ZodOptional<z.ZodEnum<["object", "link", "telemetry"]>>;
6389
6826
  datasetId: z.ZodOptional<z.ZodString>;
6390
6827
  datasetVersionId: z.ZodOptional<z.ZodString>;
6391
- status: z.ZodOptional<z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>>;
6828
+ status: z.ZodOptional<z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>>;
6392
6829
  startedAfter: z.ZodOptional<z.ZodString>;
6393
6830
  startedBefore: z.ZodOptional<z.ZodString>;
6394
6831
  limit: z.ZodOptional<z.ZodString>;
6395
6832
  offset: z.ZodOptional<z.ZodString>;
6396
6833
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
6397
6834
  }, "strip", z.ZodTypeAny, {
6398
- status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
6835
+ status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
6836
+ startedAfter?: string | undefined;
6837
+ startedBefore?: string | undefined;
6399
6838
  limit?: string | undefined;
6400
6839
  offset?: string | undefined;
6401
6840
  order?: "asc" | "desc" | undefined;
6402
- startedAfter?: string | undefined;
6403
- startedBefore?: string | undefined;
6404
6841
  datasetId?: string | undefined;
6405
6842
  projectionId?: string | undefined;
6406
6843
  datasetVersionId?: string | undefined;
6407
6844
  projectionKind?: "object" | "telemetry" | "link" | undefined;
6408
6845
  }, {
6409
- status?: "running" | "succeeded" | "failed" | "cancelled" | undefined;
6846
+ status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
6847
+ startedAfter?: string | undefined;
6848
+ startedBefore?: string | undefined;
6410
6849
  limit?: string | undefined;
6411
6850
  offset?: string | undefined;
6412
6851
  order?: "asc" | "desc" | undefined;
6413
- startedAfter?: string | undefined;
6414
- startedBefore?: string | undefined;
6415
6852
  datasetId?: string | undefined;
6416
6853
  projectionId?: string | undefined;
6417
6854
  datasetVersionId?: string | undefined;
@@ -6421,7 +6858,8 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6421
6858
  runs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
6422
6859
  id: z.ZodString;
6423
6860
  projectId: z.ZodString;
6424
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6861
+ executionId: z.ZodString;
6862
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6425
6863
  attempt: z.ZodNumber;
6426
6864
  progress: z.ZodObject<{
6427
6865
  sourceRowsRead: z.ZodNumber;
@@ -6433,9 +6871,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6433
6871
  sourceRowsRead: number;
6434
6872
  sourceRowsSkipped: number;
6435
6873
  }>;
6436
- startedAt: z.ZodString;
6874
+ queuedAt: z.ZodString;
6875
+ startedAt: z.ZodOptional<z.ZodString>;
6437
6876
  finishedAt: z.ZodOptional<z.ZodString>;
6438
- errorMessage: z.ZodOptional<z.ZodString>;
6877
+ 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
6878
  } & {
6440
6879
  identity: z.ZodObject<{
6441
6880
  projectionId: z.ZodString;
@@ -6491,10 +6930,11 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6491
6930
  objectTypeId: string;
6492
6931
  }>;
6493
6932
  }, "strip", z.ZodTypeAny, {
6494
- status: "running" | "succeeded" | "failed" | "cancelled";
6933
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6495
6934
  projectId: string;
6496
6935
  id: string;
6497
- startedAt: string;
6936
+ queuedAt: string;
6937
+ executionId: string;
6498
6938
  attempt: number;
6499
6939
  progress: {
6500
6940
  sourceRowsRead: number;
@@ -6516,13 +6956,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6516
6956
  target: {
6517
6957
  objectTypeId: string;
6518
6958
  };
6959
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6960
+ startedAt?: string | undefined;
6519
6961
  finishedAt?: string | undefined;
6520
- errorMessage?: string | undefined;
6521
6962
  }, {
6522
- status: "running" | "succeeded" | "failed" | "cancelled";
6963
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6523
6964
  projectId: string;
6524
6965
  id: string;
6525
- startedAt: string;
6966
+ queuedAt: string;
6967
+ executionId: string;
6526
6968
  attempt: number;
6527
6969
  progress: {
6528
6970
  sourceRowsRead: number;
@@ -6544,12 +6986,14 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6544
6986
  target: {
6545
6987
  objectTypeId: string;
6546
6988
  };
6989
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
6990
+ startedAt?: string | undefined;
6547
6991
  finishedAt?: string | undefined;
6548
- errorMessage?: string | undefined;
6549
6992
  }>, z.ZodObject<{
6550
6993
  id: z.ZodString;
6551
6994
  projectId: z.ZodString;
6552
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
6995
+ executionId: z.ZodString;
6996
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6553
6997
  attempt: z.ZodNumber;
6554
6998
  progress: z.ZodObject<{
6555
6999
  sourceRowsRead: z.ZodNumber;
@@ -6561,9 +7005,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6561
7005
  sourceRowsRead: number;
6562
7006
  sourceRowsSkipped: number;
6563
7007
  }>;
6564
- startedAt: z.ZodString;
7008
+ queuedAt: z.ZodString;
7009
+ startedAt: z.ZodOptional<z.ZodString>;
6565
7010
  finishedAt: z.ZodOptional<z.ZodString>;
6566
- errorMessage: z.ZodOptional<z.ZodString>;
7011
+ 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
7012
  } & {
6568
7013
  identity: z.ZodObject<{
6569
7014
  projectionId: z.ZodString;
@@ -6622,10 +7067,11 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6622
7067
  sourceObjectTypeId: string;
6623
7068
  }>;
6624
7069
  }, "strip", z.ZodTypeAny, {
6625
- status: "running" | "succeeded" | "failed" | "cancelled";
7070
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6626
7071
  projectId: string;
6627
7072
  id: string;
6628
- startedAt: string;
7073
+ queuedAt: string;
7074
+ executionId: string;
6629
7075
  attempt: number;
6630
7076
  progress: {
6631
7077
  sourceRowsRead: number;
@@ -6648,13 +7094,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6648
7094
  targetObjectTypeId: string;
6649
7095
  sourceObjectTypeId: string;
6650
7096
  };
7097
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7098
+ startedAt?: string | undefined;
6651
7099
  finishedAt?: string | undefined;
6652
- errorMessage?: string | undefined;
6653
7100
  }, {
6654
- status: "running" | "succeeded" | "failed" | "cancelled";
7101
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6655
7102
  projectId: string;
6656
7103
  id: string;
6657
- startedAt: string;
7104
+ queuedAt: string;
7105
+ executionId: string;
6658
7106
  attempt: number;
6659
7107
  progress: {
6660
7108
  sourceRowsRead: number;
@@ -6677,12 +7125,14 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6677
7125
  targetObjectTypeId: string;
6678
7126
  sourceObjectTypeId: string;
6679
7127
  };
7128
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7129
+ startedAt?: string | undefined;
6680
7130
  finishedAt?: string | undefined;
6681
- errorMessage?: string | undefined;
6682
7131
  }>, z.ZodObject<{
6683
7132
  id: z.ZodString;
6684
7133
  projectId: z.ZodString;
6685
- status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
7134
+ executionId: z.ZodString;
7135
+ status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
6686
7136
  attempt: z.ZodNumber;
6687
7137
  progress: z.ZodObject<{
6688
7138
  sourceRowsRead: z.ZodNumber;
@@ -6694,9 +7144,10 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6694
7144
  sourceRowsRead: number;
6695
7145
  sourceRowsSkipped: number;
6696
7146
  }>;
6697
- startedAt: z.ZodString;
7147
+ queuedAt: z.ZodString;
7148
+ startedAt: z.ZodOptional<z.ZodString>;
6698
7149
  finishedAt: z.ZodOptional<z.ZodString>;
6699
- errorMessage: z.ZodOptional<z.ZodString>;
7150
+ 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
7151
  } & {
6701
7152
  identity: z.ZodObject<{
6702
7153
  projectionId: z.ZodString;
@@ -6752,10 +7203,11 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6752
7203
  objectTypeId: string;
6753
7204
  }>;
6754
7205
  }, "strip", z.ZodTypeAny, {
6755
- status: "running" | "succeeded" | "failed" | "cancelled";
7206
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6756
7207
  projectId: string;
6757
7208
  id: string;
6758
- startedAt: string;
7209
+ queuedAt: string;
7210
+ executionId: string;
6759
7211
  attempt: number;
6760
7212
  progress: {
6761
7213
  sourceRowsRead: number;
@@ -6777,13 +7229,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6777
7229
  target: {
6778
7230
  objectTypeId: string;
6779
7231
  };
7232
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7233
+ startedAt?: string | undefined;
6780
7234
  finishedAt?: string | undefined;
6781
- errorMessage?: string | undefined;
6782
7235
  }, {
6783
- status: "running" | "succeeded" | "failed" | "cancelled";
7236
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6784
7237
  projectId: string;
6785
7238
  id: string;
6786
- startedAt: string;
7239
+ queuedAt: string;
7240
+ executionId: string;
6787
7241
  attempt: number;
6788
7242
  progress: {
6789
7243
  sourceRowsRead: number;
@@ -6805,17 +7259,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6805
7259
  target: {
6806
7260
  objectTypeId: string;
6807
7261
  };
7262
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7263
+ startedAt?: string | undefined;
6808
7264
  finishedAt?: string | undefined;
6809
- errorMessage?: string | undefined;
6810
7265
  }>]>, "many">;
6811
7266
  hasMore: z.ZodBoolean;
6812
7267
  total: z.ZodNumber;
6813
7268
  }, "strip", z.ZodTypeAny, {
6814
7269
  runs: ({
6815
- status: "running" | "succeeded" | "failed" | "cancelled";
7270
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6816
7271
  projectId: string;
6817
7272
  id: string;
6818
- startedAt: string;
7273
+ queuedAt: string;
7274
+ executionId: string;
6819
7275
  attempt: number;
6820
7276
  progress: {
6821
7277
  sourceRowsRead: number;
@@ -6837,13 +7293,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6837
7293
  target: {
6838
7294
  objectTypeId: string;
6839
7295
  };
7296
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7297
+ startedAt?: string | undefined;
6840
7298
  finishedAt?: string | undefined;
6841
- errorMessage?: string | undefined;
6842
7299
  } | {
6843
- status: "running" | "succeeded" | "failed" | "cancelled";
7300
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6844
7301
  projectId: string;
6845
7302
  id: string;
6846
- startedAt: string;
7303
+ queuedAt: string;
7304
+ executionId: string;
6847
7305
  attempt: number;
6848
7306
  progress: {
6849
7307
  sourceRowsRead: number;
@@ -6866,13 +7324,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6866
7324
  targetObjectTypeId: string;
6867
7325
  sourceObjectTypeId: string;
6868
7326
  };
7327
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7328
+ startedAt?: string | undefined;
6869
7329
  finishedAt?: string | undefined;
6870
- errorMessage?: string | undefined;
6871
7330
  } | {
6872
- status: "running" | "succeeded" | "failed" | "cancelled";
7331
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6873
7332
  projectId: string;
6874
7333
  id: string;
6875
- startedAt: string;
7334
+ queuedAt: string;
7335
+ executionId: string;
6876
7336
  attempt: number;
6877
7337
  progress: {
6878
7338
  sourceRowsRead: number;
@@ -6894,17 +7354,19 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6894
7354
  target: {
6895
7355
  objectTypeId: string;
6896
7356
  };
7357
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7358
+ startedAt?: string | undefined;
6897
7359
  finishedAt?: string | undefined;
6898
- errorMessage?: string | undefined;
6899
7360
  })[];
6900
7361
  hasMore: boolean;
6901
7362
  total: number;
6902
7363
  }, {
6903
7364
  runs: ({
6904
- status: "running" | "succeeded" | "failed" | "cancelled";
7365
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6905
7366
  projectId: string;
6906
7367
  id: string;
6907
- startedAt: string;
7368
+ queuedAt: string;
7369
+ executionId: string;
6908
7370
  attempt: number;
6909
7371
  progress: {
6910
7372
  sourceRowsRead: number;
@@ -6926,13 +7388,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6926
7388
  target: {
6927
7389
  objectTypeId: string;
6928
7390
  };
7391
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7392
+ startedAt?: string | undefined;
6929
7393
  finishedAt?: string | undefined;
6930
- errorMessage?: string | undefined;
6931
7394
  } | {
6932
- status: "running" | "succeeded" | "failed" | "cancelled";
7395
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6933
7396
  projectId: string;
6934
7397
  id: string;
6935
- startedAt: string;
7398
+ queuedAt: string;
7399
+ executionId: string;
6936
7400
  attempt: number;
6937
7401
  progress: {
6938
7402
  sourceRowsRead: number;
@@ -6955,13 +7419,15 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6955
7419
  targetObjectTypeId: string;
6956
7420
  sourceObjectTypeId: string;
6957
7421
  };
7422
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7423
+ startedAt?: string | undefined;
6958
7424
  finishedAt?: string | undefined;
6959
- errorMessage?: string | undefined;
6960
7425
  } | {
6961
- status: "running" | "succeeded" | "failed" | "cancelled";
7426
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6962
7427
  projectId: string;
6963
7428
  id: string;
6964
- startedAt: string;
7429
+ queuedAt: string;
7430
+ executionId: string;
6965
7431
  attempt: number;
6966
7432
  progress: {
6967
7433
  sourceRowsRead: number;
@@ -6983,8 +7449,9 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6983
7449
  target: {
6984
7450
  objectTypeId: string;
6985
7451
  };
7452
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "projection.execution_failed" | "runtime.cancelled"> | undefined;
7453
+ startedAt?: string | undefined;
6986
7454
  finishedAt?: string | undefined;
6987
- errorMessage?: string | undefined;
6988
7455
  })[];
6989
7456
  hasMore: boolean;
6990
7457
  total: number;