@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,2671 @@
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
+ "/learningpath-api/v2/learningpaths": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /**
14
+ * Find public learningpaths
15
+ * @description Show public learningpaths.
16
+ */
17
+ get: operations["getLearningpath-apiV2Learningpaths"];
18
+ put?: never;
19
+ /**
20
+ * Store new learningpath
21
+ * @description Adds the given learningpath
22
+ */
23
+ post: operations["postLearningpath-apiV2Learningpaths"];
24
+ delete?: never;
25
+ options?: never;
26
+ head?: never;
27
+ patch?: never;
28
+ trace?: never;
29
+ };
30
+ "/learningpath-api/v2/learningpaths/search": {
31
+ parameters: {
32
+ query?: never;
33
+ header?: never;
34
+ path?: never;
35
+ cookie?: never;
36
+ };
37
+ get?: never;
38
+ put?: never;
39
+ /**
40
+ * Find public learningpaths
41
+ * @description Show public learningpaths
42
+ */
43
+ post: operations["postLearningpath-apiV2LearningpathsSearch"];
44
+ delete?: never;
45
+ options?: never;
46
+ head?: never;
47
+ patch?: never;
48
+ trace?: never;
49
+ };
50
+ "/learningpath-api/v2/learningpaths/tags": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
56
+ };
57
+ /**
58
+ * Fetch all previously used tags in learningpaths
59
+ * @description Retrieves a list of all previously used tags in learningpaths
60
+ */
61
+ get: operations["getLearningpath-apiV2LearningpathsTags"];
62
+ put?: never;
63
+ post?: never;
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ patch?: never;
68
+ trace?: never;
69
+ };
70
+ "/learningpath-api/v2/learningpaths/licenses": {
71
+ parameters: {
72
+ query?: never;
73
+ header?: never;
74
+ path?: never;
75
+ cookie?: never;
76
+ };
77
+ /**
78
+ * Show all valid licenses
79
+ * @description Shows all valid licenses
80
+ */
81
+ get: operations["getLearningpath-apiV2LearningpathsLicenses"];
82
+ put?: never;
83
+ post?: never;
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
90
+ "/learningpath-api/v2/learningpaths/mine": {
91
+ parameters: {
92
+ query?: never;
93
+ header?: never;
94
+ path?: never;
95
+ cookie?: never;
96
+ };
97
+ /**
98
+ * Fetch all learningspaths you have created
99
+ * @description Shows your learningpaths.
100
+ */
101
+ get: operations["getLearningpath-apiV2LearningpathsMine"];
102
+ put?: never;
103
+ post?: never;
104
+ delete?: never;
105
+ options?: never;
106
+ head?: never;
107
+ patch?: never;
108
+ trace?: never;
109
+ };
110
+ "/learningpath-api/v2/learningpaths/contributors": {
111
+ parameters: {
112
+ query?: never;
113
+ header?: never;
114
+ path?: never;
115
+ cookie?: never;
116
+ };
117
+ /**
118
+ * Fetch all previously used contributors in learningpaths
119
+ * @description Retrieves a list of all previously used contributors in learningpaths
120
+ */
121
+ get: operations["getLearningpath-apiV2LearningpathsContributors"];
122
+ put?: never;
123
+ post?: never;
124
+ delete?: never;
125
+ options?: never;
126
+ head?: never;
127
+ patch?: never;
128
+ trace?: never;
129
+ };
130
+ "/learningpath-api/v2/learningpaths/ids": {
131
+ parameters: {
132
+ query?: never;
133
+ header?: never;
134
+ path?: never;
135
+ cookie?: never;
136
+ };
137
+ /**
138
+ * Fetch learningpaths that matches ids parameter.
139
+ * @description Returns learningpaths that matches ids parameter.
140
+ */
141
+ get: operations["getLearningpath-apiV2LearningpathsIds"];
142
+ put?: never;
143
+ post?: never;
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
+ "/learningpath-api/v2/learningpaths/{learningpath_id}": {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ /**
158
+ * Fetch details about the specified learningpath
159
+ * @description Shows all information about the specified learningpath.
160
+ */
161
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_id"];
162
+ put?: never;
163
+ post?: never;
164
+ /**
165
+ * Delete given learningpath
166
+ * @description Deletes the given learningPath
167
+ */
168
+ delete: operations["deleteLearningpath-apiV2LearningpathsLearningpath_id"];
169
+ options?: never;
170
+ head?: never;
171
+ /**
172
+ * Update given learningpath
173
+ * @description Updates the given learningPath
174
+ */
175
+ patch: operations["patchLearningpath-apiV2LearningpathsLearningpath_id"];
176
+ trace?: never;
177
+ };
178
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/status": {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ /**
186
+ * Show status information for the learningpath
187
+ * @description Shows publishingstatus for the learningpath
188
+ */
189
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_idStatus"];
190
+ /**
191
+ * Update status of given learningpath
192
+ * @description Updates the status of the given learningPath
193
+ */
194
+ put: operations["putLearningpath-apiV2LearningpathsLearningpath_idStatus"];
195
+ post?: never;
196
+ delete?: never;
197
+ options?: never;
198
+ head?: never;
199
+ patch?: never;
200
+ trace?: never;
201
+ };
202
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps/trash": {
203
+ parameters: {
204
+ query?: never;
205
+ header?: never;
206
+ path?: never;
207
+ cookie?: never;
208
+ };
209
+ /**
210
+ * Fetch deleted learningsteps for given learningpath
211
+ * @description Show all learningsteps for the given learningpath that are marked as deleted
212
+ */
213
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsTrash"];
214
+ put?: never;
215
+ post?: never;
216
+ delete?: never;
217
+ options?: never;
218
+ head?: never;
219
+ patch?: never;
220
+ trace?: never;
221
+ };
222
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps": {
223
+ parameters: {
224
+ query?: never;
225
+ header?: never;
226
+ path?: never;
227
+ cookie?: never;
228
+ };
229
+ /**
230
+ * Fetch learningsteps for given learningpath
231
+ * @description Show all learningsteps for given learningpath id
232
+ */
233
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_idLearningsteps"];
234
+ put?: never;
235
+ /**
236
+ * Add new learningstep to learningpath
237
+ * @description Adds the given LearningStep
238
+ */
239
+ post: operations["postLearningpath-apiV2LearningpathsLearningpath_idLearningsteps"];
240
+ delete?: never;
241
+ options?: never;
242
+ head?: never;
243
+ patch?: never;
244
+ trace?: never;
245
+ };
246
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps/{learningstep_id}": {
247
+ parameters: {
248
+ query?: never;
249
+ header?: never;
250
+ path?: never;
251
+ cookie?: never;
252
+ };
253
+ /**
254
+ * Fetch details about the specified learningstep
255
+ * @description Show the given learningstep for the given learningpath
256
+ */
257
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id"];
258
+ put?: never;
259
+ post?: never;
260
+ /**
261
+ * Delete given learningstep
262
+ * @description Deletes the given learningStep
263
+ */
264
+ delete: operations["deleteLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id"];
265
+ options?: never;
266
+ head?: never;
267
+ /**
268
+ * Update given learningstep
269
+ * @description Update the given learningStep
270
+ */
271
+ patch: operations["patchLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id"];
272
+ trace?: never;
273
+ };
274
+ "/learningpath-api/v2/learningpaths/contains-article/{article_id}": {
275
+ parameters: {
276
+ query?: never;
277
+ header?: never;
278
+ path?: never;
279
+ cookie?: never;
280
+ };
281
+ /**
282
+ * Fetch learningpaths containing specified article
283
+ * @description Fetch learningpaths containing specified article
284
+ */
285
+ get: operations["getLearningpath-apiV2LearningpathsContains-articleArticle_id"];
286
+ put?: never;
287
+ post?: never;
288
+ delete?: never;
289
+ options?: never;
290
+ head?: never;
291
+ patch?: never;
292
+ trace?: never;
293
+ };
294
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps/{learningstep_id}/status": {
295
+ parameters: {
296
+ query?: never;
297
+ header?: never;
298
+ path?: never;
299
+ cookie?: never;
300
+ };
301
+ /**
302
+ * Show status information for learningstep
303
+ * @description Shows status for the learningstep
304
+ */
305
+ get: operations["getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idStatus"];
306
+ /**
307
+ * Update status of given learningstep
308
+ * @description Updates the status of the given learningstep
309
+ */
310
+ put: operations["putLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idStatus"];
311
+ post?: never;
312
+ delete?: never;
313
+ options?: never;
314
+ head?: never;
315
+ patch?: never;
316
+ trace?: never;
317
+ };
318
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/copy": {
319
+ parameters: {
320
+ query?: never;
321
+ header?: never;
322
+ path?: never;
323
+ cookie?: never;
324
+ };
325
+ get?: never;
326
+ put?: never;
327
+ /**
328
+ * Copy given learningpath and store it as a new learningpath
329
+ * @description Copies the given learningpath, with the option to override some fields
330
+ */
331
+ post: operations["postLearningpath-apiV2LearningpathsLearningpath_idCopy"];
332
+ delete?: never;
333
+ options?: never;
334
+ head?: never;
335
+ patch?: never;
336
+ trace?: never;
337
+ };
338
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/learningsteps/{learningstep_id}/seqNo": {
339
+ parameters: {
340
+ query?: never;
341
+ header?: never;
342
+ path?: never;
343
+ cookie?: never;
344
+ };
345
+ get?: never;
346
+ /**
347
+ * Store new sequence number for learningstep.
348
+ * @description Updates the sequence number for the given learningstep. The sequence number of other learningsteps will be affected by this.
349
+ */
350
+ put: operations["putLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idSeqno"];
351
+ post?: never;
352
+ delete?: never;
353
+ options?: never;
354
+ head?: never;
355
+ patch?: never;
356
+ trace?: never;
357
+ };
358
+ "/learningpath-api/v2/learningpaths/status/{STATUS}": {
359
+ parameters: {
360
+ query?: never;
361
+ header?: never;
362
+ path?: never;
363
+ cookie?: never;
364
+ };
365
+ /**
366
+ * Fetch all learningpaths with specified status
367
+ * @description Fetch all learningpaths with specified status
368
+ */
369
+ get: operations["getLearningpath-apiV2LearningpathsStatusStatus"];
370
+ put?: never;
371
+ post?: never;
372
+ delete?: never;
373
+ options?: never;
374
+ head?: never;
375
+ patch?: never;
376
+ trace?: never;
377
+ };
378
+ "/learningpath-api/v2/learningpaths/{learningpath_id}/update-taxonomy": {
379
+ parameters: {
380
+ query?: never;
381
+ header?: never;
382
+ path?: never;
383
+ cookie?: never;
384
+ };
385
+ get?: never;
386
+ put?: never;
387
+ /**
388
+ * Update taxonomy for specified learningpath
389
+ * @description Update taxonomy for specified learningpath
390
+ */
391
+ post: operations["postLearningpath-apiV2LearningpathsLearningpath_idUpdate-taxonomy"];
392
+ delete?: never;
393
+ options?: never;
394
+ head?: never;
395
+ patch?: never;
396
+ trace?: never;
397
+ };
398
+ "/learningpath-api/v1/stats": {
399
+ parameters: {
400
+ query?: never;
401
+ header?: never;
402
+ path?: never;
403
+ cookie?: never;
404
+ };
405
+ /**
406
+ * Get stats for my-ndla usage.
407
+ * @deprecated
408
+ * @description Get stats for my-ndla usage.
409
+ */
410
+ get: operations["getLearningpath-apiV1Stats"];
411
+ put?: never;
412
+ post?: never;
413
+ delete?: never;
414
+ options?: never;
415
+ head?: never;
416
+ patch?: never;
417
+ trace?: never;
418
+ };
419
+ };
420
+ export type webhooks = Record<string, never>;
421
+ export type components = {
422
+ schemas: {
423
+ /** AllErrors */
424
+ AllErrors: components["schemas"]["ErrorBody"] | components["schemas"]["NotFoundWithSupportedLanguages"] | components["schemas"]["ValidationErrorBody"];
425
+ /**
426
+ * AuthorDTO
427
+ * @description Information about an author
428
+ */
429
+ AuthorDTO: {
430
+ type: components["schemas"]["ContributorType"];
431
+ /** @description The name of the of the author */
432
+ name: string;
433
+ };
434
+ /**
435
+ * ContributorType
436
+ * @description The description of the author. Eg. Photographer or Supplier
437
+ * @enum {string}
438
+ */
439
+ ContributorType: "artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer";
440
+ /** CopyrightDTO */
441
+ CopyrightDTO: {
442
+ /** @description Describes the license of the learningpath */
443
+ license: components["schemas"]["LicenseDTO"];
444
+ /** @description List of authors */
445
+ contributors: components["schemas"]["AuthorDTO"][];
446
+ };
447
+ /**
448
+ * CoverPhotoDTO
449
+ * @description Information about where the cover photo can be found
450
+ */
451
+ CoverPhotoDTO: {
452
+ url: string;
453
+ metaUrl: string;
454
+ };
455
+ /** DescriptionDTO */
456
+ DescriptionDTO: {
457
+ /** @description The learningpath description. Basic HTML allowed */
458
+ description: string;
459
+ /** @description ISO 639-1 code that represents the language used in description */
460
+ language: string;
461
+ };
462
+ /**
463
+ * EmbedUrlV2DTO
464
+ * @description The embed content for the learningstep
465
+ */
466
+ EmbedUrlV2DTO: {
467
+ /** @description The url */
468
+ url: string;
469
+ /** @description Type of embed content */
470
+ embedType: string;
471
+ };
472
+ /**
473
+ * ErrorBody
474
+ * @description Information about an error
475
+ */
476
+ ErrorBody: {
477
+ /** @description Code stating the type of error */
478
+ code: string;
479
+ /** @description Description of the error */
480
+ description: string;
481
+ /** @description When the error occurred */
482
+ occurredAt: string;
483
+ /**
484
+ * Format: int32
485
+ * @description Numeric http status code
486
+ */
487
+ statusCode: number;
488
+ };
489
+ /** IntroductionDTO */
490
+ IntroductionDTO: {
491
+ /** @description The introduction to the learningpath. Basic HTML allowed */
492
+ introduction: string;
493
+ /** @description ISO 639-1 code that represents the language used in introduction */
494
+ language: string;
495
+ };
496
+ /**
497
+ * LearningPathStatusDTO
498
+ * @description Status information about a learningpath
499
+ */
500
+ LearningPathStatusDTO: {
501
+ /** @description The publishing status of the learningpath */
502
+ status: string;
503
+ };
504
+ /**
505
+ * LearningPathSummaryV2DTO
506
+ * @description Summary of meta information for a learningpath
507
+ */
508
+ LearningPathSummaryV2DTO: {
509
+ /**
510
+ * Format: int64
511
+ * @description The unique id of the learningpath
512
+ */
513
+ id: number;
514
+ /**
515
+ * Format: int32
516
+ * @description The revision number for this learningpath
517
+ */
518
+ revision?: number;
519
+ /** @description The titles of the learningpath */
520
+ title: components["schemas"]["TitleDTO"];
521
+ /** @description The descriptions of the learningpath */
522
+ description: components["schemas"]["DescriptionDTO"];
523
+ /** @description The introductions of the learningpath */
524
+ introduction: components["schemas"]["IntroductionDTO"];
525
+ /** @description The full url to where the complete metainformation about the learningpath can be found */
526
+ metaUrl: string;
527
+ /** @description Url to where a cover photo can be found */
528
+ coverPhotoUrl?: string;
529
+ /**
530
+ * Format: int32
531
+ * @description The duration of the learningpath in minutes
532
+ */
533
+ duration?: number;
534
+ /** @description The publishing status of the learningpath. */
535
+ status: string;
536
+ /** @description The date when this learningpath was created. */
537
+ created: string;
538
+ /** @description The date when this learningpath was last updated. */
539
+ lastUpdated: string;
540
+ tags: components["schemas"]["LearningPathTagsDTO"];
541
+ /** @description The contributors of this learningpath */
542
+ copyright: components["schemas"]["CopyrightDTO"];
543
+ /** @description A list of available languages for this audio */
544
+ supportedLanguages: string[];
545
+ /**
546
+ * Format: int64
547
+ * @description The id this learningpath is based on, if any
548
+ */
549
+ isBasedOn?: number;
550
+ /** @description Message that admins can place on a LearningPath for notifying a owner of issues with the LearningPath */
551
+ message?: string;
552
+ };
553
+ /**
554
+ * LearningPathTagsDTO
555
+ * @description Searchable tags for the learningpath
556
+ */
557
+ LearningPathTagsDTO: {
558
+ /** @description The searchable tags. Must be plain text */
559
+ tags: string[];
560
+ /** @description ISO 639-1 code that represents the language used in tag */
561
+ language: string;
562
+ };
563
+ /** LearningPathTagsSummaryDTO */
564
+ LearningPathTagsSummaryDTO: {
565
+ /** @description The chosen language. Default is 'nb' */
566
+ language: string;
567
+ /** @description The supported languages for these tags */
568
+ supportedLanguages: string[];
569
+ /** @description The searchable tags. Must be plain text */
570
+ tags: string[];
571
+ };
572
+ /**
573
+ * LearningPathV2DTO
574
+ * @description Meta information for a learningpath
575
+ */
576
+ LearningPathV2DTO: {
577
+ /**
578
+ * Format: int64
579
+ * @description The unique id of the learningpath
580
+ */
581
+ id: number;
582
+ /**
583
+ * Format: int32
584
+ * @description The revision number for this learningpath
585
+ */
586
+ revision: number;
587
+ /**
588
+ * Format: int64
589
+ * @description The id this learningpath is based on, if any
590
+ */
591
+ isBasedOn?: number;
592
+ /** @description The title of the learningpath */
593
+ title: components["schemas"]["TitleDTO"];
594
+ /** @description The description of the learningpath */
595
+ description: components["schemas"]["DescriptionDTO"];
596
+ /** @description The full url to where the complete metainformation about the learningpath can be found */
597
+ metaUrl: string;
598
+ /** @description The learningsteps-summaries for this learningpath */
599
+ learningsteps: components["schemas"]["LearningStepV2DTO"][];
600
+ /** @description The full url to where the learningsteps can be found */
601
+ learningstepUrl: string;
602
+ coverPhoto?: components["schemas"]["CoverPhotoDTO"];
603
+ /**
604
+ * Format: int32
605
+ * @description The duration of the learningpath in minutes
606
+ */
607
+ duration?: number;
608
+ /** @description The publishing status of the learningpath */
609
+ status: string;
610
+ /** @description Verification status */
611
+ verificationStatus: string;
612
+ /** @description The date when this learningpath was created. */
613
+ created: string;
614
+ /** @description The date when this learningpath was last updated. */
615
+ lastUpdated: string;
616
+ tags: components["schemas"]["LearningPathTagsDTO"];
617
+ /** @description Describes the copyright information for the learningpath */
618
+ copyright: components["schemas"]["CopyrightDTO"];
619
+ /** @description True if authenticated user may edit this learningpath */
620
+ canEdit: boolean;
621
+ /** @description The supported languages for this learningpath */
622
+ supportedLanguages: string[];
623
+ /** @description Visible if administrator or owner of LearningPath */
624
+ ownerId?: string;
625
+ message?: components["schemas"]["MessageDTO"];
626
+ /** @description The date when this learningpath was made available to the public. */
627
+ madeAvailable?: string;
628
+ /** @description Whether the owner of the learningpath is a MyNDLA user or not */
629
+ isMyNDLAOwner: boolean;
630
+ };
631
+ /**
632
+ * LearningStepContainerSummaryDTO
633
+ * @description Summary of meta information for a learningstep including language and supported languages
634
+ */
635
+ LearningStepContainerSummaryDTO: {
636
+ /** @description The chosen search language */
637
+ language: string;
638
+ /** @description The chosen search language */
639
+ learningsteps: components["schemas"]["LearningStepSummaryV2DTO"][];
640
+ /** @description The chosen search language */
641
+ supportedLanguages: string[];
642
+ };
643
+ /**
644
+ * LearningStepSeqNoDTO
645
+ * @description Information about the sequence number for a step
646
+ */
647
+ LearningStepSeqNoDTO: {
648
+ /**
649
+ * Format: int32
650
+ * @description The sequence number for the learningstep
651
+ */
652
+ seqNo: number;
653
+ };
654
+ /**
655
+ * LearningStepStatusDTO
656
+ * @description Status information about a learningpath
657
+ */
658
+ LearningStepStatusDTO: {
659
+ /** @description The status of the learningstep */
660
+ status: string;
661
+ };
662
+ /**
663
+ * LearningStepSummaryV2DTO
664
+ * @description Summary of meta information for a learningstep
665
+ */
666
+ LearningStepSummaryV2DTO: {
667
+ /**
668
+ * Format: int64
669
+ * @description The id of the learningstep
670
+ */
671
+ id: number;
672
+ /**
673
+ * Format: int32
674
+ * @description The sequence number for the step. The first step has seqNo 0.
675
+ */
676
+ seqNo: number;
677
+ /** @description The title of the learningstep */
678
+ title: components["schemas"]["TitleDTO"];
679
+ /** @description The type of the step */
680
+ type: string;
681
+ /** @description The full url to where the complete metainformation about the learningstep can be found */
682
+ metaUrl: string;
683
+ };
684
+ /**
685
+ * LearningStepV2DTO
686
+ * @description Information about a learningstep
687
+ */
688
+ LearningStepV2DTO: {
689
+ /**
690
+ * Format: int64
691
+ * @description The id of the learningstep
692
+ */
693
+ id: number;
694
+ /**
695
+ * Format: int32
696
+ * @description The revision number for this learningstep
697
+ */
698
+ revision: number;
699
+ /**
700
+ * Format: int32
701
+ * @description The sequence number for the step. The first step has seqNo 0.
702
+ */
703
+ seqNo: number;
704
+ /** @description The title of the learningstep */
705
+ title: components["schemas"]["TitleDTO"];
706
+ /** @description The introduction of the learningstep */
707
+ introduction?: components["schemas"]["IntroductionDTO"];
708
+ /** @description The description of the learningstep */
709
+ description?: components["schemas"]["DescriptionDTO"];
710
+ embedUrl?: components["schemas"]["EmbedUrlV2DTO"];
711
+ /** @description Determines if the title of the step should be displayed in viewmode */
712
+ showTitle: boolean;
713
+ /** @description The type of the step */
714
+ type: string;
715
+ /** @description Describes the copyright information for the learningstep */
716
+ license?: components["schemas"]["LicenseDTO"];
717
+ /** @description The full url to where the complete metainformation about the learningstep can be found */
718
+ metaUrl: string;
719
+ /** @description True if authenticated user may edit this learningstep */
720
+ canEdit: boolean;
721
+ /** @description The status of the learningstep */
722
+ status: string;
723
+ /** @description The supported languages of the learningstep */
724
+ supportedLanguages: string[];
725
+ };
726
+ /** LicenseDTO */
727
+ LicenseDTO: {
728
+ /** @description The name of the license */
729
+ license: string;
730
+ /** @description Description of the license */
731
+ description?: string;
732
+ /** @description Url to where the license can be found */
733
+ url?: string;
734
+ };
735
+ /**
736
+ * MessageDTO
737
+ * @description Message set by administrator. Visible if administrator or owner of LearningPath
738
+ */
739
+ MessageDTO: {
740
+ /** @description Message left on a learningpath by administrator */
741
+ message: string;
742
+ /** @description When the message was left */
743
+ date: string;
744
+ };
745
+ /**
746
+ * NewCopyLearningPathV2DTO
747
+ * @description Meta information for a new learningpath based on a copy
748
+ */
749
+ NewCopyLearningPathV2DTO: {
750
+ /** @description The titles of the learningpath */
751
+ title: string;
752
+ /** @description The descriptions of the learningpath */
753
+ description?: string;
754
+ /** @description The chosen language */
755
+ language: string;
756
+ /** @description Url to cover-photo in NDLA image-api. */
757
+ coverPhotoMetaUrl?: string;
758
+ /**
759
+ * Format: int32
760
+ * @description The duration of the learningpath in minutes. Must be greater than 0
761
+ */
762
+ duration?: number;
763
+ /** @description Searchable tags for the learningpath */
764
+ tags?: string[];
765
+ /** @description Describes the copyright information for the learningpath */
766
+ copyright?: components["schemas"]["CopyrightDTO"];
767
+ };
768
+ /**
769
+ * NewLearningPathV2DTO
770
+ * @description Meta information for a new learningpath
771
+ */
772
+ NewLearningPathV2DTO: {
773
+ /** @description The titles of the learningpath */
774
+ title: string;
775
+ /** @description The descriptions of the learningpath */
776
+ description?: string;
777
+ /** @description Url to cover-photo in NDLA image-api. */
778
+ coverPhotoMetaUrl?: string;
779
+ /**
780
+ * Format: int32
781
+ * @description The duration of the learningpath in minutes. Must be greater than 0
782
+ */
783
+ duration?: number;
784
+ /** @description Searchable tags for the learningpath */
785
+ tags?: string[];
786
+ /** @description The chosen language */
787
+ language: string;
788
+ /** @description Describes the copyright information for the learningpath */
789
+ copyright?: components["schemas"]["CopyrightDTO"];
790
+ };
791
+ /**
792
+ * NewLearningStepV2DTO
793
+ * @description Information about a new learningstep
794
+ */
795
+ NewLearningStepV2DTO: {
796
+ /** @description The titles of the learningstep */
797
+ title: string;
798
+ /** @description The introduction of the learningstep */
799
+ introduction?: string;
800
+ /** @description The descriptions of the learningstep */
801
+ description?: string;
802
+ /** @description The chosen language */
803
+ language: string;
804
+ embedUrl?: components["schemas"]["EmbedUrlV2DTO"];
805
+ /**
806
+ * @description Determines if the title of the step should be displayed in viewmode.
807
+ * @default false
808
+ */
809
+ showTitle: boolean;
810
+ /** @description The type of the step */
811
+ type: string;
812
+ /** @description Describes the copyright information for the learningstep */
813
+ license?: string;
814
+ };
815
+ /**
816
+ * NotFoundWithSupportedLanguages
817
+ * @description Information about an error
818
+ */
819
+ NotFoundWithSupportedLanguages: {
820
+ /** @description Code stating the type of error */
821
+ code: string;
822
+ /** @description Description of the error */
823
+ description: string;
824
+ /** @description When the error occurred */
825
+ occurredAt: string;
826
+ /** @description List of supported languages */
827
+ supportedLanguages?: string[];
828
+ /**
829
+ * Format: int32
830
+ * @description Numeric http status code
831
+ */
832
+ statusCode: number;
833
+ };
834
+ /**
835
+ * SearchParamsDTO
836
+ * @description The search parameters
837
+ */
838
+ SearchParamsDTO: {
839
+ /** @description The search query */
840
+ query?: string;
841
+ /** @description The ISO 639-1 language code describing language used in query-params */
842
+ language?: string;
843
+ /**
844
+ * Format: int32
845
+ * @description The page number of the search hits to display.
846
+ */
847
+ page?: number;
848
+ /**
849
+ * Format: int32
850
+ * @description The number of search hits to display for each page.
851
+ */
852
+ pageSize?: number;
853
+ /** @description Return only learning paths that have one of the provided ids */
854
+ ids?: number[];
855
+ /** @description Return only learning paths that are tagged with this exact tag. */
856
+ tag?: string;
857
+ sort?: components["schemas"]["Sort"];
858
+ /** @description Return all matched learning paths whether they exist on selected language or not. */
859
+ fallback?: boolean;
860
+ /** @description Return only learning paths that have the provided verification status. */
861
+ verificationStatus?: string;
862
+ /** @description A search context retrieved from the response header of a previous search. */
863
+ scrollId?: string;
864
+ };
865
+ /**
866
+ * SearchResultV2DTO
867
+ * @description Information about search-results
868
+ */
869
+ SearchResultV2DTO: {
870
+ /**
871
+ * Format: int64
872
+ * @description The total number of learningpaths matching this query
873
+ */
874
+ totalCount: number;
875
+ /**
876
+ * Format: int32
877
+ * @description For which page results are shown from
878
+ */
879
+ page?: number;
880
+ /**
881
+ * Format: int32
882
+ * @description The number of results per page
883
+ */
884
+ pageSize: number;
885
+ /** @description The chosen search language */
886
+ language: string;
887
+ /** @description The search results */
888
+ results: components["schemas"]["LearningPathSummaryV2DTO"][];
889
+ };
890
+ /**
891
+ * Sort
892
+ * @description The sorting used on results. Default is by -relevance.
893
+ * @enum {string}
894
+ */
895
+ Sort: "-id" | "id" | "-relevance" | "relevance" | "-lastUpdated" | "lastUpdated" | "-duration" | "duration" | "-title" | "title";
896
+ /** TitleDTO */
897
+ TitleDTO: {
898
+ /** @description The title of the content. Must be plain text */
899
+ title: string;
900
+ /** @description ISO 639-1 code that represents the language used in title */
901
+ language: string;
902
+ };
903
+ /**
904
+ * UpdateLearningPathStatusDTO
905
+ * @description Status information about a learningpath
906
+ */
907
+ UpdateLearningPathStatusDTO: {
908
+ /** @description The publishing status of the learningpath */
909
+ status: string;
910
+ /** @description Message that admins can place on a LearningPath for notifying a owner of issues with the LearningPath */
911
+ message?: string;
912
+ };
913
+ /**
914
+ * UpdatedLearningPathV2DTO
915
+ * @description Meta information for a new learningpath
916
+ */
917
+ UpdatedLearningPathV2DTO: {
918
+ /**
919
+ * Format: int32
920
+ * @description The revision number for this learningpath
921
+ */
922
+ revision: number;
923
+ /** @description The title of the learningpath */
924
+ title?: string;
925
+ /** @description The chosen language */
926
+ language: string;
927
+ /** @description The description of the learningpath */
928
+ description?: string;
929
+ /** @description Url to cover-photo in NDLA image-api. */
930
+ coverPhotoMetaUrl?: string;
931
+ /**
932
+ * Format: int32
933
+ * @description The duration of the learningpath in minutes. Must be greater than 0
934
+ */
935
+ duration?: number;
936
+ /** @description Searchable tags for the learningpath */
937
+ tags?: string[];
938
+ /** @description Describes the copyright information for the learningpath */
939
+ copyright?: components["schemas"]["CopyrightDTO"];
940
+ /** @description Whether to delete a message connected to a learningpath by an administrator. */
941
+ deleteMessage?: boolean;
942
+ };
943
+ /**
944
+ * UpdatedLearningStepV2DTO
945
+ * @description Information about a new learningstep
946
+ */
947
+ UpdatedLearningStepV2DTO: {
948
+ /**
949
+ * Format: int32
950
+ * @description The revision number for this learningstep
951
+ */
952
+ revision: number;
953
+ /** @description The title of the learningstep */
954
+ title?: string;
955
+ /** @description The introduction of the learningstep */
956
+ introduction?: string;
957
+ /** @description The chosen language */
958
+ language: string;
959
+ /** @description The description of the learningstep */
960
+ description?: string;
961
+ embedUrl?: components["schemas"]["EmbedUrlV2DTO"];
962
+ /** @description Determines if the title of the step should be displayed in viewmode */
963
+ showTitle?: boolean;
964
+ /** @description The type of the step */
965
+ type?: string;
966
+ /** @description Describes the copyright information for the learningstep */
967
+ license?: string;
968
+ };
969
+ /**
970
+ * ValidationErrorBody
971
+ * @description Information about an error
972
+ */
973
+ ValidationErrorBody: {
974
+ /** @description Code stating the type of error */
975
+ code: string;
976
+ /** @description Description of the error */
977
+ description: string;
978
+ /** @description When the error occurred */
979
+ occurredAt: string;
980
+ /** @description List of validation messages */
981
+ messages?: components["schemas"]["ValidationMessage"][];
982
+ /**
983
+ * Format: int32
984
+ * @description Numeric http status code
985
+ */
986
+ statusCode: number;
987
+ };
988
+ /**
989
+ * ValidationMessage
990
+ * @description A message describing a validation error on a specific field
991
+ */
992
+ ValidationMessage: {
993
+ /** @description The field the error occured in */
994
+ field: string;
995
+ /** @description The validation message */
996
+ message: string;
997
+ };
998
+ };
999
+ responses: never;
1000
+ parameters: never;
1001
+ requestBodies: never;
1002
+ headers: never;
1003
+ pathItems: never;
1004
+ };
1005
+ export type $defs = Record<string, never>;
1006
+ export interface operations {
1007
+ "getLearningpath-apiV2Learningpaths": {
1008
+ parameters: {
1009
+ query?: {
1010
+ /** @description Return only Learningpaths with content matching the specified query. */
1011
+ query?: string;
1012
+ /** @description Return only Learningpaths that are tagged with this exact tag. */
1013
+ tag?: string;
1014
+ /** @description Return only Learningpaths that have one of the provided ids. To provide multiple ids, separate by comma (,). */
1015
+ ids?: number[];
1016
+ /** @description The ISO 639-1 language code describing language. */
1017
+ language?: string;
1018
+ /** @description The page number of the search hits to display. */
1019
+ page?: number;
1020
+ /** @description The number of search hits to display for each page. */
1021
+ "page-size"?: number;
1022
+ /** @description The sorting used on results.
1023
+ * The following are supported: -id, id, -relevance, relevance, -lastUpdated, lastUpdated, -duration, duration, -title, title.
1024
+ * Default is by -relevance (desc) when query is set, and title (asc) when query is empty. */
1025
+ sort?: string;
1026
+ /** @description Fallback to existing language if language is specified. */
1027
+ fallback?: boolean;
1028
+ /** @description A unique string obtained from a search you want to keep scrolling in. To obtain one from a search, provide one of the following values: [0,initial,start,first].
1029
+ * When scrolling, the parameters from the initial search is used, except in the case of 'language' and 'fallback'.
1030
+ * This value may change between scrolls. Always use the one in the latest scroll result (The context, if unused, dies after 1m).
1031
+ * If you are not paginating past 10000 hits, you can ignore this and use 'page' and 'page-size' instead.
1032
+ * */
1033
+ "search-context"?: string;
1034
+ /** @description Return only learning paths that have this verification status. */
1035
+ verificationStatus?: string;
1036
+ };
1037
+ header?: never;
1038
+ path?: never;
1039
+ cookie?: never;
1040
+ };
1041
+ requestBody?: never;
1042
+ responses: {
1043
+ 200: {
1044
+ headers: {
1045
+ [name: string]: unknown;
1046
+ };
1047
+ content: {
1048
+ "application/json": components["schemas"]["SearchResultV2DTO"];
1049
+ };
1050
+ };
1051
+ 400: {
1052
+ headers: {
1053
+ [name: string]: unknown;
1054
+ };
1055
+ content: {
1056
+ "application/json": components["schemas"]["AllErrors"];
1057
+ };
1058
+ };
1059
+ 404: {
1060
+ headers: {
1061
+ [name: string]: unknown;
1062
+ };
1063
+ content: {
1064
+ "application/json": components["schemas"]["AllErrors"];
1065
+ };
1066
+ };
1067
+ 500: {
1068
+ headers: {
1069
+ [name: string]: unknown;
1070
+ };
1071
+ content: {
1072
+ "application/json": components["schemas"]["ErrorBody"];
1073
+ };
1074
+ };
1075
+ };
1076
+ };
1077
+ "postLearningpath-apiV2Learningpaths": {
1078
+ parameters: {
1079
+ query?: never;
1080
+ header?: never;
1081
+ path?: never;
1082
+ cookie?: never;
1083
+ };
1084
+ requestBody: {
1085
+ content: {
1086
+ "application/json": components["schemas"]["NewLearningPathV2DTO"];
1087
+ };
1088
+ };
1089
+ responses: {
1090
+ 201: {
1091
+ headers: {
1092
+ [name: string]: unknown;
1093
+ };
1094
+ content: {
1095
+ "application/json": components["schemas"]["LearningPathV2DTO"];
1096
+ };
1097
+ };
1098
+ 400: {
1099
+ headers: {
1100
+ [name: string]: unknown;
1101
+ };
1102
+ content: {
1103
+ "application/json": components["schemas"]["AllErrors"];
1104
+ };
1105
+ };
1106
+ 401: {
1107
+ headers: {
1108
+ [name: string]: unknown;
1109
+ };
1110
+ content: {
1111
+ "application/json": components["schemas"]["AllErrors"];
1112
+ };
1113
+ };
1114
+ 403: {
1115
+ headers: {
1116
+ [name: string]: unknown;
1117
+ };
1118
+ content: {
1119
+ "application/json": components["schemas"]["AllErrors"];
1120
+ };
1121
+ };
1122
+ 404: {
1123
+ headers: {
1124
+ [name: string]: unknown;
1125
+ };
1126
+ content: {
1127
+ "application/json": components["schemas"]["AllErrors"];
1128
+ };
1129
+ };
1130
+ 500: {
1131
+ headers: {
1132
+ [name: string]: unknown;
1133
+ };
1134
+ content: {
1135
+ "application/json": components["schemas"]["ErrorBody"];
1136
+ };
1137
+ };
1138
+ };
1139
+ };
1140
+ "postLearningpath-apiV2LearningpathsSearch": {
1141
+ parameters: {
1142
+ query?: never;
1143
+ header?: never;
1144
+ path?: never;
1145
+ cookie?: never;
1146
+ };
1147
+ requestBody: {
1148
+ content: {
1149
+ "application/json": components["schemas"]["SearchParamsDTO"];
1150
+ };
1151
+ };
1152
+ responses: {
1153
+ 200: {
1154
+ headers: {
1155
+ [name: string]: unknown;
1156
+ };
1157
+ content: {
1158
+ "application/json": components["schemas"]["SearchResultV2DTO"];
1159
+ };
1160
+ };
1161
+ 400: {
1162
+ headers: {
1163
+ [name: string]: unknown;
1164
+ };
1165
+ content: {
1166
+ "application/json": components["schemas"]["AllErrors"];
1167
+ };
1168
+ };
1169
+ 404: {
1170
+ headers: {
1171
+ [name: string]: unknown;
1172
+ };
1173
+ content: {
1174
+ "application/json": components["schemas"]["AllErrors"];
1175
+ };
1176
+ };
1177
+ 500: {
1178
+ headers: {
1179
+ [name: string]: unknown;
1180
+ };
1181
+ content: {
1182
+ "application/json": components["schemas"]["ErrorBody"];
1183
+ };
1184
+ };
1185
+ };
1186
+ };
1187
+ "getLearningpath-apiV2LearningpathsTags": {
1188
+ parameters: {
1189
+ query?: {
1190
+ /** @description The ISO 639-1 language code describing language. */
1191
+ language?: string;
1192
+ /** @description Fallback to existing language if language is specified. */
1193
+ fallback?: boolean;
1194
+ };
1195
+ header?: never;
1196
+ path?: never;
1197
+ cookie?: never;
1198
+ };
1199
+ requestBody?: never;
1200
+ responses: {
1201
+ 200: {
1202
+ headers: {
1203
+ [name: string]: unknown;
1204
+ };
1205
+ content: {
1206
+ "application/json": components["schemas"]["LearningPathTagsSummaryDTO"];
1207
+ };
1208
+ };
1209
+ 400: {
1210
+ headers: {
1211
+ [name: string]: unknown;
1212
+ };
1213
+ content: {
1214
+ "application/json": components["schemas"]["AllErrors"];
1215
+ };
1216
+ };
1217
+ 404: {
1218
+ headers: {
1219
+ [name: string]: unknown;
1220
+ };
1221
+ content: {
1222
+ "application/json": components["schemas"]["AllErrors"];
1223
+ };
1224
+ };
1225
+ 500: {
1226
+ headers: {
1227
+ [name: string]: unknown;
1228
+ };
1229
+ content: {
1230
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
1231
+ };
1232
+ };
1233
+ };
1234
+ };
1235
+ "getLearningpath-apiV2LearningpathsLicenses": {
1236
+ parameters: {
1237
+ query?: {
1238
+ /** @description Query for filtering licenses. Only licenses containing filter-string are returned. */
1239
+ filter?: string;
1240
+ };
1241
+ header?: never;
1242
+ path?: never;
1243
+ cookie?: never;
1244
+ };
1245
+ requestBody?: never;
1246
+ responses: {
1247
+ 200: {
1248
+ headers: {
1249
+ [name: string]: unknown;
1250
+ };
1251
+ content: {
1252
+ "application/json": components["schemas"]["LicenseDTO"][];
1253
+ };
1254
+ };
1255
+ 400: {
1256
+ headers: {
1257
+ [name: string]: unknown;
1258
+ };
1259
+ content: {
1260
+ "application/json": components["schemas"]["AllErrors"];
1261
+ };
1262
+ };
1263
+ 401: {
1264
+ headers: {
1265
+ [name: string]: unknown;
1266
+ };
1267
+ content: {
1268
+ "application/json": components["schemas"]["AllErrors"];
1269
+ };
1270
+ };
1271
+ 403: {
1272
+ headers: {
1273
+ [name: string]: unknown;
1274
+ };
1275
+ content: {
1276
+ "application/json": components["schemas"]["AllErrors"];
1277
+ };
1278
+ };
1279
+ 404: {
1280
+ headers: {
1281
+ [name: string]: unknown;
1282
+ };
1283
+ content: {
1284
+ "application/json": components["schemas"]["AllErrors"];
1285
+ };
1286
+ };
1287
+ 500: {
1288
+ headers: {
1289
+ [name: string]: unknown;
1290
+ };
1291
+ content: {
1292
+ "application/json": components["schemas"]["ErrorBody"];
1293
+ };
1294
+ };
1295
+ };
1296
+ };
1297
+ "getLearningpath-apiV2LearningpathsMine": {
1298
+ parameters: {
1299
+ query?: never;
1300
+ header?: never;
1301
+ path?: never;
1302
+ cookie?: never;
1303
+ };
1304
+ requestBody?: never;
1305
+ responses: {
1306
+ 200: {
1307
+ headers: {
1308
+ [name: string]: unknown;
1309
+ };
1310
+ content: {
1311
+ "application/json": components["schemas"]["LearningPathV2DTO"][];
1312
+ };
1313
+ };
1314
+ 400: {
1315
+ headers: {
1316
+ [name: string]: unknown;
1317
+ };
1318
+ content: {
1319
+ "application/json": components["schemas"]["AllErrors"];
1320
+ };
1321
+ };
1322
+ 401: {
1323
+ headers: {
1324
+ [name: string]: unknown;
1325
+ };
1326
+ content: {
1327
+ "application/json": components["schemas"]["AllErrors"];
1328
+ };
1329
+ };
1330
+ 403: {
1331
+ headers: {
1332
+ [name: string]: unknown;
1333
+ };
1334
+ content: {
1335
+ "application/json": components["schemas"]["AllErrors"];
1336
+ };
1337
+ };
1338
+ 404: {
1339
+ headers: {
1340
+ [name: string]: unknown;
1341
+ };
1342
+ content: {
1343
+ "application/json": components["schemas"]["AllErrors"];
1344
+ };
1345
+ };
1346
+ 500: {
1347
+ headers: {
1348
+ [name: string]: unknown;
1349
+ };
1350
+ content: {
1351
+ "application/json": components["schemas"]["ErrorBody"];
1352
+ };
1353
+ };
1354
+ };
1355
+ };
1356
+ "getLearningpath-apiV2LearningpathsContributors": {
1357
+ parameters: {
1358
+ query?: never;
1359
+ header?: never;
1360
+ path?: never;
1361
+ cookie?: never;
1362
+ };
1363
+ requestBody?: never;
1364
+ responses: {
1365
+ 200: {
1366
+ headers: {
1367
+ [name: string]: unknown;
1368
+ };
1369
+ content: {
1370
+ "application/json": components["schemas"]["AuthorDTO"][];
1371
+ };
1372
+ };
1373
+ 400: {
1374
+ headers: {
1375
+ [name: string]: unknown;
1376
+ };
1377
+ content: {
1378
+ "application/json": components["schemas"]["AllErrors"];
1379
+ };
1380
+ };
1381
+ 404: {
1382
+ headers: {
1383
+ [name: string]: unknown;
1384
+ };
1385
+ content: {
1386
+ "application/json": components["schemas"]["AllErrors"];
1387
+ };
1388
+ };
1389
+ 500: {
1390
+ headers: {
1391
+ [name: string]: unknown;
1392
+ };
1393
+ content: {
1394
+ "application/json": components["schemas"]["ErrorBody"];
1395
+ };
1396
+ };
1397
+ };
1398
+ };
1399
+ "getLearningpath-apiV2LearningpathsIds": {
1400
+ parameters: {
1401
+ query?: {
1402
+ /** @description Return only learningpaths that have one of the provided ids. To provide multiple ids, separate by comma (,). */
1403
+ ids?: number[];
1404
+ /** @description Fallback to existing language if language is specified. */
1405
+ fallback?: boolean;
1406
+ /** @description The ISO 639-1 language code describing language. */
1407
+ language?: string;
1408
+ /** @description The number of search hits to display for each page. */
1409
+ "page-size"?: number;
1410
+ /** @description The page number of the search hits to display. */
1411
+ page?: number;
1412
+ };
1413
+ header?: never;
1414
+ path?: never;
1415
+ cookie?: never;
1416
+ };
1417
+ requestBody?: never;
1418
+ responses: {
1419
+ 200: {
1420
+ headers: {
1421
+ [name: string]: unknown;
1422
+ };
1423
+ content: {
1424
+ "application/json": components["schemas"]["LearningPathV2DTO"][];
1425
+ };
1426
+ };
1427
+ 400: {
1428
+ headers: {
1429
+ [name: string]: unknown;
1430
+ };
1431
+ content: {
1432
+ "application/json": components["schemas"]["AllErrors"];
1433
+ };
1434
+ };
1435
+ 401: {
1436
+ headers: {
1437
+ [name: string]: unknown;
1438
+ };
1439
+ content: {
1440
+ "application/json": components["schemas"]["AllErrors"];
1441
+ };
1442
+ };
1443
+ 403: {
1444
+ headers: {
1445
+ [name: string]: unknown;
1446
+ };
1447
+ content: {
1448
+ "application/json": components["schemas"]["AllErrors"];
1449
+ };
1450
+ };
1451
+ 404: {
1452
+ headers: {
1453
+ [name: string]: unknown;
1454
+ };
1455
+ content: {
1456
+ "application/json": components["schemas"]["AllErrors"];
1457
+ };
1458
+ };
1459
+ 500: {
1460
+ headers: {
1461
+ [name: string]: unknown;
1462
+ };
1463
+ content: {
1464
+ "application/json": components["schemas"]["ErrorBody"];
1465
+ };
1466
+ };
1467
+ };
1468
+ };
1469
+ "getLearningpath-apiV2LearningpathsLearningpath_id": {
1470
+ parameters: {
1471
+ query?: {
1472
+ /** @description The ISO 639-1 language code describing language. */
1473
+ language?: string;
1474
+ /** @description Fallback to existing language if language is specified. */
1475
+ fallback?: boolean;
1476
+ };
1477
+ header?: never;
1478
+ path: {
1479
+ /** @description Id of the learningpath. */
1480
+ learningpath_id: number;
1481
+ };
1482
+ cookie?: never;
1483
+ };
1484
+ requestBody?: never;
1485
+ responses: {
1486
+ 200: {
1487
+ headers: {
1488
+ [name: string]: unknown;
1489
+ };
1490
+ content: {
1491
+ "application/json": components["schemas"]["LearningPathV2DTO"];
1492
+ };
1493
+ };
1494
+ 400: {
1495
+ headers: {
1496
+ [name: string]: unknown;
1497
+ };
1498
+ content: {
1499
+ "application/json": components["schemas"]["AllErrors"];
1500
+ };
1501
+ };
1502
+ 401: {
1503
+ headers: {
1504
+ [name: string]: unknown;
1505
+ };
1506
+ content: {
1507
+ "application/json": components["schemas"]["AllErrors"];
1508
+ };
1509
+ };
1510
+ 403: {
1511
+ headers: {
1512
+ [name: string]: unknown;
1513
+ };
1514
+ content: {
1515
+ "application/json": components["schemas"]["AllErrors"];
1516
+ };
1517
+ };
1518
+ 404: {
1519
+ headers: {
1520
+ [name: string]: unknown;
1521
+ };
1522
+ content: {
1523
+ "application/json": components["schemas"]["AllErrors"];
1524
+ };
1525
+ };
1526
+ 500: {
1527
+ headers: {
1528
+ [name: string]: unknown;
1529
+ };
1530
+ content: {
1531
+ "application/json": components["schemas"]["ErrorBody"];
1532
+ };
1533
+ };
1534
+ };
1535
+ };
1536
+ "deleteLearningpath-apiV2LearningpathsLearningpath_id": {
1537
+ parameters: {
1538
+ query?: never;
1539
+ header?: never;
1540
+ path: {
1541
+ /** @description Id of the learningpath. */
1542
+ learningpath_id: number;
1543
+ };
1544
+ cookie?: never;
1545
+ };
1546
+ requestBody?: never;
1547
+ responses: {
1548
+ 204: {
1549
+ headers: {
1550
+ [name: string]: unknown;
1551
+ };
1552
+ content?: never;
1553
+ };
1554
+ 400: {
1555
+ headers: {
1556
+ [name: string]: unknown;
1557
+ };
1558
+ content: {
1559
+ "application/json": components["schemas"]["AllErrors"];
1560
+ };
1561
+ };
1562
+ 403: {
1563
+ headers: {
1564
+ [name: string]: unknown;
1565
+ };
1566
+ content: {
1567
+ "application/json": components["schemas"]["AllErrors"];
1568
+ };
1569
+ };
1570
+ 404: {
1571
+ headers: {
1572
+ [name: string]: unknown;
1573
+ };
1574
+ content: {
1575
+ "application/json": components["schemas"]["AllErrors"];
1576
+ };
1577
+ };
1578
+ 500: {
1579
+ headers: {
1580
+ [name: string]: unknown;
1581
+ };
1582
+ content: {
1583
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
1584
+ };
1585
+ };
1586
+ };
1587
+ };
1588
+ "patchLearningpath-apiV2LearningpathsLearningpath_id": {
1589
+ parameters: {
1590
+ query?: never;
1591
+ header?: never;
1592
+ path: {
1593
+ /** @description Id of the learningpath. */
1594
+ learningpath_id: number;
1595
+ };
1596
+ cookie?: never;
1597
+ };
1598
+ requestBody: {
1599
+ content: {
1600
+ "application/json": components["schemas"]["UpdatedLearningPathV2DTO"];
1601
+ };
1602
+ };
1603
+ responses: {
1604
+ 200: {
1605
+ headers: {
1606
+ [name: string]: unknown;
1607
+ };
1608
+ content: {
1609
+ "application/json": components["schemas"]["LearningPathV2DTO"];
1610
+ };
1611
+ };
1612
+ 400: {
1613
+ headers: {
1614
+ [name: string]: unknown;
1615
+ };
1616
+ content: {
1617
+ "application/json": components["schemas"]["AllErrors"];
1618
+ };
1619
+ };
1620
+ 401: {
1621
+ headers: {
1622
+ [name: string]: unknown;
1623
+ };
1624
+ content: {
1625
+ "application/json": components["schemas"]["AllErrors"];
1626
+ };
1627
+ };
1628
+ 403: {
1629
+ headers: {
1630
+ [name: string]: unknown;
1631
+ };
1632
+ content: {
1633
+ "application/json": components["schemas"]["AllErrors"];
1634
+ };
1635
+ };
1636
+ 404: {
1637
+ headers: {
1638
+ [name: string]: unknown;
1639
+ };
1640
+ content: {
1641
+ "application/json": components["schemas"]["AllErrors"];
1642
+ };
1643
+ };
1644
+ 409: {
1645
+ headers: {
1646
+ [name: string]: unknown;
1647
+ };
1648
+ content: {
1649
+ "application/json": components["schemas"]["AllErrors"];
1650
+ };
1651
+ };
1652
+ 500: {
1653
+ headers: {
1654
+ [name: string]: unknown;
1655
+ };
1656
+ content: {
1657
+ "application/json": components["schemas"]["ErrorBody"];
1658
+ };
1659
+ };
1660
+ };
1661
+ };
1662
+ "getLearningpath-apiV2LearningpathsLearningpath_idStatus": {
1663
+ parameters: {
1664
+ query?: never;
1665
+ header?: never;
1666
+ path: {
1667
+ /** @description Id of the learningpath. */
1668
+ learningpath_id: number;
1669
+ };
1670
+ cookie?: never;
1671
+ };
1672
+ requestBody?: never;
1673
+ responses: {
1674
+ 200: {
1675
+ headers: {
1676
+ [name: string]: unknown;
1677
+ };
1678
+ content: {
1679
+ "application/json": components["schemas"]["LearningPathStatusDTO"];
1680
+ };
1681
+ };
1682
+ 400: {
1683
+ headers: {
1684
+ [name: string]: unknown;
1685
+ };
1686
+ content: {
1687
+ "application/json": components["schemas"]["AllErrors"];
1688
+ };
1689
+ };
1690
+ 401: {
1691
+ headers: {
1692
+ [name: string]: unknown;
1693
+ };
1694
+ content: {
1695
+ "application/json": components["schemas"]["AllErrors"];
1696
+ };
1697
+ };
1698
+ 403: {
1699
+ headers: {
1700
+ [name: string]: unknown;
1701
+ };
1702
+ content: {
1703
+ "application/json": components["schemas"]["AllErrors"];
1704
+ };
1705
+ };
1706
+ 404: {
1707
+ headers: {
1708
+ [name: string]: unknown;
1709
+ };
1710
+ content: {
1711
+ "application/json": components["schemas"]["AllErrors"];
1712
+ };
1713
+ };
1714
+ 500: {
1715
+ headers: {
1716
+ [name: string]: unknown;
1717
+ };
1718
+ content: {
1719
+ "application/json": components["schemas"]["ErrorBody"];
1720
+ };
1721
+ };
1722
+ };
1723
+ };
1724
+ "putLearningpath-apiV2LearningpathsLearningpath_idStatus": {
1725
+ parameters: {
1726
+ query?: never;
1727
+ header?: never;
1728
+ path: {
1729
+ /** @description Id of the learningpath. */
1730
+ learningpath_id: number;
1731
+ };
1732
+ cookie?: never;
1733
+ };
1734
+ requestBody: {
1735
+ content: {
1736
+ "application/json": components["schemas"]["UpdateLearningPathStatusDTO"];
1737
+ };
1738
+ };
1739
+ responses: {
1740
+ 200: {
1741
+ headers: {
1742
+ [name: string]: unknown;
1743
+ };
1744
+ content: {
1745
+ "application/json": components["schemas"]["LearningPathV2DTO"];
1746
+ };
1747
+ };
1748
+ 400: {
1749
+ headers: {
1750
+ [name: string]: unknown;
1751
+ };
1752
+ content: {
1753
+ "application/json": components["schemas"]["AllErrors"];
1754
+ };
1755
+ };
1756
+ 403: {
1757
+ headers: {
1758
+ [name: string]: unknown;
1759
+ };
1760
+ content: {
1761
+ "application/json": components["schemas"]["AllErrors"];
1762
+ };
1763
+ };
1764
+ 404: {
1765
+ headers: {
1766
+ [name: string]: unknown;
1767
+ };
1768
+ content: {
1769
+ "application/json": components["schemas"]["AllErrors"];
1770
+ };
1771
+ };
1772
+ 500: {
1773
+ headers: {
1774
+ [name: string]: unknown;
1775
+ };
1776
+ content: {
1777
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
1778
+ };
1779
+ };
1780
+ };
1781
+ };
1782
+ "getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsTrash": {
1783
+ parameters: {
1784
+ query?: {
1785
+ /** @description The ISO 639-1 language code describing language. */
1786
+ language?: string;
1787
+ /** @description Fallback to existing language if language is specified. */
1788
+ fallback?: boolean;
1789
+ };
1790
+ header?: never;
1791
+ path: {
1792
+ /** @description Id of the learningpath. */
1793
+ learningpath_id: number;
1794
+ };
1795
+ cookie?: never;
1796
+ };
1797
+ requestBody?: never;
1798
+ responses: {
1799
+ 200: {
1800
+ headers: {
1801
+ [name: string]: unknown;
1802
+ };
1803
+ content: {
1804
+ "application/json": components["schemas"]["LearningStepContainerSummaryDTO"];
1805
+ };
1806
+ };
1807
+ 400: {
1808
+ headers: {
1809
+ [name: string]: unknown;
1810
+ };
1811
+ content: {
1812
+ "application/json": components["schemas"]["AllErrors"];
1813
+ };
1814
+ };
1815
+ 401: {
1816
+ headers: {
1817
+ [name: string]: unknown;
1818
+ };
1819
+ content: {
1820
+ "application/json": components["schemas"]["AllErrors"];
1821
+ };
1822
+ };
1823
+ 403: {
1824
+ headers: {
1825
+ [name: string]: unknown;
1826
+ };
1827
+ content: {
1828
+ "application/json": components["schemas"]["AllErrors"];
1829
+ };
1830
+ };
1831
+ 404: {
1832
+ headers: {
1833
+ [name: string]: unknown;
1834
+ };
1835
+ content: {
1836
+ "application/json": components["schemas"]["AllErrors"];
1837
+ };
1838
+ };
1839
+ 500: {
1840
+ headers: {
1841
+ [name: string]: unknown;
1842
+ };
1843
+ content: {
1844
+ "application/json": components["schemas"]["ErrorBody"];
1845
+ };
1846
+ };
1847
+ };
1848
+ };
1849
+ "getLearningpath-apiV2LearningpathsLearningpath_idLearningsteps": {
1850
+ parameters: {
1851
+ query?: {
1852
+ /** @description Fallback to existing language if language is specified. */
1853
+ fallback?: boolean;
1854
+ /** @description The ISO 639-1 language code describing language. */
1855
+ language?: string;
1856
+ };
1857
+ header?: never;
1858
+ path: {
1859
+ /** @description Id of the learningpath. */
1860
+ learningpath_id: number;
1861
+ };
1862
+ cookie?: never;
1863
+ };
1864
+ requestBody?: never;
1865
+ responses: {
1866
+ 200: {
1867
+ headers: {
1868
+ [name: string]: unknown;
1869
+ };
1870
+ content: {
1871
+ "application/json": components["schemas"]["LearningStepContainerSummaryDTO"];
1872
+ };
1873
+ };
1874
+ 400: {
1875
+ headers: {
1876
+ [name: string]: unknown;
1877
+ };
1878
+ content: {
1879
+ "application/json": components["schemas"]["AllErrors"];
1880
+ };
1881
+ };
1882
+ 401: {
1883
+ headers: {
1884
+ [name: string]: unknown;
1885
+ };
1886
+ content: {
1887
+ "application/json": components["schemas"]["AllErrors"];
1888
+ };
1889
+ };
1890
+ 403: {
1891
+ headers: {
1892
+ [name: string]: unknown;
1893
+ };
1894
+ content: {
1895
+ "application/json": components["schemas"]["AllErrors"];
1896
+ };
1897
+ };
1898
+ 404: {
1899
+ headers: {
1900
+ [name: string]: unknown;
1901
+ };
1902
+ content: {
1903
+ "application/json": components["schemas"]["AllErrors"];
1904
+ };
1905
+ };
1906
+ 500: {
1907
+ headers: {
1908
+ [name: string]: unknown;
1909
+ };
1910
+ content: {
1911
+ "application/json": components["schemas"]["ErrorBody"];
1912
+ };
1913
+ };
1914
+ };
1915
+ };
1916
+ "postLearningpath-apiV2LearningpathsLearningpath_idLearningsteps": {
1917
+ parameters: {
1918
+ query?: never;
1919
+ header?: never;
1920
+ path: {
1921
+ /** @description Id of the learningpath. */
1922
+ learningpath_id: number;
1923
+ };
1924
+ cookie?: never;
1925
+ };
1926
+ requestBody: {
1927
+ content: {
1928
+ "application/json": components["schemas"]["NewLearningStepV2DTO"];
1929
+ };
1930
+ };
1931
+ responses: {
1932
+ 201: {
1933
+ headers: {
1934
+ [name: string]: unknown;
1935
+ };
1936
+ content: {
1937
+ "application/json": components["schemas"]["LearningStepV2DTO"];
1938
+ };
1939
+ };
1940
+ 400: {
1941
+ headers: {
1942
+ [name: string]: unknown;
1943
+ };
1944
+ content: {
1945
+ "application/json": components["schemas"]["AllErrors"];
1946
+ };
1947
+ };
1948
+ 401: {
1949
+ headers: {
1950
+ [name: string]: unknown;
1951
+ };
1952
+ content: {
1953
+ "application/json": components["schemas"]["AllErrors"];
1954
+ };
1955
+ };
1956
+ 403: {
1957
+ headers: {
1958
+ [name: string]: unknown;
1959
+ };
1960
+ content: {
1961
+ "application/json": components["schemas"]["AllErrors"];
1962
+ };
1963
+ };
1964
+ 404: {
1965
+ headers: {
1966
+ [name: string]: unknown;
1967
+ };
1968
+ content: {
1969
+ "application/json": components["schemas"]["AllErrors"];
1970
+ };
1971
+ };
1972
+ 500: {
1973
+ headers: {
1974
+ [name: string]: unknown;
1975
+ };
1976
+ content: {
1977
+ "application/json": components["schemas"]["ErrorBody"];
1978
+ };
1979
+ };
1980
+ 502: {
1981
+ headers: {
1982
+ [name: string]: unknown;
1983
+ };
1984
+ content: {
1985
+ "application/json": components["schemas"]["AllErrors"];
1986
+ };
1987
+ };
1988
+ };
1989
+ };
1990
+ "getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id": {
1991
+ parameters: {
1992
+ query?: {
1993
+ /** @description The ISO 639-1 language code describing language. */
1994
+ language?: string;
1995
+ /** @description Fallback to existing language if language is specified. */
1996
+ fallback?: boolean;
1997
+ };
1998
+ header?: never;
1999
+ path: {
2000
+ /** @description Id of the learningpath. */
2001
+ learningpath_id: number;
2002
+ /** @description Id of the learningstep. */
2003
+ learningstep_id: number;
2004
+ };
2005
+ cookie?: never;
2006
+ };
2007
+ requestBody?: never;
2008
+ responses: {
2009
+ 200: {
2010
+ headers: {
2011
+ [name: string]: unknown;
2012
+ };
2013
+ content: {
2014
+ "application/json": components["schemas"]["LearningStepV2DTO"];
2015
+ };
2016
+ };
2017
+ 400: {
2018
+ headers: {
2019
+ [name: string]: unknown;
2020
+ };
2021
+ content: {
2022
+ "application/json": components["schemas"]["AllErrors"];
2023
+ };
2024
+ };
2025
+ 401: {
2026
+ headers: {
2027
+ [name: string]: unknown;
2028
+ };
2029
+ content: {
2030
+ "application/json": components["schemas"]["AllErrors"];
2031
+ };
2032
+ };
2033
+ 403: {
2034
+ headers: {
2035
+ [name: string]: unknown;
2036
+ };
2037
+ content: {
2038
+ "application/json": components["schemas"]["AllErrors"];
2039
+ };
2040
+ };
2041
+ 404: {
2042
+ headers: {
2043
+ [name: string]: unknown;
2044
+ };
2045
+ content: {
2046
+ "application/json": components["schemas"]["AllErrors"];
2047
+ };
2048
+ };
2049
+ 500: {
2050
+ headers: {
2051
+ [name: string]: unknown;
2052
+ };
2053
+ content: {
2054
+ "application/json": components["schemas"]["ErrorBody"];
2055
+ };
2056
+ };
2057
+ };
2058
+ };
2059
+ "deleteLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id": {
2060
+ parameters: {
2061
+ query?: never;
2062
+ header?: never;
2063
+ path: {
2064
+ /** @description Id of the learningpath. */
2065
+ learningpath_id: number;
2066
+ /** @description Id of the learningstep. */
2067
+ learningstep_id: number;
2068
+ };
2069
+ cookie?: never;
2070
+ };
2071
+ requestBody?: never;
2072
+ responses: {
2073
+ 204: {
2074
+ headers: {
2075
+ [name: string]: unknown;
2076
+ };
2077
+ content?: never;
2078
+ };
2079
+ 400: {
2080
+ headers: {
2081
+ [name: string]: unknown;
2082
+ };
2083
+ content: {
2084
+ "application/json": components["schemas"]["AllErrors"];
2085
+ };
2086
+ };
2087
+ 403: {
2088
+ headers: {
2089
+ [name: string]: unknown;
2090
+ };
2091
+ content: {
2092
+ "application/json": components["schemas"]["AllErrors"];
2093
+ };
2094
+ };
2095
+ 404: {
2096
+ headers: {
2097
+ [name: string]: unknown;
2098
+ };
2099
+ content: {
2100
+ "application/json": components["schemas"]["AllErrors"];
2101
+ };
2102
+ };
2103
+ 500: {
2104
+ headers: {
2105
+ [name: string]: unknown;
2106
+ };
2107
+ content: {
2108
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
2109
+ };
2110
+ };
2111
+ };
2112
+ };
2113
+ "patchLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_id": {
2114
+ parameters: {
2115
+ query?: never;
2116
+ header?: never;
2117
+ path: {
2118
+ /** @description Id of the learningpath. */
2119
+ learningpath_id: number;
2120
+ /** @description Id of the learningstep. */
2121
+ learningstep_id: number;
2122
+ };
2123
+ cookie?: never;
2124
+ };
2125
+ requestBody: {
2126
+ content: {
2127
+ "application/json": components["schemas"]["UpdatedLearningStepV2DTO"];
2128
+ };
2129
+ };
2130
+ responses: {
2131
+ 200: {
2132
+ headers: {
2133
+ [name: string]: unknown;
2134
+ };
2135
+ content: {
2136
+ "application/json": components["schemas"]["LearningStepV2DTO"];
2137
+ };
2138
+ };
2139
+ 400: {
2140
+ headers: {
2141
+ [name: string]: unknown;
2142
+ };
2143
+ content: {
2144
+ "application/json": components["schemas"]["AllErrors"];
2145
+ };
2146
+ };
2147
+ 401: {
2148
+ headers: {
2149
+ [name: string]: unknown;
2150
+ };
2151
+ content: {
2152
+ "application/json": components["schemas"]["AllErrors"];
2153
+ };
2154
+ };
2155
+ 403: {
2156
+ headers: {
2157
+ [name: string]: unknown;
2158
+ };
2159
+ content: {
2160
+ "application/json": components["schemas"]["AllErrors"];
2161
+ };
2162
+ };
2163
+ 404: {
2164
+ headers: {
2165
+ [name: string]: unknown;
2166
+ };
2167
+ content: {
2168
+ "application/json": components["schemas"]["AllErrors"];
2169
+ };
2170
+ };
2171
+ 409: {
2172
+ headers: {
2173
+ [name: string]: unknown;
2174
+ };
2175
+ content: {
2176
+ "application/json": components["schemas"]["AllErrors"];
2177
+ };
2178
+ };
2179
+ 500: {
2180
+ headers: {
2181
+ [name: string]: unknown;
2182
+ };
2183
+ content: {
2184
+ "application/json": components["schemas"]["ErrorBody"];
2185
+ };
2186
+ };
2187
+ 502: {
2188
+ headers: {
2189
+ [name: string]: unknown;
2190
+ };
2191
+ content: {
2192
+ "application/json": components["schemas"]["AllErrors"];
2193
+ };
2194
+ };
2195
+ };
2196
+ };
2197
+ "getLearningpath-apiV2LearningpathsContains-articleArticle_id": {
2198
+ parameters: {
2199
+ query?: never;
2200
+ header?: never;
2201
+ path: {
2202
+ /** @description Id of the article to search with */
2203
+ article_id: number;
2204
+ };
2205
+ cookie?: never;
2206
+ };
2207
+ requestBody?: never;
2208
+ responses: {
2209
+ 200: {
2210
+ headers: {
2211
+ [name: string]: unknown;
2212
+ };
2213
+ content: {
2214
+ "application/json": components["schemas"]["LearningPathSummaryV2DTO"][];
2215
+ };
2216
+ };
2217
+ 400: {
2218
+ headers: {
2219
+ [name: string]: unknown;
2220
+ };
2221
+ content: {
2222
+ "application/json": components["schemas"]["AllErrors"];
2223
+ };
2224
+ };
2225
+ 404: {
2226
+ headers: {
2227
+ [name: string]: unknown;
2228
+ };
2229
+ content: {
2230
+ "application/json": components["schemas"]["AllErrors"];
2231
+ };
2232
+ };
2233
+ 500: {
2234
+ headers: {
2235
+ [name: string]: unknown;
2236
+ };
2237
+ content: {
2238
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
2239
+ };
2240
+ };
2241
+ };
2242
+ };
2243
+ "getLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idStatus": {
2244
+ parameters: {
2245
+ query?: {
2246
+ /** @description Fallback to existing language if language is specified. */
2247
+ fallback?: boolean;
2248
+ };
2249
+ header?: never;
2250
+ path: {
2251
+ /** @description Id of the learningpath. */
2252
+ learningpath_id: number;
2253
+ /** @description Id of the learningstep. */
2254
+ learningstep_id: number;
2255
+ };
2256
+ cookie?: never;
2257
+ };
2258
+ requestBody?: never;
2259
+ responses: {
2260
+ 200: {
2261
+ headers: {
2262
+ [name: string]: unknown;
2263
+ };
2264
+ content: {
2265
+ "application/json": components["schemas"]["LearningStepStatusDTO"];
2266
+ };
2267
+ };
2268
+ 400: {
2269
+ headers: {
2270
+ [name: string]: unknown;
2271
+ };
2272
+ content: {
2273
+ "application/json": components["schemas"]["AllErrors"];
2274
+ };
2275
+ };
2276
+ 401: {
2277
+ headers: {
2278
+ [name: string]: unknown;
2279
+ };
2280
+ content: {
2281
+ "application/json": components["schemas"]["AllErrors"];
2282
+ };
2283
+ };
2284
+ 403: {
2285
+ headers: {
2286
+ [name: string]: unknown;
2287
+ };
2288
+ content: {
2289
+ "application/json": components["schemas"]["AllErrors"];
2290
+ };
2291
+ };
2292
+ 404: {
2293
+ headers: {
2294
+ [name: string]: unknown;
2295
+ };
2296
+ content: {
2297
+ "application/json": components["schemas"]["AllErrors"];
2298
+ };
2299
+ };
2300
+ 500: {
2301
+ headers: {
2302
+ [name: string]: unknown;
2303
+ };
2304
+ content: {
2305
+ "application/json": components["schemas"]["ErrorBody"];
2306
+ };
2307
+ };
2308
+ };
2309
+ };
2310
+ "putLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idStatus": {
2311
+ parameters: {
2312
+ query?: never;
2313
+ header?: never;
2314
+ path: {
2315
+ /** @description Id of the learningpath. */
2316
+ learningpath_id: number;
2317
+ /** @description Id of the learningstep. */
2318
+ learningstep_id: number;
2319
+ };
2320
+ cookie?: never;
2321
+ };
2322
+ requestBody: {
2323
+ content: {
2324
+ "application/json": components["schemas"]["LearningStepStatusDTO"];
2325
+ };
2326
+ };
2327
+ responses: {
2328
+ 200: {
2329
+ headers: {
2330
+ [name: string]: unknown;
2331
+ };
2332
+ content: {
2333
+ "application/json": components["schemas"]["LearningStepV2DTO"];
2334
+ };
2335
+ };
2336
+ 400: {
2337
+ headers: {
2338
+ [name: string]: unknown;
2339
+ };
2340
+ content: {
2341
+ "application/json": components["schemas"]["AllErrors"];
2342
+ };
2343
+ };
2344
+ 401: {
2345
+ headers: {
2346
+ [name: string]: unknown;
2347
+ };
2348
+ content: {
2349
+ "application/json": components["schemas"]["AllErrors"];
2350
+ };
2351
+ };
2352
+ 403: {
2353
+ headers: {
2354
+ [name: string]: unknown;
2355
+ };
2356
+ content: {
2357
+ "application/json": components["schemas"]["AllErrors"];
2358
+ };
2359
+ };
2360
+ 404: {
2361
+ headers: {
2362
+ [name: string]: unknown;
2363
+ };
2364
+ content: {
2365
+ "application/json": components["schemas"]["AllErrors"];
2366
+ };
2367
+ };
2368
+ 500: {
2369
+ headers: {
2370
+ [name: string]: unknown;
2371
+ };
2372
+ content: {
2373
+ "application/json": components["schemas"]["ErrorBody"];
2374
+ };
2375
+ };
2376
+ };
2377
+ };
2378
+ "postLearningpath-apiV2LearningpathsLearningpath_idCopy": {
2379
+ parameters: {
2380
+ query?: never;
2381
+ header?: never;
2382
+ path: {
2383
+ /** @description Id of the learningpath. */
2384
+ learningpath_id: number;
2385
+ };
2386
+ cookie?: never;
2387
+ };
2388
+ requestBody: {
2389
+ content: {
2390
+ "application/json": components["schemas"]["NewCopyLearningPathV2DTO"];
2391
+ };
2392
+ };
2393
+ responses: {
2394
+ 201: {
2395
+ headers: {
2396
+ [name: string]: unknown;
2397
+ };
2398
+ content: {
2399
+ "application/json": components["schemas"]["LearningPathV2DTO"];
2400
+ };
2401
+ };
2402
+ 400: {
2403
+ headers: {
2404
+ [name: string]: unknown;
2405
+ };
2406
+ content: {
2407
+ "application/json": components["schemas"]["AllErrors"];
2408
+ };
2409
+ };
2410
+ 401: {
2411
+ headers: {
2412
+ [name: string]: unknown;
2413
+ };
2414
+ content: {
2415
+ "application/json": components["schemas"]["AllErrors"];
2416
+ };
2417
+ };
2418
+ 403: {
2419
+ headers: {
2420
+ [name: string]: unknown;
2421
+ };
2422
+ content: {
2423
+ "application/json": components["schemas"]["AllErrors"];
2424
+ };
2425
+ };
2426
+ 404: {
2427
+ headers: {
2428
+ [name: string]: unknown;
2429
+ };
2430
+ content: {
2431
+ "application/json": components["schemas"]["AllErrors"];
2432
+ };
2433
+ };
2434
+ 500: {
2435
+ headers: {
2436
+ [name: string]: unknown;
2437
+ };
2438
+ content: {
2439
+ "application/json": components["schemas"]["ErrorBody"];
2440
+ };
2441
+ };
2442
+ };
2443
+ };
2444
+ "putLearningpath-apiV2LearningpathsLearningpath_idLearningstepsLearningstep_idSeqno": {
2445
+ parameters: {
2446
+ query?: never;
2447
+ header?: never;
2448
+ path: {
2449
+ /** @description Id of the learningpath. */
2450
+ learningpath_id: number;
2451
+ /** @description Id of the learningstep. */
2452
+ learningstep_id: number;
2453
+ };
2454
+ cookie?: never;
2455
+ };
2456
+ requestBody: {
2457
+ content: {
2458
+ "application/json": components["schemas"]["LearningStepSeqNoDTO"];
2459
+ };
2460
+ };
2461
+ responses: {
2462
+ 200: {
2463
+ headers: {
2464
+ [name: string]: unknown;
2465
+ };
2466
+ content: {
2467
+ "application/json": components["schemas"]["LearningStepSeqNoDTO"];
2468
+ };
2469
+ };
2470
+ 400: {
2471
+ headers: {
2472
+ [name: string]: unknown;
2473
+ };
2474
+ content: {
2475
+ "application/json": components["schemas"]["AllErrors"];
2476
+ };
2477
+ };
2478
+ 401: {
2479
+ headers: {
2480
+ [name: string]: unknown;
2481
+ };
2482
+ content: {
2483
+ "application/json": components["schemas"]["AllErrors"];
2484
+ };
2485
+ };
2486
+ 403: {
2487
+ headers: {
2488
+ [name: string]: unknown;
2489
+ };
2490
+ content: {
2491
+ "application/json": components["schemas"]["AllErrors"];
2492
+ };
2493
+ };
2494
+ 404: {
2495
+ headers: {
2496
+ [name: string]: unknown;
2497
+ };
2498
+ content: {
2499
+ "application/json": components["schemas"]["AllErrors"];
2500
+ };
2501
+ };
2502
+ 500: {
2503
+ headers: {
2504
+ [name: string]: unknown;
2505
+ };
2506
+ content: {
2507
+ "application/json": components["schemas"]["ErrorBody"];
2508
+ };
2509
+ };
2510
+ 502: {
2511
+ headers: {
2512
+ [name: string]: unknown;
2513
+ };
2514
+ content: {
2515
+ "application/json": components["schemas"]["AllErrors"];
2516
+ };
2517
+ };
2518
+ };
2519
+ };
2520
+ "getLearningpath-apiV2LearningpathsStatusStatus": {
2521
+ parameters: {
2522
+ query?: never;
2523
+ header?: never;
2524
+ path: {
2525
+ /** @description Status of LearningPaths */
2526
+ STATUS: string;
2527
+ };
2528
+ cookie?: never;
2529
+ };
2530
+ requestBody?: never;
2531
+ responses: {
2532
+ 200: {
2533
+ headers: {
2534
+ [name: string]: unknown;
2535
+ };
2536
+ content: {
2537
+ "application/json": components["schemas"]["LearningPathV2DTO"][];
2538
+ };
2539
+ };
2540
+ 400: {
2541
+ headers: {
2542
+ [name: string]: unknown;
2543
+ };
2544
+ content: {
2545
+ "application/json": components["schemas"]["AllErrors"];
2546
+ };
2547
+ };
2548
+ 401: {
2549
+ headers: {
2550
+ [name: string]: unknown;
2551
+ };
2552
+ content: {
2553
+ "application/json": components["schemas"]["AllErrors"];
2554
+ };
2555
+ };
2556
+ 403: {
2557
+ headers: {
2558
+ [name: string]: unknown;
2559
+ };
2560
+ content: {
2561
+ "application/json": components["schemas"]["AllErrors"];
2562
+ };
2563
+ };
2564
+ 404: {
2565
+ headers: {
2566
+ [name: string]: unknown;
2567
+ };
2568
+ content: {
2569
+ "application/json": components["schemas"]["AllErrors"];
2570
+ };
2571
+ };
2572
+ 500: {
2573
+ headers: {
2574
+ [name: string]: unknown;
2575
+ };
2576
+ content: {
2577
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
2578
+ };
2579
+ };
2580
+ };
2581
+ };
2582
+ "postLearningpath-apiV2LearningpathsLearningpath_idUpdate-taxonomy": {
2583
+ parameters: {
2584
+ query?: {
2585
+ /** @description The ISO 639-1 language code describing language. */
2586
+ language?: string;
2587
+ /** @description Fallback to existing language if language is specified. */
2588
+ fallback?: boolean;
2589
+ /** @description Create taxonomy resource if missing for learningPath */
2590
+ "create-if-missing"?: boolean;
2591
+ };
2592
+ header?: never;
2593
+ path: {
2594
+ /** @description Id of the learningpath. */
2595
+ learningpath_id: number;
2596
+ };
2597
+ cookie?: never;
2598
+ };
2599
+ requestBody?: never;
2600
+ responses: {
2601
+ 200: {
2602
+ headers: {
2603
+ [name: string]: unknown;
2604
+ };
2605
+ content: {
2606
+ "application/json": components["schemas"]["LearningPathV2DTO"];
2607
+ };
2608
+ };
2609
+ 400: {
2610
+ headers: {
2611
+ [name: string]: unknown;
2612
+ };
2613
+ content: {
2614
+ "application/json": components["schemas"]["AllErrors"];
2615
+ };
2616
+ };
2617
+ 403: {
2618
+ headers: {
2619
+ [name: string]: unknown;
2620
+ };
2621
+ content: {
2622
+ "application/json": components["schemas"]["AllErrors"];
2623
+ };
2624
+ };
2625
+ 404: {
2626
+ headers: {
2627
+ [name: string]: unknown;
2628
+ };
2629
+ content: {
2630
+ "application/json": components["schemas"]["AllErrors"];
2631
+ };
2632
+ };
2633
+ 500: {
2634
+ headers: {
2635
+ [name: string]: unknown;
2636
+ };
2637
+ content: {
2638
+ "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
2639
+ };
2640
+ };
2641
+ };
2642
+ };
2643
+ "getLearningpath-apiV1Stats": {
2644
+ parameters: {
2645
+ query?: never;
2646
+ header?: never;
2647
+ path?: never;
2648
+ cookie?: never;
2649
+ };
2650
+ requestBody?: never;
2651
+ responses: {
2652
+ 200: {
2653
+ headers: {
2654
+ [name: string]: unknown;
2655
+ };
2656
+ content?: never;
2657
+ };
2658
+ 301: {
2659
+ headers: {
2660
+ /**
2661
+ * @description null
2662
+ * @example null
2663
+ */
2664
+ Location: string;
2665
+ [name: string]: unknown;
2666
+ };
2667
+ content?: never;
2668
+ };
2669
+ };
2670
+ };
2671
+ }