@sixb/server 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/artifacts/frame.d.ts +13 -0
  2. package/dist/artifacts/frame.d.ts.map +1 -0
  3. package/dist/auth/browser-origin.d.ts +5 -0
  4. package/dist/auth/browser-origin.d.ts.map +1 -1
  5. package/dist/auth/public-routes.d.ts.map +1 -1
  6. package/dist/files/content.d.ts +2 -3
  7. package/dist/files/content.d.ts.map +1 -1
  8. package/dist/index.js +3427 -2402
  9. package/dist/index.js.map +23 -17
  10. package/dist/openapi/tags.d.ts +10 -2
  11. package/dist/openapi/tags.d.ts.map +1 -1
  12. package/dist/registerRoutes.d.ts +3 -0
  13. package/dist/registerRoutes.d.ts.map +1 -1
  14. package/dist/routes/activity.d.ts +35 -0
  15. package/dist/routes/activity.d.ts.map +1 -0
  16. package/dist/routes/agents.d.ts +18 -27
  17. package/dist/routes/agents.d.ts.map +1 -1
  18. package/dist/routes/artifact-frames.d.ts +98 -0
  19. package/dist/routes/artifact-frames.d.ts.map +1 -0
  20. package/dist/routes/artifacts.d.ts +852 -0
  21. package/dist/routes/artifacts.d.ts.map +1 -0
  22. package/dist/routes/auth.d.ts +1 -1
  23. package/dist/routes/connector-connection-runs.d.ts +59 -59
  24. package/dist/routes/connector-connections.d.ts +2 -2
  25. package/dist/routes/datasets.d.ts +7 -7
  26. package/dist/routes/events.d.ts +1 -1
  27. package/dist/routes/pipelines.d.ts +31 -31
  28. package/dist/routes/projections.d.ts +10 -10
  29. package/dist/routes/share-grants.d.ts +5 -5
  30. package/dist/routes/syncs.d.ts +38 -38
  31. package/dist/routes/workflows.d.ts +30 -30
  32. package/dist/routes/ws/events.d.ts.map +1 -1
  33. package/dist/routes/ws/subscription-hub.d.ts +8 -3
  34. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  35. package/dist/schemas/activity.d.ts +1278 -0
  36. package/dist/schemas/activity.d.ts.map +1 -0
  37. package/dist/schemas/agents.d.ts +96 -144
  38. package/dist/schemas/agents.d.ts.map +1 -1
  39. package/dist/schemas/ai-accounting.d.ts +24 -24
  40. package/dist/schemas/ai-limits.d.ts +26 -26
  41. package/dist/schemas/artifacts.d.ts +1305 -0
  42. package/dist/schemas/artifacts.d.ts.map +1 -0
  43. package/dist/schemas/auth.d.ts +6 -6
  44. package/dist/schemas/connectors.d.ts +30 -30
  45. package/dist/schemas/datasets.d.ts +10 -10
  46. package/dist/schemas/events.d.ts +6 -6
  47. package/dist/schemas/pipelines.d.ts +35 -35
  48. package/dist/schemas/projections.d.ts +40 -40
  49. package/dist/schemas/share-grants.d.ts +16 -16
  50. package/dist/schemas/syncs.d.ts +36 -36
  51. package/dist/schemas/workflows.d.ts +84 -84
  52. package/dist/server.d.ts.map +1 -1
  53. package/package.json +4 -4
  54. package/src/artifacts/frame.ts +46 -0
  55. package/src/auth/browser-origin.ts +12 -2
  56. package/src/auth/public-routes.ts +10 -0
  57. package/src/files/content.ts +9 -13
  58. package/src/openapi/tags.ts +8 -0
  59. package/src/registerRoutes.ts +9 -0
  60. package/src/routes/activity.ts +327 -0
  61. package/src/routes/agents.ts +1 -1
  62. package/src/routes/artifact-frames.ts +138 -0
  63. package/src/routes/artifacts.ts +442 -0
  64. package/src/routes/file-downloads.ts +1 -3
  65. package/src/routes/ws/events.ts +3 -2
  66. package/src/routes/ws/subscription-hub.ts +53 -20
  67. package/src/schemas/activity.ts +285 -0
  68. package/src/schemas/agents.ts +1 -2
  69. package/src/schemas/artifacts.ts +158 -0
  70. package/src/server.ts +25 -9
