@sixb/server 0.1.2 → 0.1.4

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 (90) hide show
  1. package/README.md +1 -1
  2. package/dist/auth/experience.d.ts +33 -0
  3. package/dist/auth/experience.d.ts.map +1 -0
  4. package/dist/auth/public-routes.d.ts.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +2122 -1391
  8. package/dist/index.js.map +24 -19
  9. package/dist/openapi/tags.d.ts +10 -2
  10. package/dist/openapi/tags.d.ts.map +1 -1
  11. package/dist/registerRoutes.d.ts.map +1 -1
  12. package/dist/routes/action-runs.d.ts +6 -6
  13. package/dist/routes/actions.d.ts +3 -3
  14. package/dist/routes/agents.d.ts +164 -77
  15. package/dist/routes/agents.d.ts.map +1 -1
  16. package/dist/routes/ai-accounting.d.ts +31 -0
  17. package/dist/routes/ai-accounting.d.ts.map +1 -0
  18. package/dist/routes/auth.d.ts +110 -53
  19. package/dist/routes/auth.d.ts.map +1 -1
  20. package/dist/routes/connector-connection-runs.d.ts +56 -56
  21. package/dist/routes/connector-connections.d.ts +14 -14
  22. package/dist/routes/datasets.d.ts +12 -12
  23. package/dist/routes/events.d.ts +1 -1
  24. package/dist/routes/files.d.ts +8 -8
  25. package/dist/routes/links.d.ts +6 -57
  26. package/dist/routes/links.d.ts.map +1 -1
  27. package/dist/routes/logs.d.ts +3 -3
  28. package/dist/routes/models.d.ts +60 -0
  29. package/dist/routes/models.d.ts.map +1 -0
  30. package/dist/routes/objects.d.ts +51 -3
  31. package/dist/routes/objects.d.ts.map +1 -1
  32. package/dist/routes/pipelines.d.ts +10 -10
  33. package/dist/routes/projections.d.ts +150 -136
  34. package/dist/routes/projections.d.ts.map +1 -1
  35. package/dist/routes/syncs.d.ts +38 -38
  36. package/dist/routes/telemetry.d.ts +7 -7
  37. package/dist/routes/webhook-runs.d.ts +2 -2
  38. package/dist/routes/workflows.d.ts +142 -57
  39. package/dist/routes/workflows.d.ts.map +1 -1
  40. package/dist/routes/ws/logs.d.ts +10 -10
  41. package/dist/schemas/actions.d.ts +16 -16
  42. package/dist/schemas/agents.d.ts +586 -142
  43. package/dist/schemas/agents.d.ts.map +1 -1
  44. package/dist/schemas/ai-accounting.d.ts +2393 -0
  45. package/dist/schemas/ai-accounting.d.ts.map +1 -0
  46. package/dist/schemas/auth.d.ts +96 -96
  47. package/dist/schemas/connectors.d.ts +35 -25
  48. package/dist/schemas/connectors.d.ts.map +1 -1
  49. package/dist/schemas/event-payloads.d.ts +6 -6
  50. package/dist/schemas/events.d.ts +6 -6
  51. package/dist/schemas/links.d.ts +0 -41
  52. package/dist/schemas/links.d.ts.map +1 -1
  53. package/dist/schemas/logs.d.ts +22 -22
  54. package/dist/schemas/models.d.ts +50 -0
  55. package/dist/schemas/models.d.ts.map +1 -0
  56. package/dist/schemas/objects.d.ts +22 -0
  57. package/dist/schemas/objects.d.ts.map +1 -1
  58. package/dist/schemas/pipelines.d.ts +20 -20
  59. package/dist/schemas/projections.d.ts +947 -806
  60. package/dist/schemas/projections.d.ts.map +1 -1
  61. package/dist/schemas/status.d.ts +2 -2
  62. package/dist/schemas/syncs.d.ts +33 -33
  63. package/dist/schemas/webhook-runs.d.ts +12 -12
  64. package/dist/schemas/workflows.d.ts +833 -162
  65. package/dist/schemas/workflows.d.ts.map +1 -1
  66. package/dist/server.d.ts +5 -0
  67. package/dist/server.d.ts.map +1 -1
  68. package/package.json +5 -5
  69. package/src/auth/experience.ts +190 -0
  70. package/src/auth/public-routes.ts +7 -0
  71. package/src/index.ts +1 -0
  72. package/src/openapi/tags.ts +8 -0
  73. package/src/registerRoutes.ts +4 -0
  74. package/src/routes/agents.ts +22 -3
  75. package/src/routes/ai-accounting.ts +166 -0
  76. package/src/routes/auth.ts +188 -32
  77. package/src/routes/links.ts +2 -53
  78. package/src/routes/models.ts +31 -0
  79. package/src/routes/objects.ts +103 -0
  80. package/src/routes/projections.ts +18 -4
  81. package/src/routes/workflows.ts +16 -0
  82. package/src/schemas/agents.ts +19 -9
  83. package/src/schemas/ai-accounting.ts +182 -0
  84. package/src/schemas/connectors.ts +13 -3
  85. package/src/schemas/links.ts +0 -17
  86. package/src/schemas/models.ts +15 -0
  87. package/src/schemas/objects.ts +104 -0
  88. package/src/schemas/projections.ts +12 -3
  89. package/src/schemas/workflows.ts +8 -3
  90. package/src/server.ts +10 -0
