@sixb/server 0.2.5 → 0.2.7

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 (106) hide show
  1. package/dist/auth/run-token.d.ts.map +1 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +596 -92
  5. package/dist/index.js.map +36 -35
  6. package/dist/registerRoutes.d.ts +1 -0
  7. package/dist/registerRoutes.d.ts.map +1 -1
  8. package/dist/routes/actions.d.ts +2 -0
  9. package/dist/routes/actions.d.ts.map +1 -1
  10. package/dist/routes/agent-approvals.d.ts +23 -1
  11. package/dist/routes/agent-approvals.d.ts.map +1 -1
  12. package/dist/routes/agent-computers.d.ts +36 -0
  13. package/dist/routes/agent-computers.d.ts.map +1 -1
  14. package/dist/routes/agent-thread-reads.d.ts +82 -0
  15. package/dist/routes/agent-thread-reads.d.ts.map +1 -0
  16. package/dist/routes/agents.d.ts +795 -13
  17. package/dist/routes/agents.d.ts.map +1 -1
  18. package/dist/routes/ai-accounting.d.ts.map +1 -1
  19. package/dist/routes/connectors.d.ts +2 -0
  20. package/dist/routes/connectors.d.ts.map +1 -1
  21. package/dist/routes/datasets.d.ts +2 -0
  22. package/dist/routes/datasets.d.ts.map +1 -1
  23. package/dist/routes/model-generations.d.ts +6 -0
  24. package/dist/routes/model-generations.d.ts.map +1 -1
  25. package/dist/routes/observed-agent-threads.d.ts +24 -2
  26. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  27. package/dist/routes/ontology.d.ts +2 -0
  28. package/dist/routes/ontology.d.ts.map +1 -1
  29. package/dist/routes/pipelines.d.ts +2 -0
  30. package/dist/routes/pipelines.d.ts.map +1 -1
  31. package/dist/routes/projections.d.ts +6 -0
  32. package/dist/routes/projections.d.ts.map +1 -1
  33. package/dist/routes/rules.d.ts +2 -0
  34. package/dist/routes/rules.d.ts.map +1 -1
  35. package/dist/routes/status.d.ts +5 -2
  36. package/dist/routes/status.d.ts.map +1 -1
  37. package/dist/routes/syncs.d.ts +177 -12
  38. package/dist/routes/syncs.d.ts.map +1 -1
  39. package/dist/routes/workflows.d.ts +8 -6
  40. package/dist/routes/workflows.d.ts.map +1 -1
  41. package/dist/routes/ws/agents.d.ts.map +1 -1
  42. package/dist/schemas/actions.d.ts +6 -0
  43. package/dist/schemas/actions.d.ts.map +1 -1
  44. package/dist/schemas/activity.d.ts +4 -4
  45. package/dist/schemas/agents.d.ts +2657 -61
  46. package/dist/schemas/agents.d.ts.map +1 -1
  47. package/dist/schemas/ai-accounting.d.ts +3 -0
  48. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  49. package/dist/schemas/common.d.ts +5 -0
  50. package/dist/schemas/common.d.ts.map +1 -1
  51. package/dist/schemas/connectors.d.ts +3 -0
  52. package/dist/schemas/connectors.d.ts.map +1 -1
  53. package/dist/schemas/datasets.d.ts +3 -0
  54. package/dist/schemas/datasets.d.ts.map +1 -1
  55. package/dist/schemas/models.d.ts +46 -0
  56. package/dist/schemas/models.d.ts.map +1 -1
  57. package/dist/schemas/ontology.d.ts +3 -0
  58. package/dist/schemas/ontology.d.ts.map +1 -1
  59. package/dist/schemas/pipelines.d.ts +3 -0
  60. package/dist/schemas/pipelines.d.ts.map +1 -1
  61. package/dist/schemas/projections.d.ts +33 -0
  62. package/dist/schemas/projections.d.ts.map +1 -1
  63. package/dist/schemas/rules.d.ts +3 -0
  64. package/dist/schemas/rules.d.ts.map +1 -1
  65. package/dist/schemas/status.d.ts +2 -2
  66. package/dist/schemas/syncs.d.ts +727 -25
  67. package/dist/schemas/syncs.d.ts.map +1 -1
  68. package/dist/schemas/workflows.d.ts +25 -22
  69. package/dist/schemas/workflows.d.ts.map +1 -1
  70. package/dist/server.d.ts +16 -1
  71. package/dist/server.d.ts.map +1 -1
  72. package/package.json +5 -5
  73. package/src/auth/run-token.ts +59 -9
  74. package/src/index.ts +6 -1
  75. package/src/registerRoutes.ts +4 -1
  76. package/src/routes/actions.ts +7 -3
  77. package/src/routes/agent-computers.ts +7 -6
  78. package/src/routes/agent-thread-reads.ts +67 -0
  79. package/src/routes/agents.ts +129 -16
  80. package/src/routes/ai-accounting.ts +1 -0
  81. package/src/routes/connectors.ts +1 -0
  82. package/src/routes/datasets.ts +11 -3
  83. package/src/routes/model-generations.ts +1 -1
  84. package/src/routes/observed-agent-threads.ts +3 -4
  85. package/src/routes/ontology.ts +17 -3
  86. package/src/routes/pipelines.ts +13 -3
  87. package/src/routes/projections.ts +14 -9
  88. package/src/routes/rules.ts +9 -3
  89. package/src/routes/status.ts +18 -1
  90. package/src/routes/syncs.ts +139 -8
  91. package/src/routes/workflows.ts +13 -3
  92. package/src/routes/ws/agents.ts +43 -3
  93. package/src/schemas/actions.ts +7 -1
  94. package/src/schemas/agents.ts +80 -10
  95. package/src/schemas/ai-accounting.ts +12 -0
  96. package/src/schemas/common.ts +24 -9
  97. package/src/schemas/connectors.ts +2 -1
  98. package/src/schemas/datasets.ts +2 -1
  99. package/src/schemas/models.ts +10 -0
  100. package/src/schemas/ontology.ts +2 -0
  101. package/src/schemas/pipelines.ts +2 -1
  102. package/src/schemas/projections.ts +4 -1
  103. package/src/schemas/rules.ts +2 -0
  104. package/src/schemas/syncs.ts +65 -2
  105. package/src/schemas/workflows.ts +7 -1
  106. package/src/server.ts +205 -13
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AASnB,OAAO,EACL,KAAK,yBAAyB,EAG9B,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EAGjB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6oCvF"}
@@ -1 +1 @@
1
- {"version":3,"file":"ai-accounting.d.ts","sourceRoot":"","sources":["../../src/routes/ai-accounting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAahE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiUpC,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6WzE"}
1
+ {"version":3,"file":"ai-accounting.d.ts","sourceRoot":"","sources":["../../src/routes/ai-accounting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAahE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiUpC,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8WzE"}
@@ -39,6 +39,7 @@ export declare function registerConnectorRoutes(app: Elysia, host: SixbHostView)
39
39
  authentication: "oauth2";
40
40
  } | null;
41
41
  syncIds: string[];
42
+ folder?: string | undefined;
42
43
  }[];
