@ndla/types-backend 1.0.34 → 1.0.35

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 (61) hide show
  1. package/build/article-api-openapi.d.ts +1092 -0
  2. package/build/article-api-openapi.js +7 -0
  3. package/build/article-api-openapi.js.map +1 -0
  4. package/build/article-api.d.ts +57 -156
  5. package/build/article-api.js +27 -13
  6. package/build/article-api.js.map +1 -1
  7. package/build/audio-api-openapi.d.ts +2153 -0
  8. package/build/audio-api-openapi.js +7 -0
  9. package/build/audio-api-openapi.js.map +1 -0
  10. package/build/audio-api.d.ts +69 -190
  11. package/build/audio-api.js +27 -13
  12. package/build/audio-api.js.map +1 -1
  13. package/build/concept-api-openapi.d.ts +1682 -0
  14. package/build/concept-api-openapi.js +7 -0
  15. package/build/concept-api-openapi.js.map +1 -0
  16. package/build/concept-api.d.ts +69 -221
  17. package/build/concept-api.js +27 -21
  18. package/build/concept-api.js.map +1 -1
  19. package/build/draft-api-openapi.d.ts +2893 -0
  20. package/build/draft-api-openapi.js +7 -0
  21. package/build/draft-api-openapi.js.map +1 -0
  22. package/build/draft-api.d.ts +117 -292
  23. package/build/draft-api.js +27 -13
  24. package/build/draft-api.js.map +1 -1
  25. package/build/frontpage-api-openapi.d.ts +800 -0
  26. package/build/frontpage-api-openapi.js +7 -0
  27. package/build/frontpage-api-openapi.js.map +1 -0
  28. package/build/frontpage-api.d.ts +53 -121
  29. package/build/frontpage-api.js +27 -1
  30. package/build/frontpage-api.js.map +1 -1
  31. package/build/image-api-openapi.d.ts +2192 -0
  32. package/build/image-api-openapi.js +7 -0
  33. package/build/image-api-openapi.js.map +1 -0
  34. package/build/image-api.d.ts +61 -174
  35. package/build/image-api.js +27 -13
  36. package/build/image-api.js.map +1 -1
  37. package/build/learningpath-api-openapi.d.ts +2671 -0
  38. package/build/learningpath-api-openapi.js +7 -0
  39. package/build/learningpath-api-openapi.js.map +1 -0
  40. package/build/learningpath-api.d.ts +71 -143
  41. package/build/learningpath-api.js +27 -1
  42. package/build/learningpath-api.js.map +1 -1
  43. package/build/myndla-api-openapi.d.ts +2718 -0
  44. package/build/myndla-api-openapi.js +7 -0
  45. package/build/myndla-api-openapi.js.map +1 -0
  46. package/build/myndla-api.d.ts +69 -125
  47. package/build/myndla-api.js +27 -1
  48. package/build/myndla-api.js.map +1 -1
  49. package/build/oembed-proxy-openapi.d.ts +249 -0
  50. package/build/oembed-proxy-openapi.js +7 -0
  51. package/build/oembed-proxy-openapi.js.map +1 -0
  52. package/build/oembed-proxy.d.ts +15 -0
  53. package/build/oembed-proxy.js +30 -0
  54. package/build/oembed-proxy.js.map +1 -0
  55. package/build/search-api-openapi.d.ts +1525 -0
  56. package/build/search-api-openapi.js +7 -0
  57. package/build/search-api-openapi.js.map +1 -0
  58. package/build/search-api.d.ts +121 -422
  59. package/build/search-api.js +27 -33
  60. package/build/search-api.js.map +1 -1
  61. package/package.json +2 -1
