@sixb/server 0.1.20 → 0.1.21

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 (70) hide show
  1. package/dist/artifacts/frame.d.ts +13 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -0
  3. package/dist/auth/browser-origin.d.ts +5 -0
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/public-routes.d.ts.map +1 -1
  6. package/dist/files/content.d.ts +2 -3
  7. package/dist/files/content.d.ts.map +1 -1
  8. package/dist/index.js +3427 -2402
  9. package/dist/index.js.map +23 -17
  10. package/dist/openapi/tags.d.ts +10 -2
  11. package/dist/openapi/tags.d.ts.map +1 -1
  12. package/dist/registerRoutes.d.ts +3 -0
  13. package/dist/registerRoutes.d.ts.map +1 -1
  14. package/dist/routes/activity.d.ts +35 -0
  15. package/dist/routes/activity.d.ts.map +1 -0
  16. package/dist/routes/agents.d.ts +18 -27
  17. package/dist/routes/agents.d.ts.map +1 -1
  18. package/dist/routes/artifact-frames.d.ts +98 -0
  19. package/dist/routes/artifact-frames.d.ts.map +1 -0
  20. package/dist/routes/artifacts.d.ts +852 -0
  21. package/dist/routes/artifacts.d.ts.map +1 -0
  22. package/dist/routes/auth.d.ts +1 -1
  23. package/dist/routes/connector-connection-runs.d.ts +59 -59
  24. package/dist/routes/connector-connections.d.ts +2 -2
  25. package/dist/routes/datasets.d.ts +7 -7
  26. package/dist/routes/events.d.ts +1 -1
  27. package/dist/routes/pipelines.d.ts +31 -31
  28. package/dist/routes/projections.d.ts +10 -10
  29. package/dist/routes/share-grants.d.ts +5 -5
  30. package/dist/routes/syncs.d.ts +38 -38
  31. package/dist/routes/workflows.d.ts +30 -30
  32. package/dist/routes/ws/events.d.ts.map +1 -1
  33. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  34. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  35. package/dist/schemas/activity.d.ts +1278 -0
  36. package/dist/schemas/activity.d.ts.map +1 -0
  37. package/dist/schemas/agents.d.ts +96 -144
  38. package/dist/schemas/agents.d.ts.map +1 -1
  39. package/dist/schemas/ai-accounting.d.ts +24 -24
  40. package/dist/schemas/ai-limits.d.ts +26 -26
  41. package/dist/schemas/artifacts.d.ts +1305 -0
  42. package/dist/schemas/artifacts.d.ts.map +1 -0
  43. package/dist/schemas/auth.d.ts +6 -6
  44. package/dist/schemas/connectors.d.ts +30 -30
  45. package/dist/schemas/datasets.d.ts +10 -10
  46. package/dist/schemas/events.d.ts +6 -6
  47. package/dist/schemas/pipelines.d.ts +35 -35
  48. package/dist/schemas/projections.d.ts +40 -40
  49. package/dist/schemas/share-grants.d.ts +16 -16
  50. package/dist/schemas/syncs.d.ts +36 -36
  51. package/dist/schemas/workflows.d.ts +84 -84
  52. package/dist/server.d.ts.map +1 -1
  53. package/package.json +4 -4
  54. package/src/artifacts/frame.ts +46 -0
  55. package/src/auth/browser-origin.ts +12 -2
  56. package/src/auth/public-routes.ts +10 -0
  57. package/src/files/content.ts +9 -13
  58. package/src/openapi/tags.ts +8 -0
  59. package/src/registerRoutes.ts +9 -0
  60. package/src/routes/activity.ts +327 -0
  61. package/src/routes/agents.ts +1 -1
  62. package/src/routes/artifact-frames.ts +138 -0
  63. package/src/routes/artifacts.ts +442 -0
  64. package/src/routes/file-downloads.ts +1 -3
  65. package/src/routes/ws/events.ts +3 -2
  66. package/src/routes/ws/subscription-hub.ts +53 -20
  67. package/src/schemas/activity.ts +285 -0
  68. package/src/schemas/agents.ts +1 -2
  69. package/src/schemas/artifacts.ts +158 -0
  70. package/src/server.ts +25 -9
