@sixb/server 0.0.1 → 0.1.1

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 (56) hide show
  1. package/dist/auth/scope.d.ts +18 -8
  2. package/dist/auth/scope.d.ts.map +1 -1
  3. package/dist/files/content.d.ts +11 -0
  4. package/dist/files/content.d.ts.map +1 -1
  5. package/dist/index.js +2115 -2081
  6. package/dist/index.js.map +15 -15
  7. package/dist/routes/action-runs.d.ts.map +1 -1
  8. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  9. package/dist/routes/agents.d.ts +21 -21
  10. package/dist/routes/auth.d.ts +6 -6
  11. package/dist/routes/datasets.d.ts +7 -5
  12. package/dist/routes/datasets.d.ts.map +1 -1
  13. package/dist/routes/events.d.ts +1 -1
  14. package/dist/routes/files.d.ts.map +1 -1
  15. package/dist/routes/links.d.ts +6 -0
  16. package/dist/routes/links.d.ts.map +1 -1
  17. package/dist/routes/logs.d.ts +2 -2
  18. package/dist/routes/objects.d.ts +3 -0
  19. package/dist/routes/objects.d.ts.map +1 -1
  20. package/dist/routes/ontology.d.ts +24 -24
  21. package/dist/routes/pipelines.d.ts +4 -0
  22. package/dist/routes/pipelines.d.ts.map +1 -1
  23. package/dist/routes/syncs.d.ts +7 -5
  24. package/dist/routes/syncs.d.ts.map +1 -1
  25. package/dist/routes/telemetry.d.ts +3 -0
  26. package/dist/routes/telemetry.d.ts.map +1 -1
  27. package/dist/routes/workflows.d.ts +61 -62
  28. package/dist/routes/workflows.d.ts.map +1 -1
  29. package/dist/routes/ws/logs.d.ts +10 -10
  30. package/dist/schemas/agents.d.ts +84 -84
  31. package/dist/schemas/auth.d.ts +26 -26
  32. package/dist/schemas/datasets.d.ts +27 -21
  33. package/dist/schemas/datasets.d.ts.map +1 -1
  34. package/dist/schemas/events.d.ts +12 -12
  35. package/dist/schemas/logs.d.ts +18 -18
  36. package/dist/schemas/ontology.d.ts +88 -88
  37. package/dist/schemas/pipelines.d.ts +36 -0
  38. package/dist/schemas/pipelines.d.ts.map +1 -1
  39. package/dist/schemas/syncs.d.ts +23 -16
  40. package/dist/schemas/syncs.d.ts.map +1 -1
  41. package/dist/schemas/workflows.d.ts +299 -246
  42. package/dist/schemas/workflows.d.ts.map +1 -1
  43. package/dist/utils/http.d.ts.map +1 -1
  44. package/package.json +8 -5
  45. package/src/auth/scope.ts +16 -2
  46. package/src/files/content.ts +11 -0
  47. package/src/routes/action-runs.ts +10 -3
  48. package/src/routes/agent-api-gateway.ts +46 -4
  49. package/src/routes/files.ts +2 -1
  50. package/src/routes/links.ts +1 -0
  51. package/src/routes/workflows.ts +39 -16
  52. package/src/schemas/datasets.ts +3 -2
  53. package/src/schemas/pipelines.ts +1 -25
  54. package/src/schemas/syncs.ts +3 -2
  55. package/src/schemas/workflows.ts +27 -20
  56. package/src/server.ts +1 -1
@@ -212,6 +212,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
212
212
  dataset: z.ZodObject<{
213
213
  id: z.ZodString;
214
214
  description: z.ZodOptional<z.ZodString>;
215
+ primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
215
216
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
217
  schema: z.ZodObject<{
217
218
  columns: z.ZodArray<z.ZodObject<{
@@ -250,6 +251,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
250
251
  }[];
251
252
  };
252
253
  description?: string | undefined;
254
+ primaryKey?: string | string[] | undefined;
253
255
  partitionBy?: string[] | undefined;
254
256
  }, {
255
257
  id: string;
@@ -261,6 +263,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
261
263
  }[];
