@tidal-music/api 0.25.0 → 0.27.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.
@@ -16,18 +16,18 @@ export interface paths {
16
16
  */
17
17
  get: {
18
18
  parameters: {
19
- query?: {
19
+ query: {
20
20
  /**
21
21
  * @description Allows the client to customize which related resources should be returned. Available options: owners, terms
22
22
  * @example owners
23
23
  */
24
24
  include?: string[];
25
25
  /** @description User id. Use `me` for the authenticated user */
26
- "filter[owners.id]"?: string[];
26
+ "filter[owners.id]": string[];
27
27
  /** @description Filter by terms.isLatestVersion */
28
28
  "filter[terms.isLatestVersion]"?: string[];
29
29
  /** @description One of: DEVELOPER, UPLOAD_MARKETPLACE (e.g. `DEVELOPER`) */
30
- "filter[terms.termsType]"?: ("DEVELOPER" | "UPLOAD_MARKETPLACE")[];
30
+ "filter[terms.termsType]": ("DEVELOPER" | "UPLOAD_MARKETPLACE")[];
31
31
  };
32
32
  header?: never;
33
33
  path?: never;
@@ -222,61 +222,6 @@ export interface paths {
222
222
  patch?: never;
223
223
  trace?: never;
224
224
  };
225
- "/albumStatistics": {
226
- parameters: {
227
- query?: never;
228
- header?: never;
229
- path?: never;
230
- cookie?: never;
231
- };
232
- /**
233
- * Get multiple albumStatistics.
234
- * @description Retrieves multiple albumStatistics by available filters, or without if applicable.
235
- */
236
- get: {
237
- parameters: {
238
- query?: {
239
- /**
240
- * @description Allows the client to customize which related resources should be returned. Available options: owners
241
- * @example owners
242
- */
243
- include?: string[];
244
- /** @description List of album IDs (e.g. `251380836`) */
245
- "filter[id]"?: string[];
246
- };
247
- header?: never;
248
- path?: never;
249
- cookie?: never;
250
- };
251
- requestBody?: never;
252
- responses: {
253
- /** @description Successful response */
254
- 200: {
255
- headers: {
256
- [name: string]: unknown;
257
- };
258
- content: {
259
- "application/vnd.api+json": components["schemas"]["AlbumStatistics_Multi_Resource_Data_Document"];
260
- };
261
- };
262
- 400: components["responses"]["Default400Response"];
263
- 404: components["responses"]["Default404Response"];
264
- 405: components["responses"]["Default405Response"];
265
- 406: components["responses"]["Default406Response"];
266
- 415: components["responses"]["Default415Response"];
267
- 429: components["responses"]["Default429Response"];
268
- 500: components["responses"]["Default500Response"];
269
- 503: components["responses"]["Default503Response"];
270
- };
271
- };
272
- put?: never;
273
- post?: never;
274
- delete?: never;
275
- options?: never;
276
- head?: never;
277
- patch?: never;
278
- trace?: never;
279
- };
280
225
  "/albumStatistics/{id}": {
281
226
  parameters: {
282
227
  query?: never;
@@ -427,7 +372,7 @@ export interface paths {
427
372
  include?: string[];
428
373
  /** @description List of barcode IDs (EAN-13 or UPC-A). NOTE: Supplying more than one barcode ID will currently only return one album per barcode ID. (e.g. `196589525444`) */
429
374
  "filter[barcodeId]"?: string[];
430
- /** @description Album id (e.g. `251380836`) */
375
+ /** @description List of album IDs (e.g. `251380836`) */
431
376
  "filter[id]"?: string[];
432
377
  /** @description User id. Use `me` for the authenticated user */
433
378
  "filter[owners.id]"?: string[];
@@ -1629,66 +1574,6 @@ export interface paths {
1629
1574
  patch?: never;
1630
1575
  trace?: never;
1631
1576
  };
1632
- "/artistBiographies": {
1633
- parameters: {
1634
- query?: never;
1635
- header?: never;
1636
- path?: never;
1637
- cookie?: never;
1638
- };
1639
- /**
1640
- * Get multiple artistBiographies.
1641
- * @description Retrieves multiple artistBiographies by available filters, or without if applicable.
1642
- */
1643
- get: {
1644
- parameters: {
1645
- query?: {
1646
- /**
1647
- * @description ISO 3166-1 alpha-2 country code
1648
- * @example US
1649
- */
1650
- countryCode?: string;
1651
- /**
1652
- * @description Allows the client to customize which related resources should be returned. Available options: owners
1653
- * @example owners
1654
- */
1655
- include?: string[];
1656
- /** @description Artist id (e.g. `1566`) */
1657
- "filter[id]"?: string[];
1658
- };
1659
- header?: never;
1660
- path?: never;
1661
- cookie?: never;
1662
- };
1663
- requestBody?: never;
1664
- responses: {
1665
- /** @description Successful response */
1666
- 200: {
1667
- headers: {
1668
- [name: string]: unknown;
1669
- };
1670
- content: {
1671
- "application/vnd.api+json": components["schemas"]["ArtistBiographies_Multi_Resource_Data_Document"];
1672
- };
1673
- };
1674
- 400: components["responses"]["Default400Response"];
1675
- 404: components["responses"]["Default404Response"];
1676
- 405: components["responses"]["Default405Response"];
1677
- 406: components["responses"]["Default406Response"];
1678
- 415: components["responses"]["Default415Response"];
1679
- 429: components["responses"]["Default429Response"];
1680
- 500: components["responses"]["Default500Response"];
1681
- 503: components["responses"]["Default503Response"];
1682
- };
1683
- };
1684
- put?: never;
1685
- post?: never;
1686
- delete?: never;
1687
- options?: never;
1688
- head?: never;
1689
- patch?: never;
1690
- trace?: never;
1691
- };
1692
1577
  "/artistBiographies/{id}": {
1693
1578
  parameters: {
1694
1579
  query?: never;
@@ -1864,14 +1749,14 @@ export interface paths {
1864
1749
  */
1865
1750
  get: {
1866
1751
  parameters: {
1867
- query?: {
1752
+ query: {
1868
1753
  /**
1869
1754
  * @description Allows the client to customize which related resources should be returned. Available options: acceptedArtists, owners, recommendedArtists
1870
1755
  * @example acceptedArtists
1871
1756
  */
1872
1757
  include?: string[];
1873
1758
  /** @description User id. Use `me` for the authenticated user */
1874
- "filter[owners.id]"?: string[];
1759
+ "filter[owners.id]": string[];
1875
1760
  };
1876
1761
  header?: never;
1877
1762
  path?: never;
@@ -2313,56 +2198,6 @@ export interface paths {
2313
2198
  patch?: never;
2314
2199
  trace?: never;
2315
2200
  };
2316
- "/artistRoles": {
2317
- parameters: {
2318
- query?: never;
2319
- header?: never;
2320
- path?: never;
2321
- cookie?: never;
2322
- };
2323
- /**
2324
- * Get multiple artistRoles.
2325
- * @description Retrieves multiple artistRoles by available filters, or without if applicable.
2326
- */
2327
- get: {
2328
- parameters: {
2329
- query?: {
2330
- /** @description List of artist role IDs (e.g. `1`) */
2331
- "filter[id]"?: string[];
2332
- };
2333
- header?: never;
2334
- path?: never;
2335
- cookie?: never;
2336
- };
2337
- requestBody?: never;
2338
- responses: {
2339
- /** @description Successful response */
2340
- 200: {
2341
- headers: {
2342
- [name: string]: unknown;
2343
- };
2344
- content: {
2345
- "application/vnd.api+json": components["schemas"]["ArtistRoles_Multi_Resource_Data_Document"];
2346
- };
2347
- };
2348
- 400: components["responses"]["Default400Response"];
2349
- 404: components["responses"]["Default404Response"];
2350
- 405: components["responses"]["Default405Response"];
2351
- 406: components["responses"]["Default406Response"];
2352
- 415: components["responses"]["Default415Response"];
2353
- 429: components["responses"]["Default429Response"];
2354
- 500: components["responses"]["Default500Response"];
2355
- 503: components["responses"]["Default503Response"];
2356
- };
2357
- };
2358
- put?: never;
2359
- post?: never;
2360
- delete?: never;
2361
- options?: never;
2362
- head?: never;
2363
- patch?: never;
2364
- trace?: never;
2365
- };
2366
2201
  "/artistRoles/{id}": {
2367
2202
  parameters: {
2368
2203
  query?: never;
@@ -2442,7 +2277,7 @@ export interface paths {
2442
2277
  include?: string[];
2443
2278
  /** @description Artist handle (e.g. `jayz`) */
2444
2279
  "filter[handle]"?: string[];
2445
- /** @description Artist id (e.g. `1566`) */
2280
+ /** @description List of artist IDs (e.g. `1566`) */
2446
2281
  "filter[id]"?: string[];
2447
2282
  /** @description User id. Use `me` for the authenticated user */
2448
2283
  "filter[owners.id]"?: string[];
@@ -3523,7 +3358,7 @@ export interface paths {
3523
3358
  */
3524
3359
  get: {
3525
3360
  parameters: {
3526
- query?: {
3361
+ query: {
3527
3362
  /**
3528
3363
  * @description ISO 3166-1 alpha-2 country code
3529
3364
  * @example US
@@ -3535,7 +3370,7 @@ export interface paths {
3535
3370
  */
3536
3371
  include?: string[];
3537
3372
  /** @description Artwork id (e.g. `a468bee88def`) */
3538
- "filter[id]"?: string[];
3373
+ "filter[id]": string[];
3539
3374
  };
3540
3375
  header?: never;
3541
3376
  path?: never;
@@ -3748,14 +3583,14 @@ export interface paths {
3748
3583
  */
3749
3584
  get: {
3750
3585
  parameters: {
3751
- query?: {
3586
+ query: {
3752
3587
  /**
3753
3588
  * @description Allows the client to customize which related resources should be returned. Available options: owners
3754
3589
  * @example owners
3755
3590
  */
3756
3591
  include?: string[];
3757
3592
  /** @description User id. Use `me` for the authenticated user */
3758
- "filter[owners.id]"?: string[];
3593
+ "filter[owners.id]": string[];
3759
3594
  };
3760
3595
  header?: never;
3761
3596
  path?: never;
@@ -4020,35 +3855,83 @@ export interface paths {
4020
3855
  patch?: never;
4021
3856
  trace?: never;
4022
3857
  };
4023
- "/comments": {
3858
+ "/collaborationInviteRedemptions": {
4024
3859
  parameters: {
4025
3860
  query?: never;
4026
3861
  header?: never;
4027
3862
  path?: never;
4028
3863
  cookie?: never;
4029
3864
  };
3865
+ get?: never;
3866
+ put?: never;
4030
3867
  /**
4031
- * Get multiple comments.
4032
- * @description Retrieves multiple comments by available filters, or without if applicable.
3868
+ * Create single collaborationInviteRedemption.
3869
+ * @description Creates a new collaborationInviteRedemption.
3870
+ */
3871
+ post: {
3872
+ parameters: {
3873
+ query?: never;
3874
+ header?: {
3875
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
3876
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
3877
+ };
3878
+ path?: never;
3879
+ cookie?: never;
3880
+ };
3881
+ requestBody?: {
3882
+ content: {
3883
+ "application/vnd.api+json": components["schemas"]["CollaborationInviteRedemptionsCreateOperation_Payload"];
3884
+ };
3885
+ };
3886
+ responses: {
3887
+ /** @description Successful response */
3888
+ 201: {
3889
+ headers: {
3890
+ [name: string]: unknown;
3891
+ };
3892
+ content: {
3893
+ "application/vnd.api+json": components["schemas"]["CollaborationInviteRedemptions_Single_Resource_Data_Document"];
3894
+ };
3895
+ };
3896
+ 400: components["responses"]["Default400Response"];
3897
+ 404: components["responses"]["Default404Response"];
3898
+ 405: components["responses"]["Default405Response"];
3899
+ 406: components["responses"]["Default406Response"];
3900
+ 409: components["responses"]["Idempotency409Response"];
3901
+ 415: components["responses"]["Default415Response"];
3902
+ 422: components["responses"]["Idempotency422Response"];
3903
+ 429: components["responses"]["Default429Response"];
3904
+ 500: components["responses"]["Default500Response"];
3905
+ 503: components["responses"]["Default503Response"];
3906
+ };
3907
+ };
3908
+ delete?: never;
3909
+ options?: never;
3910
+ head?: never;
3911
+ patch?: never;
3912
+ trace?: never;
3913
+ };
3914
+ "/collaborationInvites": {
3915
+ parameters: {
3916
+ query?: never;
3917
+ header?: never;
3918
+ path?: never;
3919
+ cookie?: never;
3920
+ };
3921
+ /**
3922
+ * Get multiple collaborationInvites.
3923
+ * @description Retrieves multiple collaborationInvites by available filters, or without if applicable.
4033
3924
  */
4034
3925
  get: {
4035
3926
  parameters: {
4036
- query?: {
4037
- /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4038
- "page[cursor]"?: string;
4039
- /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
4040
- sort?: ("createdAt" | "-createdAt" | "likeCount" | "-likeCount" | "replyCount" | "-replyCount" | "startTime" | "-startTime")[];
3927
+ query: {
4041
3928
  /**
4042
- * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles, owners, parentComment
4043
- * @example ownerProfiles
3929
+ * @description Allows the client to customize which related resources should be returned. Available options: owners, subject
3930
+ * @example owners
4044
3931
  */
4045
3932
  include?: string[];
4046
- /** @description Filter by parent comment ID to get replies (e.g. `550e8400-e29b-41d4-a716-446655440000`) */
4047
- "filter[parentComment.id]"?: string[];
4048
- /** @description Filter by subject resource ID (e.g. `12345`) */
4049
- "filter[subject.id]"?: string[];
4050
- /** @description Filter by subject resource type (e.g. `albums`) */
4051
- "filter[subject.type]"?: ("albums" | "tracks")[];
3933
+ /** @description Invite code */
3934
+ "filter[code]": string[];
4052
3935
  };
4053
3936
  header?: never;
4054
3937
  path?: never;
@@ -4062,7 +3945,7 @@ export interface paths {
4062
3945
  [name: string]: unknown;
4063
3946
  };
4064
3947
  content: {
4065
- "application/vnd.api+json": components["schemas"]["Comments_Multi_Resource_Data_Document"];
3948
+ "application/vnd.api+json": components["schemas"]["CollaborationInvites_Multi_Resource_Data_Document"];
4066
3949
  };
4067
3950
  };
4068
3951
  400: components["responses"]["Default400Response"];
@@ -4077,8 +3960,8 @@ export interface paths {
4077
3960
  };
4078
3961
  put?: never;
4079
3962
  /**
4080
- * Create single comment.
4081
- * @description Creates a new comment.
3963
+ * Create single collaborationInvite.
3964
+ * @description Creates a new collaborationInvite.
4082
3965
  */
4083
3966
  post: {
4084
3967
  parameters: {
@@ -4092,7 +3975,7 @@ export interface paths {
4092
3975
  };
4093
3976
  requestBody?: {
4094
3977
  content: {
4095
- "application/vnd.api+json": components["schemas"]["CommentsCreateOperation_Payload"];
3978
+ "application/vnd.api+json": components["schemas"]["CollaborationInvitesCreateOperation_Payload"];
4096
3979
  };
4097
3980
  };
4098
3981
  responses: {
@@ -4102,7 +3985,7 @@ export interface paths {
4102
3985
  [name: string]: unknown;
4103
3986
  };
4104
3987
  content: {
4105
- "application/vnd.api+json": components["schemas"]["Comments_Single_Resource_Data_Document"];
3988
+ "application/vnd.api+json": components["schemas"]["CollaborationInvites_Single_Resource_Data_Document"];
4106
3989
  };
4107
3990
  };
4108
3991
  400: components["responses"]["Default400Response"];
@@ -4123,7 +4006,7 @@ export interface paths {
4123
4006
  patch?: never;
4124
4007
  trace?: never;
4125
4008
  };
4126
- "/comments/{id}": {
4009
+ "/collaborationInvites/{id}": {
4127
4010
  parameters: {
4128
4011
  query?: never;
4129
4012
  header?: never;
@@ -4131,22 +4014,22 @@ export interface paths {
4131
4014
  cookie?: never;
4132
4015
  };
4133
4016
  /**
4134
- * Get single comment.
4135
- * @description Retrieves single comment by id.
4017
+ * Get single collaborationInvite.
4018
+ * @description Retrieves single collaborationInvite by id.
4136
4019
  */
4137
4020
  get: {
4138
4021
  parameters: {
4139
4022
  query?: {
4140
4023
  /**
4141
- * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles, owners, parentComment
4142
- * @example ownerProfiles
4024
+ * @description Allows the client to customize which related resources should be returned. Available options: owners, subject
4025
+ * @example owners
4143
4026
  */
4144
4027
  include?: string[];
4145
4028
  };
4146
4029
  header?: never;
4147
4030
  path: {
4148
4031
  /**
4149
- * @description Comment Id
4032
+ * @description Collaboration invite id
4150
4033
  * @example 550e8400-e29b-41d4-a716-446655440000
4151
4034
  */
4152
4035
  id: string;
@@ -4161,7 +4044,7 @@ export interface paths {
4161
4044
  [name: string]: unknown;
4162
4045
  };
4163
4046
  content: {
4164
- "application/vnd.api+json": components["schemas"]["Comments_Single_Resource_Data_Document"];
4047
+ "application/vnd.api+json": components["schemas"]["CollaborationInvites_Single_Resource_Data_Document"];
4165
4048
  };
4166
4049
  };
4167
4050
  400: components["responses"]["Default400Response"];
@@ -4177,8 +4060,8 @@ export interface paths {
4177
4060
  put?: never;
4178
4061
  post?: never;
4179
4062
  /**
4180
- * Delete single comment.
4181
- * @description Deletes existing comment.
4063
+ * Delete single collaborationInvite.
4064
+ * @description Deletes existing collaborationInvite.
4182
4065
  */
4183
4066
  delete: {
4184
4067
  parameters: {
@@ -4189,7 +4072,7 @@ export interface paths {
4189
4072
  };
4190
4073
  path: {
4191
4074
  /**
4192
- * @description Comment Id
4075
+ * @description Collaboration invite id
4193
4076
  * @example 550e8400-e29b-41d4-a716-446655440000
4194
4077
  */
4195
4078
  id: string;
@@ -4212,47 +4095,10 @@ export interface paths {
4212
4095
  };
4213
4096
  options?: never;
4214
4097
  head?: never;
4215
- /**
4216
- * Update single comment.
4217
- * @description Updates existing comment.
4218
- */
4219
- patch: {
4220
- parameters: {
4221
- query?: never;
4222
- header?: {
4223
- /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
4224
- "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
4225
- };
4226
- path: {
4227
- /**
4228
- * @description Comment Id
4229
- * @example 550e8400-e29b-41d4-a716-446655440000
4230
- */
4231
- id: string;
4232
- };
4233
- cookie?: never;
4234
- };
4235
- requestBody?: {
4236
- content: {
4237
- "application/vnd.api+json": components["schemas"]["CommentsUpdateOperation_Payload"];
4238
- };
4239
- };
4240
- responses: {
4241
- 400: components["responses"]["Default400Response"];
4242
- 404: components["responses"]["Default404Response"];
4243
- 405: components["responses"]["Default405Response"];
4244
- 406: components["responses"]["Default406Response"];
4245
- 409: components["responses"]["Idempotency409Response"];
4246
- 415: components["responses"]["Default415Response"];
4247
- 422: components["responses"]["Idempotency422Response"];
4248
- 429: components["responses"]["Default429Response"];
4249
- 500: components["responses"]["Default500Response"];
4250
- 503: components["responses"]["Default503Response"];
4251
- };
4252
- };
4098
+ patch?: never;
4253
4099
  trace?: never;
4254
4100
  };
4255
- "/comments/{id}/relationships/ownerProfiles": {
4101
+ "/collaborationInvites/{id}/relationships/owners": {
4256
4102
  parameters: {
4257
4103
  query?: never;
4258
4104
  header?: never;
@@ -4260,15 +4106,15 @@ export interface paths {
4260
4106
  cookie?: never;
4261
4107
  };
4262
4108
  /**
4263
- * Get ownerProfiles relationship ("to-many").
4264
- * @description Retrieves ownerProfiles relationship.
4109
+ * Get owners relationship ("to-many").
4110
+ * @description Retrieves owners relationship.
4265
4111
  */
4266
4112
  get: {
4267
4113
  parameters: {
4268
4114
  query?: {
4269
4115
  /**
4270
- * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles
4271
- * @example ownerProfiles
4116
+ * @description Allows the client to customize which related resources should be returned. Available options: owners
4117
+ * @example owners
4272
4118
  */
4273
4119
  include?: string[];
4274
4120
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
@@ -4277,7 +4123,7 @@ export interface paths {
4277
4123
  header?: never;
4278
4124
  path: {
4279
4125
  /**
4280
- * @description Comment Id
4126
+ * @description Collaboration invite id
4281
4127
  * @example 550e8400-e29b-41d4-a716-446655440000
4282
4128
  */
4283
4129
  id: string;
@@ -4292,7 +4138,7 @@ export interface paths {
4292
4138
  [name: string]: unknown;
4293
4139
  };
4294
4140
  content: {
4295
- "application/vnd.api+json": components["schemas"]["Comments_Multi_Relationship_Data_Document"];
4141
+ "application/vnd.api+json": components["schemas"]["CollaborationInvites_Multi_Relationship_Data_Document"];
4296
4142
  };
4297
4143
  };
4298
4144
  400: components["responses"]["Default400Response"];
@@ -4313,7 +4159,7 @@ export interface paths {
4313
4159
  patch?: never;
4314
4160
  trace?: never;
4315
4161
  };
4316
- "/comments/{id}/relationships/owners": {
4162
+ "/collaborationInvites/{id}/relationships/subject": {
4317
4163
  parameters: {
4318
4164
  query?: never;
4319
4165
  header?: never;
@@ -4321,24 +4167,22 @@ export interface paths {
4321
4167
  cookie?: never;
4322
4168
  };
4323
4169
  /**
4324
- * Get owners relationship ("to-many").
4325
- * @description Retrieves owners relationship.
4170
+ * Get subject relationship ("to-one").
4171
+ * @description Retrieves subject relationship.
4326
4172
  */
4327
4173
  get: {
4328
4174
  parameters: {
4329
4175
  query?: {
4330
4176
  /**
4331
- * @description Allows the client to customize which related resources should be returned. Available options: owners
4332
- * @example owners
4177
+ * @description Allows the client to customize which related resources should be returned. Available options: subject
4178
+ * @example subject
4333
4179
  */
4334
4180
  include?: string[];
4335
- /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4336
- "page[cursor]"?: string;
4337
4181
  };
4338
4182
  header?: never;
4339
4183
  path: {
4340
4184
  /**
4341
- * @description Comment Id
4185
+ * @description Collaboration invite id
4342
4186
  * @example 550e8400-e29b-41d4-a716-446655440000
4343
4187
  */
4344
4188
  id: string;
@@ -4353,7 +4197,7 @@ export interface paths {
4353
4197
  [name: string]: unknown;
4354
4198
  };
4355
4199
  content: {
4356
- "application/vnd.api+json": components["schemas"]["Comments_Multi_Relationship_Data_Document"];
4200
+ "application/vnd.api+json": components["schemas"]["CollaborationInvites_Single_Relationship_Data_Document"];
4357
4201
  };
4358
4202
  };
4359
4203
  400: components["responses"]["Default400Response"];
@@ -4374,7 +4218,7 @@ export interface paths {
4374
4218
  patch?: never;
4375
4219
  trace?: never;
4376
4220
  };
4377
- "/comments/{id}/relationships/parentComment": {
4221
+ "/comments": {
4378
4222
  parameters: {
4379
4223
  query?: never;
4380
4224
  header?: never;
@@ -4382,26 +4226,30 @@ export interface paths {
4382
4226
  cookie?: never;
4383
4227
  };
4384
4228
  /**
4385
- * Get parentComment relationship ("to-one").
4386
- * @description Retrieves parentComment relationship.
4229
+ * Get multiple comments.
4230
+ * @description Retrieves multiple comments by available filters, or without if applicable.
4387
4231
  */
4388
4232
  get: {
4389
4233
  parameters: {
4390
- query?: {
4234
+ query: {
4235
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4236
+ "page[cursor]"?: string;
4237
+ /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
4238
+ sort?: ("createdAt" | "-createdAt" | "likeCount" | "-likeCount" | "replyCount" | "-replyCount" | "startTime" | "-startTime")[];
4391
4239
  /**
4392
- * @description Allows the client to customize which related resources should be returned. Available options: parentComment
4393
- * @example parentComment
4240
+ * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles, owners, parentComment
4241
+ * @example ownerProfiles
4394
4242
  */
4395
4243
  include?: string[];
4244
+ /** @description Filter by parent comment ID to get replies (e.g. `550e8400-e29b-41d4-a716-446655440000`) */
4245
+ "filter[parentComment.id]"?: string[];
4246
+ /** @description Filter by subject resource ID (e.g. `12345`) */
4247
+ "filter[subject.id]": string[];
4248
+ /** @description Filter by subject resource type (e.g. `albums`) */
4249
+ "filter[subject.type]": ("albums" | "tracks")[];
4396
4250
  };
4397
4251
  header?: never;
4398
- path: {
4399
- /**
4400
- * @description Comment Id
4401
- * @example 550e8400-e29b-41d4-a716-446655440000
4402
- */
4403
- id: string;
4404
- };
4252
+ path?: never;
4405
4253
  cookie?: never;
4406
4254
  };
4407
4255
  requestBody?: never;
@@ -4412,7 +4260,7 @@ export interface paths {
4412
4260
  [name: string]: unknown;
4413
4261
  };
4414
4262
  content: {
4415
- "application/vnd.api+json": components["schemas"]["Comments_Single_Relationship_Data_Document"];
4263
+ "application/vnd.api+json": components["schemas"]["Comments_Multi_Resource_Data_Document"];
4416
4264
  };
4417
4265
  };
4418
4266
  400: components["responses"]["Default400Response"];
@@ -4426,14 +4274,54 @@ export interface paths {
4426
4274
  };
4427
4275
  };
4428
4276
  put?: never;
4429
- post?: never;
4277
+ /**
4278
+ * Create single comment.
4279
+ * @description Creates a new comment.
4280
+ */
4281
+ post: {
4282
+ parameters: {
4283
+ query?: never;
4284
+ header?: {
4285
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
4286
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
4287
+ };
4288
+ path?: never;
4289
+ cookie?: never;
4290
+ };
4291
+ requestBody?: {
4292
+ content: {
4293
+ "application/vnd.api+json": components["schemas"]["CommentsCreateOperation_Payload"];
4294
+ };
4295
+ };
4296
+ responses: {
4297
+ /** @description Successful response */
4298
+ 201: {
4299
+ headers: {
4300
+ [name: string]: unknown;
4301
+ };
4302
+ content: {
4303
+ "application/vnd.api+json": components["schemas"]["Comments_Single_Resource_Data_Document"];
4304
+ };
4305
+ };
4306
+ 400: components["responses"]["Default400Response"];
4307
+ 404: components["responses"]["Default404Response"];
4308
+ 405: components["responses"]["Default405Response"];
4309
+ 406: components["responses"]["Default406Response"];
4310
+ 409: components["responses"]["Idempotency409Response"];
4311
+ 415: components["responses"]["Default415Response"];
4312
+ 422: components["responses"]["Idempotency422Response"];
4313
+ 429: components["responses"]["Default429Response"];
4314
+ 500: components["responses"]["Default500Response"];
4315
+ 503: components["responses"]["Default503Response"];
4316
+ };
4317
+ };
4430
4318
  delete?: never;
4431
4319
  options?: never;
4432
4320
  head?: never;
4433
4321
  patch?: never;
4434
4322
  trace?: never;
4435
4323
  };
4436
- "/contentClaims": {
4324
+ "/comments/{id}": {
4437
4325
  parameters: {
4438
4326
  query?: never;
4439
4327
  header?: never;
@@ -4441,22 +4329,26 @@ export interface paths {
4441
4329
  cookie?: never;
4442
4330
  };
4443
4331
  /**
4444
- * Get multiple contentClaims.
4445
- * @description Retrieves multiple contentClaims by available filters, or without if applicable.
4332
+ * Get single comment.
4333
+ * @description Retrieves single comment by id.
4446
4334
  */
4447
4335
  get: {
4448
4336
  parameters: {
4449
4337
  query?: {
4450
4338
  /**
4451
- * @description Allows the client to customize which related resources should be returned. Available options: claimedResource, claimingArtist, owners
4452
- * @example claimedResource
4339
+ * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles, owners, parentComment
4340
+ * @example ownerProfiles
4453
4341
  */
4454
4342
  include?: string[];
4455
- /** @description User id. Use `me` for the authenticated user */
4456
- "filter[owners.id]"?: string[];
4457
4343
  };
4458
4344
  header?: never;
4459
- path?: never;
4345
+ path: {
4346
+ /**
4347
+ * @description Comment Id
4348
+ * @example 550e8400-e29b-41d4-a716-446655440000
4349
+ */
4350
+ id: string;
4351
+ };
4460
4352
  cookie?: never;
4461
4353
  };
4462
4354
  requestBody?: never;
@@ -4467,7 +4359,7 @@ export interface paths {
4467
4359
  [name: string]: unknown;
4468
4360
  };
4469
4361
  content: {
4470
- "application/vnd.api+json": components["schemas"]["ContentClaims_Multi_Resource_Data_Document"];
4362
+ "application/vnd.api+json": components["schemas"]["Comments_Single_Resource_Data_Document"];
4471
4363
  };
4472
4364
  };
4473
4365
  400: components["responses"]["Default400Response"];
@@ -4481,35 +4373,69 @@ export interface paths {
4481
4373
  };
4482
4374
  };
4483
4375
  put?: never;
4376
+ post?: never;
4484
4377
  /**
4485
- * Create single contentClaim.
4486
- * @description Creates a new contentClaim.
4378
+ * Delete single comment.
4379
+ * @description Deletes existing comment.
4487
4380
  */
4488
- post: {
4381
+ delete: {
4489
4382
  parameters: {
4490
4383
  query?: never;
4491
4384
  header?: {
4492
4385
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
4493
4386
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
4494
4387
  };
4495
- path?: never;
4388
+ path: {
4389
+ /**
4390
+ * @description Comment Id
4391
+ * @example 550e8400-e29b-41d4-a716-446655440000
4392
+ */
4393
+ id: string;
4394
+ };
4395
+ cookie?: never;
4396
+ };
4397
+ requestBody?: never;
4398
+ responses: {
4399
+ 400: components["responses"]["Default400Response"];
4400
+ 404: components["responses"]["Default404Response"];
4401
+ 405: components["responses"]["Default405Response"];
4402
+ 406: components["responses"]["Default406Response"];
4403
+ 409: components["responses"]["Idempotency409Response"];
4404
+ 415: components["responses"]["Default415Response"];
4405
+ 422: components["responses"]["Idempotency422Response"];
4406
+ 429: components["responses"]["Default429Response"];
4407
+ 500: components["responses"]["Default500Response"];
4408
+ 503: components["responses"]["Default503Response"];
4409
+ };
4410
+ };
4411
+ options?: never;
4412
+ head?: never;
4413
+ /**
4414
+ * Update single comment.
4415
+ * @description Updates existing comment.
4416
+ */
4417
+ patch: {
4418
+ parameters: {
4419
+ query?: never;
4420
+ header?: {
4421
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
4422
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
4423
+ };
4424
+ path: {
4425
+ /**
4426
+ * @description Comment Id
4427
+ * @example 550e8400-e29b-41d4-a716-446655440000
4428
+ */
4429
+ id: string;
4430
+ };
4496
4431
  cookie?: never;
4497
4432
  };
4498
4433
  requestBody?: {
4499
4434
  content: {
4500
- "application/vnd.api+json": components["schemas"]["ContentClaimsCreateOperation_Payload"];
4435
+ "application/vnd.api+json": components["schemas"]["CommentsUpdateOperation_Payload"];
4501
4436
  };
4502
4437
  };
4503
4438
  responses: {
4504
- /** @description Successful response */
4505
- 201: {
4506
- headers: {
4507
- [name: string]: unknown;
4508
- };
4509
- content: {
4510
- "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Resource_Data_Document"];
4511
- };
4512
- };
4513
4439
  400: components["responses"]["Default400Response"];
4514
4440
  404: components["responses"]["Default404Response"];
4515
4441
  405: components["responses"]["Default405Response"];
@@ -4522,13 +4448,9 @@ export interface paths {
4522
4448
  503: components["responses"]["Default503Response"];
4523
4449
  };
4524
4450
  };
4525
- delete?: never;
4526
- options?: never;
4527
- head?: never;
4528
- patch?: never;
4529
4451
  trace?: never;
4530
4452
  };
4531
- "/contentClaims/{id}": {
4453
+ "/comments/{id}/relationships/ownerProfiles": {
4532
4454
  parameters: {
4533
4455
  query?: never;
4534
4456
  header?: never;
@@ -4536,23 +4458,25 @@ export interface paths {
4536
4458
  cookie?: never;
4537
4459
  };
4538
4460
  /**
4539
- * Get single contentClaim.
4540
- * @description Retrieves single contentClaim by id.
4461
+ * Get ownerProfiles relationship ("to-many").
4462
+ * @description Retrieves ownerProfiles relationship.
4541
4463
  */
4542
4464
  get: {
4543
4465
  parameters: {
4544
4466
  query?: {
4545
4467
  /**
4546
- * @description Allows the client to customize which related resources should be returned. Available options: claimedResource, claimingArtist, owners
4547
- * @example claimedResource
4468
+ * @description Allows the client to customize which related resources should be returned. Available options: ownerProfiles
4469
+ * @example ownerProfiles
4548
4470
  */
4549
4471
  include?: string[];
4472
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4473
+ "page[cursor]"?: string;
4550
4474
  };
4551
4475
  header?: never;
4552
4476
  path: {
4553
4477
  /**
4554
- * @description Content claim id
4555
- * @example f47ac10b-58cc-4372-a567-0e02b2c3d479
4478
+ * @description Comment Id
4479
+ * @example 550e8400-e29b-41d4-a716-446655440000
4556
4480
  */
4557
4481
  id: string;
4558
4482
  };
@@ -4566,7 +4490,7 @@ export interface paths {
4566
4490
  [name: string]: unknown;
4567
4491
  };
4568
4492
  content: {
4569
- "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Resource_Data_Document"];
4493
+ "application/vnd.api+json": components["schemas"]["Comments_Multi_Relationship_Data_Document"];
4570
4494
  };
4571
4495
  };
4572
4496
  400: components["responses"]["Default400Response"];
@@ -4587,7 +4511,7 @@ export interface paths {
4587
4511
  patch?: never;
4588
4512
  trace?: never;
4589
4513
  };
4590
- "/contentClaims/{id}/relationships/claimedResource": {
4514
+ "/comments/{id}/relationships/owners": {
4591
4515
  parameters: {
4592
4516
  query?: never;
4593
4517
  header?: never;
@@ -4595,23 +4519,25 @@ export interface paths {
4595
4519
  cookie?: never;
4596
4520
  };
4597
4521
  /**
4598
- * Get claimedResource relationship ("to-one").
4599
- * @description Retrieves claimedResource relationship.
4522
+ * Get owners relationship ("to-many").
4523
+ * @description Retrieves owners relationship.
4600
4524
  */
4601
4525
  get: {
4602
4526
  parameters: {
4603
4527
  query?: {
4604
4528
  /**
4605
- * @description Allows the client to customize which related resources should be returned. Available options: claimedResource
4606
- * @example claimedResource
4529
+ * @description Allows the client to customize which related resources should be returned. Available options: owners
4530
+ * @example owners
4607
4531
  */
4608
4532
  include?: string[];
4533
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4534
+ "page[cursor]"?: string;
4609
4535
  };
4610
4536
  header?: never;
4611
4537
  path: {
4612
4538
  /**
4613
- * @description Content claim id
4614
- * @example f47ac10b-58cc-4372-a567-0e02b2c3d479
4539
+ * @description Comment Id
4540
+ * @example 550e8400-e29b-41d4-a716-446655440000
4615
4541
  */
4616
4542
  id: string;
4617
4543
  };
@@ -4625,7 +4551,7 @@ export interface paths {
4625
4551
  [name: string]: unknown;
4626
4552
  };
4627
4553
  content: {
4628
- "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Relationship_Data_Document"];
4554
+ "application/vnd.api+json": components["schemas"]["Comments_Multi_Relationship_Data_Document"];
4629
4555
  };
4630
4556
  };
4631
4557
  400: components["responses"]["Default400Response"];
@@ -4646,7 +4572,7 @@ export interface paths {
4646
4572
  patch?: never;
4647
4573
  trace?: never;
4648
4574
  };
4649
- "/contentClaims/{id}/relationships/claimingArtist": {
4575
+ "/comments/{id}/relationships/parentComment": {
4650
4576
  parameters: {
4651
4577
  query?: never;
4652
4578
  header?: never;
@@ -4654,15 +4580,228 @@ export interface paths {
4654
4580
  cookie?: never;
4655
4581
  };
4656
4582
  /**
4657
- * Get claimingArtist relationship ("to-one").
4658
- * @description Retrieves claimingArtist relationship.
4583
+ * Get parentComment relationship ("to-one").
4584
+ * @description Retrieves parentComment relationship.
4659
4585
  */
4660
4586
  get: {
4661
4587
  parameters: {
4662
4588
  query?: {
4663
4589
  /**
4664
- * @description Allows the client to customize which related resources should be returned. Available options: claimingArtist
4665
- * @example claimingArtist
4590
+ * @description Allows the client to customize which related resources should be returned. Available options: parentComment
4591
+ * @example parentComment
4592
+ */
4593
+ include?: string[];
4594
+ };
4595
+ header?: never;
4596
+ path: {
4597
+ /**
4598
+ * @description Comment Id
4599
+ * @example 550e8400-e29b-41d4-a716-446655440000
4600
+ */
4601
+ id: string;
4602
+ };
4603
+ cookie?: never;
4604
+ };
4605
+ requestBody?: never;
4606
+ responses: {
4607
+ /** @description Successful response */
4608
+ 200: {
4609
+ headers: {
4610
+ [name: string]: unknown;
4611
+ };
4612
+ content: {
4613
+ "application/vnd.api+json": components["schemas"]["Comments_Single_Relationship_Data_Document"];
4614
+ };
4615
+ };
4616
+ 400: components["responses"]["Default400Response"];
4617
+ 404: components["responses"]["Default404Response"];
4618
+ 405: components["responses"]["Default405Response"];
4619
+ 406: components["responses"]["Default406Response"];
4620
+ 415: components["responses"]["Default415Response"];
4621
+ 429: components["responses"]["Default429Response"];
4622
+ 500: components["responses"]["Default500Response"];
4623
+ 503: components["responses"]["Default503Response"];
4624
+ };
4625
+ };
4626
+ put?: never;
4627
+ post?: never;
4628
+ delete?: never;
4629
+ options?: never;
4630
+ head?: never;
4631
+ patch?: never;
4632
+ trace?: never;
4633
+ };
4634
+ "/contentClaims": {
4635
+ parameters: {
4636
+ query?: never;
4637
+ header?: never;
4638
+ path?: never;
4639
+ cookie?: never;
4640
+ };
4641
+ /**
4642
+ * Get multiple contentClaims.
4643
+ * @description Retrieves multiple contentClaims by available filters, or without if applicable.
4644
+ */
4645
+ get: {
4646
+ parameters: {
4647
+ query: {
4648
+ /**
4649
+ * @description Allows the client to customize which related resources should be returned. Available options: claimedResource, claimingArtist, owners
4650
+ * @example claimedResource
4651
+ */
4652
+ include?: string[];
4653
+ /** @description User id. Use `me` for the authenticated user */
4654
+ "filter[owners.id]": string[];
4655
+ };
4656
+ header?: never;
4657
+ path?: never;
4658
+ cookie?: never;
4659
+ };
4660
+ requestBody?: never;
4661
+ responses: {
4662
+ /** @description Successful response */
4663
+ 200: {
4664
+ headers: {
4665
+ [name: string]: unknown;
4666
+ };
4667
+ content: {
4668
+ "application/vnd.api+json": components["schemas"]["ContentClaims_Multi_Resource_Data_Document"];
4669
+ };
4670
+ };
4671
+ 400: components["responses"]["Default400Response"];
4672
+ 404: components["responses"]["Default404Response"];
4673
+ 405: components["responses"]["Default405Response"];
4674
+ 406: components["responses"]["Default406Response"];
4675
+ 415: components["responses"]["Default415Response"];
4676
+ 429: components["responses"]["Default429Response"];
4677
+ 500: components["responses"]["Default500Response"];
4678
+ 503: components["responses"]["Default503Response"];
4679
+ };
4680
+ };
4681
+ put?: never;
4682
+ /**
4683
+ * Create single contentClaim.
4684
+ * @description Creates a new contentClaim.
4685
+ */
4686
+ post: {
4687
+ parameters: {
4688
+ query?: never;
4689
+ header?: {
4690
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
4691
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
4692
+ };
4693
+ path?: never;
4694
+ cookie?: never;
4695
+ };
4696
+ requestBody?: {
4697
+ content: {
4698
+ "application/vnd.api+json": components["schemas"]["ContentClaimsCreateOperation_Payload"];
4699
+ };
4700
+ };
4701
+ responses: {
4702
+ /** @description Successful response */
4703
+ 201: {
4704
+ headers: {
4705
+ [name: string]: unknown;
4706
+ };
4707
+ content: {
4708
+ "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Resource_Data_Document"];
4709
+ };
4710
+ };
4711
+ 400: components["responses"]["Default400Response"];
4712
+ 404: components["responses"]["Default404Response"];
4713
+ 405: components["responses"]["Default405Response"];
4714
+ 406: components["responses"]["Default406Response"];
4715
+ 409: components["responses"]["Idempotency409Response"];
4716
+ 415: components["responses"]["Default415Response"];
4717
+ 422: components["responses"]["Idempotency422Response"];
4718
+ 429: components["responses"]["Default429Response"];
4719
+ 500: components["responses"]["Default500Response"];
4720
+ 503: components["responses"]["Default503Response"];
4721
+ };
4722
+ };
4723
+ delete?: never;
4724
+ options?: never;
4725
+ head?: never;
4726
+ patch?: never;
4727
+ trace?: never;
4728
+ };
4729
+ "/contentClaims/{id}": {
4730
+ parameters: {
4731
+ query?: never;
4732
+ header?: never;
4733
+ path?: never;
4734
+ cookie?: never;
4735
+ };
4736
+ /**
4737
+ * Get single contentClaim.
4738
+ * @description Retrieves single contentClaim by id.
4739
+ */
4740
+ get: {
4741
+ parameters: {
4742
+ query?: {
4743
+ /**
4744
+ * @description Allows the client to customize which related resources should be returned. Available options: claimedResource, claimingArtist, owners
4745
+ * @example claimedResource
4746
+ */
4747
+ include?: string[];
4748
+ };
4749
+ header?: never;
4750
+ path: {
4751
+ /**
4752
+ * @description Content claim id
4753
+ * @example f47ac10b-58cc-4372-a567-0e02b2c3d479
4754
+ */
4755
+ id: string;
4756
+ };
4757
+ cookie?: never;
4758
+ };
4759
+ requestBody?: never;
4760
+ responses: {
4761
+ /** @description Successful response */
4762
+ 200: {
4763
+ headers: {
4764
+ [name: string]: unknown;
4765
+ };
4766
+ content: {
4767
+ "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Resource_Data_Document"];
4768
+ };
4769
+ };
4770
+ 400: components["responses"]["Default400Response"];
4771
+ 404: components["responses"]["Default404Response"];
4772
+ 405: components["responses"]["Default405Response"];
4773
+ 406: components["responses"]["Default406Response"];
4774
+ 415: components["responses"]["Default415Response"];
4775
+ 429: components["responses"]["Default429Response"];
4776
+ 500: components["responses"]["Default500Response"];
4777
+ 503: components["responses"]["Default503Response"];
4778
+ };
4779
+ };
4780
+ put?: never;
4781
+ post?: never;
4782
+ delete?: never;
4783
+ options?: never;
4784
+ head?: never;
4785
+ patch?: never;
4786
+ trace?: never;
4787
+ };
4788
+ "/contentClaims/{id}/relationships/claimedResource": {
4789
+ parameters: {
4790
+ query?: never;
4791
+ header?: never;
4792
+ path?: never;
4793
+ cookie?: never;
4794
+ };
4795
+ /**
4796
+ * Get claimedResource relationship ("to-one").
4797
+ * @description Retrieves claimedResource relationship.
4798
+ */
4799
+ get: {
4800
+ parameters: {
4801
+ query?: {
4802
+ /**
4803
+ * @description Allows the client to customize which related resources should be returned. Available options: claimedResource
4804
+ * @example claimedResource
4666
4805
  */
4667
4806
  include?: string[];
4668
4807
  };
@@ -4705,7 +4844,7 @@ export interface paths {
4705
4844
  patch?: never;
4706
4845
  trace?: never;
4707
4846
  };
4708
- "/contentClaims/{id}/relationships/owners": {
4847
+ "/contentClaims/{id}/relationships/claimingArtist": {
4709
4848
  parameters: {
4710
4849
  query?: never;
4711
4850
  header?: never;
@@ -4713,19 +4852,17 @@ export interface paths {
4713
4852
  cookie?: never;
4714
4853
  };
4715
4854
  /**
4716
- * Get owners relationship ("to-many").
4717
- * @description Retrieves owners relationship.
4855
+ * Get claimingArtist relationship ("to-one").
4856
+ * @description Retrieves claimingArtist relationship.
4718
4857
  */
4719
4858
  get: {
4720
4859
  parameters: {
4721
4860
  query?: {
4722
4861
  /**
4723
- * @description Allows the client to customize which related resources should be returned. Available options: owners
4724
- * @example owners
4862
+ * @description Allows the client to customize which related resources should be returned. Available options: claimingArtist
4863
+ * @example claimingArtist
4725
4864
  */
4726
4865
  include?: string[];
4727
- /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4728
- "page[cursor]"?: string;
4729
4866
  };
4730
4867
  header?: never;
4731
4868
  path: {
@@ -4745,7 +4882,7 @@ export interface paths {
4745
4882
  [name: string]: unknown;
4746
4883
  };
4747
4884
  content: {
4748
- "application/vnd.api+json": components["schemas"]["ContentClaims_Multi_Relationship_Data_Document"];
4885
+ "application/vnd.api+json": components["schemas"]["ContentClaims_Single_Relationship_Data_Document"];
4749
4886
  };
4750
4887
  };
4751
4888
  400: components["responses"]["Default400Response"];
@@ -4766,7 +4903,7 @@ export interface paths {
4766
4903
  patch?: never;
4767
4904
  trace?: never;
4768
4905
  };
4769
- "/credits": {
4906
+ "/contentClaims/{id}/relationships/owners": {
4770
4907
  parameters: {
4771
4908
  query?: never;
4772
4909
  header?: never;
@@ -4774,22 +4911,28 @@ export interface paths {
4774
4911
  cookie?: never;
4775
4912
  };
4776
4913
  /**
4777
- * Get multiple credits.
4778
- * @description Retrieves multiple credits by available filters, or without if applicable.
4914
+ * Get owners relationship ("to-many").
4915
+ * @description Retrieves owners relationship.
4779
4916
  */
4780
4917
  get: {
4781
4918
  parameters: {
4782
4919
  query?: {
4783
4920
  /**
4784
- * @description Allows the client to customize which related resources should be returned. Available options: artist, category
4785
- * @example artist
4921
+ * @description Allows the client to customize which related resources should be returned. Available options: owners
4922
+ * @example owners
4786
4923
  */
4787
4924
  include?: string[];
4788
- /** @description List of credit IDs (e.g. `3fG7kLmN2pQrStUv`) */
4789
- "filter[id]"?: string[];
4925
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
4926
+ "page[cursor]"?: string;
4790
4927
  };
4791
4928
  header?: never;
4792
- path?: never;
4929
+ path: {
4930
+ /**
4931
+ * @description Content claim id
4932
+ * @example f47ac10b-58cc-4372-a567-0e02b2c3d479
4933
+ */
4934
+ id: string;
4935
+ };
4793
4936
  cookie?: never;
4794
4937
  };
4795
4938
  requestBody?: never;
@@ -4800,7 +4943,7 @@ export interface paths {
4800
4943
  [name: string]: unknown;
4801
4944
  };
4802
4945
  content: {
4803
- "application/vnd.api+json": components["schemas"]["Credits_Multi_Resource_Data_Document"];
4946
+ "application/vnd.api+json": components["schemas"]["ContentClaims_Multi_Relationship_Data_Document"];
4804
4947
  };
4805
4948
  };
4806
4949
  400: components["responses"]["Default400Response"];
@@ -5011,14 +5154,14 @@ export interface paths {
5011
5154
  */
5012
5155
  get: {
5013
5156
  parameters: {
5014
- query?: {
5157
+ query: {
5015
5158
  /**
5016
5159
  * @description Allows the client to customize which related resources should be returned. Available options: owners
5017
5160
  * @example owners
5018
5161
  */
5019
5162
  include?: string[];
5020
5163
  /** @description Download id (e.g. `VFJBQ0tTOjEyMzQ1`) */
5021
- "filter[id]"?: string[];
5164
+ "filter[id]": string[];
5022
5165
  };
5023
5166
  header?: never;
5024
5167
  path?: never;
@@ -5186,16 +5329,16 @@ export interface paths {
5186
5329
  */
5187
5330
  get: {
5188
5331
  parameters: {
5189
- query?: {
5332
+ query: {
5190
5333
  /**
5191
5334
  * @description Allows the client to customize which related resources should be returned. Available options: subject
5192
5335
  * @example subject
5193
5336
  */
5194
5337
  include?: string[];
5195
5338
  /** @description The id of the subject resource */
5196
- "filter[subject.id]"?: string[];
5339
+ "filter[subject.id]": string[];
5197
5340
  /** @description The type of the subject resource (e.g., albums, tracks, artists) (e.g. `tracks`) */
5198
- "filter[subject.type]"?: ("tracks" | "albums" | "artists")[];
5341
+ "filter[subject.type]": ("tracks" | "albums" | "artists")[];
5199
5342
  };
5200
5343
  header?: never;
5201
5344
  path?: never;
@@ -5289,87 +5432,6 @@ export interface paths {
5289
5432
  patch?: never;
5290
5433
  trace?: never;
5291
5434
  };
5292
- "/dynamicModules": {
5293
- parameters: {
5294
- query?: never;
5295
- header?: never;
5296
- path?: never;
5297
- cookie?: never;
5298
- };
5299
- /**
5300
- * Get multiple dynamicModules.
5301
- * @description Retrieves multiple dynamicModules by available filters, or without if applicable.
5302
- */
5303
- get: {
5304
- parameters: {
5305
- query: {
5306
- refreshId?: string;
5307
- /**
5308
- * @description ISO 3166-1 alpha-2 country code
5309
- * @example US
5310
- */
5311
- countryCode?: string;
5312
- /**
5313
- * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
5314
- * @example en-US
5315
- */
5316
- locale?: string;
5317
- /**
5318
- * @description The type of device making the request
5319
- * @example PHONE
5320
- */
5321
- deviceType: "BROWSER" | "CAR" | "DESKTOP" | "PHONE" | "TABLET" | "TV";
5322
- /**
5323
- * @description The system type of the device making the request
5324
- * @example IOS
5325
- */
5326
- systemType: "ANDROID" | "DESKTOP" | "TESLA" | "IOS" | "WEB";
5327
- /**
5328
- * @description Client version number
5329
- * @example 2026.0.1
5330
- */
5331
- clientVersion: string;
5332
- /**
5333
- * @description Allows the client to customize which related resources should be returned. Available options: items
5334
- * @example items
5335
- */
5336
- include?: string[];
5337
- /** @description DynamicModules Id (e.g. `nejMcAhh5N8S3EQ4LaqysVdI0cZZ`) */
5338
- "filter[id]"?: string[];
5339
- };
5340
- header?: never;
5341
- path?: never;
5342
- cookie?: never;
5343
- };
5344
- requestBody?: never;
5345
- responses: {
5346
- /** @description Successful response */
5347
- 200: {
5348
- headers: {
5349
- [name: string]: unknown;
5350
- };
5351
- content: {
5352
- "application/vnd.api+json": components["schemas"]["DynamicModules_Multi_Resource_Data_Document"];
5353
- };
5354
- };
5355
- 400: components["responses"]["Default400Response"];
5356
- 404: components["responses"]["Default404Response"];
5357
- 405: components["responses"]["Default405Response"];
5358
- 406: components["responses"]["Default406Response"];
5359
- 415: components["responses"]["Default415Response"];
5360
- 429: components["responses"]["Default429Response"];
5361
- 500: components["responses"]["Default500Response"];
5362
- 503: components["responses"]["Default503Response"];
5363
- };
5364
- };
5365
- put?: never;
5366
- post?: never;
5367
- delete?: never;
5368
- options?: never;
5369
- head?: never;
5370
- patch?: never;
5371
- trace?: never;
5372
- };
5373
5435
  "/dynamicModules/{id}/relationships/items": {
5374
5436
  parameters: {
5375
5437
  query?: never;
@@ -5503,9 +5565,9 @@ export interface paths {
5503
5565
  */
5504
5566
  include?: string[];
5505
5567
  /** @description type of the page (e.g. `ARTIST`) */
5506
- "filter[pageType]"?: string[];
5568
+ "filter[pageType]": string[];
5507
5569
  /** @description the subject id, eg. artistId (e.g. `67890`) */
5508
- "filter[subject.id]"?: string[];
5570
+ "filter[subject.id]": string[];
5509
5571
  };
5510
5572
  header?: never;
5511
5573
  path?: never;
@@ -5699,7 +5761,7 @@ export interface paths {
5699
5761
  */
5700
5762
  get: {
5701
5763
  parameters: {
5702
- query?: {
5764
+ query: {
5703
5765
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
5704
5766
  "page[cursor]"?: string;
5705
5767
  /**
@@ -5708,7 +5770,7 @@ export interface paths {
5708
5770
  */
5709
5771
  locale?: string;
5710
5772
  /** @description Allows filtering by genre id(s). USER_SELECTABLE is special value used to return specific genres which users can select from (e.g. `'1,2,3' or 'USER_SELECTABLE'`) */
5711
- "filter[id]"?: string[];
5773
+ "filter[id]": string[];
5712
5774
  };
5713
5775
  header?: never;
5714
5776
  path?: never;
@@ -5825,8 +5887,6 @@ export interface paths {
5825
5887
  include?: string[];
5826
5888
  /** @description Client-provided installation identifier to filter by (e.g. `a468bee88def`) */
5827
5889
  "filter[clientProvidedInstallationId]"?: string[];
5828
- /** @description List of installation IDs (e.g. `a468bee88def`) */
5829
- "filter[id]"?: string[];
5830
5890
  /** @description User ID to filter by. Use `me` for the authenticated user */
5831
5891
  "filter[owners.id]"?: string[];
5832
5892
  };
@@ -5975,7 +6035,7 @@ export interface paths {
5975
6035
  */
5976
6036
  get: {
5977
6037
  parameters: {
5978
- query?: {
6038
+ query: {
5979
6039
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
5980
6040
  "page[cursor]"?: string;
5981
6041
  /**
@@ -5988,7 +6048,7 @@ export interface paths {
5988
6048
  /** @description One of: PENDING, STORED (e.g. `PENDING`) */
5989
6049
  "filter[state]"?: ("PENDING" | "STORED")[];
5990
6050
  /** @description One of: tracks, videos, albums, playlists, userCollectionTracks (e.g. `tracks`) */
5991
- "filter[type]"?: ("tracks" | "videos" | "albums" | "playlists" | "userCollectionTracks")[];
6051
+ "filter[type]": ("tracks" | "videos" | "albums" | "playlists" | "userCollectionTracks")[];
5992
6052
  };
5993
6053
  header?: never;
5994
6054
  path: {
@@ -6171,46 +6231,7 @@ export interface paths {
6171
6231
  path?: never;
6172
6232
  cookie?: never;
6173
6233
  };
6174
- /**
6175
- * Get multiple lyrics.
6176
- * @description Retrieves multiple lyrics by available filters, or without if applicable.
6177
- */
6178
- get: {
6179
- parameters: {
6180
- query?: {
6181
- /**
6182
- * @description Allows the client to customize which related resources should be returned. Available options: owners, track
6183
- * @example owners
6184
- */
6185
- include?: string[];
6186
- /** @description Lyrics Id (e.g. `nejMcAhh5N8S3EQ4LaqysVdI0cZZ`) */
6187
- "filter[id]"?: string[];
6188
- };
6189
- header?: never;
6190
- path?: never;
6191
- cookie?: never;
6192
- };
6193
- requestBody?: never;
6194
- responses: {
6195
- /** @description Successful response */
6196
- 200: {
6197
- headers: {
6198
- [name: string]: unknown;
6199
- };
6200
- content: {
6201
- "application/vnd.api+json": components["schemas"]["Lyrics_Multi_Resource_Data_Document"];
6202
- };
6203
- };
6204
- 400: components["responses"]["Default400Response"];
6205
- 404: components["responses"]["Default404Response"];
6206
- 405: components["responses"]["Default405Response"];
6207
- 406: components["responses"]["Default406Response"];
6208
- 415: components["responses"]["Default415Response"];
6209
- 429: components["responses"]["Default429Response"];
6210
- 500: components["responses"]["Default500Response"];
6211
- 503: components["responses"]["Default503Response"];
6212
- };
6213
- };
6234
+ get?: never;
6214
6235
  put?: never;
6215
6236
  /**
6216
6237
  * Create single lyric.
@@ -6587,7 +6608,7 @@ export interface paths {
6587
6608
  */
6588
6609
  get: {
6589
6610
  parameters: {
6590
- query?: {
6611
+ query: {
6591
6612
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
6592
6613
  "page[cursor]"?: string;
6593
6614
  /**
@@ -6595,10 +6616,8 @@ export interface paths {
6595
6616
  * @example collection
6596
6617
  */
6597
6618
  include?: string[];
6598
- /** @description List of offline task IDs (e.g. `a468bee8-8def-4a1b-8c1e-123456789abc`) */
6599
- "filter[id]"?: string[];
6600
6619
  /** @description List of offline task IDs (e.g. `a468bee88def`) */
6601
- "filter[installation.id]"?: string[];
6620
+ "filter[installation.id]": string[];
6602
6621
  };
6603
6622
  header?: never;
6604
6623
  path?: never;
@@ -6921,7 +6940,7 @@ export interface paths {
6921
6940
  */
6922
6941
  get: {
6923
6942
  parameters: {
6924
- query?: {
6943
+ query: {
6925
6944
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
6926
6945
  "page[cursor]"?: string;
6927
6946
  /**
@@ -6930,7 +6949,7 @@ export interface paths {
6930
6949
  */
6931
6950
  include?: string[];
6932
6951
  /** @description User id. Use `me` for the authenticated user */
6933
- "filter[owners.id]"?: string[];
6952
+ "filter[owners.id]": string[];
6934
6953
  };
6935
6954
  header?: never;
6936
6955
  path?: never;
@@ -7552,7 +7571,7 @@ export interface paths {
7552
7571
  * @example collaboratorProfiles
7553
7572
  */
7554
7573
  include?: string[];
7555
- /** @description Playlist id (e.g. `550e8400-e29b-41d4-a716-446655440000`) */
7574
+ /** @description List of playlist IDs (e.g. `550e8400-e29b-41d4-a716-446655440000`) */
7556
7575
  "filter[id]"?: string[];
7557
7576
  /** @description User id. Use `me` for the authenticated user */
7558
7577
  "filter[owners.id]"?: string[];
@@ -8422,9 +8441,9 @@ export interface paths {
8422
8441
  */
8423
8442
  get: {
8424
8443
  parameters: {
8425
- query?: {
8444
+ query: {
8426
8445
  /** @description List of price configurations IDs (e.g. `cHJpY2UtY29uZmlnLTEyMzpVUw`) */
8427
- "filter[id]"?: string[];
8446
+ "filter[id]": string[];
8428
8447
  };
8429
8448
  header?: never;
8430
8449
  path?: never;
@@ -8565,14 +8584,14 @@ export interface paths {
8565
8584
  */
8566
8585
  get: {
8567
8586
  parameters: {
8568
- query?: {
8587
+ query: {
8569
8588
  /**
8570
8589
  * @description Allows the client to customize which related resources should be returned. Available options: owners, provider
8571
8590
  * @example owners
8572
8591
  */
8573
8592
  include?: string[];
8574
8593
  /** @description User id. Use `me` for the authenticated user */
8575
- "filter[owners.id]"?: string[];
8594
+ "filter[owners.id]": string[];
8576
8595
  };
8577
8596
  header?: never;
8578
8597
  path?: never;
@@ -8734,7 +8753,7 @@ export interface paths {
8734
8753
  */
8735
8754
  get: {
8736
8755
  parameters: {
8737
- query?: {
8756
+ query: {
8738
8757
  /**
8739
8758
  * @description ISO 3166-1 alpha-2 country code
8740
8759
  * @example US
@@ -8746,9 +8765,9 @@ export interface paths {
8746
8765
  */
8747
8766
  include?: string[];
8748
8767
  /** @description List of barcode IDs (EAN-13 or UPC-A) (e.g. `00602527336510`) */
8749
- "filter[barcodeId]"?: string[];
8768
+ "filter[barcodeId]": string[];
8750
8769
  /** @description Content provider ID (e.g. `50`) */
8751
- "filter[provider.id]"?: string[];
8770
+ "filter[provider.id]": string[];
8752
8771
  };
8753
8772
  header?: never;
8754
8773
  path?: never;
@@ -8900,56 +8919,6 @@ export interface paths {
8900
8919
  patch?: never;
8901
8920
  trace?: never;
8902
8921
  };
8903
- "/providers": {
8904
- parameters: {
8905
- query?: never;
8906
- header?: never;
8907
- path?: never;
8908
- cookie?: never;
8909
- };
8910
- /**
8911
- * Get multiple providers.
8912
- * @description Retrieves multiple providers by available filters, or without if applicable.
8913
- */
8914
- get: {
8915
- parameters: {
8916
- query?: {
8917
- /** @description List of provider IDs (e.g. `12345`) */
8918
- "filter[id]"?: string[];
8919
- };
8920
- header?: never;
8921
- path?: never;
8922
- cookie?: never;
8923
- };
8924
- requestBody?: never;
8925
- responses: {
8926
- /** @description Successful response */
8927
- 200: {
8928
- headers: {
8929
- [name: string]: unknown;
8930
- };
8931
- content: {
8932
- "application/vnd.api+json": components["schemas"]["Providers_Multi_Resource_Data_Document"];
8933
- };
8934
- };
8935
- 400: components["responses"]["Default400Response"];
8936
- 404: components["responses"]["Default404Response"];
8937
- 405: components["responses"]["Default405Response"];
8938
- 406: components["responses"]["Default406Response"];
8939
- 415: components["responses"]["Default415Response"];
8940
- 429: components["responses"]["Default429Response"];
8941
- 500: components["responses"]["Default500Response"];
8942
- 503: components["responses"]["Default503Response"];
8943
- };
8944
- };
8945
- put?: never;
8946
- post?: never;
8947
- delete?: never;
8948
- options?: never;
8949
- head?: never;
8950
- patch?: never;
8951
- trace?: never;
8952
- };
8953
8922
  "/providers/{id}": {
8954
8923
  parameters: {
8955
8924
  query?: never;
@@ -9016,7 +8985,7 @@ export interface paths {
9016
8985
  */
9017
8986
  get: {
9018
8987
  parameters: {
9019
- query?: {
8988
+ query: {
9020
8989
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
9021
8990
  "page[cursor]"?: string;
9022
8991
  /**
@@ -9025,9 +8994,9 @@ export interface paths {
9025
8994
  */
9026
8995
  include?: string[];
9027
8996
  /** @description User id. Use `me` for the authenticated user */
9028
- "filter[owners.id]"?: string[];
8997
+ "filter[owners.id]": string[];
9029
8998
  /** @description The type of purchased content (e.g. `albums`) */
9030
- "filter[subject.type]"?: ("albums" | "tracks")[];
8999
+ "filter[subject.type]": ("albums" | "tracks")[];
9031
9000
  };
9032
9001
  header?: never;
9033
9002
  path?: never;
@@ -9195,7 +9164,7 @@ export interface paths {
9195
9164
  */
9196
9165
  get: {
9197
9166
  parameters: {
9198
- query?: {
9167
+ query: {
9199
9168
  stats?: "ALL" | "COUNTS_BY_TYPE" | "TOTAL_COUNT";
9200
9169
  statsOnly?: boolean;
9201
9170
  viewerContext?: string;
@@ -9209,9 +9178,9 @@ export interface paths {
9209
9178
  /** @description Filter by emoji (e.g. `👍`) */
9210
9179
  "filter[emoji]"?: string[];
9211
9180
  /** @description Filter by subject resource ID (e.g. `12345`) */
9212
- "filter[subject.id]"?: string[];
9181
+ "filter[subject.id]": string[];
9213
9182
  /** @description Filter by subject resource type (e.g. `albums`) */
9214
- "filter[subject.type]"?: ("albums" | "tracks" | "artists" | "videos" | "playlists" | "comments")[];
9183
+ "filter[subject.type]": ("albums" | "tracks" | "artists" | "videos" | "playlists" | "comments")[];
9215
9184
  };
9216
9185
  header?: never;
9217
9186
  path?: never;
@@ -9513,7 +9482,7 @@ export interface paths {
9513
9482
  patch?: never;
9514
9483
  trace?: never;
9515
9484
  };
9516
- "/searchHistoryEntries": {
9485
+ "/scopes": {
9517
9486
  parameters: {
9518
9487
  query?: never;
9519
9488
  header?: never;
@@ -9521,19 +9490,14 @@ export interface paths {
9521
9490
  cookie?: never;
9522
9491
  };
9523
9492
  /**
9524
- * Get multiple searchHistoryEntries.
9525
- * @description Retrieves multiple searchHistoryEntries by available filters, or without if applicable.
9493
+ * Get multiple scopes.
9494
+ * @description Retrieves multiple scopes by available filters, or without if applicable.
9526
9495
  */
9527
9496
  get: {
9528
9497
  parameters: {
9529
- query?: {
9530
- /**
9531
- * @description ISO 3166-1 alpha-2 country code
9532
- * @example US
9533
- */
9534
- countryCode?: string;
9535
- /** @description Opaque identifier for a search history entry (e.g. `MjcyNjg5OTAjamF5`) */
9536
- "filter[id]"?: string[];
9498
+ query: {
9499
+ /** @description Filters scopes by their `requiredAccessTier`. (e.g. `THIRD_PARTY`) */
9500
+ "filter[requiredAccessTier]": ("THIRD_PARTY" | "THIRD_PARTY_PROD" | "PARTNER" | "INTERNAL")[];
9537
9501
  };
9538
9502
  header?: never;
9539
9503
  path?: never;
@@ -9547,7 +9511,7 @@ export interface paths {
9547
9511
  [name: string]: unknown;
9548
9512
  };
9549
9513
  content: {
9550
- "application/vnd.api+json": components["schemas"]["SearchHistoryEntries_Multi_Resource_Data_Document"];
9514
+ "application/vnd.api+json": components["schemas"]["Scopes_Multi_Resource_Data_Document"];
9551
9515
  };
9552
9516
  };
9553
9517
  400: components["responses"]["Default400Response"];
@@ -10336,16 +10300,14 @@ export interface paths {
10336
10300
  */
10337
10301
  get: {
10338
10302
  parameters: {
10339
- query?: {
10303
+ query: {
10340
10304
  /**
10341
10305
  * @description Allows the client to customize which related resources should be returned. Available options: owners, sharedResources
10342
10306
  * @example owners
10343
10307
  */
10344
10308
  include?: string[];
10345
10309
  /** @description A share code (e.g. `xyz`) */
10346
- "filter[code]"?: string[];
10347
- /** @description List of shares IDs (e.g. `a468bee88def`) */
10348
- "filter[id]"?: string[];
10310
+ "filter[code]": string[];
10349
10311
  };
10350
10312
  header?: never;
10351
10313
  path?: never;
@@ -10618,6 +10580,7 @@ export interface paths {
10618
10580
  parameters: {
10619
10581
  query?: {
10620
10582
  /**
10583
+ * @deprecated
10621
10584
  * @description ISO 3166-1 alpha-2 country code
10622
10585
  * @example US
10623
10586
  */
@@ -10729,14 +10692,14 @@ export interface paths {
10729
10692
  */
10730
10693
  get: {
10731
10694
  parameters: {
10732
- query?: {
10695
+ query: {
10733
10696
  /**
10734
10697
  * @description Allows the client to customize which related resources should be returned. Available options: owners
10735
10698
  * @example owners
10736
10699
  */
10737
10700
  include?: string[];
10738
10701
  /** @description User id. Use `me` for the authenticated user */
10739
- "filter[owners.id]"?: string[];
10702
+ "filter[owners.id]": string[];
10740
10703
  };
10741
10704
  header?: never;
10742
10705
  path?: never;
@@ -10891,14 +10854,14 @@ export interface paths {
10891
10854
  */
10892
10855
  get: {
10893
10856
  parameters: {
10894
- query?: {
10857
+ query: {
10895
10858
  /**
10896
10859
  * @description Allows the client to customize which related resources should be returned. Available options: owners
10897
10860
  * @example owners
10898
10861
  */
10899
10862
  include?: string[];
10900
10863
  /** @description User id. Use `me` for the authenticated user */
10901
- "filter[owners.id]"?: string[];
10864
+ "filter[owners.id]": string[];
10902
10865
  };
10903
10866
  header?: never;
10904
10867
  path?: never;
@@ -11183,15 +11146,13 @@ export interface paths {
11183
11146
  */
11184
11147
  get: {
11185
11148
  parameters: {
11186
- query?: {
11149
+ query: {
11187
11150
  /** @description Filter by countryCode */
11188
11151
  "filter[countryCode]"?: string[];
11189
- /** @description Terms id (e.g. `a468bee88def`) */
11190
- "filter[id]"?: string[];
11191
11152
  /** @description Filter by isLatestVersion */
11192
11153
  "filter[isLatestVersion]"?: string[];
11193
11154
  /** @description One of: DEVELOPER, UPLOAD_MARKETPLACE (e.g. `DEVELOPER`) */
11194
- "filter[termsType]"?: ("DEVELOPER" | "UPLOAD_MARKETPLACE")[];
11155
+ "filter[termsType]": ("DEVELOPER" | "UPLOAD_MARKETPLACE")[];
11195
11156
  };
11196
11157
  header?: never;
11197
11158
  path?: never;
@@ -11405,46 +11366,7 @@ export interface paths {
11405
11366
  path?: never;
11406
11367
  cookie?: never;
11407
11368
  };
11408
- /**
11409
- * Get multiple trackSourceFiles.
11410
- * @description Retrieves multiple trackSourceFiles by available filters, or without if applicable.
11411
- */
11412
- get: {
11413
- parameters: {
11414
- query?: {
11415
- /**
11416
- * @description Allows the client to customize which related resources should be returned. Available options: owners
11417
- * @example owners
11418
- */
11419
- include?: string[];
11420
- /** @description Track source file id (e.g. `a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11`) */
11421
- "filter[id]"?: string[];
11422
- };
11423
- header?: never;
11424
- path?: never;
11425
- cookie?: never;
11426
- };
11427
- requestBody?: never;
11428
- responses: {
11429
- /** @description Successful response */
11430
- 200: {
11431
- headers: {
11432
- [name: string]: unknown;
11433
- };
11434
- content: {
11435
- "application/vnd.api+json": components["schemas"]["TrackSourceFiles_Multi_Resource_Data_Document"];
11436
- };
11437
- };
11438
- 400: components["responses"]["Default400Response"];
11439
- 404: components["responses"]["Default404Response"];
11440
- 405: components["responses"]["Default405Response"];
11441
- 406: components["responses"]["Default406Response"];
11442
- 415: components["responses"]["Default415Response"];
11443
- 429: components["responses"]["Default429Response"];
11444
- 500: components["responses"]["Default500Response"];
11445
- 503: components["responses"]["Default503Response"];
11446
- };
11447
- };
11369
+ get?: never;
11448
11370
  put?: never;
11449
11371
  /**
11450
11372
  * Create single trackSourceFile.
@@ -11615,7 +11537,7 @@ export interface paths {
11615
11537
  patch?: never;
11616
11538
  trace?: never;
11617
11539
  };
11618
- "/trackStatistics": {
11540
+ "/trackStatistics/{id}": {
11619
11541
  parameters: {
11620
11542
  query?: never;
11621
11543
  header?: never;
@@ -11623,8 +11545,8 @@ export interface paths {
11623
11545
  cookie?: never;
11624
11546
  };
11625
11547
  /**
11626
- * Get multiple trackStatistics.
11627
- * @description Retrieves multiple trackStatistics by available filters, or without if applicable.
11548
+ * Get single trackStatistic.
11549
+ * @description Retrieves single trackStatistic by id.
11628
11550
  */
11629
11551
  get: {
11630
11552
  parameters: {
@@ -11634,11 +11556,15 @@ export interface paths {
11634
11556
  * @example owners
11635
11557
  */
11636
11558
  include?: string[];
11637
- /** @description List of track IDs (e.g. `75413016`) */
11638
- "filter[id]"?: string[];
11639
11559
  };
11640
11560
  header?: never;
11641
- path?: never;
11561
+ path: {
11562
+ /**
11563
+ * @description Track statistic id
11564
+ * @example 123456
11565
+ */
11566
+ id: string;
11567
+ };
11642
11568
  cookie?: never;
11643
11569
  };
11644
11570
  requestBody?: never;
@@ -11649,66 +11575,7 @@ export interface paths {
11649
11575
  [name: string]: unknown;
11650
11576
  };
11651
11577
  content: {
11652
- "application/vnd.api+json": components["schemas"]["TrackStatistics_Multi_Resource_Data_Document"];
11653
- };
11654
- };
11655
- 400: components["responses"]["Default400Response"];
11656
- 404: components["responses"]["Default404Response"];
11657
- 405: components["responses"]["Default405Response"];
11658
- 406: components["responses"]["Default406Response"];
11659
- 415: components["responses"]["Default415Response"];
11660
- 429: components["responses"]["Default429Response"];
11661
- 500: components["responses"]["Default500Response"];
11662
- 503: components["responses"]["Default503Response"];
11663
- };
11664
- };
11665
- put?: never;
11666
- post?: never;
11667
- delete?: never;
11668
- options?: never;
11669
- head?: never;
11670
- patch?: never;
11671
- trace?: never;
11672
- };
11673
- "/trackStatistics/{id}": {
11674
- parameters: {
11675
- query?: never;
11676
- header?: never;
11677
- path?: never;
11678
- cookie?: never;
11679
- };
11680
- /**
11681
- * Get single trackStatistic.
11682
- * @description Retrieves single trackStatistic by id.
11683
- */
11684
- get: {
11685
- parameters: {
11686
- query?: {
11687
- /**
11688
- * @description Allows the client to customize which related resources should be returned. Available options: owners
11689
- * @example owners
11690
- */
11691
- include?: string[];
11692
- };
11693
- header?: never;
11694
- path: {
11695
- /**
11696
- * @description Track statistic id
11697
- * @example 123456
11698
- */
11699
- id: string;
11700
- };
11701
- cookie?: never;
11702
- };
11703
- requestBody?: never;
11704
- responses: {
11705
- /** @description Successful response */
11706
- 200: {
11707
- headers: {
11708
- [name: string]: unknown;
11709
- };
11710
- content: {
11711
- "application/vnd.api+json": components["schemas"]["TrackStatistics_Single_Resource_Data_Document"];
11578
+ "application/vnd.api+json": components["schemas"]["TrackStatistics_Single_Resource_Data_Document"];
11712
11579
  };
11713
11580
  };
11714
11581
  400: components["responses"]["Default400Response"];
@@ -13238,56 +13105,6 @@ export interface paths {
13238
13105
  patch?: never;
13239
13106
  trace?: never;
13240
13107
  };
13241
- "/tracksMetadataStatus": {
13242
- parameters: {
13243
- query?: never;
13244
- header?: never;
13245
- path?: never;
13246
- cookie?: never;
13247
- };
13248
- /**
13249
- * Get multiple tracksMetadataStatus.
13250
- * @description Retrieves multiple tracksMetadataStatus by available filters, or without if applicable.
13251
- */
13252
- get: {
13253
- parameters: {
13254
- query?: {
13255
- /** @description List of track IDs (e.g. `75413016`) */
13256
- "filter[id]"?: string[];
13257
- };
13258
- header?: never;
13259
- path?: never;
13260
- cookie?: never;
13261
- };
13262
- requestBody?: never;
13263
- responses: {
13264
- /** @description Successful response */
13265
- 200: {
13266
- headers: {
13267
- [name: string]: unknown;
13268
- };
13269
- content: {
13270
- "application/vnd.api+json": components["schemas"]["TracksMetadataStatus_Multi_Resource_Data_Document"];
13271
- };
13272
- };
13273
- 400: components["responses"]["Default400Response"];
13274
- 404: components["responses"]["Default404Response"];
13275
- 405: components["responses"]["Default405Response"];
13276
- 406: components["responses"]["Default406Response"];
13277
- 415: components["responses"]["Default415Response"];
13278
- 429: components["responses"]["Default429Response"];
13279
- 500: components["responses"]["Default500Response"];
13280
- 503: components["responses"]["Default503Response"];
13281
- };
13282
- };
13283
- put?: never;
13284
- post?: never;
13285
- delete?: never;
13286
- options?: never;
13287
- head?: never;
13288
- patch?: never;
13289
- trace?: never;
13290
- };
13291
13108
  "/tracksMetadataStatus/{id}": {
13292
13109
  parameters: {
13293
13110
  query?: never;
@@ -13348,41 +13165,7 @@ export interface paths {
13348
13165
  path?: never;
13349
13166
  cookie?: never;
13350
13167
  };
13351
- /**
13352
- * Get multiple usageRules.
13353
- * @description Retrieves multiple usageRules by available filters, or without if applicable.
13354
- */
13355
- get: {
13356
- parameters: {
13357
- query?: {
13358
- /** @description List of usage rules IDs (e.g. `VFJBQ0tTOjEyMzpOTw`) */
13359
- "filter[id]"?: string[];
13360
- };
13361
- header?: never;
13362
- path?: never;
13363
- cookie?: never;
13364
- };
13365
- requestBody?: never;
13366
- responses: {
13367
- /** @description Successful response */
13368
- 200: {
13369
- headers: {
13370
- [name: string]: unknown;
13371
- };
13372
- content: {
13373
- "application/vnd.api+json": components["schemas"]["UsageRules_Multi_Resource_Data_Document"];
13374
- };
13375
- };
13376
- 400: components["responses"]["Default400Response"];
13377
- 404: components["responses"]["Default404Response"];
13378
- 405: components["responses"]["Default405Response"];
13379
- 406: components["responses"]["Default406Response"];
13380
- 415: components["responses"]["Default415Response"];
13381
- 429: components["responses"]["Default429Response"];
13382
- 500: components["responses"]["Default500Response"];
13383
- 503: components["responses"]["Default503Response"];
13384
- };
13385
- };
13168
+ get?: never;
13386
13169
  put?: never;
13387
13170
  /**
13388
13171
  * Create single usageRule.
@@ -13498,11 +13281,6 @@ export interface paths {
13498
13281
  get: {
13499
13282
  parameters: {
13500
13283
  query?: {
13501
- /**
13502
- * @description ISO 3166-1 alpha-2 country code
13503
- * @example US
13504
- */
13505
- countryCode?: string;
13506
13284
  /**
13507
13285
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
13508
13286
  * @example en-US
@@ -13571,11 +13349,6 @@ export interface paths {
13571
13349
  "page[cursor]"?: string;
13572
13350
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
13573
13351
  sort?: ("addedAt" | "-addedAt" | "artists.name" | "-artists.name" | "releaseDate" | "-releaseDate" | "title" | "-title")[];
13574
- /**
13575
- * @description ISO 3166-1 alpha-2 country code
13576
- * @example US
13577
- */
13578
- countryCode?: string;
13579
13352
  /**
13580
13353
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
13581
13354
  * @example en-US
@@ -13625,13 +13398,7 @@ export interface paths {
13625
13398
  */
13626
13399
  post: {
13627
13400
  parameters: {
13628
- query?: {
13629
- /**
13630
- * @description ISO 3166-1 alpha-2 country code
13631
- * @example US
13632
- */
13633
- countryCode?: string;
13634
- };
13401
+ query?: never;
13635
13402
  header?: {
13636
13403
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
13637
13404
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -13657,7 +13424,7 @@ export interface paths {
13657
13424
  [name: string]: unknown;
13658
13425
  };
13659
13426
  content: {
13660
- "application/vnd.api+json": components["schemas"]["UserCollectionAlbums_Items_Multi_Relationship_Data_Document"];
13427
+ "application/vnd.api+json": components["schemas"]["UserCollectionAlbums_Items_Add_Multi_Relationship_Data_Document"];
13661
13428
  };
13662
13429
  };
13663
13430
  400: components["responses"]["Default400Response"];
@@ -13790,11 +13557,6 @@ export interface paths {
13790
13557
  get: {
13791
13558
  parameters: {
13792
13559
  query?: {
13793
- /**
13794
- * @description ISO 3166-1 alpha-2 country code
13795
- * @example US
13796
- */
13797
- countryCode?: string;
13798
13560
  /**
13799
13561
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
13800
13562
  * @example en-US
@@ -13863,11 +13625,6 @@ export interface paths {
13863
13625
  "page[cursor]"?: string;
13864
13626
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
13865
13627
  sort?: ("addedAt" | "-addedAt" | "name" | "-name")[];
13866
- /**
13867
- * @description ISO 3166-1 alpha-2 country code
13868
- * @example US
13869
- */
13870
- countryCode?: string;
13871
13628
  /**
13872
13629
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
13873
13630
  * @example en-US
@@ -13917,13 +13674,7 @@ export interface paths {
13917
13674
  */
13918
13675
  post: {
13919
13676
  parameters: {
13920
- query?: {
13921
- /**
13922
- * @description ISO 3166-1 alpha-2 country code
13923
- * @example US
13924
- */
13925
- countryCode?: string;
13926
- };
13677
+ query?: never;
13927
13678
  header?: {
13928
13679
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
13929
13680
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -13949,7 +13700,7 @@ export interface paths {
13949
13700
  [name: string]: unknown;
13950
13701
  };
13951
13702
  content: {
13952
- "application/vnd.api+json": components["schemas"]["UserCollectionArtists_Items_Multi_Relationship_Data_Document"];
13703
+ "application/vnd.api+json": components["schemas"]["UserCollectionArtists_Items_Add_Multi_Relationship_Data_Document"];
13953
13704
  };
13954
13705
  };
13955
13706
  400: components["responses"]["Default400Response"];
@@ -14081,14 +13832,14 @@ export interface paths {
14081
13832
  */
14082
13833
  get: {
14083
13834
  parameters: {
14084
- query?: {
13835
+ query: {
14085
13836
  /**
14086
- * @description Allows the client to customize which related resources should be returned. Available options: items, owners
13837
+ * @description Allows the client to customize which related resources should be returned. Available options: items, owners, userCollection
14087
13838
  * @example items
14088
13839
  */
14089
13840
  include?: string[];
14090
13841
  /** @description Folder Id (e.g. `CBMHXUOuJZgroV2kWpeVLL1I7xdgvF6ocDEGCXov8SZq3WVhrOcOq5pjnGawKX`) */
14091
- "filter[id]"?: string[];
13842
+ "filter[id]": string[];
14092
13843
  };
14093
13844
  header?: never;
14094
13845
  path?: never;
@@ -14178,7 +13929,7 @@ export interface paths {
14178
13929
  parameters: {
14179
13930
  query?: {
14180
13931
  /**
14181
- * @description Allows the client to customize which related resources should be returned. Available options: items, owners
13932
+ * @description Allows the client to customize which related resources should be returned. Available options: items, owners, userCollection
14182
13933
  * @example items
14183
13934
  */
14184
13935
  include?: string[];
@@ -14490,6 +14241,65 @@ export interface paths {
14490
14241
  patch?: never;
14491
14242
  trace?: never;
14492
14243
  };
14244
+ "/userCollectionFolders/{id}/relationships/userCollection": {
14245
+ parameters: {
14246
+ query?: never;
14247
+ header?: never;
14248
+ path?: never;
14249
+ cookie?: never;
14250
+ };
14251
+ /**
14252
+ * Get userCollection relationship ("to-one").
14253
+ * @description Retrieves userCollection relationship.
14254
+ */
14255
+ get: {
14256
+ parameters: {
14257
+ query?: {
14258
+ /**
14259
+ * @description Allows the client to customize which related resources should be returned. Available options: userCollection
14260
+ * @example userCollection
14261
+ */
14262
+ include?: string[];
14263
+ };
14264
+ header?: never;
14265
+ path: {
14266
+ /**
14267
+ * @description Folder Id
14268
+ * @example CBMHXUOuJZgroV2kWpeVLL1I7xdgvF6ocDEGCXov8SZq3WVhrOcOq5pjnGawKX
14269
+ */
14270
+ id: string;
14271
+ };
14272
+ cookie?: never;
14273
+ };
14274
+ requestBody?: never;
14275
+ responses: {
14276
+ /** @description Successful response */
14277
+ 200: {
14278
+ headers: {
14279
+ [name: string]: unknown;
14280
+ };
14281
+ content: {
14282
+ "application/vnd.api+json": components["schemas"]["UserCollectionFolders_Single_Relationship_Data_Document"];
14283
+ };
14284
+ };
14285
+ 400: components["responses"]["Default400Response"];
14286
+ 404: components["responses"]["Default404Response"];
14287
+ 405: components["responses"]["Default405Response"];
14288
+ 406: components["responses"]["Default406Response"];
14289
+ 415: components["responses"]["Default415Response"];
14290
+ 429: components["responses"]["Default429Response"];
14291
+ 500: components["responses"]["Default500Response"];
14292
+ 503: components["responses"]["Default503Response"];
14293
+ };
14294
+ };
14295
+ put?: never;
14296
+ post?: never;
14297
+ delete?: never;
14298
+ options?: never;
14299
+ head?: never;
14300
+ patch?: never;
14301
+ trace?: never;
14302
+ };
14493
14303
  "/userCollectionPlaylists/{id}": {
14494
14304
  parameters: {
14495
14305
  query?: never;
@@ -14504,11 +14314,6 @@ export interface paths {
14504
14314
  get: {
14505
14315
  parameters: {
14506
14316
  query?: {
14507
- /**
14508
- * @description ISO 3166-1 alpha-2 country code
14509
- * @example US
14510
- */
14511
- countryCode?: string;
14512
14317
  /**
14513
14318
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
14514
14319
  * @example en-US
@@ -14573,7 +14378,7 @@ export interface paths {
14573
14378
  get: {
14574
14379
  parameters: {
14575
14380
  query?: {
14576
- collectionView?: "FOLDERS";
14381
+ collectionView?: "FLAT" | "FOLDERS";
14577
14382
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
14578
14383
  "page[cursor]"?: string;
14579
14384
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
@@ -14648,7 +14453,7 @@ export interface paths {
14648
14453
  [name: string]: unknown;
14649
14454
  };
14650
14455
  content: {
14651
- "application/vnd.api+json": components["schemas"]["UserCollectionPlaylists_Items_Multi_Relationship_Data_Document"];
14456
+ "application/vnd.api+json": components["schemas"]["UserCollectionPlaylists_Items_Add_Multi_Relationship_Data_Document"];
14652
14457
  };
14653
14458
  };
14654
14459
  400: components["responses"]["Default400Response"];
@@ -14912,7 +14717,7 @@ export interface paths {
14912
14717
  [name: string]: unknown;
14913
14718
  };
14914
14719
  content: {
14915
- "application/vnd.api+json": components["schemas"]["UserCollectionSaveForLaters_Items_Multi_Relationship_Data_Document"];
14720
+ "application/vnd.api+json": components["schemas"]["UserCollectionSaveForLaters_Items_Add_Multi_Relationship_Data_Document"];
14916
14721
  };
14917
14722
  };
14918
14723
  400: components["responses"]["Default400Response"];
@@ -15031,7 +14836,7 @@ export interface paths {
15031
14836
  patch?: never;
15032
14837
  trace?: never;
15033
14838
  };
15034
- "/userCollectionTracks": {
14839
+ "/userCollectionTracks/{id}": {
15035
14840
  parameters: {
15036
14841
  query?: never;
15037
14842
  header?: never;
@@ -15039,77 +14844,17 @@ export interface paths {
15039
14844
  cookie?: never;
15040
14845
  };
15041
14846
  /**
15042
- * Get multiple userCollectionTracks.
15043
- * @description Retrieves multiple userCollectionTracks by available filters, or without if applicable.
14847
+ * Get single userCollectionTrack.
14848
+ * @description Retrieves single userCollectionTrack by id.
15044
14849
  */
15045
14850
  get: {
15046
14851
  parameters: {
15047
14852
  query?: {
15048
- /**
15049
- * @description Allows the client to customize which related resources should be returned. Available options: items, owners
15050
- * @example items
15051
- */
15052
- include?: string[];
15053
- /** @description User collection tracks id (e.g. `FMJUCzH4`) */
15054
- "filter[id]"?: string[];
15055
- };
15056
- header?: never;
15057
- path?: never;
15058
- cookie?: never;
15059
- };
15060
- requestBody?: never;
15061
- responses: {
15062
- /** @description Successful response */
15063
- 200: {
15064
- headers: {
15065
- [name: string]: unknown;
15066
- };
15067
- content: {
15068
- "application/vnd.api+json": components["schemas"]["UserCollectionTracks_Multi_Resource_Data_Document"];
15069
- };
15070
- };
15071
- 400: components["responses"]["Default400Response"];
15072
- 404: components["responses"]["Default404Response"];
15073
- 405: components["responses"]["Default405Response"];
15074
- 406: components["responses"]["Default406Response"];
15075
- 415: components["responses"]["Default415Response"];
15076
- 429: components["responses"]["Default429Response"];
15077
- 500: components["responses"]["Default500Response"];
15078
- 503: components["responses"]["Default503Response"];
15079
- };
15080
- };
15081
- put?: never;
15082
- post?: never;
15083
- delete?: never;
15084
- options?: never;
15085
- head?: never;
15086
- patch?: never;
15087
- trace?: never;
15088
- };
15089
- "/userCollectionTracks/{id}": {
15090
- parameters: {
15091
- query?: never;
15092
- header?: never;
15093
- path?: never;
15094
- cookie?: never;
15095
- };
15096
- /**
15097
- * Get single userCollectionTrack.
15098
- * @description Retrieves single userCollectionTrack by id.
15099
- */
15100
- get: {
15101
- parameters: {
15102
- query?: {
15103
- /**
15104
- * @description ISO 3166-1 alpha-2 country code
15105
- * @example US
15106
- */
15107
- countryCode?: string;
15108
- /**
15109
- * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15110
- * @example en-US
15111
- */
15112
- locale?: string;
14853
+ /**
14854
+ * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
14855
+ * @example en-US
14856
+ */
14857
+ locale?: string;
15113
14858
  /**
15114
14859
  * @description Allows the client to customize which related resources should be returned. Available options: items, owners
15115
14860
  * @example items
@@ -15173,11 +14918,6 @@ export interface paths {
15173
14918
  "page[cursor]"?: string;
15174
14919
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
15175
14920
  sort?: ("addedAt" | "-addedAt" | "albums.title" | "-albums.title" | "artists.name" | "-artists.name" | "duration" | "-duration" | "title" | "-title")[];
15176
- /**
15177
- * @description ISO 3166-1 alpha-2 country code
15178
- * @example US
15179
- */
15180
- countryCode?: string;
15181
14921
  /**
15182
14922
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15183
14923
  * @example en-US
@@ -15227,13 +14967,7 @@ export interface paths {
15227
14967
  */
15228
14968
  post: {
15229
14969
  parameters: {
15230
- query?: {
15231
- /**
15232
- * @description ISO 3166-1 alpha-2 country code
15233
- * @example US
15234
- */
15235
- countryCode?: string;
15236
- };
14970
+ query?: never;
15237
14971
  header?: {
15238
14972
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
15239
14973
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -15259,7 +14993,7 @@ export interface paths {
15259
14993
  [name: string]: unknown;
15260
14994
  };
15261
14995
  content: {
15262
- "application/vnd.api+json": components["schemas"]["UserCollectionTracks_Items_Multi_Relationship_Data_Document"];
14996
+ "application/vnd.api+json": components["schemas"]["UserCollectionTracks_Items_Add_Multi_Relationship_Data_Document"];
15263
14997
  };
15264
14998
  };
15265
14999
  400: components["responses"]["Default400Response"];
@@ -15392,11 +15126,6 @@ export interface paths {
15392
15126
  get: {
15393
15127
  parameters: {
15394
15128
  query?: {
15395
- /**
15396
- * @description ISO 3166-1 alpha-2 country code
15397
- * @example US
15398
- */
15399
- countryCode?: string;
15400
15129
  /**
15401
15130
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15402
15131
  * @example en-US
@@ -15465,11 +15194,6 @@ export interface paths {
15465
15194
  "page[cursor]"?: string;
15466
15195
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
15467
15196
  sort?: ("addedAt" | "-addedAt" | "artists.name" | "-artists.name" | "duration" | "-duration" | "title" | "-title")[];
15468
- /**
15469
- * @description ISO 3166-1 alpha-2 country code
15470
- * @example US
15471
- */
15472
- countryCode?: string;
15473
15197
  /**
15474
15198
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15475
15199
  * @example en-US
@@ -15519,13 +15243,7 @@ export interface paths {
15519
15243
  */
15520
15244
  post: {
15521
15245
  parameters: {
15522
- query?: {
15523
- /**
15524
- * @description ISO 3166-1 alpha-2 country code
15525
- * @example US
15526
- */
15527
- countryCode?: string;
15528
- };
15246
+ query?: never;
15529
15247
  header?: {
15530
15248
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
15531
15249
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -15551,7 +15269,7 @@ export interface paths {
15551
15269
  [name: string]: unknown;
15552
15270
  };
15553
15271
  content: {
15554
- "application/vnd.api+json": components["schemas"]["UserCollectionVideos_Items_Multi_Relationship_Data_Document"];
15272
+ "application/vnd.api+json": components["schemas"]["UserCollectionVideos_Items_Add_Multi_Relationship_Data_Document"];
15555
15273
  };
15556
15274
  };
15557
15275
  400: components["responses"]["Default400Response"];
@@ -15685,11 +15403,6 @@ export interface paths {
15685
15403
  get: {
15686
15404
  parameters: {
15687
15405
  query?: {
15688
- /**
15689
- * @description ISO 3166-1 alpha-2 country code
15690
- * @example US
15691
- */
15692
- countryCode?: string;
15693
15406
  /**
15694
15407
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15695
15408
  * @example en-US
@@ -15759,11 +15472,6 @@ export interface paths {
15759
15472
  "page[cursor]"?: string;
15760
15473
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
15761
15474
  sort?: ("albums.addedAt" | "-albums.addedAt" | "albums.artists.name" | "-albums.artists.name" | "albums.releaseDate" | "-albums.releaseDate" | "albums.title" | "-albums.title")[];
15762
- /**
15763
- * @description ISO 3166-1 alpha-2 country code
15764
- * @example US
15765
- */
15766
- countryCode?: string;
15767
15475
  /**
15768
15476
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15769
15477
  * @example en-US
@@ -15814,13 +15522,7 @@ export interface paths {
15814
15522
  */
15815
15523
  post: {
15816
15524
  parameters: {
15817
- query?: {
15818
- /**
15819
- * @description ISO 3166-1 alpha-2 country code
15820
- * @example US
15821
- */
15822
- countryCode?: string;
15823
- };
15525
+ query?: never;
15824
15526
  header?: {
15825
15527
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
15826
15528
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -15915,11 +15617,6 @@ export interface paths {
15915
15617
  "page[cursor]"?: string;
15916
15618
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
15917
15619
  sort?: ("artists.addedAt" | "-artists.addedAt" | "artists.name" | "-artists.name")[];
15918
- /**
15919
- * @description ISO 3166-1 alpha-2 country code
15920
- * @example US
15921
- */
15922
- countryCode?: string;
15923
15620
  /**
15924
15621
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
15925
15622
  * @example en-US
@@ -15970,13 +15667,7 @@ export interface paths {
15970
15667
  */
15971
15668
  post: {
15972
15669
  parameters: {
15973
- query?: {
15974
- /**
15975
- * @description ISO 3166-1 alpha-2 country code
15976
- * @example US
15977
- */
15978
- countryCode?: string;
15979
- };
15670
+ query?: never;
15980
15671
  header?: {
15981
15672
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
15982
15673
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -16273,11 +15964,6 @@ export interface paths {
16273
15964
  "page[cursor]"?: string;
16274
15965
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
16275
15966
  sort?: ("tracks.addedAt" | "-tracks.addedAt" | "tracks.albums.title" | "-tracks.albums.title" | "tracks.artists.name" | "-tracks.artists.name" | "tracks.duration" | "-tracks.duration" | "tracks.title" | "-tracks.title")[];
16276
- /**
16277
- * @description ISO 3166-1 alpha-2 country code
16278
- * @example US
16279
- */
16280
- countryCode?: string;
16281
15967
  /**
16282
15968
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16283
15969
  * @example en-US
@@ -16328,13 +16014,7 @@ export interface paths {
16328
16014
  */
16329
16015
  post: {
16330
16016
  parameters: {
16331
- query?: {
16332
- /**
16333
- * @description ISO 3166-1 alpha-2 country code
16334
- * @example US
16335
- */
16336
- countryCode?: string;
16337
- };
16017
+ query?: never;
16338
16018
  header?: {
16339
16019
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
16340
16020
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -16429,11 +16109,6 @@ export interface paths {
16429
16109
  "page[cursor]"?: string;
16430
16110
  /** @description Values prefixed with "-" are sorted descending; values without it are sorted ascending. */
16431
16111
  sort?: ("videos.addedAt" | "-videos.addedAt" | "videos.artists.name" | "-videos.artists.name" | "videos.duration" | "-videos.duration" | "videos.title" | "-videos.title")[];
16432
- /**
16433
- * @description ISO 3166-1 alpha-2 country code
16434
- * @example US
16435
- */
16436
- countryCode?: string;
16437
16112
  /**
16438
16113
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16439
16114
  * @example en-US
@@ -16484,13 +16159,7 @@ export interface paths {
16484
16159
  */
16485
16160
  post: {
16486
16161
  parameters: {
16487
- query?: {
16488
- /**
16489
- * @description ISO 3166-1 alpha-2 country code
16490
- * @example US
16491
- */
16492
- countryCode?: string;
16493
- };
16162
+ query?: never;
16494
16163
  header?: {
16495
16164
  /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
16496
16165
  "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
@@ -16580,11 +16249,6 @@ export interface paths {
16580
16249
  get: {
16581
16250
  parameters: {
16582
16251
  query?: {
16583
- /**
16584
- * @description ISO 3166-1 alpha-2 country code
16585
- * @example US
16586
- */
16587
- countryCode?: string;
16588
16252
  /**
16589
16253
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16590
16254
  * @example en-US
@@ -16771,11 +16435,6 @@ export interface paths {
16771
16435
  get: {
16772
16436
  parameters: {
16773
16437
  query?: {
16774
- /**
16775
- * @description ISO 3166-1 alpha-2 country code
16776
- * @example US
16777
- */
16778
- countryCode?: string;
16779
16438
  /**
16780
16439
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16781
16440
  * @example en-US
@@ -16842,11 +16501,6 @@ export interface paths {
16842
16501
  query?: {
16843
16502
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
16844
16503
  "page[cursor]"?: string;
16845
- /**
16846
- * @description ISO 3166-1 alpha-2 country code
16847
- * @example US
16848
- */
16849
- countryCode?: string;
16850
16504
  /**
16851
16505
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16852
16506
  * @example en-US
@@ -16911,11 +16565,6 @@ export interface paths {
16911
16565
  get: {
16912
16566
  parameters: {
16913
16567
  query?: {
16914
- /**
16915
- * @description ISO 3166-1 alpha-2 country code
16916
- * @example US
16917
- */
16918
- countryCode?: string;
16919
16568
  /**
16920
16569
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16921
16570
  * @example en-US
@@ -16982,11 +16631,6 @@ export interface paths {
16982
16631
  query?: {
16983
16632
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
16984
16633
  "page[cursor]"?: string;
16985
- /**
16986
- * @description ISO 3166-1 alpha-2 country code
16987
- * @example US
16988
- */
16989
- countryCode?: string;
16990
16634
  /**
16991
16635
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16992
16636
  * @example en-US
@@ -17029,15 +16673,558 @@ export interface paths {
17029
16673
  503: components["responses"]["Default503Response"];
17030
16674
  };
17031
16675
  };
17032
- put?: never;
17033
- post?: never;
17034
- delete?: never;
16676
+ put?: never;
16677
+ post?: never;
16678
+ delete?: never;
16679
+ options?: never;
16680
+ head?: never;
16681
+ patch?: never;
16682
+ trace?: never;
16683
+ };
16684
+ "/userOfflineMixes/{id}": {
16685
+ parameters: {
16686
+ query?: never;
16687
+ header?: never;
16688
+ path?: never;
16689
+ cookie?: never;
16690
+ };
16691
+ /**
16692
+ * Get single userOfflineMixe.
16693
+ * @description Retrieves single userOfflineMixe by id.
16694
+ */
16695
+ get: {
16696
+ parameters: {
16697
+ query?: {
16698
+ /**
16699
+ * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16700
+ * @example en-US
16701
+ */
16702
+ locale?: string;
16703
+ /**
16704
+ * @description Allows the client to customize which related resources should be returned. Available options: items
16705
+ * @example items
16706
+ */
16707
+ include?: string[];
16708
+ };
16709
+ header?: never;
16710
+ path: {
16711
+ /**
16712
+ * @description User offline mixes id. Use `me` for the authenticated user's resource
16713
+ * @example me
16714
+ */
16715
+ id: string;
16716
+ };
16717
+ cookie?: never;
16718
+ };
16719
+ requestBody?: never;
16720
+ responses: {
16721
+ /** @description Successful response */
16722
+ 200: {
16723
+ headers: {
16724
+ [name: string]: unknown;
16725
+ };
16726
+ content: {
16727
+ "application/vnd.api+json": components["schemas"]["UserOfflineMixes_Single_Resource_Data_Document"];
16728
+ };
16729
+ };
16730
+ 400: components["responses"]["Default400Response"];
16731
+ 404: components["responses"]["Default404Response"];
16732
+ 405: components["responses"]["Default405Response"];
16733
+ 406: components["responses"]["Default406Response"];
16734
+ 415: components["responses"]["Default415Response"];
16735
+ 429: components["responses"]["Default429Response"];
16736
+ 500: components["responses"]["Default500Response"];
16737
+ 503: components["responses"]["Default503Response"];
16738
+ };
16739
+ };
16740
+ put?: never;
16741
+ post?: never;
16742
+ delete?: never;
16743
+ options?: never;
16744
+ head?: never;
16745
+ patch?: never;
16746
+ trace?: never;
16747
+ };
16748
+ "/userOfflineMixes/{id}/relationships/items": {
16749
+ parameters: {
16750
+ query?: never;
16751
+ header?: never;
16752
+ path?: never;
16753
+ cookie?: never;
16754
+ };
16755
+ /**
16756
+ * Get items relationship ("to-many").
16757
+ * @description Retrieves items relationship.
16758
+ */
16759
+ get: {
16760
+ parameters: {
16761
+ query?: {
16762
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
16763
+ "page[cursor]"?: string;
16764
+ /**
16765
+ * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16766
+ * @example en-US
16767
+ */
16768
+ locale?: string;
16769
+ /**
16770
+ * @description Allows the client to customize which related resources should be returned. Available options: items
16771
+ * @example items
16772
+ */
16773
+ include?: string[];
16774
+ };
16775
+ header?: never;
16776
+ path: {
16777
+ /**
16778
+ * @description User offline mixes id. Use `me` for the authenticated user's resource
16779
+ * @example me
16780
+ */
16781
+ id: string;
16782
+ };
16783
+ cookie?: never;
16784
+ };
16785
+ requestBody?: never;
16786
+ responses: {
16787
+ /** @description Successful response */
16788
+ 200: {
16789
+ headers: {
16790
+ [name: string]: unknown;
16791
+ };
16792
+ content: {
16793
+ "application/vnd.api+json": components["schemas"]["UserOfflineMixes_Multi_Relationship_Data_Document"];
16794
+ };
16795
+ };
16796
+ 400: components["responses"]["Default400Response"];
16797
+ 404: components["responses"]["Default404Response"];
16798
+ 405: components["responses"]["Default405Response"];
16799
+ 406: components["responses"]["Default406Response"];
16800
+ 415: components["responses"]["Default415Response"];
16801
+ 429: components["responses"]["Default429Response"];
16802
+ 500: components["responses"]["Default500Response"];
16803
+ 503: components["responses"]["Default503Response"];
16804
+ };
16805
+ };
16806
+ put?: never;
16807
+ post?: never;
16808
+ delete?: never;
16809
+ options?: never;
16810
+ head?: never;
16811
+ patch?: never;
16812
+ trace?: never;
16813
+ };
16814
+ "/userRecommendationBlocks/{id}": {
16815
+ parameters: {
16816
+ query?: never;
16817
+ header?: never;
16818
+ path?: never;
16819
+ cookie?: never;
16820
+ };
16821
+ /**
16822
+ * Get single userRecommendationBlock.
16823
+ * @description Retrieves single userRecommendationBlock by id.
16824
+ */
16825
+ get: {
16826
+ parameters: {
16827
+ query?: {
16828
+ /**
16829
+ * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
16830
+ * @example en-US
16831
+ */
16832
+ locale?: string;
16833
+ /**
16834
+ * @description Allows the client to customize which related resources should be returned. Available options: artists, owners, tracks, videos
16835
+ * @example artists
16836
+ */
16837
+ include?: string[];
16838
+ };
16839
+ header?: never;
16840
+ path: {
16841
+ /**
16842
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
16843
+ * @example me
16844
+ */
16845
+ id: string;
16846
+ };
16847
+ cookie?: never;
16848
+ };
16849
+ requestBody?: never;
16850
+ responses: {
16851
+ /** @description Successful response */
16852
+ 200: {
16853
+ headers: {
16854
+ [name: string]: unknown;
16855
+ };
16856
+ content: {
16857
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Single_Resource_Data_Document"];
16858
+ };
16859
+ };
16860
+ 400: components["responses"]["Default400Response"];
16861
+ 404: components["responses"]["Default404Response"];
16862
+ 405: components["responses"]["Default405Response"];
16863
+ 406: components["responses"]["Default406Response"];
16864
+ 415: components["responses"]["Default415Response"];
16865
+ 429: components["responses"]["Default429Response"];
16866
+ 500: components["responses"]["Default500Response"];
16867
+ 503: components["responses"]["Default503Response"];
16868
+ };
16869
+ };
16870
+ put?: never;
16871
+ post?: never;
16872
+ delete?: never;
16873
+ options?: never;
16874
+ head?: never;
16875
+ patch?: never;
16876
+ trace?: never;
16877
+ };
16878
+ "/userRecommendationBlocks/{id}/relationships/artists": {
16879
+ parameters: {
16880
+ query?: never;
16881
+ header?: never;
16882
+ path?: never;
16883
+ cookie?: never;
16884
+ };
16885
+ /**
16886
+ * Get artists relationship ("to-many").
16887
+ * @description Retrieves artists relationship.
16888
+ */
16889
+ get: {
16890
+ parameters: {
16891
+ query?: {
16892
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
16893
+ "page[cursor]"?: string;
16894
+ /**
16895
+ * @description Allows the client to customize which related resources should be returned. Available options: artists
16896
+ * @example artists
16897
+ */
16898
+ include?: string[];
16899
+ };
16900
+ header?: never;
16901
+ path: {
16902
+ /**
16903
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
16904
+ * @example me
16905
+ */
16906
+ id: string;
16907
+ };
16908
+ cookie?: never;
16909
+ };
16910
+ requestBody?: never;
16911
+ responses: {
16912
+ /** @description Successful response */
16913
+ 200: {
16914
+ headers: {
16915
+ [name: string]: unknown;
16916
+ };
16917
+ content: {
16918
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Artists_Multi_Relationship_Data_Document"];
16919
+ };
16920
+ };
16921
+ 400: components["responses"]["Default400Response"];
16922
+ 404: components["responses"]["Default404Response"];
16923
+ 405: components["responses"]["Default405Response"];
16924
+ 406: components["responses"]["Default406Response"];
16925
+ 415: components["responses"]["Default415Response"];
16926
+ 429: components["responses"]["Default429Response"];
16927
+ 500: components["responses"]["Default500Response"];
16928
+ 503: components["responses"]["Default503Response"];
16929
+ };
16930
+ };
16931
+ put?: never;
16932
+ /**
16933
+ * Add to artists relationship ("to-many").
16934
+ * @description Adds item(s) to artists relationship.
16935
+ */
16936
+ post: {
16937
+ parameters: {
16938
+ query?: never;
16939
+ header?: {
16940
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
16941
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
16942
+ };
16943
+ path: {
16944
+ /**
16945
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
16946
+ * @example me
16947
+ */
16948
+ id: string;
16949
+ };
16950
+ cookie?: never;
16951
+ };
16952
+ requestBody?: {
16953
+ content: {
16954
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksArtistsRelationshipAddOperation_Payload"];
16955
+ };
16956
+ };
16957
+ responses: {
16958
+ /** @description Successful response */
16959
+ 200: {
16960
+ headers: {
16961
+ [name: string]: unknown;
16962
+ };
16963
+ content: {
16964
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Artists_Multi_Relationship_Data_Document"];
16965
+ };
16966
+ };
16967
+ 400: components["responses"]["Default400Response"];
16968
+ 404: components["responses"]["Default404Response"];
16969
+ 405: components["responses"]["Default405Response"];
16970
+ 406: components["responses"]["Default406Response"];
16971
+ 409: components["responses"]["UserRecommendationBlocksAddMultiDataRelationshipWithResponse409Response"];
16972
+ 415: components["responses"]["Default415Response"];
16973
+ 422: components["responses"]["Idempotency422Response"];
16974
+ 429: components["responses"]["Default429Response"];
16975
+ 500: components["responses"]["Default500Response"];
16976
+ 503: components["responses"]["Default503Response"];
16977
+ };
16978
+ };
16979
+ /**
16980
+ * Delete from artists relationship ("to-many").
16981
+ * @description Deletes item(s) from artists relationship.
16982
+ */
16983
+ delete: {
16984
+ parameters: {
16985
+ query?: never;
16986
+ header?: {
16987
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
16988
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
16989
+ };
16990
+ path: {
16991
+ /**
16992
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
16993
+ * @example me
16994
+ */
16995
+ id: string;
16996
+ };
16997
+ cookie?: never;
16998
+ };
16999
+ requestBody?: {
17000
+ content: {
17001
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksArtistsRelationshipRemoveOperation_Payload"];
17002
+ };
17003
+ };
17004
+ responses: {
17005
+ 400: components["responses"]["Default400Response"];
17006
+ 404: components["responses"]["Default404Response"];
17007
+ 405: components["responses"]["Default405Response"];
17008
+ 406: components["responses"]["Default406Response"];
17009
+ 409: components["responses"]["Idempotency409Response"];
17010
+ 415: components["responses"]["Default415Response"];
17011
+ 422: components["responses"]["Idempotency422Response"];
17012
+ 429: components["responses"]["Default429Response"];
17013
+ 500: components["responses"]["Default500Response"];
17014
+ 503: components["responses"]["Default503Response"];
17015
+ };
17016
+ };
17017
+ options?: never;
17018
+ head?: never;
17019
+ patch?: never;
17020
+ trace?: never;
17021
+ };
17022
+ "/userRecommendationBlocks/{id}/relationships/owners": {
17023
+ parameters: {
17024
+ query?: never;
17025
+ header?: never;
17026
+ path?: never;
17027
+ cookie?: never;
17028
+ };
17029
+ /**
17030
+ * Get owners relationship ("to-many").
17031
+ * @description Retrieves owners relationship.
17032
+ */
17033
+ get: {
17034
+ parameters: {
17035
+ query?: {
17036
+ /**
17037
+ * @description Allows the client to customize which related resources should be returned. Available options: owners
17038
+ * @example owners
17039
+ */
17040
+ include?: string[];
17041
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17042
+ "page[cursor]"?: string;
17043
+ };
17044
+ header?: never;
17045
+ path: {
17046
+ /**
17047
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17048
+ * @example me
17049
+ */
17050
+ id: string;
17051
+ };
17052
+ cookie?: never;
17053
+ };
17054
+ requestBody?: never;
17055
+ responses: {
17056
+ /** @description Successful response */
17057
+ 200: {
17058
+ headers: {
17059
+ [name: string]: unknown;
17060
+ };
17061
+ content: {
17062
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Multi_Relationship_Data_Document"];
17063
+ };
17064
+ };
17065
+ 400: components["responses"]["Default400Response"];
17066
+ 404: components["responses"]["Default404Response"];
17067
+ 405: components["responses"]["Default405Response"];
17068
+ 406: components["responses"]["Default406Response"];
17069
+ 415: components["responses"]["Default415Response"];
17070
+ 429: components["responses"]["Default429Response"];
17071
+ 500: components["responses"]["Default500Response"];
17072
+ 503: components["responses"]["Default503Response"];
17073
+ };
17074
+ };
17075
+ put?: never;
17076
+ post?: never;
17077
+ delete?: never;
17078
+ options?: never;
17079
+ head?: never;
17080
+ patch?: never;
17081
+ trace?: never;
17082
+ };
17083
+ "/userRecommendationBlocks/{id}/relationships/tracks": {
17084
+ parameters: {
17085
+ query?: never;
17086
+ header?: never;
17087
+ path?: never;
17088
+ cookie?: never;
17089
+ };
17090
+ /**
17091
+ * Get tracks relationship ("to-many").
17092
+ * @description Retrieves tracks relationship.
17093
+ */
17094
+ get: {
17095
+ parameters: {
17096
+ query?: {
17097
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17098
+ "page[cursor]"?: string;
17099
+ /**
17100
+ * @description Allows the client to customize which related resources should be returned. Available options: tracks
17101
+ * @example tracks
17102
+ */
17103
+ include?: string[];
17104
+ };
17105
+ header?: never;
17106
+ path: {
17107
+ /**
17108
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17109
+ * @example me
17110
+ */
17111
+ id: string;
17112
+ };
17113
+ cookie?: never;
17114
+ };
17115
+ requestBody?: never;
17116
+ responses: {
17117
+ /** @description Successful response */
17118
+ 200: {
17119
+ headers: {
17120
+ [name: string]: unknown;
17121
+ };
17122
+ content: {
17123
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Tracks_Multi_Relationship_Data_Document"];
17124
+ };
17125
+ };
17126
+ 400: components["responses"]["Default400Response"];
17127
+ 404: components["responses"]["Default404Response"];
17128
+ 405: components["responses"]["Default405Response"];
17129
+ 406: components["responses"]["Default406Response"];
17130
+ 415: components["responses"]["Default415Response"];
17131
+ 429: components["responses"]["Default429Response"];
17132
+ 500: components["responses"]["Default500Response"];
17133
+ 503: components["responses"]["Default503Response"];
17134
+ };
17135
+ };
17136
+ put?: never;
17137
+ /**
17138
+ * Add to tracks relationship ("to-many").
17139
+ * @description Adds item(s) to tracks relationship.
17140
+ */
17141
+ post: {
17142
+ parameters: {
17143
+ query?: never;
17144
+ header?: {
17145
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
17146
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
17147
+ };
17148
+ path: {
17149
+ /**
17150
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17151
+ * @example me
17152
+ */
17153
+ id: string;
17154
+ };
17155
+ cookie?: never;
17156
+ };
17157
+ requestBody?: {
17158
+ content: {
17159
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksTracksRelationshipAddOperation_Payload"];
17160
+ };
17161
+ };
17162
+ responses: {
17163
+ /** @description Successful response */
17164
+ 200: {
17165
+ headers: {
17166
+ [name: string]: unknown;
17167
+ };
17168
+ content: {
17169
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Tracks_Multi_Relationship_Data_Document"];
17170
+ };
17171
+ };
17172
+ 400: components["responses"]["Default400Response"];
17173
+ 404: components["responses"]["Default404Response"];
17174
+ 405: components["responses"]["Default405Response"];
17175
+ 406: components["responses"]["Default406Response"];
17176
+ 409: components["responses"]["UserRecommendationBlocksAddMultiDataRelationshipWithResponse409Response"];
17177
+ 415: components["responses"]["Default415Response"];
17178
+ 422: components["responses"]["Idempotency422Response"];
17179
+ 429: components["responses"]["Default429Response"];
17180
+ 500: components["responses"]["Default500Response"];
17181
+ 503: components["responses"]["Default503Response"];
17182
+ };
17183
+ };
17184
+ /**
17185
+ * Delete from tracks relationship ("to-many").
17186
+ * @description Deletes item(s) from tracks relationship.
17187
+ */
17188
+ delete: {
17189
+ parameters: {
17190
+ query?: never;
17191
+ header?: {
17192
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
17193
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
17194
+ };
17195
+ path: {
17196
+ /**
17197
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17198
+ * @example me
17199
+ */
17200
+ id: string;
17201
+ };
17202
+ cookie?: never;
17203
+ };
17204
+ requestBody?: {
17205
+ content: {
17206
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksTracksRelationshipRemoveOperation_Payload"];
17207
+ };
17208
+ };
17209
+ responses: {
17210
+ 400: components["responses"]["Default400Response"];
17211
+ 404: components["responses"]["Default404Response"];
17212
+ 405: components["responses"]["Default405Response"];
17213
+ 406: components["responses"]["Default406Response"];
17214
+ 409: components["responses"]["Idempotency409Response"];
17215
+ 415: components["responses"]["Default415Response"];
17216
+ 422: components["responses"]["Idempotency422Response"];
17217
+ 429: components["responses"]["Default429Response"];
17218
+ 500: components["responses"]["Default500Response"];
17219
+ 503: components["responses"]["Default503Response"];
17220
+ };
17221
+ };
17035
17222
  options?: never;
17036
17223
  head?: never;
17037
17224
  patch?: never;
17038
17225
  trace?: never;
17039
17226
  };
17040
- "/userOfflineMixes/{id}": {
17227
+ "/userRecommendationBlocks/{id}/relationships/videos": {
17041
17228
  parameters: {
17042
17229
  query?: never;
17043
17230
  header?: never;
@@ -17045,32 +17232,24 @@ export interface paths {
17045
17232
  cookie?: never;
17046
17233
  };
17047
17234
  /**
17048
- * Get single userOfflineMixe.
17049
- * @description Retrieves single userOfflineMixe by id.
17235
+ * Get videos relationship ("to-many").
17236
+ * @description Retrieves videos relationship.
17050
17237
  */
17051
17238
  get: {
17052
17239
  parameters: {
17053
17240
  query?: {
17241
+ /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17242
+ "page[cursor]"?: string;
17054
17243
  /**
17055
- * @description ISO 3166-1 alpha-2 country code
17056
- * @example US
17057
- */
17058
- countryCode?: string;
17059
- /**
17060
- * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17061
- * @example en-US
17062
- */
17063
- locale?: string;
17064
- /**
17065
- * @description Allows the client to customize which related resources should be returned. Available options: items
17066
- * @example items
17244
+ * @description Allows the client to customize which related resources should be returned. Available options: videos
17245
+ * @example videos
17067
17246
  */
17068
17247
  include?: string[];
17069
17248
  };
17070
17249
  header?: never;
17071
17250
  path: {
17072
17251
  /**
17073
- * @description User offline mixes id. Use `me` for the authenticated user's resource
17252
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17074
17253
  * @example me
17075
17254
  */
17076
17255
  id: string;
@@ -17085,7 +17264,7 @@ export interface paths {
17085
17264
  [name: string]: unknown;
17086
17265
  };
17087
17266
  content: {
17088
- "application/vnd.api+json": components["schemas"]["UserOfflineMixes_Single_Resource_Data_Document"];
17267
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Videos_Multi_Relationship_Data_Document"];
17089
17268
  };
17090
17269
  };
17091
17270
  400: components["responses"]["Default400Response"];
@@ -17099,51 +17278,31 @@ export interface paths {
17099
17278
  };
17100
17279
  };
17101
17280
  put?: never;
17102
- post?: never;
17103
- delete?: never;
17104
- options?: never;
17105
- head?: never;
17106
- patch?: never;
17107
- trace?: never;
17108
- };
17109
- "/userOfflineMixes/{id}/relationships/items": {
17110
- parameters: {
17111
- query?: never;
17112
- header?: never;
17113
- path?: never;
17114
- cookie?: never;
17115
- };
17116
17281
  /**
17117
- * Get items relationship ("to-many").
17118
- * @description Retrieves items relationship.
17282
+ * Add to videos relationship ("to-many").
17283
+ * @description Adds item(s) to videos relationship.
17119
17284
  */
17120
- get: {
17285
+ post: {
17121
17286
  parameters: {
17122
- query?: {
17123
- /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17124
- "page[cursor]"?: string;
17125
- /**
17126
- * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17127
- * @example en-US
17128
- */
17129
- locale?: string;
17130
- /**
17131
- * @description Allows the client to customize which related resources should be returned. Available options: items
17132
- * @example items
17133
- */
17134
- include?: string[];
17287
+ query?: never;
17288
+ header?: {
17289
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
17290
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
17135
17291
  };
17136
- header?: never;
17137
17292
  path: {
17138
17293
  /**
17139
- * @description User offline mixes id. Use `me` for the authenticated user's resource
17294
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17140
17295
  * @example me
17141
17296
  */
17142
17297
  id: string;
17143
17298
  };
17144
17299
  cookie?: never;
17145
17300
  };
17146
- requestBody?: never;
17301
+ requestBody?: {
17302
+ content: {
17303
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksVideosRelationshipAddOperation_Payload"];
17304
+ };
17305
+ };
17147
17306
  responses: {
17148
17307
  /** @description Successful response */
17149
17308
  200: {
@@ -17151,22 +17310,59 @@ export interface paths {
17151
17310
  [name: string]: unknown;
17152
17311
  };
17153
17312
  content: {
17154
- "application/vnd.api+json": components["schemas"]["UserOfflineMixes_Multi_Relationship_Data_Document"];
17313
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocks_Videos_Multi_Relationship_Data_Document"];
17155
17314
  };
17156
17315
  };
17157
17316
  400: components["responses"]["Default400Response"];
17158
17317
  404: components["responses"]["Default404Response"];
17159
17318
  405: components["responses"]["Default405Response"];
17160
17319
  406: components["responses"]["Default406Response"];
17320
+ 409: components["responses"]["UserRecommendationBlocksAddMultiDataRelationshipWithResponse409Response"];
17161
17321
  415: components["responses"]["Default415Response"];
17322
+ 422: components["responses"]["Idempotency422Response"];
17323
+ 429: components["responses"]["Default429Response"];
17324
+ 500: components["responses"]["Default500Response"];
17325
+ 503: components["responses"]["Default503Response"];
17326
+ };
17327
+ };
17328
+ /**
17329
+ * Delete from videos relationship ("to-many").
17330
+ * @description Deletes item(s) from videos relationship.
17331
+ */
17332
+ delete: {
17333
+ parameters: {
17334
+ query?: never;
17335
+ header?: {
17336
+ /** @description Unique idempotency key for safe retry of mutation requests. If a duplicate key is sent with the same payload, the original response is replayed. If the payload differs, a 422 error is returned. */
17337
+ "Idempotency-Key"?: components["parameters"]["IdempotencyKey"];
17338
+ };
17339
+ path: {
17340
+ /**
17341
+ * @description User recommendation blocks id. Use `me` for the authenticated user's resource
17342
+ * @example me
17343
+ */
17344
+ id: string;
17345
+ };
17346
+ cookie?: never;
17347
+ };
17348
+ requestBody?: {
17349
+ content: {
17350
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksVideosRelationshipRemoveOperation_Payload"];
17351
+ };
17352
+ };
17353
+ responses: {
17354
+ 400: components["responses"]["Default400Response"];
17355
+ 404: components["responses"]["Default404Response"];
17356
+ 405: components["responses"]["Default405Response"];
17357
+ 406: components["responses"]["Default406Response"];
17358
+ 409: components["responses"]["Idempotency409Response"];
17359
+ 415: components["responses"]["Default415Response"];
17360
+ 422: components["responses"]["Idempotency422Response"];
17162
17361
  429: components["responses"]["Default429Response"];
17163
17362
  500: components["responses"]["Default500Response"];
17164
17363
  503: components["responses"]["Default503Response"];
17165
17364
  };
17166
17365
  };
17167
- put?: never;
17168
- post?: never;
17169
- delete?: never;
17170
17366
  options?: never;
17171
17367
  head?: never;
17172
17368
  patch?: never;
@@ -17187,11 +17383,6 @@ export interface paths {
17187
17383
  get: {
17188
17384
  parameters: {
17189
17385
  query?: {
17190
- /**
17191
- * @description ISO 3166-1 alpha-2 country code
17192
- * @example US
17193
- */
17194
- countryCode?: string;
17195
17386
  /**
17196
17387
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17197
17388
  * @example en-US
@@ -17259,11 +17450,6 @@ export interface paths {
17259
17450
  query?: {
17260
17451
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17261
17452
  "page[cursor]"?: string;
17262
- /**
17263
- * @description ISO 3166-1 alpha-2 country code
17264
- * @example US
17265
- */
17266
- countryCode?: string;
17267
17453
  /**
17268
17454
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17269
17455
  * @example en-US
@@ -17331,11 +17517,6 @@ export interface paths {
17331
17517
  query?: {
17332
17518
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17333
17519
  "page[cursor]"?: string;
17334
- /**
17335
- * @description ISO 3166-1 alpha-2 country code
17336
- * @example US
17337
- */
17338
- countryCode?: string;
17339
17520
  /**
17340
17521
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17341
17522
  * @example en-US
@@ -17403,11 +17584,6 @@ export interface paths {
17403
17584
  query?: {
17404
17585
  /** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
17405
17586
  "page[cursor]"?: string;
17406
- /**
17407
- * @description ISO 3166-1 alpha-2 country code
17408
- * @example US
17409
- */
17410
- countryCode?: string;
17411
17587
  /**
17412
17588
  * @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
17413
17589
  * @example en-US
@@ -18642,6 +18818,11 @@ export interface components {
18642
18818
  * @enum {string}
18643
18819
  */
18644
18820
  accessType?: "PUBLIC" | "UNLISTED" | "PRIVATE";
18821
+ /**
18822
+ * @description Whether the album is AI-generated
18823
+ * @example false
18824
+ */
18825
+ ai?: boolean;
18645
18826
  /**
18646
18827
  * @description Album type
18647
18828
  * @enum {string}
@@ -19480,6 +19661,128 @@ export interface components {
19480
19661
  included?: components["schemas"]["Included"];
19481
19662
  links: components["schemas"]["Links"];
19482
19663
  };
19664
+ CollaborationInviteRedemptionsCreateOperation_Payload: {
19665
+ data: components["schemas"]["CollaborationInviteRedemptionsCreateOperation_Payload_Data"];
19666
+ };
19667
+ CollaborationInviteRedemptionsCreateOperation_Payload_Data: {
19668
+ relationships: components["schemas"]["CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships"];
19669
+ /** @enum {string} */
19670
+ type: "collaborationInviteRedemptions";
19671
+ };
19672
+ CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships: {
19673
+ invite: components["schemas"]["CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships_Invite"];
19674
+ };
19675
+ CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships_Invite: {
19676
+ data: components["schemas"]["CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships_Invite_Data"];
19677
+ };
19678
+ CollaborationInviteRedemptionsCreateOperation_Payload_Data_Relationships_Invite_Data: {
19679
+ id: string;
19680
+ /** @enum {string} */
19681
+ type: "collaborationInvites";
19682
+ };
19683
+ CollaborationInviteRedemptions_Attributes: {
19684
+ /**
19685
+ * Format: date-time
19686
+ * @description Datetime the invite was redeemed (ISO 8601)
19687
+ */
19688
+ redeemedAt: string;
19689
+ };
19690
+ CollaborationInviteRedemptions_Multi_Resource_Data_Document: {
19691
+ data: components["schemas"]["CollaborationInviteRedemptions_Resource_Object"][];
19692
+ included?: components["schemas"]["Included"];
19693
+ links: components["schemas"]["Links"];
19694
+ };
19695
+ CollaborationInviteRedemptions_Resource_Object: {
19696
+ attributes?: components["schemas"]["CollaborationInviteRedemptions_Attributes"];
19697
+ /**
19698
+ * @description Resource id
19699
+ * @example 12345
19700
+ */
19701
+ id: string;
19702
+ /**
19703
+ * @description Resource type (enum property replaced by openapi-typescript)
19704
+ * @enum {string}
19705
+ */
19706
+ type: "collaborationInviteRedemptions";
19707
+ };
19708
+ CollaborationInviteRedemptions_Single_Resource_Data_Document: {
19709
+ data: components["schemas"]["CollaborationInviteRedemptions_Resource_Object"];
19710
+ included?: components["schemas"]["Included"];
19711
+ links: components["schemas"]["Links"];
19712
+ };
19713
+ CollaborationInvitesCreateOperation_Payload: {
19714
+ data: components["schemas"]["CollaborationInvitesCreateOperation_Payload_Data"];
19715
+ };
19716
+ CollaborationInvitesCreateOperation_Payload_Data: {
19717
+ relationships: components["schemas"]["CollaborationInvitesCreateOperation_Payload_Data_Relationships"];
19718
+ /** @enum {string} */
19719
+ type: "collaborationInvites";
19720
+ };
19721
+ CollaborationInvitesCreateOperation_Payload_Data_Relationships: {
19722
+ subject: components["schemas"]["CollaborationInvitesCreateOperation_Payload_Data_Relationships_Subject"];
19723
+ };
19724
+ CollaborationInvitesCreateOperation_Payload_Data_Relationships_Subject: {
19725
+ data: components["schemas"]["CollaborationInvitesCreateOperation_Payload_Data_Relationships_Subject_Data"];
19726
+ };
19727
+ CollaborationInvitesCreateOperation_Payload_Data_Relationships_Subject_Data: {
19728
+ id: string;
19729
+ /** @enum {string} */
19730
+ type: "playlists";
19731
+ };
19732
+ CollaborationInvites_Attributes: {
19733
+ /** @description Opaque invite code embedded in the share link */
19734
+ code: string;
19735
+ /**
19736
+ * Format: date-time
19737
+ * @description Datetime the invite was created (ISO 8601)
19738
+ */
19739
+ createdAt: string;
19740
+ /**
19741
+ * Format: date-time
19742
+ * @description Datetime the invite expires (ISO 8601)
19743
+ */
19744
+ expiresAt: string;
19745
+ /** @description Whether the invite has been revoked by the subject's owner */
19746
+ revoked: boolean;
19747
+ };
19748
+ CollaborationInvites_Multi_Relationship_Data_Document: {
19749
+ data?: components["schemas"]["Resource_Identifier"][];
19750
+ included?: components["schemas"]["Included"];
19751
+ links: components["schemas"]["Links"];
19752
+ };
19753
+ CollaborationInvites_Multi_Resource_Data_Document: {
19754
+ data: components["schemas"]["CollaborationInvites_Resource_Object"][];
19755
+ included?: components["schemas"]["Included"];
19756
+ links: components["schemas"]["Links"];
19757
+ };
19758
+ CollaborationInvites_Relationships: {
19759
+ owners?: components["schemas"]["Multi_Relationship_Data_Document"];
19760
+ subject?: components["schemas"]["Single_Relationship_Data_Document"];
19761
+ };
19762
+ CollaborationInvites_Resource_Object: {
19763
+ attributes?: components["schemas"]["CollaborationInvites_Attributes"];
19764
+ /**
19765
+ * @description Resource id
19766
+ * @example 12345
19767
+ */
19768
+ id: string;
19769
+ relationships?: components["schemas"]["CollaborationInvites_Relationships"];
19770
+ /**
19771
+ * @description Resource type (enum property replaced by openapi-typescript)
19772
+ * @enum {string}
19773
+ */
19774
+ type: "collaborationInvites";
19775
+ };
19776
+ CollaborationInvites_Single_Relationship_Data_Document: {
19777
+ data?: components["schemas"]["Resource_Identifier"];
19778
+ included?: components["schemas"]["Included"];
19779
+ links: components["schemas"]["Links"];
19780
+ };
19781
+ CollaborationInvites_Single_Resource_Data_Document: {
19782
+ data: components["schemas"]["CollaborationInvites_Resource_Object"];
19783
+ included?: components["schemas"]["Included"];
19784
+ links: components["schemas"]["Links"];
19785
+ };
19483
19786
  CommentsCreateOperation_Payload: {
19484
19787
  data: components["schemas"]["CommentsCreateOperation_Payload_Data"];
19485
19788
  };
@@ -19941,7 +20244,7 @@ export interface components {
19941
20244
  * @example SHORTCUTS
19942
20245
  * @enum {string}
19943
20246
  */
19944
- sourceType: "ALBUM_RECOMMENDATIONS" | "BECAUSE_YOU_LISTENED_TO_ALBUM" | "BECAUSE_YOU_ADDED_ALBUM" | "BECAUSE_YOU_ADDED_ARTIST" | "CONTINUE_LISTEN_TO" | "DAILY_MIXES" | "FORGOTTEN_FAVORITES" | "GENRE_MIXES" | "HISTORY_MIXES" | "LOCAL_PLAYLISTS" | "MY_PLAYLISTS" | "NEW_ALBUM_SUGGESTIONS" | "NEW_TRACK_SUGGESTIONS" | "NEW_ALBUMS" | "NEW_TRACKS" | "POPULAR_PLAYLISTS" | "RECENTLY_UPDATED_FAVORITED_PLAYLIST" | "RECOMMENDED_USERS_PLAYLISTS" | "SUGGESTED_ESSENTIAL_PLAYLISTS" | "SUGGESTED_RADIOS_MIXES" | "WELCOME_MIX" | "YOUR_FAVORITE_ARTISTS" | "UPLOADS_FOR_YOU" | "LATEST_SPOTLIGHTED_TRACKS" | "SHORTCUTS" | "ARTIST_TOP_TRACKS" | "ARTIST_SPOTLIGHTED_TRACKS" | "ARTIST_ALBUMS" | "ARTIST_TOP_SINGLES" | "ARTIST_COMPILATIONS" | "ARTIST_LIVE_ALBUMS" | "ARTIST_APPEARS_ON" | "ARTIST_PLAYLIST" | "ARTIST_PUBLIC_PLAYLIST" | "ARTIST_SIMILAR_ARTISTS" | "ARTIST_TRACK_UPLOADS" | "ARTIST_LINKS" | "ARTIST_VIDEOS" | "ARTIST_CREDITS" | "ALBUM_ITEMS" | "ALBUM_ANNIVERSARY" | "ARTIST_BIRTHDAY" | "ARTIST_MEMORIAM" | "DJ_TOOLS" | "DJ_ARTIST_CURATED" | "THE_HITS" | "FROM_OUR_EDITORS" | "TOP_PLAYLISTS" | "FEATURED_TOP_TRACKS" | "FEATURED_TOP_ALBUMS" | "TOP_ARTISTS_ESSENTIALS" | "FEATURED_RECOMMENDED_PLAYLISTS" | "HOME_3_FEATURED_PLAYLISTS" | "HOME_3_FEATURED_UPLOAD_TRACKS" | "HOME_3_FEATURED_ALBUMS" | "POPULAR_ALBUMS" | "POPULAR_ARTISTS" | "POPULAR_MIXES" | "FEATURED_RECOMMENDED_TRACKS" | "FEATURED_RECOMMENDED_ALBUMS" | "FEATURED_RECOMMENDED_CLASSIC_ALBUMS" | "BACK_TO_SCHOOL_MUSIC_101" | "BACK_TO_SCHOOL_GENRES_FOR_BEGINNERS" | "HEADLINERS_2026" | "HOME_3_0_GENERIC_PLAYLISTS_1" | "HOME_3_0_GENERIC_PLAYLISTS_2" | "HOME_3_0_GENERIC_ALBUMS_1" | "HOME_3_0_GENERIC_TRACKS_1" | "HOME_3_0_GENERIC_ARTISTS_1" | "HOME_3_0_GENERIC_VIDEOS_1" | "STAFF_PICKS_PAGE_ALBUMS_WE_LOVE" | "STAFF_PICKS_PAGE_EXPLORE" | "STAFF_PICKS_PAGE_FAVORITE_SONGS" | "STAFF_PICKS_PAGE_RECENTLY_UPDATED_PLAYLISTS" | "STAFF_PICKS_PAGE_TIDAL_NEWS_MAGAZINE" | "STAFF_PICKS_PAGE_WHAT_LISTENING_TO" | "BASED_ON_YOUR_INTERESTS_1" | "BASED_ON_YOUR_INTERESTS_2" | "UPLOAD_PAGE_SPOTLIGHTED_PLAYLISTS" | "UPLOAD_PAGE_PAYGATED_ALBUMS" | "UPLOAD_PAGE_ALBUMS" | "TOP_UPLOADERS" | "UPLOAD_PAGE_ARTISTS" | "UPLOAD_PAGE_FEATURED_MAGAZINE" | "EXPLORE_DECADES" | "EXPLORE_GENRES" | "EXPLORE_MOODS" | "UNKNOWN";
20247
+ sourceType: "ALBUM_RECOMMENDATIONS" | "BECAUSE_YOU_LISTENED_TO_ALBUM" | "BECAUSE_YOU_ADDED_ALBUM" | "BECAUSE_YOU_ADDED_ARTIST" | "CONTINUE_LISTEN_TO" | "DAILY_MIXES" | "FORGOTTEN_FAVORITES" | "GENRE_MIXES" | "HISTORY_MIXES" | "LOCAL_PLAYLISTS" | "MY_PLAYLISTS" | "NEW_ALBUM_SUGGESTIONS" | "NEW_TRACK_SUGGESTIONS" | "NEW_ALBUMS" | "NEW_TRACKS" | "POPULAR_PLAYLISTS" | "RECENTLY_UPDATED_FAVORITED_PLAYLIST" | "RECOMMENDED_USERS_PLAYLISTS" | "SUGGESTED_ESSENTIAL_PLAYLISTS" | "SUGGESTED_RADIOS_MIXES" | "WELCOME_MIX" | "YOUR_FAVORITE_ARTISTS" | "UPLOADS_FOR_YOU" | "LATEST_SPOTLIGHTED_TRACKS" | "SHORTCUTS" | "ARTIST_TOP_TRACKS" | "ARTIST_SPOTLIGHTED_TRACKS" | "ARTIST_ALBUMS" | "ARTIST_TOP_SINGLES" | "ARTIST_COMPILATIONS" | "ARTIST_LIVE_ALBUMS" | "ARTIST_APPEARS_ON" | "ARTIST_PLAYLIST" | "ARTIST_PUBLIC_PLAYLIST" | "ARTIST_SIMILAR_ARTISTS" | "ARTIST_TRACK_UPLOADS" | "ARTIST_LINKS" | "ARTIST_VIDEOS" | "ARTIST_CREDITS" | "ALBUM_ITEMS" | "ALBUM_MORE_BY_ARTIST" | "ALBUM_OTHER_VERSIONS" | "ALBUM_RELATED_ALBUMS" | "ALBUM_RELATED_ARTISTS" | "ALBUM_ANNIVERSARY" | "ARTIST_BIRTHDAY" | "ARTIST_MEMORIAM" | "DJ_TOOLS" | "DJ_ARTIST_CURATED" | "THE_HITS" | "FROM_OUR_EDITORS" | "TOP_PLAYLISTS" | "FEATURED_TOP_TRACKS" | "FEATURED_TOP_ALBUMS" | "TOP_ARTISTS_ESSENTIALS" | "FEATURED_RECOMMENDED_PLAYLISTS" | "HOME_3_FEATURED_PLAYLISTS" | "HOME_3_FEATURED_UPLOAD_TRACKS" | "HOME_3_FEATURED_ALBUMS" | "POPULAR_ALBUMS" | "POPULAR_ARTISTS" | "POPULAR_MIXES" | "FEATURED_RECOMMENDED_TRACKS" | "FEATURED_RECOMMENDED_ALBUMS" | "FEATURED_RECOMMENDED_CLASSIC_ALBUMS" | "BACK_TO_SCHOOL_MUSIC_101" | "BACK_TO_SCHOOL_GENRES_FOR_BEGINNERS" | "HEADLINERS_2026" | "HOME_3_0_GENERIC_PLAYLISTS_1" | "HOME_3_0_GENERIC_PLAYLISTS_2" | "HOME_3_0_GENERIC_ALBUMS_1" | "HOME_3_0_GENERIC_TRACKS_1" | "HOME_3_0_GENERIC_ARTISTS_1" | "HOME_3_0_GENERIC_VIDEOS_1" | "STAFF_PICKS_PAGE_ALBUMS_WE_LOVE" | "STAFF_PICKS_PAGE_EXPLORE" | "STAFF_PICKS_PAGE_FAVORITE_SONGS" | "STAFF_PICKS_PAGE_RECENTLY_UPDATED_PLAYLISTS" | "STAFF_PICKS_PAGE_TIDAL_NEWS_MAGAZINE" | "STAFF_PICKS_PAGE_WHAT_LISTENING_TO" | "BASED_ON_YOUR_INTERESTS_1" | "BASED_ON_YOUR_INTERESTS_2" | "UPLOAD_PAGE_SPOTLIGHTED_PLAYLISTS" | "UPLOAD_PAGE_PAYGATED_ALBUMS" | "UPLOAD_PAGE_ALBUMS" | "TOP_UPLOADERS" | "UPLOAD_PAGE_ARTISTS" | "UPLOAD_PAGE_FEATURED_MAGAZINE" | "EXPLORE_DECADES" | "EXPLORE_GENRES" | "EXPLORE_MOODS" | "UNKNOWN";
19945
20248
  /**
19946
20249
  * @description Subtitle of the module
19947
20250
  * @example Short description of this module
@@ -19991,7 +20294,7 @@ export interface components {
19991
20294
  * @example HOME_STATIC
19992
20295
  * @enum {string}
19993
20296
  */
19994
- pageType: "HOME_STATIC" | "HOME_UPLOADS" | "HOME_EDITORIAL" | "HOME_FREE" | "ARTIST";
20297
+ pageType: "HOME_STATIC" | "HOME_UPLOADS" | "HOME_EDITORIAL" | "HOME_FREE" | "ARTIST" | "ALBUM";
19995
20298
  /**
19996
20299
  * Format: uuid
19997
20300
  * @description Id used for reporting user events
@@ -20173,7 +20476,7 @@ export interface components {
20173
20476
  status: string;
20174
20477
  }[];
20175
20478
  };
20176
- Included: (components["schemas"]["AcceptedTerms_Resource_Object"] | components["schemas"]["AlbumStatistics_Resource_Object"] | components["schemas"]["Albums_Resource_Object"] | components["schemas"]["Appreciations_Resource_Object"] | components["schemas"]["ArtistBiographies_Resource_Object"] | components["schemas"]["ArtistClaims_Resource_Object"] | components["schemas"]["ArtistRoles_Resource_Object"] | components["schemas"]["Artists_Resource_Object"] | components["schemas"]["Artworks_Resource_Object"] | components["schemas"]["Clients_Resource_Object"] | components["schemas"]["Comments_Resource_Object"] | components["schemas"]["ContentClaims_Resource_Object"] | components["schemas"]["Credits_Resource_Object"] | components["schemas"]["Downloads_Resource_Object"] | components["schemas"]["DspSharingLinks_Resource_Object"] | components["schemas"]["DynamicModules_Resource_Object"] | components["schemas"]["DynamicPages_Resource_Object"] | components["schemas"]["Genres_Resource_Object"] | components["schemas"]["Installations_Resource_Object"] | components["schemas"]["Lyrics_Resource_Object"] | components["schemas"]["ManualArtistClaims_Resource_Object"] | components["schemas"]["OfflineTasks_Resource_Object"] | components["schemas"]["PlayQueues_Resource_Object"] | components["schemas"]["Playlists_Resource_Object"] | components["schemas"]["PriceConfigurations_Resource_Object"] | components["schemas"]["ProviderOwners_Resource_Object"] | components["schemas"]["ProviderProductInfos_Resource_Object"] | components["schemas"]["Providers_Resource_Object"] | components["schemas"]["Purchases_Resource_Object"] | components["schemas"]["Reactions_Resource_Object"] | components["schemas"]["SavedShares_Resource_Object"] | components["schemas"]["SearchHistoryEntries_Resource_Object"] | components["schemas"]["SearchResults_Resource_Object"] | components["schemas"]["SearchSuggestions_Resource_Object"] | components["schemas"]["Shares_Resource_Object"] | components["schemas"]["SquareConnections_Resource_Object"] | components["schemas"]["StripeConnections_Resource_Object"] | components["schemas"]["StripeDashboardLinks_Resource_Object"] | components["schemas"]["TemporaryUserTokens_Resource_Object"] | components["schemas"]["Terms_Resource_Object"] | components["schemas"]["TrackFiles_Resource_Object"] | components["schemas"]["TrackManifests_Resource_Object"] | components["schemas"]["TrackSourceFiles_Resource_Object"] | components["schemas"]["TrackStatistics_Resource_Object"] | components["schemas"]["Tracks_Resource_Object"] | components["schemas"]["TracksMetadataStatus_Resource_Object"] | components["schemas"]["UsageRules_Resource_Object"] | components["schemas"]["UserCollectionAlbums_Resource_Object"] | components["schemas"]["UserCollectionArtists_Resource_Object"] | components["schemas"]["UserCollectionFolders_Resource_Object"] | components["schemas"]["UserCollectionPlaylists_Resource_Object"] | components["schemas"]["UserCollectionSaveForLaters_Resource_Object"] | components["schemas"]["UserCollectionTracks_Resource_Object"] | components["schemas"]["UserCollectionVideos_Resource_Object"] | components["schemas"]["UserCollections_Resource_Object"] | components["schemas"]["UserDailyMixes_Resource_Object"] | components["schemas"]["UserDataExportRequests_Resource_Object"] | components["schemas"]["UserDiscoveryMixes_Resource_Object"] | components["schemas"]["UserNewReleaseMixes_Resource_Object"] | components["schemas"]["UserOfflineMixes_Resource_Object"] | components["schemas"]["UserRecommendations_Resource_Object"] | components["schemas"]["UserReports_Resource_Object"] | components["schemas"]["Users_Resource_Object"] | components["schemas"]["VideoManifests_Resource_Object"] | components["schemas"]["Videos_Resource_Object"])[];
20479
+ Included: (components["schemas"]["AcceptedTerms_Resource_Object"] | components["schemas"]["AlbumStatistics_Resource_Object"] | components["schemas"]["Albums_Resource_Object"] | components["schemas"]["Appreciations_Resource_Object"] | components["schemas"]["ArtistBiographies_Resource_Object"] | components["schemas"]["ArtistClaims_Resource_Object"] | components["schemas"]["ArtistRoles_Resource_Object"] | components["schemas"]["Artists_Resource_Object"] | components["schemas"]["Artworks_Resource_Object"] | components["schemas"]["Clients_Resource_Object"] | components["schemas"]["CollaborationInviteRedemptions_Resource_Object"] | components["schemas"]["CollaborationInvites_Resource_Object"] | components["schemas"]["Comments_Resource_Object"] | components["schemas"]["ContentClaims_Resource_Object"] | components["schemas"]["Credits_Resource_Object"] | components["schemas"]["Downloads_Resource_Object"] | components["schemas"]["DspSharingLinks_Resource_Object"] | components["schemas"]["DynamicModules_Resource_Object"] | components["schemas"]["DynamicPages_Resource_Object"] | components["schemas"]["Genres_Resource_Object"] | components["schemas"]["Installations_Resource_Object"] | components["schemas"]["Lyrics_Resource_Object"] | components["schemas"]["ManualArtistClaims_Resource_Object"] | components["schemas"]["OfflineTasks_Resource_Object"] | components["schemas"]["PlayQueues_Resource_Object"] | components["schemas"]["Playlists_Resource_Object"] | components["schemas"]["PriceConfigurations_Resource_Object"] | components["schemas"]["ProviderOwners_Resource_Object"] | components["schemas"]["ProviderProductInfos_Resource_Object"] | components["schemas"]["Providers_Resource_Object"] | components["schemas"]["Purchases_Resource_Object"] | components["schemas"]["Reactions_Resource_Object"] | components["schemas"]["SavedShares_Resource_Object"] | components["schemas"]["Scopes_Resource_Object"] | components["schemas"]["SearchHistoryEntries_Resource_Object"] | components["schemas"]["SearchResults_Resource_Object"] | components["schemas"]["SearchSuggestions_Resource_Object"] | components["schemas"]["Shares_Resource_Object"] | components["schemas"]["SquareConnections_Resource_Object"] | components["schemas"]["StripeConnections_Resource_Object"] | components["schemas"]["StripeDashboardLinks_Resource_Object"] | components["schemas"]["TemporaryUserTokens_Resource_Object"] | components["schemas"]["Terms_Resource_Object"] | components["schemas"]["TrackFiles_Resource_Object"] | components["schemas"]["TrackManifests_Resource_Object"] | components["schemas"]["TrackSourceFiles_Resource_Object"] | components["schemas"]["TrackStatistics_Resource_Object"] | components["schemas"]["Tracks_Resource_Object"] | components["schemas"]["TracksMetadataStatus_Resource_Object"] | components["schemas"]["UsageRules_Resource_Object"] | components["schemas"]["UserCollectionAlbums_Resource_Object"] | components["schemas"]["UserCollectionArtists_Resource_Object"] | components["schemas"]["UserCollectionFolders_Resource_Object"] | components["schemas"]["UserCollectionPlaylists_Resource_Object"] | components["schemas"]["UserCollectionSaveForLaters_Resource_Object"] | components["schemas"]["UserCollectionTracks_Resource_Object"] | components["schemas"]["UserCollectionVideos_Resource_Object"] | components["schemas"]["UserCollections_Resource_Object"] | components["schemas"]["UserDailyMixes_Resource_Object"] | components["schemas"]["UserDataExportRequests_Resource_Object"] | components["schemas"]["UserDiscoveryMixes_Resource_Object"] | components["schemas"]["UserNewReleaseMixes_Resource_Object"] | components["schemas"]["UserOfflineMixes_Resource_Object"] | components["schemas"]["UserRecommendationBlocks_Resource_Object"] | components["schemas"]["UserRecommendations_Resource_Object"] | components["schemas"]["UserReports_Resource_Object"] | components["schemas"]["Users_Resource_Object"] | components["schemas"]["VideoManifests_Resource_Object"] | components["schemas"]["Videos_Resource_Object"])[];
20177
20480
  InstallationsCreateOperation_Payload: {
20178
20481
  data: components["schemas"]["InstallationsCreateOperation_Payload_Data"];
20179
20482
  };
@@ -21391,6 +21694,52 @@ export interface components {
21391
21694
  included?: components["schemas"]["Included"];
21392
21695
  links: components["schemas"]["Links"];
21393
21696
  };
21697
+ Scopes_Attributes: {
21698
+ /**
21699
+ * @description Text shown to the end user on the OAuth consent screen when this scope is requested.
21700
+ * @example List all playlists created by you.
21701
+ */
21702
+ consentText?: string;
21703
+ /**
21704
+ * @description Technical description of the scope.
21705
+ * @example Required to list playlists created by a user.
21706
+ */
21707
+ description: string;
21708
+ /**
21709
+ * @description Wire-format scope name as used in OAuth requests.
21710
+ * @example playlists.read
21711
+ */
21712
+ name: string;
21713
+ /**
21714
+ * @description Client access tier required to request this scope. A client whose access tier is at least this value can include the scope when initiating an OAuth flow.
21715
+ * @example THIRD_PARTY
21716
+ * @enum {string}
21717
+ */
21718
+ requiredAccessTier: "THIRD_PARTY" | "THIRD_PARTY_PROD" | "PARTNER" | "INTERNAL";
21719
+ };
21720
+ Scopes_Multi_Resource_Data_Document: {
21721
+ data: components["schemas"]["Scopes_Resource_Object"][];
21722
+ included?: components["schemas"]["Included"];
21723
+ links: components["schemas"]["Links"];
21724
+ };
21725
+ Scopes_Resource_Object: {
21726
+ attributes?: components["schemas"]["Scopes_Attributes"];
21727
+ /**
21728
+ * @description Resource id
21729
+ * @example 12345
21730
+ */
21731
+ id: string;
21732
+ /**
21733
+ * @description Resource type (enum property replaced by openapi-typescript)
21734
+ * @enum {string}
21735
+ */
21736
+ type: "scopes";
21737
+ };
21738
+ Scopes_Single_Resource_Data_Document: {
21739
+ data: components["schemas"]["Scopes_Resource_Object"];
21740
+ included?: components["schemas"]["Included"];
21741
+ links: components["schemas"]["Links"];
21742
+ };
21394
21743
  SearchHistoryEntries_Attributes: {
21395
21744
  highlights: components["schemas"]["Highlight"][];
21396
21745
  query: string;
@@ -21608,6 +21957,11 @@ export interface components {
21608
21957
  * @enum {string}
21609
21958
  */
21610
21959
  platform: "WEB" | "ANDROID" | "IOS";
21960
+ /**
21961
+ * @description Optional post-finalize redirect URL. Otherwise uses platform default.
21962
+ * @example tidal://square-auth/return?flow=onboarding&ref=abc
21963
+ */
21964
+ redirectUrl?: string;
21611
21965
  };
21612
21966
  SquareConnections_Attributes: {
21613
21967
  /**
@@ -21626,7 +21980,7 @@ export interface components {
21626
21980
  * @description Current status of this Square connection
21627
21981
  * @enum {string}
21628
21982
  */
21629
- status: "PENDING_REQUIREMENTS" | "ACCEPTED" | "REJECTED";
21983
+ status: "DRAFT" | "PENDING_REQUIREMENTS" | "KYC_PENDING" | "ACCEPTED" | "REJECTED" | "SUSPENDED";
21630
21984
  };
21631
21985
  SquareConnections_Multi_Resource_Data_Document: {
21632
21986
  data: components["schemas"]["SquareConnections_Resource_Object"][];
@@ -21718,7 +22072,7 @@ export interface components {
21718
22072
  * @description Current status of this Stripe connection
21719
22073
  * @enum {string}
21720
22074
  */
21721
- status: "PENDING_REQUIREMENTS" | "UNDER_REVIEW" | "ACCEPTED" | "REJECTED";
22075
+ status: "PENDING_REQUIREMENTS" | "UNDER_REVIEW" | "ACCEPTED" | "REJECTED" | "SUSPENDED";
21722
22076
  };
21723
22077
  StripeConnections_Multi_Relationship_Data_Document: {
21724
22078
  data?: components["schemas"]["Resource_Identifier"][];
@@ -22474,6 +22828,11 @@ export interface components {
22474
22828
  included?: components["schemas"]["Included"];
22475
22829
  links: components["schemas"]["Links"];
22476
22830
  };
22831
+ UserCollection: {
22832
+ id: string;
22833
+ /** @enum {string} */
22834
+ type: "userCollectionPlaylists";
22835
+ };
22477
22836
  UserCollectionAlbumsAddMultiDataRelationshipWithResponse409ResponseBody: {
22478
22837
  errors: {
22479
22838
  /**
@@ -22500,6 +22859,13 @@ export interface components {
22500
22859
  /** Format: date-time */
22501
22860
  addedAt?: string;
22502
22861
  };
22862
+ UserCollectionAlbumsItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
22863
+ id: string;
22864
+ /** @enum {string} */
22865
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
22866
+ /** @enum {string} */
22867
+ type: "albums";
22868
+ };
22503
22869
  UserCollectionAlbumsItemsRelationshipRemoveOperation_Payload: {
22504
22870
  data: components["schemas"]["UserCollectionAlbumsItemsRelationshipRemoveOperation_Payload_Data"][];
22505
22871
  };
@@ -22509,12 +22875,26 @@ export interface components {
22509
22875
  type: "albums";
22510
22876
  };
22511
22877
  UserCollectionAlbums_Attributes: {
22878
+ /**
22879
+ * Format: date-time
22880
+ * @description When the collection was last modified
22881
+ */
22882
+ lastModifiedAt?: string;
22512
22883
  /**
22513
22884
  * Format: int32
22514
22885
  * @description Number of items in the collection
22515
22886
  */
22516
22887
  numberOfItems: number;
22517
22888
  };
22889
+ UserCollectionAlbums_Items_Add_Multi_Relationship_Data_Document: {
22890
+ data?: components["schemas"]["UserCollectionAlbums_Items_Resource_Identifier"][];
22891
+ included?: components["schemas"]["Included"];
22892
+ links: components["schemas"]["Links"];
22893
+ meta?: components["schemas"]["UserCollectionAlbums_Items_Add_Multi_Relationship_Data_Document_Meta"];
22894
+ };
22895
+ UserCollectionAlbums_Items_Add_Multi_Relationship_Data_Document_Meta: {
22896
+ skipped: components["schemas"]["UserCollectionAlbumsItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
22897
+ };
22518
22898
  UserCollectionAlbums_Items_Multi_Relationship_Data_Document: {
22519
22899
  data?: components["schemas"]["UserCollectionAlbums_Items_Resource_Identifier"][];
22520
22900
  included?: components["schemas"]["Included"];
@@ -22596,6 +22976,13 @@ export interface components {
22596
22976
  /** Format: date-time */
22597
22977
  addedAt?: string;
22598
22978
  };
22979
+ UserCollectionArtistsItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
22980
+ id: string;
22981
+ /** @enum {string} */
22982
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
22983
+ /** @enum {string} */
22984
+ type: "artists";
22985
+ };
22599
22986
  UserCollectionArtistsItemsRelationshipRemoveOperation_Payload: {
22600
22987
  data: components["schemas"]["UserCollectionArtistsItemsRelationshipRemoveOperation_Payload_Data"][];
22601
22988
  };
@@ -22604,7 +22991,27 @@ export interface components {
22604
22991
  /** @enum {string} */
22605
22992
  type: "artists";
22606
22993
  };
22607
- UserCollectionArtists_Attributes: Record<string, never>;
22994
+ UserCollectionArtists_Attributes: {
22995
+ /**
22996
+ * Format: date-time
22997
+ * @description When the collection was last modified
22998
+ */
22999
+ lastModifiedAt?: string;
23000
+ /**
23001
+ * Format: int32
23002
+ * @description Number of items in the collection
23003
+ */
23004
+ numberOfItems: number;
23005
+ };
23006
+ UserCollectionArtists_Items_Add_Multi_Relationship_Data_Document: {
23007
+ data?: components["schemas"]["UserCollectionArtists_Items_Resource_Identifier"][];
23008
+ included?: components["schemas"]["Included"];
23009
+ links: components["schemas"]["Links"];
23010
+ meta?: components["schemas"]["UserCollectionArtists_Items_Add_Multi_Relationship_Data_Document_Meta"];
23011
+ };
23012
+ UserCollectionArtists_Items_Add_Multi_Relationship_Data_Document_Meta: {
23013
+ skipped: components["schemas"]["UserCollectionArtistsItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
23014
+ };
22608
23015
  UserCollectionArtists_Items_Multi_Relationship_Data_Document: {
22609
23016
  data?: components["schemas"]["UserCollectionArtists_Items_Resource_Identifier"][];
22610
23017
  included?: components["schemas"]["Included"];
@@ -22665,14 +23072,25 @@ export interface components {
22665
23072
  };
22666
23073
  UserCollectionFoldersCreateOperation_Payload_Data: {
22667
23074
  attributes: components["schemas"]["UserCollectionFoldersCreateOperation_Payload_Data_Attributes"];
23075
+ relationships: components["schemas"]["UserCollectionFoldersCreateOperation_Payload_Data_Relationships"];
22668
23076
  /** @enum {string} */
22669
23077
  type: "userCollectionFolders";
22670
23078
  };
22671
23079
  UserCollectionFoldersCreateOperation_Payload_Data_Attributes: {
22672
- /** @enum {string} */
22673
- collectionType: "PLAYLISTS";
23080
+ /**
23081
+ * @deprecated
23082
+ * @description The type of user collection this folder belongs to. Deprecated: send the 'userCollection' relationship instead. Accepted for backward compatibility during migration and will be removed in a future version.
23083
+ * @enum {string}
23084
+ */
23085
+ collectionType?: "PLAYLISTS";
22674
23086
  name: string;
22675
23087
  };
23088
+ UserCollectionFoldersCreateOperation_Payload_Data_Relationships: {
23089
+ userCollection: components["schemas"]["UserCollectionFoldersCreateOperation_Payload_Data_Relationships_UserCollection"];
23090
+ };
23091
+ UserCollectionFoldersCreateOperation_Payload_Data_Relationships_UserCollection: {
23092
+ data: components["schemas"]["UserCollection"];
23093
+ };
22676
23094
  UserCollectionFoldersDeleteResource400ResponseBody: {
22677
23095
  errors: {
22678
23096
  /**
@@ -22713,8 +23131,12 @@ export interface components {
22713
23131
  name?: string;
22714
23132
  };
22715
23133
  UserCollectionFolders_Attributes: {
22716
- /** @enum {string} */
22717
- collectionType: "PLAYLISTS";
23134
+ /**
23135
+ * @deprecated
23136
+ * @description The type of user collection this folder belongs to. Deprecated: use the 'userCollection' relationship instead. This field will be removed in a future version, so clients should not depend on its presence.
23137
+ * @enum {string}
23138
+ */
23139
+ collectionType?: "PLAYLISTS";
22718
23140
  /** Format: date-time */
22719
23141
  createdAt: string;
22720
23142
  /** Format: date-time */
@@ -22758,6 +23180,7 @@ export interface components {
22758
23180
  UserCollectionFolders_Relationships: {
22759
23181
  items?: components["schemas"]["UserCollectionFolders_Items_Multi_Relationship_Data_Document"];
22760
23182
  owners?: components["schemas"]["Multi_Relationship_Data_Document"];
23183
+ userCollection?: components["schemas"]["Single_Relationship_Data_Document"];
22761
23184
  };
22762
23185
  UserCollectionFolders_Resource_Object: {
22763
23186
  attributes?: components["schemas"]["UserCollectionFolders_Attributes"];
@@ -22773,6 +23196,11 @@ export interface components {
22773
23196
  */
22774
23197
  type: "userCollectionFolders";
22775
23198
  };
23199
+ UserCollectionFolders_Single_Relationship_Data_Document: {
23200
+ data?: components["schemas"]["Resource_Identifier"];
23201
+ included?: components["schemas"]["Included"];
23202
+ links: components["schemas"]["Links"];
23203
+ };
22776
23204
  UserCollectionFolders_Single_Resource_Data_Document: {
22777
23205
  data: components["schemas"]["UserCollectionFolders_Resource_Object"];
22778
23206
  included?: components["schemas"]["Included"];
@@ -22795,8 +23223,20 @@ export interface components {
22795
23223
  data: components["schemas"]["UserCollectionPlaylistsItemsRelationshipAddOperation_Payload_Data"][];
22796
23224
  };
22797
23225
  UserCollectionPlaylistsItemsRelationshipAddOperation_Payload_Data: {
23226
+ id: string;
23227
+ meta?: components["schemas"]["UserCollectionPlaylistsItemsRelationshipAddOperation_Payload_Data_Meta"];
23228
+ /** @enum {string} */
23229
+ type: "playlists";
23230
+ };
23231
+ UserCollectionPlaylistsItemsRelationshipAddOperation_Payload_Data_Meta: {
23232
+ /** Format: date-time */
23233
+ addedAt?: string;
23234
+ };
23235
+ UserCollectionPlaylistsItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
22798
23236
  id: string;
22799
23237
  /** @enum {string} */
23238
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
23239
+ /** @enum {string} */
22800
23240
  type: "playlists";
22801
23241
  };
22802
23242
  UserCollectionPlaylistsItemsRelationshipRemoveOperation_Payload: {
@@ -22807,7 +23247,27 @@ export interface components {
22807
23247
  /** @enum {string} */
22808
23248
  type: "playlists";
22809
23249
  };
22810
- UserCollectionPlaylists_Attributes: Record<string, never>;
23250
+ UserCollectionPlaylists_Attributes: {
23251
+ /**
23252
+ * Format: date-time
23253
+ * @description When the collection was last modified
23254
+ */
23255
+ lastModifiedAt?: string;
23256
+ /**
23257
+ * Format: int32
23258
+ * @description Number of items in the collection
23259
+ */
23260
+ numberOfItems: number;
23261
+ };
23262
+ UserCollectionPlaylists_Items_Add_Multi_Relationship_Data_Document: {
23263
+ data?: components["schemas"]["UserCollectionPlaylists_Items_Resource_Identifier"][];
23264
+ included?: components["schemas"]["Included"];
23265
+ links: components["schemas"]["Links"];
23266
+ meta?: components["schemas"]["UserCollectionPlaylists_Items_Add_Multi_Relationship_Data_Document_Meta"];
23267
+ };
23268
+ UserCollectionPlaylists_Items_Add_Multi_Relationship_Data_Document_Meta: {
23269
+ skipped: components["schemas"]["UserCollectionPlaylistsItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
23270
+ };
22811
23271
  UserCollectionPlaylists_Items_Multi_Relationship_Data_Document: {
22812
23272
  data?: components["schemas"]["UserCollectionPlaylists_Items_Resource_Identifier"][];
22813
23273
  included?: components["schemas"]["Included"];
@@ -22884,6 +23344,13 @@ export interface components {
22884
23344
  /** @enum {string} */
22885
23345
  type: "tracks" | "albums" | "artists" | "playlists" | "videos";
22886
23346
  };
23347
+ UserCollectionSaveForLatersItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
23348
+ id: string;
23349
+ /** @enum {string} */
23350
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
23351
+ /** @enum {string} */
23352
+ type: "tracks" | "albums" | "artists" | "playlists" | "videos";
23353
+ };
22887
23354
  UserCollectionSaveForLatersItemsRelationshipRemoveOperation_Payload: {
22888
23355
  data: components["schemas"]["UserCollectionSaveForLatersItemsRelationshipRemoveOperation_Payload_Data"][];
22889
23356
  };
@@ -22892,7 +23359,27 @@ export interface components {
22892
23359
  /** @enum {string} */
22893
23360
  type: "tracks" | "albums" | "artists" | "playlists" | "videos";
22894
23361
  };
22895
- UserCollectionSaveForLaters_Attributes: Record<string, never>;
23362
+ UserCollectionSaveForLaters_Attributes: {
23363
+ /**
23364
+ * Format: date-time
23365
+ * @description When the collection was last modified
23366
+ */
23367
+ lastModifiedAt?: string;
23368
+ /**
23369
+ * Format: int32
23370
+ * @description Number of items in the collection
23371
+ */
23372
+ numberOfItems: number;
23373
+ };
23374
+ UserCollectionSaveForLaters_Items_Add_Multi_Relationship_Data_Document: {
23375
+ data?: components["schemas"]["UserCollectionSaveForLaters_Items_Resource_Identifier"][];
23376
+ included?: components["schemas"]["Included"];
23377
+ links: components["schemas"]["Links"];
23378
+ meta?: components["schemas"]["UserCollectionSaveForLaters_Items_Add_Multi_Relationship_Data_Document_Meta"];
23379
+ };
23380
+ UserCollectionSaveForLaters_Items_Add_Multi_Relationship_Data_Document_Meta: {
23381
+ skipped: components["schemas"]["UserCollectionSaveForLatersItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
23382
+ };
22896
23383
  UserCollectionSaveForLaters_Items_Multi_Relationship_Data_Document: {
22897
23384
  data?: components["schemas"]["UserCollectionSaveForLaters_Items_Resource_Identifier"][];
22898
23385
  included?: components["schemas"]["Included"];
@@ -22974,6 +23461,13 @@ export interface components {
22974
23461
  /** Format: date-time */
22975
23462
  addedAt?: string;
22976
23463
  };
23464
+ UserCollectionTracksItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
23465
+ id: string;
23466
+ /** @enum {string} */
23467
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
23468
+ /** @enum {string} */
23469
+ type: "tracks";
23470
+ };
22977
23471
  UserCollectionTracksItemsRelationshipRemoveOperation_Payload: {
22978
23472
  data: components["schemas"]["UserCollectionTracksItemsRelationshipRemoveOperation_Payload_Data"][];
22979
23473
  };
@@ -22982,7 +23476,27 @@ export interface components {
22982
23476
  /** @enum {string} */
22983
23477
  type: "tracks";
22984
23478
  };
22985
- UserCollectionTracks_Attributes: Record<string, never>;
23479
+ UserCollectionTracks_Attributes: {
23480
+ /**
23481
+ * Format: date-time
23482
+ * @description When the collection was last modified
23483
+ */
23484
+ lastModifiedAt?: string;
23485
+ /**
23486
+ * Format: int32
23487
+ * @description Number of items in the collection
23488
+ */
23489
+ numberOfItems: number;
23490
+ };
23491
+ UserCollectionTracks_Items_Add_Multi_Relationship_Data_Document: {
23492
+ data?: components["schemas"]["UserCollectionTracks_Items_Resource_Identifier"][];
23493
+ included?: components["schemas"]["Included"];
23494
+ links: components["schemas"]["Links"];
23495
+ meta?: components["schemas"]["UserCollectionTracks_Items_Add_Multi_Relationship_Data_Document_Meta"];
23496
+ };
23497
+ UserCollectionTracks_Items_Add_Multi_Relationship_Data_Document_Meta: {
23498
+ skipped: components["schemas"]["UserCollectionTracksItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
23499
+ };
22986
23500
  UserCollectionTracks_Items_Multi_Relationship_Data_Document: {
22987
23501
  data?: components["schemas"]["UserCollectionTracks_Items_Resource_Identifier"][];
22988
23502
  included?: components["schemas"]["Included"];
@@ -23056,6 +23570,18 @@ export interface components {
23056
23570
  };
23057
23571
  UserCollectionVideosItemsRelationshipAddOperation_Payload_Data: {
23058
23572
  id: string;
23573
+ meta?: components["schemas"]["UserCollectionVideosItemsRelationshipAddOperation_Payload_Data_Meta"];
23574
+ /** @enum {string} */
23575
+ type: "videos";
23576
+ };
23577
+ UserCollectionVideosItemsRelationshipAddOperation_Payload_Data_Meta: {
23578
+ /** Format: date-time */
23579
+ addedAt?: string;
23580
+ };
23581
+ UserCollectionVideosItemsRelationshipAddOperation_Response_Meta_SkippedItem: {
23582
+ id: string;
23583
+ /** @enum {string} */
23584
+ reason: "NOT_FOUND" | "ALREADY_PRESENT";
23059
23585
  /** @enum {string} */
23060
23586
  type: "videos";
23061
23587
  };
@@ -23067,7 +23593,27 @@ export interface components {
23067
23593
  /** @enum {string} */
23068
23594
  type: "videos";
23069
23595
  };
23070
- UserCollectionVideos_Attributes: Record<string, never>;
23596
+ UserCollectionVideos_Attributes: {
23597
+ /**
23598
+ * Format: date-time
23599
+ * @description When the collection was last modified
23600
+ */
23601
+ lastModifiedAt?: string;
23602
+ /**
23603
+ * Format: int32
23604
+ * @description Number of items in the collection
23605
+ */
23606
+ numberOfItems: number;
23607
+ };
23608
+ UserCollectionVideos_Items_Add_Multi_Relationship_Data_Document: {
23609
+ data?: components["schemas"]["UserCollectionVideos_Items_Resource_Identifier"][];
23610
+ included?: components["schemas"]["Included"];
23611
+ links: components["schemas"]["Links"];
23612
+ meta?: components["schemas"]["UserCollectionVideos_Items_Add_Multi_Relationship_Data_Document_Meta"];
23613
+ };
23614
+ UserCollectionVideos_Items_Add_Multi_Relationship_Data_Document_Meta: {
23615
+ skipped: components["schemas"]["UserCollectionVideosItemsRelationshipAddOperation_Response_Meta_SkippedItem"][];
23616
+ };
23071
23617
  UserCollectionVideos_Items_Multi_Relationship_Data_Document: {
23072
23618
  data?: components["schemas"]["UserCollectionVideos_Items_Resource_Identifier"][];
23073
23619
  included?: components["schemas"]["Included"];
@@ -23553,6 +24099,178 @@ export interface components {
23553
24099
  included?: components["schemas"]["Included"];
23554
24100
  links: components["schemas"]["Links"];
23555
24101
  };
24102
+ UserRecommendationBlocksAddMultiDataRelationshipWithResponse409ResponseBody: {
24103
+ errors: {
24104
+ /**
24105
+ * @example IDEMPOTENT_REQUEST_IN_PROGRESS
24106
+ * @enum {string}
24107
+ */
24108
+ code: "IDEMPOTENT_REQUEST_IN_PROGRESS" | "MAXIMUM_NUMBER_OF_BLOCKS_EXCEEDED";
24109
+ /** @example You have reached the maximum number of blocked recommendation items. Please remove some blocked items before adding more. */
24110
+ detail?: string;
24111
+ /** @example 409 */
24112
+ status: string;
24113
+ }[];
24114
+ };
24115
+ UserRecommendationBlocksArtistsRelationshipAddOperation_Payload: {
24116
+ data: components["schemas"]["UserRecommendationBlocksArtistsRelationshipAddOperation_Payload_Data"][];
24117
+ };
24118
+ UserRecommendationBlocksArtistsRelationshipAddOperation_Payload_Data: {
24119
+ id: string;
24120
+ /** @enum {string} */
24121
+ type: "artists";
24122
+ };
24123
+ UserRecommendationBlocksArtistsRelationshipRemoveOperation_Payload: {
24124
+ data: components["schemas"]["UserRecommendationBlocksArtistsRelationshipRemoveOperation_Payload_Data"][];
24125
+ };
24126
+ UserRecommendationBlocksArtistsRelationshipRemoveOperation_Payload_Data: {
24127
+ id: string;
24128
+ /** @enum {string} */
24129
+ type: "artists";
24130
+ };
24131
+ UserRecommendationBlocksTracksRelationshipAddOperation_Payload: {
24132
+ data: components["schemas"]["UserRecommendationBlocksTracksRelationshipAddOperation_Payload_Data"][];
24133
+ };
24134
+ UserRecommendationBlocksTracksRelationshipAddOperation_Payload_Data: {
24135
+ id: string;
24136
+ /** @enum {string} */
24137
+ type: "tracks";
24138
+ };
24139
+ UserRecommendationBlocksTracksRelationshipRemoveOperation_Payload: {
24140
+ data: components["schemas"]["UserRecommendationBlocksTracksRelationshipRemoveOperation_Payload_Data"][];
24141
+ };
24142
+ UserRecommendationBlocksTracksRelationshipRemoveOperation_Payload_Data: {
24143
+ id: string;
24144
+ /** @enum {string} */
24145
+ type: "tracks";
24146
+ };
24147
+ UserRecommendationBlocksVideosRelationshipAddOperation_Payload: {
24148
+ data: components["schemas"]["UserRecommendationBlocksVideosRelationshipAddOperation_Payload_Data"][];
24149
+ };
24150
+ UserRecommendationBlocksVideosRelationshipAddOperation_Payload_Data: {
24151
+ id: string;
24152
+ /** @enum {string} */
24153
+ type: "videos";
24154
+ };
24155
+ UserRecommendationBlocksVideosRelationshipRemoveOperation_Payload: {
24156
+ data: components["schemas"]["UserRecommendationBlocksVideosRelationshipRemoveOperation_Payload_Data"][];
24157
+ };
24158
+ UserRecommendationBlocksVideosRelationshipRemoveOperation_Payload_Data: {
24159
+ id: string;
24160
+ /** @enum {string} */
24161
+ type: "videos";
24162
+ };
24163
+ UserRecommendationBlocks_Artists_Multi_Relationship_Data_Document: {
24164
+ data?: components["schemas"]["UserRecommendationBlocks_Artists_Resource_Identifier"][];
24165
+ included?: components["schemas"]["Included"];
24166
+ links: components["schemas"]["Links"];
24167
+ };
24168
+ UserRecommendationBlocks_Artists_Resource_Identifier: {
24169
+ /**
24170
+ * @description Resource id
24171
+ * @example 12345
24172
+ */
24173
+ id: string;
24174
+ meta?: components["schemas"]["UserRecommendationBlocks_Artists_Resource_Identifier_Meta"];
24175
+ /**
24176
+ * @description Resource type
24177
+ * @example tracks
24178
+ */
24179
+ type: string;
24180
+ };
24181
+ UserRecommendationBlocks_Artists_Resource_Identifier_Meta: {
24182
+ /**
24183
+ * Format: date-time
24184
+ * @description When the item was blocked
24185
+ */
24186
+ createdAt: string;
24187
+ };
24188
+ UserRecommendationBlocks_Attributes: Record<string, never>;
24189
+ UserRecommendationBlocks_Multi_Relationship_Data_Document: {
24190
+ data?: components["schemas"]["Resource_Identifier"][];
24191
+ included?: components["schemas"]["Included"];
24192
+ links: components["schemas"]["Links"];
24193
+ };
24194
+ UserRecommendationBlocks_Multi_Resource_Data_Document: {
24195
+ data: components["schemas"]["UserRecommendationBlocks_Resource_Object"][];
24196
+ included?: components["schemas"]["Included"];
24197
+ links: components["schemas"]["Links"];
24198
+ };
24199
+ UserRecommendationBlocks_Relationships: {
24200
+ artists?: components["schemas"]["UserRecommendationBlocks_Artists_Multi_Relationship_Data_Document"];
24201
+ owners?: components["schemas"]["Multi_Relationship_Data_Document"];
24202
+ tracks?: components["schemas"]["UserRecommendationBlocks_Tracks_Multi_Relationship_Data_Document"];
24203
+ videos?: components["schemas"]["UserRecommendationBlocks_Videos_Multi_Relationship_Data_Document"];
24204
+ };
24205
+ UserRecommendationBlocks_Resource_Object: {
24206
+ attributes?: components["schemas"]["UserRecommendationBlocks_Attributes"];
24207
+ /**
24208
+ * @description Resource id
24209
+ * @example 12345
24210
+ */
24211
+ id: string;
24212
+ relationships?: components["schemas"]["UserRecommendationBlocks_Relationships"];
24213
+ /**
24214
+ * @description Resource type (enum property replaced by openapi-typescript)
24215
+ * @enum {string}
24216
+ */
24217
+ type: "userRecommendationBlocks";
24218
+ };
24219
+ UserRecommendationBlocks_Single_Resource_Data_Document: {
24220
+ data: components["schemas"]["UserRecommendationBlocks_Resource_Object"];
24221
+ included?: components["schemas"]["Included"];
24222
+ links: components["schemas"]["Links"];
24223
+ };
24224
+ UserRecommendationBlocks_Tracks_Multi_Relationship_Data_Document: {
24225
+ data?: components["schemas"]["UserRecommendationBlocks_Tracks_Resource_Identifier"][];
24226
+ included?: components["schemas"]["Included"];
24227
+ links: components["schemas"]["Links"];
24228
+ };
24229
+ UserRecommendationBlocks_Tracks_Resource_Identifier: {
24230
+ /**
24231
+ * @description Resource id
24232
+ * @example 12345
24233
+ */
24234
+ id: string;
24235
+ meta?: components["schemas"]["UserRecommendationBlocks_Tracks_Resource_Identifier_Meta"];
24236
+ /**
24237
+ * @description Resource type
24238
+ * @example tracks
24239
+ */
24240
+ type: string;
24241
+ };
24242
+ UserRecommendationBlocks_Tracks_Resource_Identifier_Meta: {
24243
+ /**
24244
+ * Format: date-time
24245
+ * @description When the item was blocked
24246
+ */
24247
+ createdAt: string;
24248
+ };
24249
+ UserRecommendationBlocks_Videos_Multi_Relationship_Data_Document: {
24250
+ data?: components["schemas"]["UserRecommendationBlocks_Videos_Resource_Identifier"][];
24251
+ included?: components["schemas"]["Included"];
24252
+ links: components["schemas"]["Links"];
24253
+ };
24254
+ UserRecommendationBlocks_Videos_Resource_Identifier: {
24255
+ /**
24256
+ * @description Resource id
24257
+ * @example 12345
24258
+ */
24259
+ id: string;
24260
+ meta?: components["schemas"]["UserRecommendationBlocks_Videos_Resource_Identifier_Meta"];
24261
+ /**
24262
+ * @description Resource type
24263
+ * @example tracks
24264
+ */
24265
+ type: string;
24266
+ };
24267
+ UserRecommendationBlocks_Videos_Resource_Identifier_Meta: {
24268
+ /**
24269
+ * Format: date-time
24270
+ * @description When the item was blocked
24271
+ */
24272
+ createdAt: string;
24273
+ };
23556
24274
  UserRecommendations_Attributes: Record<string, never>;
23557
24275
  UserRecommendations_Multi_Relationship_Data_Document: {
23558
24276
  data?: components["schemas"]["Resource_Identifier"][];
@@ -24061,6 +24779,15 @@ export interface components {
24061
24779
  "application/vnd.api+json": components["schemas"]["UserCollectionsAddMultiDataRelationship409ResponseBody"];
24062
24780
  };
24063
24781
  };
24782
+ /** @description You have reached the maximum number of blocked recommendation items. Please remove some blocked items before adding more.; A request with this idempotency key is currently being processed */
24783
+ UserRecommendationBlocksAddMultiDataRelationshipWithResponse409Response: {
24784
+ headers: {
24785
+ [name: string]: unknown;
24786
+ };
24787
+ content: {
24788
+ "application/vnd.api+json": components["schemas"]["UserRecommendationBlocksAddMultiDataRelationshipWithResponse409ResponseBody"];
24789
+ };
24790
+ };
24064
24791
  /** @description Cannot fulfill this request because required prerequisites are missing; The requested content is not available in your location; The requested content must be purchased to be accessed; Client is not allowed to access this content; This account is playing on another app or device */
24065
24792
  VideoManifestsReadById403Response: {
24066
24793
  headers: {