@sixb/server 0.1.21 → 0.1.22

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 (165) hide show
  1. package/dist/artifacts/frame.d.ts +5 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -1
  3. package/dist/auth/browser-origin.d.ts +5 -1
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/experience.d.ts +1 -0
  6. package/dist/auth/experience.d.ts.map +1 -1
  7. package/dist/auth/public-routes.d.ts.map +1 -1
  8. package/dist/auth/responses.d.ts +1 -1
  9. package/dist/auth/responses.d.ts.map +1 -1
  10. package/dist/auth/scope.d.ts +19 -3
  11. package/dist/auth/scope.d.ts.map +1 -1
  12. package/dist/index.js +10093 -7553
  13. package/dist/index.js.map +51 -39
  14. package/dist/models/display.d.ts +27 -0
  15. package/dist/models/display.d.ts.map +1 -1
  16. package/dist/openapi/components.d.ts +14 -0
  17. package/dist/openapi/components.d.ts.map +1 -0
  18. package/dist/openapi/tags.d.ts +14 -2
  19. package/dist/openapi/tags.d.ts.map +1 -1
  20. package/dist/registerRoutes.d.ts.map +1 -1
  21. package/dist/routes/actions.d.ts +5 -5
  22. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  23. package/dist/routes/agent-approval-gate.d.ts +27 -0
  24. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  25. package/dist/routes/agent-approvals.d.ts +599 -0
  26. package/dist/routes/agent-approvals.d.ts.map +1 -0
  27. package/dist/routes/agent-children.d.ts +318 -0
  28. package/dist/routes/agent-children.d.ts.map +1 -0
  29. package/dist/routes/agent-memory.d.ts +267 -0
  30. package/dist/routes/agent-memory.d.ts.map +1 -0
  31. package/dist/routes/agents.d.ts +999 -80
  32. package/dist/routes/agents.d.ts.map +1 -1
  33. package/dist/routes/ai-accounting.d.ts.map +1 -1
  34. package/dist/routes/artifact-frames.d.ts +3 -3
  35. package/dist/routes/artifact-frames.d.ts.map +1 -1
  36. package/dist/routes/artifacts.d.ts +790 -134
  37. package/dist/routes/artifacts.d.ts.map +1 -1
  38. package/dist/routes/auth.d.ts +116 -10
  39. package/dist/routes/auth.d.ts.map +1 -1
  40. package/dist/routes/connector-connection-runs.d.ts +50 -50
  41. package/dist/routes/connectors.d.ts +2 -2
  42. package/dist/routes/datasets.d.ts +20 -20
  43. package/dist/routes/events.d.ts +4 -4
  44. package/dist/routes/files.d.ts +14 -14
  45. package/dist/routes/files.d.ts.map +1 -1
  46. package/dist/routes/links.d.ts +2 -2
  47. package/dist/routes/logs.d.ts +5 -5
  48. package/dist/routes/model-calls.d.ts +155 -0
  49. package/dist/routes/model-calls.d.ts.map +1 -0
  50. package/dist/routes/model-generations.d.ts +400 -0
  51. package/dist/routes/model-generations.d.ts.map +1 -0
  52. package/dist/routes/models.d.ts +434 -1
  53. package/dist/routes/models.d.ts.map +1 -1
  54. package/dist/routes/objects.d.ts +71 -40
  55. package/dist/routes/objects.d.ts.map +1 -1
  56. package/dist/routes/observed-agent-threads.d.ts +682 -0
  57. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  58. package/dist/routes/ontology.d.ts +66 -62
  59. package/dist/routes/ontology.d.ts.map +1 -1
  60. package/dist/routes/pipelines.d.ts +24 -24
  61. package/dist/routes/projections.d.ts +55 -55
  62. package/dist/routes/rules.d.ts +2 -2
  63. package/dist/routes/share-grants.d.ts +9 -9
  64. package/dist/routes/syncs.d.ts +46 -46
  65. package/dist/routes/users.d.ts +117 -0
  66. package/dist/routes/users.d.ts.map +1 -0
  67. package/dist/routes/webhook-runs.d.ts +1 -1
  68. package/dist/routes/workflows.d.ts +118 -52
  69. package/dist/routes/workflows.d.ts.map +1 -1
  70. package/dist/routes/ws/agents.d.ts +7 -2
  71. package/dist/routes/ws/agents.d.ts.map +1 -1
  72. package/dist/routes/ws/events.d.ts +6 -6
  73. package/dist/routes/ws/logs.d.ts +14 -14
  74. package/dist/schemas/actions.d.ts +15 -15
  75. package/dist/schemas/activity.d.ts +48 -28
  76. package/dist/schemas/activity.d.ts.map +1 -1
  77. package/dist/schemas/agent-approvals.d.ts +1091 -0
  78. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  79. package/dist/schemas/agent-memory.d.ts +250 -0
  80. package/dist/schemas/agent-memory.d.ts.map +1 -0
  81. package/dist/schemas/agents.d.ts +5442 -369
  82. package/dist/schemas/agents.d.ts.map +1 -1
  83. package/dist/schemas/ai-accounting.d.ts +1290 -411
  84. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  85. package/dist/schemas/ai-limits.d.ts +10 -10
  86. package/dist/schemas/ai-usage.d.ts +12 -0
  87. package/dist/schemas/ai-usage.d.ts.map +1 -1
  88. package/dist/schemas/artifacts.d.ts +650 -98
  89. package/dist/schemas/artifacts.d.ts.map +1 -1
  90. package/dist/schemas/auth.d.ts +119 -46
  91. package/dist/schemas/auth.d.ts.map +1 -1
  92. package/dist/schemas/connectors.d.ts +22 -22
  93. package/dist/schemas/datasets.d.ts +98 -98
  94. package/dist/schemas/event-payloads.d.ts +6 -6
  95. package/dist/schemas/events.d.ts +26 -26
  96. package/dist/schemas/events.d.ts.map +1 -1
  97. package/dist/schemas/files.d.ts +24 -24
  98. package/dist/schemas/links.d.ts +2 -2
  99. package/dist/schemas/logs.d.ts +32 -32
  100. package/dist/schemas/models.d.ts +8889 -10
  101. package/dist/schemas/models.d.ts.map +1 -1
  102. package/dist/schemas/objects.d.ts +48 -12
  103. package/dist/schemas/objects.d.ts.map +1 -1
  104. package/dist/schemas/ontology.d.ts +127 -104
  105. package/dist/schemas/ontology.d.ts.map +1 -1
  106. package/dist/schemas/pipelines.d.ts +132 -132
  107. package/dist/schemas/projections.d.ts +314 -314
  108. package/dist/schemas/rules.d.ts +4 -4
  109. package/dist/schemas/share-grants.d.ts +30 -30
  110. package/dist/schemas/syncs.d.ts +49 -49
  111. package/dist/schemas/users.d.ts +72 -0
  112. package/dist/schemas/users.d.ts.map +1 -0
  113. package/dist/schemas/webhook-runs.d.ts +6 -6
  114. package/dist/schemas/workflows.d.ts +701 -186
  115. package/dist/schemas/workflows.d.ts.map +1 -1
  116. package/dist/server.d.ts +1 -0
  117. package/dist/server.d.ts.map +1 -1
  118. package/dist/utils/http.d.ts.map +1 -1
  119. package/package.json +7 -7
  120. package/src/artifacts/frame.ts +6 -1
  121. package/src/auth/browser-origin.ts +8 -3
  122. package/src/auth/experience.ts +1 -1
  123. package/src/auth/guard.ts +2 -2
  124. package/src/auth/public-routes.ts +6 -0
  125. package/src/auth/responses.ts +7 -6
  126. package/src/auth/scope.ts +32 -3
  127. package/src/models/display.ts +61 -16
  128. package/src/openapi/components.ts +54 -0
  129. package/src/openapi/tags.ts +12 -0
  130. package/src/registerRoutes.ts +14 -0
  131. package/src/routes/agent-api-gateway.ts +115 -91
  132. package/src/routes/agent-approval-gate.ts +213 -0
  133. package/src/routes/agent-approvals.ts +299 -0
  134. package/src/routes/agent-children.ts +209 -0
  135. package/src/routes/agent-memory.ts +210 -0
  136. package/src/routes/agents.ts +363 -142
  137. package/src/routes/ai-accounting.ts +4 -0
  138. package/src/routes/artifact-frames.ts +14 -8
  139. package/src/routes/artifacts.ts +297 -22
  140. package/src/routes/auth.ts +306 -13
  141. package/src/routes/files.ts +6 -7
  142. package/src/routes/model-calls.ts +120 -0
  143. package/src/routes/model-generations.ts +245 -0
  144. package/src/routes/models.ts +116 -9
  145. package/src/routes/objects.ts +55 -61
  146. package/src/routes/observed-agent-threads.ts +253 -0
  147. package/src/routes/ontology.ts +1 -0
  148. package/src/routes/users.ts +73 -0
  149. package/src/routes/workflows.ts +6 -9
  150. package/src/routes/ws/agents.ts +10 -5
  151. package/src/schemas/activity.ts +2 -0
  152. package/src/schemas/agent-approvals.ts +129 -0
  153. package/src/schemas/agent-memory.ts +96 -0
  154. package/src/schemas/agents.ts +239 -0
  155. package/src/schemas/ai-accounting.ts +40 -4
  156. package/src/schemas/ai-usage.ts +10 -0
  157. package/src/schemas/artifacts.ts +91 -3
  158. package/src/schemas/auth.ts +25 -0
  159. package/src/schemas/models.ts +197 -1
  160. package/src/schemas/objects.ts +181 -0
  161. package/src/schemas/ontology.ts +1 -0
  162. package/src/schemas/users.ts +24 -0
  163. package/src/schemas/workflows.ts +2 -0
  164. package/src/server.ts +9 -10
  165. package/src/utils/http.ts +2 -0
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
236
+ device: {
237
+ get: {
238
+ body: unknown;
239
+ params: {};
240
+ query: unknown;
241
+ headers: unknown;
242
+ response: {
243
+ 200: Response;
244
+ };
245
+ };
246
+ };
247
+ };
248
+ };
233
249
  } & {
234
250
  api: {
235
251
  auth: {
@@ -315,8 +331,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
315
331
  200: {
316
332
  sessions: {
317
333
  id: string;
318
- expiresAt: string;
319
334
  createdAt: string;
335
+ expiresAt: string;
320
336
  current: boolean;
321
337
  lastSeenAt?: string | undefined;
322
338
  clientName?: string | undefined;
@@ -417,6 +433,95 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
417
433
  };
418
434
  };
419
435
  };
436
+ } & {
437
+ api: {
438
+ auth: {
439
+ profile: {
440
+ get: {
441
+ body: unknown;
442
+ params: {};
443
+ query: unknown;
444
+ headers: unknown;
445
+ response: {
446
+ 200: {
447
+ profile: {
448
+ status: "active" | "suspended";
449
+ id: string;
450
+ email: string;
451
+ displayName?: string | undefined;
452
+ avatarUrl?: string | undefined;
453
+ };
454
+ managedFields: ("displayName" | "avatarUrl")[];
455
+ };
456
+ 404: {
457
+ error: string;
458
+ };
459
+ 401: {
460
+ error: string;
461
+ };
462
+ 422: {
463
+ type: "validation";
464
+ on: string;
465
+ summary?: string;
466
+ message?: string;
467
+ found?: unknown;
468
+ property?: string;
469
+ expected?: string;
470
+ };
471
+ };
472
+ };
473
+ };
474
+ };
475
+ };
476
+ } & {
477
+ api: {
478
+ auth: {
479
+ profile: {
480
+ patch: {
481
+ body: {
482
+ displayName?: string | null | undefined;
483
+ avatarUrl?: string | null | undefined;
484
+ };
485
+ params: {};
486
+ query: unknown;
487
+ headers: unknown;
488
+ response: {
489
+ 200: {
490
+ profile: {
491
+ status: "active" | "suspended";
492
+ id: string;
493
+ email: string;
494
+ displayName?: string | undefined;
495
+ avatarUrl?: string | undefined;
496
+ };
497
+ managedFields: ("displayName" | "avatarUrl")[];
498
+ };
499
+ 404: {
500
+ error: string;
501
+ };
502
+ 401: {
503
+ error: string;
504
+ };
505
+ 403: {
506
+ error: string;
507
+ };
508
+ 400: {
509
+ error: string;
510
+ };
511
+ 422: {
512
+ type: "validation";
513
+ on: string;
514
+ summary?: string;
515
+ message?: string;
516
+ found?: unknown;
517
+ property?: string;
518
+ expected?: string;
519
+ };
520
+ };
521
+ };
522
+ };
523
+ };
524
+ };
420
525
  } & {
421
526
  api: {
422
527
  auth: {
@@ -474,8 +579,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
474
579
  id: string;
475
580
  type: "user" | "serviceAccount";
476
581
  };
477
- expiresAt: string;
478
582
  createdAt: string;
583
+ expiresAt: string;
479
584
  revokedAt?: string | undefined;
480
585
  groupIds?: string[] | undefined;
481
586
  subjectLabel?: string | undefined;
@@ -541,8 +646,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
541
646
  id: string;
542
647
  type: "user" | "serviceAccount";
543
648
  };
544
- expiresAt: string;
545
649
  createdAt: string;
650
+ expiresAt: string;
546
651
  revokedAt?: string | undefined;
547
652
  groupIds?: string[] | undefined;
548
653
  subjectLabel?: string | undefined;
@@ -590,8 +695,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
590
695
  id: string;
591
696
  type: "user" | "serviceAccount";
592
697
  };
593
- expiresAt: string;
594
698
  createdAt: string;
699
+ expiresAt: string;
595
700
  revokedAt?: string | undefined;
596
701
  groupIds?: string[] | undefined;
597
702
  subjectLabel?: string | undefined;
@@ -802,8 +907,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
802
907
  id: string;
803
908
  type: "user" | "serviceAccount";
804
909
  };
