@sixb/server 0.1.5 → 0.1.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 (74) hide show
  1. package/dist/auth/public-routes.d.ts.map +1 -1
  2. package/dist/auth/scope.d.ts +6 -2
  3. package/dist/auth/scope.d.ts.map +1 -1
  4. package/dist/files/content.d.ts +8 -0
  5. package/dist/files/content.d.ts.map +1 -1
  6. package/dist/index.js +2507 -1573
  7. package/dist/index.js.map +22 -20
  8. package/dist/models/display.d.ts +22 -0
  9. package/dist/models/display.d.ts.map +1 -0
  10. package/dist/routes/action-runs.d.ts +2 -0
  11. package/dist/routes/action-runs.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +1 -0
  13. package/dist/routes/actions.d.ts.map +1 -1
  14. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  15. package/dist/routes/agents.d.ts +99 -89
  16. package/dist/routes/agents.d.ts.map +1 -1
  17. package/dist/routes/ai-accounting.d.ts.map +1 -1
  18. package/dist/routes/auth.d.ts +139 -15
  19. package/dist/routes/auth.d.ts.map +1 -1
  20. package/dist/routes/events.d.ts +3 -3
  21. package/dist/routes/files.d.ts +1 -0
  22. package/dist/routes/files.d.ts.map +1 -1
  23. package/dist/routes/models.d.ts +18 -1
  24. package/dist/routes/models.d.ts.map +1 -1
  25. package/dist/routes/objects.d.ts +3 -1
  26. package/dist/routes/objects.d.ts.map +1 -1
  27. package/dist/routes/pipelines.d.ts +2 -1
  28. package/dist/routes/pipelines.d.ts.map +1 -1
  29. package/dist/routes/rules.d.ts +1 -1
  30. package/dist/routes/syncs.d.ts +1 -0
  31. package/dist/routes/syncs.d.ts.map +1 -1
  32. package/dist/routes/workflows.d.ts +57 -54
  33. package/dist/routes/workflows.d.ts.map +1 -1
  34. package/dist/routes/ws/logs.d.ts +4 -4
  35. package/dist/schemas/agents.d.ts +378 -215
  36. package/dist/schemas/agents.d.ts.map +1 -1
  37. package/dist/schemas/ai-accounting.d.ts +1847 -295
  38. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  39. package/dist/schemas/ai-limits.d.ts +2210 -0
  40. package/dist/schemas/ai-limits.d.ts.map +1 -0
  41. package/dist/schemas/auth.d.ts +202 -72
  42. package/dist/schemas/auth.d.ts.map +1 -1
  43. package/dist/schemas/events.d.ts +6 -6
  44. package/dist/schemas/files.d.ts +3 -0
  45. package/dist/schemas/files.d.ts.map +1 -1
  46. package/dist/schemas/models.d.ts +214 -14
  47. package/dist/schemas/models.d.ts.map +1 -1
  48. package/dist/schemas/objects.d.ts +4 -4
  49. package/dist/schemas/pipelines.d.ts +6 -6
  50. package/dist/schemas/rules.d.ts +6 -6
  51. package/dist/schemas/workflows.d.ts +196 -206
  52. package/dist/schemas/workflows.d.ts.map +1 -1
  53. package/dist/utils/http.d.ts +8 -4
  54. package/dist/utils/http.d.ts.map +1 -1
  55. package/package.json +6 -6
  56. package/src/auth/public-routes.ts +18 -0
  57. package/src/auth/scope.ts +3 -2
  58. package/src/files/content.ts +39 -6
  59. package/src/models/display.ts +91 -0
  60. package/src/routes/agent-api-gateway.ts +137 -38
  61. package/src/routes/agents.ts +58 -83
  62. package/src/routes/ai-accounting.ts +414 -23
  63. package/src/routes/auth.ts +297 -2
  64. package/src/routes/models.ts +12 -4
  65. package/src/routes/workflows.ts +3 -5
  66. package/src/routes/ws/agents.ts +17 -6
  67. package/src/schemas/agents.ts +40 -49
  68. package/src/schemas/ai-accounting.ts +88 -19
  69. package/src/schemas/ai-limits.ts +116 -0
  70. package/src/schemas/auth.ts +39 -0
  71. package/src/schemas/files.ts +1 -0
  72. package/src/schemas/models.ts +33 -5
  73. package/src/schemas/workflows.ts +0 -2
  74. package/src/utils/http.ts +33 -2
@@ -79,6 +79,125 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
79
79
  };
80
80
  };
81
81
  };