43
44
  422: {
44
45
  type: "validation";
@@ -80,6 +81,7 @@ export declare function registerConnectorRoutes(app: Elysia, host: SixbHostView)
80
81
  authentication: "oauth2";
81
82
  } | null;
82
83
  syncIds: string[];
84
+ folder?: string | undefined;
83
85
  };
84
86
  404: {
85
87
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/routes/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CtE"}
1
+ {"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../src/routes/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoCpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CtE"}
@@ -47,6 +47,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
47
47
  targetPipelineIds: string[];
48
48
  projectionIds: string[];
49
49
  description?: string | undefined;
50
+ folder?: string | undefined;
50
51
  primaryKey?: string | string[] | undefined;
51
52
  sequenceBy?: string | undefined;
52
53
  partitionBy?: string[] | undefined;
@@ -102,6 +103,7 @@ export declare function registerDatasetRoutes(app: Elysia, host: SixbHostView):
102
103
  targetPipelineIds: string[];
103
104
  projectionIds: string[];
104
105
  description?: string | undefined;
106
+ folder?: string | undefined;
105
107
  primaryKey?: string | string[] | undefined;
106
108
  sequenceBy?: string | undefined;
107
109
  partitionBy?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqC,YAAY,EAAE,MAAM,YAAY,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiOpE"}
@@ -338,6 +338,12 @@ export declare function registerModelGenerationRoutes(app: Elysia, host: SixbHos
338
338
  amountNanos: string;
339
339
  } | undefined;
340
340
  };
