@sixb/server 0.1.18 → 0.1.20

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 (93) hide show
  1. package/README.md +15 -24
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/auth/browser-origin.d.ts +4 -26
  5. package/dist/auth/browser-origin.d.ts.map +1 -1
  6. package/dist/auth/experience.d.ts +0 -3
  7. package/dist/auth/experience.d.ts.map +1 -1
  8. package/dist/auth/guard.d.ts +1 -1
  9. package/dist/auth/guard.d.ts.map +1 -1
  10. package/dist/auth/public-routes.d.ts +0 -5
  11. package/dist/auth/public-routes.d.ts.map +1 -1
  12. package/dist/auth/responses.d.ts +0 -2
  13. package/dist/auth/responses.d.ts.map +1 -1
  14. package/dist/auth/session-cookies.d.ts.map +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +681 -935
  18. package/dist/index.js.map +24 -24
  19. package/dist/routes/action-runs.d.ts +11 -15
  20. package/dist/routes/action-runs.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +44 -13
  22. package/dist/routes/actions.d.ts.map +1 -1
  23. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  24. package/dist/routes/agents.d.ts +20 -22
  25. package/dist/routes/agents.d.ts.map +1 -1
  26. package/dist/routes/auth.d.ts +8 -17
  27. package/dist/routes/auth.d.ts.map +1 -1
  28. package/dist/routes/connector-connection-runs.d.ts +21 -21
  29. package/dist/routes/connector-connections.d.ts +8 -8
  30. package/dist/routes/connectors.d.ts +2 -2
  31. package/dist/routes/datasets.d.ts +5 -5
  32. package/dist/routes/events.d.ts +4 -4
  33. package/dist/routes/files.d.ts +15 -12
  34. package/dist/routes/files.d.ts.map +1 -1
  35. package/dist/routes/objects.d.ts +0 -2
  36. package/dist/routes/objects.d.ts.map +1 -1
  37. package/dist/routes/ontology.d.ts +6 -6
  38. package/dist/routes/pipelines.d.ts +16 -16
  39. package/dist/routes/projections.d.ts +49 -49
  40. package/dist/routes/syncs.d.ts +10 -10
  41. package/dist/routes/webhook-runs.d.ts +2 -2
  42. package/dist/routes/workflows.d.ts +48 -52
  43. package/dist/routes/workflows.d.ts.map +1 -1
  44. package/dist/routes/ws/events.d.ts +6 -9
  45. package/dist/routes/ws/events.d.ts.map +1 -1
  46. package/dist/schemas/actions.d.ts +100 -84
  47. package/dist/schemas/actions.d.ts.map +1 -1
  48. package/dist/schemas/agents.d.ts +20 -20
  49. package/dist/schemas/ai-limits.d.ts +10 -10
  50. package/dist/schemas/auth.d.ts +28 -63
  51. package/dist/schemas/auth.d.ts.map +1 -1
  52. package/dist/schemas/connectors.d.ts +8 -8
  53. package/dist/schemas/datasets.d.ts +40 -40
  54. package/dist/schemas/events.d.ts +24 -24
  55. package/dist/schemas/events.d.ts.map +1 -1
  56. package/dist/schemas/files.d.ts +4 -7
  57. package/dist/schemas/files.d.ts.map +1 -1
  58. package/dist/schemas/ontology.d.ts +40 -40
  59. package/dist/schemas/pipelines.d.ts +92 -92
  60. package/dist/schemas/projections.d.ts +290 -290
  61. package/dist/schemas/syncs.d.ts +34 -34
  62. package/dist/schemas/webhook-runs.d.ts +8 -8
  63. package/dist/schemas/workflows.d.ts +160 -160
  64. package/dist/server.d.ts +2 -2
  65. package/dist/server.d.ts.map +1 -1
  66. package/dist/utils/http.d.ts.map +1 -1
  67. package/dist/utils/request-body.d.ts +20 -6
  68. package/dist/utils/request-body.d.ts.map +1 -1
  69. package/package.json +7 -7
  70. package/src/actions/serialize.ts +55 -0
  71. package/src/auth/browser-origin.ts +30 -240
  72. package/src/auth/experience.ts +1 -4
  73. package/src/auth/guard.ts +4 -32
  74. package/src/auth/public-routes.ts +1 -10
  75. package/src/auth/responses.ts +0 -5
  76. package/src/auth/session-cookies.ts +1 -3
  77. package/src/auth/shared-access.ts +1 -1
  78. package/src/index.ts +1 -1
  79. package/src/routes/action-runs.ts +1 -54
  80. package/src/routes/actions.ts +26 -8
  81. package/src/routes/agent-api-gateway.ts +18 -42
  82. package/src/routes/auth.ts +32 -111
  83. package/src/routes/files.ts +15 -63
  84. package/src/routes/ws/events.ts +2 -12
  85. package/src/schemas/actions.ts +21 -18
  86. package/src/schemas/auth.ts +2 -15
  87. package/src/schemas/files.ts +0 -6
  88. package/src/server.ts +23 -18
  89. package/src/utils/http.ts +2 -0
  90. package/src/utils/request-body.ts +55 -6
  91. package/dist/auth/application-access.d.ts +0 -4
  92. package/dist/auth/application-access.d.ts.map +0 -1
  93. package/src/auth/application-access.ts +0 -15