@@ -0,0 +1,50 @@
1
+ import { z } from "zod";
2
+ export declare const LanguageModelSchema: z.ZodObject<{
3
+ /**
4
+ * The AI SDK binding and model id the project configured. Together they identify the entry;
5
+ * the runtime's internal reference is not part of this contract.
6
+ */
7
+ provider: z.ZodString;
8
+ modelId: z.ZodString;
9
+ isDefault: z.ZodBoolean;
10
+ }, "strip", z.ZodTypeAny, {
11
+ modelId: string;
12
+ provider: string;
13
+ isDefault: boolean;
14
+ }, {
15
+ modelId: string;
16
+ provider: string;
17
+ isDefault: boolean;
18
+ }>;
19
+ export declare const ModelCatalogSchema: z.ZodObject<{
20
+ language: z.ZodArray<z.ZodObject<{
21
+ /**
22
+ * The AI SDK binding and model id the project configured. Together they identify the entry;
23
+ * the runtime's internal reference is not part of this contract.
24
+ */
25
+ provider: z.ZodString;
26
+ modelId: z.ZodString;
27
+ isDefault: z.ZodBoolean;
28
+ }, "strip", z.ZodTypeAny, {
29
+ modelId: string;
30
+ provider: string;
31
+ isDefault: boolean;
32
+ }, {
33
+ modelId: string;
34
+ provider: string;
35
+ isDefault: boolean;
36
+ }>, "many">;
37
+ }, "strip", z.ZodTypeAny, {
38
+ language: {
39
+ modelId: string;
40
+ provider: string;
41
+ isDefault: boolean;
42
+ }[];
43
+ }, {
44
+ language: {
45
+ modelId: string;
46
+ provider: string;
47
+ isDefault: boolean;
48
+ }[];
49
+ }>;
50
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/schemas/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB;IAC9B;;;OAGG;;;;;;;;;;;;EAIH,CAAA;AAEF,eAAO,MAAM,kBAAkB;;QAT7B;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;EAQH,CAAA"}
@@ -216,6 +216,28 @@ export declare const ObjectQueryFacetsRequestSchema: z.ZodObject<{
216
216
  }[];
217
217
  query?: unknown;
218
218
  }>;