805
- expiresAt: string;
806
910
  createdAt: string;
911
+ expiresAt: string;
807
912
  revokedAt?: string | undefined;
808
913
  groupIds?: string[] | undefined;
809
914
  subjectLabel?: string | undefined;
@@ -884,8 +989,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
884
989
  id: string;
885
990
  type: "user" | "serviceAccount";
886
991
  };
887
- expiresAt: string;
888
992
  createdAt: string;
993
+ expiresAt: string;
889
994
  revokedAt?: string | undefined;
890
995
  groupIds?: string[] | undefined;
891
996
  subjectLabel?: string | undefined;
@@ -938,8 +1043,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
938
1043
  id: string;
939
1044
  type: "user" | "serviceAccount";
940
1045
  };
941
- expiresAt: string;
942
1046
  createdAt: string;
1047
+ expiresAt: string;
943
1048
  revokedAt?: string | undefined;
944
1049
  groupIds?: string[] | undefined;
945
1050
  subjectLabel?: string | undefined;
@@ -1018,8 +1123,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1018
1123
  status: "pending" | "accepted" | "revoked";
1019
1124
  id: string;
1020
1125
  email: string;
1021
- expiresAt: string;
1022
1126
  createdAt: string;
1127
+ expiresAt: string;
1023
1128
  updatedAt: string;
