@tidal-music/api 0.43.0 → 0.44.0

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.
@@ -554,6 +554,15 @@ export interface paths {
554
554
  };
555
555
  requestBody?: never;
556
556
  responses: {
557
+ /** @description Successful response */
558
+ 200: {
559
+ headers: {
560
+ [name: string]: unknown;
561
+ };
562
+ content: {
563
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
564
+ };
565
+ };
557
566
  400: components["responses"]["Default400Response"];
558
567
  404: components["responses"]["Default404Response"];
559
568
  405: components["responses"]["Default405Response"];
@@ -594,6 +603,15 @@ export interface paths {
594
603
  };
595
604
  };
596
605
  responses: {
606
+ /** @description Successful response */
607
+ 200: {
608
+ headers: {
609
+ [name: string]: unknown;
610
+ };
611
+ content: {
612
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
613
+ };
614
+ };
597
615
  400: components["responses"]["Default400Response"];
598
616
  404: components["responses"]["Default404Response"];
599
617
  405: components["responses"]["Default405Response"];
@@ -833,6 +851,15 @@ export interface paths {
833
851
  };
834
852
  };
835
853
  responses: {
854
+ /** @description Successful response */
855
+ 200: {
856
+ headers: {
857
+ [name: string]: unknown;
858
+ };
859
+ content: {
860
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
861
+ };
862
+ };
836
863
  400: components["responses"]["Default400Response"];
837
864
  404: components["responses"]["Default404Response"];
838
865
  405: components["responses"]["Default405Response"];
@@ -1011,6 +1038,15 @@ export interface paths {
1011
1038
  };
1012
1039
  };
1013
1040
  responses: {
1041
+ /** @description Successful response */
1042
+ 200: {
1043
+ headers: {
1044
+ [name: string]: unknown;
1045
+ };
1046
+ content: {
1047
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
1048
+ };
1049
+ };
1014
1050
  400: components["responses"]["Default400Response"];
1015
1051
  404: components["responses"]["Default404Response"];
1016
1052
  405: components["responses"]["Default405Response"];
@@ -1711,6 +1747,15 @@ export interface paths {
1711
1747
  };
1712
1748
  };
