@ndla/types-backend 1.0.103 → 1.0.105

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 (57) hide show
  1. package/build/article-api.d.ts +1132 -31
  2. package/build/article-api.js +0 -37
  3. package/build/article-api.js.map +1 -1
  4. package/build/audio-api.d.ts +2178 -36
  5. package/build/audio-api.js +0 -37
  6. package/build/audio-api.js.map +1 -1
  7. package/build/concept-api.d.ts +1657 -34
  8. package/build/concept-api.js +0 -37
  9. package/build/concept-api.js.map +1 -1
  10. package/build/draft-api.d.ts +3193 -57
  11. package/build/draft-api.js +0 -37
  12. package/build/draft-api.js.map +1 -1
  13. package/build/frontpage-api.d.ts +998 -27
  14. package/build/frontpage-api.js +0 -37
  15. package/build/frontpage-api.js.map +1 -1
  16. package/build/image-api.d.ts +2293 -34
  17. package/build/image-api.js +0 -37
  18. package/build/image-api.js.map +1 -1
  19. package/build/learningpath-api.d.ts +3092 -43
  20. package/build/learningpath-api.js +0 -37
  21. package/build/learningpath-api.js.map +1 -1
  22. package/build/myndla-api.d.ts +3880 -43
  23. package/build/myndla-api.js +0 -37
  24. package/build/myndla-api.js.map +1 -1
  25. package/build/oembed-proxy.d.ts +251 -9
  26. package/build/oembed-proxy.js +0 -37
  27. package/build/oembed-proxy.js.map +1 -1
  28. package/build/scripts/generate-openapi.js +5 -12
  29. package/build/scripts/generate-openapi.js.map +1 -1
  30. package/build/search-api.d.ts +1645 -66
  31. package/build/search-api.js +0 -37
  32. package/build/search-api.js.map +1 -1
  33. package/package.json +2 -2
  34. package/build/article-api-openapi.d.ts +0 -1104
  35. package/build/article-api-openapi.js +0 -3
  36. package/build/article-api-openapi.js.map +0 -1
  37. package/build/audio-api-openapi.d.ts +0 -2145
  38. package/build/audio-api-openapi.js +0 -3
  39. package/build/audio-api-openapi.js.map +0 -1
  40. package/build/concept-api-openapi.d.ts +0 -1626
  41. package/build/concept-api-openapi.js +0 -3
  42. package/build/concept-api-openapi.js.map +0 -1
  43. package/build/draft-api-openapi.d.ts +0 -3139
  44. package/build/draft-api-openapi.js +0 -3
  45. package/build/draft-api-openapi.js.map +0 -1
  46. package/build/frontpage-api-openapi.d.ts +0 -974
  47. package/build/frontpage-api-openapi.js +0 -3
  48. package/build/frontpage-api-openapi.js.map +0 -1
  49. package/build/learningpath-api-openapi.d.ts +0 -3052
  50. package/build/learningpath-api-openapi.js +0 -3
  51. package/build/learningpath-api-openapi.js.map +0 -1
  52. package/build/oembed-proxy-openapi.d.ts +0 -245
  53. package/build/oembed-proxy-openapi.js +0 -3
  54. package/build/oembed-proxy-openapi.js.map +0 -1
  55. package/build/search-api-openapi.d.ts +0 -1582
  56. package/build/search-api-openapi.js +0 -3
  57. package/build/search-api-openapi.js.map +0 -1