262
264
  };
263
265
  description?: string | undefined;
266
+ primaryKey?: string | string[] | undefined;
264
267
  partitionBy?: string[] | undefined;
265
268
  }>;
266
269
  }, "strip", z.ZodTypeAny, {
@@ -275,6 +278,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
275
278
  }[];
276
279
  };
277
280
  description?: string | undefined;
281
+ primaryKey?: string | string[] | undefined;
278
282
  partitionBy?: string[] | undefined;
279
283
  };
280
284
  }, {
@@ -289,12 +293,14 @@ export declare const PipelineStepSchema: z.ZodObject<{
289
293
  }[];
290
294
  };
291
295
  description?: string | undefined;
296
+ primaryKey?: string | string[] | undefined;
292
297
  partitionBy?: string[] | undefined;
293
298
  };
294
299
  }>, "many">;
295
300
  output: z.ZodObject<{
296
301
  id: z.ZodString;
297
302
  description: z.ZodOptional<z.ZodString>;
303
+ primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
298
304
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
305
  schema: z.ZodObject<{
300
306
  columns: z.ZodArray<z.ZodObject<{
@@ -333,6 +339,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
333
339
  }[];
334
340
  };
335
341
  description?: string | undefined;
342
+ primaryKey?: string | string[] | undefined;
336
343
  partitionBy?: string[] | undefined;
337
344
  }, {
338
345
  id: string;
@@ -344,6 +351,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
344
351
  }[];
345
352
  };
346
353
  description?: string | undefined;
354
+ primaryKey?: string | string[] | undefined;
347
355
  partitionBy?: string[] | undefined;
348
356
  }>;
349
357
  }, "strip", z.ZodTypeAny, {
@@ -359,6 +367,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
359
367
  }[];
360
368
  };
361
369
  description?: string | undefined;
370
+ primaryKey?: string | string[] | undefined;
362
371
  partitionBy?: string[] | undefined;
363
372
  };
364
373
  inputs: {
@@ -373,6 +382,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
373
382
  }[];
374
383
  };
375
384
  description?: string | undefined;
385
+ primaryKey?: string | string[] | undefined;
376
386
  partitionBy?: string[] | undefined;
377
387
  };
378
388
  }[];
@@ -395,6 +405,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
395
405
  }[];
396
406
  };
397
407
  description?: string | undefined;
408
+ primaryKey?: string | string[] | undefined;
398
409
  partitionBy?: string[] | undefined;
399
410
  };
400
411
  inputs: {
@@ -409,6 +420,7 @@ export declare const PipelineStepSchema: z.ZodObject<{
409
420
  }[];
410
421
  };
411
422
  description?: string | undefined;
423
+ primaryKey?: string | string[] | undefined;
412
424
  partitionBy?: string[] | undefined;
413
425
  };
414
426
  }[];
@@ -459,6 +471,7 @@ export declare const PipelineSchema: z.ZodObject<{
459
471
  dataset: z.ZodObject<{
460
472
  id: z.ZodString;
461
473
  description: z.ZodOptional<z.ZodString>;
474
+ primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
462
475
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
463
476
  schema: z.ZodObject<{
464
477
  columns: z.ZodArray<z.ZodObject<{
@@ -497,6 +510,7 @@ export declare const PipelineSchema: z.ZodObject<{
497
510
  }[];
498
511
  };
499
512
  description?: string | undefined;
513
+ primaryKey?: string | string[] | undefined;
500
514
  partitionBy?: string[] | undefined;
501
515
  }, {
502
516
  id: string;
@@ -508,6 +522,7 @@ export declare const PipelineSchema: z.ZodObject<{
508
522
  }[];
509
523
  };
510
524
  description?: string | undefined;
525
+ primaryKey?: string | string[] | undefined;
511
526
  partitionBy?: string[] | undefined;
512
527
  }>;
513
528
  }, "strip", z.ZodTypeAny, {
@@ -522,6 +537,7 @@ export declare const PipelineSchema: z.ZodObject<{
522
537
  }[];
523
538
  };
