@ndla/types-backend 1.0.107 → 1.0.108

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.
@@ -1433,12 +1433,12 @@ export interface operations {
1433
1433
  "application/json": components["schemas"]["AllErrors"];
1434
1434
  };
1435
1435
  };
1436
- 500: {
1436
+ default: {
1437
1437
  headers: {
1438
1438
  [name: string]: unknown;
1439
1439
  };
1440
1440
  content: {
1441
- "application/json": components["schemas"]["ErrorBody"];
1441
+ "application/json": components["schemas"]["AllErrors"];
1442
1442
  };
1443
1443
  };
1444
1444
  };
@@ -1501,12 +1501,12 @@ export interface operations {
1501
1501
  "application/json": components["schemas"]["AllErrors"];
1502
1502
  };
1503
1503
  };
1504
- 500: {
1504
+ default: {
1505
1505
  headers: {
1506
1506
  [name: string]: unknown;
1507
1507
  };
1508
1508
  content: {
1509
- "application/json": components["schemas"]["ErrorBody"];
1509
+ "application/json": components["schemas"]["AllErrors"];
1510
1510
  };
1511
1511
  };
1512
1512
  };
@@ -1567,12 +1567,12 @@ export interface operations {
1567
1567
  "application/json": components["schemas"]["AllErrors"];
1568
1568
  };
1569
1569
  };
1570
- 500: {
1570
+ default: {
1571
1571
  headers: {
1572
1572
  [name: string]: unknown;
1573
1573
  };
1574
1574
  content: {
1575
- "application/json": components["schemas"]["ErrorBody"];
1575
+ "application/json": components["schemas"]["AllErrors"];
1576
1576
  };
1577
1577
  };
1578
1578
  };
@@ -1658,12 +1658,12 @@ export interface operations {
1658
1658
  "application/json": components["schemas"]["AllErrors"];
1659
1659
  };
1660
1660
  };
1661
- 500: {
1661
+ default: {
1662
1662
  headers: {
1663
1663
  [name: string]: unknown;
1664
1664
  };
1665
1665
  content: {
1666
- "application/json": components["schemas"]["ErrorBody"];
1666
+ "application/json": components["schemas"]["AllErrors"];
1667
1667
  };
1668
1668
  };
1669
1669
  };
@@ -1721,12 +1721,12 @@ export interface operations {
1721
1721
  "application/json": components["schemas"]["AllErrors"];
1722
1722
  };
1723
1723
  };
1724
- 500: {
1724
+ default: {
1725
1725
  headers: {
1726
1726
  [name: string]: unknown;
1727
1727
  };
1728
1728
  content: {
1729
- "application/json": components["schemas"]["ErrorBody"];
1729
+ "application/json": components["schemas"]["AllErrors"];
1730
1730
  };
1731
1731
  };
1732
1732
  };
@@ -1784,12 +1784,12 @@ export interface operations {
1784
1784
  "application/json": components["schemas"]["AllErrors"];
1785
1785
  };
1786
1786
  };
1787
- 500: {
1787
+ default: {
1788
1788
  headers: {
1789
1789
  [name: string]: unknown;
1790
1790
  };
1791
1791
  content: {
1792
- "application/json": components["schemas"]["ErrorBody"];
1792
+ "application/json": components["schemas"]["AllErrors"];
1793
1793
  };
1794
1794
  };
1795
1795
  };
@@ -1846,12 +1846,12 @@ export interface operations {
1846
1846
  "application/json": components["schemas"]["AllErrors"];
1847
1847
  };
1848
1848
  };
1849
- 500: {
1849
+ default: {
1850
1850
  headers: {
1851
1851
  [name: string]: unknown;
1852
1852
  };
1853
1853
  content: {
1854
- "application/json": components["schemas"]["ErrorBody"];
1854
+ "application/json": components["schemas"]["AllErrors"];
1855
1855
  };
1856
1856
  };
1857
1857
  };
@@ -1916,12 +1916,12 @@ export interface operations {
1916
1916
  "application/json": components["schemas"]["AllErrors"];
1917
1917
  };
1918
1918
  };
1919
- 500: {
1919
+ default: {
1920
1920
  headers: {
1921
1921
  [name: string]: unknown;
1922
1922
  };
1923
1923
  content: {
1924
- "application/json": components["schemas"]["ErrorBody"];
1924
+ "application/json": components["schemas"]["AllErrors"];
1925
1925
  };
1926
1926
  };
1927
1927
  };