219
+ export declare const ObjectQueryLinksRequestSchema: z.ZodObject<{
220
+ query: z.ZodType<unknown, z.ZodTypeDef, unknown>;
221
+ direction: z.ZodDefault<z.ZodEnum<["outgoing", "incoming", "both"]>>;
222
+ linkId: z.ZodOptional<z.ZodString>;
223
+ includeObjects: z.ZodDefault<z.ZodBoolean>;
224
+ pageSize: z.ZodDefault<z.ZodNumber>;
225
+ pageToken: z.ZodOptional<z.ZodString>;
226
+ }, "strict", z.ZodTypeAny, {
227
+ direction: "outgoing" | "incoming" | "both";
228
+ pageSize: number;
229
+ includeObjects: boolean;
230
+ query?: unknown;
231
+ linkId?: string | undefined;
232
+ pageToken?: string | undefined;
233
+ }, {
234
+ query?: unknown;
235
+ linkId?: string | undefined;
236
+ direction?: "outgoing" | "incoming" | "both" | undefined;
237
+ pageSize?: number | undefined;
238
+ pageToken?: string | undefined;
239
+ includeObjects?: boolean | undefined;
240
+ }>;
219
241
  export declare const TwinObjectSchema: z.ZodObject<{
220
242
  primaryId: z.ZodString;
221
243
  objectTypeId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/schemas/objects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,KAAK,cAAc,GAAG,WAAW,CAC/B,WAAW,CAAC,mBAAmB,CAAC,eAAe,C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;;;;;;;;;;;;;;;;;EAM3B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AAUF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAuftB,cAAc,CAAA"}
@@ -60,9 +60,9 @@ export declare const PipelineRunSchema: z.ZodObject<{
60
60
  }>>;
61
61
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
62
62
  }, "strip", z.ZodTypeAny, {
63
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
63
64
  projectId: string;
64
65
  id: string;
65
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
66
66
  queuedAt: string;
67
67
  pipelineId: string;
68
68
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -73,9 +73,9 @@ export declare const PipelineRunSchema: z.ZodObject<{
73
73
  versionId: string;
74
74
  } | undefined;
75
75
  }, {
76
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
76
77
  projectId: string;
77
78
  id: string;
78
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
79
79
  queuedAt: string;
80
80
  pipelineId: string;
81
81
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -120,9 +120,9 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
120
120
  rowsWritten: z.ZodOptional<z.ZodNumber>;
121
121
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
+ status: "running" | "succeeded" | "failed" | "cancelled";
123
124
  projectId: string;
124
125
  id: string;
125
- status: "running" | "succeeded" | "failed" | "cancelled";
126
126
  mode: "append" | "snapshot";
127
127
  startedAt: string;
128
128
  datasetId: string;
@@ -141,9 +141,9 @@ export declare const PipelineStepRunSchema: z.ZodObject<{
141
141
  } | undefined;
142
142
  rowsWritten?: number | undefined;
143
143
  }, {
144
+ status: "running" | "succeeded" | "failed" | "cancelled";
144
145
  projectId: string;
145
146
  id: string;
146
- status: "running" | "succeeded" | "failed" | "cancelled";
147
147
  mode: "append" | "snapshot";
148
148
  startedAt: string;
149
149
  datasetId: string;
@@ -856,9 +856,9 @@ export declare const PipelineSchema: z.ZodObject<{
856
856
  }>>;
857
857
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
858
858
  }, "strip", z.ZodTypeAny, {
859
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
859
860
  projectId: string;
860
861
  id: string;
861
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
862
862
  queuedAt: string;
863
863
  pipelineId: string;
864
864
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -869,9 +869,9 @@ export declare const PipelineSchema: z.ZodObject<{
869
869
  versionId: string;
870
870
  } | undefined;
871
871
  }, {
872
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
872
873
  projectId: string;
873
874
  id: string;
874
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
875
875
  queuedAt: string;
876
876
  pipelineId: string;
877
877
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -934,9 +934,9 @@ export declare const PipelineSchema: z.ZodObject<{
934
934
  }[];
935
935
  };
936
936
  latestRun: {
937
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
937
938
  projectId: string;
938
939
  id: string;
939
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
940
940
  queuedAt: string;
941
941
  pipelineId: string;
942
942
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -999,9 +999,9 @@ export declare const PipelineSchema: z.ZodObject<{
999
999
  }[];
1000
1000
  };
1001
1001
  latestRun: {
1002
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1002
1003
  projectId: string;
1003
1004
  id: string;
1004
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1005
1005
  queuedAt: string;
1006
1006
  pipelineId: string;
1007
1007
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1034,9 +1034,9 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1034
1034
  }>>;
1035
1035
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
1036
1036
  }, "strip", z.ZodTypeAny, {
1037
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1037
1038
  projectId: string;
1038
1039
  id: string;
1039
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1040
1040
  queuedAt: string;
1041
1041
  pipelineId: string;
1042
1042
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1047,9 +1047,9 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1047
1047
  versionId: string;
1048
1048
  } | undefined;