524
539
  description?: string | undefined;
540
+ primaryKey?: string | string[] | undefined;
525
541
  partitionBy?: string[] | undefined;
526
542
  };
527
543
  }, {
@@ -536,12 +552,14 @@ export declare const PipelineSchema: z.ZodObject<{
536
552
  }[];
537
553
  };
538
554
  description?: string | undefined;
555
+ primaryKey?: string | string[] | undefined;
539
556
  partitionBy?: string[] | undefined;
540
557
  };
541
558
  }>, "many">;
542
559
  output: z.ZodObject<{
543
560
  id: z.ZodString;
544
561
  description: z.ZodOptional<z.ZodString>;
562
+ primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
545
563
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
546
564
  schema: z.ZodObject<{
547
565
  columns: z.ZodArray<z.ZodObject<{
@@ -580,6 +598,7 @@ export declare const PipelineSchema: z.ZodObject<{
580
598
  }[];
581
599
  };
582
600
  description?: string | undefined;
601
+ primaryKey?: string | string[] | undefined;
583
602
  partitionBy?: string[] | undefined;
584
603
  }, {
585
604
  id: string;
@@ -591,6 +610,7 @@ export declare const PipelineSchema: z.ZodObject<{
591
610
  }[];
592
611
  };
593
612
  description?: string | undefined;
613
+ primaryKey?: string | string[] | undefined;
594
614
  partitionBy?: string[] | undefined;
595
615
  }>;
596
616
  }, "strip", z.ZodTypeAny, {
@@ -606,6 +626,7 @@ export declare const PipelineSchema: z.ZodObject<{
606
626
  }[];
607
627
  };
608
628
  description?: string | undefined;
629
+ primaryKey?: string | string[] | undefined;
609
630
  partitionBy?: string[] | undefined;
610
631
  };
611
632
  inputs: {
@@ -620,6 +641,7 @@ export declare const PipelineSchema: z.ZodObject<{
620
641
  }[];
621
642
  };
622
643
  description?: string | undefined;
644
+ primaryKey?: string | string[] | undefined;
623
645
  partitionBy?: string[] | undefined;
624
646
  };
625
647
  }[];
@@ -642,6 +664,7 @@ export declare const PipelineSchema: z.ZodObject<{
642
664
  }[];
643
665
  };
644
666
  description?: string | undefined;
667
+ primaryKey?: string | string[] | undefined;
645
668
  partitionBy?: string[] | undefined;
646
669
  };
647
670
  inputs: {
@@ -656,6 +679,7 @@ export declare const PipelineSchema: z.ZodObject<{
656
679
  }[];
657
680
  };
658
681
  description?: string | undefined;
682
+ primaryKey?: string | string[] | undefined;
659
683
  partitionBy?: string[] | undefined;
660
684
  };
661
685
  }[];
@@ -681,6 +705,7 @@ export declare const PipelineSchema: z.ZodObject<{
681
705
  }[];
682
706
  };
683
707
  description?: string | undefined;
708
+ primaryKey?: string | string[] | undefined;
684
709
  partitionBy?: string[] | undefined;
685
710
  };
686
711
  inputs: {
@@ -695,6 +720,7 @@ export declare const PipelineSchema: z.ZodObject<{
695
720
  }[];
696
721
  };
697
722
  description?: string | undefined;
723
+ primaryKey?: string | string[] | undefined;
698
724
  partitionBy?: string[] | undefined;
699
725
  };
700
726
  }[];
@@ -720,6 +746,7 @@ export declare const PipelineSchema: z.ZodObject<{
720
746
  }[];
721
747
  };
722
748
  description?: string | undefined;
749
+ primaryKey?: string | string[] | undefined;
723
750
  partitionBy?: string[] | undefined;
724
751
  };
725
752
  inputs: {
@@ -734,6 +761,7 @@ export declare const PipelineSchema: z.ZodObject<{
734
761
  }[];
735
762
  };
736
763
  description?: string | undefined;