@@ -1983,12 +1983,12 @@ export interface operations {
1983
1983
  "application/json": components["schemas"]["AllErrors"];
1984
1984
  };
1985
1985
  };
1986
- 500: {
1986
+ default: {
1987
1987
  headers: {
1988
1988
  [name: string]: unknown;
1989
1989
  };
1990
1990
  content: {
1991
- "application/json": components["schemas"]["ErrorBody"];
1991
+ "application/json": components["schemas"]["AllErrors"];
1992
1992
  };
1993
1993
  };
1994
1994
  };
@@ -2057,15 +2057,15 @@ export interface operations {
2057
2057
  "application/json": components["schemas"]["AllErrors"];
2058
2058
  };
2059
2059
  };
2060
- 500: {
2060
+ 502: {
2061
2061
  headers: {
2062
2062
  [name: string]: unknown;
2063
2063
  };
2064
2064
  content: {
2065
- "application/json": components["schemas"]["ErrorBody"];
2065
+ "application/json": components["schemas"]["AllErrors"];
2066
2066
  };
2067
2067
  };
2068
- 502: {
2068
+ default: {
2069
2069
  headers: {
2070
2070
  [name: string]: unknown;
2071
2071
  };
@@ -2132,12 +2132,12 @@ export interface operations {
2132
2132
  "application/json": components["schemas"]["AllErrors"];
2133
2133
  };
2134
2134
  };
2135
- 500: {
2135
+ default: {
2136
2136
  headers: {
2137
2137
  [name: string]: unknown;
2138
2138
  };
2139
2139
  content: {
2140
- "application/json": components["schemas"]["ErrorBody"];
2140
+ "application/json": components["schemas"]["AllErrors"];
2141
2141
  };
2142
2142
  };
2143
2143
  };
@@ -2175,6 +2175,22 @@ export interface operations {
2175
2175
  "application/json": components["schemas"]["AllErrors"];
2176
2176
  };
2177
2177
  };
2178
+ 401: {
2179
+ headers: {
2180
+ [name: string]: unknown;
2181
+ };
2182
+ content: {
2183
+ "application/json": components["schemas"]["AllErrors"];
2184
+ };
2185
+ };
2186
+ 403: {
2187
+ headers: {
2188
+ [name: string]: unknown;
2189
+ };
2190
+ content: {
2191
+ "application/json": components["schemas"]["AllErrors"];
2192
+ };
2193
+ };
2178
2194
  404: {
2179
2195
  headers: {
2180
2196
  [name: string]: unknown;
@@ -2183,12 +2199,12 @@ export interface operations {
2183
2199
  "application/json": components["schemas"]["AllErrors"];
2184
2200
  };
2185
2201
  };
2186
- 500: {
2202
+ default: {
2187
2203
  headers: {
2188
2204
  [name: string]: unknown;
2189
2205
  };
2190
2206
  content: {
2191
- "application/json": components["schemas"]["ErrorBody"];
2207
+ "application/json": components["schemas"]["AllErrors"];
2192
2208
  };
2193
2209
  };
2194
2210
  };
@@ -2244,12 +2260,12 @@ export interface operations {
2244
2260
  "application/json": components["schemas"]["AllErrors"];
2245
2261
  };
2246
2262
  };
2247
- 500: {
2263
+ default: {
2248
2264
  headers: {
2249
2265
  [name: string]: unknown;
2250
2266
  };
2251
2267
  content: {
2252
- "application/json": components["schemas"]["ErrorBody"];
2268
+ "application/json": components["schemas"]["AllErrors"];
2253
2269
  };
2254
2270
  };
2255
2271
  };
@@ -2308,12 +2324,12 @@ export interface operations {
2308
2324
  "application/json": components["schemas"]["AllErrors"];
2309
2325
  };
2310
2326
  };
2311
- 500: {
2327
+ default: {
2312
2328
  headers: {
2313
2329
  [name: string]: unknown;
2314
2330
  };
2315
2331
  content: {
2316
- "application/json": components["schemas"]["ErrorBody"];
2332
+ "application/json": components["schemas"]["AllErrors"];
2317
2333
  };
2318
2334
  };
2319
2335
  };
@@ -2376,12 +2392,12 @@ export interface operations {
2376
2392
  "application/json": components["schemas"]["AllErrors"];
2377
2393
  };
2378
2394
  };