@@ -37,12 +37,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
37
37
  objectTypeId: string;
38
38
  datasetId: string;
39
39
  latestRun: {
40
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
40
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
41
41
  projectId: string;
42
42
  id: string;
43
- queuedAt: string;
44
43
  executionId: string;
45
44
  attempt: number;
45
+ queuedAt: string;
46
46
  target: {
47
47
  objectTypeId: string;
48
48
  };
@@ -68,12 +68,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
68
68
  startedAt?: string | undefined;
69
69
  finishedAt?: string | undefined;
70
70
  } | {
71
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
71
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
72
72
  projectId: string;
73
73
  id: string;
74
- queuedAt: string;
75
74
  executionId: string;
76
75
  attempt: number;
76
+ queuedAt: string;
77
77
  target: {
78
78
  targetObjectTypeId: string;
79
79
  sourceObjectTypeId: string;
@@ -100,12 +100,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
100
100
  startedAt?: string | undefined;
101
101
  finishedAt?: string | undefined;
102
102
  } | {
103
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
103
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
104
104
  projectId: string;
105
105
  id: string;
106
- queuedAt: string;
107
106
  executionId: string;
108
107
  attempt: number;
108
+ queuedAt: string;
109
109
  target: {
110
110
  objectTypeId: string;
111
111
  };
@@ -146,12 +146,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
146
146
  linkId: string;
147
147
  sourceObjectTypeId: string;
148
148
  latestRun: {
149
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
149
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
150
150
  projectId: string;
151
151
  id: string;
152
- queuedAt: string;
153
152
  executionId: string;
154
153
  attempt: number;
154
+ queuedAt: string;
155
155
  target: {
156
156
  objectTypeId: string;
157
157
  };
@@ -177,12 +177,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
177
177
  startedAt?: string | undefined;
178
178
  finishedAt?: string | undefined;
179
179
  } | {
180
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
180
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
181
181
  projectId: string;
182
182
  id: string;
183
- queuedAt: string;
184
183
  executionId: string;
185
184
  attempt: number;
185
+ queuedAt: string;
186
186
  target: {
187
187
  targetObjectTypeId: string;
188
188
  sourceObjectTypeId: string;
@@ -209,12 +209,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
209
209
  startedAt?: string | undefined;
210
210
  finishedAt?: string | undefined;
211
211
  } | {
212
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
212
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
213
213
  projectId: string;
214
214
  id: string;
215
- queuedAt: string;
216
215
  executionId: string;
217
216
  attempt: number;
217
+ queuedAt: string;
218
218
  target: {
219
219
  objectTypeId: string;
220
220
  };
@@ -253,12 +253,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
253
253
  objectTypeId: string;
254
254
  datasetId: string;
255
255
  latestRun: {
256
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
256
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
257
257
  projectId: string;
258
258
  id: string;
259
- queuedAt: string;
260
259
  executionId: string;
261
260
  attempt: number;
261
+ queuedAt: string;
262
262
  target: {
263
263
  objectTypeId: string;
264
264
  };
@@ -284,12 +284,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
284
284
  startedAt?: string | undefined;
285
285
  finishedAt?: string | undefined;
286
286
  } | {
287
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
287
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
288
288
  projectId: string;
289
289
  id: string;
290
- queuedAt: string;
291
290
  executionId: string;
292
291
  attempt: number;
292
+ queuedAt: string;
293
293
  target: {
294
294
  targetObjectTypeId: string;
295
295
  sourceObjectTypeId: string;
@@ -316,12 +316,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
316
316
  startedAt?: string | undefined;
317
317
  finishedAt?: string | undefined;
318
318
  } | {
319
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
319
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
320
320
  projectId: string;
321
321
  id: string;
322
- queuedAt: string;
323
322
  executionId: string;
324
323
  attempt: number;
324
+ queuedAt: string;
325
325
  target: {
326
326
  objectTypeId: string;
327
327
  };
@@ -389,12 +389,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
389
389
  objectTypeId: string;
390
390
  datasetId: string;
391
391
  latestRun: {
392
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
392
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
393
393
  projectId: string;
394
394
  id: string;
395
- queuedAt: string;
396
395
  executionId: string;
397
396
  attempt: number;
397
+ queuedAt: string;
398
398
  target: {
399
399
  objectTypeId: string;
400
400
  };
@@ -420,12 +420,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
420
420
  startedAt?: string | undefined;
421
421
  finishedAt?: string | undefined;
422
422
  } | {
423
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
423
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
424
424
  projectId: string;
425
425
  id: string;
426
- queuedAt: string;
427
426
  executionId: string;
428
427
  attempt: number;
428
+ queuedAt: string;
429
429
  target: {
430
430
  targetObjectTypeId: string;
431
431
  sourceObjectTypeId: string;
@@ -452,12 +452,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
452
452
  startedAt?: string | undefined;
453
453
  finishedAt?: string | undefined;
454
454
  } | {
455
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
455
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
456
456
  projectId: string;
457
457
  id: string;
458
- queuedAt: string;
459
458
  executionId: string;
460
459
  attempt: number;
460
+ queuedAt: string;
461
461
  target: {
462
462
  objectTypeId: string;
463
463
  };
@@ -497,12 +497,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
497
497
  linkId: string;
498
498
  sourceObjectTypeId: string;
499
499
  latestRun: {
500
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
500
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
501
501
  projectId: string;
502
502
  id: string;
503
- queuedAt: string;
504
503
  executionId: string;
505
504
  attempt: number;
505
+ queuedAt: string;
506
506
  target: {
507
507
  objectTypeId: string;
508
508
  };
@@ -528,12 +528,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
528
528
  startedAt?: string | undefined;
529
529
  finishedAt?: string | undefined;
530
530
  } | {
531
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
531
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
532
532
  projectId: string;
533
533
  id: string;
534
- queuedAt: string;
535
534
  executionId: string;
536
535
  attempt: number;
536
+ queuedAt: string;
537
537
  target: {
538
538
  targetObjectTypeId: string;
539
539
  sourceObjectTypeId: string;
@@ -560,12 +560,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
560
560
  startedAt?: string | undefined;
561
561
  finishedAt?: string | undefined;
562
562
  } | {
563
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
563
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
564
564
  projectId: string;
565
565
  id: string;
566
- queuedAt: string;
567
566
  executionId: string;
568
567
  attempt: number;
568
+ queuedAt: string;
569
569
  target: {
570
570
  objectTypeId: string;
571
571
  };
@@ -603,12 +603,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
603
603
  objectTypeId: string;
604
604
  datasetId: string;
605
605
  latestRun: {
606
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
606
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
607
607
  projectId: string;
608
608
  id: string;
609
- queuedAt: string;
610
609
  executionId: string;
611
610
  attempt: number;
611
+ queuedAt: string;
612
612
  target: {
613
613
  objectTypeId: string;
614
614
  };
@@ -634,12 +634,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
634
634
  startedAt?: string | undefined;
635
635
  finishedAt?: string | undefined;
636
636
  } | {
637
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
637
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
638
638
  projectId: string;
639
639
  id: string;
640
- queuedAt: string;
641
640
  executionId: string;
642
641
  attempt: number;
642
+ queuedAt: string;
643
643
  target: {
644
644
  targetObjectTypeId: string;
645
645
  sourceObjectTypeId: string;
@@ -666,12 +666,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
666
666
  startedAt?: string | undefined;
667
667
  finishedAt?: string | undefined;
668
668
  } | {
669
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
669
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
670
670
  projectId: string;
671
671
  id: string;
672
- queuedAt: string;
673
672
  executionId: string;
674
673
  attempt: number;
674
+ queuedAt: string;
675
675
  target: {
676
676
  objectTypeId: string;
677
677
  };
@@ -725,7 +725,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
725
725
  body: unknown;
726
726
  params: {};
727
727
  query: {
728
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded" | undefined;
728
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded" | undefined;
729
729
  startedAfter?: string | undefined;
730
730
  startedBefore?: string | undefined;
731
731
  limit?: string | undefined;
@@ -740,12 +740,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
740
740
  response: {
741
741
  200: {
742
742
  runs: ({
743
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
743
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
744
744
  projectId: string;
745
745
  id: string;
746
- queuedAt: string;
747
746
  executionId: string;
748
747
  attempt: number;
748
+ queuedAt: string;
749
749
  target: {
750
750
  objectTypeId: string;
751
751
  };
@@ -771,12 +771,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
771
771
  startedAt?: string | undefined;
772
772
  finishedAt?: string | undefined;
773
773
  } | {
774
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
774
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
775
775
  projectId: string;
776
776
  id: string;
777
- queuedAt: string;
778
777
  executionId: string;
779
778
  attempt: number;
779
+ queuedAt: string;
780
780
  target: {
781
781
  targetObjectTypeId: string;
782
782
  sourceObjectTypeId: string;
@@ -803,12 +803,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
803
803
  startedAt?: string | undefined;
804
804
  finishedAt?: string | undefined;
805
805
  } | {
806
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
806
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
807
807
  projectId: string;
808
808
  id: string;
809
- queuedAt: string;
810
809
  executionId: string;
811
810
  attempt: number;
811
+ queuedAt: string;
812
812
  target: {
813
813
  objectTypeId: string;
814
814
  };
@@ -869,12 +869,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
869
869
  headers: unknown;
870
870
  response: {
871
871
  200: {
872
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
872
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
873
873
  projectId: string;
874
874
  id: string;
875
- queuedAt: string;
876
875
  executionId: string;
877
876
  attempt: number;
877
+ queuedAt: string;
878
878
  target: {
879
879
  objectTypeId: string;
880
880
  };
@@ -900,12 +900,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
900
900
  startedAt?: string | undefined;
901
901
  finishedAt?: string | undefined;
902
902
  } | {
903
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
903
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
904
904
  projectId: string;
905
905
  id: string;
906
- queuedAt: string;
907
906
  executionId: string;
908
907
  attempt: number;
908
+ queuedAt: string;
909
909
  target: {
910
910
  targetObjectTypeId: string;
911
911
  sourceObjectTypeId: string;
@@ -932,12 +932,12 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
932
932
  startedAt?: string | undefined;
933
933
  finishedAt?: string | undefined;
934
934
  } | {
935
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "superseded";
935
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled" | "superseded";
936
936
  projectId: string;
937
937
  id: string;
938
- queuedAt: string;
939
938
  executionId: string;
940
939
  attempt: number;
940
+ queuedAt: string;
941
941
  target: {
942
942
  objectTypeId: string;
943
943
  };
@@ -34,7 +34,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
34
34
  schema: {
35
35
  columns: {
36
36
  name: string;
37
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
37
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
38
38
  nullable?: boolean | undefined;
39
39
  }[];
40
40
  };
@@ -49,13 +49,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
49
49
  scheduleId: string;
50
50
  }[];
51
51
  latestRun: {
52
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
52
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
53
53
  projectId: string;
54
54
  id: string;
55
55
  mode: "append" | "merge" | "snapshot";
56
- queuedAt: string;
57
56
  datasetId: string;
58
57
  syncId: string;
58
+ queuedAt: string;
59
59
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
60
60
  startedAt?: string | undefined;
61
61
  finishedAt?: string | undefined;
@@ -107,7 +107,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
107
107
  schema: {
108
108
  columns: {
109
109
  name: string;
110
- type: "string" | "boolean" | "json" | "date" | "int64" | "decimal" | "timestamp" | "fileRef" | "float64";
110
+ type: "string" | "boolean" | "date" | "int64" | "json" | "decimal" | "timestamp" | "fileRef" | "float64";
111
111
  nullable?: boolean | undefined;
112
112
  }[];
113
113
  };
@@ -122,13 +122,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
122
122
  scheduleId: string;
123
123
  }[];
124
124
  latestRun: {
125
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
125
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
126
126
  projectId: string;
127
127
  id: string;
128
128
  mode: "append" | "merge" | "snapshot";
129
- queuedAt: string;
130
129
  datasetId: string;
131
130
  syncId: string;
131
+ queuedAt: string;
132
132
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
133
133
  startedAt?: string | undefined;
134
134
  finishedAt?: string | undefined;
@@ -169,7 +169,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
169
169
  body: unknown;
170
170
  params: {};
171
171
  query: {
172
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
172
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
173
173
  startedAfter?: string | undefined;
174
174
  startedBefore?: string | undefined;
175
175
  limit?: string | undefined;
@@ -182,13 +182,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
182
182
  response: {
183
183
  200: {
184
184
  runs: {
185
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
185
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
186
186
  projectId: string;
187
187
  id: string;
188
188
  mode: "append" | "merge" | "snapshot";
189
- queuedAt: string;
190
189
  datasetId: string;
191
190
  syncId: string;
191
+ queuedAt: string;
192
192
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
193
193
  startedAt?: string | undefined;
194
194
  finishedAt?: string | undefined;
@@ -259,9 +259,9 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
259
259
  };
260
260
  202: {
261
261
  runId: string;
262
- queuedAt: string;
263
262
  jobId: string;
264
263
  syncId: string;
264
+ queuedAt: string;
265
265
  };
266
266
  422: {
267
267
  type: "validation";
@@ -22,7 +22,7 @@ export declare function registerWebhookRunRoutes(app: Elysia, host: SixbHostView
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- status?: "running" | "succeeded" | "failed" | undefined;
25
+ status?: "succeeded" | "failed" | "running" | undefined;
26
26
  startedAfter?: string | undefined;
27
27
  startedBefore?: string | undefined;
28
28
  limit?: string | undefined;
@@ -36,7 +36,7 @@ export declare function registerWebhookRunRoutes(app: Elysia, host: SixbHostView
36
36
  response: {
37
37
  200: {
38
38
  runs: {
39
- status: "running" | "succeeded" | "failed";
39
+ status: "succeeded" | "failed" | "running";
40
40
  projectId: string;
41
41
  id: string;
42
42
  startedAt: string;