1024
1129
  groupIds: string[];
1025
1130
  revokedAt?: string | undefined;
@@ -1116,8 +1221,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1116
1221
  status: "pending" | "accepted" | "revoked";
1117
1222
  id: string;
1118
1223
  email: string;
1119
- expiresAt: string;
1120
1224
  createdAt: string;
1225
+ expiresAt: string;
1121
1226
  updatedAt: string;
1122
1227
  groupIds: string[];
1123
1228
  revokedAt?: string | undefined;
@@ -1172,8 +1277,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1172
1277
  status: "pending" | "accepted" | "revoked";
1173
1278
  id: string;
1174
1279
  email: string;
1175
- expiresAt: string;
1176
1280
  createdAt: string;
1281
+ expiresAt: string;
1177
1282
  updatedAt: string;
1178
1283
  groupIds: string[];
1179
1284
  revokedAt?: string | undefined;
@@ -1553,6 +1658,7 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1553
1658
  callback: {
1554
1659
  post: {
1555
1660
  body: {
1661
+ displayName?: string | undefined;
1556
1662
  token?: string | undefined;
1557
1663
  magicLinkId?: string | undefined;
1558
1664
  };
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAgC/D,OAAO,EAAE,KAAK,MAAM,EAAK,MAAM,QAAQ,CAAA;AAEvC,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAGhC,KAAK,0BAA0B,EAChC,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AA6E3B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAA;IAC/D,QAAQ,CAAC,wBAAwB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAC/D,QAAQ,CAAC,gCAAgC,EAAE,CACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,2BAA2B,KAC/B,6BAA6B,CAAA;IAClC,QAAQ,CAAC,cAAc,CAAC,EAAE,qBAAqB,CAAA;CAChD;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAknD7F"}
@@ -36,12 +36,12 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
36
36
  status: "waiting";
37
37
  id: string;
38
38
  kind: "connect" | "reauthorize";
39
- expiresAt: string;
40
39
  createdAt: string;
41
- updatedAt: string;
40
+ expiresAt: string;
42
41
  owner: {
43
42
  type: "project";
44
43
  };
44
+ updatedAt: string;
45
45
  connectorId: string;
46
46
  slot: string;
47
47
  waitingFor: "provider_authorization";
@@ -50,10 +50,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
50
50
  id: string;
51
51
  kind: "connect" | "reauthorize";
52
52
  createdAt: string;
53
- updatedAt: string;
54
53
  owner: {
55
54
  type: "project";
56
55
  };
56
+ updatedAt: string;
57
57
  connectorId: string;
58
58
  slot: string;
59
59
  } | {
@@ -61,10 +61,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
61
61
  id: string;
62
62
  kind: "connect" | "reauthorize";
63
63
  createdAt: string;
64
- updatedAt: string;
65
64
  owner: {
66
65
  type: "project";
67
66
  };
67
+ updatedAt: string;
68
68
  connectorId: string;
69
69
  slot: string;
70
70
  waitingFor: "account_selection";
@@ -80,6 +80,9 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
80
80
  kind: "connect" | "reauthorize";
81
81
  finishedAt: string;
82
82
  createdAt: string;
83
+ owner: {
84
+ type: "project";
85
+ };
83
86
  updatedAt: string;
84
87
  connections: {
85
88
  status: "connected" | "needs_reauthorization" | "disconnected";
@@ -96,9 +99,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
96
99
  avatarUrl?: string | undefined;
97
100
  };
98
101
  }[];
99
- owner: {
100
- type: "project";
101
- };
102
102
  connectorId: string;
103
103
  slot: string;
104
104
  } | {
@@ -108,22 +108,22 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
108
108
  kind: "connect" | "reauthorize";
109
109
  finishedAt: string;
110
110
  createdAt: string;
111
- updatedAt: string;
112
111
  owner: {
113
112
  type: "project";
114
113
  };
114
+ updatedAt: string;
115
115
  connectorId: string;
116
116
  slot: string;
117
117
  } | {
118
- status: "expired" | "cancelled";
118
+ status: "cancelled" | "expired";
119
119
  id: string;
120
120
  kind: "connect" | "reauthorize";
121
121
  finishedAt: string;
122
122
  createdAt: string;
123
- updatedAt: string;
124
123
  owner: {
125
124
  type: "project";
126
125
  };
126
+ updatedAt: string;
127
127
  connectorId: string;
128
128
  slot: string;
129
129
  })[];