341
+ words?: {
342
+ text: string;
343
+ startMs: number;
344
+ endMs: number;
345
+ speaker?: string | undefined;
346
+ }[] | undefined;
341
347
  };
342
348
  404: {
343
349
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"model-generations.d.ts","sourceRoot":"","sources":["../../src/routes/model-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,YAAY,CAAA;AAUlG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsJpC;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgI5E"}
1
+ {"version":3,"file":"model-generations.d.ts","sourceRoot":"","sources":["../../src/routes/model-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,YAAY,CAAA;AAUlG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsJpC;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgI5E"}
@@ -62,6 +62,13 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
62
62
  activeRunId: string | null;
63
63
  messageCount: number;
64
64
  updatedAt: string;
65
+ read?: {
66
+ threadId: string;
67
+ throughSeq: number;
68
+ headSeq: number;
69
+ unread: number;
70
+ readAt?: string | undefined;
71
+ } | undefined;
65
72
  title?: string | undefined;
66
73
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
67
74
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
@@ -95,6 +102,17 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
95
102
  }[] | undefined;
96
103
  movedAt?: string | undefined;
97
104
  lastMessageAt?: string | undefined;
105
+ lastRun?: {
106
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
107
+ id: string;
108
+ requestedBy?: {
109
+ id: string;
110
+ type: "user" | "serviceAccount";
111
+ } | undefined;
112
+ completedAt?: string | undefined;
113
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
114
+ errorCode?: "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | undefined;
115
+ } | undefined;
98
116
  };
99
117
  404: {
100
118
  error: string;
@@ -281,7 +299,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
281
299
  role: "user" | "system" | "assistant";
282
300
  seq: number;
283
301
  annotations: {
284
- code: "step_limit_reached" | "output_limit_reached";
302
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
285
303
  message: string;
286
304
  severity: "error" | "warning";
287
305
  scope: "run";
@@ -451,9 +469,13 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
451
469
  } | undefined;
452
470
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
453
471
  parentRunId?: string | undefined;
472
+ computer?: {
473
+ id: string;
474
+ folder: string;
475
+ } | undefined;
454
476
  runsOn?: "computer" | undefined;
455
477
  diagnostics?: {
456
- code: "step_limit_reached" | "output_limit_reached";
478
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
457
479
  message: string;
458
480
  severity: "error" | "warning";
459
481
  scope: "run";
@@ -1 +1 @@
1
- {"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgMhF"}
@@ -97,6 +97,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
97
97
  cardinality?: "many" | "one" | undefined;
98
98
  }[];
99
99
  description?: string | undefined;
100
+ folder?: string | undefined;
100
101
  extends?: string | undefined;
101
102
  implements?: string[] | undefined;
102
103
  search?: {
@@ -216,6 +217,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
216
217
  cardinality?: "many" | "one" | undefined;
217
218
  }[];
218
219
  description?: string | undefined;
220
+ folder?: string | undefined;
219
221
  extends?: string | undefined;
220
222
  implements?: string[] | undefined;
221
223
  search?: {
@@ -1 +1 @@
1
- {"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4GpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CrE"}
1
+ {"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8GpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDrE"}
@@ -92,6 +92,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
92
92
  };
93
93
  }[];
94
94
  };
95
+ folder?: string | undefined;
95
96
  }[];
96
97
  422: {
97
98
  type: "validation";
@@ -186,6 +187,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
186
187
  };
187
188
  }[];
188
189
  };
190
+ folder?: string | undefined;
189
191
  };