764
+ primaryKey?: string | string[] | undefined;
737
765
  partitionBy?: string[] | undefined;
738
766
  };
739
767
  }[];
@@ -762,6 +790,7 @@ export declare const PipelineSchema: z.ZodObject<{
762
790
  }[];
763
791
  };
764
792
  description?: string | undefined;
793
+ primaryKey?: string | string[] | undefined;
765
794
  partitionBy?: string[] | undefined;
766
795
  };
767
796
  inputs: {
@@ -776,6 +805,7 @@ export declare const PipelineSchema: z.ZodObject<{
776
805
  }[];
777
806
  };
778
807
  description?: string | undefined;
808
+ primaryKey?: string | string[] | undefined;
779
809
  partitionBy?: string[] | undefined;
780
810
  };
781
811
  }[];
@@ -804,6 +834,7 @@ export declare const PipelineSchema: z.ZodObject<{
804
834
  }[];
805
835
  };
806
836
  description?: string | undefined;
837
+ primaryKey?: string | string[] | undefined;
807
838
  partitionBy?: string[] | undefined;
808
839
  };
809
840
  inputs: {
@@ -818,6 +849,7 @@ export declare const PipelineSchema: z.ZodObject<{
818
849
  }[];
819
850
  };
820
851
  description?: string | undefined;
852
+ primaryKey?: string | string[] | undefined;
821
853
  partitionBy?: string[] | undefined;
822
854
  };
823
855
  }[];
@@ -911,6 +943,7 @@ export declare const PipelineSchema: z.ZodObject<{
911
943
  }[];
912
944
  };
913
945
  description?: string | undefined;
946
+ primaryKey?: string | string[] | undefined;
914
947
  partitionBy?: string[] | undefined;
915
948
  };
916
949
  inputs: {
@@ -925,6 +958,7 @@ export declare const PipelineSchema: z.ZodObject<{
925
958
  }[];
926
959
  };
927
960
  description?: string | undefined;
961
+ primaryKey?: string | string[] | undefined;
928
962
  partitionBy?: string[] | undefined;
929
963
  };
930
964
  }[];
@@ -976,6 +1010,7 @@ export declare const PipelineSchema: z.ZodObject<{
976
1010
  }[];
977
1011
  };
978
1012
  description?: string | undefined;
1013
+ primaryKey?: string | string[] | undefined;
979
1014
  partitionBy?: string[] | undefined;
980
1015
  };
981
1016
  inputs: {
@@ -990,6 +1025,7 @@ export declare const PipelineSchema: z.ZodObject<{
990
1025
  }[];
991
1026
  };
992
1027
  description?: string | undefined;
1028
+ primaryKey?: string | string[] | undefined;
993
1029
  partitionBy?: string[] | undefined;
994
1030
  };
