@tidal-music/api 0.31.0 → 0.32.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.
- package/dist/src/allAPI.generated.d.ts +174 -14
- package/package.json +1 -1
|
@@ -5550,6 +5550,172 @@ export interface paths {
|
|
|
5550
5550
|
patch?: never;
|
|
5551
5551
|
trace?: never;
|
|
5552
5552
|
};
|
|
5553
|
+
"/dynamicModules": {
|
|
5554
|
+
parameters: {
|
|
5555
|
+
query?: never;
|
|
5556
|
+
header?: never;
|
|
5557
|
+
path?: never;
|
|
5558
|
+
cookie?: never;
|
|
5559
|
+
};
|
|
5560
|
+
/**
|
|
5561
|
+
* Get multiple dynamicModules.
|
|
5562
|
+
* @description Retrieves multiple dynamicModules by available filters, or without if applicable.
|
|
5563
|
+
*/
|
|
5564
|
+
get: {
|
|
5565
|
+
parameters: {
|
|
5566
|
+
query: {
|
|
5567
|
+
refreshId?: string;
|
|
5568
|
+
/**
|
|
5569
|
+
* @description ISO 3166-1 alpha-2 country code
|
|
5570
|
+
* @example US
|
|
5571
|
+
*/
|
|
5572
|
+
countryCode?: string;
|
|
5573
|
+
/**
|
|
5574
|
+
* @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
|
|
5575
|
+
* @example en-US
|
|
5576
|
+
*/
|
|
5577
|
+
locale?: string;
|
|
5578
|
+
/**
|
|
5579
|
+
* @description The type of device making the request
|
|
5580
|
+
* @example PHONE
|
|
5581
|
+
*/
|
|
5582
|
+
deviceType: "BROWSER" | "CAR" | "DESKTOP" | "PHONE" | "TABLET" | "TV";
|
|
5583
|
+
/**
|
|
5584
|
+
* @description The system type of the device making the request
|
|
5585
|
+
* @example IOS
|
|
5586
|
+
*/
|
|
5587
|
+
systemType: "ANDROID" | "DESKTOP" | "TESLA" | "IOS" | "WEB";
|
|
5588
|
+
/**
|
|
5589
|
+
* @description Client version number
|
|
5590
|
+
* @example 2026.0.1
|
|
5591
|
+
*/
|
|
5592
|
+
clientVersion: string;
|
|
5593
|
+
/**
|
|
5594
|
+
* @description Allows the client to customize which related resources should be returned. Available options: items
|
|
5595
|
+
* @example items
|
|
5596
|
+
*/
|
|
5597
|
+
include?: string[];
|
|
5598
|
+
/** @description DynamicModules Id (e.g. `nejMcAhh5N8S3EQ4LaqysVdI0cZZ`) */
|
|
5599
|
+
"filter[id]": string[];
|
|
5600
|
+
};
|
|
5601
|
+
header?: never;
|
|
5602
|
+
path?: never;
|
|
5603
|
+
cookie?: never;
|
|
5604
|
+
};
|
|
5605
|
+
requestBody?: never;
|
|
5606
|
+
responses: {
|
|
5607
|
+
/** @description Successful response */
|
|
5608
|
+
200: {
|
|
5609
|
+
headers: {
|
|
5610
|
+
[name: string]: unknown;
|
|
5611
|
+
};
|
|
5612
|
+
content: {
|
|
5613
|
+
"application/vnd.api+json": components["schemas"]["DynamicModules_Multi_Resource_Data_Document"];
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
|
+
400: components["responses"]["Default400Response"];
|
|
5617
|
+
404: components["responses"]["Default404Response"];
|
|
5618
|
+
405: components["responses"]["Default405Response"];
|
|
5619
|
+
406: components["responses"]["Default406Response"];
|
|
5620
|
+
415: components["responses"]["Default415Response"];
|
|
5621
|
+
429: components["responses"]["Default429Response"];
|
|
5622
|
+
500: components["responses"]["Default500Response"];
|
|
5623
|
+
503: components["responses"]["Default503Response"];
|
|
5624
|
+
};
|
|
5625
|
+
};
|
|
5626
|
+
put?: never;
|
|
5627
|
+
post?: never;
|
|
5628
|
+
delete?: never;
|
|
5629
|
+
options?: never;
|
|
5630
|
+
head?: never;
|
|
5631
|
+
patch?: never;
|
|
5632
|
+
trace?: never;
|
|
5633
|
+
};
|
|
5634
|
+
"/dynamicModules/{id}": {
|
|
5635
|
+
parameters: {
|
|
5636
|
+
query?: never;
|
|
5637
|
+
header?: never;
|
|
5638
|
+
path?: never;
|
|
5639
|
+
cookie?: never;
|
|
5640
|
+
};
|
|
5641
|
+
/**
|
|
5642
|
+
* Get single dynamicModule.
|
|
5643
|
+
* @description Retrieves single dynamicModule by id.
|
|
5644
|
+
*/
|
|
5645
|
+
get: {
|
|
5646
|
+
parameters: {
|
|
5647
|
+
query: {
|
|
5648
|
+
refreshId?: string;
|
|
5649
|
+
/**
|
|
5650
|
+
* @description ISO 3166-1 alpha-2 country code
|
|
5651
|
+
* @example US
|
|
5652
|
+
*/
|
|
5653
|
+
countryCode?: string;
|
|
5654
|
+
/**
|
|
5655
|
+
* @description BCP 47 locale (e.g., en-US, nb-NO, pt-BR). Defaults to en-US if not provided or unsupported.
|
|
5656
|
+
* @example en-US
|
|
5657
|
+
*/
|
|
5658
|
+
locale?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* @description The type of device making the request
|
|
5661
|
+
* @example PHONE
|
|
5662
|
+
*/
|
|
5663
|
+
deviceType: "BROWSER" | "CAR" | "DESKTOP" | "PHONE" | "TABLET" | "TV";
|
|
5664
|
+
/**
|
|
5665
|
+
* @description The system type of the device making the request
|
|
5666
|
+
* @example IOS
|
|
5667
|
+
*/
|
|
5668
|
+
systemType: "ANDROID" | "DESKTOP" | "TESLA" | "IOS" | "WEB";
|
|
5669
|
+
/**
|
|
5670
|
+
* @description Client version number
|
|
5671
|
+
* @example 2026.0.1
|
|
5672
|
+
*/
|
|
5673
|
+
clientVersion: string;
|
|
5674
|
+
/**
|
|
5675
|
+
* @description Allows the client to customize which related resources should be returned. Available options: items
|
|
5676
|
+
* @example items
|
|
5677
|
+
*/
|
|
5678
|
+
include?: string[];
|
|
5679
|
+
};
|
|
5680
|
+
header?: never;
|
|
5681
|
+
path: {
|
|
5682
|
+
/**
|
|
5683
|
+
* @description DynamicModules Id
|
|
5684
|
+
* @example nejMcAhh5N8S3EQ4LaqysVdI0cZZ
|
|
5685
|
+
*/
|
|
5686
|
+
id: string;
|
|
5687
|
+
};
|
|
5688
|
+
cookie?: never;
|
|
5689
|
+
};
|
|
5690
|
+
requestBody?: never;
|
|
5691
|
+
responses: {
|
|
5692
|
+
/** @description Successful response */
|
|
5693
|
+
200: {
|
|
5694
|
+
headers: {
|
|
5695
|
+
[name: string]: unknown;
|
|
5696
|
+
};
|
|
5697
|
+
content: {
|
|
5698
|
+
"application/vnd.api+json": components["schemas"]["DynamicModules_Single_Resource_Data_Document"];
|
|
5699
|
+
};
|
|
5700
|
+
};
|
|
5701
|
+
400: components["responses"]["Default400Response"];
|
|
5702
|
+
404: components["responses"]["Default404Response"];
|
|
5703
|
+
405: components["responses"]["Default405Response"];
|
|
5704
|
+
406: components["responses"]["Default406Response"];
|
|
5705
|
+
415: components["responses"]["Default415Response"];
|
|
5706
|
+
429: components["responses"]["Default429Response"];
|
|
5707
|
+
500: components["responses"]["Default500Response"];
|
|
5708
|
+
503: components["responses"]["Default503Response"];
|
|
5709
|
+
};
|
|
5710
|
+
};
|
|
5711
|
+
put?: never;
|
|
5712
|
+
post?: never;
|
|
5713
|
+
delete?: never;
|
|
5714
|
+
options?: never;
|
|
5715
|
+
head?: never;
|
|
5716
|
+
patch?: never;
|
|
5717
|
+
trace?: never;
|
|
5718
|
+
};
|
|
5553
5719
|
"/dynamicModules/{id}/relationships/items": {
|
|
5554
5720
|
parameters: {
|
|
5555
5721
|
query?: never;
|
|
@@ -20379,23 +20545,11 @@ export interface components {
|
|
|
20379
20545
|
*/
|
|
20380
20546
|
icons: ("SPOTLIGHT_INFO" | "UNKNOWN")[];
|
|
20381
20547
|
/**
|
|
20382
|
-
* @description
|
|
20383
|
-
* @example COMPACT
|
|
20384
|
-
* @enum {string}
|
|
20385
|
-
*/
|
|
20386
|
-
layoutType: "COMPACT" | "GRID" | "UNKNOWN";
|
|
20387
|
-
/**
|
|
20388
|
-
* @description Type of representation of the module
|
|
20548
|
+
* @description Layout of the module preview on the dynamic page
|
|
20389
20549
|
* @example HORIZONTAL_LIST
|
|
20390
20550
|
* @enum {string}
|
|
20391
20551
|
*/
|
|
20392
|
-
|
|
20393
|
-
/**
|
|
20394
|
-
* @description Type of source represented by the module
|
|
20395
|
-
* @example SHORTCUTS
|
|
20396
|
-
* @enum {string}
|
|
20397
|
-
*/
|
|
20398
|
-
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" | "ARTIST_DISCOGRAPHY" | "ALBUM_ITEMS" | "ALBUM_MORE_BY_ARTIST" | "ALBUM_OTHER_VERSIONS" | "ALBUM_RELATED_ALBUMS" | "ALBUM_RELATED_ARTISTS" | "COLLECTION_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" | "ARTIST_POPULAR_RELEASES" | "PURCHASES_FOR_YOU" | "UNKNOWN";
|
|
20552
|
+
previewLayout: "ARTIST_LIST" | "COMPACT_GRID_CARD" | "COMPACT_HORIZONTAL_LIST" | "COMPACT_HORIZONTAL_LIST_WITH_CONTEXT" | "FEATURED_CARD" | "GRID_CARD" | "GRID_CARD_WITH_CONTEXT" | "GRID_HIGHLIGHT_CARD" | "ANNIVERSARY_CARD" | "ARTIST_BIRTHDAY_CARD" | "ARTIST_MEMORIAM_CARD" | "ARTIST_TRACK_CREDITS_CARD" | "PILL_LIST" | "VERTICAL_LIST" | "DISCOGRAPHY_TABS" | "MAGAZINE_LIST" | "HORIZONTAL_LIST" | "HORIZONTAL_LIST_WITH_CONTEXT" | "SHORTCUT_LIST" | "TRACK_LIST" | "VERTICAL_LIST_CARD" | "TEXT_CARD" | "LINKS_LIST" | "PUBLIC_PLAYLIST_LIST";
|
|
20399
20553
|
/**
|
|
20400
20554
|
* @description Subtitle of the module
|
|
20401
20555
|
* @example Short description of this module
|
|
@@ -20406,6 +20560,12 @@ export interface components {
|
|
|
20406
20560
|
* @example Shortcuts
|
|
20407
20561
|
*/
|
|
20408
20562
|
title?: string;
|
|
20563
|
+
/**
|
|
20564
|
+
* @description Layout of the module's items in the view all screen
|
|
20565
|
+
* @example COMPACT
|
|
20566
|
+
* @enum {string}
|
|
20567
|
+
*/
|
|
20568
|
+
viewAllLayout: "COMPACT" | "GRID" | "UNKNOWN";
|
|
20409
20569
|
};
|
|
20410
20570
|
DynamicModules_Multi_Relationship_Data_Document: {
|
|
20411
20571
|
data?: components["schemas"]["Resource_Identifier"][];
|