190
192
  404: {
191
193
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLrE"}
1
+ {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA6HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0LrE"}
@@ -139,6 +139,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
139
139
  sourceTimestamp: string;
140
140
  };
141
141
  users?: Record<string, "id" | "email"> | undefined;
142
+ folder?: string | undefined;
142
143
  missing?: "remove" | undefined;
143
144
  }[];
144
145
  linkProjections: {
@@ -245,6 +246,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
245
246
  sourceField: string;
246
247
  _tag: "LinkProjectionDefinition";
247
248
  targetField: string;
249
+ folder?: string | undefined;
248
250
  }[];
249
251
  telemetryProjections: {
250
252
  id: string;
@@ -352,6 +354,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
352
354
  _tag: "TelemetryProjectionDefinition";
353
355
  objectIdField: string;
354
356
  atField: string;
357
+ folder?: string | undefined;
355
358
  }[];
356
359
  };
357
360
  422: {
@@ -493,6 +496,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
493
496
  sourceTimestamp: string;
494
497
  };
495
498
  users?: Record<string, "id" | "email"> | undefined;
499
+ folder?: string | undefined;
496
500
  missing?: "remove" | undefined;
497
501
  } | {
498
502
  id: string;
@@ -598,6 +602,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
598
602
  sourceField: string;
599
603
  _tag: "LinkProjectionDefinition";
600
604
  targetField: string;
605
+ folder?: string | undefined;
601
606
  } | {
602
607
  id: string;
603
608
  properties: Record<string, {
@@ -704,6 +709,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
704
709
  _tag: "TelemetryProjectionDefinition";
705
710
  objectIdField: string;
706
711
  atField: string;
712
+ folder?: string | undefined;
707
713
  };
708
714
  404: {
709
715
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,YAAY,EAGb,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmHpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIvE"}
@@ -40,6 +40,7 @@ export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Ely
40
40
  sourceTypeId: string;
41
41
  linkId: string;
42
42
  })[];
43
+ folder?: string | undefined;
43
44
  }[];
44
45
  422: {
45
46
  type: "validation";
@@ -82,6 +83,7 @@ export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Ely
82
83
  sourceTypeId: string;
83
84
  linkId: string;
84
85
  })[];
86
+ folder?: string | undefined;
85
87
  };
86
88
  404: {
87
89
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/routes/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwBpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFjE"}
1
+ {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../src/routes/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,YAAY,CAAA;AAG9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4BpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFjE"}
@@ -1,6 +1,9 @@
1
1
  import type { SixbHostView } from "@sixb/core";
2
2
  import type { Elysia } from "elysia";
3
- export declare function registerStatusRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
3
+ export interface StatusRouteOptions {
4
+ readonly isStopping?: () => boolean;
5
+ }
6
+ export declare function registerStatusRoutes(app: Elysia, host: SixbHostView, options?: StatusRouteOptions): Elysia<"", {
4
7
  decorator: {};
5
8
  store: {};
6
9
  derive: {};
@@ -26,6 +29,7 @@ export declare function registerStatusRoutes(app: Elysia, host: SixbHostView): E
26
29
  response: {
27
30
  200: {
28
31
  status: "unknown" | "ok" | "degraded";
32
+ objectTypes: number;
29
33
  maintenance: {
30
34
  owner: "orchestrator" | "embedded" | null;
31
35
  beatAt: string | null;
@@ -42,7 +46,6 @@ export declare function registerStatusRoutes(app: Elysia, host: SixbHostView): E
42
46
  maxAttempts: number;
43
47
  };
44
48
  };
45
- objectTypes: number;
46
49
  };
47
50
  422: {
48
51
  type: "validation";
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAOpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDnE"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,OAAO,CAAA;CACpC;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE,kBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DjC"}
@@ -1,5 +1,18 @@
1
- import type { SixbHostView } from "@sixb/core";
1
+ import type { SixbHostView, SyncAccount } from "@sixb/core";
2
2
  import type { Elysia } from "elysia";
3
+ /**
4
+ * Where a sync's accounts stand, by the latest run of each. An account counts once: running,
5
+ * needing reconnecting, failing or synced. One whose latest run was cancelled, or that never ran,
6
+ * is in `total` alone.
7
+ */
8
+ export declare function summarizeSyncAccounts(syncId: string, accounts: readonly SyncAccount[]): {
9
+ lastSyncedAt?: string | undefined;
10
+ total: number;
11
+ running: number;
12
+ needsReconnecting: number;
13
+ failing: number;
14
+ synced: number;
15
+ };
3
16
  export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
4
17
  decorator: {};
5
18
  store: {};
@@ -44,13 +57,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
44
57
  attempt: number;
45
58
  datasetId: string;
46
59
  syncId: string;
47
- error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
60
+ error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
48
61
  startedAt?: string | undefined;
49
62
  finishedAt?: string | undefined;
50
63
  output?: {
51
64
  datasetId: string;
52
65
  versionId: string;
53
66
  } | undefined;
67
+ connectionId?: string | undefined;
54
68
  expectedLatestVersionId?: string | undefined;
55
69
  commitMessage?: string | undefined;
56
70
  rowsRead?: number | undefined;
@@ -72,6 +86,15 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
72
86
  partitionBy?: string[] | undefined;
73
87
  };
74
88
  };
89
+ folder?: string | undefined;
90
+ accounts?: {
91
+ total: number;
92
+ running: number;
93
+ failing: number;
94
+ needsReconnecting: number;
95
+ synced: number;
96
+ lastSyncedAt?: string | undefined;
97
+ } | undefined;
75
98
  }[];