1049
1049
  }, {
1050
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1050
1051
  projectId: string;
1051
1052
  id: string;
1052
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1053
1053
  queuedAt: string;
1054
1054
  pipelineId: string;
1055
1055
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1064,9 +1064,9 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1064
1064
  total: z.ZodNumber;
1065
1065
  }, "strip", z.ZodTypeAny, {
1066
1066
  runs: {
1067
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1067
1068
  projectId: string;
1068
1069
  id: string;
1069
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1070
1070
  queuedAt: string;
1071
1071
  pipelineId: string;
1072
1072
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1081,9 +1081,9 @@ export declare const PipelineRunListResponseSchema: z.ZodObject<{
1081
1081
  total: number;
1082
1082
  }, {
1083
1083
  runs: {
1084
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1084
1085
  projectId: string;
1085
1086
  id: string;
1086
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1087
1087
  queuedAt: string;
1088
1088
  pipelineId: string;
1089
1089
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1118,9 +1118,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1118
1118
  }>>;
1119
1119
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1121
1122
  projectId: string;
1122
1123
  id: string;
1123
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1124
1124
  queuedAt: string;
1125
1125
  pipelineId: string;
1126
1126
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1131,9 +1131,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1131
1131
  versionId: string;
1132
1132
  } | undefined;
1133
1133
  }, {
1134
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1134
1135
  projectId: string;
1135
1136
  id: string;
1136
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1137
1137
  queuedAt: string;
1138
1138
  pipelineId: string;
1139
1139
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1178,9 +1178,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1178
1178
  rowsWritten: z.ZodOptional<z.ZodNumber>;
1179
1179
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled">>>;
1180
1180
  }, "strip", z.ZodTypeAny, {
1181
+ status: "running" | "succeeded" | "failed" | "cancelled";
1181
1182
  projectId: string;
1182
1183
  id: string;
1183
- status: "running" | "succeeded" | "failed" | "cancelled";
1184
1184
  mode: "append" | "snapshot";
1185
1185
  startedAt: string;
1186
1186
  datasetId: string;
@@ -1199,9 +1199,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1199
1199
  } | undefined;
1200
1200
  rowsWritten?: number | undefined;
1201
1201
  }, {
1202
+ status: "running" | "succeeded" | "failed" | "cancelled";
1202
1203
  projectId: string;
1203
1204
  id: string;
1204
- status: "running" | "succeeded" | "failed" | "cancelled";
1205
1205
  mode: "append" | "snapshot";
1206
1206
  startedAt: string;
1207
1207
  datasetId: string;
@@ -1222,9 +1222,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1222
1222
  }>, "many">;
1223
1223
  }, "strip", z.ZodTypeAny, {
1224
1224
  run: {
1225
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1225
1226
  projectId: string;
1226
1227
  id: string;
1227
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1228
1228
  queuedAt: string;
1229
1229
  pipelineId: string;
1230
1230
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1236,9 +1236,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1236
1236
  } | undefined;
1237
1237
  };
1238
1238
  steps: {
1239
+ status: "running" | "succeeded" | "failed" | "cancelled";
1239
1240
  projectId: string;
1240
1241
  id: string;
1241
- status: "running" | "succeeded" | "failed" | "cancelled";
1242
1242
  mode: "append" | "snapshot";
1243
1243
  startedAt: string;
1244
1244
  datasetId: string;
@@ -1259,9 +1259,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1259
1259
  }[];
1260
1260
  }, {
1261
1261
  run: {
1262
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1262
1263
  projectId: string;
1263
1264
  id: string;
1264
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1265
1265
  queuedAt: string;
1266
1266
  pipelineId: string;
1267
1267
  error?: SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
@@ -1273,9 +1273,9 @@ export declare const PipelineRunDetailResponseSchema: z.ZodObject<{
1273
1273
  } | undefined;
1274
1274
  };
1275
1275
  steps: {
1276
+ status: "running" | "succeeded" | "failed" | "cancelled";
1276
1277
  projectId: string;
1277
1278
  id: string;
1278
- status: "running" | "succeeded" | "failed" | "cancelled";
1279
1279
  mode: "append" | "snapshot";
1280
1280
  startedAt: string;
1281
1281
  datasetId: string;