@sixb/server 0.1.20 → 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 (179) hide show
  1. package/dist/artifacts/frame.d.ts +18 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -0
  3. package/dist/auth/browser-origin.d.ts +10 -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/files/content.d.ts +2 -3
  13. package/dist/files/content.d.ts.map +1 -1
  14. package/dist/index.js +10636 -7071
  15. package/dist/index.js.map +56 -38
  16. package/dist/models/display.d.ts +27 -0
  17. package/dist/models/display.d.ts.map +1 -1
  18. package/dist/openapi/components.d.ts +14 -0
  19. package/dist/openapi/components.d.ts.map +1 -0
  20. package/dist/openapi/tags.d.ts +22 -2
  21. package/dist/openapi/tags.d.ts.map +1 -1
  22. package/dist/registerRoutes.d.ts +3 -0
  23. package/dist/registerRoutes.d.ts.map +1 -1
  24. package/dist/routes/actions.d.ts +5 -5
  25. package/dist/routes/activity.d.ts +35 -0
  26. package/dist/routes/activity.d.ts.map +1 -0
  27. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  28. package/dist/routes/agent-approval-gate.d.ts +27 -0
  29. package/dist/routes/agent-approval-gate.d.ts.map +1 -0
  30. package/dist/routes/agent-approvals.d.ts +599 -0
  31. package/dist/routes/agent-approvals.d.ts.map +1 -0
  32. package/dist/routes/agent-children.d.ts +318 -0
  33. package/dist/routes/agent-children.d.ts.map +1 -0
  34. package/dist/routes/agent-memory.d.ts +267 -0
  35. package/dist/routes/agent-memory.d.ts.map +1 -0
  36. package/dist/routes/agents.d.ts +1008 -98
  37. package/dist/routes/agents.d.ts.map +1 -1
  38. package/dist/routes/ai-accounting.d.ts.map +1 -1
  39. package/dist/routes/artifact-frames.d.ts +98 -0
  40. package/dist/routes/artifact-frames.d.ts.map +1 -0
  41. package/dist/routes/artifacts.d.ts +1508 -0
  42. package/dist/routes/artifacts.d.ts.map +1 -0
  43. package/dist/routes/auth.d.ts +117 -11
  44. package/dist/routes/auth.d.ts.map +1 -1
  45. package/dist/routes/connector-connection-runs.d.ts +84 -84
  46. package/dist/routes/connector-connections.d.ts +2 -2
  47. package/dist/routes/connectors.d.ts +2 -2
  48. package/dist/routes/datasets.d.ts +27 -27
  49. package/dist/routes/events.d.ts +5 -5
  50. package/dist/routes/files.d.ts +14 -14
  51. package/dist/routes/files.d.ts.map +1 -1
  52. package/dist/routes/links.d.ts +2 -2
  53. package/dist/routes/logs.d.ts +5 -5
  54. package/dist/routes/model-calls.d.ts +155 -0
  55. package/dist/routes/model-calls.d.ts.map +1 -0
  56. package/dist/routes/model-generations.d.ts +400 -0
  57. package/dist/routes/model-generations.d.ts.map +1 -0
  58. package/dist/routes/models.d.ts +434 -1
  59. package/dist/routes/models.d.ts.map +1 -1
  60. package/dist/routes/objects.d.ts +71 -40
  61. package/dist/routes/objects.d.ts.map +1 -1
  62. package/dist/routes/observed-agent-threads.d.ts +682 -0
  63. package/dist/routes/observed-agent-threads.d.ts.map +1 -0
  64. package/dist/routes/ontology.d.ts +66 -62
  65. package/dist/routes/ontology.d.ts.map +1 -1
  66. package/dist/routes/pipelines.d.ts +53 -53
  67. package/dist/routes/projections.d.ts +63 -63
  68. package/dist/routes/rules.d.ts +2 -2
  69. package/dist/routes/share-grants.d.ts +4 -4
  70. package/dist/routes/syncs.d.ts +18 -18
  71. package/dist/routes/users.d.ts +117 -0
  72. package/dist/routes/users.d.ts.map +1 -0
  73. package/dist/routes/webhook-runs.d.ts +1 -1
  74. package/dist/routes/workflows.d.ts +142 -76
  75. package/dist/routes/workflows.d.ts.map +1 -1
  76. package/dist/routes/ws/agents.d.ts +7 -2
  77. package/dist/routes/ws/agents.d.ts.map +1 -1
  78. package/dist/routes/ws/events.d.ts +6 -6
  79. package/dist/routes/ws/events.d.ts.map +1 -1
  80. package/dist/routes/ws/logs.d.ts +14 -14
  81. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  82. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  83. package/dist/schemas/actions.d.ts +15 -15
  84. package/dist/schemas/activity.d.ts +1298 -0
  85. package/dist/schemas/activity.d.ts.map +1 -0
  86. package/dist/schemas/agent-approvals.d.ts +1091 -0
  87. package/dist/schemas/agent-approvals.d.ts.map +1 -0
  88. package/dist/schemas/agent-memory.d.ts +250 -0
  89. package/dist/schemas/agent-memory.d.ts.map +1 -0
  90. package/dist/schemas/agents.d.ts +5485 -460
  91. package/dist/schemas/agents.d.ts.map +1 -1
  92. package/dist/schemas/ai-accounting.d.ts +1315 -436
  93. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  94. package/dist/schemas/ai-limits.d.ts +36 -36
  95. package/dist/schemas/ai-usage.d.ts +12 -0
  96. package/dist/schemas/ai-usage.d.ts.map +1 -1
  97. package/dist/schemas/artifacts.d.ts +1857 -0
  98. package/dist/schemas/artifacts.d.ts.map +1 -0
  99. package/dist/schemas/auth.d.ts +125 -52
  100. package/dist/schemas/auth.d.ts.map +1 -1
  101. package/dist/schemas/connectors.d.ts +42 -42
  102. package/dist/schemas/datasets.d.ts +108 -108
  103. package/dist/schemas/event-payloads.d.ts +6 -6
  104. package/dist/schemas/events.d.ts +32 -32
  105. package/dist/schemas/events.d.ts.map +1 -1
  106. package/dist/schemas/files.d.ts +24 -24
  107. package/dist/schemas/links.d.ts +2 -2
  108. package/dist/schemas/logs.d.ts +32 -32
  109. package/dist/schemas/models.d.ts +8889 -10
  110. package/dist/schemas/models.d.ts.map +1 -1
  111. package/dist/schemas/objects.d.ts +48 -12
  112. package/dist/schemas/objects.d.ts.map +1 -1
  113. package/dist/schemas/ontology.d.ts +127 -104
  114. package/dist/schemas/ontology.d.ts.map +1 -1
  115. package/dist/schemas/pipelines.d.ts +166 -166
  116. package/dist/schemas/projections.d.ts +346 -346
  117. package/dist/schemas/rules.d.ts +4 -4
  118. package/dist/schemas/share-grants.d.ts +14 -14
  119. package/dist/schemas/syncs.d.ts +40 -40
  120. package/dist/schemas/users.d.ts +72 -0
  121. package/dist/schemas/users.d.ts.map +1 -0
  122. package/dist/schemas/webhook-runs.d.ts +6 -6
  123. package/dist/schemas/workflows.d.ts +769 -254
  124. package/dist/schemas/workflows.d.ts.map +1 -1
  125. package/dist/server.d.ts +1 -0
  126. package/dist/server.d.ts.map +1 -1
  127. package/dist/utils/http.d.ts.map +1 -1
  128. package/package.json +7 -7
  129. package/src/artifacts/frame.ts +51 -0
  130. package/src/auth/browser-origin.ts +20 -5
  131. package/src/auth/experience.ts +1 -1
  132. package/src/auth/guard.ts +2 -2
  133. package/src/auth/public-routes.ts +16 -0
  134. package/src/auth/responses.ts +7 -6
  135. package/src/auth/scope.ts +32 -3
  136. package/src/files/content.ts +9 -13
  137. package/src/models/display.ts +61 -16
  138. package/src/openapi/components.ts +54 -0
  139. package/src/openapi/tags.ts +20 -0
  140. package/src/registerRoutes.ts +23 -0
  141. package/src/routes/activity.ts +327 -0
  142. package/src/routes/agent-api-gateway.ts +115 -91
  143. package/src/routes/agent-approval-gate.ts +213 -0
  144. package/src/routes/agent-approvals.ts +299 -0
  145. package/src/routes/agent-children.ts +209 -0
  146. package/src/routes/agent-memory.ts +210 -0
  147. package/src/routes/agents.ts +364 -143
  148. package/src/routes/ai-accounting.ts +4 -0
  149. package/src/routes/artifact-frames.ts +144 -0
  150. package/src/routes/artifacts.ts +717 -0
  151. package/src/routes/auth.ts +306 -13
  152. package/src/routes/file-downloads.ts +1 -3
  153. package/src/routes/files.ts +6 -7
  154. package/src/routes/model-calls.ts +120 -0
  155. package/src/routes/model-generations.ts +245 -0
  156. package/src/routes/models.ts +116 -9
  157. package/src/routes/objects.ts +55 -61
  158. package/src/routes/observed-agent-threads.ts +253 -0
  159. package/src/routes/ontology.ts +1 -0
  160. package/src/routes/users.ts +73 -0
  161. package/src/routes/workflows.ts +6 -9
  162. package/src/routes/ws/agents.ts +10 -5
  163. package/src/routes/ws/events.ts +3 -2
  164. package/src/routes/ws/subscription-hub.ts +53 -20
  165. package/src/schemas/activity.ts +287 -0
  166. package/src/schemas/agent-approvals.ts +129 -0
  167. package/src/schemas/agent-memory.ts +96 -0
  168. package/src/schemas/agents.ts +240 -2
  169. package/src/schemas/ai-accounting.ts +40 -4
  170. package/src/schemas/ai-usage.ts +10 -0
  171. package/src/schemas/artifacts.ts +246 -0
  172. package/src/schemas/auth.ts +25 -0
  173. package/src/schemas/models.ts +197 -1
  174. package/src/schemas/objects.ts +181 -0
  175. package/src/schemas/ontology.ts +1 -0
  176. package/src/schemas/users.ts +24 -0
  177. package/src/schemas/workflows.ts +2 -0
  178. package/src/server.ts +34 -19
  179. package/src/utils/http.ts +2 -0