@@ -0,0 +1,800 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export type paths = {
6
+ "/frontpage-api/v1/subjectpage": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** Fetch all subjectpages */
14
+ get: operations["getFrontpage-apiV1Subjectpage"];
15
+ put?: never;
16
+ /** Create new subject page */
17
+ post: operations["postFrontpage-apiV1Subjectpage"];
18
+ delete?: never;
19
+ options?: never;
20
+ head?: never;
21
+ patch?: never;
22
+ trace?: never;
23
+ };
24
+ "/frontpage-api/v1/subjectpage/ids": {
25
+ parameters: {
26
+ query?: never;
27
+ header?: never;
28
+ path?: never;
29
+ cookie?: never;
30
+ };
31
+ /** Fetch subject pages that matches ids parameter */
32
+ get: operations["getFrontpage-apiV1SubjectpageIds"];
33
+ put?: never;
34
+ post?: never;
35
+ delete?: never;
36
+ options?: never;
37
+ head?: never;
38
+ patch?: never;
39
+ trace?: never;
40
+ };
41
+ "/frontpage-api/v1/subjectpage/{subjectpage-id}": {
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ /** Get data to display on a subject page */
49
+ get: operations["getFrontpage-apiV1SubjectpageSubjectpage-id"];
50
+ put?: never;
51
+ post?: never;
52
+ delete?: never;
53
+ options?: never;
54
+ head?: never;
55
+ /** Update subject page */
56
+ patch: operations["patchFrontpage-apiV1SubjectpageSubjectpage-id"];
57
+ trace?: never;
58
+ };
59
+ "/frontpage-api/v1/frontpage": {
60
+ parameters: {
61
+ query?: never;
62
+ header?: never;
63
+ path?: never;
64
+ cookie?: never;
65
+ };
66
+ /** Get data to display on the front page */
67
+ get: operations["getFrontpage-apiV1Frontpage"];
68
+ put?: never;
69
+ /** Create front page */
70
+ post: operations["postFrontpage-apiV1Frontpage"];
71
+ delete?: never;
72
+ options?: never;
73
+ head?: never;
74
+ patch?: never;
75
+ trace?: never;
76
+ };
77
+ "/frontpage-api/v1/filmfrontpage": {
78
+ parameters: {
79
+ query?: never;
80
+ header?: never;
81
+ path?: never;
82
+ cookie?: never;
83
+ };
84
+ /** Get data to display on the film front page */
85
+ get: operations["getFrontpage-apiV1Filmfrontpage"];
86
+ put?: never;
87
+ /** Update film front page */
88
+ post: operations["postFrontpage-apiV1Filmfrontpage"];
89
+ delete?: never;
90
+ options?: never;
91
+ head?: never;
92
+ patch?: never;
93
+ trace?: never;
94
+ };
95
+ };
96
+ export type webhooks = Record<string, never>;
97
+ export type components = {
98
+ schemas: {
99
+ /** AboutFilmSubjectDTO */
100
+ AboutFilmSubjectDTO: {
101
+ title: string;
102
+ description: string;
103
+ visualElement: components["schemas"]["VisualElementDTO"];
104
+ language: string;
105
+ };
106
+ /** AboutSubjectDTO */
107
+ AboutSubjectDTO: {
108
+ title: string;
109
+ description: string;
110
+ visualElement: components["schemas"]["VisualElementDTO"];
111
+ };
112
+ /** AllErrors */
113
+ AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
114
+ /** BannerImageDTO */
115
+ BannerImageDTO: {
116
+ mobileUrl?: string;
117
+ /** Format: int64 */
118
+ mobileId?: number;
119
+ desktopUrl: string;
120
+ /** Format: int64 */
121
+ desktopId: number;
122
+ };
123
+ /**
124
+ * ErrorBody
125
+ * @description Information about an error
126
+ */
127
+ ErrorBody: {
128
+ /** @description Code stating the type of error */
129
+ code: string;
130
+ /** @description Description of the error */
131
+ description: string;
132
+ /** @description When the error occurred */
133
+ occurredAt: string;
134
+ /**
135
+ * Format: int32
136
+ * @description Numeric http status code
137
+ */
138
+ statusCode: number;
139
+ };
140
+ /** FilmFrontPageDTO */
141
+ FilmFrontPageDTO: {
142
+ name: string;
143
+ about: components["schemas"]["AboutFilmSubjectDTO"][];
144
+ movieThemes: components["schemas"]["MovieThemeDTO"][];
145
+ slideShow: string[];
146
+ article?: string;
147
+ };
148
+ /**
149
+ * FrontPageDTO
150
+ * @description Object containing frontpage data
151
+ */
152
+ FrontPageDTO: {
153
+ /**
154
+ * Format: int64
155
+ * @description Id of the frontpage
156
+ */
157
+ articleId: number;
158
+ /** @description List of Menu objects */
159
+ menu: components["schemas"]["MenuDTO"][];
160
+ };
161
+ /**
162
+ * MenuDTO
163
+ * @description The Menu object
164
+ */
165
+ MenuDTO: {
166
+ /**
167
+ * Format: int64
168
+ * @description Id of the article
169
+ */
170
+ articleId: number;
171
+ /** @description List of submenu objects */
172
+ menu: components["schemas"]["MenuDataDTO"][];
173
+ /** @description Hide this level in menu */
174
+ hideLevel?: boolean;
175
+ };
176
+ /** MenuDataDTO */
177
+ MenuDataDTO: components["schemas"]["MenuDTO"];
178
+ /** MovieThemeDTO */
179
+ MovieThemeDTO: {
180
+ name: components["schemas"]["MovieThemeNameDTO"][];
181
+ movies: string[];
182
+ };
183
+ /** MovieThemeNameDTO */
184
+ MovieThemeNameDTO: {
185
+ name: string;
186
+ language: string;
187
+ };
188
+ /** NewOrUpdateBannerImageDTO */
189
+ NewOrUpdateBannerImageDTO: {
190
+ /** Format: int64 */
191
+ mobileImageId?: number;
192
+ /** Format: int64 */
193
+ desktopImageId: number;
194
+ };
195
+ /** NewOrUpdatedAboutSubjectDTO */
196
+ NewOrUpdatedAboutSubjectDTO: {
197
+ title: string;
198
+ description: string;
199
+ language: string;
200
+ visualElement: components["schemas"]["NewOrUpdatedVisualElementDTO"];
201
+ };
202
+ /** NewOrUpdatedFilmFrontPageDTO */
203
+ NewOrUpdatedFilmFrontPageDTO: {
204
+ name: string;
205
+ about: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
206
+ movieThemes: components["schemas"]["NewOrUpdatedMovieThemeDTO"][];
207
+ slideShow: string[];
208
+ article?: string;
209
+ };
210
+ /** NewOrUpdatedMetaDescriptionDTO */
211
+ NewOrUpdatedMetaDescriptionDTO: {
212
+ metaDescription: string;
213
+ language: string;
214
+ };
215
+ /** NewOrUpdatedMovieNameDTO */
216
+ NewOrUpdatedMovieNameDTO: {
217
+ name: string;
218
+ language: string;
219
+ };
220
+ /** NewOrUpdatedMovieThemeDTO */
221
+ NewOrUpdatedMovieThemeDTO: {
222
+ name: components["schemas"]["NewOrUpdatedMovieNameDTO"][];
223
+ movies: string[];
224
+ };
225
+ /** NewOrUpdatedVisualElementDTO */
226
+ NewOrUpdatedVisualElementDTO: {
227
+ type: string;
228
+ id: string;
229
+ alt?: string;
230
+ };
231
+ /** NewSubjectPageDTO */
232
+ NewSubjectPageDTO: {
233
+ name: string;
234
+ externalId?: string;
235
+ banner: components["schemas"]["NewOrUpdateBannerImageDTO"];
236
+ about: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
237
+ metaDescription: components["schemas"]["NewOrUpdatedMetaDescriptionDTO"][];
238
+ editorsChoices?: string[];
239
+ connectedTo?: string[];
240
+ buildsOn?: string[];
241
+ leadsTo?: string[];
242
+ };
243
+ /**
244
+ * NotFoundWithSupportedLanguages
245
+ * @description Information about an error
246
+ */
247
+ NotFoundWithSupportedLanguages: {
248
+ /** @description Code stating the type of error */
249
+ code: string;
250
+ /** @description Description of the error */
251
+ description: string;
252
+ /** @description When the error occurred */
253
+ occurredAt: string;
254
+ /** @description List of supported languages */
255
+ supportedLanguages?: string[];
256
+ /**
257
+ * Format: int32
258
+ * @description Numeric http status code
259
+ */
260
+ statusCode: number;
261
+ };
262
+ /** SubjectPageDTO */
263
+ SubjectPageDTO: {
264
+ /** Format: int64 */
265
+ id: number;
266
+ name: string;
267
+ banner: components["schemas"]["BannerImageDTO"];
268
+ about?: components["schemas"]["AboutSubjectDTO"];
269
+ metaDescription?: string;
270
+ editorsChoices: string[];
271
+ supportedLanguages: string[];
272
+ connectedTo: string[];
273
+ buildsOn: string[];
274
+ leadsTo: string[];
275
+ };
276
+ /** UpdatedSubjectPageDTO */
277
+ UpdatedSubjectPageDTO: {
278
+ name?: string;
279
+ externalId?: string;
280
+ banner?: components["schemas"]["NewOrUpdateBannerImageDTO"];
281
+ about?: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
282
+ metaDescription?: components["schemas"]["NewOrUpdatedMetaDescriptionDTO"][];
283
+ editorsChoices?: string[];
284
+ connectedTo?: string[];
285
+ buildsOn?: string[];
286
+ leadsTo?: string[];
287
+ };
288
+ /**
289
+ * ValidationErrorBody
290
+ * @description Information about an error
291
+ */
292
+ ValidationErrorBody: {
293
+ /** @description Code stating the type of error */
294
+ code: string;
295
+ /** @description Description of the error */
296
+ description: string;
297
+ /** @description When the error occurred */
298
+ occurredAt: string;
299
+ /** @description List of validation messages */
300
+ messages?: components["schemas"]["ValidationMessage"][];
301
+ /**
302
+ * Format: int32
303
+ * @description Numeric http status code
304
+ */
305
+ statusCode: number;
306
+ };
307
+ /**
308
+ * ValidationMessage
309
+ * @description A message describing a validation error on a specific field
310
+ */
311
+ ValidationMessage: {
312
+ /** @description The field the error occured in */
313
+ field: string;
314
+ /** @description The validation message */
315
+ message: string;
316
+ };
317
+ /** VisualElementDTO */
318
+ VisualElementDTO: {
319
+ type: string;
320
+ url: string;
321
+ alt?: string;
322
+ };
323
+ };
324
+ responses: never;
325
+ parameters: never;
326
+ requestBodies: never;
327
+ headers: never;
328
+ pathItems: never;
329
+ };
330
+ export type $defs = Record<string, never>;
331
+ export interface operations {
332
+ "getFrontpage-apiV1Subjectpage": {
333
+ parameters: {
334
+ query?: {
335
+ page?: number;
336
+ "page-size"?: number;
337
+ language?: string;
338
+ fallback?: boolean;
339
+ };
340
+ header?: never;
341
+ path?: never;
342
+ cookie?: never;
343
+ };
344
+ requestBody?: never;
345
+ responses: {
346
+ 200: {
347
+ headers: {
348
+ [name: string]: unknown;
349
+ };
350
+ content: {
351
+ "application/json": components["schemas"]["SubjectPageDTO"][];
352
+ };
353
+ };
354
+ 400: {
355
+ headers: {
356
+ [name: string]: unknown;
357
+ };
358
+ content: {
359
+ "application/json": components["schemas"]["AllErrors"];
360
+ };
361
+ };
362
+ 404: {
363
+ headers: {
364
+ [name: string]: unknown;
365
+ };
366
+ content: {
367
+ "application/json": components["schemas"]["AllErrors"];
368
+ };
369
+ };
370
+ 500: {
371
+ headers: {
372
+ [name: string]: unknown;
373
+ };
374
+ content: {
375
+ "application/json": components["schemas"]["ErrorBody"];
376
+ };
377
+ };
378
+ };
379
+ };
380
+ "postFrontpage-apiV1Subjectpage": {
381
+ parameters: {
382
+ query?: never;
383
+ header?: never;
384
+ path?: never;
385
+ cookie?: never;
386
+ };
387
+ requestBody: {
388
+ content: {
389
+ "application/json": components["schemas"]["NewSubjectPageDTO"];
390
+ };
391
+ };
392
+ responses: {
393
+ 200: {
394
+ headers: {
395
+ [name: string]: unknown;
396
+ };
397
+ content: {
398
+ "application/json": components["schemas"]["SubjectPageDTO"];
399
+ };
400
+ };
401
+ 400: {
402
+ headers: {
403
+ [name: string]: unknown;
404
+ };
405
+ content: {
406
+ "application/json": components["schemas"]["AllErrors"];
407
+ };
408
+ };
409
+ 404: {
410
+ headers: {
411
+ [name: string]: unknown;
412
+ };
413
+ content: {
414
+ "application/json": components["schemas"]["AllErrors"];
415
+ };
416
+ };
417
+ 500: {
418
+ headers: {
419
+ [name: string]: unknown;
420
+ };
421
+ content: {
422
+ "application/json": components["schemas"]["ErrorBody"];
423
+ };
424
+ };
425
+ };
426
+ };
427
+ "getFrontpage-apiV1SubjectpageIds": {
428
+ parameters: {
429
+ query?: {
430
+ ids?: number[];
431
+ language?: string;
432
+ fallback?: boolean;
433
+ "page-size"?: number;
434
+ page?: number;
435
+ };
436
+ header?: never;
437
+ path?: never;
438
+ cookie?: never;
439
+ };
440
+ requestBody?: never;
441
+ responses: {
442
+ 200: {
443
+ headers: {
444
+ [name: string]: unknown;
445
+ };
446
+ content: {
447
+ "application/json": components["schemas"]["SubjectPageDTO"][];
448
+ };
449
+ };
450
+ 400: {
451
+ headers: {
452
+ [name: string]: unknown;
453
+ };
454
+ content: {
455
+ "application/json": components["schemas"]["AllErrors"];
456
+ };
457
+ };
458
+ 404: {
459
+ headers: {
460
+ [name: string]: unknown;
461
+ };
462
+ content: {
463
+ "application/json": components["schemas"]["AllErrors"];
464
+ };
465
+ };
466
+ 500: {
467
+ headers: {
468
+ [name: string]: unknown;
469
+ };
470
+ content: {
471
+ "application/json": components["schemas"]["ErrorBody"];
472
+ };
473
+ };
474
+ };
475
+ };
476
+ "getFrontpage-apiV1SubjectpageSubjectpage-id": {
477
+ parameters: {
478
+ query?: {
479
+ language?: string;
480
+ fallback?: boolean;
481
+ };
482
+ header?: never;
483
+ path: {
484
+ /** @description The subjectpage id */
485
+ "subjectpage-id": number;
486
+ };
487
+ cookie?: never;
488
+ };
489
+ requestBody?: never;
490
+ responses: {
491
+ 200: {
492
+ headers: {
493
+ [name: string]: unknown;
494
+ };
495
+ content: {
496
+ "application/json": components["schemas"]["SubjectPageDTO"];
497
+ };
498
+ };
499
+ 400: {
500
+ headers: {
501
+ [name: string]: unknown;
502
+ };
503
+ content: {
504
+ "application/json": components["schemas"]["AllErrors"];
505
+ };
506
+ };
507
+ 404: {
508
+ headers: {
509
+ [name: string]: unknown;
510
+ };
511
+ content: {
512
+ "application/json": components["schemas"]["AllErrors"];
513
+ };
514
+ };
515
+ 500: {
516
+ headers: {
517
+ [name: string]: unknown;
518
+ };
519
+ content: {
520
+ "application/json": components["schemas"]["ErrorBody"];
521
+ };
522
+ };
523
+ };
524
+ };
525
+ "patchFrontpage-apiV1SubjectpageSubjectpage-id": {
526
+ parameters: {
527
+ query?: {
528
+ language?: string;
529
+ fallback?: boolean;
530
+ };
531
+ header?: never;
532
+ path: {
533
+ /** @description The subjectpage id */
534
+ "subjectpage-id": number;
535
+ };
536
+ cookie?: never;
537
+ };
538
+ requestBody: {
539
+ content: {
540
+ "application/json": components["schemas"]["UpdatedSubjectPageDTO"];
541
+ };
542
+ };
543
+ responses: {
544
+ 200: {
545
+ headers: {
546
+ [name: string]: unknown;
547
+ };
548
+ content: {
549
+ "application/json": components["schemas"]["SubjectPageDTO"];
550
+ };
551
+ };
552
+ 400: {
553
+ headers: {
554
+ [name: string]: unknown;
555
+ };
556
+ content: {
557
+ "application/json": components["schemas"]["AllErrors"];
558
+ };
559
+ };
560
+ 404: {
561
+ headers: {
562
+ [name: string]: unknown;
563
+ };
564
+ content: {
565
+ "application/json": components["schemas"]["AllErrors"];
566
+ };
567
+ };
568
+ 500: {
569
+ headers: {
570
+ [name: string]: unknown;
571
+ };
572
+ content: {
573
+ "application/json": components["schemas"]["ErrorBody"];
574
+ };
575
+ };
576
+ };
577
+ };
578
+ "getFrontpage-apiV1Frontpage": {
579
+ parameters: {
580
+ query?: never;
581
+ header?: never;
582
+ path?: never;
583
+ cookie?: never;
584
+ };
585
+ requestBody?: never;
586
+ responses: {
587
+ 200: {
588
+ headers: {
589
+ [name: string]: unknown;
590
+ };
591
+ content: {
592
+ "application/json": components["schemas"]["FrontPageDTO"];
593
+ };
594
+ };
595
+ 400: {
596
+ headers: {
597
+ [name: string]: unknown;
598
+ };
599
+ content: {
600
+ "application/json": components["schemas"]["AllErrors"];
601
+ };
602
+ };
603
+ 404: {
604
+ headers: {
605
+ [name: string]: unknown;
606
+ };
607
+ content: {
608
+ "application/json": components["schemas"]["AllErrors"];
609
+ };
610
+ };
611
+ 500: {
612
+ headers: {
613
+ [name: string]: unknown;
614
+ };
615
+ content: {
616
+ "application/json": components["schemas"]["ErrorBody"];
617
+ };
618
+ };
619
+ };
620
+ };
621
+ "postFrontpage-apiV1Frontpage": {
622
+ parameters: {
623
+ query?: never;
624
+ header?: never;
625
+ path?: never;
626
+ cookie?: never;
627
+ };
628
+ requestBody: {
629
+ content: {
630
+ "application/json": components["schemas"]["FrontPageDTO"];
631
+ };
632
+ };
633
+ responses: {
634
+ 200: {
635
+ headers: {
636
+ [name: string]: unknown;
637
+ };
638
+ content: {
639
+ "application/json": components["schemas"]["FrontPageDTO"];
640
+ };
641
+ };
642
+ 400: {
643
+ headers: {
644
+ [name: string]: unknown;
645
+ };
646
+ content: {
647
+ "application/json": components["schemas"]["AllErrors"];
648
+ };
649
+ };
650
+ 401: {
651
+ headers: {
652
+ [name: string]: unknown;
653
+ };
654
+ content: {
655
+ "application/json": components["schemas"]["AllErrors"];
656
+ };
657
+ };
658
+ 403: {
659
+ headers: {
660
+ [name: string]: unknown;
661
+ };
662
+ content: {
663
+ "application/json": components["schemas"]["AllErrors"];
664
+ };
665
+ };
666
+ 404: {
667
+ headers: {
668
+ [name: string]: unknown;
669
+ };
670
+ content: {
671
+ "application/json": components["schemas"]["AllErrors"];
672
+ };
673
+ };
674
+ 500: {
675
+ headers: {
676
+ [name: string]: unknown;
677
+ };
678
+ content: {
679
+ "application/json": components["schemas"]["ErrorBody"];
680
+ };
681
+ };
682
+ };
683
+ };
684
+ "getFrontpage-apiV1Filmfrontpage": {
685
+ parameters: {
686
+ query?: {
687
+ language?: string;
688
+ };
689
+ header?: never;
690
+ path?: never;
691
+ cookie?: never;
692
+ };
693
+ requestBody?: never;
694
+ responses: {
695
+ 200: {
696
+ headers: {
697
+ [name: string]: unknown;
698
+ };
699
+ content: {
700
+ "application/json": components["schemas"]["FilmFrontPageDTO"];
701
+ };
702
+ };
703
+ 400: {
704
+ headers: {
705
+ [name: string]: unknown;
706
+ };
707
+ content: {
708
+ "application/json": components["schemas"]["AllErrors"];
709
+ };
710
+ };
711
+ 404: {
712
+ headers: {
713
+ [name: string]: unknown;
714
+ };
715
+ content: {
716
+ "application/json": components["schemas"]["AllErrors"];
717
+ };
718
+ };
719
+ 500: {
720
+ headers: {
721
+ [name: string]: unknown;
722
+ };
723
+ content: {
724
+ "application/json": components["schemas"]["ErrorBody"];
725
+ };
726
+ };
727
+ };
728
+ };
729
+ "postFrontpage-apiV1Filmfrontpage": {
730
+ parameters: {
731
+ query?: never;
732
+ header?: never;
733
+ path?: never;
734
+ cookie?: never;
735
+ };
736
+ requestBody: {
737
+ content: {
738
+ "application/json": components["schemas"]["NewOrUpdatedFilmFrontPageDTO"];
739
+ };
740
+ };
741
+ responses: {
742
+ 200: {
743
+ headers: {
744
+ [name: string]: unknown;
745
+ };
746
+ content: {
747
+ "application/json": components["schemas"]["FilmFrontPageDTO"];
748
+ };
749
+ };
750
+ 400: {
751
+ headers: {
752
+ [name: string]: unknown;
753
+ };
754
+ content: {
755
+ "application/json": components["schemas"]["AllErrors"];
756
+ };
757
+ };
758
+ 401: {
759
+ headers: {
760
+ [name: string]: unknown;
761
+ };
762
+ content: {
763
+ "application/json": components["schemas"]["AllErrors"];
764
+ };
765
+ };
766
+ 403: {
767
+ headers: {
768
+ [name: string]: unknown;
769
+ };
770
+ content: {
771
+ "application/json": components["schemas"]["AllErrors"];
772
+ };
773
+ };
774
+ 404: {
775
+ headers: {
776
+ [name: string]: unknown;
777
+ };
778
+ content: {
779
+ "application/json": components["schemas"]["AllErrors"];
780
+ };
781
+ };
782
+ 422: {
783
+ headers: {
784
+ [name: string]: unknown;
785
+ };
786
+ content: {
787
+ "application/json": components["schemas"]["AllErrors"];
788
+ };
789
+ };
790
+ 500: {
791
+ headers: {
792
+ [name: string]: unknown;
793
+ };
794
+ content: {
795
+ "application/json": components["schemas"]["ErrorBody"];
796
+ };
797
+ };
798
+ };
799
+ };
800
+ }