@@ -274,12 +274,12 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
274
274
  status: "waiting";
275
275
  id: string;
276
276
  kind: "connect" | "reauthorize";
277
- expiresAt: string;
278
277
  createdAt: string;
279
- updatedAt: string;
278
+ expiresAt: string;
280
279
  owner: {
281
280
  type: "project";
282
281
  };
282
+ updatedAt: string;
283
283
  connectorId: string;
284
284
  slot: string;
285
285
  waitingFor: "provider_authorization";
@@ -288,10 +288,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
288
288
  id: string;
289
289
  kind: "connect" | "reauthorize";
290
290
  createdAt: string;
291
- updatedAt: string;
292
291
  owner: {
293
292
  type: "project";
294
293
  };
294
+ updatedAt: string;
295
295
  connectorId: string;
296
296
  slot: string;
297
297
  } | {
@@ -299,10 +299,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
299
299
  id: string;
300
300
  kind: "connect" | "reauthorize";
301
301
  createdAt: string;
302
- updatedAt: string;
303
302
  owner: {
304
303
  type: "project";
305
304
  };
305
+ updatedAt: string;
306
306
  connectorId: string;
307
307
  slot: string;
308
308
  waitingFor: "account_selection";
@@ -318,6 +318,9 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
318
318
  kind: "connect" | "reauthorize";
319
319
  finishedAt: string;
320
320
  createdAt: string;
321
+ owner: {
322
+ type: "project";
323
+ };
321
324
  updatedAt: string;
322
325
  connections: {
323
326
  status: "connected" | "needs_reauthorization" | "disconnected";
@@ -334,9 +337,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
334
337
  avatarUrl?: string | undefined;
335
338
  };
336
339
  }[];