2379
- 500: {
2395
+ default: {
2380
2396
  headers: {
2381
2397
  [name: string]: unknown;
2382
2398
  };
2383
2399
  content: {
2384
- "application/json": components["schemas"]["ErrorBody"];
2400
+ "application/json": components["schemas"]["AllErrors"];
2385
2401
  };
2386
2402
  };
2387
2403
  };
@@ -2440,12 +2456,12 @@ export interface operations {
2440
2456
  "application/json": components["schemas"]["AllErrors"];
2441
2457
  };
2442
2458
  };
2443
- 500: {
2459
+ default: {
2444
2460
  headers: {
2445
2461
  [name: string]: unknown;
2446
2462
  };
2447
2463
  content: {
2448
- "application/json": components["schemas"]["ErrorBody"];
2464
+ "application/json": components["schemas"]["AllErrors"];
2449
2465
  };
2450
2466
  };
2451
2467
  };
@@ -2509,12 +2525,12 @@ export interface operations {
2509
2525
  "application/json": components["schemas"]["AllErrors"];
2510
2526
  };
2511
2527
  };
2512
- 500: {
2528
+ default: {
2513
2529
  headers: {
2514
2530
  [name: string]: unknown;
2515
2531
  };
2516
2532
  content: {
2517
- "application/json": components["schemas"]["ErrorBody"];
2533
+ "application/json": components["schemas"]["AllErrors"];
2518
2534
  };
2519
2535
  };
2520
2536
  };
@@ -2580,12 +2596,12 @@ export interface operations {
2580
2596
  "application/json": components["schemas"]["AllErrors"];
2581
2597
  };
2582
2598
  };
2583
- 500: {
2599
+ default: {
2584
2600
  headers: {
2585
2601
  [name: string]: unknown;
2586
2602
  };
2587
2603
  content: {
2588
- "application/json": components["schemas"]["ErrorBody"];
2604
+ "application/json": components["schemas"]["AllErrors"];
2589
2605
  };
2590
2606
  };
2591
2607
  };
@@ -2646,12 +2662,12 @@ export interface operations {
2646
2662
  "application/json": components["schemas"]["AllErrors"];
2647
2663
  };
2648
2664
  };
2649
- 500: {
2665
+ default: {
2650
2666
  headers: {
2651
2667
  [name: string]: unknown;
2652
2668
  };
2653
2669
  content: {
2654
- "application/json": components["schemas"]["ErrorBody"];
2670
+ "application/json": components["schemas"]["AllErrors"];
2655
2671
  };
2656
2672
  };
2657
2673
  };
@@ -2706,12 +2722,12 @@ export interface operations {
2706
2722
  "application/json": components["schemas"]["AllErrors"];
2707
2723
  };
2708
2724
  };
2709
- 500: {
2725
+ default: {
2710
2726
  headers: {
2711
2727
  [name: string]: unknown;
2712
2728
  };
2713
2729
  content: {
2714
- "application/json": components["schemas"]["ErrorBody"];
2730
+ "application/json": components["schemas"]["AllErrors"];
2715
2731
  };
2716
2732
  };
2717
2733
  };
@@ -2773,12 +2789,12 @@ export interface operations {
2773
2789
  "application/json": components["schemas"]["AllErrors"];
2774
2790
  };
2775
2791
  };
2776
- 500: {
2792
+ default: {
2777
2793
  headers: {
2778
2794
  [name: string]: unknown;
2779
2795
  };
2780
2796
  content: {
2781
- "application/json": components["schemas"]["ErrorBody"];
2797
+ "application/json": components["schemas"]["AllErrors"];
2782
2798
  };
2783
2799
  };
2784
2800
  };
@@ -2806,6 +2822,22 @@ export interface operations {
2806
2822
  "application/json": components["schemas"]["AllErrors"];
2807
2823
  };
2808
2824
  };
2825
+ 401: {
2826
+ headers: {
2827
+ [name: string]: unknown;
2828
+ };
2829
+ content: {
2830
+ "application/json": components["schemas"]["AllErrors"];
2831
+ };
2832
+ };
2833
+ 403: {
2834
+ headers: {
2835
+ [name: string]: unknown;
2836
+ };
2837
+ content: {
2838
+ "application/json": components["schemas"]["AllErrors"];
2839
+ };
2840
+ };
2809
2841
  404: {
2810
2842
  headers: {
2811
2843
  [name: string]: unknown;
@@ -2819,7 +2851,15 @@ export interface operations {
2819
2851
  [name: string]: unknown;
2820
2852
  };
2821
2853
  content: {
2822
- "application/json": components["schemas"]["AllErrors"] | components["schemas"]["ErrorBody"];
2854
+ "application/json": components["schemas"]["AllErrors"];
2855
+ };
2856
+ };
2857
+ default: {
2858
+ headers: {
2859
+ [name: string]: unknown;
2860
+ };
2861
+ content: {
2862
+ "application/json": components["schemas"]["AllErrors"];
2823
2863
  };
2824
2864
  };
2825
2865
  };