76
99
  422: {
77
100
  type: "validation";
@@ -118,13 +141,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
118
141
  attempt: number;
119
142
  datasetId: string;
120
143
  syncId: string;
121
- error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
144
+ error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
122
145
  startedAt?: string | undefined;
123
146
  finishedAt?: string | undefined;
124
147
  output?: {
125
148
  datasetId: string;
126
149
  versionId: string;
127
150
  } | undefined;
151
+ connectionId?: string | undefined;
128
152
  expectedLatestVersionId?: string | undefined;
129
153
  commitMessage?: string | undefined;
130
154
  rowsRead?: number | undefined;
@@ -146,6 +170,15 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
146
170
  partitionBy?: string[] | undefined;
147
171
  };
148
172
  };
173
+ folder?: string | undefined;
174
+ accounts?: {
175
+ total: number;
176
+ running: number;
177
+ failing: number;
178
+ needsReconnecting: number;
179
+ synced: number;
180
+ lastSyncedAt?: string | undefined;
181
+ } | undefined;
149
182
  };
150
183
  404: {
151
184
  error: string;
@@ -164,6 +197,129 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
164
197
  };
165
198
  };
166
199
  };
200
+ } & {
201
+ api: {
202
+ connectors: {
203
+ ":connectorId": {
204
+ accounts: {
205
+ get: {
206
+ body: unknown;
207
+ params: {
208
+ connectorId: string;
209
+ };
210
+ query: unknown;
211
+ headers: unknown;
212
+ response: {
213
+ 200: {
214
+ accounts: {
215
+ connection: {
216
+ id: string;
217
+ owner: {
218
+ type: "project";
219
+ } | {
220
+ id: string;
221
+ type: "user";
222
+ };
223
+ slot: string;
224
+ account: {
225
+ id: string;
226
+ label: string;
227
+ };
228
+ };
229
+ latestRuns: {
230
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
231
+ projectId: string;
232
+ id: string;
233
+ mode: "append" | "merge" | "snapshot";
234
+ queuedAt: string;
235
+ attempt: number;
236
+ datasetId: string;
237
+ syncId: string;
238
+ error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
239
+ startedAt?: string | undefined;
240
+ finishedAt?: string | undefined;
241
+ output?: {
242
+ datasetId: string;
243
+ versionId: string;
244
+ } | undefined;
245
+ connectionId?: string | undefined;
246
+ expectedLatestVersionId?: string | undefined;
247
+ commitMessage?: string | undefined;
248
+ rowsRead?: number | undefined;
249
+ }[];
250
+ }[];
251
+ };
252
+ 422: {
253
+ type: "validation";
254
+ on: string;
255
+ summary?: string;
256
+ message?: string;
257
+ found?: unknown;
258
+ property?: string;
259
+ expected?: string;
260
+ };
261
+ };
262
+ };
263
+ };
264
+ };
265
+ };
266
+ };
267
+ } & {
268
+ api: {
269
+ connectors: {
270
+ ":connectorId": {
271
+ connections: {
272
+ ":connectionId": {
273
+ "sync-runs": {
274
+ get: {
275
+ body: unknown;
276
+ params: {
277
+ connectorId: string;
278
+ connectionId: string;
279
+ };
280
+ query: unknown;
281
+ headers: unknown;
282
+ response: {
283
+ 200: {
284
+ runs: {
285
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
286
+ projectId: string;
287
+ id: string;
288
+ mode: "append" | "merge" | "snapshot";
289
+ queuedAt: string;
290
+ attempt: number;
291
+ datasetId: string;
292
+ syncId: string;
293
+ error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
294
+ startedAt?: string | undefined;
295
+ finishedAt?: string | undefined;
296
+ output?: {
297
+ datasetId: string;
298
+ versionId: string;
299
+ } | undefined;
300
+ connectionId?: string | undefined;
301
+ expectedLatestVersionId?: string | undefined;
302
+ commitMessage?: string | undefined;
303
+ rowsRead?: number | undefined;
304
+ }[];
305
+ };
306
+ 422: {
307
+ type: "validation";
308
+ on: string;
309
+ summary?: string;
310
+ message?: string;
311
+ found?: unknown;
312
+ property?: string;
313
+ expected?: string;
314
+ };
315
+ };
316
+ };
317
+ };
318
+ };
319
+ };
320
+ };
321
+ };
322
+ };
167
323
  } & {
168
324
  api: {
169
325
  "sync-runs": {
@@ -178,6 +334,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
178
334
  offset?: string | undefined;
179
335
  order?: "asc" | "desc" | undefined;
180
336
  datasetId?: string | undefined;
337
+ connectionId?: string | undefined;
181
338
  syncId?: string | undefined;
182
339
  };
183
340
  headers: unknown;
@@ -192,13 +349,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
192
349
  attempt: number;
193
350
  datasetId: string;
194
351
  syncId: string;
195
- error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
352
+ error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
196
353
  startedAt?: string | undefined;
197
354
  finishedAt?: string | undefined;
198
355
  output?: {
199
356
  datasetId: string;
200
357
  versionId: string;
201
358
  } | undefined;
359
+ connectionId?: string | undefined;
202
360
  expectedLatestVersionId?: string | undefined;
203
361
  commitMessage?: string | undefined;
204
362
  rowsRead?: number | undefined;
@@ -232,6 +390,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
232
390
  runs: {
233
391
  post: {
234
392
  body: {
393
+ connectionId?: string | undefined;
235
394
  expectedLatestVersionId?: string | undefined;
236
395
  commitMessage?: string | undefined;
237
396
  };
@@ -246,10 +405,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
246
405
  code?: import("@sixb/core").SixbErrorCode;
247
406
  details?: import("@sixb/core").ReadonlyJsonValue;
248
407
  } | {
249
- runId: string;
250
- jobId: string;
251
- syncId: string;
252
- queuedAt: string;
408
+ runs: {
409
+ runId: string;
410
+ jobId: string;
411
+ syncId: string;
412
+ connectionId: string | undefined;
413
+ queuedAt: string;
414
+ }[];
253
415
  };
254
416
  404: {
255
417
  error: string;
@@ -261,10 +423,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
261
423
  error: string;
262
424
  };
263
425
  202: {
264
- runId: string;
265
- queuedAt: string;
266
- jobId: string;
267
- syncId: string;
426
+ runs: {
427
+ runId: string;
428
+ queuedAt: string;
429
+ jobId: string;
430
+ syncId: string;
431
+ connectionId?: string | undefined;
432
+ }[];
268
433
  };
269
434
  422: {
270
435
  type: "validation";
@@ -1 +1 @@
1
- {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAuFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIjE"}
1
+ {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAkB,MAAM,YAAY,CAAA;AAG3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyGpC;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,WAAW,EAAE;;;;;;;EAqBrF;AA0BD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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