995
1031
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/schemas/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAA;AAEF,eAAO,MAAM,uBAAuB,4DAA0D,CAAA;AAE9F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAA;AA+CF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc5B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBhC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAA"}
@@ -50,7 +50,7 @@ export declare const SyncRunSchema: z.ZodObject<{
50
50
  projectId: z.ZodString;
51
51
  syncId: z.ZodString;
52
52
  datasetId: z.ZodString;
53
- mode: z.ZodEnum<["snapshot", "append"]>;
53
+ mode: z.ZodEnum<["snapshot", "append", "merge"]>;
54
54
  status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
55
55
  startedAt: z.ZodString;
56
56
  finishedAt: z.ZodOptional<z.ZodString>;
@@ -81,7 +81,7 @@ export declare const SyncRunSchema: z.ZodObject<{
81
81
  status: "running" | "succeeded" | "failed" | "cancelled";
82
82
  projectId: string;
83
83
  id: string;
84
- mode: "append" | "snapshot";
84
+ mode: "append" | "snapshot" | "merge";
85
85
  startedAt: string;
86
86
  datasetId: string;
87
87
  syncId: string;
@@ -101,7 +101,7 @@ export declare const SyncRunSchema: z.ZodObject<{
101
101
  status: "running" | "succeeded" | "failed" | "cancelled";
102
102
  projectId: string;
103
103
  id: string;
104
- mode: "append" | "snapshot";
104
+ mode: "append" | "snapshot" | "merge";
105
105
  startedAt: string;
106
106
  datasetId: string;
107
107
  syncId: string;
@@ -120,7 +120,7 @@ export declare const SyncRunSchema: z.ZodObject<{
120
120
  }>;
121
121
  export declare const SyncSchema: z.ZodObject<{
122
122
  id: z.ZodString;
123
- mode: z.ZodEnum<["snapshot", "append"]>;
123
+ mode: z.ZodEnum<["snapshot", "append", "merge"]>;
124
124
  connector: z.ZodObject<{
125
125
  id: z.ZodString;
126
126
  type: z.ZodString;
@@ -136,6 +136,7 @@ export declare const SyncSchema: z.ZodObject<{
136
136
  dataset: z.ZodObject<{
137
137
  id: z.ZodString;
138
138
  description: z.ZodOptional<z.ZodString>;
139
+ primaryKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
139
140
  partitionBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
140
141
  schema: z.ZodObject<{
141
142
  columns: z.ZodArray<z.ZodObject<{
@@ -174,6 +175,7 @@ export declare const SyncSchema: z.ZodObject<{
174
175
  }[];
175
176
  };
176
177
  description?: string | undefined;
178
+ primaryKey?: string | string[] | undefined;
177
179
  partitionBy?: string[] | undefined;
178
180
  }, {
179
181
  id: string;
@@ -185,6 +187,7 @@ export declare const SyncSchema: z.ZodObject<{
185
187
  }[];
186
188
  };
187
189
  description?: string | undefined;
190
+ primaryKey?: string | string[] | undefined;
188
191
  partitionBy?: string[] | undefined;
189
192
  }>;
190
193
  }, "strip", z.ZodTypeAny, {
@@ -199,6 +202,7 @@ export declare const SyncSchema: z.ZodObject<{
199
202
  }[];
200
203
  };
201
204
  description?: string | undefined;
205
+ primaryKey?: string | string[] | undefined;
202
206
  partitionBy?: string[] | undefined;
203
207
  };
204
208
  }, {
@@ -213,6 +217,7 @@ export declare const SyncSchema: z.ZodObject<{
213
217
  }[];
214
218
  };
215
219
  description?: string | undefined;
220
+ primaryKey?: string | string[] | undefined;
216
221
  partitionBy?: string[] | undefined;
217
222
  };
218
223
  }>;
@@ -231,7 +236,7 @@ export declare const SyncSchema: z.ZodObject<{
231
236
  projectId: z.ZodString;
232
237
  syncId: z.ZodString;
233
238
  datasetId: z.ZodString;
234
- mode: z.ZodEnum<["snapshot", "append"]>;
239
+ mode: z.ZodEnum<["snapshot", "append", "merge"]>;
235
240
  status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
236
241
  startedAt: z.ZodString;
237
242
  finishedAt: z.ZodOptional<z.ZodString>;
@@ -262,7 +267,7 @@ export declare const SyncSchema: z.ZodObject<{
262
267
  status: "running" | "succeeded" | "failed" | "cancelled";
263
268
  projectId: string;
264
269
  id: string;
265
- mode: "append" | "snapshot";
270
+ mode: "append" | "snapshot" | "merge";
266
271
  startedAt: string;
267
272
  datasetId: string;
268
273
  syncId: string;
@@ -282,7 +287,7 @@ export declare const SyncSchema: z.ZodObject<{
282
287
  status: "running" | "succeeded" | "failed" | "cancelled";
283
288
  projectId: string;
284
289
  id: string;
285
- mode: "append" | "snapshot";
290
+ mode: "append" | "snapshot" | "merge";
286
291
  startedAt: string;
287
292
  datasetId: string;
288
293
  syncId: string;
@@ -301,7 +306,7 @@ export declare const SyncSchema: z.ZodObject<{
301
306
  }>>;
302
307
  }, "strip", z.ZodTypeAny, {
303
308
  id: string;
304
- mode: "append" | "snapshot";
309
+ mode: "append" | "snapshot" | "merge";
305
310
  triggers: {
306
311
  type: "schedule";
307
312
  scheduleId: string;
@@ -310,7 +315,7 @@ export declare const SyncSchema: z.ZodObject<{
310
315
  status: "running" | "succeeded" | "failed" | "cancelled";
311
316
  projectId: string;
312
317
  id: string;
313
- mode: "append" | "snapshot";
318
+ mode: "append" | "snapshot" | "merge";
314
319
  startedAt: string;
315
320
  datasetId: string;
316
321
  syncId: string;
@@ -339,6 +344,7 @@ export declare const SyncSchema: z.ZodObject<{
339
344
  }[];
340
345
  };
341
346
  description?: string | undefined;
347
+ primaryKey?: string | string[] | undefined;
342
348
  partitionBy?: string[] | undefined;
343
349
  };
344
350
  };
@@ -348,7 +354,7 @@ export declare const SyncSchema: z.ZodObject<{
348
354
  };
349
355
  }, {
350
356
  id: string;
351
- mode: "append" | "snapshot";
357
+ mode: "append" | "snapshot" | "merge";
352
358
  triggers: {
353
359
  type: "schedule";
354
360
  scheduleId: string;
@@ -357,7 +363,7 @@ export declare const SyncSchema: z.ZodObject<{
357
363
  status: "running" | "succeeded" | "failed" | "cancelled";
358
364
  projectId: string;
359
365
  id: string;
360
- mode: "append" | "snapshot";
366
+ mode: "append" | "snapshot" | "merge";
361
367
  startedAt: string;
362
368
  datasetId: string;
363
369
  syncId: string;
@@ -386,6 +392,7 @@ export declare const SyncSchema: z.ZodObject<{
386
392
  }[];
387
393
  };
388
394
  description?: string | undefined;
395
+ primaryKey?: string | string[] | undefined;
389
396
  partitionBy?: string[] | undefined;
390
397
  };
391
398
  };
@@ -400,7 +407,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
400
407
  projectId: z.ZodString;
401
408
  syncId: z.ZodString;
402
409
  datasetId: z.ZodString;
403
- mode: z.ZodEnum<["snapshot", "append"]>;
410
+ mode: z.ZodEnum<["snapshot", "append", "merge"]>;
404
411
  status: z.ZodEnum<["running", "succeeded", "failed", "cancelled"]>;
405
412
  startedAt: z.ZodString;
406
413
  finishedAt: z.ZodOptional<z.ZodString>;
@@ -431,7 +438,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
431
438
  status: "running" | "succeeded" | "failed" | "cancelled";
432
439
  projectId: string;
433
440
  id: string;
434
- mode: "append" | "snapshot";
441
+ mode: "append" | "snapshot" | "merge";
435
442
  startedAt: string;
436
443
  datasetId: string;
437
444
  syncId: string;
@@ -451,7 +458,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
451
458
  status: "running" | "succeeded" | "failed" | "cancelled";
452
459
  projectId: string;
453
460
  id: string;
454
- mode: "append" | "snapshot";
461
+ mode: "append" | "snapshot" | "merge";
455
462
  startedAt: string;
456
463
  datasetId: string;
457
464
  syncId: string;
@@ -475,7 +482,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
475
482
  status: "running" | "succeeded" | "failed" | "cancelled";
476
483
  projectId: string;
477
484
  id: string;
478
- mode: "append" | "snapshot";
485
+ mode: "append" | "snapshot" | "merge";
479
486
  startedAt: string;
480
487
  datasetId: string;
481
488
  syncId: string;
@@ -499,7 +506,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
499
506
  status: "running" | "succeeded" | "failed" | "cancelled";
500
507
  projectId: string;
501
508
  id: string;
502
- mode: "append" | "snapshot";
509
+ mode: "append" | "snapshot" | "merge";
503
510
  startedAt: string;
504
511
  datasetId: string;
505
512
  syncId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/schemas/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGv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