@payloadcms/figma 0.0.1-alpha.29 → 0.0.1-alpha.30
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.
- package/dist/api/figma-api.d.ts.map +1 -1
- package/dist/api/figma-api.js +4 -0
- package/dist/api/figma-api.js.map +1 -1
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +32 -50
- package/dist/commands/deploy.js.map +1 -1
- package/dist/db-content-api/README.md +108 -0
- package/dist/db-content-api/generated/content-api-types.d.ts +763 -190
- package/dist/db-content-api/generated/content-api-types.d.ts.map +1 -1
- package/dist/db-content-api/generated/content-api-types.js.map +1 -1
- package/dist/db-content-api/index.d.ts +6 -19
- package/dist/db-content-api/index.d.ts.map +1 -1
- package/dist/db-content-api/index.js +396 -687
- package/dist/db-content-api/index.js.map +1 -1
- package/dist/db-content-api/temp-utilities/pagination.d.ts +13 -0
- package/dist/db-content-api/temp-utilities/pagination.d.ts.map +1 -0
- package/dist/db-content-api/temp-utilities/pagination.js +45 -0
- package/dist/db-content-api/temp-utilities/pagination.js.map +1 -0
- package/dist/db-content-api/temp-utilities/slug.d.ts +2 -0
- package/dist/db-content-api/temp-utilities/slug.d.ts.map +1 -0
- package/dist/db-content-api/temp-utilities/slug.js +3 -0
- package/dist/db-content-api/temp-utilities/slug.js.map +1 -0
- package/dist/db-content-api/temp-utilities/sorting.d.ts +7 -0
- package/dist/db-content-api/temp-utilities/sorting.d.ts.map +1 -0
- package/dist/db-content-api/temp-utilities/sorting.js +71 -0
- package/dist/db-content-api/temp-utilities/sorting.js.map +1 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.d.ts +4 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.d.ts.map +1 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.js +45 -0
- package/dist/db-content-api/temp-utilities/unwrapDocument.js.map +1 -0
- package/dist/db-content-api/utilities/auth.d.ts +30 -0
- package/dist/db-content-api/utilities/auth.d.ts.map +1 -0
- package/dist/db-content-api/utilities/auth.js +81 -0
- package/dist/db-content-api/utilities/auth.js.map +1 -0
- package/dist/db-content-api/utilities/data.d.ts +24 -0
- package/dist/db-content-api/utilities/data.d.ts.map +1 -0
- package/dist/db-content-api/utilities/data.js +118 -0
- package/dist/db-content-api/utilities/data.js.map +1 -0
- package/dist/db-content-api/utilities/joins.d.ts +55 -0
- package/dist/db-content-api/utilities/joins.d.ts.map +1 -0
- package/dist/db-content-api/utilities/joins.js +130 -0
- package/dist/db-content-api/utilities/joins.js.map +1 -0
- package/dist/db-content-api/utilities/where.d.ts +12 -0
- package/dist/db-content-api/utilities/where.d.ts.map +1 -0
- package/dist/db-content-api/utilities/where.js +63 -0
- package/dist/db-content-api/utilities/where.js.map +1 -0
- package/dist/plugin/build-config.d.ts +1 -0
- package/dist/plugin/build-config.d.ts.map +1 -1
- package/dist/plugin/build-config.js +38 -0
- package/dist/plugin/build-config.js.map +1 -1
- package/dist/storage-content-api/api-types.d.ts +161 -0
- package/dist/storage-content-api/api-types.d.ts.map +1 -0
- package/dist/storage-content-api/api-types.js +6 -0
- package/dist/storage-content-api/api-types.js.map +1 -0
- package/dist/storage-content-api/client.d.ts +6 -0
- package/dist/storage-content-api/client.d.ts.map +1 -0
- package/dist/storage-content-api/client.js +36 -0
- package/dist/storage-content-api/client.js.map +1 -0
- package/dist/storage-content-api/generateURL.d.ts +7 -0
- package/dist/storage-content-api/generateURL.d.ts.map +1 -0
- package/dist/storage-content-api/generateURL.js +7 -0
- package/dist/storage-content-api/generateURL.js.map +1 -0
- package/dist/storage-content-api/handleDelete.d.ts +8 -0
- package/dist/storage-content-api/handleDelete.d.ts.map +1 -0
- package/dist/storage-content-api/handleDelete.js +15 -0
- package/dist/storage-content-api/handleDelete.js.map +1 -0
- package/dist/storage-content-api/handleUpload.d.ts +11 -0
- package/dist/storage-content-api/handleUpload.d.ts.map +1 -0
- package/dist/storage-content-api/handleUpload.js +126 -0
- package/dist/storage-content-api/handleUpload.js.map +1 -0
- package/dist/storage-content-api/index.d.ts +5 -0
- package/dist/storage-content-api/index.d.ts.map +1 -0
- package/dist/storage-content-api/index.js +31 -0
- package/dist/storage-content-api/index.js.map +1 -0
- package/dist/storage-content-api/staticHandler.d.ts +10 -0
- package/dist/storage-content-api/staticHandler.d.ts.map +1 -0
- package/dist/storage-content-api/staticHandler.js +35 -0
- package/dist/storage-content-api/staticHandler.js.map +1 -0
- package/dist/storage-content-api/types.d.ts +10 -0
- package/dist/storage-content-api/types.d.ts.map +1 -0
- package/dist/storage-content-api/types.js +3 -0
- package/dist/storage-content-api/types.js.map +1 -0
- package/dist/utils/lambda-config.d.ts.map +1 -1
- package/dist/utils/lambda-config.js +1 -0
- package/dist/utils/lambda-config.js.map +1 -1
- package/package.json +5 -2
- package/dist/db-content-api/types.d.ts +0 -31
- package/dist/db-content-api/types.d.ts.map +0 -1
- package/dist/db-content-api/types.js +0 -7
- package/dist/db-content-api/types.js.map +0 -1
|
@@ -28,13 +28,14 @@ export type paths = {
|
|
|
28
28
|
'application/json': components['schemas']['AuthContextResponse'];
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
/** @description
|
|
31
|
+
/** @description Unauthorized */
|
|
32
32
|
401: {
|
|
33
33
|
headers: {
|
|
34
34
|
[name: string]: unknown;
|
|
35
35
|
};
|
|
36
36
|
content: {
|
|
37
37
|
'application/json': {
|
|
38
|
+
/** @example Error message describing the issue. */
|
|
38
39
|
message: string;
|
|
39
40
|
};
|
|
40
41
|
};
|
|
@@ -111,7 +112,7 @@ export type paths = {
|
|
|
111
112
|
'application/json': components['schemas']['ListApiKeysResponse'];
|
|
112
113
|
};
|
|
113
114
|
};
|
|
114
|
-
/** @description
|
|
115
|
+
/** @description No content system scope found */
|
|
115
116
|
400: {
|
|
116
117
|
headers: {
|
|
117
118
|
[name: string]: unknown;
|
|
@@ -123,8 +124,8 @@ export type paths = {
|
|
|
123
124
|
};
|
|
124
125
|
};
|
|
125
126
|
};
|
|
126
|
-
/** @description
|
|
127
|
-
|
|
127
|
+
/** @description Unauthorized */
|
|
128
|
+
401: {
|
|
128
129
|
headers: {
|
|
129
130
|
[name: string]: unknown;
|
|
130
131
|
};
|
|
@@ -135,8 +136,8 @@ export type paths = {
|
|
|
135
136
|
};
|
|
136
137
|
};
|
|
137
138
|
};
|
|
138
|
-
/** @description
|
|
139
|
-
|
|
139
|
+
/** @description Forbidden */
|
|
140
|
+
403: {
|
|
140
141
|
headers: {
|
|
141
142
|
[name: string]: unknown;
|
|
142
143
|
};
|
|
@@ -172,7 +173,7 @@ export type paths = {
|
|
|
172
173
|
'application/json': components['schemas']['CreateApiKeyResponse'];
|
|
173
174
|
};
|
|
174
175
|
};
|
|
175
|
-
/** @description Bad
|
|
176
|
+
/** @description Bad Request */
|
|
176
177
|
400: {
|
|
177
178
|
headers: {
|
|
178
179
|
[name: string]: unknown;
|
|
@@ -184,6 +185,18 @@ export type paths = {
|
|
|
184
185
|
};
|
|
185
186
|
};
|
|
186
187
|
};
|
|
188
|
+
/** @description Unauthorized */
|
|
189
|
+
401: {
|
|
190
|
+
headers: {
|
|
191
|
+
[name: string]: unknown;
|
|
192
|
+
};
|
|
193
|
+
content: {
|
|
194
|
+
'application/json': {
|
|
195
|
+
/** @example Error message describing the issue. */
|
|
196
|
+
message: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
187
200
|
/** @description Forbidden */
|
|
188
201
|
403: {
|
|
189
202
|
headers: {
|
|
@@ -196,7 +209,7 @@ export type paths = {
|
|
|
196
209
|
};
|
|
197
210
|
};
|
|
198
211
|
};
|
|
199
|
-
/** @description
|
|
212
|
+
/** @description Failed to create API key */
|
|
200
213
|
500: {
|
|
201
214
|
headers: {
|
|
202
215
|
[name: string]: unknown;
|
|
@@ -244,7 +257,7 @@ export type paths = {
|
|
|
244
257
|
};
|
|
245
258
|
content?: never;
|
|
246
259
|
};
|
|
247
|
-
/** @description Bad
|
|
260
|
+
/** @description Bad Request */
|
|
248
261
|
400: {
|
|
249
262
|
headers: {
|
|
250
263
|
[name: string]: unknown;
|
|
@@ -256,6 +269,18 @@ export type paths = {
|
|
|
256
269
|
};
|
|
257
270
|
};
|
|
258
271
|
};
|
|
272
|
+
/** @description Unauthorized */
|
|
273
|
+
401: {
|
|
274
|
+
headers: {
|
|
275
|
+
[name: string]: unknown;
|
|
276
|
+
};
|
|
277
|
+
content: {
|
|
278
|
+
'application/json': {
|
|
279
|
+
/** @example Error message describing the issue. */
|
|
280
|
+
message: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
};
|
|
259
284
|
/** @description Forbidden */
|
|
260
285
|
403: {
|
|
261
286
|
headers: {
|
|
@@ -268,7 +293,7 @@ export type paths = {
|
|
|
268
293
|
};
|
|
269
294
|
};
|
|
270
295
|
};
|
|
271
|
-
/** @description Not
|
|
296
|
+
/** @description Not Found */
|
|
272
297
|
404: {
|
|
273
298
|
headers: {
|
|
274
299
|
[name: string]: unknown;
|
|
@@ -280,7 +305,7 @@ export type paths = {
|
|
|
280
305
|
};
|
|
281
306
|
};
|
|
282
307
|
};
|
|
283
|
-
/** @description Internal
|
|
308
|
+
/** @description Internal Server Error */
|
|
284
309
|
500: {
|
|
285
310
|
headers: {
|
|
286
311
|
[name: string]: unknown;
|
|
@@ -327,7 +352,7 @@ export type paths = {
|
|
|
327
352
|
};
|
|
328
353
|
};
|
|
329
354
|
};
|
|
330
|
-
/** @description Bad
|
|
355
|
+
/** @description Bad Request */
|
|
331
356
|
400: {
|
|
332
357
|
headers: {
|
|
333
358
|
[name: string]: unknown;
|
|
@@ -339,6 +364,18 @@ export type paths = {
|
|
|
339
364
|
};
|
|
340
365
|
};
|
|
341
366
|
};
|
|
367
|
+
/** @description Unauthorized */
|
|
368
|
+
401: {
|
|
369
|
+
headers: {
|
|
370
|
+
[name: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
content: {
|
|
373
|
+
'application/json': {
|
|
374
|
+
/** @example Error message describing the issue. */
|
|
375
|
+
message: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
};
|
|
342
379
|
/** @description Forbidden */
|
|
343
380
|
403: {
|
|
344
381
|
headers: {
|
|
@@ -351,7 +388,7 @@ export type paths = {
|
|
|
351
388
|
};
|
|
352
389
|
};
|
|
353
390
|
};
|
|
354
|
-
/** @description Internal
|
|
391
|
+
/** @description Internal Server Error */
|
|
355
392
|
500: {
|
|
356
393
|
headers: {
|
|
357
394
|
[name: string]: unknown;
|
|
@@ -388,7 +425,7 @@ export type paths = {
|
|
|
388
425
|
'application/json': components['schemas']['CreateContentSystemResponse'];
|
|
389
426
|
};
|
|
390
427
|
};
|
|
391
|
-
/** @description Bad
|
|
428
|
+
/** @description Bad Request */
|
|
392
429
|
400: {
|
|
393
430
|
headers: {
|
|
394
431
|
[name: string]: unknown;
|
|
@@ -400,6 +437,18 @@ export type paths = {
|
|
|
400
437
|
};
|
|
401
438
|
};
|
|
402
439
|
};
|
|
440
|
+
/** @description Unauthorized */
|
|
441
|
+
401: {
|
|
442
|
+
headers: {
|
|
443
|
+
[name: string]: unknown;
|
|
444
|
+
};
|
|
445
|
+
content: {
|
|
446
|
+
'application/json': {
|
|
447
|
+
/** @example Error message describing the issue. */
|
|
448
|
+
message: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
};
|
|
403
452
|
/** @description Forbidden */
|
|
404
453
|
403: {
|
|
405
454
|
headers: {
|
|
@@ -424,7 +473,7 @@ export type paths = {
|
|
|
424
473
|
};
|
|
425
474
|
};
|
|
426
475
|
};
|
|
427
|
-
/** @description Unprocessable
|
|
476
|
+
/** @description Unprocessable Entity */
|
|
428
477
|
422: {
|
|
429
478
|
headers: {
|
|
430
479
|
[name: string]: unknown;
|
|
@@ -436,7 +485,7 @@ export type paths = {
|
|
|
436
485
|
};
|
|
437
486
|
};
|
|
438
487
|
};
|
|
439
|
-
/** @description Internal
|
|
488
|
+
/** @description Internal Server Error */
|
|
440
489
|
500: {
|
|
441
490
|
headers: {
|
|
442
491
|
[name: string]: unknown;
|
|
@@ -483,7 +532,7 @@ export type paths = {
|
|
|
483
532
|
'application/json': components['schemas']['RetrieveContentSystemResponse'];
|
|
484
533
|
};
|
|
485
534
|
};
|
|
486
|
-
/** @description Bad
|
|
535
|
+
/** @description Bad Request */
|
|
487
536
|
400: {
|
|
488
537
|
headers: {
|
|
489
538
|
[name: string]: unknown;
|
|
@@ -495,6 +544,18 @@ export type paths = {
|
|
|
495
544
|
};
|
|
496
545
|
};
|
|
497
546
|
};
|
|
547
|
+
/** @description Unauthorized */
|
|
548
|
+
401: {
|
|
549
|
+
headers: {
|
|
550
|
+
[name: string]: unknown;
|
|
551
|
+
};
|
|
552
|
+
content: {
|
|
553
|
+
'application/json': {
|
|
554
|
+
/** @example Error message describing the issue. */
|
|
555
|
+
message: string;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
};
|
|
498
559
|
/** @description Forbidden */
|
|
499
560
|
403: {
|
|
500
561
|
headers: {
|
|
@@ -507,7 +568,7 @@ export type paths = {
|
|
|
507
568
|
};
|
|
508
569
|
};
|
|
509
570
|
};
|
|
510
|
-
/** @description Not
|
|
571
|
+
/** @description Not Found */
|
|
511
572
|
404: {
|
|
512
573
|
headers: {
|
|
513
574
|
[name: string]: unknown;
|
|
@@ -519,7 +580,7 @@ export type paths = {
|
|
|
519
580
|
};
|
|
520
581
|
};
|
|
521
582
|
};
|
|
522
|
-
/** @description Internal
|
|
583
|
+
/** @description Internal Server Error */
|
|
523
584
|
500: {
|
|
524
585
|
headers: {
|
|
525
586
|
[name: string]: unknown;
|
|
@@ -557,7 +618,7 @@ export type paths = {
|
|
|
557
618
|
'application/json': components['schemas']['UpdateContentSystemResponse'];
|
|
558
619
|
};
|
|
559
620
|
};
|
|
560
|
-
/** @description Bad
|
|
621
|
+
/** @description Bad Request */
|
|
561
622
|
400: {
|
|
562
623
|
headers: {
|
|
563
624
|
[name: string]: unknown;
|
|
@@ -569,6 +630,18 @@ export type paths = {
|
|
|
569
630
|
};
|
|
570
631
|
};
|
|
571
632
|
};
|
|
633
|
+
/** @description Unauthorized */
|
|
634
|
+
401: {
|
|
635
|
+
headers: {
|
|
636
|
+
[name: string]: unknown;
|
|
637
|
+
};
|
|
638
|
+
content: {
|
|
639
|
+
'application/json': {
|
|
640
|
+
/** @example Error message describing the issue. */
|
|
641
|
+
message: string;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
};
|
|
572
645
|
/** @description Forbidden */
|
|
573
646
|
403: {
|
|
574
647
|
headers: {
|
|
@@ -581,7 +654,7 @@ export type paths = {
|
|
|
581
654
|
};
|
|
582
655
|
};
|
|
583
656
|
};
|
|
584
|
-
/** @description Not
|
|
657
|
+
/** @description Not Found */
|
|
585
658
|
404: {
|
|
586
659
|
headers: {
|
|
587
660
|
[name: string]: unknown;
|
|
@@ -605,7 +678,7 @@ export type paths = {
|
|
|
605
678
|
};
|
|
606
679
|
};
|
|
607
680
|
};
|
|
608
|
-
/** @description Internal
|
|
681
|
+
/** @description Internal Server Error */
|
|
609
682
|
500: {
|
|
610
683
|
headers: {
|
|
611
684
|
[name: string]: unknown;
|
|
@@ -638,6 +711,18 @@ export type paths = {
|
|
|
638
711
|
};
|
|
639
712
|
content?: never;
|
|
640
713
|
};
|
|
714
|
+
/** @description Unauthorized */
|
|
715
|
+
401: {
|
|
716
|
+
headers: {
|
|
717
|
+
[name: string]: unknown;
|
|
718
|
+
};
|
|
719
|
+
content: {
|
|
720
|
+
'application/json': {
|
|
721
|
+
/** @example Error message describing the issue. */
|
|
722
|
+
message: string;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
641
726
|
/** @description Forbidden */
|
|
642
727
|
403: {
|
|
643
728
|
headers: {
|
|
@@ -650,7 +735,7 @@ export type paths = {
|
|
|
650
735
|
};
|
|
651
736
|
};
|
|
652
737
|
};
|
|
653
|
-
/** @description Not
|
|
738
|
+
/** @description Not Found */
|
|
654
739
|
404: {
|
|
655
740
|
headers: {
|
|
656
741
|
[name: string]: unknown;
|
|
@@ -662,7 +747,7 @@ export type paths = {
|
|
|
662
747
|
};
|
|
663
748
|
};
|
|
664
749
|
};
|
|
665
|
-
/** @description Internal
|
|
750
|
+
/** @description Internal Server Error */
|
|
666
751
|
500: {
|
|
667
752
|
headers: {
|
|
668
753
|
[name: string]: unknown;
|
|
@@ -681,7 +766,7 @@ export type paths = {
|
|
|
681
766
|
patch?: never;
|
|
682
767
|
trace?: never;
|
|
683
768
|
};
|
|
684
|
-
'/api/v0/collections': {
|
|
769
|
+
'/api/v0/content_systems/{contentSystemId}/collections': {
|
|
685
770
|
parameters: {
|
|
686
771
|
query?: never;
|
|
687
772
|
header?: never;
|
|
@@ -690,12 +775,13 @@ export type paths = {
|
|
|
690
775
|
};
|
|
691
776
|
get: {
|
|
692
777
|
parameters: {
|
|
693
|
-
query
|
|
694
|
-
|
|
695
|
-
key?: string;
|
|
778
|
+
query?: {
|
|
779
|
+
id?: string;
|
|
696
780
|
};
|
|
697
781
|
header?: never;
|
|
698
|
-
path
|
|
782
|
+
path: {
|
|
783
|
+
contentSystemId: string;
|
|
784
|
+
};
|
|
699
785
|
cookie?: never;
|
|
700
786
|
};
|
|
701
787
|
requestBody?: never;
|
|
@@ -712,7 +798,7 @@ export type paths = {
|
|
|
712
798
|
};
|
|
713
799
|
};
|
|
714
800
|
};
|
|
715
|
-
/** @description Bad
|
|
801
|
+
/** @description Bad Request */
|
|
716
802
|
400: {
|
|
717
803
|
headers: {
|
|
718
804
|
[name: string]: unknown;
|
|
@@ -724,6 +810,18 @@ export type paths = {
|
|
|
724
810
|
};
|
|
725
811
|
};
|
|
726
812
|
};
|
|
813
|
+
/** @description Unauthorized */
|
|
814
|
+
401: {
|
|
815
|
+
headers: {
|
|
816
|
+
[name: string]: unknown;
|
|
817
|
+
};
|
|
818
|
+
content: {
|
|
819
|
+
'application/json': {
|
|
820
|
+
/** @example Error message describing the issue. */
|
|
821
|
+
message: string;
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
};
|
|
727
825
|
/** @description Forbidden */
|
|
728
826
|
403: {
|
|
729
827
|
headers: {
|
|
@@ -736,7 +834,7 @@ export type paths = {
|
|
|
736
834
|
};
|
|
737
835
|
};
|
|
738
836
|
};
|
|
739
|
-
/** @description Internal
|
|
837
|
+
/** @description Internal Server Error */
|
|
740
838
|
500: {
|
|
741
839
|
headers: {
|
|
742
840
|
[name: string]: unknown;
|
|
@@ -755,7 +853,9 @@ export type paths = {
|
|
|
755
853
|
parameters: {
|
|
756
854
|
query?: never;
|
|
757
855
|
header?: never;
|
|
758
|
-
path
|
|
856
|
+
path: {
|
|
857
|
+
contentSystemId: string;
|
|
858
|
+
};
|
|
759
859
|
cookie?: never;
|
|
760
860
|
};
|
|
761
861
|
requestBody?: {
|
|
@@ -773,7 +873,7 @@ export type paths = {
|
|
|
773
873
|
'application/json': components['schemas']['CreateCollectionResponse'];
|
|
774
874
|
};
|
|
775
875
|
};
|
|
776
|
-
/** @description Bad
|
|
876
|
+
/** @description Bad Request */
|
|
777
877
|
400: {
|
|
778
878
|
headers: {
|
|
779
879
|
[name: string]: unknown;
|
|
@@ -785,6 +885,18 @@ export type paths = {
|
|
|
785
885
|
};
|
|
786
886
|
};
|
|
787
887
|
};
|
|
888
|
+
/** @description Unauthorized */
|
|
889
|
+
401: {
|
|
890
|
+
headers: {
|
|
891
|
+
[name: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
content: {
|
|
894
|
+
'application/json': {
|
|
895
|
+
/** @example Error message describing the issue. */
|
|
896
|
+
message: string;
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
};
|
|
788
900
|
/** @description Forbidden */
|
|
789
901
|
403: {
|
|
790
902
|
headers: {
|
|
@@ -797,7 +909,7 @@ export type paths = {
|
|
|
797
909
|
};
|
|
798
910
|
};
|
|
799
911
|
};
|
|
800
|
-
/** @description Not
|
|
912
|
+
/** @description Not Found */
|
|
801
913
|
404: {
|
|
802
914
|
headers: {
|
|
803
915
|
[name: string]: unknown;
|
|
@@ -821,7 +933,7 @@ export type paths = {
|
|
|
821
933
|
};
|
|
822
934
|
};
|
|
823
935
|
};
|
|
824
|
-
/** @description Unprocessable
|
|
936
|
+
/** @description Unprocessable Entity */
|
|
825
937
|
422: {
|
|
826
938
|
headers: {
|
|
827
939
|
[name: string]: unknown;
|
|
@@ -833,7 +945,7 @@ export type paths = {
|
|
|
833
945
|
};
|
|
834
946
|
};
|
|
835
947
|
};
|
|
836
|
-
/** @description Internal
|
|
948
|
+
/** @description Internal Server Error */
|
|
837
949
|
500: {
|
|
838
950
|
headers: {
|
|
839
951
|
[name: string]: unknown;
|
|
@@ -853,7 +965,7 @@ export type paths = {
|
|
|
853
965
|
patch?: never;
|
|
854
966
|
trace?: never;
|
|
855
967
|
};
|
|
856
|
-
'/api/v0/collections/{id}': {
|
|
968
|
+
'/api/v0/content_systems/{contentSystemId}/collections/{id}': {
|
|
857
969
|
parameters: {
|
|
858
970
|
query?: never;
|
|
859
971
|
header?: never;
|
|
@@ -865,6 +977,7 @@ export type paths = {
|
|
|
865
977
|
query?: never;
|
|
866
978
|
header?: never;
|
|
867
979
|
path: {
|
|
980
|
+
contentSystemId: string;
|
|
868
981
|
id: string;
|
|
869
982
|
};
|
|
870
983
|
cookie?: never;
|
|
@@ -880,7 +993,7 @@ export type paths = {
|
|
|
880
993
|
'application/json': components['schemas']['RetrieveCollectionResponse'];
|
|
881
994
|
};
|
|
882
995
|
};
|
|
883
|
-
/** @description Bad
|
|
996
|
+
/** @description Bad Request */
|
|
884
997
|
400: {
|
|
885
998
|
headers: {
|
|
886
999
|
[name: string]: unknown;
|
|
@@ -892,7 +1005,43 @@ export type paths = {
|
|
|
892
1005
|
};
|
|
893
1006
|
};
|
|
894
1007
|
};
|
|
895
|
-
/** @description
|
|
1008
|
+
/** @description Unauthorized */
|
|
1009
|
+
401: {
|
|
1010
|
+
headers: {
|
|
1011
|
+
[name: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
content: {
|
|
1014
|
+
'application/json': {
|
|
1015
|
+
/** @example Error message describing the issue. */
|
|
1016
|
+
message: string;
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
/** @description Unauthorized */
|
|
1021
|
+
401: {
|
|
1022
|
+
headers: {
|
|
1023
|
+
[name: string]: unknown;
|
|
1024
|
+
};
|
|
1025
|
+
content: {
|
|
1026
|
+
'application/json': {
|
|
1027
|
+
/** @example Error message describing the issue. */
|
|
1028
|
+
message: string;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
/** @description Forbidden */
|
|
1033
|
+
403: {
|
|
1034
|
+
headers: {
|
|
1035
|
+
[name: string]: unknown;
|
|
1036
|
+
};
|
|
1037
|
+
content: {
|
|
1038
|
+
'application/json': {
|
|
1039
|
+
/** @example Error message describing the issue. */
|
|
1040
|
+
message: string;
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
/** @description Not Found */
|
|
896
1045
|
404: {
|
|
897
1046
|
headers: {
|
|
898
1047
|
[name: string]: unknown;
|
|
@@ -904,7 +1053,7 @@ export type paths = {
|
|
|
904
1053
|
};
|
|
905
1054
|
};
|
|
906
1055
|
};
|
|
907
|
-
/** @description Internal
|
|
1056
|
+
/** @description Internal Server Error */
|
|
908
1057
|
500: {
|
|
909
1058
|
headers: {
|
|
910
1059
|
[name: string]: unknown;
|
|
@@ -923,6 +1072,7 @@ export type paths = {
|
|
|
923
1072
|
query?: never;
|
|
924
1073
|
header?: never;
|
|
925
1074
|
path: {
|
|
1075
|
+
contentSystemId: string;
|
|
926
1076
|
id: string;
|
|
927
1077
|
};
|
|
928
1078
|
cookie?: never;
|
|
@@ -942,7 +1092,7 @@ export type paths = {
|
|
|
942
1092
|
'application/json': components['schemas']['UpdateCollectionResponse'];
|
|
943
1093
|
};
|
|
944
1094
|
};
|
|
945
|
-
/** @description Bad
|
|
1095
|
+
/** @description Bad Request */
|
|
946
1096
|
400: {
|
|
947
1097
|
headers: {
|
|
948
1098
|
[name: string]: unknown;
|
|
@@ -954,6 +1104,18 @@ export type paths = {
|
|
|
954
1104
|
};
|
|
955
1105
|
};
|
|
956
1106
|
};
|
|
1107
|
+
/** @description Unauthorized */
|
|
1108
|
+
401: {
|
|
1109
|
+
headers: {
|
|
1110
|
+
[name: string]: unknown;
|
|
1111
|
+
};
|
|
1112
|
+
content: {
|
|
1113
|
+
'application/json': {
|
|
1114
|
+
/** @example Error message describing the issue. */
|
|
1115
|
+
message: string;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
957
1119
|
/** @description Forbidden */
|
|
958
1120
|
403: {
|
|
959
1121
|
headers: {
|
|
@@ -966,7 +1128,7 @@ export type paths = {
|
|
|
966
1128
|
};
|
|
967
1129
|
};
|
|
968
1130
|
};
|
|
969
|
-
/** @description Not
|
|
1131
|
+
/** @description Not Found */
|
|
970
1132
|
404: {
|
|
971
1133
|
headers: {
|
|
972
1134
|
[name: string]: unknown;
|
|
@@ -990,7 +1152,7 @@ export type paths = {
|
|
|
990
1152
|
};
|
|
991
1153
|
};
|
|
992
1154
|
};
|
|
993
|
-
/** @description Internal
|
|
1155
|
+
/** @description Internal Server Error */
|
|
994
1156
|
500: {
|
|
995
1157
|
headers: {
|
|
996
1158
|
[name: string]: unknown;
|
|
@@ -1010,6 +1172,7 @@ export type paths = {
|
|
|
1010
1172
|
query?: never;
|
|
1011
1173
|
header?: never;
|
|
1012
1174
|
path: {
|
|
1175
|
+
contentSystemId: string;
|
|
1013
1176
|
id: string;
|
|
1014
1177
|
};
|
|
1015
1178
|
cookie?: never;
|
|
@@ -1023,7 +1186,43 @@ export type paths = {
|
|
|
1023
1186
|
};
|
|
1024
1187
|
content?: never;
|
|
1025
1188
|
};
|
|
1026
|
-
/** @description
|
|
1189
|
+
/** @description Bad Request */
|
|
1190
|
+
400: {
|
|
1191
|
+
headers: {
|
|
1192
|
+
[name: string]: unknown;
|
|
1193
|
+
};
|
|
1194
|
+
content: {
|
|
1195
|
+
'application/json': {
|
|
1196
|
+
/** @example Error message describing the issue. */
|
|
1197
|
+
message: string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
};
|
|
1201
|
+
/** @description Unauthorized */
|
|
1202
|
+
401: {
|
|
1203
|
+
headers: {
|
|
1204
|
+
[name: string]: unknown;
|
|
1205
|
+
};
|
|
1206
|
+
content: {
|
|
1207
|
+
'application/json': {
|
|
1208
|
+
/** @example Error message describing the issue. */
|
|
1209
|
+
message: string;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1212
|
+
};
|
|
1213
|
+
/** @description Forbidden */
|
|
1214
|
+
403: {
|
|
1215
|
+
headers: {
|
|
1216
|
+
[name: string]: unknown;
|
|
1217
|
+
};
|
|
1218
|
+
content: {
|
|
1219
|
+
'application/json': {
|
|
1220
|
+
/** @example Error message describing the issue. */
|
|
1221
|
+
message: string;
|
|
1222
|
+
};
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
/** @description Not Found */
|
|
1027
1226
|
404: {
|
|
1028
1227
|
headers: {
|
|
1029
1228
|
[name: string]: unknown;
|
|
@@ -1035,7 +1234,7 @@ export type paths = {
|
|
|
1035
1234
|
};
|
|
1036
1235
|
};
|
|
1037
1236
|
};
|
|
1038
|
-
/** @description Internal
|
|
1237
|
+
/** @description Internal Server Error */
|
|
1039
1238
|
500: {
|
|
1040
1239
|
headers: {
|
|
1041
1240
|
[name: string]: unknown;
|
|
@@ -1085,7 +1284,7 @@ export type paths = {
|
|
|
1085
1284
|
'application/json': components['schemas']['CountDocumentResponse'];
|
|
1086
1285
|
};
|
|
1087
1286
|
};
|
|
1088
|
-
/** @description Bad
|
|
1287
|
+
/** @description Bad Request */
|
|
1089
1288
|
400: {
|
|
1090
1289
|
headers: {
|
|
1091
1290
|
[name: string]: unknown;
|
|
@@ -1097,6 +1296,18 @@ export type paths = {
|
|
|
1097
1296
|
};
|
|
1098
1297
|
};
|
|
1099
1298
|
};
|
|
1299
|
+
/** @description Unauthorized */
|
|
1300
|
+
401: {
|
|
1301
|
+
headers: {
|
|
1302
|
+
[name: string]: unknown;
|
|
1303
|
+
};
|
|
1304
|
+
content: {
|
|
1305
|
+
'application/json': {
|
|
1306
|
+
/** @example Error message describing the issue. */
|
|
1307
|
+
message: string;
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1100
1311
|
/** @description Forbidden */
|
|
1101
1312
|
403: {
|
|
1102
1313
|
headers: {
|
|
@@ -1109,7 +1320,7 @@ export type paths = {
|
|
|
1109
1320
|
};
|
|
1110
1321
|
};
|
|
1111
1322
|
};
|
|
1112
|
-
/** @description Not
|
|
1323
|
+
/** @description Not Found */
|
|
1113
1324
|
404: {
|
|
1114
1325
|
headers: {
|
|
1115
1326
|
[name: string]: unknown;
|
|
@@ -1121,7 +1332,7 @@ export type paths = {
|
|
|
1121
1332
|
};
|
|
1122
1333
|
};
|
|
1123
1334
|
};
|
|
1124
|
-
/** @description Internal
|
|
1335
|
+
/** @description Internal Server Error */
|
|
1125
1336
|
500: {
|
|
1126
1337
|
headers: {
|
|
1127
1338
|
[name: string]: unknown;
|
|
@@ -1172,7 +1383,7 @@ export type paths = {
|
|
|
1172
1383
|
'application/json': components['schemas']['CreateDocumentResponse'];
|
|
1173
1384
|
};
|
|
1174
1385
|
};
|
|
1175
|
-
/** @description Bad
|
|
1386
|
+
/** @description Bad Request */
|
|
1176
1387
|
400: {
|
|
1177
1388
|
headers: {
|
|
1178
1389
|
[name: string]: unknown;
|
|
@@ -1184,6 +1395,18 @@ export type paths = {
|
|
|
1184
1395
|
};
|
|
1185
1396
|
};
|
|
1186
1397
|
};
|
|
1398
|
+
/** @description Unauthorized */
|
|
1399
|
+
401: {
|
|
1400
|
+
headers: {
|
|
1401
|
+
[name: string]: unknown;
|
|
1402
|
+
};
|
|
1403
|
+
content: {
|
|
1404
|
+
'application/json': {
|
|
1405
|
+
/** @example Error message describing the issue. */
|
|
1406
|
+
message: string;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1187
1410
|
/** @description Forbidden */
|
|
1188
1411
|
403: {
|
|
1189
1412
|
headers: {
|
|
@@ -1196,7 +1419,7 @@ export type paths = {
|
|
|
1196
1419
|
};
|
|
1197
1420
|
};
|
|
1198
1421
|
};
|
|
1199
|
-
/** @description Not
|
|
1422
|
+
/** @description Not Found */
|
|
1200
1423
|
404: {
|
|
1201
1424
|
headers: {
|
|
1202
1425
|
[name: string]: unknown;
|
|
@@ -1220,7 +1443,7 @@ export type paths = {
|
|
|
1220
1443
|
};
|
|
1221
1444
|
};
|
|
1222
1445
|
};
|
|
1223
|
-
/** @description Internal
|
|
1446
|
+
/** @description Internal Server Error */
|
|
1224
1447
|
500: {
|
|
1225
1448
|
headers: {
|
|
1226
1449
|
[name: string]: unknown;
|
|
@@ -1271,7 +1494,7 @@ export type paths = {
|
|
|
1271
1494
|
'application/json': components['schemas']['FindDocumentsResponse'];
|
|
1272
1495
|
};
|
|
1273
1496
|
};
|
|
1274
|
-
/** @description Bad
|
|
1497
|
+
/** @description Bad Request */
|
|
1275
1498
|
400: {
|
|
1276
1499
|
headers: {
|
|
1277
1500
|
[name: string]: unknown;
|
|
@@ -1295,7 +1518,7 @@ export type paths = {
|
|
|
1295
1518
|
};
|
|
1296
1519
|
};
|
|
1297
1520
|
};
|
|
1298
|
-
/** @description Not
|
|
1521
|
+
/** @description Not Found */
|
|
1299
1522
|
404: {
|
|
1300
1523
|
headers: {
|
|
1301
1524
|
[name: string]: unknown;
|
|
@@ -1307,7 +1530,7 @@ export type paths = {
|
|
|
1307
1530
|
};
|
|
1308
1531
|
};
|
|
1309
1532
|
};
|
|
1310
|
-
/** @description Internal
|
|
1533
|
+
/** @description Internal Server Error */
|
|
1311
1534
|
500: {
|
|
1312
1535
|
headers: {
|
|
1313
1536
|
[name: string]: unknown;
|
|
@@ -1358,7 +1581,7 @@ export type paths = {
|
|
|
1358
1581
|
'application/json': components['schemas']['UpdateDocumentResponse'];
|
|
1359
1582
|
};
|
|
1360
1583
|
};
|
|
1361
|
-
/** @description Bad
|
|
1584
|
+
/** @description Bad Request */
|
|
1362
1585
|
400: {
|
|
1363
1586
|
headers: {
|
|
1364
1587
|
[name: string]: unknown;
|
|
@@ -1370,6 +1593,18 @@ export type paths = {
|
|
|
1370
1593
|
};
|
|
1371
1594
|
};
|
|
1372
1595
|
};
|
|
1596
|
+
/** @description Unauthorized */
|
|
1597
|
+
401: {
|
|
1598
|
+
headers: {
|
|
1599
|
+
[name: string]: unknown;
|
|
1600
|
+
};
|
|
1601
|
+
content: {
|
|
1602
|
+
'application/json': {
|
|
1603
|
+
/** @example Error message describing the issue. */
|
|
1604
|
+
message: string;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1373
1608
|
/** @description Forbidden */
|
|
1374
1609
|
403: {
|
|
1375
1610
|
headers: {
|
|
@@ -1382,7 +1617,7 @@ export type paths = {
|
|
|
1382
1617
|
};
|
|
1383
1618
|
};
|
|
1384
1619
|
};
|
|
1385
|
-
/** @description Not
|
|
1620
|
+
/** @description Not Found */
|
|
1386
1621
|
404: {
|
|
1387
1622
|
headers: {
|
|
1388
1623
|
[name: string]: unknown;
|
|
@@ -1406,7 +1641,7 @@ export type paths = {
|
|
|
1406
1641
|
};
|
|
1407
1642
|
};
|
|
1408
1643
|
};
|
|
1409
|
-
/** @description Internal
|
|
1644
|
+
/** @description Internal Server Error */
|
|
1410
1645
|
500: {
|
|
1411
1646
|
headers: {
|
|
1412
1647
|
[name: string]: unknown;
|
|
@@ -1457,7 +1692,7 @@ export type paths = {
|
|
|
1457
1692
|
'application/json': components['schemas']['DeleteDocumentResponse'];
|
|
1458
1693
|
};
|
|
1459
1694
|
};
|
|
1460
|
-
/** @description Bad
|
|
1695
|
+
/** @description Bad Request */
|
|
1461
1696
|
400: {
|
|
1462
1697
|
headers: {
|
|
1463
1698
|
[name: string]: unknown;
|
|
@@ -1469,6 +1704,18 @@ export type paths = {
|
|
|
1469
1704
|
};
|
|
1470
1705
|
};
|
|
1471
1706
|
};
|
|
1707
|
+
/** @description Unauthorized */
|
|
1708
|
+
401: {
|
|
1709
|
+
headers: {
|
|
1710
|
+
[name: string]: unknown;
|
|
1711
|
+
};
|
|
1712
|
+
content: {
|
|
1713
|
+
'application/json': {
|
|
1714
|
+
/** @example Error message describing the issue. */
|
|
1715
|
+
message: string;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
};
|
|
1472
1719
|
/** @description Forbidden */
|
|
1473
1720
|
403: {
|
|
1474
1721
|
headers: {
|
|
@@ -1481,7 +1728,7 @@ export type paths = {
|
|
|
1481
1728
|
};
|
|
1482
1729
|
};
|
|
1483
1730
|
};
|
|
1484
|
-
/** @description Not
|
|
1731
|
+
/** @description Not Found */
|
|
1485
1732
|
404: {
|
|
1486
1733
|
headers: {
|
|
1487
1734
|
[name: string]: unknown;
|
|
@@ -1493,7 +1740,7 @@ export type paths = {
|
|
|
1493
1740
|
};
|
|
1494
1741
|
};
|
|
1495
1742
|
};
|
|
1496
|
-
/** @description Internal
|
|
1743
|
+
/** @description Internal Server Error */
|
|
1497
1744
|
500: {
|
|
1498
1745
|
headers: {
|
|
1499
1746
|
[name: string]: unknown;
|
|
@@ -1544,7 +1791,7 @@ export type paths = {
|
|
|
1544
1791
|
'application/json': components['schemas']['CountDocumentVersionResponse'];
|
|
1545
1792
|
};
|
|
1546
1793
|
};
|
|
1547
|
-
/** @description Bad
|
|
1794
|
+
/** @description Bad Request */
|
|
1548
1795
|
400: {
|
|
1549
1796
|
headers: {
|
|
1550
1797
|
[name: string]: unknown;
|
|
@@ -1556,6 +1803,18 @@ export type paths = {
|
|
|
1556
1803
|
};
|
|
1557
1804
|
};
|
|
1558
1805
|
};
|
|
1806
|
+
/** @description Unauthorized */
|
|
1807
|
+
401: {
|
|
1808
|
+
headers: {
|
|
1809
|
+
[name: string]: unknown;
|
|
1810
|
+
};
|
|
1811
|
+
content: {
|
|
1812
|
+
'application/json': {
|
|
1813
|
+
/** @example Error message describing the issue. */
|
|
1814
|
+
message: string;
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1559
1818
|
/** @description Forbidden */
|
|
1560
1819
|
403: {
|
|
1561
1820
|
headers: {
|
|
@@ -1568,7 +1827,7 @@ export type paths = {
|
|
|
1568
1827
|
};
|
|
1569
1828
|
};
|
|
1570
1829
|
};
|
|
1571
|
-
/** @description Not
|
|
1830
|
+
/** @description Not Found */
|
|
1572
1831
|
404: {
|
|
1573
1832
|
headers: {
|
|
1574
1833
|
[name: string]: unknown;
|
|
@@ -1580,7 +1839,7 @@ export type paths = {
|
|
|
1580
1839
|
};
|
|
1581
1840
|
};
|
|
1582
1841
|
};
|
|
1583
|
-
/** @description Internal
|
|
1842
|
+
/** @description Internal Server Error */
|
|
1584
1843
|
500: {
|
|
1585
1844
|
headers: {
|
|
1586
1845
|
[name: string]: unknown;
|
|
@@ -1631,7 +1890,7 @@ export type paths = {
|
|
|
1631
1890
|
'application/json': components['schemas']['CreateDocumentVersionResponse'];
|
|
1632
1891
|
};
|
|
1633
1892
|
};
|
|
1634
|
-
/** @description Bad
|
|
1893
|
+
/** @description Bad Request */
|
|
1635
1894
|
400: {
|
|
1636
1895
|
headers: {
|
|
1637
1896
|
[name: string]: unknown;
|
|
@@ -1643,8 +1902,8 @@ export type paths = {
|
|
|
1643
1902
|
};
|
|
1644
1903
|
};
|
|
1645
1904
|
};
|
|
1646
|
-
/** @description
|
|
1647
|
-
|
|
1905
|
+
/** @description Unauthorized */
|
|
1906
|
+
401: {
|
|
1648
1907
|
headers: {
|
|
1649
1908
|
[name: string]: unknown;
|
|
1650
1909
|
};
|
|
@@ -1655,7 +1914,19 @@ export type paths = {
|
|
|
1655
1914
|
};
|
|
1656
1915
|
};
|
|
1657
1916
|
};
|
|
1658
|
-
/** @description
|
|
1917
|
+
/** @description Forbidden */
|
|
1918
|
+
403: {
|
|
1919
|
+
headers: {
|
|
1920
|
+
[name: string]: unknown;
|
|
1921
|
+
};
|
|
1922
|
+
content: {
|
|
1923
|
+
'application/json': {
|
|
1924
|
+
/** @example Error message describing the issue. */
|
|
1925
|
+
message: string;
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1929
|
+
/** @description Not Found */
|
|
1659
1930
|
404: {
|
|
1660
1931
|
headers: {
|
|
1661
1932
|
[name: string]: unknown;
|
|
@@ -1667,7 +1938,7 @@ export type paths = {
|
|
|
1667
1938
|
};
|
|
1668
1939
|
};
|
|
1669
1940
|
};
|
|
1670
|
-
/** @description Internal
|
|
1941
|
+
/** @description Internal Server Error */
|
|
1671
1942
|
500: {
|
|
1672
1943
|
headers: {
|
|
1673
1944
|
[name: string]: unknown;
|
|
@@ -1718,7 +1989,7 @@ export type paths = {
|
|
|
1718
1989
|
'application/json': components['schemas']['FindDocumentVersionsResponse'];
|
|
1719
1990
|
};
|
|
1720
1991
|
};
|
|
1721
|
-
/** @description Bad
|
|
1992
|
+
/** @description Bad Request */
|
|
1722
1993
|
400: {
|
|
1723
1994
|
headers: {
|
|
1724
1995
|
[name: string]: unknown;
|
|
@@ -1730,6 +2001,18 @@ export type paths = {
|
|
|
1730
2001
|
};
|
|
1731
2002
|
};
|
|
1732
2003
|
};
|
|
2004
|
+
/** @description Unauthorized */
|
|
2005
|
+
401: {
|
|
2006
|
+
headers: {
|
|
2007
|
+
[name: string]: unknown;
|
|
2008
|
+
};
|
|
2009
|
+
content: {
|
|
2010
|
+
'application/json': {
|
|
2011
|
+
/** @example Error message describing the issue. */
|
|
2012
|
+
message: string;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
1733
2016
|
/** @description Forbidden */
|
|
1734
2017
|
403: {
|
|
1735
2018
|
headers: {
|
|
@@ -1742,7 +2025,7 @@ export type paths = {
|
|
|
1742
2025
|
};
|
|
1743
2026
|
};
|
|
1744
2027
|
};
|
|
1745
|
-
/** @description Not
|
|
2028
|
+
/** @description Not Found */
|
|
1746
2029
|
404: {
|
|
1747
2030
|
headers: {
|
|
1748
2031
|
[name: string]: unknown;
|
|
@@ -1754,7 +2037,7 @@ export type paths = {
|
|
|
1754
2037
|
};
|
|
1755
2038
|
};
|
|
1756
2039
|
};
|
|
1757
|
-
/** @description Internal
|
|
2040
|
+
/** @description Internal Server Error */
|
|
1758
2041
|
500: {
|
|
1759
2042
|
headers: {
|
|
1760
2043
|
[name: string]: unknown;
|
|
@@ -1805,7 +2088,7 @@ export type paths = {
|
|
|
1805
2088
|
'application/json': components['schemas']['UpdateDocumentVersionResponse'];
|
|
1806
2089
|
};
|
|
1807
2090
|
};
|
|
1808
|
-
/** @description Bad
|
|
2091
|
+
/** @description Bad Request */
|
|
1809
2092
|
400: {
|
|
1810
2093
|
headers: {
|
|
1811
2094
|
[name: string]: unknown;
|
|
@@ -1817,6 +2100,18 @@ export type paths = {
|
|
|
1817
2100
|
};
|
|
1818
2101
|
};
|
|
1819
2102
|
};
|
|
2103
|
+
/** @description Unauthorized */
|
|
2104
|
+
401: {
|
|
2105
|
+
headers: {
|
|
2106
|
+
[name: string]: unknown;
|
|
2107
|
+
};
|
|
2108
|
+
content: {
|
|
2109
|
+
'application/json': {
|
|
2110
|
+
/** @example Error message describing the issue. */
|
|
2111
|
+
message: string;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
1820
2115
|
/** @description Forbidden */
|
|
1821
2116
|
403: {
|
|
1822
2117
|
headers: {
|
|
@@ -1829,7 +2124,7 @@ export type paths = {
|
|
|
1829
2124
|
};
|
|
1830
2125
|
};
|
|
1831
2126
|
};
|
|
1832
|
-
/** @description Not
|
|
2127
|
+
/** @description Not Found */
|
|
1833
2128
|
404: {
|
|
1834
2129
|
headers: {
|
|
1835
2130
|
[name: string]: unknown;
|
|
@@ -1841,7 +2136,7 @@ export type paths = {
|
|
|
1841
2136
|
};
|
|
1842
2137
|
};
|
|
1843
2138
|
};
|
|
1844
|
-
/** @description Internal
|
|
2139
|
+
/** @description Internal Server Error */
|
|
1845
2140
|
500: {
|
|
1846
2141
|
headers: {
|
|
1847
2142
|
[name: string]: unknown;
|
|
@@ -1892,7 +2187,7 @@ export type paths = {
|
|
|
1892
2187
|
'application/json': components['schemas']['DeleteDocumentVersionResponse'];
|
|
1893
2188
|
};
|
|
1894
2189
|
};
|
|
1895
|
-
/** @description Bad
|
|
2190
|
+
/** @description Bad Request */
|
|
1896
2191
|
400: {
|
|
1897
2192
|
headers: {
|
|
1898
2193
|
[name: string]: unknown;
|
|
@@ -1904,6 +2199,18 @@ export type paths = {
|
|
|
1904
2199
|
};
|
|
1905
2200
|
};
|
|
1906
2201
|
};
|
|
2202
|
+
/** @description Unauthorized */
|
|
2203
|
+
401: {
|
|
2204
|
+
headers: {
|
|
2205
|
+
[name: string]: unknown;
|
|
2206
|
+
};
|
|
2207
|
+
content: {
|
|
2208
|
+
'application/json': {
|
|
2209
|
+
/** @example Error message describing the issue. */
|
|
2210
|
+
message: string;
|
|
2211
|
+
};
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
1907
2214
|
/** @description Forbidden */
|
|
1908
2215
|
403: {
|
|
1909
2216
|
headers: {
|
|
@@ -1916,7 +2223,7 @@ export type paths = {
|
|
|
1916
2223
|
};
|
|
1917
2224
|
};
|
|
1918
2225
|
};
|
|
1919
|
-
/** @description Not
|
|
2226
|
+
/** @description Not Found */
|
|
1920
2227
|
404: {
|
|
1921
2228
|
headers: {
|
|
1922
2229
|
[name: string]: unknown;
|
|
@@ -1928,7 +2235,7 @@ export type paths = {
|
|
|
1928
2235
|
};
|
|
1929
2236
|
};
|
|
1930
2237
|
};
|
|
1931
|
-
/** @description Internal
|
|
2238
|
+
/** @description Internal Server Error */
|
|
1932
2239
|
500: {
|
|
1933
2240
|
headers: {
|
|
1934
2241
|
[name: string]: unknown;
|
|
@@ -1948,7 +2255,7 @@ export type paths = {
|
|
|
1948
2255
|
patch?: never;
|
|
1949
2256
|
trace?: never;
|
|
1950
2257
|
};
|
|
1951
|
-
'/api/v0/uploads/
|
|
2258
|
+
'/api/v0/uploads/sign': {
|
|
1952
2259
|
parameters: {
|
|
1953
2260
|
query?: never;
|
|
1954
2261
|
header?: never;
|
|
@@ -1966,20 +2273,20 @@ export type paths = {
|
|
|
1966
2273
|
};
|
|
1967
2274
|
requestBody?: {
|
|
1968
2275
|
content: {
|
|
1969
|
-
'
|
|
2276
|
+
'application/json': components['schemas']['GeneratePresignedUploadUrlRequest'];
|
|
1970
2277
|
};
|
|
1971
2278
|
};
|
|
1972
2279
|
responses: {
|
|
1973
|
-
/** @description
|
|
2280
|
+
/** @description Presigned upload URL generated */
|
|
1974
2281
|
200: {
|
|
1975
2282
|
headers: {
|
|
1976
2283
|
[name: string]: unknown;
|
|
1977
2284
|
};
|
|
1978
2285
|
content: {
|
|
1979
|
-
'application/json': components['schemas']['
|
|
2286
|
+
'application/json': components['schemas']['GeneratePresignedUploadUrlResponse'];
|
|
1980
2287
|
};
|
|
1981
2288
|
};
|
|
1982
|
-
/** @description Bad
|
|
2289
|
+
/** @description Bad Request */
|
|
1983
2290
|
400: {
|
|
1984
2291
|
headers: {
|
|
1985
2292
|
[name: string]: unknown;
|
|
@@ -1991,7 +2298,19 @@ export type paths = {
|
|
|
1991
2298
|
};
|
|
1992
2299
|
};
|
|
1993
2300
|
};
|
|
1994
|
-
/** @description
|
|
2301
|
+
/** @description Unauthorized */
|
|
2302
|
+
401: {
|
|
2303
|
+
headers: {
|
|
2304
|
+
[name: string]: unknown;
|
|
2305
|
+
};
|
|
2306
|
+
content: {
|
|
2307
|
+
'application/json': {
|
|
2308
|
+
/** @example Error message describing the issue. */
|
|
2309
|
+
message: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
/** @description Forbidden */
|
|
1995
2314
|
403: {
|
|
1996
2315
|
headers: {
|
|
1997
2316
|
[name: string]: unknown;
|
|
@@ -2003,8 +2322,20 @@ export type paths = {
|
|
|
2003
2322
|
};
|
|
2004
2323
|
};
|
|
2005
2324
|
};
|
|
2006
|
-
/** @description
|
|
2007
|
-
|
|
2325
|
+
/** @description Not Found */
|
|
2326
|
+
404: {
|
|
2327
|
+
headers: {
|
|
2328
|
+
[name: string]: unknown;
|
|
2329
|
+
};
|
|
2330
|
+
content: {
|
|
2331
|
+
'application/json': {
|
|
2332
|
+
/** @example Error message describing the issue. */
|
|
2333
|
+
message: string;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
/** @description Service Unavailable */
|
|
2338
|
+
503: {
|
|
2008
2339
|
headers: {
|
|
2009
2340
|
[name: string]: unknown;
|
|
2010
2341
|
};
|
|
@@ -2023,7 +2354,7 @@ export type paths = {
|
|
|
2023
2354
|
patch?: never;
|
|
2024
2355
|
trace?: never;
|
|
2025
2356
|
};
|
|
2026
|
-
'/api/v0/uploads/download': {
|
|
2357
|
+
'/api/v0/uploads/download/sign': {
|
|
2027
2358
|
parameters: {
|
|
2028
2359
|
query?: never;
|
|
2029
2360
|
header?: never;
|
|
@@ -2041,20 +2372,20 @@ export type paths = {
|
|
|
2041
2372
|
};
|
|
2042
2373
|
requestBody?: {
|
|
2043
2374
|
content: {
|
|
2044
|
-
'application/json': components['schemas']['
|
|
2375
|
+
'application/json': components['schemas']['GeneratePresignedDownloadUrlRequest'];
|
|
2045
2376
|
};
|
|
2046
2377
|
};
|
|
2047
2378
|
responses: {
|
|
2048
|
-
/** @description
|
|
2379
|
+
/** @description Presigned download URL generated */
|
|
2049
2380
|
200: {
|
|
2050
2381
|
headers: {
|
|
2051
2382
|
[name: string]: unknown;
|
|
2052
2383
|
};
|
|
2053
2384
|
content: {
|
|
2054
|
-
'application/
|
|
2385
|
+
'application/json': components['schemas']['GeneratePresignedDownloadUrlResponse'];
|
|
2055
2386
|
};
|
|
2056
2387
|
};
|
|
2057
|
-
/** @description Bad
|
|
2388
|
+
/** @description Bad Request */
|
|
2058
2389
|
400: {
|
|
2059
2390
|
headers: {
|
|
2060
2391
|
[name: string]: unknown;
|
|
@@ -2066,7 +2397,19 @@ export type paths = {
|
|
|
2066
2397
|
};
|
|
2067
2398
|
};
|
|
2068
2399
|
};
|
|
2069
|
-
/** @description
|
|
2400
|
+
/** @description Unauthorized */
|
|
2401
|
+
401: {
|
|
2402
|
+
headers: {
|
|
2403
|
+
[name: string]: unknown;
|
|
2404
|
+
};
|
|
2405
|
+
content: {
|
|
2406
|
+
'application/json': {
|
|
2407
|
+
/** @example Error message describing the issue. */
|
|
2408
|
+
message: string;
|
|
2409
|
+
};
|
|
2410
|
+
};
|
|
2411
|
+
};
|
|
2412
|
+
/** @description Forbidden */
|
|
2070
2413
|
403: {
|
|
2071
2414
|
headers: {
|
|
2072
2415
|
[name: string]: unknown;
|
|
@@ -2078,7 +2421,7 @@ export type paths = {
|
|
|
2078
2421
|
};
|
|
2079
2422
|
};
|
|
2080
2423
|
};
|
|
2081
|
-
/** @description
|
|
2424
|
+
/** @description Not Found */
|
|
2082
2425
|
404: {
|
|
2083
2426
|
headers: {
|
|
2084
2427
|
[name: string]: unknown;
|
|
@@ -2090,8 +2433,8 @@ export type paths = {
|
|
|
2090
2433
|
};
|
|
2091
2434
|
};
|
|
2092
2435
|
};
|
|
2093
|
-
/** @description
|
|
2094
|
-
|
|
2436
|
+
/** @description Service Unavailable */
|
|
2437
|
+
503: {
|
|
2095
2438
|
headers: {
|
|
2096
2439
|
[name: string]: unknown;
|
|
2097
2440
|
};
|
|
@@ -2141,7 +2484,7 @@ export type paths = {
|
|
|
2141
2484
|
'application/json': components['schemas']['InitiateMultipartUploadResponse'];
|
|
2142
2485
|
};
|
|
2143
2486
|
};
|
|
2144
|
-
/** @description Bad
|
|
2487
|
+
/** @description Bad Request */
|
|
2145
2488
|
400: {
|
|
2146
2489
|
headers: {
|
|
2147
2490
|
[name: string]: unknown;
|
|
@@ -2153,7 +2496,19 @@ export type paths = {
|
|
|
2153
2496
|
};
|
|
2154
2497
|
};
|
|
2155
2498
|
};
|
|
2156
|
-
/** @description
|
|
2499
|
+
/** @description Unauthorized */
|
|
2500
|
+
401: {
|
|
2501
|
+
headers: {
|
|
2502
|
+
[name: string]: unknown;
|
|
2503
|
+
};
|
|
2504
|
+
content: {
|
|
2505
|
+
'application/json': {
|
|
2506
|
+
/** @example Error message describing the issue. */
|
|
2507
|
+
message: string;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
/** @description Forbidden */
|
|
2157
2512
|
403: {
|
|
2158
2513
|
headers: {
|
|
2159
2514
|
[name: string]: unknown;
|
|
@@ -2165,8 +2520,20 @@ export type paths = {
|
|
|
2165
2520
|
};
|
|
2166
2521
|
};
|
|
2167
2522
|
};
|
|
2168
|
-
/** @description
|
|
2169
|
-
|
|
2523
|
+
/** @description Not Found */
|
|
2524
|
+
404: {
|
|
2525
|
+
headers: {
|
|
2526
|
+
[name: string]: unknown;
|
|
2527
|
+
};
|
|
2528
|
+
content: {
|
|
2529
|
+
'application/json': {
|
|
2530
|
+
/** @example Error message describing the issue. */
|
|
2531
|
+
message: string;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
};
|
|
2535
|
+
/** @description Service Unavailable */
|
|
2536
|
+
503: {
|
|
2170
2537
|
headers: {
|
|
2171
2538
|
[name: string]: unknown;
|
|
2172
2539
|
};
|
|
@@ -2216,7 +2583,7 @@ export type paths = {
|
|
|
2216
2583
|
'application/json': components['schemas']['GenerateUploadPartUrlsResponse'];
|
|
2217
2584
|
};
|
|
2218
2585
|
};
|
|
2219
|
-
/** @description Bad
|
|
2586
|
+
/** @description Bad Request */
|
|
2220
2587
|
400: {
|
|
2221
2588
|
headers: {
|
|
2222
2589
|
[name: string]: unknown;
|
|
@@ -2228,7 +2595,19 @@ export type paths = {
|
|
|
2228
2595
|
};
|
|
2229
2596
|
};
|
|
2230
2597
|
};
|
|
2231
|
-
/** @description
|
|
2598
|
+
/** @description Unauthorized */
|
|
2599
|
+
401: {
|
|
2600
|
+
headers: {
|
|
2601
|
+
[name: string]: unknown;
|
|
2602
|
+
};
|
|
2603
|
+
content: {
|
|
2604
|
+
'application/json': {
|
|
2605
|
+
/** @example Error message describing the issue. */
|
|
2606
|
+
message: string;
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
/** @description Forbidden */
|
|
2232
2611
|
403: {
|
|
2233
2612
|
headers: {
|
|
2234
2613
|
[name: string]: unknown;
|
|
@@ -2240,8 +2619,20 @@ export type paths = {
|
|
|
2240
2619
|
};
|
|
2241
2620
|
};
|
|
2242
2621
|
};
|
|
2243
|
-
/** @description
|
|
2244
|
-
|
|
2622
|
+
/** @description Not Found */
|
|
2623
|
+
404: {
|
|
2624
|
+
headers: {
|
|
2625
|
+
[name: string]: unknown;
|
|
2626
|
+
};
|
|
2627
|
+
content: {
|
|
2628
|
+
'application/json': {
|
|
2629
|
+
/** @example Error message describing the issue. */
|
|
2630
|
+
message: string;
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
/** @description Service Unavailable */
|
|
2635
|
+
503: {
|
|
2245
2636
|
headers: {
|
|
2246
2637
|
[name: string]: unknown;
|
|
2247
2638
|
};
|
|
@@ -2291,7 +2682,7 @@ export type paths = {
|
|
|
2291
2682
|
'application/json': components['schemas']['CompleteMultipartUploadResponse'];
|
|
2292
2683
|
};
|
|
2293
2684
|
};
|
|
2294
|
-
/** @description Bad
|
|
2685
|
+
/** @description Bad Request */
|
|
2295
2686
|
400: {
|
|
2296
2687
|
headers: {
|
|
2297
2688
|
[name: string]: unknown;
|
|
@@ -2303,7 +2694,19 @@ export type paths = {
|
|
|
2303
2694
|
};
|
|
2304
2695
|
};
|
|
2305
2696
|
};
|
|
2306
|
-
/** @description
|
|
2697
|
+
/** @description Unauthorized */
|
|
2698
|
+
401: {
|
|
2699
|
+
headers: {
|
|
2700
|
+
[name: string]: unknown;
|
|
2701
|
+
};
|
|
2702
|
+
content: {
|
|
2703
|
+
'application/json': {
|
|
2704
|
+
/** @example Error message describing the issue. */
|
|
2705
|
+
message: string;
|
|
2706
|
+
};
|
|
2707
|
+
};
|
|
2708
|
+
};
|
|
2709
|
+
/** @description Forbidden */
|
|
2307
2710
|
403: {
|
|
2308
2711
|
headers: {
|
|
2309
2712
|
[name: string]: unknown;
|
|
@@ -2315,8 +2718,20 @@ export type paths = {
|
|
|
2315
2718
|
};
|
|
2316
2719
|
};
|
|
2317
2720
|
};
|
|
2318
|
-
/** @description
|
|
2319
|
-
|
|
2721
|
+
/** @description Not Found */
|
|
2722
|
+
404: {
|
|
2723
|
+
headers: {
|
|
2724
|
+
[name: string]: unknown;
|
|
2725
|
+
};
|
|
2726
|
+
content: {
|
|
2727
|
+
'application/json': {
|
|
2728
|
+
/** @example Error message describing the issue. */
|
|
2729
|
+
message: string;
|
|
2730
|
+
};
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
/** @description Service Unavailable */
|
|
2734
|
+
503: {
|
|
2320
2735
|
headers: {
|
|
2321
2736
|
[name: string]: unknown;
|
|
2322
2737
|
};
|
|
@@ -2366,7 +2781,7 @@ export type paths = {
|
|
|
2366
2781
|
'application/json': components['schemas']['AbortMultipartUploadResponse'];
|
|
2367
2782
|
};
|
|
2368
2783
|
};
|
|
2369
|
-
/** @description Bad
|
|
2784
|
+
/** @description Bad Request */
|
|
2370
2785
|
400: {
|
|
2371
2786
|
headers: {
|
|
2372
2787
|
[name: string]: unknown;
|
|
@@ -2378,7 +2793,19 @@ export type paths = {
|
|
|
2378
2793
|
};
|
|
2379
2794
|
};
|
|
2380
2795
|
};
|
|
2381
|
-
/** @description
|
|
2796
|
+
/** @description Unauthorized */
|
|
2797
|
+
401: {
|
|
2798
|
+
headers: {
|
|
2799
|
+
[name: string]: unknown;
|
|
2800
|
+
};
|
|
2801
|
+
content: {
|
|
2802
|
+
'application/json': {
|
|
2803
|
+
/** @example Error message describing the issue. */
|
|
2804
|
+
message: string;
|
|
2805
|
+
};
|
|
2806
|
+
};
|
|
2807
|
+
};
|
|
2808
|
+
/** @description Forbidden */
|
|
2382
2809
|
403: {
|
|
2383
2810
|
headers: {
|
|
2384
2811
|
[name: string]: unknown;
|
|
@@ -2390,8 +2817,20 @@ export type paths = {
|
|
|
2390
2817
|
};
|
|
2391
2818
|
};
|
|
2392
2819
|
};
|
|
2393
|
-
/** @description
|
|
2394
|
-
|
|
2820
|
+
/** @description Not Found */
|
|
2821
|
+
404: {
|
|
2822
|
+
headers: {
|
|
2823
|
+
[name: string]: unknown;
|
|
2824
|
+
};
|
|
2825
|
+
content: {
|
|
2826
|
+
'application/json': {
|
|
2827
|
+
/** @example Error message describing the issue. */
|
|
2828
|
+
message: string;
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
};
|
|
2832
|
+
/** @description Service Unavailable */
|
|
2833
|
+
503: {
|
|
2395
2834
|
headers: {
|
|
2396
2835
|
[name: string]: unknown;
|
|
2397
2836
|
};
|
|
@@ -2410,6 +2849,103 @@ export type paths = {
|
|
|
2410
2849
|
patch?: never;
|
|
2411
2850
|
trace?: never;
|
|
2412
2851
|
};
|
|
2852
|
+
'/api/v0/uploads/{filename}': {
|
|
2853
|
+
parameters: {
|
|
2854
|
+
query?: never;
|
|
2855
|
+
header?: never;
|
|
2856
|
+
path?: never;
|
|
2857
|
+
cookie?: never;
|
|
2858
|
+
};
|
|
2859
|
+
get?: never;
|
|
2860
|
+
put?: never;
|
|
2861
|
+
post?: never;
|
|
2862
|
+
delete: {
|
|
2863
|
+
parameters: {
|
|
2864
|
+
query?: never;
|
|
2865
|
+
header?: never;
|
|
2866
|
+
path: {
|
|
2867
|
+
filename: string;
|
|
2868
|
+
};
|
|
2869
|
+
cookie?: never;
|
|
2870
|
+
};
|
|
2871
|
+
requestBody?: never;
|
|
2872
|
+
responses: {
|
|
2873
|
+
/** @description File deleted successfully */
|
|
2874
|
+
200: {
|
|
2875
|
+
headers: {
|
|
2876
|
+
[name: string]: unknown;
|
|
2877
|
+
};
|
|
2878
|
+
content: {
|
|
2879
|
+
'application/json': components['schemas']['DeleteFileResponse'];
|
|
2880
|
+
};
|
|
2881
|
+
};
|
|
2882
|
+
/** @description Bad Request */
|
|
2883
|
+
400: {
|
|
2884
|
+
headers: {
|
|
2885
|
+
[name: string]: unknown;
|
|
2886
|
+
};
|
|
2887
|
+
content: {
|
|
2888
|
+
'application/json': {
|
|
2889
|
+
/** @example Error message describing the issue. */
|
|
2890
|
+
message: string;
|
|
2891
|
+
};
|
|
2892
|
+
};
|
|
2893
|
+
};
|
|
2894
|
+
/** @description Unauthorized */
|
|
2895
|
+
401: {
|
|
2896
|
+
headers: {
|
|
2897
|
+
[name: string]: unknown;
|
|
2898
|
+
};
|
|
2899
|
+
content: {
|
|
2900
|
+
'application/json': {
|
|
2901
|
+
/** @example Error message describing the issue. */
|
|
2902
|
+
message: string;
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
/** @description Forbidden */
|
|
2907
|
+
403: {
|
|
2908
|
+
headers: {
|
|
2909
|
+
[name: string]: unknown;
|
|
2910
|
+
};
|
|
2911
|
+
content: {
|
|
2912
|
+
'application/json': {
|
|
2913
|
+
/** @example Error message describing the issue. */
|
|
2914
|
+
message: string;
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
/** @description Not Found */
|
|
2919
|
+
404: {
|
|
2920
|
+
headers: {
|
|
2921
|
+
[name: string]: unknown;
|
|
2922
|
+
};
|
|
2923
|
+
content: {
|
|
2924
|
+
'application/json': {
|
|
2925
|
+
/** @example Error message describing the issue. */
|
|
2926
|
+
message: string;
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
/** @description Service Unavailable */
|
|
2931
|
+
503: {
|
|
2932
|
+
headers: {
|
|
2933
|
+
[name: string]: unknown;
|
|
2934
|
+
};
|
|
2935
|
+
content: {
|
|
2936
|
+
'application/json': {
|
|
2937
|
+
/** @example Error message describing the issue. */
|
|
2938
|
+
message: string;
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
options?: never;
|
|
2945
|
+
head?: never;
|
|
2946
|
+
patch?: never;
|
|
2947
|
+
trace?: never;
|
|
2948
|
+
};
|
|
2413
2949
|
};
|
|
2414
2950
|
export type webhooks = Record<string, never>;
|
|
2415
2951
|
export type components = {
|
|
@@ -2575,12 +3111,10 @@ export type components = {
|
|
|
2575
3111
|
name?: string;
|
|
2576
3112
|
};
|
|
2577
3113
|
Collection: {
|
|
2578
|
-
/** @example
|
|
3114
|
+
/** @example posts */
|
|
2579
3115
|
id: string;
|
|
2580
3116
|
/** @example cms-xxxxx-xxxxx */
|
|
2581
3117
|
contentSystemId: string;
|
|
2582
|
-
/** @example posts */
|
|
2583
|
-
key: string;
|
|
2584
3118
|
/**
|
|
2585
3119
|
* Format: date
|
|
2586
3120
|
* @example 2024-01-01T00:00:00Z
|
|
@@ -2593,12 +3127,10 @@ export type components = {
|
|
|
2593
3127
|
updatedAt: string;
|
|
2594
3128
|
};
|
|
2595
3129
|
CreateCollectionResponse: {
|
|
2596
|
-
/** @example
|
|
3130
|
+
/** @example posts */
|
|
2597
3131
|
id: string;
|
|
2598
3132
|
/** @example cms-xxxxx-xxxxx */
|
|
2599
3133
|
contentSystemId: string;
|
|
2600
|
-
/** @example posts */
|
|
2601
|
-
key: string;
|
|
2602
3134
|
/**
|
|
2603
3135
|
* Format: date
|
|
2604
3136
|
* @example 2024-01-01T00:00:00Z
|
|
@@ -2612,17 +3144,13 @@ export type components = {
|
|
|
2612
3144
|
};
|
|
2613
3145
|
CreateCollectionRequest: {
|
|
2614
3146
|
/** @example posts */
|
|
2615
|
-
|
|
2616
|
-
/** @example cms-xxxxx-xxxxx */
|
|
2617
|
-
contentSystemId: string;
|
|
3147
|
+
id: string;
|
|
2618
3148
|
};
|
|
2619
3149
|
RetrieveCollectionResponse: {
|
|
2620
|
-
/** @example
|
|
3150
|
+
/** @example posts */
|
|
2621
3151
|
id: string;
|
|
2622
3152
|
/** @example cms-xxxxx-xxxxx */
|
|
2623
3153
|
contentSystemId: string;
|
|
2624
|
-
/** @example posts */
|
|
2625
|
-
key: string;
|
|
2626
3154
|
/**
|
|
2627
3155
|
* Format: date
|
|
2628
3156
|
* @example 2024-01-01T00:00:00Z
|
|
@@ -2635,12 +3163,10 @@ export type components = {
|
|
|
2635
3163
|
updatedAt: string;
|
|
2636
3164
|
};
|
|
2637
3165
|
UpdateCollectionResponse: {
|
|
2638
|
-
/** @example
|
|
3166
|
+
/** @example posts */
|
|
2639
3167
|
id: string;
|
|
2640
3168
|
/** @example cms-xxxxx-xxxxx */
|
|
2641
3169
|
contentSystemId: string;
|
|
2642
|
-
/** @example posts */
|
|
2643
|
-
key: string;
|
|
2644
3170
|
/**
|
|
2645
3171
|
* Format: date
|
|
2646
3172
|
* @example 2024-01-01T00:00:00Z
|
|
@@ -2654,7 +3180,7 @@ export type components = {
|
|
|
2654
3180
|
};
|
|
2655
3181
|
UpdateCollectionRequest: {
|
|
2656
3182
|
/** @example posts */
|
|
2657
|
-
|
|
3183
|
+
id: string;
|
|
2658
3184
|
};
|
|
2659
3185
|
CountDocumentResponse: {
|
|
2660
3186
|
result: {
|
|
@@ -2693,8 +3219,8 @@ export type components = {
|
|
|
2693
3219
|
CountDocumentRequest: {
|
|
2694
3220
|
/** @example cms-xxxxx-xxxxx */
|
|
2695
3221
|
contentSystemId: string;
|
|
2696
|
-
/** @example
|
|
2697
|
-
|
|
3222
|
+
/** @example posts */
|
|
3223
|
+
collectionId: string;
|
|
2698
3224
|
where?: components['schemas']['WhereClause'];
|
|
2699
3225
|
};
|
|
2700
3226
|
/**
|
|
@@ -2707,14 +3233,12 @@ export type components = {
|
|
|
2707
3233
|
[key: string]: components['schemas']['DataValue'];
|
|
2708
3234
|
};
|
|
2709
3235
|
Document: {
|
|
2710
|
-
/** @example doc-
|
|
3236
|
+
/** @example doc-key */
|
|
2711
3237
|
id: string;
|
|
2712
3238
|
/** @example cms-xxxxx-xxxxx */
|
|
2713
3239
|
contentSystemId: string;
|
|
2714
|
-
/** @example
|
|
3240
|
+
/** @example posts */
|
|
2715
3241
|
collectionId: string;
|
|
2716
|
-
/** @example doc-key */
|
|
2717
|
-
key: string;
|
|
2718
3242
|
data: components['schemas']['DocumentData'];
|
|
2719
3243
|
/**
|
|
2720
3244
|
* Format: date
|
|
@@ -2735,7 +3259,52 @@ export type components = {
|
|
|
2735
3259
|
data: components['schemas']['Document'];
|
|
2736
3260
|
};
|
|
2737
3261
|
};
|
|
2738
|
-
|
|
3262
|
+
/**
|
|
3263
|
+
* @example [
|
|
3264
|
+
* {
|
|
3265
|
+
* "path": "createdAt",
|
|
3266
|
+
* "direction": "desc"
|
|
3267
|
+
* }
|
|
3268
|
+
* ]
|
|
3269
|
+
*/
|
|
3270
|
+
SortClause: {
|
|
3271
|
+
path: string;
|
|
3272
|
+
/** @enum {string} */
|
|
3273
|
+
direction: 'asc' | 'desc';
|
|
3274
|
+
}[];
|
|
3275
|
+
/**
|
|
3276
|
+
* @example [
|
|
3277
|
+
* {
|
|
3278
|
+
* "collectionId": "books",
|
|
3279
|
+
* "on": "authorId",
|
|
3280
|
+
* "path": "books",
|
|
3281
|
+
* "count": false,
|
|
3282
|
+
* "where": {
|
|
3283
|
+
* "path": "status",
|
|
3284
|
+
* "operator": "equals",
|
|
3285
|
+
* "value": "published"
|
|
3286
|
+
* },
|
|
3287
|
+
* "limit": 5,
|
|
3288
|
+
* "offset": 0,
|
|
3289
|
+
* "sort": [
|
|
3290
|
+
* {
|
|
3291
|
+
* "path": "title",
|
|
3292
|
+
* "direction": "asc"
|
|
3293
|
+
* }
|
|
3294
|
+
* ]
|
|
3295
|
+
* }
|
|
3296
|
+
* ]
|
|
3297
|
+
*/
|
|
3298
|
+
JoinClause: {
|
|
3299
|
+
collectionId: string;
|
|
3300
|
+
on: string;
|
|
3301
|
+
path: string;
|
|
3302
|
+
count: boolean;
|
|
3303
|
+
where?: components['schemas']['WhereClause'];
|
|
3304
|
+
limit?: number;
|
|
3305
|
+
offset?: number;
|
|
3306
|
+
sort?: components['schemas']['SortClause'];
|
|
3307
|
+
}[];
|
|
2739
3308
|
LocaleClause: {
|
|
2740
3309
|
locale: string;
|
|
2741
3310
|
fallbackLocale: string;
|
|
@@ -2759,10 +3328,10 @@ export type components = {
|
|
|
2759
3328
|
CreateDocumentRequest: {
|
|
2760
3329
|
/** @example cms-xxxxx-xxxxx */
|
|
2761
3330
|
contentSystemId: string;
|
|
2762
|
-
/** @example
|
|
2763
|
-
|
|
3331
|
+
/** @example posts */
|
|
3332
|
+
collectionId: string;
|
|
2764
3333
|
/** @example doc-key */
|
|
2765
|
-
|
|
3334
|
+
id: string;
|
|
2766
3335
|
data: components['schemas']['DocumentData'];
|
|
2767
3336
|
returning?: false | {
|
|
2768
3337
|
join?: components['schemas']['JoinClause'];
|
|
@@ -2775,11 +3344,11 @@ export type components = {
|
|
|
2775
3344
|
* "total": 100,
|
|
2776
3345
|
* "current": {
|
|
2777
3346
|
* "limit": 10,
|
|
2778
|
-
* "
|
|
3347
|
+
* "page": 1
|
|
2779
3348
|
* },
|
|
2780
3349
|
* "next": {
|
|
2781
3350
|
* "limit": 10,
|
|
2782
|
-
* "
|
|
3351
|
+
* "page": 2
|
|
2783
3352
|
* }
|
|
2784
3353
|
* }
|
|
2785
3354
|
*/
|
|
@@ -2787,15 +3356,15 @@ export type components = {
|
|
|
2787
3356
|
total: number;
|
|
2788
3357
|
current: {
|
|
2789
3358
|
limit: number;
|
|
2790
|
-
|
|
3359
|
+
page: number;
|
|
2791
3360
|
};
|
|
2792
3361
|
next?: {
|
|
2793
3362
|
limit: number;
|
|
2794
|
-
|
|
3363
|
+
page: number;
|
|
2795
3364
|
};
|
|
2796
3365
|
prev?: {
|
|
2797
3366
|
limit: number;
|
|
2798
|
-
|
|
3367
|
+
page: number;
|
|
2799
3368
|
};
|
|
2800
3369
|
};
|
|
2801
3370
|
FindDocumentsResponse: {
|
|
@@ -2804,30 +3373,17 @@ export type components = {
|
|
|
2804
3373
|
pagination: components['schemas']['Pagination'];
|
|
2805
3374
|
};
|
|
2806
3375
|
};
|
|
2807
|
-
/**
|
|
2808
|
-
* @example [
|
|
2809
|
-
* {
|
|
2810
|
-
* "path": "createdAt",
|
|
2811
|
-
* "direction": "desc"
|
|
2812
|
-
* }
|
|
2813
|
-
* ]
|
|
2814
|
-
*/
|
|
2815
|
-
SortClause: {
|
|
2816
|
-
path: string;
|
|
2817
|
-
/** @enum {string} */
|
|
2818
|
-
direction: 'asc' | 'desc';
|
|
2819
|
-
}[];
|
|
2820
3376
|
FindDocumentsRequest: {
|
|
2821
3377
|
/** @example cms-xxxxx-xxxxx */
|
|
2822
3378
|
contentSystemId: string;
|
|
2823
|
-
/** @example
|
|
2824
|
-
|
|
3379
|
+
/** @example posts */
|
|
3380
|
+
collectionId: string;
|
|
2825
3381
|
join?: components['schemas']['JoinClause'];
|
|
2826
3382
|
/** @example 10 */
|
|
2827
3383
|
limit?: number;
|
|
2828
3384
|
locale?: components['schemas']['LocaleClause'];
|
|
2829
|
-
/** @example
|
|
2830
|
-
|
|
3385
|
+
/** @example 1 */
|
|
3386
|
+
page?: number;
|
|
2831
3387
|
select?: components['schemas']['SelectClause'];
|
|
2832
3388
|
sort?: components['schemas']['SortClause'];
|
|
2833
3389
|
where?: components['schemas']['WhereClause'];
|
|
@@ -2855,11 +3411,11 @@ export type components = {
|
|
|
2855
3411
|
UpdateDocumentRequest: {
|
|
2856
3412
|
/** @example cms-xxxxx-xxxxx */
|
|
2857
3413
|
contentSystemId: string;
|
|
2858
|
-
/** @example
|
|
2859
|
-
|
|
3414
|
+
/** @example posts */
|
|
3415
|
+
collectionId: string;
|
|
2860
3416
|
/** @example false */
|
|
2861
3417
|
createOnMissing: false | {
|
|
2862
|
-
|
|
3418
|
+
id: string;
|
|
2863
3419
|
};
|
|
2864
3420
|
data: components['schemas']['DataWithOperations'];
|
|
2865
3421
|
where: components['schemas']['WhereClause'];
|
|
@@ -2880,8 +3436,8 @@ export type components = {
|
|
|
2880
3436
|
DeleteDocumentRequest: {
|
|
2881
3437
|
/** @example cms-xxxxx-xxxxx */
|
|
2882
3438
|
contentSystemId: string;
|
|
2883
|
-
/** @example
|
|
2884
|
-
|
|
3439
|
+
/** @example posts */
|
|
3440
|
+
collectionId: string;
|
|
2885
3441
|
where: components['schemas']['WhereClause'];
|
|
2886
3442
|
returning?: false | {
|
|
2887
3443
|
join?: components['schemas']['JoinClause'];
|
|
@@ -2898,8 +3454,8 @@ export type components = {
|
|
|
2898
3454
|
CountDocumentVersionRequest: {
|
|
2899
3455
|
/** @example cms-xxxxx-xxxxx */
|
|
2900
3456
|
contentSystemId: string;
|
|
2901
|
-
/** @example
|
|
2902
|
-
|
|
3457
|
+
/** @example posts */
|
|
3458
|
+
collectionId: string;
|
|
2903
3459
|
where?: components['schemas']['WhereClause'];
|
|
2904
3460
|
};
|
|
2905
3461
|
DocumentVersion: {
|
|
@@ -2907,7 +3463,7 @@ export type components = {
|
|
|
2907
3463
|
id: string;
|
|
2908
3464
|
/** @example cms-xxxxx-xxxxx */
|
|
2909
3465
|
contentSystemId: string;
|
|
2910
|
-
/** @example doc-
|
|
3466
|
+
/** @example doc-key */
|
|
2911
3467
|
documentId: string;
|
|
2912
3468
|
/** @example true */
|
|
2913
3469
|
latest: boolean;
|
|
@@ -2934,10 +3490,10 @@ export type components = {
|
|
|
2934
3490
|
CreateDocumentVersionRequest: {
|
|
2935
3491
|
/** @example cms-xxxxx-xxxxx */
|
|
2936
3492
|
contentSystemId: string;
|
|
2937
|
-
/** @example
|
|
2938
|
-
|
|
2939
|
-
/** @example doc-
|
|
2940
|
-
|
|
3493
|
+
/** @example posts */
|
|
3494
|
+
collectionId: string;
|
|
3495
|
+
/** @example doc-key */
|
|
3496
|
+
documentId: string;
|
|
2941
3497
|
/** @example true */
|
|
2942
3498
|
latest?: boolean;
|
|
2943
3499
|
data: components['schemas']['DocumentData'];
|
|
@@ -2956,14 +3512,14 @@ export type components = {
|
|
|
2956
3512
|
FindDocumentVersionsRequest: {
|
|
2957
3513
|
/** @example cms-xxxxx-xxxxx */
|
|
2958
3514
|
contentSystemId: string;
|
|
2959
|
-
/** @example
|
|
2960
|
-
|
|
3515
|
+
/** @example posts */
|
|
3516
|
+
collectionId: string;
|
|
2961
3517
|
join?: components['schemas']['JoinClause'];
|
|
2962
3518
|
/** @example 10 */
|
|
2963
3519
|
limit?: number;
|
|
2964
3520
|
locale?: components['schemas']['LocaleClause'];
|
|
2965
|
-
/** @example
|
|
2966
|
-
|
|
3521
|
+
/** @example 1 */
|
|
3522
|
+
page?: number;
|
|
2967
3523
|
select?: components['schemas']['SelectClause'];
|
|
2968
3524
|
sort?: components['schemas']['SortClause'];
|
|
2969
3525
|
where?: components['schemas']['WhereClause'];
|
|
@@ -2979,11 +3535,11 @@ export type components = {
|
|
|
2979
3535
|
UpdateDocumentVersionRequest: {
|
|
2980
3536
|
/** @example cms-xxxxx-xxxxx */
|
|
2981
3537
|
contentSystemId: string;
|
|
2982
|
-
/** @example
|
|
2983
|
-
|
|
3538
|
+
/** @example posts */
|
|
3539
|
+
collectionId: string;
|
|
2984
3540
|
/** @example false */
|
|
2985
3541
|
createOnMissing: false | {
|
|
2986
|
-
|
|
3542
|
+
documentId: string;
|
|
2987
3543
|
latest: boolean;
|
|
2988
3544
|
};
|
|
2989
3545
|
data: components['schemas']['DataWithOperations'];
|
|
@@ -3005,8 +3561,8 @@ export type components = {
|
|
|
3005
3561
|
DeleteDocumentVersionRequest: {
|
|
3006
3562
|
/** @example cms-xxxxx-xxxxx */
|
|
3007
3563
|
contentSystemId: string;
|
|
3008
|
-
/** @example
|
|
3009
|
-
|
|
3564
|
+
/** @example posts */
|
|
3565
|
+
collectionId: string;
|
|
3010
3566
|
where: components['schemas']['WhereClause'];
|
|
3011
3567
|
returning?: false | {
|
|
3012
3568
|
join?: components['schemas']['JoinClause'];
|
|
@@ -3014,23 +3570,33 @@ export type components = {
|
|
|
3014
3570
|
select?: components['schemas']['SelectClause'];
|
|
3015
3571
|
};
|
|
3016
3572
|
};
|
|
3017
|
-
|
|
3018
|
-
/**
|
|
3019
|
-
|
|
3020
|
-
* @enum {boolean}
|
|
3021
|
-
*/
|
|
3022
|
-
success: true;
|
|
3573
|
+
GeneratePresignedUploadUrlResponse: {
|
|
3574
|
+
/** @example https://s3.amazonaws.com/bucket/key?presigned-params */
|
|
3575
|
+
url: string;
|
|
3023
3576
|
};
|
|
3024
|
-
|
|
3577
|
+
GeneratePresignedUploadUrlRequest: {
|
|
3578
|
+
/** @example document.pdf */
|
|
3579
|
+
filename: string;
|
|
3580
|
+
/** @example application/pdf */
|
|
3581
|
+
contentType?: string;
|
|
3025
3582
|
/**
|
|
3026
|
-
*
|
|
3027
|
-
* @
|
|
3583
|
+
* @default 3600
|
|
3584
|
+
* @example 3600
|
|
3028
3585
|
*/
|
|
3029
|
-
|
|
3586
|
+
expiresIn: number;
|
|
3587
|
+
};
|
|
3588
|
+
GeneratePresignedDownloadUrlResponse: {
|
|
3589
|
+
/** @example https://s3.amazonaws.com/bucket/key?presigned-params */
|
|
3590
|
+
url: string;
|
|
3030
3591
|
};
|
|
3031
|
-
|
|
3592
|
+
GeneratePresignedDownloadUrlRequest: {
|
|
3032
3593
|
/** @example document.pdf */
|
|
3033
3594
|
filename: string;
|
|
3595
|
+
/**
|
|
3596
|
+
* @default 3600
|
|
3597
|
+
* @example 3600
|
|
3598
|
+
*/
|
|
3599
|
+
expiresIn: number;
|
|
3034
3600
|
};
|
|
3035
3601
|
InitiateMultipartUploadResponse: {
|
|
3036
3602
|
/** @example abc123xyz789 */
|
|
@@ -3117,6 +3683,13 @@ export type components = {
|
|
|
3117
3683
|
/** @example abc123xyz789 */
|
|
3118
3684
|
uploadId: string;
|
|
3119
3685
|
};
|
|
3686
|
+
DeleteFileResponse: {
|
|
3687
|
+
/**
|
|
3688
|
+
* @example true
|
|
3689
|
+
* @enum {boolean}
|
|
3690
|
+
*/
|
|
3691
|
+
success: true;
|
|
3692
|
+
};
|
|
3120
3693
|
};
|
|
3121
3694
|
responses: never;
|
|
3122
3695
|
parameters: never;
|