@@ -63,8 +63,8 @@ export declare const PipelineRunSchema: z.ZodObject<{
63
63
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
64
64
  projectId: string;
65
65
  id: string;
66
- pipelineId: string;
67
66
  queuedAt: string;
67
+ pipelineId: string;
68
68
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
69
69
  startedAt?: string | undefined;
70
70
  finishedAt?: string | undefined;
@@ -76,8 +76,8 @@ export declare const PipelineRunSchema: z.ZodObject<{
76
76
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
77
77
  projectId: string;
78
78
  id: string;
79
- pipelineId: string;
80
79
  queuedAt: string;
80
+ pipelineId: string;
81
81
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
82
82
  startedAt?: string | undefined;
83
83
  finishedAt?: string | undefined;
@@ -891,8 +891,8 @@ export declare const PipelineSchema: z.ZodObject<{
891
891
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
892
892
  projectId: string;
893
893
  id: string;
894
- pipelineId: string;
895
894
  queuedAt: string;
895
+ pipelineId: string;
896
896
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
897
897
  startedAt?: string | undefined;
898
898
  finishedAt?: string | undefined;
@@ -904,8 +904,8 @@ export declare const PipelineSchema: z.ZodObject<{
904
904
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
905
905
  projectId: string;
906
906
  id: string;
907
- pipelineId: string;
908
907
  queuedAt: string;
908
+ pipelineId: string;
909
909
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
910
910
  startedAt?: string | undefined;
911
911
  finishedAt?: string | undefined;
@@ -920,6 +920,20 @@ export declare const PipelineSchema: z.ZodObject<{
920
920
  type: "schedule";
921
921
  scheduleId: string;
922
922
  }[];
923
+ latestRun: {
924
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
925
+ projectId: string;
926
+ id: string;
927
+ queuedAt: string;
928
+ pipelineId: string;
929
+ error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
930
+ startedAt?: string | undefined;
931
+ finishedAt?: string | undefined;
932
+ output?: {
933
+ datasetId: string;
934
+ versionId: string;
935
+ } | undefined;
936
+ } | null;
923
937
  graph: {
924
938
  kind: "sequence";
925
939
  nodes: {
@@ -967,12 +981,18 @@ export declare const PipelineSchema: z.ZodObject<{
967
981
  };
968
982
  }[];
969
983
  };
984
+ }, {
985
+ id: string;
986
+ triggers: {
987
+ type: "schedule";
988
+ scheduleId: string;
989
+ }[];
970
990
  latestRun: {
971
991
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
972
992
  projectId: string;
973
993
  id: string;
974
- pipelineId: string;
975
994
  queuedAt: string;
995
+ pipelineId: string;
976
996
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
977
997
  startedAt?: string | undefined;
978
998
  finishedAt?: string | undefined;
@@ -981,12 +1001,6 @@ export declare const PipelineSchema: z.ZodObject<{
981
1001
  versionId: string;
982
1002
  } | undefined;
983
1003
  } | null;
984
- }, {
985
- id: string;
986
- triggers: {
987
- type: "schedule";
988
- scheduleId: string;
989
- }[];
990
1004
  graph: {
991
1005
  kind: "sequence";
992
1006
  nodes: {
@@ -1034,20 +1048,6 @@ export declare const PipelineSchema: z.ZodObject<{
1034
1048
  };
1035
1049
  }[];
1036
1050
  };
1037
- latestRun: {
1038
- status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1039
- projectId: string;
1040
- id: string;
1041
- pipelineId: string;
1042
- queuedAt: string;
1043
- error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1044
- startedAt?: string | undefined;
1045
- finishedAt?: string | undefined;
1046
- output?: {
1047
- datasetId: string;
1048
- versionId: string;
1049
- } | undefined;
1050
- } | null;
1051
1051
  }>;
1052
1052
  export declare const PipelineRunListResponseSchema: z.ZodObject<{
1053
1053
  runs: z.ZodArray<z.ZodObject<{
@@ -1073,8 +1073,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1073
1073
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1074
1074
  projectId: string;
1075
1075
  id: string;
1076
- pipelineId: string;
1077
1076
  queuedAt: string;
1077
+ pipelineId: string;
1078
1078
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1079
1079
  startedAt?: string | undefined;
1080
1080
  finishedAt?: string | undefined;
@@ -1086,8 +1086,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1086
1086
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1087
1087
  projectId: string;
1088
1088
  id: string;
1089
- pipelineId: string;
1090
1089
  queuedAt: string;
1090
+ pipelineId: string;
1091
1091
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1092
1092
  startedAt?: string | undefined;
1093
1093
  finishedAt?: string | undefined;
@@ -1103,8 +1103,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1103
1103
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1104
1104
  projectId: string;
1105
1105
  id: string;
1106
- pipelineId: string;
1107
1106
  queuedAt: string;
1107
+ pipelineId: string;
1108
1108
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1109
1109
  startedAt?: string | undefined;
1110
1110
  finishedAt?: string | undefined;
@@ -1120,8 +1120,8 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1120
1120
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1121
1121
  projectId: string;
1122
1122
  id: string;
1123
- pipelineId: string;
1124
1123
  queuedAt: string;
1124
+ pipelineId: string;
1125
1125
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1126
1126
  startedAt?: string | undefined;
1127
1127
  finishedAt?: string | undefined;
@@ -1157,8 +1157,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1157
1157
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1158
1158
  projectId: string;
1159
1159
  id: string;
1160
- pipelineId: string;
1161
1160
  queuedAt: string;
1161
+ pipelineId: string;
1162
1162
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1163
1163
  startedAt?: string | undefined;
1164
1164
  finishedAt?: string | undefined;
@@ -1170,8 +1170,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1170
1170
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1171
1171
  projectId: string;
1172
1172
  id: string;
1173
- pipelineId: string;
1174
1173
  queuedAt: string;
1174
+ pipelineId: string;
1175
1175
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1176
1176
  startedAt?: string | undefined;
1177
1177
  finishedAt?: string | undefined;
@@ -1261,8 +1261,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1261
1261
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1262
1262
  projectId: string;
1263
1263
  id: string;
1264
- pipelineId: string;
1265
1264
  queuedAt: string;
1265
+ pipelineId: string;
1266
1266
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1267
1267
  startedAt?: string | undefined;
1268
1268
  finishedAt?: string | undefined;
@@ -1298,8 +1298,8 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1298
1298
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1299
1299
  projectId: string;
1300
1300
  id: string;
1301
- pipelineId: string;
1302
1301
  queuedAt: string;
1302
+ pipelineId: string;
1303
1303
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
1304
1304
  startedAt?: string | undefined;
1305
1305
  finishedAt?: string | undefined;
@@ -1338,13 +1338,13 @@ export declare const RequestPipelineRunResponseSchema: z.ZodObject<{
1338
1338
  queuedAt: z.ZodString;
1339
1339
  }, "strip", z.ZodTypeAny, {
1340
1340
  runId: string;
1341
+ queuedAt: string;
1341
1342
  jobId: string;
1342
1343
  pipelineId: string;
1343
- queuedAt: string;
1344
1344
  }, {
1345
1345
  runId: string;
1346
+ queuedAt: string;
1346
1347
  jobId: string;
1347
1348
  pipelineId: string;
1348
- queuedAt: string;
1349
1349
  }>;
1350
1350
  //# sourceMappingURL=pipelines.d.ts.map
@@ -928,7 +928,6 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
928
928
  }>;
929
929
  properties: Record<string, string>;
930
930
  objectTypeId: string;
931
- datasetId: string;
932
931
  latestRun: {
933
932
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
934
933
  projectId: string;
@@ -1024,6 +1023,7 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1024
1023
  startedAt?: string | undefined;
1025
1024
  finishedAt?: string | undefined;
1026
1025
  } | null;
1026
+ datasetId: string;
1027
1027
  _tag: "ObjectProjectionDefinition";
1028
1028
  conflictResolution: {
1029
1029
  strategy: "editsWin";
@@ -1041,7 +1041,6 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1041
1041
  }>;
1042
1042
  properties: Record<string, string>;
1043
1043
  objectTypeId: string;
1044
- datasetId: string;
1045
1044
  latestRun: {
1046
1045
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
1047
1046
  projectId: string;
@@ -1137,6 +1136,7 @@ export declare const ObjectProjectionSchema: z.ZodObject<{
1137
1136
  startedAt?: string | undefined;
1138
1137
  finishedAt?: string | undefined;
1139
1138
  } | null;
1139
+ datasetId: string;
1140
1140
  _tag: "ObjectProjectionDefinition";
1141
1141
  conflictResolution: {
1142
1142
  strategy: "editsWin";
@@ -1580,9 +1580,6 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1580
1580
  }, "strip", z.ZodTypeAny, {
1581
1581
  id: string;
1582
1582
  targetObjectTypeId: string;
1583
- datasetId: string;
1584
- linkId: string;
1585
- sourceObjectTypeId: string;
1586
1583
  latestRun: {
1587
1584
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
1588
1585
  projectId: string;
@@ -1678,15 +1675,15 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1678
1675
  startedAt?: string | undefined;
1679
1676
  finishedAt?: string | undefined;
1680
1677
  } | null;
1678
+ datasetId: string;
1679
+ linkId: string;
1680
+ sourceObjectTypeId: string;
1681
1681
  sourceField: string;
1682
1682
  _tag: "LinkProjectionDefinition";
1683
1683
  targetField: string;
1684
1684
  }, {
1685
1685
  id: string;
1686
1686
  targetObjectTypeId: string;
1687
- datasetId: string;
1688
- linkId: string;
1689
- sourceObjectTypeId: string;
1690
1687
  latestRun: {
1691
1688
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
1692
1689
  projectId: string;
@@ -1782,6 +1779,9 @@ export declare const LinkProjectionSchema: z.ZodObject<{
1782
1779
  startedAt?: string | undefined;
1783
1780
  finishedAt?: string | undefined;
1784
1781
  } | null;
1782
+ datasetId: string;
1783
+ linkId: string;
1784
+ sourceObjectTypeId: string;
1785
1785
  sourceField: string;
1786
1786
  _tag: "LinkProjectionDefinition";
1787
1787
  targetField: string;
@@ -2233,7 +2233,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2233
2233
  unitField?: string | undefined;
2234
2234
  }>;
2235
2235
  objectTypeId: string;
2236
- datasetId: string;
2237
2236
  latestRun: {
2238
2237
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
2239
2238
  projectId: string;
@@ -2329,6 +2328,7 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2329
2328
  startedAt?: string | undefined;
2330
2329
  finishedAt?: string | undefined;
2331
2330
  } | null;
2331
+ datasetId: string;
2332
2332
  _tag: "TelemetryProjectionDefinition";
2333
2333
  objectIdField: string;
2334
2334
  atField: string;
@@ -2339,7 +2339,6 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2339
2339
  unitField?: string | undefined;
2340
2340
  }>;
2341
2341
  objectTypeId: string;
2342
- datasetId: string;
2343
2342
  latestRun: {
2344
2343
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
2345
2344
  projectId: string;
@@ -2435,6 +2434,7 @@ export declare const TelemetryProjectionSchema: z.ZodObject<{
2435
2434
  startedAt?: string | undefined;
2436
2435
  finishedAt?: string | undefined;
2437
2436
  } | null;
2437
+ datasetId: string;
2438
2438
  _tag: "TelemetryProjectionDefinition";
2439
2439
  objectIdField: string;
2440
2440
  atField: string;
@@ -2911,7 +2911,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
2911
2911
  }>;
2912
2912
  properties: Record<string, string>;
2913
2913
  objectTypeId: string;
2914
- datasetId: string;
2915
2914
  latestRun: {
2916
2915
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
2917
2916
  projectId: string;
@@ -3007,6 +3006,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3007
3006
  startedAt?: string | undefined;
3008
3007
  finishedAt?: string | undefined;
3009
3008
  } | null;
3009
+ datasetId: string;
3010
3010
  _tag: "ObjectProjectionDefinition";
3011
3011
  conflictResolution: {
3012
3012
  strategy: "editsWin";
@@ -3024,7 +3024,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3024
3024
  }>;
3025
3025
  properties: Record<string, string>;
3026
3026
  objectTypeId: string;
3027
- datasetId: string;
3028
3027
  latestRun: {
3029
3028
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
3030
3029
  projectId: string;
@@ -3120,6 +3119,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3120
3119
  startedAt?: string | undefined;
3121
3120
  finishedAt?: string | undefined;
3122
3121
  } | null;
3122
+ datasetId: string;
3123
3123
  _tag: "ObjectProjectionDefinition";
3124
3124
  conflictResolution: {
3125
3125
  strategy: "editsWin";
@@ -3563,9 +3563,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3563
3563
  }, "strip", z.ZodTypeAny, {
3564
3564
  id: string;
3565
3565
  targetObjectTypeId: string;
3566
- datasetId: string;
3567
- linkId: string;
3568
- sourceObjectTypeId: string;
3569
3566
  latestRun: {
3570
3567
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
3571
3568
  projectId: string;
@@ -3661,15 +3658,15 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3661
3658
  startedAt?: string | undefined;
3662
3659
  finishedAt?: string | undefined;
3663
3660
  } | null;
3661
+ datasetId: string;
3662
+ linkId: string;
3663
+ sourceObjectTypeId: string;
3664
3664
  sourceField: string;
3665
3665
  _tag: "LinkProjectionDefinition";
3666
3666
  targetField: string;
3667
3667
  }, {
3668
3668
  id: string;
3669
3669
  targetObjectTypeId: string;
3670
- datasetId: string;
3671
- linkId: string;
3672
- sourceObjectTypeId: string;
3673
3670
  latestRun: {
3674
3671
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
3675
3672
  projectId: string;
@@ -3765,6 +3762,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
3765
3762
  startedAt?: string | undefined;
3766
3763
  finishedAt?: string | undefined;
3767
3764
  } | null;
3765
+ datasetId: string;
3766
+ linkId: string;
3767
+ sourceObjectTypeId: string;
3768
3768
  sourceField: string;
3769
3769
  _tag: "LinkProjectionDefinition";
3770
3770
  targetField: string;
@@ -4216,7 +4216,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4216
4216
  unitField?: string | undefined;
4217
4217
  }>;
4218
4218
  objectTypeId: string;
4219
- datasetId: string;
4220
4219
  latestRun: {
4221
4220
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4222
4221
  projectId: string;
@@ -4312,6 +4311,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4312
4311
  startedAt?: string | undefined;
4313
4312
  finishedAt?: string | undefined;
4314
4313
  } | null;
4314
+ datasetId: string;
4315
4315
  _tag: "TelemetryProjectionDefinition";
4316
4316
  objectIdField: string;
4317
4317
  atField: string;
@@ -4322,7 +4322,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4322
4322
  unitField?: string | undefined;
4323
4323
  }>;
4324
4324
  objectTypeId: string;
4325
- datasetId: string;
4326
4325
  latestRun: {
4327
4326
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4328
4327
  projectId: string;
@@ -4418,6 +4417,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4418
4417
  startedAt?: string | undefined;
4419
4418
  finishedAt?: string | undefined;
4420
4419
  } | null;
4420
+ datasetId: string;
4421
4421
  _tag: "TelemetryProjectionDefinition";
4422
4422
  objectIdField: string;
4423
4423
  atField: string;
@@ -4433,7 +4433,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4433
4433
  }>;
4434
4434
  properties: Record<string, string>;
4435
4435
  objectTypeId: string;
4436
- datasetId: string;
4437
4436
  latestRun: {
4438
4437
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4439
4438
  projectId: string;
@@ -4529,6 +4528,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4529
4528
  startedAt?: string | undefined;
4530
4529
  finishedAt?: string | undefined;
4531
4530
  } | null;
4531
+ datasetId: string;
4532
4532
  _tag: "ObjectProjectionDefinition";
4533
4533
  conflictResolution: {
4534
4534
  strategy: "editsWin";
@@ -4540,9 +4540,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4540
4540
  linkProjections: {
4541
4541
  id: string;
4542
4542
  targetObjectTypeId: string;
4543
- datasetId: string;
4544
- linkId: string;
4545
- sourceObjectTypeId: string;
4546
4543
  latestRun: {
4547
4544
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4548
4545
  projectId: string;
@@ -4638,6 +4635,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4638
4635
  startedAt?: string | undefined;
4639
4636
  finishedAt?: string | undefined;
4640
4637
  } | null;
4638
+ datasetId: string;
4639
+ linkId: string;
4640
+ sourceObjectTypeId: string;
4641
4641
  sourceField: string;
4642
4642
  _tag: "LinkProjectionDefinition";
4643
4643
  targetField: string;
@@ -4649,7 +4649,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4649
4649
  unitField?: string | undefined;
4650
4650
  }>;
4651
4651
  objectTypeId: string;
4652
- datasetId: string;
4653
4652
  latestRun: {
4654
4653
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4655
4654
  projectId: string;
@@ -4745,6 +4744,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4745
4744
  startedAt?: string | undefined;
4746
4745
  finishedAt?: string | undefined;
4747
4746
  } | null;
4747
+ datasetId: string;
4748
4748
  _tag: "TelemetryProjectionDefinition";
4749
4749
  objectIdField: string;
4750
4750
  atField: string;
@@ -4760,7 +4760,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4760
4760
  }>;
4761
4761
  properties: Record<string, string>;
4762
4762
  objectTypeId: string;
4763
- datasetId: string;
4764
4763
  latestRun: {
4765
4764
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4766
4765
  projectId: string;
@@ -4856,6 +4855,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4856
4855
  startedAt?: string | undefined;
4857
4856
  finishedAt?: string | undefined;
4858
4857
  } | null;
4858
+ datasetId: string;
4859
4859
  _tag: "ObjectProjectionDefinition";
4860
4860
  conflictResolution: {
4861
4861
  strategy: "editsWin";
@@ -4867,9 +4867,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4867
4867
  linkProjections: {
4868
4868
  id: string;
4869
4869
  targetObjectTypeId: string;
4870
- datasetId: string;
4871
- linkId: string;
4872
- sourceObjectTypeId: string;
4873
4870
  latestRun: {
4874
4871
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4875
4872
  projectId: string;
@@ -4965,6 +4962,9 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4965
4962
  startedAt?: string | undefined;
4966
4963
  finishedAt?: string | undefined;
4967
4964
  } | null;
4965
+ datasetId: string;
4966
+ linkId: string;
4967
+ sourceObjectTypeId: string;
4968
4968
  sourceField: string;
4969
4969
  _tag: "LinkProjectionDefinition";
4970
4970
  targetField: string;
@@ -4976,7 +4976,6 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
4976
4976
  unitField?: string | undefined;
4977
4977
  }>;
4978
4978
  objectTypeId: string;
4979
- datasetId: string;
4980
4979
  latestRun: {
4981
4980
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
4982
4981
  projectId: string;
@@ -5072,6 +5071,7 @@ export declare const ProjectionListResponseSchema: z.ZodObject<{
5072
5071
  startedAt?: string | undefined;
5073
5072
  finishedAt?: string | undefined;
5074
5073
  } | null;
5074
+ datasetId: string;
5075
5075
  _tag: "TelemetryProjectionDefinition";
5076
5076
  objectIdField: string;
5077
5077
  atField: string;
@@ -5555,7 +5555,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5555
5555
  }>;
5556
5556
  properties: Record<string, string>;
5557
5557
  objectTypeId: string;
5558
- datasetId: string;
5559
5558
  latestRun: {
5560
5559
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
5561
5560
  projectId: string;
@@ -5651,6 +5650,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5651
5650
  startedAt?: string | undefined;
5652
5651
  finishedAt?: string | undefined;
5653
5652
  } | null;
5653
+ datasetId: string;
5654
5654
  _tag: "ObjectProjectionDefinition";
5655
5655
  conflictResolution: {
5656
5656
  strategy: "editsWin";
@@ -5668,7 +5668,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5668
5668
  }>;
5669
5669
  properties: Record<string, string>;
5670
5670
  objectTypeId: string;
5671
- datasetId: string;
5672
5671
  latestRun: {
5673
5672
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
5674
5673
  projectId: string;
@@ -5764,6 +5763,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
5764
5763
  startedAt?: string | undefined;
5765
5764
  finishedAt?: string | undefined;
5766
5765
  } | null;
5766
+ datasetId: string;
5767
5767
  _tag: "ObjectProjectionDefinition";
5768
5768
  conflictResolution: {
5769
5769
  strategy: "editsWin";
@@ -6206,9 +6206,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6206
6206
  }, "strip", z.ZodTypeAny, {
6207
6207
  id: string;
6208
6208
  targetObjectTypeId: string;
6209
- datasetId: string;
6210
- linkId: string;
6211
- sourceObjectTypeId: string;
6212
6209
  latestRun: {
6213
6210
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
6214
6211
  projectId: string;
@@ -6304,15 +6301,15 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6304
6301
  startedAt?: string | undefined;
6305
6302
  finishedAt?: string | undefined;
6306
6303
  } | null;
6304
+ datasetId: string;
6305
+ linkId: string;
6306
+ sourceObjectTypeId: string;
6307
6307
  sourceField: string;
6308
6308
  _tag: "LinkProjectionDefinition";
6309
6309
  targetField: string;
6310
6310
  }, {
6311
6311
  id: string;
6312
6312
  targetObjectTypeId: string;
6313
- datasetId: string;
6314
- linkId: string;
6315
- sourceObjectTypeId: string;
6316
6313
  latestRun: {
6317
6314
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
6318
6315
  projectId: string;
@@ -6408,6 +6405,9 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6408
6405
  startedAt?: string | undefined;
6409
6406
  finishedAt?: string | undefined;
6410
6407
  } | null;
6408
+ datasetId: string;
6409
+ linkId: string;
6410
+ sourceObjectTypeId: string;
6411
6411
  sourceField: string;
6412
6412
  _tag: "LinkProjectionDefinition";
6413
6413
  targetField: string;
@@ -6858,7 +6858,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6858
6858
  unitField?: string | undefined;
6859
6859
  }>;
6860
6860
  objectTypeId: string;
6861
- datasetId: string;
6862
6861
  latestRun: {
6863
6862
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
6864
6863
  projectId: string;
@@ -6954,6 +6953,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6954
6953
  startedAt?: string | undefined;
6955
6954
  finishedAt?: string | undefined;
6956
6955
  } | null;
6956
+ datasetId: string;
6957
6957
  _tag: "TelemetryProjectionDefinition";
6958
6958
  objectIdField: string;
6959
6959
  atField: string;
@@ -6964,7 +6964,6 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
6964
6964
  unitField?: string | undefined;
6965
6965
  }>;
6966
6966
  objectTypeId: string;
6967
- datasetId: string;
6968
6967
  latestRun: {
6969
6968
  status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
6970
6969
  projectId: string;
@@ -7060,6 +7059,7 @@ export declare const ProjectionResponseSchema: z.ZodUnion<[z.ZodObject<{
7060
7059
  startedAt?: string | undefined;
7061
7060
  finishedAt?: string | undefined;
7062
7061
  } | null;
7062
+ datasetId: string;
7063
7063
  _tag: "TelemetryProjectionDefinition";
7064
7064
  objectIdField: string;
7065
7065
  atField: string;