@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../src/routes/artifacts.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4KpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmQrE"}
@@ -318,8 +318,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
318
318
  expiresAt: string;
319
319
  createdAt: string;
320
320
  current: boolean;
321
- clientName?: string | undefined;
322
321
  lastSeenAt?: string | undefined;
322
+ clientName?: string | undefined;
323
323
  userAgent?: string | undefined;
324
324
  ipAddress?: string | undefined;
325
325
  }[];
@@ -39,10 +39,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
39
39
  expiresAt: string;
40
40
  createdAt: string;
41
41
  updatedAt: string;
42
- connectorId: string;
43
42
  owner: {
44
43
  type: "project";
45
44
  };
45
+ connectorId: string;
46
46
  slot: string;
47
47
  waitingFor: "provider_authorization";
48
48
  } | {
@@ -51,10 +51,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
51
51
  kind: "connect" | "reauthorize";
52
52
  createdAt: string;
53
53
  updatedAt: string;
54
- connectorId: string;
55
54
  owner: {
56
55
  type: "project";
57
56
  };
57
+ connectorId: string;
58
58
  slot: string;
59
59
  } | {
60
60
  status: "waiting";
@@ -62,10 +62,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
62
62
  kind: "connect" | "reauthorize";
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
- connectorId: string;
66
65
  owner: {
67
66
  type: "project";
68
67
  };
68
+ connectorId: string;
69
69
  slot: string;
70
70
  waitingFor: "account_selection";
71
71
  accounts: {
@@ -81,18 +81,13 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
81
81
  finishedAt: string;
82
82
  createdAt: string;
83
83
  updatedAt: string;
84
- connectorId: string;
85
- owner: {
86
- type: "project";
87
- };
88
- slot: string;
89
84
  connections: {
90
85
  status: "connected" | "needs_reauthorization" | "disconnected";
91
86
  id: string;
92
- connectorId: string;
93
87
  owner: {
94
88
  type: "project";
95
89
  };
90
+ connectorId: string;
96
91
  slot: string;
97
92
  account: {
98
93
  id: string;
@@ -101,6 +96,11 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
101
96
  avatarUrl?: string | undefined;
102
97
  };
103
98
  }[];
99
+ owner: {
100
+ type: "project";
101
+ };
102
+ connectorId: string;
103
+ slot: string;
104
104
  } | {
105
105
  error: import("@sixb/core/storage").ConnectorConnectionRunFailure;
106
106
  status: "failed";
@@ -109,10 +109,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
109
109
  finishedAt: string;
110
110
  createdAt: string;
111
111
  updatedAt: string;
112
- connectorId: string;
113
112
  owner: {
114
113
  type: "project";
115
114
  };
115
+ connectorId: string;
116
116
  slot: string;
117
117
  } | {
118
118
  status: "expired" | "cancelled";
@@ -121,10 +121,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
121
121
  finishedAt: string;
122
122
  createdAt: string;
123
123
  updatedAt: string;
124
- connectorId: string;
125
124
  owner: {
126
125
  type: "project";
127
126
  };
127
+ connectorId: string;
128
128
  slot: string;
129
129
  })[];