82
+ } & {
83
+ api: {
84
+ auth: {
85
+ "device-authorizations": {
86
+ post: {
87
+ body: {
88
+ clientName: string;
89
+ tokenName: string;
90
+ expiresIn?: "90d" | undefined;
91
+ };
92
+ params: {};
93
+ query: unknown;
94
+ headers: unknown;
95
+ response: {
96
+ 200: Response;
97
+ 429: {
98
+ error: string;
99
+ };
100
+ 201: {
101
+ expiresAt: string;
102
+ deviceCode: string;
103
+ userCode: string;
104
+ verificationUri: string;
105
+ verificationUriComplete: string;
106
+ interval: number;
107
+ };
108
+ 422: {
109
+ type: "validation";
110
+ on: string;
111
+ summary?: string;
112
+ message?: string;
113
+ found?: unknown;
114
+ property?: string;
115
+ expected?: string;
116
+ };
117
+ };
118
+ };
119
+ };
120
+ };
121
+ };
122
+ } & {
123
+ api: {
124
+ auth: {
125
+ "device-authorizations": {
126
+ token: {
127
+ post: {
128
+ body: {
129
+ deviceCode: string;
130
+ };
131
+ params: {};
132
+ query: unknown;
133
+ headers: unknown;
134
+ response: {
135
+ 200: {
136
+ status: "pending";
137
+ } | {
138
+ status: "denied";
139
+ } | {
140
+ status: "expired";
141
+ } | {
142
+ status: "approved";
143
+ accessToken: string;
144
+ };
145
+ 422: {
146
+ type: "validation";
147
+ on: string;
148
+ summary?: string;
149
+ message?: string;
150
+ found?: unknown;
151
+ property?: string;
152
+ expected?: string;
153
+ };
154
+ };
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
160
+ } & {
161
+ auth: {
162
+ device: {
163
+ get: {
164
+ body: unknown;
165
+ params: {};
166
+ query: unknown;
167
+ headers: unknown;
168
+ response: {
169
+ 200: Response;
170
+ };
171
+ };
172
+ };
173
+ };
174
+ } & {
175
+ auth: {
176
+ device: {
177
+ post: {
178
+ body: {
179
+ csrfToken: string;
180
+ userCode: string;
181
+ decision: "deny" | "approve";
182
+ };
183
+ params: {};
184
+ query: unknown;
185
+ headers: unknown;
186
+ response: {
187
+ 200: Response;
188
+ 422: {
189
+ type: "validation";
190
+ on: string;
191
+ summary?: string;
192
+ message?: string;
193
+ found?: unknown;
194
+ property?: string;
195
+ expected?: string;
196
+ };
197
+ };
198
+ };
199
+ };
200
+ };
82
201
  } & {
83
202
  api: {
84
203
  auth: {
@@ -101,8 +220,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
101
220
  id: string;
102
221
  email: string;
103
222
  groupIds: string[];
104
- avatarUrl?: string | undefined;
105
223
  displayName?: string | undefined;
224
+ avatarUrl?: string | undefined;
106
225
  };
107
226
  authenticated: true;
108
227
  applicationAccess: {
@@ -489,9 +608,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
489
608
  status: "active" | "suspended";
490
609
  id: string;
491
610
  name: string;
492
- groupIds: string[];
493
611
  createdAt: string;
494
612
  updatedAt: string;
613
+ groupIds: string[];
495
614
  description?: string | undefined;
496
615
  }[];
497
616
  };
@@ -551,9 +670,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
551
670
  status: "active" | "suspended";
552
671
  id: string;
553
672
  name: string;
554
- groupIds: string[];
555
673
  createdAt: string;
556
674
  updatedAt: string;
675
+ groupIds: string[];
557
676
  description?: string | undefined;
558
677
  };
559
678
  };
@@ -590,9 +709,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
590
709
  status: "active" | "suspended";
591
710
  id: string;
592
711
  name: string;
593
- groupIds: string[];
594
712
  createdAt: string;
595
713
  updatedAt: string;
714
+ groupIds: string[];
596
715
  description?: string | undefined;
597
716
  };
598
717
  };
@@ -829,6 +948,7 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
829
948
  expiresAt?: string | undefined;
830
949
  groupIds?: string[] | undefined;
831
950
  destinationId?: "atlas" | "app" | undefined;
951
+ revealLink?: boolean | undefined;
832
952
  };
833
953
  params: {};
834
954
  query: unknown;
@@ -847,6 +967,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
847
967
  400: {
848
968
  error: string;
849
969
  };
970
+ 429: {
971
+ error: string;
972
+ };
850
973
  500: {
851
974
  error: string;
852
975
  };
@@ -856,14 +979,18 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
856
979
  id: string;
857
980
  email: string;
858
981
  expiresAt: string;
859
- groupIds: string[];
860
982
  createdAt: string;
861
983
  updatedAt: string;
984
+ groupIds: string[];
862
985
  acceptedAt?: string | undefined;
863
986
  revokedAt?: string | undefined;
864
987
  };