337
- owner: {
338
- type: "project";
339
- };
340
340
  connectorId: string;
341
341
  slot: string;
342
342
  } | {
@@ -346,22 +346,22 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
346
346
  kind: "connect" | "reauthorize";
347
347
  finishedAt: string;
348
348
  createdAt: string;
349
- updatedAt: string;
350
349
  owner: {
351
350
  type: "project";
352
351
  };
352
+ updatedAt: string;
353
353
  connectorId: string;
354
354
  slot: string;
355
355
  } | {
356
- status: "expired" | "cancelled";
356
+ status: "cancelled" | "expired";
357
357
  id: string;
358
358
  kind: "connect" | "reauthorize";
359
359
  finishedAt: string;
360
360
  createdAt: string;
361
- updatedAt: string;
362
361
  owner: {
363
362
  type: "project";
364
363
  };
364
+ updatedAt: string;
365
365
  connectorId: string;
366
366
  slot: string;
367
367
  };
@@ -418,12 +418,12 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
418
418
  status: "waiting";
419
419
  id: string;
420
420
  kind: "connect" | "reauthorize";
421
- expiresAt: string;
422
421
  createdAt: string;
423
- updatedAt: string;
422
+ expiresAt: string;
424
423
  owner: {
425
424
  type: "project";
426
425
  };