130
130
  404: {
@@ -181,10 +181,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
181
181
  affectedConnections: {
182
182
  status: "connected" | "needs_reauthorization" | "disconnected";
183
183
  id: string;
184
- connectorId: string;
185
184
  owner: {
186
185
  type: "project";
187
186
  };
187
+ connectorId: string;
188
188
  slot: string;
189
189
  account: {
190
190
  id: string;
@@ -227,10 +227,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
227
227
  affectedConnections: {
228
228
  status: "connected" | "needs_reauthorization" | "disconnected";
229
229
  id: string;
230
- connectorId: string;
231
230
  owner: {
232
231
  type: "project";
233
232
  };
233
+ connectorId: string;
234
234
  slot: string;
235
235
  account: {
236
236
  id: string;
@@ -277,10 +277,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
277
277
  expiresAt: string;
278
278
  createdAt: string;
279
279
  updatedAt: string;
280
- connectorId: string;
281
280
  owner: {
282
281
  type: "project";
283
282
  };
283
+ connectorId: string;
284
284
  slot: string;
285
285
  waitingFor: "provider_authorization";
286
286
  } | {
@@ -289,10 +289,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
289
289
  kind: "connect" | "reauthorize";
290
290
  createdAt: string;
291
291
  updatedAt: string;
292
- connectorId: string;
293
292
  owner: {
294
293
  type: "project";
295
294
  };
295
+ connectorId: string;
296
296
  slot: string;
297
297
  } | {
298
298
  status: "waiting";
@@ -300,10 +300,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
300
300
  kind: "connect" | "reauthorize";
301
301
  createdAt: string;
302
302
  updatedAt: string;
303
- connectorId: string;
304
303
  owner: {
305
304
  type: "project";
306
305
  };
306
+ connectorId: string;
307
307
  slot: string;
308
308
  waitingFor: "account_selection";
309
309
  accounts: {
@@ -319,18 +319,13 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
319
319
  finishedAt: string;
320
320
  createdAt: string;
321
321
  updatedAt: string;
322
- connectorId: string;
323
- owner: {
324
- type: "project";
325
- };
326
- slot: string;
327
322
  connections: {
328
323
  status: "connected" | "needs_reauthorization" | "disconnected";
329
324
  id: string;
330
- connectorId: string;
331
325
  owner: {
332
326
  type: "project";
333
327
  };
328
+ connectorId: string;
334
329
  slot: string;
335
330
  account: {
336
331
  id: string;
@@ -339,6 +334,11 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
339
334
  avatarUrl?: string | undefined;
340
335
  };
341
336
  }[];
337
+ owner: {
338
+ type: "project";
339
+ };
340
+ connectorId: string;
341
+ slot: string;
342
342
  } | {
343
343
  error: import("@sixb/core/storage").ConnectorConnectionRunFailure;
344
344
  status: "failed";
@@ -347,10 +347,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
347
347
  finishedAt: string;
348
348
  createdAt: string;
349
349
  updatedAt: string;
350
- connectorId: string;
351
350
  owner: {
352
351
  type: "project";
353
352
  };
353
+ connectorId: string;
354
354
  slot: string;
355
355
  } | {
356
356
  status: "expired" | "cancelled";
@@ -359,10 +359,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
359
359
  finishedAt: string;
360
360
  createdAt: string;
361
361
  updatedAt: string;
362
- connectorId: string;
363
362
  owner: {
364
363
  type: "project";
365
364
  };
365
+ connectorId: string;
366
366
  slot: string;
367
367
  };
368
368
  404: {
@@ -421,10 +421,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
421
421
  expiresAt: string;
422
422
  createdAt: string;
423
423
  updatedAt: string;
424
- connectorId: string;
425
424
  owner: {
426
425
  type: "project";
427
426
  };
427
+ connectorId: string;
428
428
  slot: string;
429
429
  waitingFor: "provider_authorization";
430
430
  } | {
@@ -433,10 +433,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
433
433
  kind: "connect" | "reauthorize";
434
434
  createdAt: string;
435
435
  updatedAt: string;
436
- connectorId: string;
437
436
  owner: {
438
437
  type: "project";
439
438
  };
439
+ connectorId: string;
440
440
  slot: string;
441
441
  } | {
442
442
  status: "waiting";
@@ -444,10 +444,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
444
444
  kind: "connect" | "reauthorize";
445
445
  createdAt: string;
446
446
  updatedAt: string;
447
- connectorId: string;
448
447
  owner: {
449
448
  type: "project";
450
449
  };
450
+ connectorId: string;
451
451
  slot: string;
452
452
  waitingFor: "account_selection";
453
453
  accounts: {
@@ -463,18 +463,13 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
463
463
  finishedAt: string;
464
464
  createdAt: string;
465
465
  updatedAt: string;
466
- connectorId: string;
467
- owner: {
468
- type: "project";
469
- };
470
- slot: string;
471
466
  connections: {
472
467
  status: "connected" | "needs_reauthorization" | "disconnected";
473
468
  id: string;
474
- connectorId: string;
475
469
  owner: {
476
470
  type: "project";
477
471
  };
472
+ connectorId: string;
478
473
  slot: string;
479
474
  account: {
480
475
  id: string;
@@ -483,6 +478,11 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
483
478
  avatarUrl?: string | undefined;
484
479
  };
485
480
  }[];
481
+ owner: {
482
+ type: "project";
483
+ };
484
+ connectorId: string;
485
+ slot: string;
486
486
  } | {
487
487
  error: import("@sixb/core/storage").ConnectorConnectionRunFailure;
488
488
  status: "failed";
@@ -491,10 +491,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
491
491
  finishedAt: string;
492
492
  createdAt: string;
493
493
  updatedAt: string;
494
- connectorId: string;
495
494
  owner: {
496
495
  type: "project";
497
496
  };
497
+ connectorId: string;
498
498
  slot: string;
499
499
  } | {
500
500
  status: "expired" | "cancelled";
@@ -503,10 +503,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
503
503
  finishedAt: string;
504
504
  createdAt: string;
505
505
  updatedAt: string;
506
- connectorId: string;
507
506
  owner: {
508
507
  type: "project";
509
508
  };
509
+ connectorId: string;
510
510
  slot: string;
511
511
  } | {
512
512
  error: string;
@@ -537,10 +537,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
537
537
  expiresAt: string;
538
538
  createdAt: string;
539
539
  updatedAt: string;
540
- connectorId: string;
541
540
  owner: {
542
541
  type: "project";
543
542
  };
543
+ connectorId: string;
544
544
  slot: string;
545
545
  waitingFor: "provider_authorization";
546
546
  } | {
@@ -549,10 +549,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
549
549
  kind: "connect" | "reauthorize";
550
550
  createdAt: string;
551
551
  updatedAt: string;
552
- connectorId: string;
553
552
  owner: {
554
553
  type: "project";
555
554
  };
555
+ connectorId: string;
556
556
  slot: string;
557
557
  } | {
558
558
  status: "waiting";
@@ -560,10 +560,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
560
560
  kind: "connect" | "reauthorize";
561
561
  createdAt: string;
562
562
  updatedAt: string;
563
- connectorId: string;
564
563
  owner: {
565
564
  type: "project";
566
565
  };
566
+ connectorId: string;
567
567
  slot: string;
568
568
  waitingFor: "account_selection";
569
569
  accounts: {
@@ -579,18 +579,13 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
579
579
  finishedAt: string;
580
580
  createdAt: string;
581
581
  updatedAt: string;
582
- connectorId: string;
583
- owner: {
584
- type: "project";
585
- };
586
- slot: string;
587
582
  connections: {
588
583
  status: "connected" | "needs_reauthorization" | "disconnected";
589
584
  id: string;
590
- connectorId: string;
591
585
  owner: {
592
586
  type: "project";
593
587
  };
588
+ connectorId: string;
594
589
  slot: string;
595
590
  account: {
596
591
  id: string;
@@ -599,6 +594,11 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
599
594
  avatarUrl?: string | undefined;
600
595
  };
601
596
  }[];
597
+ owner: {
598
+ type: "project";
599
+ };
600
+ connectorId: string;
601
+ slot: string;
602
602
  } | {
603
603
  error: import("@sixb/core/storage").ConnectorConnectionRunFailure;
604
604
  status: "failed";
@@ -607,10 +607,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
607
607
  finishedAt: string;
608
608
  createdAt: string;
609
609
  updatedAt: string;
610
- connectorId: string;
611
610
  owner: {
612
611
  type: "project";
613
612
  };
613
+ connectorId: string;
614
614
  slot: string;
615
615
  } | {
616
616
  status: "expired" | "cancelled";
@@ -619,10 +619,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
619
619
  finishedAt: string;
620
620
  createdAt: string;
621
621
  updatedAt: string;
622
- connectorId: string;
623
622
  owner: {
624
623
  type: "project";
625
624
  };
625
+ connectorId: string;
626
626
  slot: string;
627
627
  };
628
628
  422: {
@@ -668,10 +668,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
668
668
  expiresAt: string;
669
669
  createdAt: string;
670
670
  updatedAt: string;
671
- connectorId: string;
672
671
  owner: {
673
672
  type: "project";
674
673
  };
674
+ connectorId: string;
675
675
  slot: string;
676
676
  waitingFor: "provider_authorization";
677
677
  } | {
@@ -680,10 +680,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
680
680
  kind: "connect" | "reauthorize";
681
681
  createdAt: string;
682
682
  updatedAt: string;
683
- connectorId: string;
684
683
  owner: {
685
684
  type: "project";
686
685
  };
686
+ connectorId: string;
687
687
  slot: string;
688
688
  } | {
689
689
  status: "waiting";
@@ -691,10 +691,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
691
691
  kind: "connect" | "reauthorize";
692
692
  createdAt: string;
693
693
  updatedAt: string;
694
- connectorId: string;
695
694
  owner: {
696
695
  type: "project";
697
696
  };
697
+ connectorId: string;
698
698
  slot: string;
699
699
  waitingFor: "account_selection";
700
700
  accounts: {
@@ -710,18 +710,13 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
710
710
  finishedAt: string;
711
711
  createdAt: string;
712
712
  updatedAt: string;
713
- connectorId: string;
714
- owner: {
715
- type: "project";
716
- };
717
- slot: string;
718
713
  connections: {
719
714
  status: "connected" | "needs_reauthorization" | "disconnected";
720
715
  id: string;
721
- connectorId: string;
722
716
  owner: {
723
717
  type: "project";
724
718
  };
719
+ connectorId: string;
725
720
  slot: string;
726
721
  account: {
727
722
  id: string;
@@ -730,6 +725,11 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
730
725
  avatarUrl?: string | undefined;
731
726
  };
732
727
  }[];
728
+ owner: {
729
+ type: "project";
730
+ };
731
+ connectorId: string;
732
+ slot: string;
733
733
  } | {
734
734
  error: import("@sixb/core/storage").ConnectorConnectionRunFailure;
735
735
  status: "failed";
@@ -738,10 +738,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
738
738
  finishedAt: string;
739
739
  createdAt: string;
740
740
  updatedAt: string;
741
- connectorId: string;
742
741
  owner: {
743
742
  type: "project";
744
743
  };
744
+ connectorId: string;
745
745
  slot: string;
746
746
  } | {
747
747
  status: "expired" | "cancelled";
@@ -750,10 +750,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
750
750
  finishedAt: string;
751
751
  createdAt: string;
752
752
  updatedAt: string;
753
- connectorId: string;
754
753
  owner: {
755
754
  type: "project";
756
755
  };
756
+ connectorId: string;
757
757
  slot: string;
758
758
  };
759
759
  404: {
@@ -818,10 +818,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
818
818
  affectedConnections: {
819
819
  status: "connected" | "needs_reauthorization" | "disconnected";
820
820
  id: string;
821
- connectorId: string;
822
821
  owner: {
823
822
  type: "project";
824
823
  };
824
+ connectorId: string;
825
825
  slot: string;
826
826
  account: {
827
827
  id: string;
@@ -864,10 +864,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
864
864
  affectedConnections: {
865
865
  status: "connected" | "needs_reauthorization" | "disconnected";
866
866
  id: string;
867
- connectorId: string;
868
867
  owner: {
869
868
  type: "project";
870
869
  };
870
+ connectorId: string;
871
871
  slot: string;
872
872
  account: {
873
873
  id: string;
@@ -31,10 +31,10 @@ export declare function registerConnectorConnectionRoutes(app: Elysia, host: Six
31
31
  200: {
32
32
  status: "connected" | "needs_reauthorization" | "disconnected";
33
33
  id: string;
34
- connectorId: string;
35
34
  owner: {
36
35
  type: "project";
37
36
  };
37
+ connectorId: string;
38
38
  slot: string;
39
39
  account: {
40
40
  id: string;
@@ -146,10 +146,10 @@ export declare function registerConnectorConnectionRoutes(app: Elysia, host: Six
146
146
  affectedConnections: {
147
147
  status: "connected" | "needs_reauthorization" | "disconnected";
148
148
  id: string;
149
- connectorId: string;
150
149
  owner: {
151
150
  type: "project";
152
151
  };
152
+ connectorId: string;
153
153
  slot: string;
154
154
  account: {
155
155
  id: string;
@@ -34,8 +34,6 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
34
34
  nullable?: boolean | undefined;
35
35
  }[];
36
36
  };
37
- syncIds: string[];
38
- materialized: boolean;
39
37
  latestVersion: {
40
38
  mode: "append" | "schema" | "merge" | "snapshot";
41
39
  createdAt: string;
@@ -43,6 +41,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
43
41
  versionId: string;
44
42
  rowCount?: number | undefined;
45
43
  } | null;
44
+ syncIds: string[];
45
+ materialized: boolean;
46
46
  sourcePipelineIds: string[];
47
47
  targetPipelineIds: string[];
48
48
  projectionIds: string[];
@@ -89,8 +89,6 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
89
89
  nullable?: boolean | undefined;
90
90
  }[];
91
91
  };
92
- syncIds: string[];
93
- materialized: boolean;
94
92
  latestVersion: {
95
93
  mode: "append" | "schema" | "merge" | "snapshot";
96
94
  createdAt: string;
@@ -98,6 +96,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
98
96
  versionId: string;
99
97
  rowCount?: number | undefined;
100
98
  } | null;
99
+ syncIds: string[];
100
+ materialized: boolean;
101
101
  sourcePipelineIds: string[];
102
102
  targetPipelineIds: string[];
103
103
  projectionIds: string[];
@@ -268,8 +268,8 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
268
268
  query: {
269
269
  limit?: string | undefined;
270
270
  offset?: string | undefined;
271
- versionId?: string | undefined;
272
271
  columns?: string[] | undefined;
272
+ versionId?: string | undefined;
273
273
  };
274
274
  headers: unknown;
275
275
  response: {
@@ -303,10 +303,10 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
303
303
  limit: number;
304
304
  offset: number;
305
305
  hasMore: boolean;
306
+ rows: Record<string, unknown>[];
307
+ columns: string[];
306
308
  datasetId: string;
307
309
  versionId: string;
308
- columns: string[];
309
- rows: Record<string, unknown>[];
310
310
  total?: number | undefined;
311
311
  redactions?: Record<string, {
312
312
  reason: "missing_clearance";
@@ -38,11 +38,11 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
38
38
  id: string;
39
39
  type: "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed";
40
40
  occurredAt: string;
41
+ cursor: string;
41
42
  payload: Record<string, unknown>;
42
43
  topic: "datasets" | "syncs" | "pipelines" | "workflows" | "rules" | "objects" | "links" | "telemetry" | "schedules";
43
44
  partitionKey: string;
44
45
  schemaVersion: 1;
45
- cursor: string;
46
46
  origin?: {
47
47
  kind: "projection";
48
48
  datasetId: string;