865
988
  delivery: {
866
989
  status: "sent" | "skipped" | "rate_limited" | "not_supported";
990
+ link?: {
991
+ url: string;
992
+ expiresAt?: string | undefined;
993
+ } | undefined;
867
994
  };
868
995
  };
869
996
  422: {
@@ -875,9 +1002,6 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
875
1002
  property?: string;
876
1003
  expected?: string;
877
1004
  };
878
- 429: {
879
- error: string;
880
- };
881
1005
  };
882
1006
  };
883
1007
  };
@@ -958,9 +1082,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
958
1082
  id: string;
959
1083
  email: string;
960
1084
  expiresAt: string;
961
- groupIds: string[];
962
1085
  createdAt: string;
963
1086
  updatedAt: string;
1087
+ groupIds: string[];
964
1088
  acceptedAt?: string | undefined;
965
1089
  revokedAt?: string | undefined;
966
1090
  }[];
@@ -1014,9 +1138,9 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1014
1138
  id: string;
1015
1139
  email: string;
1016
1140
  expiresAt: string;
1017
- groupIds: string[];
1018
1141
  createdAt: string;
1019
1142
  updatedAt: string;
1143
+ groupIds: string[];
1020
1144
  acceptedAt?: string | undefined;
1021
1145
  revokedAt?: string | undefined;
1022
1146
  };
@@ -1118,15 +1242,15 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1118
1242
  email: string;
1119
1243
  createdAt: string;
1120
1244
  updatedAt: string;
1121
- avatarUrl?: string | undefined;
1122
1245
  displayName?: string | undefined;
1246
+ avatarUrl?: string | undefined;
1123
1247
  };
1124
- groupIds: string[];
1125
1248
  capabilities: {
1126
1249
  assignGroups: boolean;
1127
1250
  suspend: boolean;
1128
1251
  reactivate: boolean;
1129
1252
  };
1253
+ groupIds: string[];
1130
1254
  }[];
1131
1255
  };
1132
1256
  401: {
@@ -1176,8 +1300,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1176
1300
  email: string;
1177
1301
  createdAt: string;
1178
1302
  updatedAt: string;
1179
- avatarUrl?: string | undefined;
1180
1303
  displayName?: string | undefined;
1304
+ avatarUrl?: string | undefined;
1181
1305
  };
1182
1306
  groupIds: string[];
1183
1307
  };
@@ -1235,8 +1359,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1235
1359
  email: string;
1236
1360
  createdAt: string;
1237
1361
  updatedAt: string;
1238
- avatarUrl?: string | undefined;
1239
1362
  displayName?: string | undefined;
1363
+ avatarUrl?: string | undefined;
1240
1364
  };
1241
1365
  groupIds: string[];
1242
1366
  };
@@ -1291,8 +1415,8 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
1291
1415
  email: string;
1292
1416
  createdAt: string;
1293
1417
  updatedAt: string;
1294
- avatarUrl?: string | undefined;
1295
1418
  displayName?: string | undefined;
1419
+ avatarUrl?: string | undefined;
1296
1420
  };
1297
1421
  groupIds: string[];
1298
1422
  };
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAwC,YAAY,EAAE,MAAM,YAAY,CAAA;AA2BpF,OAAO,EAAE,KAAK,MAAM,EAAK,MAAM,QAAQ,CAAA;AAGvC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAGhC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAA;AAoE3B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAA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;;;;;;;;;;;;;;;GAqkD7F"}
@@ -31,6 +31,9 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
31
31
  response: {
32
32
  200: {
33
33
  events: ({
34
+ [x: string]: any;
35
+ type?: unknown;
36
+ } | {
34
37
  projectId: string;
35
38
  id: string;
36
39
  type: "action.requested" | "action.completed" | "action.failed" | "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";
@@ -75,9 +78,6 @@ export declare function registerEventRoutes(app: Elysia, _host: SixbHostView): E
75
78
  id: string;
76
79
  type: "user" | "serviceAccount" | "system";
77
80
  } | undefined;
78
- } | {
79
- [x: string]: any;
80
- type?: unknown;
81
81
  })[];
82
82
  count: number;
83
83
  };