@@ -1,27 +1,998 @@
1
- import * as openapi from "./frontpage-api-openapi";
2
- type schemas = openapi.components["schemas"];
3
- export { openapi };
4
- export type AboutFilmSubjectDTO = schemas["AboutFilmSubjectDTO"];
5
- export type AboutSubjectDTO = schemas["AboutSubjectDTO"];
6
- export type AllErrors = schemas["AllErrors"];
7
- export type BannerImageDTO = schemas["BannerImageDTO"];
8
- export type ErrorBody = schemas["ErrorBody"];
9
- export type FilmFrontPageDTO = schemas["FilmFrontPageDTO"];
10
- export type FrontPageDTO = schemas["FrontPageDTO"];
11
- export type MenuDTO = schemas["MenuDTO"];
12
- export type MovieThemeDTO = schemas["MovieThemeDTO"];
13
- export type MovieThemeNameDTO = schemas["MovieThemeNameDTO"];
14
- export type NewOrUpdateBannerImageDTO = schemas["NewOrUpdateBannerImageDTO"];
15
- export type NewOrUpdatedAboutSubjectDTO = schemas["NewOrUpdatedAboutSubjectDTO"];
16
- export type NewOrUpdatedFilmFrontPageDTO = schemas["NewOrUpdatedFilmFrontPageDTO"];
17
- export type NewOrUpdatedMetaDescriptionDTO = schemas["NewOrUpdatedMetaDescriptionDTO"];
18
- export type NewOrUpdatedMovieNameDTO = schemas["NewOrUpdatedMovieNameDTO"];
19
- export type NewOrUpdatedMovieThemeDTO = schemas["NewOrUpdatedMovieThemeDTO"];
20
- export type NewOrUpdatedVisualElementDTO = schemas["NewOrUpdatedVisualElementDTO"];
21
- export type NewSubjectPageDTO = schemas["NewSubjectPageDTO"];
22
- export type NotFoundWithSupportedLanguages = schemas["NotFoundWithSupportedLanguages"];
23
- export type SubjectPageDTO = schemas["SubjectPageDTO"];
24
- export type UpdatedSubjectPageDTO = schemas["UpdatedSubjectPageDTO"];
25
- export type ValidationErrorBody = schemas["ValidationErrorBody"];
26
- export type ValidationMessage = schemas["ValidationMessage"];
27
- export type VisualElementDTO = schemas["VisualElementDTO"];
1
+ export type paths = {
2
+ "/frontpage-api/v1/subjectpage": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ /** Fetch all subjectpages */
10
+ get: operations["getFrontpage-apiV1Subjectpage"];
11
+ put?: never;
12
+ /** Create new subject page */
13
+ post: operations["postFrontpage-apiV1Subjectpage"];
14
+ delete?: never;
15
+ options?: never;
16
+ head?: never;
17
+ patch?: never;
18
+ trace?: never;
19
+ };
20
+ "/frontpage-api/v1/subjectpage/ids": {
21
+ parameters: {
22
+ query?: never;
23
+ header?: never;
24
+ path?: never;
25
+ cookie?: never;
26
+ };
27
+ /** Fetch subject pages that matches ids parameter */
28
+ get: operations["getFrontpage-apiV1SubjectpageIds"];
29
+ put?: never;
30
+ post?: never;
31
+ delete?: never;
32
+ options?: never;
33
+ head?: never;
34
+ patch?: never;
35
+ trace?: never;
36
+ };
37
+ "/frontpage-api/v1/subjectpage/{subjectpage-id}": {
38
+ parameters: {
39
+ query?: never;
40
+ header?: never;
41
+ path?: never;
42
+ cookie?: never;
43
+ };
44
+ /** Get data to display on a subject page */
45
+ get: operations["getFrontpage-apiV1SubjectpageSubjectpage-id"];
46
+ put?: never;
47
+ post?: never;
48
+ delete?: never;
49
+ options?: never;
50
+ head?: never;
51
+ /** Update subject page */
52
+ patch: operations["patchFrontpage-apiV1SubjectpageSubjectpage-id"];
53
+ trace?: never;
54
+ };
55
+ "/frontpage-api/v1/subjectpage/{subjectpage-id}/language/{language}": {
56
+ parameters: {
57
+ query?: never;
58
+ header?: never;
59
+ path?: never;
60
+ cookie?: never;
61
+ };
62
+ get?: never;
63
+ put?: never;
64
+ post?: never;
65
+ /**
66
+ * Delete language from subject page
67
+ * @description Delete language from subject page
68
+ */
69
+ delete: operations["deleteFrontpage-apiV1SubjectpageSubjectpage-idLanguageLanguage"];
70
+ options?: never;
71
+ head?: never;
72
+ patch?: never;
73
+ trace?: never;
74
+ };
75
+ "/frontpage-api/v1/frontpage": {
76
+ parameters: {
77
+ query?: never;
78
+ header?: never;
79
+ path?: never;
80
+ cookie?: never;
81
+ };
82
+ /** Get data to display on the front page */
83
+ get: operations["getFrontpage-apiV1Frontpage"];
84
+ put?: never;
85
+ /** Create front page */
86
+ post: operations["postFrontpage-apiV1Frontpage"];
87
+ delete?: never;
88
+ options?: never;
89
+ head?: never;
90
+ patch?: never;
91
+ trace?: never;
92
+ };
93
+ "/frontpage-api/v1/filmfrontpage": {
94
+ parameters: {
95
+ query?: never;
96
+ header?: never;
97
+ path?: never;
98
+ cookie?: never;
99
+ };
100
+ /** Get data to display on the film front page */
101
+ get: operations["getFrontpage-apiV1Filmfrontpage"];
102
+ put?: never;
103
+ /** Update film front page */
104
+ post: operations["postFrontpage-apiV1Filmfrontpage"];
105
+ delete?: never;
106
+ options?: never;
107
+ head?: never;
108
+ patch?: never;
109
+ trace?: never;
110
+ };
111
+ "/frontpage-api/v1/filmfrontpage/language/{language}": {
112
+ parameters: {
113
+ query?: never;
114
+ header?: never;
115
+ path?: never;
116
+ cookie?: never;
117
+ };
118
+ get?: never;
119
+ put?: never;
120
+ post?: never;
121
+ /**
122
+ * Delete language from film front page
123
+ * @description Delete language from film front page
124
+ */
125
+ delete: operations["deleteFrontpage-apiV1FilmfrontpageLanguageLanguage"];
126
+ options?: never;
127
+ head?: never;
128
+ patch?: never;
129
+ trace?: never;
130
+ };
131
+ };
132
+ export type webhooks = Record<string, never>;
133
+ export type components = {
134
+ schemas: {
135
+ /** AboutFilmSubjectDTO */
136
+ AboutFilmSubjectDTO: {
137
+ title: string;
138
+ description: string;
139
+ visualElement: components["schemas"]["VisualElementDTO"];
140
+ language: string;
141
+ };
142
+ /** AboutSubjectDTO */
143
+ AboutSubjectDTO: {
144
+ title: string;
145
+ description: string;
146
+ visualElement: components["schemas"]["VisualElementDTO"];
147
+ };
148
+ /** AllErrors */
149
+ AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
150
+ /** BannerImageDTO */
151
+ BannerImageDTO: {
152
+ mobileUrl?: string;
153
+ /** Format: int64 */
154
+ mobileId?: number;
155
+ desktopUrl: string;
156
+ /** Format: int64 */
157
+ desktopId: number;
158
+ };
159
+ /**
160
+ * ErrorBody
161
+ * @description Information about an error
162
+ */
163
+ ErrorBody: {
164
+ /** @description Code stating the type of error */
165
+ code: string;
166
+ /** @description Description of the error */
167
+ description: string;
168
+ /** @description When the error occurred */
169
+ occurredAt: string;
170
+ /**
171
+ * Format: int32
172
+ * @description Numeric http status code
173
+ */
174
+ statusCode: number;
175
+ };
176
+ /** FilmFrontPageDTO */
177
+ FilmFrontPageDTO: {
178
+ name: string;
179
+ about: components["schemas"]["AboutFilmSubjectDTO"][];
180
+ movieThemes: components["schemas"]["MovieThemeDTO"][];
181
+ slideShow: string[];
182
+ article?: string;
183
+ supportedLanguages: string[];
184
+ };
185
+ /**
186
+ * FrontPageDTO
187
+ * @description Object containing frontpage data
188
+ */
189
+ FrontPageDTO: {
190
+ /**
191
+ * Format: int64
192
+ * @description Id of the frontpage
193
+ */
194
+ articleId: number;
195
+ /** @description List of Menu objects */
196
+ menu: components["schemas"]["MenuDTO"][];
197
+ };
198
+ /**
199
+ * MenuDTO
200
+ * @description The Menu object
201
+ */
202
+ MenuDTO: {
203
+ /**
204
+ * Format: int64
205
+ * @description Id of the article
206
+ */
207
+ articleId: number;
208
+ /** @description List of submenu objects */
209
+ menu: components["schemas"]["MenuDTO"][];
210
+ /** @description Hide this level in menu */
211
+ hideLevel?: boolean;
212
+ };
213
+ /** MovieThemeDTO */
214
+ MovieThemeDTO: {
215
+ name: components["schemas"]["MovieThemeNameDTO"][];
216
+ movies: string[];
217
+ };
218
+ /** MovieThemeNameDTO */
219
+ MovieThemeNameDTO: {
220
+ name: string;
221
+ language: string;
222
+ };
223
+ /** NewOrUpdateBannerImageDTO */
224
+ NewOrUpdateBannerImageDTO: {
225
+ /** Format: int64 */
226
+ mobileImageId?: number;
227
+ /** Format: int64 */
228
+ desktopImageId: number;
229
+ };
230
+ /** NewOrUpdatedAboutSubjectDTO */
231
+ NewOrUpdatedAboutSubjectDTO: {
232
+ title: string;
233
+ description: string;
234
+ language: string;
235
+ visualElement: components["schemas"]["NewOrUpdatedVisualElementDTO"];
236
+ };
237
+ /** NewOrUpdatedFilmFrontPageDTO */
238
+ NewOrUpdatedFilmFrontPageDTO: {
239
+ name: string;
240
+ about: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
241
+ movieThemes: components["schemas"]["NewOrUpdatedMovieThemeDTO"][];
242
+ slideShow: string[];
243
+ article?: string;
244
+ };
245
+ /** NewOrUpdatedMetaDescriptionDTO */
246
+ NewOrUpdatedMetaDescriptionDTO: {
247
+ metaDescription: string;
248
+ language: string;
249
+ };
250
+ /** NewOrUpdatedMovieNameDTO */
251
+ NewOrUpdatedMovieNameDTO: {
252
+ name: string;
253
+ language: string;
254
+ };
255
+ /** NewOrUpdatedMovieThemeDTO */
256
+ NewOrUpdatedMovieThemeDTO: {
257
+ name: components["schemas"]["NewOrUpdatedMovieNameDTO"][];
258
+ movies: string[];
259
+ };
260
+ /** NewOrUpdatedVisualElementDTO */
261
+ NewOrUpdatedVisualElementDTO: {
262
+ type: string;
263
+ id: string;
264
+ alt?: string;
265
+ };
266
+ /** NewSubjectPageDTO */
267
+ NewSubjectPageDTO: {
268
+ name: string;
269
+ externalId?: string;
270
+ banner: components["schemas"]["NewOrUpdateBannerImageDTO"];
271
+ about: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
272
+ metaDescription: components["schemas"]["NewOrUpdatedMetaDescriptionDTO"][];
273
+ editorsChoices?: string[];
274
+ connectedTo?: string[];
275
+ buildsOn?: string[];
276
+ leadsTo?: string[];
277
+ };
278
+ /**
279
+ * NotFoundWithSupportedLanguages
280
+ * @description Information about an error
281
+ */
282
+ NotFoundWithSupportedLanguages: {
283
+ /** @description Code stating the type of error */
284
+ code: string;
285
+ /** @description Description of the error */
286
+ description: string;
287
+ /** @description When the error occurred */
288
+ occurredAt: string;
289
+ /** @description List of supported languages */
290
+ supportedLanguages?: string[];
291
+ /**
292
+ * Format: int32
293
+ * @description Numeric http status code
294
+ */
295
+ statusCode: number;
296
+ };
297
+ /** SubjectPageDTO */
298
+ SubjectPageDTO: {
299
+ /** Format: int64 */
300
+ id: number;
301
+ name: string;
302
+ banner: components["schemas"]["BannerImageDTO"];
303
+ about?: components["schemas"]["AboutSubjectDTO"];
304
+ metaDescription?: string;
305
+ editorsChoices: string[];
306
+ supportedLanguages: string[];
307
+ connectedTo: string[];
308
+ buildsOn: string[];
309
+ leadsTo: string[];
310
+ };
311
+ /** UpdatedSubjectPageDTO */
312
+ UpdatedSubjectPageDTO: {
313
+ name?: string;
314
+ externalId?: string;
315
+ banner?: components["schemas"]["NewOrUpdateBannerImageDTO"];
316
+ about?: components["schemas"]["NewOrUpdatedAboutSubjectDTO"][];
317
+ metaDescription?: components["schemas"]["NewOrUpdatedMetaDescriptionDTO"][];
318
+ editorsChoices?: string[];
319
+ connectedTo?: string[];
320
+ buildsOn?: string[];
321
+ leadsTo?: string[];
322
+ };
323
+ /**
324
+ * ValidationErrorBody
325
+ * @description Information about an error
326
+ */
327
+ ValidationErrorBody: {
328
+ /** @description Code stating the type of error */
329
+ code: string;
330
+ /** @description Description of the error */
331
+ description: string;
332
+ /** @description When the error occurred */
333
+ occurredAt: string;
334
+ /** @description List of validation messages */
335
+ messages?: components["schemas"]["ValidationMessage"][];
336
+ /**
337
+ * Format: int32
338
+ * @description Numeric http status code
339
+ */
340
+ statusCode: number;
341
+ };
342
+ /**
343
+ * ValidationMessage
344
+ * @description A message describing a validation error on a specific field
345
+ */
346
+ ValidationMessage: {
347
+ /** @description The field the error occured in */
348
+ field: string;
349
+ /** @description The validation message */
350
+ message: string;
351
+ };
352
+ /** VisualElementDTO */
353
+ VisualElementDTO: {
354
+ type: string;
355
+ url: string;
356
+ alt?: string;
357
+ };
358
+ };
359
+ responses: never;
360
+ parameters: never;
361
+ requestBodies: never;
362
+ headers: never;
363
+ pathItems: never;
364
+ };
365
+ export type AboutFilmSubjectDTO = components['schemas']['AboutFilmSubjectDTO'];
366
+ export type AboutSubjectDTO = components['schemas']['AboutSubjectDTO'];
367
+ export type AllErrors = components['schemas']['AllErrors'];
368
+ export type BannerImageDTO = components['schemas']['BannerImageDTO'];
369
+ export type ErrorBody = components['schemas']['ErrorBody'];
370
+ export type FilmFrontPageDTO = components['schemas']['FilmFrontPageDTO'];
371
+ export type FrontPageDTO = components['schemas']['FrontPageDTO'];
372
+ export type MenuDTO = components['schemas']['MenuDTO'];
373
+ export type MovieThemeDTO = components['schemas']['MovieThemeDTO'];
374
+ export type MovieThemeNameDTO = components['schemas']['MovieThemeNameDTO'];
375
+ export type NewOrUpdateBannerImageDTO = components['schemas']['NewOrUpdateBannerImageDTO'];
376
+ export type NewOrUpdatedAboutSubjectDTO = components['schemas']['NewOrUpdatedAboutSubjectDTO'];
377
+ export type NewOrUpdatedFilmFrontPageDTO = components['schemas']['NewOrUpdatedFilmFrontPageDTO'];
378
+ export type NewOrUpdatedMetaDescriptionDTO = components['schemas']['NewOrUpdatedMetaDescriptionDTO'];
379
+ export type NewOrUpdatedMovieNameDTO = components['schemas']['NewOrUpdatedMovieNameDTO'];
380
+ export type NewOrUpdatedMovieThemeDTO = components['schemas']['NewOrUpdatedMovieThemeDTO'];
381
+ export type NewOrUpdatedVisualElementDTO = components['schemas']['NewOrUpdatedVisualElementDTO'];
382
+ export type NewSubjectPageDTO = components['schemas']['NewSubjectPageDTO'];
383
+ export type NotFoundWithSupportedLanguages = components['schemas']['NotFoundWithSupportedLanguages'];
384
+ export type SubjectPageDTO = components['schemas']['SubjectPageDTO'];
385
+ export type UpdatedSubjectPageDTO = components['schemas']['UpdatedSubjectPageDTO'];
386
+ export type ValidationErrorBody = components['schemas']['ValidationErrorBody'];
387
+ export type ValidationMessage = components['schemas']['ValidationMessage'];
388
+ export type VisualElementDTO = components['schemas']['VisualElementDTO'];
389
+ export type $defs = Record<string, never>;
390
+ export interface operations {
391
+ "getFrontpage-apiV1Subjectpage": {
392
+ parameters: {
393
+ query?: {
394
+ /** @description The page number of the search hits to display. */
395
+ page?: number;
396
+ /** @description The number of search hits to display for each page. */
397
+ "page-size"?: number;
398
+ /** @description The ISO 639-1 language code describing language. */
399
+ language?: string;
400
+ /** @description Fallback to existing language if language is specified. */
401
+ fallback?: boolean;
402
+ };
403
+ header?: never;
404
+ path?: never;
405
+ cookie?: never;
406
+ };
407
+ requestBody?: never;
408
+ responses: {
409
+ 200: {
410
+ headers: {
411
+ [name: string]: unknown;
412
+ };
413
+ content: {
414
+ "application/json": components["schemas"]["SubjectPageDTO"][];
415
+ };
416
+ };
417
+ 400: {
418
+ headers: {
419
+ [name: string]: unknown;
420
+ };
421
+ content: {
422
+ "application/json": components["schemas"]["AllErrors"];
423
+ };
424
+ };
425
+ 404: {
426
+ headers: {
427
+ [name: string]: unknown;
428
+ };
429
+ content: {
430
+ "application/json": components["schemas"]["AllErrors"];
431
+ };
432
+ };
433
+ 500: {
434
+ headers: {
435
+ [name: string]: unknown;
436
+ };
437
+ content: {
438
+ "application/json": components["schemas"]["ErrorBody"];
439
+ };
440
+ };
441
+ };
442
+ };
443
+ "postFrontpage-apiV1Subjectpage": {
444
+ parameters: {
445
+ query?: never;
446
+ header?: never;
447
+ path?: never;
448
+ cookie?: never;
449
+ };
450
+ requestBody: {
451
+ content: {
452
+ "application/json": components["schemas"]["NewSubjectPageDTO"];
453
+ };
454
+ };
455
+ responses: {
456
+ 200: {
457
+ headers: {
458
+ [name: string]: unknown;
459
+ };
460
+ content: {
461
+ "application/json": components["schemas"]["SubjectPageDTO"];
462
+ };
463
+ };
464
+ 400: {
465
+ headers: {
466
+ [name: string]: unknown;
467
+ };
468
+ content: {
469
+ "application/json": components["schemas"]["AllErrors"];
470
+ };
471
+ };
472
+ 404: {
473
+ headers: {
474
+ [name: string]: unknown;
475
+ };
476
+ content: {
477
+ "application/json": components["schemas"]["AllErrors"];
478
+ };
479
+ };
480
+ 500: {
481
+ headers: {
482
+ [name: string]: unknown;
483
+ };
484
+ content: {
485
+ "application/json": components["schemas"]["ErrorBody"];
486
+ };
487
+ };
488
+ };
489
+ };
490
+ "getFrontpage-apiV1SubjectpageIds": {
491
+ parameters: {
492
+ query?: {
493
+ /** @description Return only subject pages that have one of the provided ids. To provide multiple ids, separate by comma (,). */
494
+ ids?: number[];
495
+ /** @description The ISO 639-1 language code describing language. */
496
+ language?: string;
497
+ /** @description Fallback to existing language if language is specified. */
498
+ fallback?: boolean;
499
+ /** @description The number of search hits to display for each page. */
500
+ "page-size"?: number;
501
+ /** @description The page number of the search hits to display. */
502
+ page?: number;
503
+ };
504
+ header?: never;
505
+ path?: never;
506
+ cookie?: never;
507
+ };
508
+ requestBody?: never;
509
+ responses: {
510
+ 200: {
511
+ headers: {
512
+ [name: string]: unknown;
513
+ };
514
+ content: {
515
+ "application/json": components["schemas"]["SubjectPageDTO"][];
516
+ };
517
+ };
518
+ 400: {
519
+ headers: {
520
+ [name: string]: unknown;
521
+ };
522
+ content: {
523
+ "application/json": components["schemas"]["AllErrors"];
524
+ };
525
+ };
526
+ 404: {
527
+ headers: {
528
+ [name: string]: unknown;
529
+ };
530
+ content: {
531
+ "application/json": components["schemas"]["AllErrors"];
532
+ };
533
+ };
534
+ 500: {
535
+ headers: {
536
+ [name: string]: unknown;
537
+ };
538
+ content: {
539
+ "application/json": components["schemas"]["ErrorBody"];
540
+ };
541
+ };
542
+ };
543
+ };
544
+ "getFrontpage-apiV1SubjectpageSubjectpage-id": {
545
+ parameters: {
546
+ query?: {
547
+ /** @description The ISO 639-1 language code describing language. */
548
+ language?: string;
549
+ /** @description Fallback to existing language if language is specified. */
550
+ fallback?: boolean;
551
+ };
552
+ header?: never;
553
+ path: {
554
+ /** @description The subjectpage id */
555
+ "subjectpage-id": number;
556
+ };
557
+ cookie?: never;
558
+ };
559
+ requestBody?: never;
560
+ responses: {
561
+ 200: {
562
+ headers: {
563
+ [name: string]: unknown;
564
+ };
565
+ content: {
566
+ "application/json": components["schemas"]["SubjectPageDTO"];
567
+ };
568
+ };
569
+ 400: {
570
+ headers: {
571
+ [name: string]: unknown;
572
+ };
573
+ content: {
574
+ "application/json": components["schemas"]["AllErrors"];
575
+ };
576
+ };
577
+ 404: {
578
+ headers: {
579
+ [name: string]: unknown;
580
+ };
581
+ content: {
582
+ "application/json": components["schemas"]["AllErrors"];
583
+ };
584
+ };
585
+ 500: {
586
+ headers: {
587
+ [name: string]: unknown;
588
+ };
589
+ content: {
590
+ "application/json": components["schemas"]["ErrorBody"];
591
+ };
592
+ };
593
+ };
594
+ };
595
+ "patchFrontpage-apiV1SubjectpageSubjectpage-id": {
596
+ parameters: {
597
+ query?: {
598
+ /** @description The ISO 639-1 language code describing language. */
599
+ language?: string;
600
+ /** @description Fallback to existing language if language is specified. */
601
+ fallback?: boolean;
602
+ };
603
+ header?: never;
604
+ path: {
605
+ /** @description The subjectpage id */
606
+ "subjectpage-id": number;
607
+ };
608
+ cookie?: never;
609
+ };
610
+ requestBody: {
611
+ content: {
612
+ "application/json": components["schemas"]["UpdatedSubjectPageDTO"];
613
+ };
614
+ };
615
+ responses: {
616
+ 200: {
617
+ headers: {
618
+ [name: string]: unknown;
619
+ };
620
+ content: {
621
+ "application/json": components["schemas"]["SubjectPageDTO"];
622
+ };
623
+ };
624
+ 400: {
625
+ headers: {
626
+ [name: string]: unknown;
627
+ };
628
+ content: {
629
+ "application/json": components["schemas"]["AllErrors"];
630
+ };
631
+ };
632
+ 404: {
633
+ headers: {
634
+ [name: string]: unknown;
635
+ };
636
+ content: {
637
+ "application/json": components["schemas"]["AllErrors"];
638
+ };
639
+ };
640
+ 500: {
641
+ headers: {
642
+ [name: string]: unknown;
643
+ };
644
+ content: {
645
+ "application/json": components["schemas"]["ErrorBody"];
646
+ };
647
+ };
648
+ };
649
+ };
650
+ "deleteFrontpage-apiV1SubjectpageSubjectpage-idLanguageLanguage": {
651
+ parameters: {
652
+ query?: never;
653
+ header?: never;
654
+ path: {
655
+ /** @description The subjectpage id */
656
+ "subjectpage-id": number;
657
+ /** @description The ISO 639-1 language code describing language. */
658
+ language: string;
659
+ };
660
+ cookie?: never;
661
+ };
662
+ requestBody?: never;
663
+ responses: {
664
+ 200: {
665
+ headers: {
666
+ [name: string]: unknown;
667
+ };
668
+ content: {
669
+ "application/json": components["schemas"]["SubjectPageDTO"];
670
+ };
671
+ };
672
+ 400: {
673
+ headers: {
674
+ [name: string]: unknown;
675
+ };
676
+ content: {
677
+ "application/json": components["schemas"]["AllErrors"];
678
+ };
679
+ };
680
+ 401: {
681
+ headers: {
682
+ [name: string]: unknown;
683
+ };
684
+ content: {
685
+ "application/json": components["schemas"]["AllErrors"];
686
+ };
687
+ };
688
+ 403: {
689
+ headers: {
690
+ [name: string]: unknown;
691
+ };
692
+ content: {
693
+ "application/json": components["schemas"]["AllErrors"];
694
+ };
695
+ };
696
+ 404: {
697
+ headers: {
698
+ [name: string]: unknown;
699
+ };
700
+ content: {
701
+ "application/json": components["schemas"]["AllErrors"];
702
+ };
703
+ };
704
+ 500: {
705
+ headers: {
706
+ [name: string]: unknown;
707
+ };
708
+ content: {
709
+ "application/json": components["schemas"]["ErrorBody"];
710
+ };
711
+ };
712
+ };
713
+ };
714
+ "getFrontpage-apiV1Frontpage": {
715
+ parameters: {
716
+ query?: never;
717
+ header?: never;
718
+ path?: never;
719
+ cookie?: never;
720
+ };
721
+ requestBody?: never;
722
+ responses: {
723
+ 200: {
724
+ headers: {
725
+ [name: string]: unknown;
726
+ };
727
+ content: {
728
+ "application/json": components["schemas"]["FrontPageDTO"];
729
+ };
730
+ };
731
+ 400: {
732
+ headers: {
733
+ [name: string]: unknown;
734
+ };
735
+ content: {
736
+ "application/json": components["schemas"]["AllErrors"];
737
+ };
738
+ };
739
+ 404: {
740
+ headers: {
741
+ [name: string]: unknown;
742
+ };
743
+ content: {
744
+ "application/json": components["schemas"]["AllErrors"];
745
+ };
746
+ };
747
+ 500: {
748
+ headers: {
749
+ [name: string]: unknown;
750
+ };
751
+ content: {
752
+ "application/json": components["schemas"]["ErrorBody"];
753
+ };
754
+ };
755
+ };
756
+ };
757
+ "postFrontpage-apiV1Frontpage": {
758
+ parameters: {
759
+ query?: never;
760
+ header?: never;
761
+ path?: never;
762
+ cookie?: never;
763
+ };
764
+ requestBody: {
765
+ content: {
766
+ "application/json": components["schemas"]["FrontPageDTO"];
767
+ };
768
+ };
769
+ responses: {
770
+ 200: {
771
+ headers: {
772
+ [name: string]: unknown;
773
+ };
774
+ content: {
775
+ "application/json": components["schemas"]["FrontPageDTO"];
776
+ };
777
+ };
778
+ 400: {
779
+ headers: {
780
+ [name: string]: unknown;
781
+ };
782
+ content: {
783
+ "application/json": components["schemas"]["AllErrors"];
784
+ };
785
+ };
786
+ 401: {
787
+ headers: {
788
+ [name: string]: unknown;
789
+ };
790
+ content: {
791
+ "application/json": components["schemas"]["AllErrors"];
792
+ };
793
+ };
794
+ 403: {
795
+ headers: {
796
+ [name: string]: unknown;
797
+ };
798
+ content: {
799
+ "application/json": components["schemas"]["AllErrors"];
800
+ };
801
+ };
802
+ 404: {
803
+ headers: {
804
+ [name: string]: unknown;
805
+ };
806
+ content: {
807
+ "application/json": components["schemas"]["AllErrors"];
808
+ };
809
+ };
810
+ 500: {
811
+ headers: {
812
+ [name: string]: unknown;
813
+ };
814
+ content: {
815
+ "application/json": components["schemas"]["ErrorBody"];
816
+ };
817
+ };
818
+ };
819
+ };
820
+ "getFrontpage-apiV1Filmfrontpage": {
821
+ parameters: {
822
+ query?: {
823
+ language?: string;
824
+ };
825
+ header?: never;
826
+ path?: never;
827
+ cookie?: never;
828
+ };
829
+ requestBody?: never;
830
+ responses: {
831
+ 200: {
832
+ headers: {
833
+ [name: string]: unknown;
834
+ };
835
+ content: {
836
+ "application/json": components["schemas"]["FilmFrontPageDTO"];
837
+ };
838
+ };
839
+ 400: {
840
+ headers: {
841
+ [name: string]: unknown;
842
+ };
843
+ content: {
844
+ "application/json": components["schemas"]["AllErrors"];
845
+ };
846
+ };
847
+ 404: {
848
+ headers: {
849
+ [name: string]: unknown;
850
+ };
851
+ content: {
852
+ "application/json": components["schemas"]["AllErrors"];
853
+ };
854
+ };
855
+ 500: {
856
+ headers: {
857
+ [name: string]: unknown;
858
+ };
859
+ content: {
860
+ "application/json": components["schemas"]["ErrorBody"];
861
+ };
862
+ };
863
+ };
864
+ };
865
+ "postFrontpage-apiV1Filmfrontpage": {
866
+ parameters: {
867
+ query?: never;
868
+ header?: never;
869
+ path?: never;
870
+ cookie?: never;
871
+ };
872
+ requestBody: {
873
+ content: {
874
+ "application/json": components["schemas"]["NewOrUpdatedFilmFrontPageDTO"];
875
+ };
876
+ };
877
+ responses: {
878
+ 200: {
879
+ headers: {
880
+ [name: string]: unknown;
881
+ };
882
+ content: {
883
+ "application/json": components["schemas"]["FilmFrontPageDTO"];
884
+ };
885
+ };
886
+ 400: {
887
+ headers: {
888
+ [name: string]: unknown;
889
+ };
890
+ content: {
891
+ "application/json": components["schemas"]["AllErrors"];
892
+ };
893
+ };
894
+ 401: {
895
+ headers: {
896
+ [name: string]: unknown;
897
+ };
898
+ content: {
899
+ "application/json": components["schemas"]["AllErrors"];
900
+ };
901
+ };
902
+ 403: {
903
+ headers: {
904
+ [name: string]: unknown;
905
+ };
906
+ content: {
907
+ "application/json": components["schemas"]["AllErrors"];
908
+ };
909
+ };
910
+ 404: {
911
+ headers: {
912
+ [name: string]: unknown;
913
+ };
914
+ content: {
915
+ "application/json": components["schemas"]["AllErrors"];
916
+ };
917
+ };
918
+ 422: {
919
+ headers: {
920
+ [name: string]: unknown;
921
+ };
922
+ content: {
923
+ "application/json": components["schemas"]["AllErrors"];
924
+ };
925
+ };
926
+ 500: {
927
+ headers: {
928
+ [name: string]: unknown;
929
+ };
930
+ content: {
931
+ "application/json": components["schemas"]["ErrorBody"];
932
+ };
933
+ };
934
+ };
935
+ };
936
+ "deleteFrontpage-apiV1FilmfrontpageLanguageLanguage": {
937
+ parameters: {
938
+ query?: never;
939
+ header?: never;
940
+ path: {
941
+ /** @description The ISO 639-1 language code describing language. */
942
+ language: string;
943
+ };
944
+ cookie?: never;
945
+ };
946
+ requestBody?: never;
947
+ responses: {
948
+ 200: {
949
+ headers: {
950
+ [name: string]: unknown;
951
+ };
952
+ content: {
953
+ "application/json": components["schemas"]["FilmFrontPageDTO"];
954
+ };
955
+ };
956
+ 400: {
957
+ headers: {
958
+ [name: string]: unknown;
959
+ };
960
+ content: {
961
+ "application/json": components["schemas"]["AllErrors"];
962
+ };
963
+ };
964
+ 401: {
965
+ headers: {
966
+ [name: string]: unknown;
967
+ };
968
+ content: {
969
+ "application/json": components["schemas"]["AllErrors"];
970
+ };
971
+ };
972
+ 403: {
973
+ headers: {
974
+ [name: string]: unknown;
975
+ };
976
+ content: {
977
+ "application/json": components["schemas"]["AllErrors"];
978
+ };
979
+ };
980
+ 404: {
981
+ headers: {
982
+ [name: string]: unknown;
983
+ };
984
+ content: {
985
+ "application/json": components["schemas"]["AllErrors"];
986
+ };
987
+ };
988
+ 500: {
989
+ headers: {
990
+ [name: string]: unknown;
991
+ };
992
+ content: {
993
+ "application/json": components["schemas"]["ErrorBody"];
994
+ };
995
+ };
996
+ };
997
+ };
998
+ }