@@ -0,0 +1,1508 @@
1
+ import { type SixbHostView } from "@sixb/core";
2
+ import type { Elysia } from "elysia";
3
+ export declare function registerArtifactRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
4
+ decorator: {};
5
+ store: {};
6
+ derive: {};
7
+ resolve: {};
8
+ }, {
9
+ typebox: {};
10
+ error: {};
11
+ }, {
12
+ schema: {};
13
+ standaloneSchema: {};
14
+ macro: {};
15
+ macroFn: {};
16
+ parser: {};
17
+ response: {};
18
+ }, {
19
+ api: {
20
+ artifacts: {
21
+ get: {
22
+ body: unknown;
23
+ params: {};
24
+ query: {
25
+ kind?: "file" | "page" | "document" | "sheet" | "slides" | "canvas" | undefined;
26
+ limit?: string | undefined;
27
+ offset?: string | undefined;
28
+ thread?: string | undefined;
29
+ };
30
+ headers: unknown;
31
+ response: {
32
+ 200: {
33
+ artifacts: {
34
+ projectId: string;
35
+ id: string;
36
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
37
+ title: string;
38
+ createdAt: string;
39
+ owner: {
40
+ id: string;
41
+ type: "user" | "serviceAccount" | "system";
42
+ };
43
+ updatedAt: string;
44
+ latestVersion: number;
45
+ }[];
46
+ hasMore: boolean;
47
+ total: number;
48
+ };
49
+ 400: {
50
+ error: string;
51
+ code?: string | undefined;
52
+ latest?: {
53
+ version: number;
54
+ author: {
55
+ id: string;
56
+ type: "user" | "serviceAccount" | "system";
57
+ };
58
+ } | undefined;
59
+ };
60
+ 501: {
61
+ error: string;
62
+ code?: string | undefined;
63
+ latest?: {
64
+ version: number;
65
+ author: {
66
+ id: string;
67
+ type: "user" | "serviceAccount" | "system";
68
+ };
69
+ } | undefined;
70
+ };
71
+ 422: {
72
+ type: "validation";
73
+ on: string;
74
+ summary?: string;
75
+ message?: string;
76
+ found?: unknown;
77
+ property?: string;
78
+ expected?: string;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ };
84
+ } & {
85
+ api: {
86
+ artifacts: {
87
+ post: {
88
+ body: {
89
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
90
+ title: string;
91
+ files: {
92
+ path: string;
93
+ file: {
94
+ blobId: string;
95
+ digest: string;
96
+ sizeBytes: number;
97
+ fileName?: string | undefined;
98
+ mediaType?: string | undefined;
99
+ logicalPath?: string | undefined;
100
+ };
101
+ }[];
102
+ };
103
+ params: {};
104
+ query: unknown;
105
+ headers: unknown;
106
+ response: {
107
+ 200: {
108
+ error: string;
109
+ code?: import("@sixb/core").SixbErrorCode;
110
+ details?: import("@sixb/core").ReadonlyJsonValue;
111
+ } | {
112
+ version: {
113
+ title: string;
114
+ version: number;
115
+ createdAt: string;
116
+ files: {
117
+ path: string;
118
+ file: {
119
+ blobId: string;
120
+ digest: string;
121
+ sizeBytes: number;
122
+ fileName?: string | undefined;
123
+ mediaType?: string | undefined;
124
+ logicalPath?: string | undefined;
125
+ };
126
+ }[];
127
+ author: {
128
+ id: string;
129
+ type: "user" | "serviceAccount" | "system";
130
+ };
131
+ artifactId: string;
132
+ entry: string;
133
+ outline: {
134
+ kind: "document";
135
+ headings: {
136
+ text: string;
137
+ depth: number;
138
+ slug: string;
139
+ }[];
140
+ } | {
141
+ kind: "sheet";
142
+ sheets: {
143
+ name: string;
144
+ rows: number;
145
+ columns: string[];
146
+ query?: string | undefined;
147
+ }[];
148
+ charts: string[];
149
+ } | {
150
+ kind: "slides";
151
+ slides: {
152
+ title?: string | undefined;
153
+ }[];
154
+ } | {
155
+ kind: "page";
156
+ title?: string | undefined;
157
+ } | {
158
+ kind: "canvas";
159
+ items: ({
160
+ id: string;
161
+ type: "board";
162
+ file: string;
163
+ w: number;
164
+ h: number;
165
+ title?: string | undefined;
166
+ } | {
167
+ id: string;
168
+ type: "section";
169
+ title?: string | undefined;
170
+ })[];
171
+ } | {
172
+ kind: "file";
173
+ mediaType: string;
174
+ };
175
+ references: {
176
+ at: string;
177
+ address: string;
178
+ as: "link" | "embed";
179
+ resolvedVersion: number;
180
+ }[];
181
+ origin?: {
182
+ runId: string;
183
+ threadId: string;
184
+ } | undefined;
185
+ };
186
+ warnings: {
187
+ code: string;
188
+ message: string;
189
+ part?: string | undefined;
190
+ }[];
191
+ artifact: {
192
+ projectId: string;
193
+ id: string;
194
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
195
+ title: string;
196
+ createdAt: string;
197
+ owner: {
198
+ id: string;
199
+ type: "user" | "serviceAccount" | "system";
200
+ };
201
+ updatedAt: string;
202
+ latestVersion: number;
203
+ };
204
+ } | {
205
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
206
+ error: string;
207
+ code: import("@sixb/core").ArtifactRequestErrorCode;
208
+ };
209
+ 404: {
210
+ error: string;
211
+ code?: string | undefined;
212
+ latest?: {
213
+ version: number;
214
+ author: {
215
+ id: string;
216
+ type: "user" | "serviceAccount" | "system";
217
+ };
218
+ } | undefined;
219
+ };
220
+ 403: {
221
+ error: string;
222
+ code?: string | undefined;
223
+ latest?: {
224
+ version: number;
225
+ author: {
226
+ id: string;
227
+ type: "user" | "serviceAccount" | "system";
228
+ };
229
+ } | undefined;
230
+ };
231
+ 409: {
232
+ error: string;
233
+ code?: string | undefined;
234
+ latest?: {
235
+ version: number;
236
+ author: {
237
+ id: string;
238
+ type: "user" | "serviceAccount" | "system";
239
+ };
240
+ } | undefined;
241
+ };
242
+ 400: {
243
+ error: string;
244
+ code?: string | undefined;
245
+ latest?: {
246
+ version: number;
247
+ author: {
248
+ id: string;
249
+ type: "user" | "serviceAccount" | "system";
250
+ };
251
+ } | undefined;
252
+ };
253
+ 501: {
254
+ error: string;
255
+ code?: string | undefined;
256
+ latest?: {
257
+ version: number;
258
+ author: {
259
+ id: string;
260
+ type: "user" | "serviceAccount" | "system";
261
+ };
262
+ } | undefined;
263
+ };
264
+ 201: {
265
+ version: {
266
+ title: string;
267
+ version: number;
268
+ createdAt: string;
269
+ files: {
270
+ path: string;
271
+ file: {
272
+ blobId: string;
273
+ digest: string;
274
+ sizeBytes: number;
275
+ fileName?: string | undefined;
276
+ mediaType?: string | undefined;
277
+ logicalPath?: string | undefined;
278
+ };
279
+ }[];
280
+ author: {
281
+ id: string;
282
+ type: "user" | "serviceAccount" | "system";
283
+ };
284
+ artifactId: string;
285
+ entry: string;
286
+ outline: {
287
+ kind: "document";
288
+ headings: {
289
+ text: string;
290
+ depth: number;
291
+ slug: string;
292
+ }[];
293
+ } | {
294
+ kind: "sheet";
295
+ sheets: {
296
+ name: string;
297
+ rows: number;
298
+ columns: string[];
299
+ query?: string | undefined;
300
+ }[];
301
+ charts: string[];
302
+ } | {
303
+ kind: "slides";
304
+ slides: {
305
+ title?: string | undefined;
306
+ }[];
307
+ } | {
308
+ kind: "page";
309
+ title?: string | undefined;
310
+ } | {
311
+ kind: "canvas";
312
+ items: ({
313
+ id: string;
314
+ type: "board";
315
+ file: string;
316
+ w: number;
317
+ h: number;
318
+ title?: string | undefined;
319
+ } | {
320
+ id: string;
321
+ type: "section";
322
+ title?: string | undefined;
323
+ })[];
324
+ } | {
325
+ kind: "file";
326
+ mediaType: string;
327
+ };
328
+ references: {
329
+ at: string;
330
+ address: string;
331
+ as: "link" | "embed";
332
+ resolvedVersion: number;
333
+ }[];
334
+ origin?: {
335
+ runId: string;
336
+ threadId: string;
337
+ } | undefined;
338
+ };
339
+ warnings: {
340
+ code: string;
341
+ message: string;
342
+ part?: string | undefined;
343
+ }[];
344
+ artifact: {
345
+ projectId: string;
346
+ id: string;
347
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
348
+ title: string;
349
+ createdAt: string;
350
+ owner: {
351
+ id: string;
352
+ type: "user" | "serviceAccount" | "system";
353
+ };
354
+ updatedAt: string;
355
+ latestVersion: number;
356
+ };
357
+ };
358
+ 422: {
359
+ type: "validation";
360
+ on: string;
361
+ summary?: string;
362
+ message?: string;
363
+ found?: unknown;
364
+ property?: string;
365
+ expected?: string;
366
+ };
367
+ };
368
+ };
369
+ };
370
+ };
371
+ } & {
372
+ api: {
373
+ artifacts: {
374
+ ":artifactId": {
375
+ get: {
376
+ body: unknown;
377
+ params: {
378
+ artifactId: string;
379
+ };
380
+ query: unknown;
381
+ headers: unknown;
382
+ response: {
383
+ 200: {
384
+ artifact: {
385
+ projectId: string;
386
+ id: string;
387
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
388
+ title: string;
389
+ createdAt: string;
390
+ owner: {
391
+ id: string;
392
+ type: "user" | "serviceAccount" | "system";
393
+ };
394
+ updatedAt: string;
395
+ latestVersion: number;
396
+ };
397
+ versions: {
398
+ title: string;
399
+ version: number;
400
+ createdAt: string;
401
+ author: {
402
+ id: string;
403
+ type: "user" | "serviceAccount" | "system";
404
+ };
405
+ origin?: {
406
+ runId: string;
407
+ threadId: string;
408
+ } | undefined;
409
+ }[];
410
+ access: "owner" | "read" | "update";
411
+ };
412
+ 404: {
413
+ error: string;
414
+ code?: string | undefined;
415
+ latest?: {
416
+ version: number;
417
+ author: {
418
+ id: string;
419
+ type: "user" | "serviceAccount" | "system";
420
+ };
421
+ } | undefined;
422
+ };
423
+ 403: {
424
+ error: string;
425
+ code?: string | undefined;
426
+ latest?: {
427
+ version: number;
428
+ author: {
429
+ id: string;
430
+ type: "user" | "serviceAccount" | "system";
431
+ };
432
+ } | undefined;
433
+ };
434
+ 501: {
435
+ error: string;
436
+ code?: string | undefined;
437
+ latest?: {
438
+ version: number;
439
+ author: {
440
+ id: string;
441
+ type: "user" | "serviceAccount" | "system";
442
+ };
443
+ } | undefined;
444
+ };
445
+ 422: {
446
+ type: "validation";
447
+ on: string;
448
+ summary?: string;
449
+ message?: string;
450
+ found?: unknown;
451
+ property?: string;
452
+ expected?: string;
453
+ };
454
+ };
455
+ };
456
+ };
457
+ };
458
+ };
459
+ } & {
460
+ api: {
461
+ artifacts: {
462
+ ":artifactId": {
463
+ delete: {
464
+ body: unknown;
465
+ params: {
466
+ artifactId: string;
467
+ };
468
+ query: unknown;
469
+ headers: unknown;
470
+ response: {
471
+ 200: {
472
+ deleted: true;
473
+ };
474
+ 404: {
475
+ error: string;
476
+ code?: string | undefined;
477
+ latest?: {
478
+ version: number;
479
+ author: {
480
+ id: string;
481
+ type: "user" | "serviceAccount" | "system";
482
+ };
483
+ } | undefined;
484
+ };
485
+ 403: {
486
+ error: string;
487
+ code?: string | undefined;
488
+ latest?: {
489
+ version: number;
490
+ author: {
491
+ id: string;
492
+ type: "user" | "serviceAccount" | "system";
493
+ };
494
+ } | undefined;
495
+ };
496
+ 501: {
497
+ error: string;
498
+ code?: string | undefined;
499
+ latest?: {
500
+ version: number;
501
+ author: {
502
+ id: string;
503
+ type: "user" | "serviceAccount" | "system";
504
+ };
505
+ } | undefined;
506
+ };
507
+ 422: {
508
+ type: "validation";
509
+ on: string;
510
+ summary?: string;
511
+ message?: string;
512
+ found?: unknown;
513
+ property?: string;
514
+ expected?: string;
515
+ };
516
+ };
517
+ };
518
+ };
519
+ };
520
+ };
521
+ } & {
522
+ api: {
523
+ artifacts: {
524
+ ":artifactId": {
525
+ state: {
526
+ get: {
527
+ body: unknown;
528
+ params: {
529
+ artifactId: string;
530
+ };
531
+ query: unknown;
532
+ headers: unknown;
533
+ response: {
534
+ 200: {
535
+ entries: {
536
+ key: string;
537
+ updatedAt: string;
538
+ value?: unknown;
539
+ }[];
540
+ };
541
+ 404: {
542
+ error: string;
543
+ code?: string | undefined;
544
+ latest?: {
545
+ version: number;
546
+ author: {
547
+ id: string;
548
+ type: "user" | "serviceAccount" | "system";
549
+ };
550
+ } | undefined;
551
+ };
552
+ 403: {
553
+ error: string;
554
+ code?: string | undefined;
555
+ latest?: {
556
+ version: number;
557
+ author: {
558
+ id: string;
559
+ type: "user" | "serviceAccount" | "system";
560
+ };
561
+ } | undefined;
562
+ };
563
+ 501: {
564
+ error: string;
565
+ code?: string | undefined;
566
+ latest?: {
567
+ version: number;
568
+ author: {
569
+ id: string;
570
+ type: "user" | "serviceAccount" | "system";
571
+ };
572
+ } | undefined;
573
+ };
574
+ 422: {
575
+ type: "validation";
576
+ on: string;
577
+ summary?: string;
578
+ message?: string;
579
+ found?: unknown;
580
+ property?: string;
581
+ expected?: string;
582
+ };
583
+ };
584
+ };
585
+ };
586
+ };
587
+ };
588
+ };
589
+ } & {
590
+ api: {
591
+ artifacts: {
592
+ ":artifactId": {
593
+ state: {
594
+ ":key": {
595
+ put: {
596
+ body: {
597
+ value: {} | null;
598
+ };
599
+ params: {
600
+ key: string;
601
+ artifactId: string;
602
+ };
603
+ query: unknown;
604
+ headers: unknown;
605
+ response: {
606
+ 200: {
607
+ key: string;
608
+ updatedAt: string;
609
+ value?: unknown;
610
+ };
611
+ 404: {
612
+ error: string;
613
+ code?: string | undefined;
614
+ latest?: {
615
+ version: number;
616
+ author: {
617
+ id: string;
618
+ type: "user" | "serviceAccount" | "system";
619
+ };
620
+ } | undefined;
621
+ };
622
+ 403: {
623
+ error: string;
624
+ code?: string | undefined;
625
+ latest?: {
626
+ version: number;
627
+ author: {
628
+ id: string;
629
+ type: "user" | "serviceAccount" | "system";
630
+ };
631
+ } | undefined;
632
+ };
633
+ 400: {
634
+ error: string;
635
+ code?: string | undefined;
636
+ latest?: {
637
+ version: number;
638
+ author: {
639
+ id: string;
640
+ type: "user" | "serviceAccount" | "system";
641
+ };
642
+ } | undefined;
643
+ };
644
+ 501: {
645
+ error: string;
646
+ code?: string | undefined;
647
+ latest?: {
648
+ version: number;
649
+ author: {
650
+ id: string;
651
+ type: "user" | "serviceAccount" | "system";
652
+ };
653
+ } | undefined;
654
+ };
655
+ 413: {
656
+ error: string;
657
+ code?: string | undefined;
658
+ latest?: {
659
+ version: number;
660
+ author: {
661
+ id: string;
662
+ type: "user" | "serviceAccount" | "system";
663
+ };
664
+ } | undefined;
665
+ };
666
+ 422: {
667
+ type: "validation";
668
+ on: string;
669
+ summary?: string;
670
+ message?: string;
671
+ found?: unknown;
672
+ property?: string;
673
+ expected?: string;
674
+ };
675
+ };
676
+ };
677
+ };
678
+ };
679
+ };
680
+ };
681
+ };
682
+ } & {
683
+ api: {
684
+ artifacts: {
685
+ ":artifactId": {
686
+ state: {
687
+ ":key": {
688
+ delete: {
689
+ body: unknown;
690
+ params: {
691
+ key: string;
692
+ artifactId: string;
693
+ };
694
+ query: unknown;
695
+ headers: unknown;
696
+ response: {
697
+ 200: {
698
+ deleted: boolean;
699
+ };
700
+ 404: {
701
+ error: string;
702
+ code?: string | undefined;
703
+ latest?: {
704
+ version: number;
705
+ author: {
706
+ id: string;
707
+ type: "user" | "serviceAccount" | "system";
708
+ };
709
+ } | undefined;
710
+ };
711
+ 403: {
712
+ error: string;
713
+ code?: string | undefined;
714
+ latest?: {
715
+ version: number;
716
+ author: {
717
+ id: string;
718
+ type: "user" | "serviceAccount" | "system";
719
+ };
720
+ } | undefined;
721
+ };
722
+ 400: {
723
+ error: string;
724
+ code?: string | undefined;
725
+ latest?: {
726
+ version: number;
727
+ author: {
728
+ id: string;
729
+ type: "user" | "serviceAccount" | "system";
730
+ };
731
+ } | undefined;
732
+ };
733
+ 501: {
734
+ error: string;
735
+ code?: string | undefined;
736
+ latest?: {
737
+ version: number;
738
+ author: {
739
+ id: string;
740
+ type: "user" | "serviceAccount" | "system";
741
+ };
742
+ } | undefined;
743
+ };
744
+ 422: {
745
+ type: "validation";
746
+ on: string;
747
+ summary?: string;
748
+ message?: string;
749
+ found?: unknown;
750
+ property?: string;
751
+ expected?: string;
752
+ };
753
+ };
754
+ };
755
+ };
756
+ };
757
+ };
758
+ };
759
+ };
760
+ } & {
761
+ api: {
762
+ artifacts: {
763
+ ":artifactId": {
764
+ state: {
765
+ delete: {
766
+ body: unknown;
767
+ params: {
768
+ artifactId: string;
769
+ };
770
+ query: unknown;
771
+ headers: unknown;
772
+ response: {
773
+ 200: {
774
+ cleared: number;
775
+ };
776
+ 404: {
777
+ error: string;
778
+ code?: string | undefined;
779
+ latest?: {
780
+ version: number;
781
+ author: {
782
+ id: string;
783
+ type: "user" | "serviceAccount" | "system";
784
+ };
785
+ } | undefined;
786
+ };
787
+ 403: {
788
+ error: string;
789
+ code?: string | undefined;
790
+ latest?: {
791
+ version: number;
792
+ author: {
793
+ id: string;
794
+ type: "user" | "serviceAccount" | "system";
795
+ };
796
+ } | undefined;
797
+ };
798
+ 501: {
799
+ error: string;
800
+ code?: string | undefined;
801
+ latest?: {
802
+ version: number;
803
+ author: {
804
+ id: string;
805
+ type: "user" | "serviceAccount" | "system";
806
+ };
807
+ } | undefined;
808
+ };
809
+ 422: {
810
+ type: "validation";
811
+ on: string;
812
+ summary?: string;
813
+ message?: string;
814
+ found?: unknown;
815
+ property?: string;
816
+ expected?: string;
817
+ };
818
+ };
819
+ };
820
+ };
821
+ };
822
+ };
823
+ };
824
+ } & {
825
+ api: {
826
+ artifacts: {
827
+ ":artifactId": {
828
+ versions: {
829
+ post: {
830
+ body: {
831
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
832
+ title: string;
833
+ files: {
834
+ path: string;
835
+ file: {
836
+ blobId: string;
837
+ digest: string;
838
+ sizeBytes: number;
839
+ fileName?: string | undefined;
840
+ mediaType?: string | undefined;
841
+ logicalPath?: string | undefined;
842
+ };
843
+ }[];
844
+ baseVersion?: number | undefined;
845
+ };
846
+ params: {
847
+ artifactId: string;
848
+ };
849
+ query: unknown;
850
+ headers: unknown;
851
+ response: {
852
+ 200: {
853
+ error: string;
854
+ code?: import("@sixb/core").SixbErrorCode;
855
+ details?: import("@sixb/core").ReadonlyJsonValue;
856
+ } | {
857
+ version: {
858
+ title: string;
859
+ version: number;
860
+ createdAt: string;
861
+ files: {
862
+ path: string;
863
+ file: {
864
+ blobId: string;
865
+ digest: string;
866
+ sizeBytes: number;
867
+ fileName?: string | undefined;
868
+ mediaType?: string | undefined;
869
+ logicalPath?: string | undefined;
870
+ };
871
+ }[];
872
+ author: {
873
+ id: string;
874
+ type: "user" | "serviceAccount" | "system";
875
+ };
876
+ artifactId: string;
877
+ entry: string;
878
+ outline: {
879
+ kind: "document";
880
+ headings: {
881
+ text: string;
882
+ depth: number;
883
+ slug: string;
884
+ }[];
885
+ } | {
886
+ kind: "sheet";
887
+ sheets: {
888
+ name: string;
889
+ rows: number;
890
+ columns: string[];
891
+ query?: string | undefined;
892
+ }[];
893
+ charts: string[];
894
+ } | {
895
+ kind: "slides";
896
+ slides: {
897
+ title?: string | undefined;
898
+ }[];
899
+ } | {
900
+ kind: "page";
901
+ title?: string | undefined;
902
+ } | {
903
+ kind: "canvas";
904
+ items: ({
905
+ id: string;
906
+ type: "board";
907
+ file: string;
908
+ w: number;
909
+ h: number;
910
+ title?: string | undefined;
911
+ } | {
912
+ id: string;
913
+ type: "section";
914
+ title?: string | undefined;
915
+ })[];
916
+ } | {
917
+ kind: "file";
918
+ mediaType: string;
919
+ };
920
+ references: {
921
+ at: string;
922
+ address: string;
923
+ as: "link" | "embed";
924
+ resolvedVersion: number;
925
+ }[];
926
+ origin?: {
927
+ runId: string;
928
+ threadId: string;
929
+ } | undefined;
930
+ };
931
+ warnings: {
932
+ code: string;
933
+ message: string;
934
+ part?: string | undefined;
935
+ }[];
936
+ artifact: {
937
+ projectId: string;
938
+ id: string;
939
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
940
+ title: string;
941
+ createdAt: string;
942
+ owner: {
943
+ id: string;
944
+ type: "user" | "serviceAccount" | "system";
945
+ };
946
+ updatedAt: string;
947
+ latestVersion: number;
948
+ };
949
+ } | {
950
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
951
+ error: string;
952
+ code: import("@sixb/core").ArtifactRequestErrorCode;
953
+ };
954
+ 404: {
955
+ error: string;
956
+ code?: string | undefined;
957
+ latest?: {
958
+ version: number;
959
+ author: {
960
+ id: string;
961
+ type: "user" | "serviceAccount" | "system";
962
+ };
963
+ } | undefined;
964
+ };
965
+ 403: {
966
+ error: string;
967
+ code?: string | undefined;
968
+ latest?: {
969
+ version: number;
970
+ author: {
971
+ id: string;
972
+ type: "user" | "serviceAccount" | "system";
973
+ };
974
+ } | undefined;
975
+ };
976
+ 409: {
977
+ error: string;
978
+ code?: string | undefined;
979
+ latest?: {
980
+ version: number;
981
+ author: {
982
+ id: string;
983
+ type: "user" | "serviceAccount" | "system";
984
+ };
985
+ } | undefined;
986
+ };
987
+ 400: {
988
+ error: string;
989
+ code?: string | undefined;
990
+ latest?: {
991
+ version: number;
992
+ author: {
993
+ id: string;
994
+ type: "user" | "serviceAccount" | "system";
995
+ };
996
+ } | undefined;
997
+ };
998
+ 501: {
999
+ error: string;
1000
+ code?: string | undefined;
1001
+ latest?: {
1002
+ version: number;
1003
+ author: {
1004
+ id: string;
1005
+ type: "user" | "serviceAccount" | "system";
1006
+ };
1007
+ } | undefined;
1008
+ };
1009
+ 201: {
1010
+ version: {
1011
+ title: string;
1012
+ version: number;
1013
+ createdAt: string;
1014
+ files: {
1015
+ path: string;
1016
+ file: {
1017
+ blobId: string;
1018
+ digest: string;
1019
+ sizeBytes: number;
1020
+ fileName?: string | undefined;
1021
+ mediaType?: string | undefined;
1022
+ logicalPath?: string | undefined;
1023
+ };
1024
+ }[];
1025
+ author: {
1026
+ id: string;
1027
+ type: "user" | "serviceAccount" | "system";
1028
+ };
1029
+ artifactId: string;
1030
+ entry: string;
1031
+ outline: {
1032
+ kind: "document";
1033
+ headings: {
1034
+ text: string;
1035
+ depth: number;
1036
+ slug: string;
1037
+ }[];
1038
+ } | {
1039
+ kind: "sheet";
1040
+ sheets: {
1041
+ name: string;
1042
+ rows: number;
1043
+ columns: string[];
1044
+ query?: string | undefined;
1045
+ }[];
1046
+ charts: string[];
1047
+ } | {
1048
+ kind: "slides";
1049
+ slides: {
1050
+ title?: string | undefined;
1051
+ }[];
1052
+ } | {
1053
+ kind: "page";
1054
+ title?: string | undefined;
1055
+ } | {
1056
+ kind: "canvas";
1057
+ items: ({
1058
+ id: string;
1059
+ type: "board";
1060
+ file: string;
1061
+ w: number;
1062
+ h: number;
1063
+ title?: string | undefined;
1064
+ } | {
1065
+ id: string;
1066
+ type: "section";
1067
+ title?: string | undefined;
1068
+ })[];
1069
+ } | {
1070
+ kind: "file";
1071
+ mediaType: string;
1072
+ };
1073
+ references: {
1074
+ at: string;
1075
+ address: string;
1076
+ as: "link" | "embed";
1077
+ resolvedVersion: number;
1078
+ }[];
1079
+ origin?: {
1080
+ runId: string;
1081
+ threadId: string;
1082
+ } | undefined;
1083
+ };
1084
+ warnings: {
1085
+ code: string;
1086
+ message: string;
1087
+ part?: string | undefined;
1088
+ }[];
1089
+ artifact: {
1090
+ projectId: string;
1091
+ id: string;
1092
+ kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
1093
+ title: string;
1094
+ createdAt: string;
1095
+ owner: {
1096
+ id: string;
1097
+ type: "user" | "serviceAccount" | "system";
1098
+ };
1099
+ updatedAt: string;
1100
+ latestVersion: number;
1101
+ };
1102
+ };
1103
+ 422: {
1104
+ type: "validation";
1105
+ on: string;
1106
+ summary?: string;
1107
+ message?: string;
1108
+ found?: unknown;
1109
+ property?: string;
1110
+ expected?: string;
1111
+ };
1112
+ };
1113
+ };
1114
+ };
1115
+ };
1116
+ };
1117
+ };
1118
+ } & {
1119
+ api: {
1120
+ artifacts: {
1121
+ ":artifactId": {
1122
+ versions: {
1123
+ ":version": {
1124
+ frame: {
1125
+ post: {
1126
+ body: unknown;
1127
+ params: {
1128
+ version: string;
1129
+ artifactId: string;
1130
+ };
1131
+ query: unknown;
1132
+ headers: unknown;
1133
+ response: {
1134
+ 200: {
1135
+ path: string;
1136
+ expiresAt: string;
1137
+ };
1138
+ 404: {
1139
+ error: string;
1140
+ code?: string | undefined;
1141
+ latest?: {
1142
+ version: number;
1143
+ author: {
1144
+ id: string;
1145
+ type: "user" | "serviceAccount" | "system";
1146
+ };
1147
+ } | undefined;
1148
+ };
1149
+ 403: {
1150
+ error: string;
1151
+ code?: string | undefined;
1152
+ latest?: {
1153
+ version: number;
1154
+ author: {
1155
+ id: string;
1156
+ type: "user" | "serviceAccount" | "system";
1157
+ };
1158
+ } | undefined;
1159
+ };
1160
+ 409: {
1161
+ error: string;
1162
+ code?: string | undefined;
1163
+ latest?: {
1164
+ version: number;
1165
+ author: {
1166
+ id: string;
1167
+ type: "user" | "serviceAccount" | "system";
1168
+ };
1169
+ } | undefined;
1170
+ };
1171
+ 501: {
1172
+ error: string;
1173
+ code?: string | undefined;
1174
+ latest?: {
1175
+ version: number;
1176
+ author: {
1177
+ id: string;
1178
+ type: "user" | "serviceAccount" | "system";
1179
+ };
1180
+ } | undefined;
1181
+ };
1182
+ 422: {
1183
+ type: "validation";
1184
+ on: string;
1185
+ summary?: string;
1186
+ message?: string;
1187
+ found?: unknown;
1188
+ property?: string;
1189
+ expected?: string;
1190
+ };
1191
+ };
1192
+ };
1193
+ };
1194
+ };
1195
+ };
1196
+ };
1197
+ };
1198
+ };
1199
+ } & {
1200
+ api: {
1201
+ artifacts: {
1202
+ ":artifactId": {
1203
+ versions: {
1204
+ ":version": {
1205
+ get: {
1206
+ body: unknown;
1207
+ params: {
1208
+ version: string;
1209
+ artifactId: string;
1210
+ };
1211
+ query: unknown;
1212
+ headers: unknown;
1213
+ response: {
1214
+ 200: {
1215
+ title: string;
1216
+ version: number;
1217
+ createdAt: string;
1218
+ files: {
1219
+ path: string;
1220
+ file: {
1221
+ blobId: string;
1222
+ digest: string;
1223
+ sizeBytes: number;
1224
+ fileName?: string | undefined;
1225
+ mediaType?: string | undefined;
1226
+ logicalPath?: string | undefined;
1227
+ };
1228
+ }[];
1229
+ author: {
1230
+ id: string;
1231
+ type: "user" | "serviceAccount" | "system";
1232
+ };
1233
+ artifactId: string;
1234
+ entry: string;
1235
+ outline: {
1236
+ kind: "document";
1237
+ headings: {
1238
+ text: string;
1239
+ depth: number;
1240
+ slug: string;
1241
+ }[];
1242
+ } | {
1243
+ kind: "sheet";
1244
+ sheets: {
1245
+ name: string;
1246
+ rows: number;
1247
+ columns: string[];
1248
+ query?: string | undefined;
1249
+ }[];
1250
+ charts: string[];
1251
+ } | {
1252
+ kind: "slides";
1253
+ slides: {
1254
+ title?: string | undefined;
1255
+ }[];
1256
+ } | {
1257
+ kind: "page";
1258
+ title?: string | undefined;
1259
+ } | {
1260
+ kind: "canvas";
1261
+ items: ({
1262
+ id: string;
1263
+ type: "board";
1264
+ file: string;
1265
+ w: number;
1266
+ h: number;
1267
+ title?: string | undefined;
1268
+ } | {
1269
+ id: string;
1270
+ type: "section";
1271
+ title?: string | undefined;
1272
+ })[];
1273
+ } | {
1274
+ kind: "file";
1275
+ mediaType: string;
1276
+ };
1277
+ references: {
1278
+ at: string;
1279
+ address: string;
1280
+ as: "link" | "embed";
1281
+ resolvedVersion: number;
1282
+ }[];
1283
+ origin?: {
1284
+ runId: string;
1285
+ threadId: string;
1286
+ } | undefined;
1287
+ };
1288
+ 404: {
1289
+ error: string;
1290
+ code?: string | undefined;
1291
+ latest?: {
1292
+ version: number;
1293
+ author: {
1294
+ id: string;
1295
+ type: "user" | "serviceAccount" | "system";
1296
+ };
1297
+ } | undefined;
1298
+ };
1299
+ 403: {
1300
+ error: string;
1301
+ code?: string | undefined;
1302
+ latest?: {
1303
+ version: number;
1304
+ author: {
1305
+ id: string;
1306
+ type: "user" | "serviceAccount" | "system";
1307
+ };
1308
+ } | undefined;
1309
+ };
1310
+ 501: {
1311
+ error: string;
1312
+ code?: string | undefined;
1313
+ latest?: {
1314
+ version: number;
1315
+ author: {
1316
+ id: string;
1317
+ type: "user" | "serviceAccount" | "system";
1318
+ };
1319
+ } | undefined;
1320
+ };
1321
+ 422: {
1322
+ type: "validation";
1323
+ on: string;
1324
+ summary?: string;
1325
+ message?: string;
1326
+ found?: unknown;
1327
+ property?: string;
1328
+ expected?: string;
1329
+ };
1330
+ };
1331
+ };
1332
+ };
1333
+ };
1334
+ };
1335
+ };
1336
+ };
1337
+ } & {
1338
+ api: {
1339
+ artifacts: {
1340
+ ":artifactId": {
1341
+ versions: {
1342
+ ":version": {
1343
+ queries: {
1344
+ ":name": {
1345
+ get: {
1346
+ body: unknown;
1347
+ params: {
1348
+ name: string;
1349
+ version: string;
1350
+ artifactId: string;
1351
+ };
1352
+ query: unknown;
1353
+ headers: unknown;
1354
+ response: {
1355
+ 200: {
1356
+ error: string;
1357
+ code?: import("@sixb/core").SixbErrorCode;
1358
+ details?: import("@sixb/core").ReadonlyJsonValue;
1359
+ } | {
1360
+ error: string;
1361
+ issues: readonly import("@sixb/core").ObjectQueryValidationIssue[] | readonly import("@sixb/core/internal/query").ObjectQueryPlanningIssue[];
1362
+ } | {
1363
+ error: string;
1364
+ code: "artifact_not_found";
1365
+ } | {
1366
+ error: string;
1367
+ code: "not_shared";
1368
+ } | {
1369
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1370
+ error: string;
1371
+ code: import("@sixb/core").ArtifactRequestErrorCode;
1372
+ } | import("@sixb/core/internal/artifacts/frames").SerializedArtifactQueryResult;
1373
+ 422: {
1374
+ type: "validation";
1375
+ on: string;
1376
+ summary?: string;
1377
+ message?: string;
1378
+ found?: unknown;
1379
+ property?: string;
1380
+ expected?: string;
1381
+ };
1382
+ };
1383
+ };
1384
+ };
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ };
1390
+ };
1391
+ } & {
1392
+ api: {
1393
+ artifacts: {
1394
+ ":artifactId": {
1395
+ versions: {
1396
+ ":version": {
1397
+ content: {
1398
+ get: {
1399
+ body: unknown;
1400
+ params: {
1401
+ version: string;
1402
+ artifactId: string;
1403
+ };
1404
+ query: {
1405
+ path: string;
1406
+ disposition?: "inline" | "attachment" | undefined;
1407
+ v?: string | undefined;
1408
+ };
1409
+ headers: unknown;
1410
+ response: {
1411
+ 200: Response | {
1412
+ error: string;
1413
+ code?: import("@sixb/core").SixbErrorCode;
1414
+ details?: import("@sixb/core").ReadonlyJsonValue;
1415
+ } | {
1416
+ error: string;
1417
+ code: "artifact_not_found";
1418
+ } | {
1419
+ error: string;
1420
+ code: "not_shared";
1421
+ } | {
1422
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1423
+ error: string;
1424
+ code: import("@sixb/core").ArtifactRequestErrorCode;
1425
+ };
1426
+ 422: {
1427
+ type: "validation";
1428
+ on: string;
1429
+ summary?: string;
1430
+ message?: string;
1431
+ found?: unknown;
1432
+ property?: string;
1433
+ expected?: string;
1434
+ };
1435
+ };
1436
+ };
1437
+ };
1438
+ };
1439
+ };
1440
+ };
1441
+ };
1442
+ };
1443
+ } & {
1444
+ api: {
1445
+ artifacts: {
1446
+ ":artifactId": {
1447
+ versions: {
1448
+ ":version": {
1449
+ content: {
1450
+ head: {
1451
+ body: unknown;
1452
+ params: {
1453
+ version: string;
1454
+ artifactId: string;
1455
+ };
1456
+ query: {
1457
+ path: string;
1458
+ disposition?: "inline" | "attachment" | undefined;
1459
+ v?: string | undefined;
1460
+ };
1461
+ headers: unknown;
1462
+ response: {
1463
+ 200: Response | {
1464
+ error: string;
1465
+ code?: import("@sixb/core").SixbErrorCode;
1466
+ details?: import("@sixb/core").ReadonlyJsonValue;
1467
+ } | {
1468
+ error: string;
1469
+ code: "artifact_not_found";
1470
+ } | {
1471
+ error: string;
1472
+ code: "not_shared";
1473
+ } | {
1474
+ latest?: import("@sixb/core").ArtifactLatestVersion | undefined;
1475
+ error: string;
1476
+ code: import("@sixb/core").ArtifactRequestErrorCode;
1477
+ };
1478
+ 422: {
1479
+ type: "validation";
1480
+ on: string;
1481
+ summary?: string;
1482
+ message?: string;
1483
+ found?: unknown;
1484
+ property?: string;
1485
+ expected?: string;
1486
+ };
1487
+ };
1488
+ };
1489
+ };
1490
+ };
1491
+ };
1492
+ };
1493
+ };
1494
+ };
1495
+ }, {
1496
+ derive: {};
1497
+ resolve: {};
1498
+ schema: {};
1499
+ standaloneSchema: {};
1500
+ response: {};
1501
+ }, {
1502
+ derive: {};
1503
+ resolve: {};
1504
+ schema: {};
1505
+ standaloneSchema: {};
1506
+ response: {};
1507
+ }>;
1508
+ //# sourceMappingURL=artifacts.d.ts.map