@@ -89,6 +89,7 @@ export declare function registerFileRoutes(app: Elysia, host: SixbHostView): Ely
89
89
  } | {
90
90
  error: string;
91
91
  code?: import("@sixb/core").SixbErrorCode;
92
+ details?: import("@sixb/core").ReadonlyJsonValue;
92
93
  };
93
94
  400: {
94
95
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAQnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgajE"}
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAQnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgajE"}
@@ -26,9 +26,26 @@ export declare function registerModelRoutes(app: Elysia, host: SixbHostView): El
26
26
  response: {
27
27
  200: {
28
28
  language: {
29
- modelId: string;
29
+ name: string;
30
30
  provider: string;
31
+ modelId: string;
31
32
  isDefault: boolean;
33
+ publisher: {
34
+ id: string;
35
+ name: string;
36
+ };
37
+ capabilities: {
38
+ output: ("text" | "image" | "audio" | "video" | "pdf")[];
39
+ input: ("text" | "image" | "audio" | "video" | "pdf")[];
40
+ attachments?: boolean | undefined;
41
+ reasoning?: boolean | undefined;
42
+ tools?: boolean | undefined;
43
+ structuredOutput?: boolean | undefined;
44
+ contextWindowTokens?: number | undefined;
45
+ };
46
+ reasoningLevels: ("none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max")[];
47
+ description?: string | undefined;
48
+ via?: string | undefined;
32
49
  }[];
33
50
  };
34
51
  422: {
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/routes/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBlE"}
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/routes/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAcpC,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuBlE"}
@@ -49,11 +49,11 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
49
49
  response: {
50
50
  200: {
51
51
  items: {
52
+ label: string;
52
53
  ref: {
53
54
  objectTypeId: string;
54
55
  primaryId: string;
55
56
  };
56
- label: string;
57
57
  }[];
58
58
  };
59
59
  403: {
@@ -336,6 +336,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
336
336
  query: {
337
337
  path: string;
338
338
  disposition?: "inline" | "attachment" | undefined;
339
+ v?: string | undefined;
339
340
  };
340
341
  headers: unknown;
341
342
  response: {
@@ -375,6 +376,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
375
376
  query: {
376
377
  path: string;
377
378
  disposition?: "inline" | "attachment" | undefined;
379
+ v?: string | undefined;
378
380
  };
379
381
  headers: unknown;
380
382
  response: {
@@ -1 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAOnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmCpC,iBAAS,eAAe,CAAC,GAAG,EAAE;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,SAAS,EAAE,IAAI,CAAA;IACf,SAAS,EAAE,IAAI,CAAA;CAChB;;;;;;EAQA;AA4BD,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAC1D,KAAK,mBAAmB,GAAG,wBAAwB,GAAG,wBAAwB,EAAE,GAAG,IAAI,CAAA;AACvF,KAAK,wBAAwB,GAAG,gBAAgB,GAAG;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,CAAA;AAiND,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;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wBAAwB,GAAG,gBAAgB,GAAG;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACzC,CAAA;AAiND,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDA9K1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyuBxF"}
@@ -290,8 +290,8 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
290
290
  datasetId: string;
291
291
  versionId: string;
292
292
  }[];
293
- pipelineId: string;
294
293
  stepId: string;
294
+ pipelineId: string;
295
295
  pipelineRunId: string;
296
296
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
297
297
  finishedAt?: string | undefined;
@@ -341,6 +341,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
341
341
  200: {
342
342
  error: string;
343
343
  code?: import("@sixb/core").SixbErrorCode;
344
+ details?: import("@sixb/core").ReadonlyJsonValue;
344
345
  } | {
345
346
  runId: string;
346
347
  jobId: 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;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KrE"}
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;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KrE"}
@@ -126,8 +126,8 @@ export declare function registerRuleRoutes(app: Elysia, host: SixbHostView): Ely
126
126
  objectTypeId: string;
127
127
  primaryId: string;
128
128
  };
129
- triggeredAt: string;
130
129
  ruleId: string;
130
+ triggeredAt: string;
131
131
  }[];
132
132
  };
133
133
  400: {
@@ -239,6 +239,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
239
239
  200: {
240
240
  error: string;
241
241
  code?: import("@sixb/core").SixbErrorCode;
242
+ details?: import("@sixb/core").ReadonlyJsonValue;
242
243
  } | {
243
244
  runId: string;
244
245
  jobId: string;
@@ -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;AAqFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIjE"}
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;AAqFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIjE"}