@sixb/server 0.1.2 → 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 (72) hide show
  1. package/dist/auth/experience.d.ts +33 -0
  2. package/dist/auth/experience.d.ts.map +1 -0
  3. package/dist/auth/public-routes.d.ts.map +1 -1
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +1891 -1337
  7. package/dist/index.js.map +17 -14
  8. package/dist/openapi/tags.d.ts +6 -2
  9. package/dist/openapi/tags.d.ts.map +1 -1
  10. package/dist/registerRoutes.d.ts.map +1 -1
  11. package/dist/routes/action-runs.d.ts +6 -6
  12. package/dist/routes/actions.d.ts +3 -3
  13. package/dist/routes/agents.d.ts +149 -77
  14. package/dist/routes/agents.d.ts.map +1 -1
  15. package/dist/routes/ai-accounting.d.ts +31 -0
  16. package/dist/routes/ai-accounting.d.ts.map +1 -0
  17. package/dist/routes/auth.d.ts +110 -53
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/connector-connection-runs.d.ts +56 -56
  20. package/dist/routes/connector-connections.d.ts +14 -14
  21. package/dist/routes/datasets.d.ts +12 -12
  22. package/dist/routes/events.d.ts +1 -1
  23. package/dist/routes/files.d.ts +8 -8
  24. package/dist/routes/links.d.ts +9 -9
  25. package/dist/routes/logs.d.ts +2 -2
  26. package/dist/routes/objects.d.ts +3 -3
  27. package/dist/routes/pipelines.d.ts +10 -10
  28. package/dist/routes/projections.d.ts +62 -50
  29. package/dist/routes/projections.d.ts.map +1 -1
  30. package/dist/routes/syncs.d.ts +6 -6
  31. package/dist/routes/telemetry.d.ts +7 -7
  32. package/dist/routes/webhook-runs.d.ts +2 -2
  33. package/dist/routes/workflows.d.ts +142 -57
  34. package/dist/routes/workflows.d.ts.map +1 -1
  35. package/dist/routes/ws/logs.d.ts +10 -10
  36. package/dist/schemas/actions.d.ts +16 -16
  37. package/dist/schemas/agents.d.ts +459 -142
  38. package/dist/schemas/agents.d.ts.map +1 -1
  39. package/dist/schemas/ai-accounting.d.ts +2393 -0
  40. package/dist/schemas/ai-accounting.d.ts.map +1 -0
  41. package/dist/schemas/auth.d.ts +96 -96
  42. package/dist/schemas/connectors.d.ts +24 -24
  43. package/dist/schemas/event-payloads.d.ts +6 -6
  44. package/dist/schemas/events.d.ts +6 -6
  45. package/dist/schemas/links.d.ts +2 -2
  46. package/dist/schemas/logs.d.ts +18 -18
  47. package/dist/schemas/pipelines.d.ts +20 -20
  48. package/dist/schemas/projections.d.ts +400 -288
  49. package/dist/schemas/projections.d.ts.map +1 -1
  50. package/dist/schemas/status.d.ts +2 -2
  51. package/dist/schemas/syncs.d.ts +10 -10
  52. package/dist/schemas/webhook-runs.d.ts +12 -12
  53. package/dist/schemas/workflows.d.ts +833 -162
  54. package/dist/schemas/workflows.d.ts.map +1 -1
  55. package/dist/server.d.ts +5 -0
  56. package/dist/server.d.ts.map +1 -1
  57. package/package.json +5 -5
  58. package/src/auth/experience.ts +190 -0
  59. package/src/auth/public-routes.ts +7 -0
  60. package/src/index.ts +1 -0
  61. package/src/openapi/tags.ts +4 -0
  62. package/src/registerRoutes.ts +2 -0
  63. package/src/routes/agents.ts +1 -0
  64. package/src/routes/ai-accounting.ts +166 -0
  65. package/src/routes/auth.ts +188 -32
  66. package/src/routes/projections.ts +18 -4
  67. package/src/routes/workflows.ts +16 -0
  68. package/src/schemas/agents.ts +4 -9
  69. package/src/schemas/ai-accounting.ts +182 -0
  70. package/src/schemas/projections.ts +6 -0
  71. package/src/schemas/workflows.ts +8 -3
  72. package/src/server.ts +10 -0
@@ -77,12 +77,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
77
77
  objectTypeId: string;
78
78
  }>;