426
+ updatedAt: string;
427
427
  connectorId: string;
428
428
  slot: string;
429
429
  waitingFor: "provider_authorization";
@@ -432,10 +432,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
432
432
  id: string;
433
433
  kind: "connect" | "reauthorize";
434
434
  createdAt: string;
435
- updatedAt: string;
436
435
  owner: {
437
436
  type: "project";
438
437
  };
438
+ updatedAt: string;
439
439
  connectorId: string;
440
440
  slot: string;
441
441
  } | {
@@ -443,10 +443,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
443
443
  id: string;
444
444
  kind: "connect" | "reauthorize";
445
445
  createdAt: string;
446
- updatedAt: string;
447
446
  owner: {
448
447
  type: "project";
449
448
  };
449
+ updatedAt: string;
450
450
  connectorId: string;
451
451
  slot: string;
452
452
  waitingFor: "account_selection";
@@ -462,6 +462,9 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
462
462
  kind: "connect" | "reauthorize";
463
463
  finishedAt: string;
464
464
  createdAt: string;
465
+ owner: {
466
+ type: "project";
467
+ };
465
468
  updatedAt: string;
466
469
  connections: {
467
470
  status: "connected" | "needs_reauthorization" | "disconnected";
@@ -478,9 +481,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
478
481
  avatarUrl?: string | undefined;
479
482
  };
480
483
  }[];
481
- owner: {
482
- type: "project";
483
- };
484
484
  connectorId: string;
485
485
  slot: string;
486
486
  } | {
@@ -490,22 +490,22 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
490
490
  kind: "connect" | "reauthorize";
491
491
  finishedAt: string;
492
492
  createdAt: string;
493
- updatedAt: string;
494
493
  owner: {
495
494
  type: "project";
496
495
  };
496
+ updatedAt: string;
497
497
  connectorId: string;
498
498
  slot: string;
499
499
  } | {
500
- status: "expired" | "cancelled";
500
+ status: "cancelled" | "expired";
501
501
  id: string;
502
502
  kind: "connect" | "reauthorize";
503
503
  finishedAt: string;
504
504
  createdAt: string;
505
- updatedAt: string;
506
505
  owner: {
507
506
  type: "project";
508
507
  };
508
+ updatedAt: string;
509
509
  connectorId: string;
510
510
  slot: string;
511
511
  } | {
@@ -534,12 +534,12 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
534
534
  status: "waiting";
535
535
  id: string;
536
536
  kind: "connect" | "reauthorize";
537
- expiresAt: string;
538
537
  createdAt: string;
539
- updatedAt: string;
538
+ expiresAt: string;
540
539
  owner: {
541
540
  type: "project";
542
541
  };
542
+ updatedAt: string;
543
543
  connectorId: string;
544
544
  slot: string;
545
545
  waitingFor: "provider_authorization";
@@ -548,10 +548,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
548
548
  id: string;
549
549
  kind: "connect" | "reauthorize";
550
550
  createdAt: string;
551
- updatedAt: string;
552
551
  owner: {
553
552
  type: "project";
554
553
  };
554
+ updatedAt: string;
555
555
  connectorId: string;
556
556
  slot: string;
557
557
  } | {
@@ -559,10 +559,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
559
559
  id: string;
560
560
  kind: "connect" | "reauthorize";
561
561
  createdAt: string;
562
- updatedAt: string;
563
562
  owner: {
564
563
  type: "project";
565
564
  };
565
+ updatedAt: string;
566
566
  connectorId: string;
567
567
  slot: string;
568
568
  waitingFor: "account_selection";
@@ -578,6 +578,9 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
578
578
  kind: "connect" | "reauthorize";
579
579
  finishedAt: string;
580
580
  createdAt: string;
581
+ owner: {
582
+ type: "project";
583
+ };
581
584
  updatedAt: string;
582
585
  connections: {
583
586
  status: "connected" | "needs_reauthorization" | "disconnected";
@@ -594,9 +597,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
594
597
  avatarUrl?: string | undefined;
595
598
  };
596
599
  }[];