1713
1749
  responses: {
1750
+ /** @description Successful response */
1751
+ 200: {
1752
+ headers: {
1753
+ [name: string]: unknown;
1754
+ };
1755
+ content: {
1756
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
1757
+ };
1758
+ };
1714
1759
  400: components["responses"]["Default400Response"];
1715
1760
  404: components["responses"]["Default404Response"];
1716
1761
  405: components["responses"]["Default405Response"];
@@ -2022,6 +2067,15 @@ export interface paths {
2022
2067
  };
2023
2068
  requestBody?: never;
2024
2069
  responses: {
2070
+ /** @description Successful response */
2071
+ 200: {
2072
+ headers: {
2073
+ [name: string]: unknown;
2074
+ };
2075
+ content: {
2076
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
2077
+ };
2078
+ };
2025
2079
  400: components["responses"]["Default400Response"];
2026
2080
  404: components["responses"]["Default404Response"];
2027
2081
  405: components["responses"]["Default405Response"];
@@ -2068,6 +2122,15 @@ export interface paths {
2068
2122
  };
2069
2123
  };
2070
2124
  responses: {
2125
+ /** @description Successful response */
2126
+ 200: {
2127
+ headers: {
2128
+ [name: string]: unknown;
2129
+ };
2130
+ content: {
2131
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
2132
+ };
2133
+ };
2071
2134
  400: components["responses"]["Default400Response"];
2072
2135
  404: components["responses"]["Default404Response"];
2073
2136
  405: components["responses"]["Default405Response"];
@@ -2177,6 +2240,15 @@ export interface paths {
2177
2240
  };
2178
2241
  };
2179
2242
  responses: {
2243
+ /** @description Successful response */
2244
+ 200: {
2245
+ headers: {
2246
+ [name: string]: unknown;
2247
+ };
2248
+ content: {
2249
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
2250
+ };
2251
+ };
2180
2252
  400: components["responses"]["Default400Response"];
2181
2253
  404: components["responses"]["Default404Response"];
2182
2254
  405: components["responses"]["Default405Response"];
@@ -2572,6 +2644,15 @@ export interface paths {
2572
2644
  };
2573
2645
  };
2574
2646
  responses: {
2647
+ /** @description Successful response */
2648
+ 200: {
2649
+ headers: {
2650
+ [name: string]: unknown;
2651
+ };
2652
+ content: {
2653
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
2654
+ };
2655
+ };
2575
2656
  400: components["responses"]["Default400Response"];
2576
2657
  404: components["responses"]["Default404Response"];
2577
2658
  405: components["responses"]["Default405Response"];
@@ -2940,11 +3021,13 @@ export interface paths {
2940
3021
  };
2941
3022
  responses: {
2942
3023
  /** @description Successful response */
2943
- 201: {
3024
+ 200: {
2944
3025
  headers: {
2945
3026
  [name: string]: unknown;
2946
3027
  };
2947
- content?: never;
3028
+ content: {
3029
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
3030
+ };
2948
3031
  };
2949
3032
  400: components["responses"]["Default400Response"];
2950
3033
  404: components["responses"]["Default404Response"];
@@ -2984,6 +3067,15 @@ export interface paths {
2984
3067
  };
2985
3068
  };
2986
3069
  responses: {
3070
+ /** @description Successful response */
3071
+ 200: {
3072
+ headers: {
3073
+ [name: string]: unknown;
3074
+ };
3075
+ content: {
3076
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
3077
+ };
3078
+ };
2987
3079
  400: components["responses"]["Default400Response"];
2988
3080
  404: components["responses"]["Default404Response"];
2989
3081
  405: components["responses"]["Default405Response"];
@@ -3151,6 +3243,15 @@ export interface paths {
3151
3243
  };
3152
3244
  };
3153
3245
  responses: {
3246
+ /** @description Successful response */
3247
+ 200: {
3248
+ headers: {
3249
+ [name: string]: unknown;
3250
+ };
3251
+ content: {
3252
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
3253
+ };
3254
+ };
3154
3255
  400: components["responses"]["Default400Response"];
3155
3256
  404: components["responses"]["Default404Response"];
3156
3257
  405: components["responses"]["Default405Response"];
@@ -3971,6 +4072,15 @@ export interface paths {
3971
4072
  };
3972
4073
  requestBody?: never;
3973
4074
  responses: {
4075
+ /** @description Successful response */
4076
+ 200: {
4077
+ headers: {
4078
+ [name: string]: unknown;
4079
+ };
4080
+ content: {
4081
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
4082
+ };
4083
+ };
3974
4084
  400: components["responses"]["Default400Response"];
3975
4085
  404: components["responses"]["Default404Response"];
3976
4086
  405: components["responses"]["Default405Response"];
@@ -4331,6 +4441,15 @@ export interface paths {
4331
4441
  };
4332
4442
  requestBody?: never;
4333
4443
  responses: {
4444
+ /** @description Successful response */
4445
+ 200: {
4446
+ headers: {
4447
+ [name: string]: unknown;
4448
+ };
4449
+ content: {
4450
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
4451
+ };
4452
+ };
4334
4453
  400: components["responses"]["Default400Response"];
4335
4454
  404: components["responses"]["Default404Response"];
4336
4455
  405: components["responses"]["Default405Response"];
@@ -4651,6 +4770,15 @@ export interface paths {
4651
4770
  };
4652
4771
  requestBody?: never;
4653
4772
  responses: {
4773
+ /** @description Successful response */
4774
+ 200: {
4775
+ headers: {
4776
+ [name: string]: unknown;
4777
+ };
4778
+ content: {
4779
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
4780
+ };
4781
+ };
4654
4782
  400: components["responses"]["Default400Response"];
4655
4783
  404: components["responses"]["Default404Response"];
4656
4784
  405: components["responses"]["Default405Response"];
@@ -4691,6 +4819,15 @@ export interface paths {
4691
4819
  };
4692
4820
  };
4693
4821
  responses: {
4822
+ /** @description Successful response */
4823
+ 200: {
4824
+ headers: {
4825
+ [name: string]: unknown;
4826
+ };
4827
+ content: {
4828
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
4829
+ };
4830
+ };
4694
4831
  400: components["responses"]["Default400Response"];
4695
4832
  404: components["responses"]["Default404Response"];
4696
4833
  405: components["responses"]["Default405Response"];
@@ -6711,11 +6848,13 @@ export interface paths {
6711
6848
  };
6712
6849
  responses: {
6713
6850
  /** @description Successful response */
6714
- 201: {
6851
+ 200: {
6715
6852
  headers: {
6716
6853
  [name: string]: unknown;
6717
6854
  };
6718
- content?: never;
6855
+ content: {
6856
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
6857
+ };
6719
6858
  };
6720
6859
  400: components["responses"]["Default400Response"];
6721
6860
  404: components["responses"]["Default404Response"];
@@ -6755,6 +6894,15 @@ export interface paths {
6755
6894
  };
6756
6895
  };
6757
6896
  responses: {
6897
+ /** @description Successful response */
6898
+ 200: {
6899
+ headers: {
6900
+ [name: string]: unknown;
6901
+ };
6902
+ content: {
6903
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
6904
+ };
6905
+ };
6758
6906
  400: components["responses"]["Default400Response"];
6759
6907
  404: components["responses"]["Default404Response"];
6760
6908
  405: components["responses"]["Default405Response"];
@@ -6969,6 +7117,15 @@ export interface paths {
6969
7117
  };
6970
7118
  requestBody?: never;
6971
7119
  responses: {
7120
+ /** @description Successful response */
7121
+ 200: {
7122
+ headers: {
7123
+ [name: string]: unknown;
7124
+ };
7125
+ content: {
7126
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
7127
+ };
7128
+ };
6972
7129
  400: components["responses"]["Default400Response"];
6973
7130
  404: components["responses"]["Default404Response"];
6974
7131
  405: components["responses"]["Default405Response"];
@@ -7009,6 +7166,15 @@ export interface paths {
7009
7166
  };
7010
7167
  };
7011
7168
  responses: {
7169
+ /** @description Successful response */
7170
+ 200: {
7171
+ headers: {
7172
+ [name: string]: unknown;
7173
+ };
7174
+ content: {
7175
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
7176
+ };
7177
+ };
7012
7178
  400: components["responses"]["Default400Response"];
7013
7179
  404: components["responses"]["Default404Response"];
7014
7180
  405: components["responses"]["Default405Response"];
@@ -7363,6 +7529,15 @@ export interface paths {
7363
7529
  };
7364
7530
  };
7365
7531
  responses: {
7532
+ /** @description Successful response */
7533
+ 200: {
7534
+ headers: {
7535
+ [name: string]: unknown;
7536
+ };
7537
+ content: {
7538
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
7539
+ };
7540
+ };
7366
7541
  400: components["responses"]["Default400Response"];
7367
7542
  404: components["responses"]["Default404Response"];
7368
7543
  405: components["responses"]["Default405Response"];
@@ -7748,6 +7923,15 @@ export interface paths {
7748
7923
  };
7749
7924
  requestBody?: never;
7750
7925
  responses: {
7926
+ /** @description Successful response */
7927
+ 200: {
7928
+ headers: {
7929
+ [name: string]: unknown;
7930
+ };
7931
+ content: {
7932
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
7933
+ };
7934
+ };
7751
7935
  400: components["responses"]["Default400Response"];
7752
7936
  404: components["responses"]["Default404Response"];
7753
7937
  405: components["responses"]["Default405Response"];
@@ -7788,6 +7972,15 @@ export interface paths {
7788
7972
  };
7789
7973
  };
7790
7974
  responses: {
7975
+ /** @description Successful response */
7976
+ 200: {
7977
+ headers: {
7978
+ [name: string]: unknown;
7979
+ };
7980
+ content: {
7981
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
7982
+ };
7983
+ };
7791
7984
  400: components["responses"]["Default400Response"];
7792
7985
  404: components["responses"]["Default404Response"];
7793
7986
  405: components["responses"]["Default405Response"];
@@ -7889,6 +8082,15 @@ export interface paths {
7889
8082
  };
7890
8083
  };
7891
8084
  responses: {
8085
+ /** @description Successful response */
8086
+ 200: {
8087
+ headers: {
8088
+ [name: string]: unknown;
8089
+ };
8090
+ content: {
8091
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8092
+ };
8093
+ };
7892
8094
  400: components["responses"]["Default400Response"];
7893
8095
  404: components["responses"]["Default404Response"];
7894
8096
  405: components["responses"]["Default405Response"];
@@ -7989,11 +8191,13 @@ export interface paths {
7989
8191
  };
7990
8192
  responses: {
7991
8193
  /** @description Successful response */
7992
- 201: {
8194
+ 200: {
7993
8195
  headers: {
7994
8196
  [name: string]: unknown;
7995
8197
  };
7996
- content?: never;
8198
+ content: {
8199
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8200
+ };
7997
8201
  };
7998
8202
  400: components["responses"]["Default400Response"];
7999
8203
  404: components["responses"]["Default404Response"];
@@ -8033,6 +8237,15 @@ export interface paths {
8033
8237
  };
8034
8238
  };
8035
8239
  responses: {
8240
+ /** @description Successful response */
8241
+ 200: {
8242
+ headers: {
8243
+ [name: string]: unknown;
8244
+ };
8245
+ content: {
8246
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8247
+ };
8248
+ };
8036
8249
  400: components["responses"]["Default400Response"];
8037
8250
  404: components["responses"]["Default404Response"];
8038
8251
  405: components["responses"]["Default405Response"];
@@ -8073,6 +8286,15 @@ export interface paths {
8073
8286
  };
8074
8287
  };
8075
8288
  responses: {
8289
+ /** @description Successful response */
8290
+ 200: {
8291
+ headers: {
8292
+ [name: string]: unknown;
8293
+ };
8294
+ content: {
8295
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8296
+ };
8297
+ };
8076
8298
  400: components["responses"]["Default400Response"];
8077
8299
  404: components["responses"]["Default404Response"];
8078
8300
  405: components["responses"]["Default405Response"];
@@ -8412,6 +8634,15 @@ export interface paths {
8412
8634
  };
8413
8635
  requestBody?: never;
8414
8636
  responses: {
8637
+ /** @description Successful response */
8638
+ 200: {
8639
+ headers: {
8640
+ [name: string]: unknown;
8641
+ };
8642
+ content: {
8643
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8644
+ };
8645
+ };
8415
8646
  400: components["responses"]["Default400Response"];
8416
8647
  404: components["responses"]["Default404Response"];
8417
8648
  405: components["responses"]["Default405Response"];
@@ -8561,11 +8792,13 @@ export interface paths {
8561
8792
  };
8562
8793
  responses: {
8563
8794
  /** @description Successful response */
8564
- 201: {
8795
+ 200: {
8565
8796
  headers: {
8566
8797
  [name: string]: unknown;
8567
8798
  };
8568
- content?: never;
8799
+ content: {
8800
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8801
+ };
8569
8802
  };
8570
8803
  400: components["responses"]["Default400Response"];
8571
8804
  404: components["responses"]["Default404Response"];
@@ -8605,6 +8838,15 @@ export interface paths {
8605
8838
  };
8606
8839
  };
8607
8840
  responses: {
8841
+ /** @description Successful response */
8842
+ 200: {
8843
+ headers: {
8844
+ [name: string]: unknown;
8845
+ };
8846
+ content: {
8847
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
8848
+ };
8849
+ };
8608
8850
  400: components["responses"]["Default400Response"];
8609
8851
  404: components["responses"]["Default404Response"];
8610
8852
  405: components["responses"]["Default405Response"];
@@ -8777,6 +9019,15 @@ export interface paths {
8777
9019
  };
8778
9020
  };
8779
9021
  responses: {
9022
+ /** @description Successful response */
9023
+ 200: {
9024
+ headers: {
9025
+ [name: string]: unknown;
9026
+ };
9027
+ content: {
9028
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
9029
+ };
9030
+ };
8780
9031
  400: components["responses"]["Default400Response"];
8781
9032
  404: components["responses"]["Default404Response"];
8782
9033
  405: components["responses"]["Default405Response"];
@@ -8932,6 +9183,15 @@ export interface paths {
8932
9183
  };
8933
9184
  };
8934
9185
  responses: {
9186
+ /** @description Successful response */
9187
+ 200: {
9188
+ headers: {
9189
+ [name: string]: unknown;
9190
+ };
9191
+ content: {
9192
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
9193
+ };
9194
+ };
8935
9195
  400: components["responses"]["Default400Response"];
8936
9196
  404: components["responses"]["Default404Response"];
8937
9197
  405: components["responses"]["Default405Response"];
@@ -8972,6 +9232,15 @@ export interface paths {
8972
9232
  };
8973
9233
  };
8974
9234
  responses: {
9235
+ /** @description Successful response */
9236
+ 200: {
9237
+ headers: {
9238
+ [name: string]: unknown;
9239
+ };
9240
+ content: {
9241
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
9242
+ };
9243
+ };
8975
9244
  400: components["responses"]["Default400Response"];
8976
9245
  404: components["responses"]["Default404Response"];
8977
9246
  405: components["responses"]["Default405Response"];
@@ -10060,6 +10329,15 @@ export interface paths {
10060
10329
  };
10061
10330
  requestBody?: never;
10062
10331
  responses: {
10332
+ /** @description Successful response */
10333
+ 200: {
10334
+ headers: {
10335
+ [name: string]: unknown;
10336
+ };
10337
+ content: {
10338
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
10339
+ };
10340
+ };
10063
10341
  400: components["responses"]["Default400Response"];
10064
10342
  404: components["responses"]["Default404Response"];
10065
10343
  405: components["responses"]["Default405Response"];
@@ -10337,6 +10615,15 @@ export interface paths {
10337
10615
  };
10338
10616
  requestBody?: never;
10339
10617
  responses: {
10618
+ /** @description Successful response */
10619
+ 200: {
10620
+ headers: {
10621
+ [name: string]: unknown;
10622
+ };
10623
+ content: {
10624
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
10625
+ };
10626
+ };
10340
10627
  400: components["responses"]["Default400Response"];
10341
10628
  404: components["responses"]["Default404Response"];
10342
10629
  405: components["responses"]["Default405Response"];
@@ -13167,6 +13454,15 @@ export interface paths {
13167
13454
  };
13168
13455
  requestBody?: never;
13169
13456
  responses: {
13457
+ /** @description Successful response */
13458
+ 200: {
13459
+ headers: {
13460
+ [name: string]: unknown;
13461
+ };
13462
+ content: {
13463
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
13464
+ };
13465
+ };
13170
13466
  400: components["responses"]["Default400Response"];
13171
13467
  404: components["responses"]["Default404Response"];
13172
13468
  405: components["responses"]["Default405Response"];
@@ -13207,6 +13503,15 @@ export interface paths {
13207
13503
  };
13208
13504
  };
13209
13505
  responses: {
13506
+ /** @description Successful response */
13507
+ 200: {
13508
+ headers: {
13509
+ [name: string]: unknown;
13510
+ };
13511
+ content: {
13512
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
13513
+ };
13514
+ };
13210
13515
  400: components["responses"]["Default400Response"];
13211
13516
  404: components["responses"]["Default404Response"];
13212
13517
  405: components["responses"]["Default405Response"];
@@ -13317,6 +13622,15 @@ export interface paths {
13317
13622
  };
13318
13623
  };
13319
13624
  responses: {
13625
+ /** @description Successful response */
13626
+ 200: {
13627
+ headers: {
13628
+ [name: string]: unknown;
13629
+ };
13630
+ content: {
13631
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
13632
+ };
13633
+ };
13320
13634
  400: components["responses"]["Default400Response"];
13321
13635
  404: components["responses"]["Default404Response"];
13322
13636
  405: components["responses"]["Default405Response"];
@@ -14843,6 +15157,15 @@ export interface paths {
14843
15157
  };
14844
15158
  };
14845
15159
  responses: {
15160
+ /** @description Successful response */
15161
+ 200: {
15162
+ headers: {
15163
+ [name: string]: unknown;
15164
+ };
15165
+ content: {
15166
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15167
+ };
15168
+ };
14846
15169
  400: components["responses"]["Default400Response"];
14847
15170
  404: components["responses"]["Default404Response"];
14848
15171
  405: components["responses"]["Default405Response"];
@@ -15129,6 +15452,15 @@ export interface paths {
15129
15452
  };
15130
15453
  };
15131
15454
  responses: {
15455
+ /** @description Successful response */
15456
+ 200: {
15457
+ headers: {
15458
+ [name: string]: unknown;
15459
+ };
15460
+ content: {
15461
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15462
+ };
15463
+ };
15132
15464
  400: components["responses"]["Default400Response"];
15133
15465
  404: components["responses"]["Default404Response"];
15134
15466
  405: components["responses"]["Default405Response"];
@@ -15387,6 +15719,15 @@ export interface paths {
15387
15719
  };
15388
15720
  requestBody?: never;
15389
15721
  responses: {
15722
+ /** @description Successful response */
15723
+ 200: {
15724
+ headers: {
15725
+ [name: string]: unknown;
15726
+ };
15727
+ content: {
15728
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15729
+ };
15730
+ };
15390
15731
  400: components["responses"]["UserCollectionFoldersDeleteResource400Response"];
15391
15732
  404: components["responses"]["Default404Response"];
15392
15733
  405: components["responses"]["Default405Response"];
@@ -15427,6 +15768,15 @@ export interface paths {
15427
15768
  };
15428
15769
  };
15429
15770
  responses: {
15771
+ /** @description Successful response */
15772
+ 200: {
15773
+ headers: {
15774
+ [name: string]: unknown;
15775
+ };
15776
+ content: {
15777
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15778
+ };
15779
+ };
15430
15780
  400: components["responses"]["Default400Response"];
15431
15781
  404: components["responses"]["Default404Response"];
15432
15782
  405: components["responses"]["Default405Response"];
@@ -15529,11 +15879,13 @@ export interface paths {
15529
15879
  };
15530
15880
  responses: {
15531
15881
  /** @description Successful response */
15532
- 201: {
15882
+ 200: {
15533
15883
  headers: {
15534
15884
  [name: string]: unknown;
15535
15885
  };
15536
- content?: never;
15886
+ content: {
15887
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15888
+ };
15537
15889
  };
15538
15890
  400: components["responses"]["Default400Response"];
15539
15891
  404: components["responses"]["Default404Response"];
@@ -15573,6 +15925,15 @@ export interface paths {
15573
15925
  };
15574
15926
  };
15575
15927
  responses: {
15928
+ /** @description Successful response */
15929
+ 200: {
15930
+ headers: {
15931
+ [name: string]: unknown;
15932
+ };
15933
+ content: {
15934
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
15935
+ };
15936
+ };
15576
15937
  400: components["responses"]["Default400Response"];
15577
15938
  404: components["responses"]["Default404Response"];
15578
15939
  405: components["responses"]["Default405Response"];
@@ -15919,6 +16280,15 @@ export interface paths {
15919
16280
  };
15920
16281
  };
15921
16282
  responses: {
16283
+ /** @description Successful response */
16284
+ 200: {
16285
+ headers: {
16286
+ [name: string]: unknown;
16287
+ };
16288
+ content: {
16289
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
16290
+ };
16291
+ };
15922
16292
  400: components["responses"]["Default400Response"];
15923
16293
  404: components["responses"]["Default404Response"];
15924
16294
  405: components["responses"]["Default405Response"];
@@ -16193,6 +16563,15 @@ export interface paths {
16193
16563
  };
16194
16564
  };
16195
16565
  responses: {
16566
+ /** @description Successful response */
16567
+ 200: {
16568
+ headers: {
16569
+ [name: string]: unknown;
16570
+ };
16571
+ content: {
16572
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
16573
+ };
16574
+ };
16196
16575
  400: components["responses"]["Default400Response"];
16197
16576
  404: components["responses"]["Default404Response"];
16198
16577
  405: components["responses"]["Default405Response"];
@@ -16479,6 +16858,15 @@ export interface paths {
16479
16858
  };
16480
16859
  };
16481
16860
  responses: {
16861
+ /** @description Successful response */
16862
+ 200: {
16863
+ headers: {
16864
+ [name: string]: unknown;
16865
+ };
16866
+ content: {
16867
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
16868
+ };
16869
+ };
16482
16870
  400: components["responses"]["Default400Response"];
16483
16871
  404: components["responses"]["Default404Response"];
16484
16872
  405: components["responses"]["Default405Response"];
@@ -16765,6 +17153,15 @@ export interface paths {
16765
17153
  };
16766
17154
  };
16767
17155
  responses: {
17156
+ /** @description Successful response */
17157
+ 200: {
17158
+ headers: {
17159
+ [name: string]: unknown;
17160
+ };
17161
+ content: {
17162
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17163
+ };
17164
+ };
16768
17165
  400: components["responses"]["Default400Response"];
16769
17166
  404: components["responses"]["Default404Response"];
16770
17167
  405: components["responses"]["Default405Response"];
@@ -17008,11 +17405,13 @@ export interface paths {
17008
17405
  };
17009
17406
  responses: {
17010
17407
  /** @description Successful response */
17011
- 201: {
17408
+ 200: {
17012
17409
  headers: {
17013
17410
  [name: string]: unknown;
17014
17411
  };
17015
- content?: never;
17412
+ content: {
17413
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17414
+ };
17016
17415
  };
17017
17416
  400: components["responses"]["Default400Response"];
17018
17417
  404: components["responses"]["Default404Response"];
@@ -17053,6 +17452,15 @@ export interface paths {
17053
17452
  };
17054
17453
  };
17055
17454
  responses: {
17455
+ /** @description Successful response */
17456
+ 200: {
17457
+ headers: {
17458
+ [name: string]: unknown;
17459
+ };
17460
+ content: {
17461
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17462
+ };
17463
+ };
17056
17464
  400: components["responses"]["Default400Response"];
17057
17465
  404: components["responses"]["Default404Response"];
17058
17466
  405: components["responses"]["Default405Response"];
@@ -17165,11 +17573,13 @@ export interface paths {
17165
17573
  };
17166
17574
  responses: {
17167
17575
  /** @description Successful response */
17168
- 201: {
17576
+ 200: {
17169
17577
  headers: {
17170
17578
  [name: string]: unknown;
17171
17579
  };
17172
- content?: never;
17580
+ content: {
17581
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17582
+ };
17173
17583
  };
17174
17584
  400: components["responses"]["Default400Response"];
17175
17585
  404: components["responses"]["Default404Response"];
@@ -17210,6 +17620,15 @@ export interface paths {
17210
17620
  };
17211
17621
  };
17212
17622
  responses: {
17623
+ /** @description Successful response */
17624
+ 200: {
17625
+ headers: {
17626
+ [name: string]: unknown;
17627
+ };
17628
+ content: {
17629
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17630
+ };
17631
+ };
17213
17632
  400: components["responses"]["Default400Response"];
17214
17633
  404: components["responses"]["Default404Response"];
17215
17634
  405: components["responses"]["Default405Response"];
@@ -17380,11 +17799,13 @@ export interface paths {
17380
17799
  };
17381
17800
  responses: {
17382
17801
  /** @description Successful response */
17383
- 201: {
17802
+ 200: {
17384
17803
  headers: {
17385
17804
  [name: string]: unknown;
17386
17805
  };
17387
- content?: never;
17806
+ content: {
17807
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17808
+ };
17388
17809
  };
17389
17810
  400: components["responses"]["Default400Response"];
17390
17811
  404: components["responses"]["Default404Response"];
@@ -17425,6 +17846,15 @@ export interface paths {
17425
17846
  };
17426
17847
  };
17427
17848
  responses: {
17849
+ /** @description Successful response */
17850
+ 200: {
17851
+ headers: {
17852
+ [name: string]: unknown;
17853
+ };
17854
+ content: {
17855
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17856
+ };
17857
+ };
17428
17858
  400: components["responses"]["Default400Response"];
17429
17859
  404: components["responses"]["Default404Response"];
17430
17860
  405: components["responses"]["Default405Response"];
@@ -17537,11 +17967,13 @@ export interface paths {
17537
17967
  };
17538
17968
  responses: {
17539
17969
  /** @description Successful response */
17540
- 201: {
17970
+ 200: {
17541
17971
  headers: {
17542
17972
  [name: string]: unknown;
17543
17973
  };
17544
- content?: never;
17974
+ content: {
17975
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
17976
+ };
17545
17977
  };
17546
17978
  400: components["responses"]["Default400Response"];
17547
17979
  404: components["responses"]["Default404Response"];
@@ -17582,6 +18014,15 @@ export interface paths {
17582
18014
  };
17583
18015
  };
17584
18016
  responses: {
18017
+ /** @description Successful response */
18018
+ 200: {
18019
+ headers: {
18020
+ [name: string]: unknown;
18021
+ };
18022
+ content: {
18023
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
18024
+ };
18025
+ };
17585
18026
  400: components["responses"]["Default400Response"];
17586
18027
  404: components["responses"]["Default404Response"];
17587
18028
  405: components["responses"]["Default405Response"];
@@ -17694,11 +18135,13 @@ export interface paths {
17694
18135
  };
17695
18136
  responses: {
17696
18137
  /** @description Successful response */
17697
- 201: {
18138
+ 200: {
17698
18139
  headers: {
17699
18140
  [name: string]: unknown;
17700
18141
  };
17701
- content?: never;
18142
+ content: {
18143
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
18144
+ };
17702
18145
  };
17703
18146
  400: components["responses"]["Default400Response"];
17704
18147
  404: components["responses"]["Default404Response"];
@@ -17739,6 +18182,15 @@ export interface paths {
17739
18182
  };
17740
18183
  };
17741
18184
  responses: {
18185
+ /** @description Successful response */
18186
+ 200: {
18187
+ headers: {
18188
+ [name: string]: unknown;
18189
+ };
18190
+ content: {
18191
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
18192
+ };
18193
+ };
17742
18194
  400: components["responses"]["Default400Response"];
17743
18195
  404: components["responses"]["Default404Response"];
17744
18196
  405: components["responses"]["Default405Response"];
@@ -18573,6 +19025,15 @@ export interface paths {
18573
19025
  };
18574
19026
  };
18575
19027
  responses: {
19028
+ /** @description Successful response */
19029
+ 200: {
19030
+ headers: {
19031
+ [name: string]: unknown;
19032
+ };
19033
+ content: {
19034
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
19035
+ };
19036
+ };
18576
19037
  400: components["responses"]["Default400Response"];
18577
19038
  404: components["responses"]["Default404Response"];
18578
19039
  405: components["responses"]["Default405Response"];
@@ -18783,6 +19244,15 @@ export interface paths {
18783
19244
  };
18784
19245
  };
18785
19246
  responses: {
19247
+ /** @description Successful response */
19248
+ 200: {
19249
+ headers: {
19250
+ [name: string]: unknown;
19251
+ };
19252
+ content: {
19253
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
19254
+ };
19255
+ };
18786
19256
  400: components["responses"]["Default400Response"];
18787
19257
  404: components["responses"]["Default404Response"];
18788
19258
  405: components["responses"]["Default405Response"];
@@ -18932,6 +19402,15 @@ export interface paths {
18932
19402
  };
18933
19403
  };
18934
19404
  responses: {
19405
+ /** @description Successful response */
19406
+ 200: {
19407
+ headers: {
19408
+ [name: string]: unknown;
19409
+ };
19410
+ content: {
19411
+ "application/vnd.api+json": components["schemas"]["Mutation_Response_Document"];
19412
+ };
19413
+ };
18935
19414
  400: components["responses"]["Default400Response"];
18936
19415
  404: components["responses"]["Default404Response"];
18937
19416
  405: components["responses"]["Default405Response"];
@@ -20466,8 +20945,6 @@ export interface components {
20466
20945
  AlbumsCreateOperation_Payload_Data_Attributes: {
20467
20946
  /** @enum {string} */
20468
20947
  albumType?: "ALBUM" | "EP" | "SINGLE";
20469
- /** @description Barcode id (EAN-13 or UPC-A) */
20470
- barcodeId?: string;
20471
20948
  copyright?: components["schemas"]["Copyright"];
20472
20949
  /** @description Explicit content */
20473
20950
  explicit?: boolean;
@@ -20479,11 +20956,6 @@ export interface components {
20479
20956
  /** Format: date */
20480
20957
  releaseDate?: string;
20481
20958
  title: string;
20482
- /**
20483
- * @deprecated
20484
- * @description Barcode id (EAN-13 or UPC-A). Deprecated: use 'barcodeId' instead. This field will be removed in a future version.
20485
- */
20486
- upc?: string;
20487
20959
  version?: string;
20488
20960
  };
20489
20961
  AlbumsCreateOperation_Payload_Data_Relationships: {
@@ -22822,6 +23294,13 @@ export interface components {
22822
23294
  data?: components["schemas"]["Resource_Identifier"][];
22823
23295
  links: components["schemas"]["Links"];
22824
23296
  };
23297
+ Mutation_Response_Document: {
23298
+ links: components["schemas"]["Links"];
23299
+ /** @description Non-standard meta information */
23300
+ meta?: {
23301
+ [key: string]: unknown;
23302
+ };
23303
+ };
22825
23304
  OfflineTasksUpdateOperation_Payload: {
22826
23305
  data: components["schemas"]["OfflineTasksUpdateOperation_Payload_Data"];
22827
23306
  };
@@ -23319,9 +23798,19 @@ export interface components {
23319
23798
  numberOfFollowers: number;
23320
23799
  /**
23321
23800
  * Format: int32
23322
- * @description Number of items in the playlist
23801
+ * @description Number of items in the items relationship
23323
23802
  */
23324
23803
  numberOfItems?: number;
23804
+ /**
23805
+ * Format: int32
23806
+ * @description Number of track items in the items relationship
23807
+ */
23808
+ numberOfTrackItems?: number;
23809
+ /**
23810
+ * Format: int32
23811
+ * @description Number of video items in the items relationship
23812
+ */
23813
+ numberOfVideoItems?: number;
23325
23814
  /**
23326
23815
  * @description The type of the playlist
23327
23816
  * @enum {string}
package/dist/index.js CHANGED
@@ -457,8 +457,9 @@ async function T(e) {
457
457
  //#region src/api.ts
458
458
  function E(e, t = "https://openapi.tidal.com/v2/", n) {
459
459
  let i = { async onRequest({ request: t }) {
460
- let n = await e.getCredentials();
461
- return t.headers.set("Authorization", `Bearer ${n.token}`), (t.method === "POST" || t.method === "PATCH" || t.method === "DELETE") && t.headers.set("Content-Type", "application/vnd.api+json"), t;
460
+ let { token: n } = await e.getCredentials();
461
+ if (!n) throw Error("No access token available from the credentials provider");
462
+ return t.headers.set("Authorization", `Bearer ${n}`), (t.method === "POST" || t.method === "PATCH" || t.method === "DELETE") && t.headers.set("Content-Type", "application/vnd.api+json"), t;
462
463
  } }, a = r({
463
464
  baseUrl: t,
464
465
  fetch: _(n),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidal-music/api",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -28,7 +28,7 @@
28
28
  "vite": "8.2.1",
29
29
  "vite-plugin-dts": "5.0.3",
30
30
  "vitest": "4.1.10",
31
- "@tidal-music/auth": "^1.6.1",
31
+ "@tidal-music/auth": "^1.6.2",
32
32
  "@tidal-music/common": "^0.2.1"
33
33
  },
34
34
  "scripts": {