@@ -2883,12 +2923,12 @@ export interface operations {
2883
2923
  "application/json": components["schemas"]["AllErrors"];
2884
2924
  };
2885
2925
  };
2886
- 500: {
2926
+ default: {
2887
2927
  headers: {
2888
2928
  [name: string]: unknown;
2889
2929
  };
2890
2930
  content: {
2891
- "application/json": components["schemas"]["ErrorBody"];
2931
+ "application/json": components["schemas"]["AllErrors"];
2892
2932
  };
2893
2933
  };
2894
2934
  };
@@ -2919,6 +2959,22 @@ export interface operations {
2919
2959
  "application/json": components["schemas"]["AllErrors"];
2920
2960
  };
2921
2961
  };
2962
+ 401: {
2963
+ headers: {
2964
+ [name: string]: unknown;
2965
+ };
2966
+ content: {
2967
+ "application/json": components["schemas"]["AllErrors"];
2968
+ };
2969
+ };
2970
+ 403: {
2971
+ headers: {
2972
+ [name: string]: unknown;
2973
+ };
2974
+ content: {
2975
+ "application/json": components["schemas"]["AllErrors"];
2976
+ };
2977
+ };
2922
2978
  404: {
2923
2979
  headers: {
2924
2980
  [name: string]: unknown;
@@ -2935,12 +2991,12 @@ export interface operations {
2935
2991
  "application/json": components["schemas"]["AllErrors"];
2936
2992
  };
2937
2993
  };
2938
- 500: {
2994
+ default: {
2939
2995
  headers: {
2940
2996
  [name: string]: unknown;
2941
2997
  };
2942
2998
  content: {
2943
- "application/json": components["schemas"]["ErrorBody"];
2999
+ "application/json": components["schemas"]["AllErrors"];
2944
3000
  };
2945
3001
  };
2946
3002
  };
@@ -2998,12 +3054,12 @@ export interface operations {
2998
3054
  "application/json": components["schemas"]["AllErrors"];
2999
3055
  };
3000
3056
  };
3001
- 500: {
3057
+ default: {
3002
3058
  headers: {
3003
3059
  [name: string]: unknown;
3004
3060
  };
3005
3061
  content: {
3006
- "application/json": components["schemas"]["ErrorBody"];
3062
+ "application/json": components["schemas"]["AllErrors"];
3007
3063
  };
3008
3064
  };
3009
3065
  };
@@ -3058,12 +3114,12 @@ export interface operations {
3058
3114
  "application/json": components["schemas"]["AllErrors"];
3059
3115
  };
3060
3116
  };
3061
- 500: {
3117
+ default: {
3062
3118
  headers: {
3063
3119
  [name: string]: unknown;
3064
3120
  };
3065
3121
  content: {
3066
- "application/json": components["schemas"]["ErrorBody"];
3122
+ "application/json": components["schemas"]["AllErrors"];
3067
3123
  };
3068
3124
  };
3069
3125
  };
@@ -3117,12 +3173,12 @@ export interface operations {
3117
3173
  "application/json": components["schemas"]["AllErrors"];
3118
3174
  };
3119
3175
  };
3120
- 500: {
3176
+ default: {
3121
3177
  headers: {
3122
3178
  [name: string]: unknown;
3123
3179
  };
3124
3180
  content: {
3125
- "application/json": components["schemas"]["ErrorBody"];
3181
+ "application/json": components["schemas"]["AllErrors"];
3126
3182
  };
3127
3183
  };
3128
3184
  };
@@ -3180,12 +3236,12 @@ export interface operations {
3180
3236
  "application/json": components["schemas"]["AllErrors"];
3181
3237
  };
3182
3238
  };
3183
- 500: {
3239
+ default: {
3184
3240
  headers: {
3185
3241
  [name: string]: unknown;
3186
3242
  };
3187
3243
  content: {
3188
- "application/json": components["schemas"]["ErrorBody"];
3244
+ "application/json": components["schemas"]["AllErrors"];
3189
3245
  };
3190
3246
  };
3191
3247
  };