597
- owner: {
598
- type: "project";
599
- };
600
600
  connectorId: string;
601
601
  slot: string;
602
602
  } | {
@@ -606,22 +606,22 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
606
606
  kind: "connect" | "reauthorize";
607
607
  finishedAt: string;
608
608
  createdAt: string;
609
- updatedAt: string;
610
609
  owner: {
611
610
  type: "project";
612
611
  };
612
+ updatedAt: string;
613
613
  connectorId: string;
614
614
  slot: string;
615
615
  } | {
616
- status: "expired" | "cancelled";
616
+ status: "cancelled" | "expired";
617
617
  id: string;
618
618
  kind: "connect" | "reauthorize";
619
619
  finishedAt: string;
620
620
  createdAt: string;
621
- updatedAt: string;
622
621
  owner: {
623
622
  type: "project";
624
623
  };
624
+ updatedAt: string;
625
625
  connectorId: string;
626
626
  slot: string;
627
627
  };
@@ -665,12 +665,12 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
665
665
  status: "waiting";
666
666
  id: string;
667
667
  kind: "connect" | "reauthorize";
668
- expiresAt: string;
669
668
  createdAt: string;
670
- updatedAt: string;
669
+ expiresAt: string;
671
670
  owner: {
672
671
  type: "project";
673
672
  };
673
+ updatedAt: string;
674
674
  connectorId: string;
675
675
  slot: string;
676
676
  waitingFor: "provider_authorization";
@@ -679,10 +679,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
679
679
  id: string;
680
680
  kind: "connect" | "reauthorize";
681
681
  createdAt: string;
682
- updatedAt: string;
683
682
  owner: {
684
683
  type: "project";
685
684
  };
685
+ updatedAt: string;
686
686
  connectorId: string;
687
687
  slot: string;
688
688
  } | {
@@ -690,10 +690,10 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
690
690
  id: string;
691
691
  kind: "connect" | "reauthorize";
692
692
  createdAt: string;
693
- updatedAt: string;
694
693
  owner: {
695
694
  type: "project";
696
695
  };
696
+ updatedAt: string;
697
697
  connectorId: string;
698
698
  slot: string;
699
699
  waitingFor: "account_selection";
@@ -709,6 +709,9 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
709
709
  kind: "connect" | "reauthorize";
710
710
  finishedAt: string;
711
711
  createdAt: string;
712
+ owner: {
713
+ type: "project";
714
+ };
712
715
  updatedAt: string;
713
716
  connections: {
714
717
  status: "connected" | "needs_reauthorization" | "disconnected";
@@ -725,9 +728,6 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
725
728
  avatarUrl?: string | undefined;
726
729
  };
727
730
  }[];
728
- owner: {
729
- type: "project";
730
- };
731
731
  connectorId: string;
732
732
  slot: string;
733
733
  } | {
@@ -737,22 +737,22 @@ export declare function registerConnectorConnectionRunRoutes(app: Elysia, host:
737
737
  kind: "connect" | "reauthorize";
738
738
  finishedAt: string;
739
739
  createdAt: string;
740
- updatedAt: string;
741
740
  owner: {
742
741
  type: "project";
743
742
  };
743
+ updatedAt: string;
744
744
  connectorId: string;
745
745
  slot: string;
746
746
  } | {
747
- status: "expired" | "cancelled";
747
+ status: "cancelled" | "expired";
748
748
  id: string;
749
749
  kind: "connect" | "reauthorize";
750
750
  finishedAt: string;
751
751
  createdAt: string;
752
- updatedAt: string;
753
752
  owner: {
754
753
  type: "project";
755
754
  };
755
+ updatedAt: string;
756
756
  connectorId: string;
757
757
  slot: string;
758
758
  };