79
79
  }, "strip", z.ZodTypeAny, {
80
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
80
81
  projectId: string;
81
82
  id: string;
82
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
83
83
  queuedAt: string;
84
- attempt: number;
85
84
  executionId: string;
85
+ attempt: number;
86
86
  progress: {
87
87
  sourceRowsRead: number;
88
88
  sourceRowsSkipped: number;
@@ -107,12 +107,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
107
107
  startedAt?: string | undefined;
108
108
  finishedAt?: string | undefined;
109
109
  }, {
110
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
110
111
  projectId: string;
111
112
  id: string;
112
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
113
113
  queuedAt: string;
114
- attempt: number;
115
114
  executionId: string;
115
+ attempt: number;
116
116
  progress: {
117
117
  sourceRowsRead: number;
118
118
  sourceRowsSkipped: number;
@@ -214,12 +214,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
214
214
  sourceObjectTypeId: string;
215
215
  }>;
216
216
  }, "strip", z.ZodTypeAny, {
217
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
217
218
  projectId: string;
218
219
  id: string;
219
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
220
220
  queuedAt: string;
221
- attempt: number;
222
221
  executionId: string;
222
+ attempt: number;
223
223
  progress: {
224
224
  sourceRowsRead: number;
225
225
  sourceRowsSkipped: number;
@@ -245,12 +245,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
245
245
  startedAt?: string | undefined;
246
246
  finishedAt?: string | undefined;
247
247
  }, {
248
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
248
249
  projectId: string;
249
250
  id: string;
250
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
251
251
  queuedAt: string;
252
- attempt: number;
253
252
  executionId: string;
253
+ attempt: number;
254
254
  progress: {
255
255
  sourceRowsRead: number;
256
256
  sourceRowsSkipped: number;
@@ -350,12 +350,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
350
350
  objectTypeId: string;
351
351
  }>;
352
352
  }, "strip", z.ZodTypeAny, {
353
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
353
354
  projectId: string;
354
355
  id: string;
355
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
356
356
  queuedAt: string;
357
- attempt: number;
358
357
  executionId: string;
358
+ attempt: number;
359
359
  progress: {
360
360
  sourceRowsRead: number;
361
361
  sourceRowsSkipped: number;
@@ -380,12 +380,12 @@ export declare const ProjectionRunSchema: z.ZodUnion<[z.ZodObject<{
380
380
  startedAt?: string | undefined;
381
381
  finishedAt?: string | undefined;
382
382
  }, {
383
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
383
384
  projectId: string;
384
385
  id: string;
385
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
386
386
  queuedAt: string;
387
- attempt: number;
388
387
  executionId: string;
388
+ attempt: number;
389
389
  progress: {
390
390
  sourceRowsRead: number;
391
391
  sourceRowsSkipped: number;
@@ -426,6 +426,22 @@ export declare const ForeignKeyDescriptorSchema: z.ZodObject<{
426
426
  sourcePropertyId?: string | undefined;
427
427
  sourceField?: string | undefined;
428
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
+ }>]>;
429
445
  export declare const ObjectProjectionSchema: z.ZodObject<{
430
446
  _tag: z.ZodLiteral<"ObjectProjectionDefinition">;
431
447
  id: z.ZodString;
@@ -448,6 +464,22 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
448
464
  sourcePropertyId?: string | undefined;
449
465
  sourceField?: string | undefined;
450
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
+ }>]>;
451
483
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
452
484
  id: z.ZodString;
453
485
  projectId: z.ZodString;
@@ -523,12 +555,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
523
555
  objectTypeId: string;
524
556
  }>;
525
557
  }, "strip", z.ZodTypeAny, {
558
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
526
559
  projectId: string;
527
560
  id: string;
528
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
529
561
  queuedAt: string;
530
- attempt: number;
531
562
  executionId: string;
563
+ attempt: number;
532
564
  progress: {
533
565
  sourceRowsRead: number;
534
566
  sourceRowsSkipped: number;
@@ -553,12 +585,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
553
585
  startedAt?: string | undefined;
554
586
  finishedAt?: string | undefined;
555
587
  }, {
588
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
556
589
  projectId: string;
557
590
  id: string;
558
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
559
591
  queuedAt: string;
560
- attempt: number;
561
592
  executionId: string;
593
+ attempt: number;
562
594
  progress: {
563
595
  sourceRowsRead: number;
564
596
  sourceRowsSkipped: number;
@@ -660,12 +692,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
660
692
  sourceObjectTypeId: string;
661
693
  }>;
662
694
  }, "strip", z.ZodTypeAny, {
695
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
663
696
  projectId: string;
664
697
  id: string;
665
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
666
698
  queuedAt: string;
667
- attempt: number;
668
699
  executionId: string;
700
+ attempt: number;
669
701
  progress: {
670
702
  sourceRowsRead: number;
671
703
  sourceRowsSkipped: number;
@@ -691,12 +723,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
691
723
  startedAt?: string | undefined;
692
724
  finishedAt?: string | undefined;
693
725
  }, {
726
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
694
727
  projectId: string;
695
728
  id: string;
696
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
697
729
  queuedAt: string;
698
- attempt: number;
699
730
  executionId: string;
731
+ attempt: number;
700
732
  progress: {
701
733
  sourceRowsRead: number;
702
734
  sourceRowsSkipped: number;
@@ -796,12 +828,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
796
828
  objectTypeId: string;
797
829
  }>;
798
830
  }, "strip", z.ZodTypeAny, {
831
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
799
832
  projectId: string;
800
833
  id: string;
801
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
802
834
  queuedAt: string;
803
- attempt: number;
804
835
  executionId: string;
836
+ attempt: number;
805
837
  progress: {
806
838
  sourceRowsRead: number;
807
839
  sourceRowsSkipped: number;
@@ -826,12 +858,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
826
858
  startedAt?: string | undefined;
827
859
  finishedAt?: string | undefined;
828
860
  }, {
861
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
829
862
  projectId: string;
830
863
  id: string;
831
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
832
864
  queuedAt: string;
833
- attempt: number;
834
865
  executionId: string;
866
+ attempt: number;
835
867
  progress: {
836
868
  sourceRowsRead: number;
837
869
  sourceRowsSkipped: number;
@@ -868,12 +900,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
868
900
  objectTypeId: string;
869
901
  datasetId: string;
870
902
  latestRun: {
903
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
871
904
  projectId: string;
872
905
  id: string;
873
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
874
906
  queuedAt: string;
875
- attempt: number;
876
907
  executionId: string;
908
+ attempt: number;
877
909
  progress: {
878
910
  sourceRowsRead: number;
879
911
  sourceRowsSkipped: number;
@@ -898,12 +930,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
898
930
  startedAt?: string | undefined;
899
931
  finishedAt?: string | undefined;
900
932
  } | {
933
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
901
934
  projectId: string;
902
935
  id: string;
903
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
904
936
  queuedAt: string;
905
- attempt: number;
906
937
  executionId: string;
938
+ attempt: number;
907
939
  progress: {
908
940
  sourceRowsRead: number;
909
941
  sourceRowsSkipped: number;
@@ -929,12 +961,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
929
961
  startedAt?: string | undefined;
930
962
  finishedAt?: string | undefined;
931
963
  } | {
964
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
932
965
  projectId: string;
933
966
  id: string;
934
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
935
967
  queuedAt: string;
936
- attempt: number;
937
968
  executionId: string;
969
+ attempt: number;
938
970
  progress: {
939
971
  sourceRowsRead: number;
940
972
  sourceRowsSkipped: number;
@@ -960,6 +992,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
960
992
  finishedAt?: string | undefined;
961
993
  } | null;
962
994
  _tag: "ObjectProjectionDefinition";
995
+ conflictResolution: {
996
+ strategy: "editsWin";
997
+ } | {
998
+ strategy: "mostRecent";
999
+ sourceTimestamp: string;
1000
+ };
963
1001
  }, {
964
1002
  id: string;
965
1003
  links: Record<string, {
@@ -972,12 +1010,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
972
1010
  objectTypeId: string;
973
1011
  datasetId: string;
974
1012
  latestRun: {
1013
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
975
1014
  projectId: string;
976
1015
  id: string;
977
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
978
1016
  queuedAt: string;
979
- attempt: number;
980
1017
  executionId: string;
1018
+ attempt: number;
981
1019
  progress: {
982
1020
  sourceRowsRead: number;
983
1021
  sourceRowsSkipped: number;
@@ -1002,12 +1040,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1002
1040
  startedAt?: string | undefined;
1003
1041
  finishedAt?: string | undefined;
1004
1042
  } | {
1043
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1005
1044
  projectId: string;
1006
1045
  id: string;
1007
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1008
1046
  queuedAt: string;
1009
- attempt: number;
1010
1047
  executionId: string;
1048
+ attempt: number;
1011
1049
  progress: {
1012
1050
  sourceRowsRead: number;
1013
1051
  sourceRowsSkipped: number;
@@ -1033,12 +1071,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1033
1071
  startedAt?: string | undefined;
1034
1072
  finishedAt?: string | undefined;
1035
1073
  } | {
1074
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1036
1075
  projectId: string;
1037
1076
  id: string;
1038
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1039
1077
  queuedAt: string;
1040
- attempt: number;
1041
1078
  executionId: string;
1079
+ attempt: number;
1042
1080
  progress: {
1043
1081
  sourceRowsRead: number;
1044
1082
  sourceRowsSkipped: number;
@@ -1064,6 +1102,12 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1064
1102
  finishedAt?: string | undefined;
1065
1103
  } | null;
1066
1104
  _tag: "ObjectProjectionDefinition";
1105
+ conflictResolution: {
1106
+ strategy: "editsWin";
1107
+ } | {
1108
+ strategy: "mostRecent";
1109
+ sourceTimestamp: string;
1110
+ };
1067
1111
  }>;
1068
1112
  export declare const LinkProjectionSchema: z.ZodObject<{
1069
1113
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
@@ -1149,12 +1193,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1149
1193
  objectTypeId: string;
1150
1194
  }>;
1151
1195
  }, "strip", z.ZodTypeAny, {
1196
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1152
1197
  projectId: string;
1153
1198
  id: string;
1154
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1155
1199
  queuedAt: string;
1156
- attempt: number;
1157
1200
  executionId: string;
1201
+ attempt: number;
1158
1202
  progress: {
1159
1203
  sourceRowsRead: number;
1160
1204
  sourceRowsSkipped: number;
@@ -1179,12 +1223,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1179
1223
  startedAt?: string | undefined;
1180
1224
  finishedAt?: string | undefined;
1181
1225
  }, {
1226
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1182
1227
  projectId: string;
1183
1228
  id: string;
1184
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1185
1229
  queuedAt: string;
1186
- attempt: number;
1187
1230
  executionId: string;
1231
+ attempt: number;
1188
1232
  progress: {
1189
1233
  sourceRowsRead: number;
1190
1234
  sourceRowsSkipped: number;
@@ -1286,12 +1330,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1286
1330
  sourceObjectTypeId: string;
1287
1331
  }>;
1288
1332
  }, "strip", z.ZodTypeAny, {
1333
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1289
1334
  projectId: string;
1290
1335
  id: string;
1291
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1292
1336
  queuedAt: string;
1293
- attempt: number;
1294
1337
  executionId: string;
1338
+ attempt: number;
1295
1339
  progress: {
1296
1340
  sourceRowsRead: number;
1297
1341
  sourceRowsSkipped: number;
@@ -1317,12 +1361,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1317
1361
  startedAt?: string | undefined;
1318
1362
  finishedAt?: string | undefined;
1319
1363
  }, {
1364
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1320
1365
  projectId: string;
1321
1366
  id: string;
1322
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1323
1367
  queuedAt: string;
1324
- attempt: number;
1325
1368
  executionId: string;
1369
+ attempt: number;
1326
1370
  progress: {
1327
1371
  sourceRowsRead: number;
1328
1372
  sourceRowsSkipped: number;
@@ -1422,12 +1466,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1422
1466
  objectTypeId: string;
1423
1467
  }>;
1424
1468
  }, "strip", z.ZodTypeAny, {
1469
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1425
1470
  projectId: string;
1426
1471
  id: string;
1427
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1428
1472
  queuedAt: string;
1429
- attempt: number;
1430
1473
  executionId: string;
1474
+ attempt: number;
1431
1475
  progress: {
1432
1476
  sourceRowsRead: number;
1433
1477
  sourceRowsSkipped: number;
@@ -1452,12 +1496,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1452
1496
  startedAt?: string | undefined;
1453
1497
  finishedAt?: string | undefined;
1454
1498
  }, {
1499
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1455
1500
  projectId: string;
1456
1501
  id: string;
1457
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1458
1502
  queuedAt: string;
1459
- attempt: number;
1460
1503
  executionId: string;
1504
+ attempt: number;
1461
1505
  progress: {
1462
1506
  sourceRowsRead: number;
1463
1507
  sourceRowsSkipped: number;
@@ -1489,12 +1533,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1489
1533
  linkId: string;
1490
1534
  sourceObjectTypeId: string;
1491
1535
  latestRun: {
1536
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1492
1537
  projectId: string;
1493
1538
  id: string;
1494
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1495
1539
  queuedAt: string;
1496
- attempt: number;
1497
1540
  executionId: string;
1541
+ attempt: number;
1498
1542
  progress: {
1499
1543
  sourceRowsRead: number;
1500
1544
  sourceRowsSkipped: number;
@@ -1519,12 +1563,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1519
1563
  startedAt?: string | undefined;
1520
1564
  finishedAt?: string | undefined;
1521
1565
  } | {
1566
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1522
1567
  projectId: string;
1523
1568
  id: string;
1524
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1525
1569
  queuedAt: string;
1526
- attempt: number;
1527
1570
  executionId: string;
1571
+ attempt: number;
1528
1572
  progress: {
1529
1573
  sourceRowsRead: number;
1530
1574
  sourceRowsSkipped: number;
@@ -1550,12 +1594,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1550
1594
  startedAt?: string | undefined;
1551
1595
  finishedAt?: string | undefined;
1552
1596
  } | {
1597
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1553
1598
  projectId: string;
1554
1599
  id: string;
1555
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1556
1600
  queuedAt: string;
1557
- attempt: number;
1558
1601
  executionId: string;
1602
+ attempt: number;
1559
1603
  progress: {
1560
1604
  sourceRowsRead: number;
1561
1605
  sourceRowsSkipped: number;
@@ -1590,12 +1634,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1590
1634
  linkId: string;
1591
1635
  sourceObjectTypeId: string;
1592
1636
  latestRun: {
1637
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1593
1638
  projectId: string;
1594
1639
  id: string;
1595
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1596
1640
  queuedAt: string;
1597
- attempt: number;
1598
1641
  executionId: string;
1642
+ attempt: number;
1599
1643
  progress: {
1600
1644
  sourceRowsRead: number;
1601
1645
  sourceRowsSkipped: number;
@@ -1620,12 +1664,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1620
1664
  startedAt?: string | undefined;
1621
1665
  finishedAt?: string | undefined;
1622
1666
  } | {
1667
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1623
1668
  projectId: string;
1624
1669
  id: string;
1625
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1626
1670
  queuedAt: string;
1627
- attempt: number;
1628
1671
  executionId: string;
1672
+ attempt: number;
1629
1673
  progress: {
1630
1674
  sourceRowsRead: number;
1631
1675
  sourceRowsSkipped: number;
@@ -1651,12 +1695,12 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1651
1695
  startedAt?: string | undefined;
1652
1696
  finishedAt?: string | undefined;
1653
1697
  } | {
1698
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1654
1699
  projectId: string;
1655
1700
  id: string;
1656
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1657
1701
  queuedAt: string;
1658
- attempt: number;
1659
1702
  executionId: string;
1703
+ attempt: number;
1660
1704
  progress: {
1661
1705
  sourceRowsRead: number;
1662
1706
  sourceRowsSkipped: number;
@@ -1770,12 +1814,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1770
1814
  objectTypeId: string;
1771
1815
  }>;
1772
1816
  }, "strip", z.ZodTypeAny, {
1817
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1773
1818
  projectId: string;
1774
1819
  id: string;
1775
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1776
1820
  queuedAt: string;
1777
- attempt: number;
1778
1821
  executionId: string;
1822
+ attempt: number;
1779
1823
  progress: {
1780
1824
  sourceRowsRead: number;
1781
1825
  sourceRowsSkipped: number;
@@ -1800,12 +1844,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1800
1844
  startedAt?: string | undefined;
1801
1845
  finishedAt?: string | undefined;
1802
1846
  }, {
1847
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1803
1848
  projectId: string;
1804
1849
  id: string;
1805
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1806
1850
  queuedAt: string;
1807
- attempt: number;
1808
1851
  executionId: string;
1852
+ attempt: number;
1809
1853
  progress: {
1810
1854
  sourceRowsRead: number;
1811
1855
  sourceRowsSkipped: number;
@@ -1907,12 +1951,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1907
1951
  sourceObjectTypeId: string;
1908
1952
  }>;
1909
1953
  }, "strip", z.ZodTypeAny, {
1954
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1910
1955
  projectId: string;
1911
1956
  id: string;
1912
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1913
1957
  queuedAt: string;
1914
- attempt: number;
1915
1958
  executionId: string;
1959
+ attempt: number;
1916
1960
  progress: {
1917
1961
  sourceRowsRead: number;
1918
1962
  sourceRowsSkipped: number;
@@ -1938,12 +1982,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
1938
1982
  startedAt?: string | undefined;
1939
1983
  finishedAt?: string | undefined;
1940
1984
  }, {
1985
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1941
1986
  projectId: string;
1942
1987
  id: string;
1943
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1944
1988
  queuedAt: string;
1945
- attempt: number;
1946
1989
  executionId: string;
1990
+ attempt: number;
1947
1991
  progress: {
1948
1992
  sourceRowsRead: number;
1949
1993
  sourceRowsSkipped: number;
@@ -2043,12 +2087,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2043
2087
  objectTypeId: string;
2044
2088
  }>;
2045
2089
  }, "strip", z.ZodTypeAny, {
2090
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2046
2091
  projectId: string;
2047
2092
  id: string;
2048
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2049
2093
  queuedAt: string;
2050
- attempt: number;
2051
2094
  executionId: string;
2095
+ attempt: number;
2052
2096
  progress: {
2053
2097
  sourceRowsRead: number;
2054
2098
  sourceRowsSkipped: number;
@@ -2073,12 +2117,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2073
2117
  startedAt?: string | undefined;
2074
2118
  finishedAt?: string | undefined;
2075
2119
  }, {
2120
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2076
2121
  projectId: string;
2077
2122
  id: string;
2078
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2079
2123
  queuedAt: string;
2080
- attempt: number;
2081
2124
  executionId: string;
2125
+ attempt: number;
2082
2126
  progress: {
2083
2127
  sourceRowsRead: number;
2084
2128
  sourceRowsSkipped: number;
@@ -2109,12 +2153,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2109
2153
  datasetId: string;
2110
2154
  propertyId: string;
2111
2155
  latestRun: {
2156
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2112
2157
  projectId: string;
2113
2158
  id: string;
2114
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2115
2159
  queuedAt: string;
2116
- attempt: number;
2117
2160
  executionId: string;
2161
+ attempt: number;
2118
2162
  progress: {
2119
2163
  sourceRowsRead: number;
2120
2164
  sourceRowsSkipped: number;
@@ -2139,12 +2183,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2139
2183
  startedAt?: string | undefined;
2140
2184
  finishedAt?: string | undefined;
2141
2185
  } | {
2186
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2142
2187
  projectId: string;
2143
2188
  id: string;
2144
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2145
2189
  queuedAt: string;
2146
- attempt: number;
2147
2190
  executionId: string;
2191
+ attempt: number;
2148
2192
  progress: {
2149
2193
  sourceRowsRead: number;
2150
2194
  sourceRowsSkipped: number;
@@ -2170,12 +2214,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2170
2214
  startedAt?: string | undefined;
2171
2215
  finishedAt?: string | undefined;
2172
2216
  } | {
2217
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2173
2218
  projectId: string;
2174
2219
  id: string;
2175
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2176
2220
  queuedAt: string;
2177
- attempt: number;
2178
2221
  executionId: string;
2222
+ attempt: number;
2179
2223
  progress: {
2180
2224
  sourceRowsRead: number;
2181
2225
  sourceRowsSkipped: number;
@@ -2211,12 +2255,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2211
2255
  datasetId: string;
2212
2256
  propertyId: string;
2213
2257
  latestRun: {
2258
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2214
2259
  projectId: string;
2215
2260
  id: string;
2216
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2217
2261
  queuedAt: string;
2218
- attempt: number;
2219
2262
  executionId: string;
2263
+ attempt: number;
2220
2264
  progress: {
2221
2265
  sourceRowsRead: number;
2222
2266
  sourceRowsSkipped: number;
@@ -2241,12 +2285,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2241
2285
  startedAt?: string | undefined;
2242
2286
  finishedAt?: string | undefined;
2243
2287
  } | {
2288
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2244
2289
  projectId: string;
2245
2290
  id: string;
2246
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2247
2291
  queuedAt: string;
2248
- attempt: number;
2249
2292
  executionId: string;
2293
+ attempt: number;
2250
2294
  progress: {
2251
2295
  sourceRowsRead: number;
2252
2296
  sourceRowsSkipped: number;
@@ -2272,12 +2316,12 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2272
2316
  startedAt?: string | undefined;
2273
2317
  finishedAt?: string | undefined;
2274
2318
  } | {
2319
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2275
2320
  projectId: string;
2276
2321
  id: string;
2277
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2278
2322
  queuedAt: string;
2279
- attempt: number;
2280
2323
  executionId: string;
2324
+ attempt: number;
2281
2325
  progress: {
2282
2326
  sourceRowsRead: number;
2283
2327
  sourceRowsSkipped: number;
@@ -2331,6 +2375,22 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2331
2375
  sourcePropertyId?: string | undefined;
2332
2376
  sourceField?: string | undefined;
2333
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
+ }>]>;
2334
2394
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2335
2395
  id: z.ZodString;
2336
2396
  projectId: z.ZodString;
@@ -2406,12 +2466,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2406
2466
  objectTypeId: string;
2407
2467
  }>;
2408
2468
  }, "strip", z.ZodTypeAny, {
2469
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2409
2470
  projectId: string;
2410
2471
  id: string;
2411
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2412
2472
  queuedAt: string;
2413
- attempt: number;
2414
2473
  executionId: string;
2474
+ attempt: number;
2415
2475
  progress: {
2416
2476
  sourceRowsRead: number;
2417
2477
  sourceRowsSkipped: number;
@@ -2436,12 +2496,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2436
2496
  startedAt?: string | undefined;
2437
2497
  finishedAt?: string | undefined;
2438
2498
  }, {
2499
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2439
2500
  projectId: string;
2440
2501
  id: string;
2441
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2442
2502
  queuedAt: string;
2443
- attempt: number;
2444
2503
  executionId: string;
2504
+ attempt: number;
2445
2505
  progress: {
2446
2506
  sourceRowsRead: number;
2447
2507
  sourceRowsSkipped: number;
@@ -2543,12 +2603,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2543
2603
  sourceObjectTypeId: string;
2544
2604
  }>;
2545
2605
  }, "strip", z.ZodTypeAny, {
2606
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2546
2607
  projectId: string;
2547
2608
  id: string;
2548
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2549
2609
  queuedAt: string;
2550
- attempt: number;
2551
2610
  executionId: string;
2611
+ attempt: number;
2552
2612
  progress: {
2553
2613
  sourceRowsRead: number;
2554
2614
  sourceRowsSkipped: number;
@@ -2574,12 +2634,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2574
2634
  startedAt?: string | undefined;
2575
2635
  finishedAt?: string | undefined;
2576
2636
  }, {
2637
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2577
2638
  projectId: string;
2578
2639
  id: string;
2579
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2580
2640
  queuedAt: string;
2581
- attempt: number;
2582
2641
  executionId: string;
2642
+ attempt: number;
2583
2643
  progress: {
2584
2644
  sourceRowsRead: number;
2585
2645
  sourceRowsSkipped: number;
@@ -2679,12 +2739,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2679
2739
  objectTypeId: string;
2680
2740
  }>;
2681
2741
  }, "strip", z.ZodTypeAny, {
2742
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2682
2743
  projectId: string;
2683
2744
  id: string;
2684
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2685
2745
  queuedAt: string;
2686
- attempt: number;
2687
2746
  executionId: string;
2747
+ attempt: number;
2688
2748
  progress: {
2689
2749
  sourceRowsRead: number;
2690
2750
  sourceRowsSkipped: number;
@@ -2709,12 +2769,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2709
2769
  startedAt?: string | undefined;
2710
2770
  finishedAt?: string | undefined;
2711
2771
  }, {
2772
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2712
2773
  projectId: string;
2713
2774
  id: string;
2714
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2715
2775
  queuedAt: string;
2716
- attempt: number;
2717
2776
  executionId: string;
2777
+ attempt: number;
2718
2778
  progress: {
2719
2779
  sourceRowsRead: number;
2720
2780
  sourceRowsSkipped: number;
@@ -2751,12 +2811,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2751
2811
  objectTypeId: string;
2752
2812
  datasetId: string;
2753
2813
  latestRun: {
2814
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2754
2815
  projectId: string;
2755
2816
  id: string;
2756
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2757
2817
  queuedAt: string;
2758
- attempt: number;
2759
2818
  executionId: string;
2819
+ attempt: number;
2760
2820
  progress: {
2761
2821
  sourceRowsRead: number;
2762
2822
  sourceRowsSkipped: number;
@@ -2781,12 +2841,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2781
2841
  startedAt?: string | undefined;
2782
2842
  finishedAt?: string | undefined;
2783
2843
  } | {
2844
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2784
2845
  projectId: string;
2785
2846
  id: string;
2786
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2787
2847
  queuedAt: string;
2788
- attempt: number;
2789
2848
  executionId: string;
2849
+ attempt: number;
2790
2850
  progress: {
2791
2851
  sourceRowsRead: number;
2792
2852
  sourceRowsSkipped: number;
@@ -2812,12 +2872,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2812
2872
  startedAt?: string | undefined;
2813
2873
  finishedAt?: string | undefined;
2814
2874
  } | {
2875
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2815
2876
  projectId: string;
2816
2877
  id: string;
2817
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2818
2878
  queuedAt: string;
2819
- attempt: number;
2820
2879
  executionId: string;
2880
+ attempt: number;
2821
2881
  progress: {
2822
2882
  sourceRowsRead: number;
2823
2883
  sourceRowsSkipped: number;
@@ -2843,6 +2903,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2843
2903
  finishedAt?: string | undefined;
2844
2904
  } | null;
2845
2905
  _tag: "ObjectProjectionDefinition";
2906
+ conflictResolution: {
2907
+ strategy: "editsWin";
2908
+ } | {
2909
+ strategy: "mostRecent";
2910
+ sourceTimestamp: string;
2911
+ };
2846
2912
  }, {
2847
2913
  id: string;
2848
2914
  links: Record<string, {
@@ -2855,12 +2921,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2855
2921
  objectTypeId: string;
2856
2922
  datasetId: string;
2857
2923
  latestRun: {
2924
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2858
2925
  projectId: string;
2859
2926
  id: string;
2860
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2861
2927
  queuedAt: string;
2862
- attempt: number;
2863
2928
  executionId: string;
2929
+ attempt: number;
2864
2930
  progress: {
2865
2931
  sourceRowsRead: number;
2866
2932
  sourceRowsSkipped: number;
@@ -2885,12 +2951,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2885
2951
  startedAt?: string | undefined;
2886
2952
  finishedAt?: string | undefined;
2887
2953
  } | {
2954
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2888
2955
  projectId: string;
2889
2956
  id: string;
2890
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2891
2957
  queuedAt: string;
2892
- attempt: number;
2893
2958
  executionId: string;
2959
+ attempt: number;
2894
2960
  progress: {
2895
2961
  sourceRowsRead: number;
2896
2962
  sourceRowsSkipped: number;
@@ -2916,12 +2982,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2916
2982
  startedAt?: string | undefined;
2917
2983
  finishedAt?: string | undefined;
2918
2984
  } | {
2985
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2919
2986
  projectId: string;
2920
2987
  id: string;
2921
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
2922
2988
  queuedAt: string;
2923
- attempt: number;
2924
2989
  executionId: string;
2990
+ attempt: number;
2925
2991
  progress: {
2926
2992
  sourceRowsRead: number;
2927
2993
  sourceRowsSkipped: number;
@@ -2947,6 +3013,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2947
3013
  finishedAt?: string | undefined;
2948
3014
  } | null;
2949
3015
  _tag: "ObjectProjectionDefinition";
3016
+ conflictResolution: {
3017
+ strategy: "editsWin";
3018
+ } | {
3019
+ strategy: "mostRecent";
3020
+ sourceTimestamp: string;
3021
+ };
2950
3022
  }>, "many">;
2951
3023
  linkProjections: z.ZodArray<z.ZodObject<{
2952
3024
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
@@ -3032,12 +3104,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3032
3104
  objectTypeId: string;
3033
3105
  }>;
3034
3106
  }, "strip", z.ZodTypeAny, {
3107
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3035
3108
  projectId: string;
3036
3109
  id: string;
3037
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3038
3110
  queuedAt: string;
3039
- attempt: number;
3040
3111
  executionId: string;
3112
+ attempt: number;
3041
3113
  progress: {
3042
3114
  sourceRowsRead: number;
3043
3115
  sourceRowsSkipped: number;
@@ -3062,12 +3134,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3062
3134
  startedAt?: string | undefined;
3063
3135
  finishedAt?: string | undefined;
3064
3136
  }, {
3137
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3065
3138
  projectId: string;
3066
3139
  id: string;
3067
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3068
3140
  queuedAt: string;
3069
- attempt: number;
3070
3141
  executionId: string;
3142
+ attempt: number;
3071
3143
  progress: {
3072
3144
  sourceRowsRead: number;
3073
3145
  sourceRowsSkipped: number;
@@ -3169,12 +3241,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3169
3241
  sourceObjectTypeId: string;
3170
3242
  }>;
3171
3243
  }, "strip", z.ZodTypeAny, {
3244
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3172
3245
  projectId: string;
3173
3246
  id: string;
3174
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3175
3247
  queuedAt: string;
3176
- attempt: number;
3177
3248
  executionId: string;
3249
+ attempt: number;
3178
3250
  progress: {
3179
3251
  sourceRowsRead: number;
3180
3252
  sourceRowsSkipped: number;
@@ -3200,12 +3272,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3200
3272
  startedAt?: string | undefined;
3201
3273
  finishedAt?: string | undefined;
3202
3274
  }, {
3275
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3203
3276
  projectId: string;
3204
3277
  id: string;
3205
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3206
3278
  queuedAt: string;
3207
- attempt: number;
3208
3279
  executionId: string;
3280
+ attempt: number;
3209
3281
  progress: {
3210
3282
  sourceRowsRead: number;
3211
3283
  sourceRowsSkipped: number;
@@ -3305,12 +3377,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3305
3377
  objectTypeId: string;
3306
3378
  }>;
3307
3379
  }, "strip", z.ZodTypeAny, {
3380
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3308
3381
  projectId: string;
3309
3382
  id: string;
3310
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3311
3383
  queuedAt: string;
3312
- attempt: number;
3313
3384
  executionId: string;
3385
+ attempt: number;
3314
3386
  progress: {
3315
3387
  sourceRowsRead: number;
3316
3388
  sourceRowsSkipped: number;
@@ -3335,12 +3407,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3335
3407
  startedAt?: string | undefined;
3336
3408
  finishedAt?: string | undefined;
3337
3409
  }, {
3410
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3338
3411
  projectId: string;
3339
3412
  id: string;
3340
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3341
3413
  queuedAt: string;
3342
- attempt: number;
3343
3414
  executionId: string;
3415
+ attempt: number;
3344
3416
  progress: {
3345
3417
  sourceRowsRead: number;
3346
3418
  sourceRowsSkipped: number;
@@ -3372,12 +3444,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3372
3444
  linkId: string;
3373
3445
  sourceObjectTypeId: string;
3374
3446
  latestRun: {
3447
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3375
3448
  projectId: string;
3376
3449
  id: string;
3377
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3378
3450
  queuedAt: string;
3379
- attempt: number;
3380
3451
  executionId: string;
3452
+ attempt: number;
3381
3453
  progress: {
3382
3454
  sourceRowsRead: number;
3383
3455
  sourceRowsSkipped: number;
@@ -3402,12 +3474,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3402
3474
  startedAt?: string | undefined;
3403
3475
  finishedAt?: string | undefined;
3404
3476
  } | {
3477
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3405
3478
  projectId: string;
3406
3479
  id: string;
3407
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3408
3480
  queuedAt: string;
3409
- attempt: number;
3410
3481
  executionId: string;
3482
+ attempt: number;
3411
3483
  progress: {
3412
3484
  sourceRowsRead: number;
3413
3485
  sourceRowsSkipped: number;
@@ -3433,12 +3505,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3433
3505
  startedAt?: string | undefined;
3434
3506
  finishedAt?: string | undefined;
3435
3507
  } | {
3508
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3436
3509
  projectId: string;
3437
3510
  id: string;
3438
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3439
3511
  queuedAt: string;
3440
- attempt: number;
3441
3512
  executionId: string;
3513
+ attempt: number;
3442
3514
  progress: {
3443
3515
  sourceRowsRead: number;
3444
3516
  sourceRowsSkipped: number;
@@ -3473,12 +3545,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3473
3545
  linkId: string;
3474
3546
  sourceObjectTypeId: string;
3475
3547
  latestRun: {
3548
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3476
3549
  projectId: string;
3477
3550
  id: string;
3478
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3479
3551
  queuedAt: string;
3480
- attempt: number;
3481
3552
  executionId: string;
3553
+ attempt: number;
3482
3554
  progress: {
3483
3555
  sourceRowsRead: number;
3484
3556
  sourceRowsSkipped: number;
@@ -3503,12 +3575,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3503
3575
  startedAt?: string | undefined;
3504
3576
  finishedAt?: string | undefined;
3505
3577
  } | {
3578
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3506
3579
  projectId: string;
3507
3580
  id: string;
3508
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3509
3581
  queuedAt: string;
3510
- attempt: number;
3511
3582
  executionId: string;
3583
+ attempt: number;
3512
3584
  progress: {
3513
3585
  sourceRowsRead: number;
3514
3586
  sourceRowsSkipped: number;
@@ -3534,12 +3606,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3534
3606
  startedAt?: string | undefined;
3535
3607
  finishedAt?: string | undefined;
3536
3608
  } | {
3609
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3537
3610
  projectId: string;
3538
3611
  id: string;
3539
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3540
3612
  queuedAt: string;
3541
- attempt: number;
3542
3613
  executionId: string;
3614
+ attempt: number;
3543
3615
  progress: {
3544
3616
  sourceRowsRead: number;
3545
3617
  sourceRowsSkipped: number;
@@ -3653,12 +3725,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3653
3725
  objectTypeId: string;
3654
3726
  }>;
3655
3727
  }, "strip", z.ZodTypeAny, {
3728
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3656
3729
  projectId: string;
3657
3730
  id: string;
3658
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3659
3731
  queuedAt: string;
3660
- attempt: number;
3661
3732
  executionId: string;
3733
+ attempt: number;
3662
3734
  progress: {
3663
3735
  sourceRowsRead: number;
3664
3736
  sourceRowsSkipped: number;
@@ -3683,12 +3755,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3683
3755
  startedAt?: string | undefined;
3684
3756
  finishedAt?: string | undefined;
3685
3757
  }, {
3758
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3686
3759
  projectId: string;
3687
3760
  id: string;
3688
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3689
3761
  queuedAt: string;
3690
- attempt: number;
3691
3762
  executionId: string;
3763
+ attempt: number;
3692
3764
  progress: {
3693
3765
  sourceRowsRead: number;
3694
3766
  sourceRowsSkipped: number;
@@ -3790,12 +3862,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3790
3862
  sourceObjectTypeId: string;
3791
3863
  }>;
3792
3864
  }, "strip", z.ZodTypeAny, {
3865
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3793
3866
  projectId: string;
3794
3867
  id: string;
3795
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3796
3868
  queuedAt: string;
3797
- attempt: number;
3798
3869
  executionId: string;
3870
+ attempt: number;
3799
3871
  progress: {
3800
3872
  sourceRowsRead: number;
3801
3873
  sourceRowsSkipped: number;
@@ -3821,12 +3893,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3821
3893
  startedAt?: string | undefined;
3822
3894
  finishedAt?: string | undefined;
3823
3895
  }, {
3896
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3824
3897
  projectId: string;
3825
3898
  id: string;
3826
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3827
3899
  queuedAt: string;
3828
- attempt: number;
3829
3900
  executionId: string;
3901
+ attempt: number;
3830
3902
  progress: {
3831
3903
  sourceRowsRead: number;
3832
3904
  sourceRowsSkipped: number;
@@ -3926,12 +3998,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3926
3998
  objectTypeId: string;
3927
3999
  }>;
3928
4000
  }, "strip", z.ZodTypeAny, {
4001
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3929
4002
  projectId: string;
3930
4003
  id: string;
3931
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3932
4004
  queuedAt: string;
3933
- attempt: number;
3934
4005
  executionId: string;
4006
+ attempt: number;
3935
4007
  progress: {
3936
4008
  sourceRowsRead: number;
3937
4009
  sourceRowsSkipped: number;
@@ -3956,12 +4028,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3956
4028
  startedAt?: string | undefined;
3957
4029
  finishedAt?: string | undefined;
3958
4030
  }, {
4031
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3959
4032
  projectId: string;
3960
4033
  id: string;
3961
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3962
4034
  queuedAt: string;
3963
- attempt: number;
3964
4035
  executionId: string;
4036
+ attempt: number;
3965
4037
  progress: {
3966
4038
  sourceRowsRead: number;
3967
4039
  sourceRowsSkipped: number;
@@ -3992,12 +4064,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3992
4064
  datasetId: string;
3993
4065
  propertyId: string;
3994
4066
  latestRun: {
4067
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3995
4068
  projectId: string;
3996
4069
  id: string;
3997
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
3998
4070
  queuedAt: string;
3999
- attempt: number;
4000
4071
  executionId: string;
4072
+ attempt: number;
4001
4073
  progress: {
4002
4074
  sourceRowsRead: number;
4003
4075
  sourceRowsSkipped: number;
@@ -4022,12 +4094,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4022
4094
  startedAt?: string | undefined;
4023
4095
  finishedAt?: string | undefined;
4024
4096
  } | {
4097
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4025
4098
  projectId: string;
4026
4099
  id: string;
4027
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4028
4100
  queuedAt: string;
4029
- attempt: number;
4030
4101
  executionId: string;
4102
+ attempt: number;
4031
4103
  progress: {
4032
4104
  sourceRowsRead: number;
4033
4105
  sourceRowsSkipped: number;
@@ -4053,12 +4125,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4053
4125
  startedAt?: string | undefined;
4054
4126
  finishedAt?: string | undefined;
4055
4127
  } | {
4128
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4056
4129
  projectId: string;
4057
4130
  id: string;
4058
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4059
4131
  queuedAt: string;
4060
- attempt: number;
4061
4132
  executionId: string;
4133
+ attempt: number;
4062
4134
  progress: {
4063
4135
  sourceRowsRead: number;
4064
4136
  sourceRowsSkipped: number;
@@ -4094,12 +4166,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4094
4166
  datasetId: string;
4095
4167
  propertyId: string;
4096
4168
  latestRun: {
4169
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4097
4170
  projectId: string;
4098
4171
  id: string;
4099
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4100
4172
  queuedAt: string;
4101
- attempt: number;
4102
4173
  executionId: string;
4174
+ attempt: number;
4103
4175
  progress: {
4104
4176
  sourceRowsRead: number;
4105
4177
  sourceRowsSkipped: number;
@@ -4124,12 +4196,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4124
4196
  startedAt?: string | undefined;
4125
4197
  finishedAt?: string | undefined;
4126
4198
  } | {
4199
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4127
4200
  projectId: string;
4128
4201
  id: string;
4129
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4130
4202
  queuedAt: string;
4131
- attempt: number;
4132
4203
  executionId: string;
4204
+ attempt: number;
4133
4205
  progress: {
4134
4206
  sourceRowsRead: number;
4135
4207
  sourceRowsSkipped: number;
@@ -4155,12 +4227,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4155
4227
  startedAt?: string | undefined;
4156
4228
  finishedAt?: string | undefined;
4157
4229
  } | {
4230
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4158
4231
  projectId: string;
4159
4232
  id: string;
4160
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4161
4233
  queuedAt: string;
4162
- attempt: number;
4163
4234
  executionId: string;
4235
+ attempt: number;
4164
4236
  progress: {
4165
4237
  sourceRowsRead: number;
4166
4238
  sourceRowsSkipped: number;
@@ -4204,12 +4276,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4204
4276
  objectTypeId: string;
4205
4277
  datasetId: string;
4206
4278
  latestRun: {
4279
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4207
4280
  projectId: string;
4208
4281
  id: string;
4209
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4210
4282
  queuedAt: string;
4211
- attempt: number;
4212
4283
  executionId: string;
4284
+ attempt: number;
4213
4285
  progress: {
4214
4286
  sourceRowsRead: number;
4215
4287
  sourceRowsSkipped: number;
@@ -4234,12 +4306,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4234
4306
  startedAt?: string | undefined;
4235
4307
  finishedAt?: string | undefined;
4236
4308
  } | {
4309
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4237
4310
  projectId: string;
4238
4311
  id: string;
4239
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4240
4312
  queuedAt: string;
4241
- attempt: number;
4242
4313
  executionId: string;
4314
+ attempt: number;
4243
4315
  progress: {
4244
4316
  sourceRowsRead: number;
4245
4317
  sourceRowsSkipped: number;
@@ -4265,12 +4337,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4265
4337
  startedAt?: string | undefined;
4266
4338
  finishedAt?: string | undefined;
4267
4339
  } | {
4340
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4268
4341
  projectId: string;
4269
4342
  id: string;
4270
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4271
4343
  queuedAt: string;
4272
- attempt: number;
4273
4344
  executionId: string;
4345
+ attempt: number;
4274
4346
  progress: {
4275
4347
  sourceRowsRead: number;
4276
4348
  sourceRowsSkipped: number;
@@ -4296,6 +4368,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4296
4368
  finishedAt?: string | undefined;
4297
4369
  } | null;
4298
4370
  _tag: "ObjectProjectionDefinition";
4371
+ conflictResolution: {
4372
+ strategy: "editsWin";
4373
+ } | {
4374
+ strategy: "mostRecent";
4375
+ sourceTimestamp: string;
4376
+ };
4299
4377
  }[];
4300
4378
  linkProjections: {
4301
4379
  id: string;
@@ -4304,12 +4382,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4304
4382
  linkId: string;
4305
4383
  sourceObjectTypeId: string;
4306
4384
  latestRun: {
4385
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4307
4386
  projectId: string;
4308
4387
  id: string;
4309
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4310
4388
  queuedAt: string;
4311
- attempt: number;
4312
4389
  executionId: string;
4390
+ attempt: number;
4313
4391
  progress: {
4314
4392
  sourceRowsRead: number;
4315
4393
  sourceRowsSkipped: number;
@@ -4334,12 +4412,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4334
4412
  startedAt?: string | undefined;
4335
4413
  finishedAt?: string | undefined;
4336
4414
  } | {
4415
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4337
4416
  projectId: string;
4338
4417
  id: string;
4339
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4340
4418
  queuedAt: string;
4341
- attempt: number;
4342
4419
  executionId: string;
4420
+ attempt: number;
4343
4421
  progress: {
4344
4422
  sourceRowsRead: number;
4345
4423
  sourceRowsSkipped: number;
@@ -4365,12 +4443,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4365
4443
  startedAt?: string | undefined;
4366
4444
  finishedAt?: string | undefined;
4367
4445
  } | {
4446
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4368
4447
  projectId: string;
4369
4448
  id: string;
4370
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4371
4449
  queuedAt: string;
4372
- attempt: number;
4373
4450
  executionId: string;
4451
+ attempt: number;
4374
4452
  progress: {
4375
4453
  sourceRowsRead: number;
4376
4454
  sourceRowsSkipped: number;
@@ -4405,12 +4483,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4405
4483
  datasetId: string;
4406
4484
  propertyId: string;
4407
4485
  latestRun: {
4486
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4408
4487
  projectId: string;
4409
4488
  id: string;
4410
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4411
4489
  queuedAt: string;
4412
- attempt: number;
4413
4490
  executionId: string;
4491
+ attempt: number;
4414
4492
  progress: {
4415
4493
  sourceRowsRead: number;
4416
4494
  sourceRowsSkipped: number;
@@ -4435,12 +4513,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4435
4513
  startedAt?: string | undefined;
4436
4514
  finishedAt?: string | undefined;
4437
4515
  } | {
4516
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4438
4517
  projectId: string;
4439
4518
  id: string;
4440
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4441
4519
  queuedAt: string;
4442
- attempt: number;
4443
4520
  executionId: string;
4521
+ attempt: number;
4444
4522
  progress: {
4445
4523
  sourceRowsRead: number;
4446
4524
  sourceRowsSkipped: number;
@@ -4466,12 +4544,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4466
4544
  startedAt?: string | undefined;
4467
4545
  finishedAt?: string | undefined;
4468
4546
  } | {
4547
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4469
4548
  projectId: string;
4470
4549
  id: string;
4471
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4472
4550
  queuedAt: string;
4473
- attempt: number;
4474
4551
  executionId: string;
4552
+ attempt: number;
4475
4553
  progress: {
4476
4554
  sourceRowsRead: number;
4477
4555
  sourceRowsSkipped: number;
@@ -4515,12 +4593,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4515
4593
  objectTypeId: string;
4516
4594
  datasetId: string;
4517
4595
  latestRun: {
4596
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4518
4597
  projectId: string;
4519
4598
  id: string;
4520
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4521
4599
  queuedAt: string;
4522
- attempt: number;
4523
4600
  executionId: string;
4601
+ attempt: number;
4524
4602
  progress: {
4525
4603
  sourceRowsRead: number;
4526
4604
  sourceRowsSkipped: number;
@@ -4545,12 +4623,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4545
4623
  startedAt?: string | undefined;
4546
4624
  finishedAt?: string | undefined;
4547
4625
  } | {
4626
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4548
4627
  projectId: string;
4549
4628
  id: string;
4550
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4551
4629
  queuedAt: string;
4552
- attempt: number;
4553
4630
  executionId: string;
4631
+ attempt: number;
4554
4632
  progress: {
4555
4633
  sourceRowsRead: number;
4556
4634
  sourceRowsSkipped: number;
@@ -4576,12 +4654,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4576
4654
  startedAt?: string | undefined;
4577
4655
  finishedAt?: string | undefined;
4578
4656
  } | {
4657
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4579
4658
  projectId: string;
4580
4659
  id: string;
4581
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4582
4660
  queuedAt: string;
4583
- attempt: number;
4584
4661
  executionId: string;
4662
+ attempt: number;
4585
4663
  progress: {
4586
4664
  sourceRowsRead: number;
4587
4665
  sourceRowsSkipped: number;
@@ -4607,6 +4685,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4607
4685
  finishedAt?: string | undefined;
4608
4686
  } | null;
4609
4687
  _tag: "ObjectProjectionDefinition";
4688
+ conflictResolution: {
4689
+ strategy: "editsWin";
4690
+ } | {
4691
+ strategy: "mostRecent";
4692
+ sourceTimestamp: string;
4693
+ };
4610
4694
  }[];
4611
4695
  linkProjections: {
4612
4696
  id: string;
@@ -4615,12 +4699,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4615
4699
  linkId: string;
4616
4700
  sourceObjectTypeId: string;
4617
4701
  latestRun: {
4702
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4618
4703
  projectId: string;
4619
4704
  id: string;
4620
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4621
4705
  queuedAt: string;
4622
- attempt: number;
4623
4706
  executionId: string;
4707
+ attempt: number;
4624
4708
  progress: {
4625
4709
  sourceRowsRead: number;
4626
4710
  sourceRowsSkipped: number;
@@ -4645,12 +4729,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4645
4729
  startedAt?: string | undefined;
4646
4730
  finishedAt?: string | undefined;
4647
4731
  } | {
4732
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4648
4733
  projectId: string;
4649
4734
  id: string;
4650
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4651
4735
  queuedAt: string;
4652
- attempt: number;
4653
4736
  executionId: string;
4737
+ attempt: number;
4654
4738
  progress: {
4655
4739
  sourceRowsRead: number;
4656
4740
  sourceRowsSkipped: number;
@@ -4676,12 +4760,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4676
4760
  startedAt?: string | undefined;
4677
4761
  finishedAt?: string | undefined;
4678
4762
  } | {
4763
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4679
4764
  projectId: string;
4680
4765
  id: string;
4681
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4682
4766
  queuedAt: string;
4683
- attempt: number;
4684
4767
  executionId: string;
4768
+ attempt: number;
4685
4769
  progress: {
4686
4770
  sourceRowsRead: number;
4687
4771
  sourceRowsSkipped: number;
@@ -4716,12 +4800,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4716
4800
  datasetId: string;
4717
4801
  propertyId: string;
4718
4802
  latestRun: {
4803
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4719
4804
  projectId: string;
4720
4805
  id: string;
4721
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4722
4806
  queuedAt: string;
4723
- attempt: number;
4724
4807
  executionId: string;
4808
+ attempt: number;
4725
4809
  progress: {
4726
4810
  sourceRowsRead: number;
4727
4811
  sourceRowsSkipped: number;
@@ -4746,12 +4830,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4746
4830
  startedAt?: string | undefined;
4747
4831
  finishedAt?: string | undefined;
4748
4832
  } | {
4833
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4749
4834
  projectId: string;
4750
4835
  id: string;
4751
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4752
4836
  queuedAt: string;
4753
- attempt: number;
4754
4837
  executionId: string;
4838
+ attempt: number;
4755
4839
  progress: {
4756
4840
  sourceRowsRead: number;
4757
4841
  sourceRowsSkipped: number;
@@ -4777,12 +4861,12 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4777
4861
  startedAt?: string | undefined;
4778
4862
  finishedAt?: string | undefined;
4779
4863
  } | {
4864
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4780
4865
  projectId: string;
4781
4866
  id: string;
4782
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4783
4867
  queuedAt: string;
4784
- attempt: number;
4785
4868
  executionId: string;
4869
+ attempt: number;
4786
4870
  progress: {
4787
4871
  sourceRowsRead: number;
4788
4872
  sourceRowsSkipped: number;
@@ -4843,6 +4927,22 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4843
4927
  sourcePropertyId?: string | undefined;
4844
4928
  sourceField?: string | undefined;
4845
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
+ }>]>;
4846
4946
  latestRun: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
4847
4947
  id: z.ZodString;
4848
4948
  projectId: z.ZodString;
@@ -4918,12 +5018,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4918
5018
  objectTypeId: string;
4919
5019
  }>;
4920
5020
  }, "strip", z.ZodTypeAny, {
5021
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4921
5022
  projectId: string;
4922
5023
  id: string;
4923
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4924
5024
  queuedAt: string;
4925
- attempt: number;
4926
5025
  executionId: string;
5026
+ attempt: number;
4927
5027
  progress: {
4928
5028
  sourceRowsRead: number;
4929
5029
  sourceRowsSkipped: number;
@@ -4948,12 +5048,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
4948
5048
  startedAt?: string | undefined;
4949
5049
  finishedAt?: string | undefined;
4950
5050
  }, {
5051
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4951
5052
  projectId: string;
4952
5053
  id: string;
4953
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
4954
5054
  queuedAt: string;
4955
- attempt: number;
4956
5055
  executionId: string;
5056
+ attempt: number;
4957
5057
  progress: {
4958
5058
  sourceRowsRead: number;
4959
5059
  sourceRowsSkipped: number;
@@ -5055,12 +5155,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5055
5155
  sourceObjectTypeId: string;
5056
5156
  }>;
5057
5157
  }, "strip", z.ZodTypeAny, {
5158
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5058
5159
  projectId: string;
5059
5160
  id: string;
5060
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5061
5161
  queuedAt: string;
5062
- attempt: number;
5063
5162
  executionId: string;
5163
+ attempt: number;
5064
5164
  progress: {
5065
5165
  sourceRowsRead: number;
5066
5166
  sourceRowsSkipped: number;
@@ -5086,12 +5186,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5086
5186
  startedAt?: string | undefined;
5087
5187
  finishedAt?: string | undefined;
5088
5188
  }, {
5189
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5089
5190
  projectId: string;
5090
5191
  id: string;
5091
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5092
5192
  queuedAt: string;
5093
- attempt: number;
5094
5193
  executionId: string;
5194
+ attempt: number;
5095
5195
  progress: {
5096
5196
  sourceRowsRead: number;
5097
5197
  sourceRowsSkipped: number;
@@ -5191,12 +5291,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5191
5291
  objectTypeId: string;
5192
5292
  }>;
5193
5293
  }, "strip", z.ZodTypeAny, {
5294
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5194
5295
  projectId: string;
5195
5296
  id: string;
5196
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5197
5297
  queuedAt: string;
5198
- attempt: number;
5199
5298
  executionId: string;
5299
+ attempt: number;
5200
5300
  progress: {
5201
5301
  sourceRowsRead: number;
5202
5302
  sourceRowsSkipped: number;
@@ -5221,12 +5321,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5221
5321
  startedAt?: string | undefined;
5222
5322
  finishedAt?: string | undefined;
5223
5323
  }, {
5324
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5224
5325
  projectId: string;
5225
5326
  id: string;
5226
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5227
5327
  queuedAt: string;
5228
- attempt: number;
5229
5328
  executionId: string;
5329
+ attempt: number;
5230
5330
  progress: {
5231
5331
  sourceRowsRead: number;
5232
5332
  sourceRowsSkipped: number;
@@ -5263,12 +5363,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5263
5363
  objectTypeId: string;
5264
5364
  datasetId: string;
5265
5365
  latestRun: {
5366
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5266
5367
  projectId: string;
5267
5368
  id: string;
5268
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5269
5369
  queuedAt: string;
5270
- attempt: number;
5271
5370
  executionId: string;
5371
+ attempt: number;
5272
5372
  progress: {
5273
5373
  sourceRowsRead: number;
5274
5374
  sourceRowsSkipped: number;
@@ -5293,12 +5393,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5293
5393
  startedAt?: string | undefined;
5294
5394
  finishedAt?: string | undefined;
5295
5395
  } | {
5396
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5296
5397
  projectId: string;
5297
5398
  id: string;
5298
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5299
5399
  queuedAt: string;
5300
- attempt: number;
5301
5400
  executionId: string;
5401
+ attempt: number;
5302
5402
  progress: {
5303
5403
  sourceRowsRead: number;
5304
5404
  sourceRowsSkipped: number;
@@ -5324,12 +5424,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5324
5424
  startedAt?: string | undefined;
5325
5425
  finishedAt?: string | undefined;
5326
5426
  } | {
5427
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5327
5428
  projectId: string;
5328
5429
  id: string;
5329
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5330
5430
  queuedAt: string;
5331
- attempt: number;
5332
5431
  executionId: string;
5432
+ attempt: number;
5333
5433
  progress: {
5334
5434
  sourceRowsRead: number;
5335
5435
  sourceRowsSkipped: number;
@@ -5355,6 +5455,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5355
5455
  finishedAt?: string | undefined;
5356
5456
  } | null;
5357
5457
  _tag: "ObjectProjectionDefinition";
5458
+ conflictResolution: {
5459
+ strategy: "editsWin";
5460
+ } | {
5461
+ strategy: "mostRecent";
5462
+ sourceTimestamp: string;
5463
+ };
5358
5464
  }, {
5359
5465
  id: string;
5360
5466
  links: Record<string, {
@@ -5367,12 +5473,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5367
5473
  objectTypeId: string;
5368
5474
  datasetId: string;
5369
5475
  latestRun: {
5476
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5370
5477
  projectId: string;
5371
5478
  id: string;
5372
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5373
5479
  queuedAt: string;
5374
- attempt: number;
5375
5480
  executionId: string;
5481
+ attempt: number;
5376
5482
  progress: {
5377
5483
  sourceRowsRead: number;
5378
5484
  sourceRowsSkipped: number;
@@ -5397,12 +5503,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5397
5503
  startedAt?: string | undefined;
5398
5504
  finishedAt?: string | undefined;
5399
5505
  } | {
5506
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5400
5507
  projectId: string;
5401
5508
  id: string;
5402
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5403
5509
  queuedAt: string;
5404
- attempt: number;
5405
5510
  executionId: string;
5511
+ attempt: number;
5406
5512
  progress: {
5407
5513
  sourceRowsRead: number;
5408
5514
  sourceRowsSkipped: number;
@@ -5428,12 +5534,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5428
5534
  startedAt?: string | undefined;
5429
5535
  finishedAt?: string | undefined;
5430
5536
  } | {
5537
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5431
5538
  projectId: string;
5432
5539
  id: string;
5433
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5434
5540
  queuedAt: string;
5435
- attempt: number;
5436
5541
  executionId: string;
5542
+ attempt: number;
5437
5543
  progress: {
5438
5544
  sourceRowsRead: number;
5439
5545
  sourceRowsSkipped: number;
@@ -5459,6 +5565,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5459
5565
  finishedAt?: string | undefined;
5460
5566
  } | null;
5461
5567
  _tag: "ObjectProjectionDefinition";
5568
+ conflictResolution: {
5569
+ strategy: "editsWin";
5570
+ } | {
5571
+ strategy: "mostRecent";
5572
+ sourceTimestamp: string;
5573
+ };
5462
5574
  }>, z.ZodObject<{
5463
5575
  _tag: z.ZodLiteral<"LinkProjectionDefinition">;
5464
5576
  id: z.ZodString;
@@ -5543,12 +5655,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5543
5655
  objectTypeId: string;
5544
5656
  }>;
5545
5657
  }, "strip", z.ZodTypeAny, {
5658
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5546
5659
  projectId: string;
5547
5660
  id: string;
5548
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5549
5661
  queuedAt: string;
5550
- attempt: number;
5551
5662
  executionId: string;
5663
+ attempt: number;
5552
5664
  progress: {
5553
5665
  sourceRowsRead: number;
5554
5666
  sourceRowsSkipped: number;
@@ -5573,12 +5685,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5573
5685
  startedAt?: string | undefined;
5574
5686
  finishedAt?: string | undefined;
5575
5687
  }, {
5688
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5576
5689
  projectId: string;
5577
5690
  id: string;
5578
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5579
5691
  queuedAt: string;
5580
- attempt: number;
5581
5692
  executionId: string;
5693
+ attempt: number;
5582
5694
  progress: {
5583
5695
  sourceRowsRead: number;
5584
5696
  sourceRowsSkipped: number;
@@ -5680,12 +5792,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5680
5792
  sourceObjectTypeId: string;
5681
5793
  }>;
5682
5794
  }, "strip", z.ZodTypeAny, {
5795
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5683
5796
  projectId: string;
5684
5797
  id: string;
5685
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5686
5798
  queuedAt: string;
5687
- attempt: number;
5688
5799
  executionId: string;
5800
+ attempt: number;
5689
5801
  progress: {
5690
5802
  sourceRowsRead: number;
5691
5803
  sourceRowsSkipped: number;
@@ -5711,12 +5823,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5711
5823
  startedAt?: string | undefined;
5712
5824
  finishedAt?: string | undefined;
5713
5825
  }, {
5826
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5714
5827
  projectId: string;
5715
5828
  id: string;
5716
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5717
5829
  queuedAt: string;
5718
- attempt: number;
5719
5830
  executionId: string;
5831
+ attempt: number;
5720
5832
  progress: {
5721
5833
  sourceRowsRead: number;
5722
5834
  sourceRowsSkipped: number;
@@ -5816,12 +5928,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5816
5928
  objectTypeId: string;
5817
5929
  }>;
5818
5930
  }, "strip", z.ZodTypeAny, {
5931
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5819
5932
  projectId: string;
5820
5933
  id: string;
5821
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5822
5934
  queuedAt: string;
5823
- attempt: number;
5824
5935
  executionId: string;
5936
+ attempt: number;
5825
5937
  progress: {
5826
5938
  sourceRowsRead: number;
5827
5939
  sourceRowsSkipped: number;
@@ -5846,12 +5958,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5846
5958
  startedAt?: string | undefined;
5847
5959
  finishedAt?: string | undefined;
5848
5960
  }, {
5961
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5849
5962
  projectId: string;
5850
5963
  id: string;
5851
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5852
5964
  queuedAt: string;
5853
- attempt: number;
5854
5965
  executionId: string;
5966
+ attempt: number;
5855
5967
  progress: {
5856
5968
  sourceRowsRead: number;
5857
5969
  sourceRowsSkipped: number;
@@ -5883,12 +5995,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5883
5995
  linkId: string;
5884
5996
  sourceObjectTypeId: string;
5885
5997
  latestRun: {
5998
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5886
5999
  projectId: string;
5887
6000
  id: string;
5888
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5889
6001
  queuedAt: string;
5890
- attempt: number;
5891
6002
  executionId: string;
6003
+ attempt: number;
5892
6004
  progress: {
5893
6005
  sourceRowsRead: number;
5894
6006
  sourceRowsSkipped: number;
@@ -5913,12 +6025,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5913
6025
  startedAt?: string | undefined;
5914
6026
  finishedAt?: string | undefined;
5915
6027
  } | {
6028
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5916
6029
  projectId: string;
5917
6030
  id: string;
5918
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5919
6031
  queuedAt: string;
5920
- attempt: number;
5921
6032
  executionId: string;
6033
+ attempt: number;
5922
6034
  progress: {
5923
6035
  sourceRowsRead: number;
5924
6036
  sourceRowsSkipped: number;
@@ -5944,12 +6056,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5944
6056
  startedAt?: string | undefined;
5945
6057
  finishedAt?: string | undefined;
5946
6058
  } | {
6059
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5947
6060
  projectId: string;
5948
6061
  id: string;
5949
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5950
6062
  queuedAt: string;
5951
- attempt: number;
5952
6063
  executionId: string;
6064
+ attempt: number;
5953
6065
  progress: {
5954
6066
  sourceRowsRead: number;
5955
6067
  sourceRowsSkipped: number;
@@ -5984,12 +6096,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5984
6096
  linkId: string;
5985
6097
  sourceObjectTypeId: string;
5986
6098
  latestRun: {
6099
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5987
6100
  projectId: string;
5988
6101
  id: string;
5989
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
5990
6102
  queuedAt: string;
5991
- attempt: number;
5992
6103
  executionId: string;
6104
+ attempt: number;
5993
6105
  progress: {
5994
6106
  sourceRowsRead: number;
5995
6107
  sourceRowsSkipped: number;
@@ -6014,12 +6126,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6014
6126
  startedAt?: string | undefined;
6015
6127
  finishedAt?: string | undefined;
6016
6128
  } | {
6129
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6017
6130
  projectId: string;
6018
6131
  id: string;
6019
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6020
6132
  queuedAt: string;
6021
- attempt: number;
6022
6133
  executionId: string;
6134
+ attempt: number;
6023
6135
  progress: {
6024
6136
  sourceRowsRead: number;
6025
6137
  sourceRowsSkipped: number;
@@ -6045,12 +6157,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6045
6157
  startedAt?: string | undefined;
6046
6158
  finishedAt?: string | undefined;
6047
6159
  } | {
6160
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6048
6161
  projectId: string;
6049
6162
  id: string;
6050
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6051
6163
  queuedAt: string;
6052
- attempt: number;
6053
6164
  executionId: string;
6165
+ attempt: number;
6054
6166
  progress: {
6055
6167
  sourceRowsRead: number;
6056
6168
  sourceRowsSkipped: number;
@@ -6163,12 +6275,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6163
6275
  objectTypeId: string;
6164
6276
  }>;
6165
6277
  }, "strip", z.ZodTypeAny, {
6278
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6166
6279
  projectId: string;
6167
6280
  id: string;
6168
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6169
6281
  queuedAt: string;
6170
- attempt: number;
6171
6282
  executionId: string;
6283
+ attempt: number;
6172
6284
  progress: {
6173
6285
  sourceRowsRead: number;
6174
6286
  sourceRowsSkipped: number;
@@ -6193,12 +6305,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6193
6305
  startedAt?: string | undefined;
6194
6306
  finishedAt?: string | undefined;
6195
6307
  }, {
6308
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6196
6309
  projectId: string;
6197
6310
  id: string;
6198
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6199
6311
  queuedAt: string;
6200
- attempt: number;
6201
6312
  executionId: string;
6313
+ attempt: number;
6202
6314
  progress: {
6203
6315
  sourceRowsRead: number;
6204
6316
  sourceRowsSkipped: number;
@@ -6300,12 +6412,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6300
6412
  sourceObjectTypeId: string;
6301
6413
  }>;
6302
6414
  }, "strip", z.ZodTypeAny, {
6415
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6303
6416
  projectId: string;
6304
6417
  id: string;
6305
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6306
6418
  queuedAt: string;
6307
- attempt: number;
6308
6419
  executionId: string;
6420
+ attempt: number;
6309
6421
  progress: {
6310
6422
  sourceRowsRead: number;
6311
6423
  sourceRowsSkipped: number;
@@ -6331,12 +6443,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6331
6443
  startedAt?: string | undefined;
6332
6444
  finishedAt?: string | undefined;
6333
6445
  }, {
6446
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6334
6447
  projectId: string;
6335
6448
  id: string;
6336
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6337
6449
  queuedAt: string;
6338
- attempt: number;
6339
6450
  executionId: string;
6451
+ attempt: number;
6340
6452
  progress: {
6341
6453
  sourceRowsRead: number;
6342
6454
  sourceRowsSkipped: number;
@@ -6436,12 +6548,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6436
6548
  objectTypeId: string;
6437
6549
  }>;
6438
6550
  }, "strip", z.ZodTypeAny, {
6551
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6439
6552
  projectId: string;
6440
6553
  id: string;
6441
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6442
6554
  queuedAt: string;
6443
- attempt: number;
6444
6555
  executionId: string;
6556
+ attempt: number;
6445
6557
  progress: {
6446
6558
  sourceRowsRead: number;
6447
6559
  sourceRowsSkipped: number;
@@ -6466,12 +6578,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6466
6578
  startedAt?: string | undefined;
6467
6579
  finishedAt?: string | undefined;
6468
6580
  }, {
6581
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6469
6582
  projectId: string;
6470
6583
  id: string;
6471
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6472
6584
  queuedAt: string;
6473
- attempt: number;
6474
6585
  executionId: string;
6586
+ attempt: number;
6475
6587
  progress: {
6476
6588
  sourceRowsRead: number;
6477
6589
  sourceRowsSkipped: number;
@@ -6502,12 +6614,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6502
6614
  datasetId: string;
6503
6615
  propertyId: string;
6504
6616
  latestRun: {
6617
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6505
6618
  projectId: string;
6506
6619
  id: string;
6507
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6508
6620
  queuedAt: string;
6509
- attempt: number;
6510
6621
  executionId: string;
6622
+ attempt: number;
6511
6623
  progress: {
6512
6624
  sourceRowsRead: number;
6513
6625
  sourceRowsSkipped: number;
@@ -6532,12 +6644,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6532
6644
  startedAt?: string | undefined;
6533
6645
  finishedAt?: string | undefined;
6534
6646
  } | {
6647
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6535
6648
  projectId: string;
6536
6649
  id: string;
6537
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6538
6650
  queuedAt: string;
6539
- attempt: number;
6540
6651
  executionId: string;
6652
+ attempt: number;
6541
6653
  progress: {
6542
6654
  sourceRowsRead: number;
6543
6655
  sourceRowsSkipped: number;
@@ -6563,12 +6675,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6563
6675
  startedAt?: string | undefined;
6564
6676
  finishedAt?: string | undefined;
6565
6677
  } | {
6678
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6566
6679
  projectId: string;
6567
6680
  id: string;
6568
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6569
6681
  queuedAt: string;
6570
- attempt: number;
6571
6682
  executionId: string;
6683
+ attempt: number;
6572
6684
  progress: {
6573
6685
  sourceRowsRead: number;
6574
6686
  sourceRowsSkipped: number;
@@ -6604,12 +6716,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6604
6716
  datasetId: string;
6605
6717
  propertyId: string;
6606
6718
  latestRun: {
6719
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6607
6720
  projectId: string;
6608
6721
  id: string;
6609
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6610
6722
  queuedAt: string;
6611
- attempt: number;
6612
6723
  executionId: string;
6724
+ attempt: number;
6613
6725
  progress: {
6614
6726
  sourceRowsRead: number;
6615
6727
  sourceRowsSkipped: number;
@@ -6634,12 +6746,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6634
6746
  startedAt?: string | undefined;
6635
6747
  finishedAt?: string | undefined;
6636
6748
  } | {
6749
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6637
6750
  projectId: string;
6638
6751
  id: string;
6639
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6640
6752
  queuedAt: string;
6641
- attempt: number;
6642
6753
  executionId: string;
6754
+ attempt: number;
6643
6755
  progress: {
6644
6756
  sourceRowsRead: number;
6645
6757
  sourceRowsSkipped: number;
@@ -6665,12 +6777,12 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6665
6777
  startedAt?: string | undefined;
6666
6778
  finishedAt?: string | undefined;
6667
6779
  } | {
6780
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6668
6781
  projectId: string;
6669
6782
  id: string;
6670
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6671
6783
  queuedAt: string;
6672
- attempt: number;
6673
6784
  executionId: string;
6785
+ attempt: number;
6674
6786
  progress: {
6675
6787
  sourceRowsRead: number;
6676
6788
  sourceRowsSkipped: number;
@@ -6818,12 +6930,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6818
6930
  objectTypeId: string;
6819
6931
  }>;
6820
6932
  }, "strip", z.ZodTypeAny, {
6933
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6821
6934
  projectId: string;
6822
6935
  id: string;
6823
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6824
6936
  queuedAt: string;
6825
- attempt: number;
6826
6937
  executionId: string;
6938
+ attempt: number;
6827
6939
  progress: {
6828
6940
  sourceRowsRead: number;
6829
6941
  sourceRowsSkipped: number;
@@ -6848,12 +6960,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6848
6960
  startedAt?: string | undefined;
6849
6961
  finishedAt?: string | undefined;
6850
6962
  }, {
6963
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6851
6964
  projectId: string;
6852
6965
  id: string;
6853
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6854
6966
  queuedAt: string;
6855
- attempt: number;
6856
6967
  executionId: string;
6968
+ attempt: number;
6857
6969
  progress: {
6858
6970
  sourceRowsRead: number;
6859
6971
  sourceRowsSkipped: number;
@@ -6955,12 +7067,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6955
7067
  sourceObjectTypeId: string;
6956
7068
  }>;
6957
7069
  }, "strip", z.ZodTypeAny, {
7070
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6958
7071
  projectId: string;
6959
7072
  id: string;
6960
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6961
7073
  queuedAt: string;
6962
- attempt: number;
6963
7074
  executionId: string;
7075
+ attempt: number;
6964
7076
  progress: {
6965
7077
  sourceRowsRead: number;
6966
7078
  sourceRowsSkipped: number;
@@ -6986,12 +7098,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
6986
7098
  startedAt?: string | undefined;
6987
7099
  finishedAt?: string | undefined;
6988
7100
  }, {
7101
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6989
7102
  projectId: string;
6990
7103
  id: string;
6991
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
6992
7104
  queuedAt: string;
6993
- attempt: number;
6994
7105
  executionId: string;
7106
+ attempt: number;
6995
7107
  progress: {
6996
7108
  sourceRowsRead: number;
6997
7109
  sourceRowsSkipped: number;
@@ -7091,12 +7203,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7091
7203
  objectTypeId: string;
7092
7204
  }>;
7093
7205
  }, "strip", z.ZodTypeAny, {
7206
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7094
7207
  projectId: string;
7095
7208
  id: string;
7096
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7097
7209
  queuedAt: string;
7098
- attempt: number;
7099
7210
  executionId: string;
7211
+ attempt: number;
7100
7212
  progress: {
7101
7213
  sourceRowsRead: number;
7102
7214
  sourceRowsSkipped: number;
@@ -7121,12 +7233,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7121
7233
  startedAt?: string | undefined;
7122
7234
  finishedAt?: string | undefined;
7123
7235
  }, {
7236
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7124
7237
  projectId: string;
7125
7238
  id: string;
7126
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7127
7239
  queuedAt: string;
7128
- attempt: number;
7129
7240
  executionId: string;
7241
+ attempt: number;
7130
7242
  progress: {
7131
7243
  sourceRowsRead: number;
7132
7244
  sourceRowsSkipped: number;
@@ -7155,12 +7267,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7155
7267
  total: z.ZodNumber;
7156
7268
  }, "strip", z.ZodTypeAny, {
7157
7269
  runs: ({
7270
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7158
7271
  projectId: string;
7159
7272
  id: string;
7160
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7161
7273
  queuedAt: string;
7162
- attempt: number;
7163
7274
  executionId: string;
7275
+ attempt: number;
7164
7276
  progress: {
7165
7277
  sourceRowsRead: number;
7166
7278
  sourceRowsSkipped: number;
@@ -7185,12 +7297,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7185
7297
  startedAt?: string | undefined;
7186
7298
  finishedAt?: string | undefined;
7187
7299
  } | {
7300
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7188
7301
  projectId: string;
7189
7302
  id: string;
7190
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7191
7303
  queuedAt: string;
7192
- attempt: number;
7193
7304
  executionId: string;
7305
+ attempt: number;
7194
7306
  progress: {
7195
7307
  sourceRowsRead: number;
7196
7308
  sourceRowsSkipped: number;
@@ -7216,12 +7328,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7216
7328
  startedAt?: string | undefined;
7217
7329
  finishedAt?: string | undefined;
7218
7330
  } | {
7331
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7219
7332
  projectId: string;
7220
7333
  id: string;
7221
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7222
7334
  queuedAt: string;
7223
- attempt: number;
7224
7335
  executionId: string;
7336
+ attempt: number;
7225
7337
  progress: {
7226
7338
  sourceRowsRead: number;
7227
7339
  sourceRowsSkipped: number;
@@ -7250,12 +7362,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7250
7362
  total: number;
7251
7363
  }, {
7252
7364
  runs: ({
7365
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7253
7366
  projectId: string;
7254
7367
  id: string;
7255
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7256
7368
  queuedAt: string;
7257
- attempt: number;
7258
7369
  executionId: string;
7370
+ attempt: number;
7259
7371
  progress: {
7260
7372
  sourceRowsRead: number;
7261
7373
  sourceRowsSkipped: number;
@@ -7280,12 +7392,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7280
7392
  startedAt?: string | undefined;
7281
7393
  finishedAt?: string | undefined;
7282
7394
  } | {
7395
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7283
7396
  projectId: string;
7284
7397
  id: string;
7285
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7286
7398
  queuedAt: string;
7287
- attempt: number;
7288
7399
  executionId: string;
7400
+ attempt: number;
7289
7401
  progress: {
7290
7402
  sourceRowsRead: number;
7291
7403
  sourceRowsSkipped: number;
@@ -7311,12 +7423,12 @@ export declare const ProjectionRunListResponseSchema: z.ZodObject<{
7311
7423
  startedAt?: string | undefined;
7312
7424
  finishedAt?: string | undefined;
7313
7425
  } | {
7426
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7314
7427
  projectId: string;
7315
7428
  id: string;
7316
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
7317
7429
  queuedAt: string;
7318
- attempt: number;
7319
7430
  executionId: string;
7431
+ attempt: number;
7320
7432
  progress: {
7321
7433
  sourceRowsRead: number;
7322
7434
  sourceRowsSkipped: number;