@@ -0,0 +1,852 @@
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" | "document" | "sheet" | "slides" | 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" | "document" | "sheet" | "slides";
37
+ title: string;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ owner: {
41
+ id: string;
42
+ type: "user" | "serviceAccount" | "system";
43
+ };
44
+ latestVersion: number;
45
+ }[];
46
+ hasMore: boolean;
47
+ total: number;
48
+ };
49
+ 400: {
50
+ error: string;
51
+ code?: string | undefined;
52
+ };
53
+ 501: {
54
+ error: string;
55
+ code?: string | undefined;
56
+ };
57
+ 422: {
58
+ type: "validation";
59
+ on: string;
60
+ summary?: string;
61
+ message?: string;
62
+ found?: unknown;
63
+ property?: string;
64
+ expected?: string;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ };
70
+ } & {
71
+ api: {
72
+ artifacts: {
73
+ post: {
74
+ body: {
75
+ kind: "file" | "document" | "sheet" | "slides";
76
+ files: {
77
+ path: string;
78
+ file: {
79
+ blobId: string;
80
+ digest: string;
81
+ sizeBytes: number;
82
+ fileName?: string | undefined;
83
+ mediaType?: string | undefined;
84
+ logicalPath?: string | undefined;
85
+ };
86
+ }[];
87
+ title: string;
88
+ };
89
+ params: {};
90
+ query: unknown;
91
+ headers: unknown;
92
+ response: {
93
+ 200: {
94
+ error: string;
95
+ code?: import("@sixb/core").SixbErrorCode;
96
+ details?: import("@sixb/core").ReadonlyJsonValue;
97
+ } | {
98
+ version: {
99
+ files: {
100
+ path: string;
101
+ file: {
102
+ blobId: string;
103
+ digest: string;
104
+ sizeBytes: number;
105
+ fileName?: string | undefined;
106
+ mediaType?: string | undefined;
107
+ logicalPath?: string | undefined;
108
+ };
109
+ }[];
110
+ title: string;
111
+ version: number;
112
+ createdAt: string;
113
+ artifactId: string;
114
+ entry: string;
115
+ outline: {
116
+ kind: "document";
117
+ headings: {
118
+ text: string;
119
+ depth: number;
120
+ slug: string;
121
+ }[];
122
+ } | {
123
+ kind: "sheet";
124
+ sheets: {
125
+ name: string;
126
+ rows: number;
127
+ columns: string[];
128
+ }[];
129
+ charts: string[];
130
+ } | {
131
+ kind: "slides";
132
+ slides: {
133
+ title?: string | undefined;
134
+ }[];
135
+ } | {
136
+ kind: "file";
137
+ mediaType: string;
138
+ };
139
+ references: {
140
+ at: string;
141
+ address: string;
142
+ as: "embed" | "link";
143
+ resolvedVersion: number;
144
+ }[];
145
+ author: {
146
+ id: string;
147
+ type: "user" | "serviceAccount" | "system";
148
+ };
149
+ origin?: {
150
+ runId: string;
151
+ threadId: string;
152
+ } | undefined;
153
+ };
154
+ artifact: {
155
+ projectId: string;
156
+ id: string;
157
+ kind: "file" | "document" | "sheet" | "slides";
158
+ title: string;
159
+ createdAt: string;
160
+ updatedAt: string;
161
+ owner: {
162
+ id: string;
163
+ type: "user" | "serviceAccount" | "system";
164
+ };
165
+ latestVersion: number;
166
+ };
167
+ warnings: {
168
+ code: string;
169
+ message: string;
170
+ part?: string | undefined;
171
+ }[];
172
+ } | {
173
+ error: string;
174
+ code: import("@sixb/core").ArtifactRequestErrorCode;
175
+ };
176
+ 404: {
177
+ error: string;
178
+ code?: string | undefined;
179
+ };
180
+ 403: {
181
+ error: string;
182
+ code?: string | undefined;
183
+ };
184
+ 409: {
185
+ error: string;
186
+ code?: string | undefined;
187
+ };
188
+ 400: {
189
+ error: string;
190
+ code?: string | undefined;
191
+ };
192
+ 501: {
193
+ error: string;
194
+ code?: string | undefined;
195
+ };
196
+ 201: {
197
+ version: {
198
+ files: {
199
+ path: string;
200
+ file: {
201
+ blobId: string;
202
+ digest: string;
203
+ sizeBytes: number;
204
+ fileName?: string | undefined;
205
+ mediaType?: string | undefined;
206
+ logicalPath?: string | undefined;
207
+ };
208
+ }[];
209
+ title: string;
210
+ version: number;
211
+ createdAt: string;
212
+ artifactId: string;
213
+ entry: string;
214
+ outline: {
215
+ kind: "document";
216
+ headings: {
217
+ text: string;
218
+ depth: number;
219
+ slug: string;
220
+ }[];
221
+ } | {
222
+ kind: "sheet";
223
+ sheets: {
224
+ name: string;
225
+ rows: number;
226
+ columns: string[];
227
+ }[];
228
+ charts: string[];
229
+ } | {
230
+ kind: "slides";
231
+ slides: {
232
+ title?: string | undefined;
233
+ }[];
234
+ } | {
235
+ kind: "file";
236
+ mediaType: string;
237
+ };
238
+ references: {
239
+ at: string;
240
+ address: string;
241
+ as: "embed" | "link";
242
+ resolvedVersion: number;
243
+ }[];
244
+ author: {
245
+ id: string;
246
+ type: "user" | "serviceAccount" | "system";
247
+ };
248
+ origin?: {
249
+ runId: string;
250
+ threadId: string;
251
+ } | undefined;
252
+ };
253
+ artifact: {
254
+ projectId: string;
255
+ id: string;
256
+ kind: "file" | "document" | "sheet" | "slides";
257
+ title: string;
258
+ createdAt: string;
259
+ updatedAt: string;
260
+ owner: {
261
+ id: string;
262
+ type: "user" | "serviceAccount" | "system";
263
+ };
264
+ latestVersion: number;
265
+ };
266
+ warnings: {
267
+ code: string;
268
+ message: string;
269
+ part?: string | undefined;
270
+ }[];
271
+ };
272
+ 422: {
273
+ type: "validation";
274
+ on: string;
275
+ summary?: string;
276
+ message?: string;
277
+ found?: unknown;
278
+ property?: string;
279
+ expected?: string;
280
+ };
281
+ };
282
+ };
283
+ };
284
+ };
285
+ } & {
286
+ api: {
287
+ artifacts: {
288
+ ":artifactId": {
289
+ get: {
290
+ body: unknown;
291
+ params: {
292
+ artifactId: string;
293
+ };
294
+ query: unknown;
295
+ headers: unknown;
296
+ response: {
297
+ 200: {
298
+ artifact: {
299
+ projectId: string;
300
+ id: string;
301
+ kind: "file" | "document" | "sheet" | "slides";
302
+ title: string;
303
+ createdAt: string;
304
+ updatedAt: string;
305
+ owner: {
306
+ id: string;
307
+ type: "user" | "serviceAccount" | "system";
308
+ };
309
+ latestVersion: number;
310
+ };
311
+ versions: {
312
+ title: string;
313
+ version: number;
314
+ createdAt: string;
315
+ author: {
316
+ id: string;
317
+ type: "user" | "serviceAccount" | "system";
318
+ };
319
+ origin?: {
320
+ runId: string;
321
+ threadId: string;
322
+ } | undefined;
323
+ }[];
324
+ };
325
+ 404: {
326
+ error: string;
327
+ code?: string | undefined;
328
+ };
329
+ 501: {
330
+ error: string;
331
+ code?: string | undefined;
332
+ };
333
+ 422: {
334
+ type: "validation";
335
+ on: string;
336
+ summary?: string;
337
+ message?: string;
338
+ found?: unknown;
339
+ property?: string;
340
+ expected?: string;
341
+ };
342
+ };
343
+ };
344
+ };
345
+ };
346
+ };
347
+ } & {
348
+ api: {
349
+ artifacts: {
350
+ ":artifactId": {
351
+ delete: {
352
+ body: unknown;
353
+ params: {
354
+ artifactId: string;
355
+ };
356
+ query: unknown;
357
+ headers: unknown;
358
+ response: {
359
+ 200: {
360
+ deleted: true;
361
+ };
362
+ 404: {
363
+ error: string;
364
+ code?: string | undefined;
365
+ };
366
+ 501: {
367
+ error: string;
368
+ code?: string | undefined;
369
+ };
370
+ 422: {
371
+ type: "validation";
372
+ on: string;
373
+ summary?: string;
374
+ message?: string;
375
+ found?: unknown;
376
+ property?: string;
377
+ expected?: string;
378
+ };
379
+ };
380
+ };
381
+ };
382
+ };
383
+ };
384
+ } & {
385
+ api: {
386
+ artifacts: {
387
+ ":artifactId": {
388
+ versions: {
389
+ post: {
390
+ body: {
391
+ kind: "file" | "document" | "sheet" | "slides";
392
+ files: {
393
+ path: string;
394
+ file: {
395
+ blobId: string;
396
+ digest: string;
397
+ sizeBytes: number;
398
+ fileName?: string | undefined;
399
+ mediaType?: string | undefined;
400
+ logicalPath?: string | undefined;
401
+ };
402
+ }[];
403
+ title: string;
404
+ };
405
+ params: {
406
+ artifactId: string;
407
+ };
408
+ query: unknown;
409
+ headers: unknown;
410
+ response: {
411
+ 200: {
412
+ error: string;
413
+ code?: import("@sixb/core").SixbErrorCode;
414
+ details?: import("@sixb/core").ReadonlyJsonValue;
415
+ } | {
416
+ version: {
417
+ files: {
418
+ path: string;
419
+ file: {
420
+ blobId: string;
421
+ digest: string;
422
+ sizeBytes: number;
423
+ fileName?: string | undefined;
424
+ mediaType?: string | undefined;
425
+ logicalPath?: string | undefined;
426
+ };
427
+ }[];
428
+ title: string;
429
+ version: number;
430
+ createdAt: string;
431
+ artifactId: string;
432
+ entry: string;
433
+ outline: {
434
+ kind: "document";
435
+ headings: {
436
+ text: string;
437
+ depth: number;
438
+ slug: string;
439
+ }[];
440
+ } | {
441
+ kind: "sheet";
442
+ sheets: {
443
+ name: string;
444
+ rows: number;
445
+ columns: string[];
446
+ }[];
447
+ charts: string[];
448
+ } | {
449
+ kind: "slides";
450
+ slides: {
451
+ title?: string | undefined;
452
+ }[];
453
+ } | {
454
+ kind: "file";
455
+ mediaType: string;
456
+ };
457
+ references: {
458
+ at: string;
459
+ address: string;
460
+ as: "embed" | "link";
461
+ resolvedVersion: number;
462
+ }[];
463
+ author: {
464
+ id: string;
465
+ type: "user" | "serviceAccount" | "system";
466
+ };
467
+ origin?: {
468
+ runId: string;
469
+ threadId: string;
470
+ } | undefined;
471
+ };
472
+ artifact: {
473
+ projectId: string;
474
+ id: string;
475
+ kind: "file" | "document" | "sheet" | "slides";
476
+ title: string;
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ owner: {
480
+ id: string;
481
+ type: "user" | "serviceAccount" | "system";
482
+ };
483
+ latestVersion: number;
484
+ };
485
+ warnings: {
486
+ code: string;
487
+ message: string;
488
+ part?: string | undefined;
489
+ }[];
490
+ } | {
491
+ error: string;
492
+ code: import("@sixb/core").ArtifactRequestErrorCode;
493
+ };
494
+ 404: {
495
+ error: string;
496
+ code?: string | undefined;
497
+ };
498
+ 403: {
499
+ error: string;
500
+ code?: string | undefined;
501
+ };
502
+ 409: {
503
+ error: string;
504
+ code?: string | undefined;
505
+ };
506
+ 400: {
507
+ error: string;
508
+ code?: string | undefined;
509
+ };
510
+ 501: {
511
+ error: string;
512
+ code?: string | undefined;
513
+ };
514
+ 201: {
515
+ version: {
516
+ files: {
517
+ path: string;
518
+ file: {
519
+ blobId: string;
520
+ digest: string;
521
+ sizeBytes: number;
522
+ fileName?: string | undefined;
523
+ mediaType?: string | undefined;
524
+ logicalPath?: string | undefined;
525
+ };
526
+ }[];
527
+ title: string;
528
+ version: number;
529
+ createdAt: string;
530
+ artifactId: string;
531
+ entry: string;
532
+ outline: {
533
+ kind: "document";
534
+ headings: {
535
+ text: string;
536
+ depth: number;
537
+ slug: string;
538
+ }[];
539
+ } | {
540
+ kind: "sheet";
541
+ sheets: {
542
+ name: string;
543
+ rows: number;
544
+ columns: string[];
545
+ }[];
546
+ charts: string[];
547
+ } | {
548
+ kind: "slides";
549
+ slides: {
550
+ title?: string | undefined;
551
+ }[];
552
+ } | {
553
+ kind: "file";
554
+ mediaType: string;
555
+ };
556
+ references: {
557
+ at: string;
558
+ address: string;
559
+ as: "embed" | "link";
560
+ resolvedVersion: number;
561
+ }[];
562
+ author: {
563
+ id: string;
564
+ type: "user" | "serviceAccount" | "system";
565
+ };
566
+ origin?: {
567
+ runId: string;
568
+ threadId: string;
569
+ } | undefined;
570
+ };
571
+ artifact: {
572
+ projectId: string;
573
+ id: string;
574
+ kind: "file" | "document" | "sheet" | "slides";
575
+ title: string;
576
+ createdAt: string;
577
+ updatedAt: string;
578
+ owner: {
579
+ id: string;
580
+ type: "user" | "serviceAccount" | "system";
581
+ };
582
+ latestVersion: number;
583
+ };
584
+ warnings: {
585
+ code: string;
586
+ message: string;
587
+ part?: string | undefined;
588
+ }[];
589
+ };
590
+ 422: {
591
+ type: "validation";
592
+ on: string;
593
+ summary?: string;
594
+ message?: string;
595
+ found?: unknown;
596
+ property?: string;
597
+ expected?: string;
598
+ };
599
+ };
600
+ };
601
+ };
602
+ };
603
+ };
604
+ };
605
+ } & {
606
+ api: {
607
+ artifacts: {
608
+ ":artifactId": {
609
+ versions: {
610
+ ":version": {
611
+ frame: {
612
+ post: {
613
+ body: unknown;
614
+ params: {
615
+ version: string;
616
+ artifactId: string;
617
+ };
618
+ query: unknown;
619
+ headers: unknown;
620
+ response: {
621
+ 200: {
622
+ path: string;
623
+ expiresAt: string;
624
+ };
625
+ 404: {
626
+ error: string;
627
+ code?: string | undefined;
628
+ };
629
+ 409: {
630
+ error: string;
631
+ code?: string | undefined;
632
+ };
633
+ 501: {
634
+ error: string;
635
+ code?: string | undefined;
636
+ };
637
+ 422: {
638
+ type: "validation";
639
+ on: string;
640
+ summary?: string;
641
+ message?: string;
642
+ found?: unknown;
643
+ property?: string;
644
+ expected?: string;
645
+ };
646
+ };
647
+ };
648
+ };
649
+ };
650
+ };
651
+ };
652
+ };
653
+ };
654
+ } & {
655
+ api: {
656
+ artifacts: {
657
+ ":artifactId": {
658
+ versions: {
659
+ ":version": {
660
+ get: {
661
+ body: unknown;
662
+ params: {
663
+ version: string;
664
+ artifactId: string;
665
+ };
666
+ query: unknown;
667
+ headers: unknown;
668
+ response: {
669
+ 200: {
670
+ files: {
671
+ path: string;
672
+ file: {
673
+ blobId: string;
674
+ digest: string;
675
+ sizeBytes: number;
676
+ fileName?: string | undefined;
677
+ mediaType?: string | undefined;
678
+ logicalPath?: string | undefined;
679
+ };
680
+ }[];
681
+ title: string;
682
+ version: number;
683
+ createdAt: string;
684
+ artifactId: string;
685
+ entry: string;
686
+ outline: {
687
+ kind: "document";
688
+ headings: {
689
+ text: string;
690
+ depth: number;
691
+ slug: string;
692
+ }[];
693
+ } | {
694
+ kind: "sheet";
695
+ sheets: {
696
+ name: string;
697
+ rows: number;
698
+ columns: string[];
699
+ }[];
700
+ charts: string[];
701
+ } | {
702
+ kind: "slides";
703
+ slides: {
704
+ title?: string | undefined;
705
+ }[];
706
+ } | {
707
+ kind: "file";
708
+ mediaType: string;
709
+ };
710
+ references: {
711
+ at: string;
712
+ address: string;
713
+ as: "embed" | "link";
714
+ resolvedVersion: number;
715
+ }[];
716
+ author: {
717
+ id: string;
718
+ type: "user" | "serviceAccount" | "system";
719
+ };
720
+ origin?: {
721
+ runId: string;
722
+ threadId: string;
723
+ } | undefined;
724
+ };
725
+ 404: {
726
+ error: string;
727
+ code?: string | undefined;
728
+ };
729
+ 501: {
730
+ error: string;
731
+ code?: string | undefined;
732
+ };
733
+ 422: {
734
+ type: "validation";
735
+ on: string;
736
+ summary?: string;
737
+ message?: string;
738
+ found?: unknown;
739
+ property?: string;
740
+ expected?: string;
741
+ };
742
+ };
743
+ };
744
+ };
745
+ };
746
+ };
747
+ };
748
+ };
749
+ } & {
750
+ api: {
751
+ artifacts: {
752
+ ":artifactId": {
753
+ versions: {
754
+ ":version": {
755
+ content: {
756
+ get: {
757
+ body: unknown;
758
+ params: {
759
+ version: string;
760
+ artifactId: string;
761
+ };
762
+ query: {
763
+ path: string;
764
+ disposition?: "inline" | "attachment" | undefined;
765
+ v?: string | undefined;
766
+ };
767
+ headers: unknown;
768
+ response: {
769
+ 200: Response | {
770
+ error: string;
771
+ code?: import("@sixb/core").SixbErrorCode;
772
+ details?: import("@sixb/core").ReadonlyJsonValue;
773
+ } | {
774
+ error: string;
775
+ code: import("@sixb/core").ArtifactRequestErrorCode;
776
+ };
777
+ 422: {
778
+ type: "validation";
779
+ on: string;
780
+ summary?: string;
781
+ message?: string;
782
+ found?: unknown;
783
+ property?: string;
784
+ expected?: string;
785
+ };
786
+ };
787
+ };
788
+ };
789
+ };
790
+ };
791
+ };
792
+ };
793
+ };
794
+ } & {
795
+ api: {
796
+ artifacts: {
797
+ ":artifactId": {
798
+ versions: {
799
+ ":version": {
800
+ content: {
801
+ head: {
802
+ body: unknown;
803
+ params: {
804
+ version: string;
805
+ artifactId: string;
806
+ };
807
+ query: {
808
+ path: string;
809
+ disposition?: "inline" | "attachment" | undefined;
810
+ v?: string | undefined;
811
+ };
812
+ headers: unknown;
813
+ response: {
814
+ 200: Response | {
815
+ error: string;
816
+ code?: import("@sixb/core").SixbErrorCode;
817
+ details?: import("@sixb/core").ReadonlyJsonValue;
818
+ } | {
819
+ error: string;
820
+ code: import("@sixb/core").ArtifactRequestErrorCode;
821
+ };
822
+ 422: {
823
+ type: "validation";
824
+ on: string;
825
+ summary?: string;
826
+ message?: string;
827
+ found?: unknown;
828
+ property?: string;
829
+ expected?: string;
830
+ };
831
+ };
832
+ };
833
+ };
834
+ };
835
+ };
836
+ };
837
+ };
838
+ };
839
+ }, {
840
+ derive: {};
841
+ resolve: {};
842
+ schema: {};
843
+ standaloneSchema: {};
844
+ response: {};
845
+ }, {
846
+ derive: {};
847
+ resolve: {};
848
+ schema: {};
849
+ standaloneSchema: {};
850
+ response: {};
851
+ }>;
852
+ //# sourceMappingURL=artifacts.d.ts.map