@tidal-music/api 0.32.0 → 0.34.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 +43 -19
- package/package.json +1 -1
|
@@ -5564,7 +5564,8 @@ export interface paths {
|
|
|
5564
5564
|
get: {
|
|
5565
5565
|
parameters: {
|
|
5566
5566
|
query: {
|
|
5567
|
-
|
|
5567
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5568
|
+
refreshSeed?: string;
|
|
5568
5569
|
/**
|
|
5569
5570
|
* @description ISO 3166-1 alpha-2 country code
|
|
5570
5571
|
* @example US
|
|
@@ -5645,7 +5646,8 @@ export interface paths {
|
|
|
5645
5646
|
get: {
|
|
5646
5647
|
parameters: {
|
|
5647
5648
|
query: {
|
|
5648
|
-
|
|
5649
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5650
|
+
refreshSeed?: string;
|
|
5649
5651
|
/**
|
|
5650
5652
|
* @description ISO 3166-1 alpha-2 country code
|
|
5651
5653
|
* @example US
|
|
@@ -5730,7 +5732,8 @@ export interface paths {
|
|
|
5730
5732
|
get: {
|
|
5731
5733
|
parameters: {
|
|
5732
5734
|
query: {
|
|
5733
|
-
|
|
5735
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5736
|
+
refreshSeed?: string;
|
|
5734
5737
|
/** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
|
|
5735
5738
|
"page[cursor]"?: string;
|
|
5736
5739
|
/**
|
|
@@ -5817,7 +5820,8 @@ export interface paths {
|
|
|
5817
5820
|
get: {
|
|
5818
5821
|
parameters: {
|
|
5819
5822
|
query: {
|
|
5820
|
-
|
|
5823
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5824
|
+
refreshSeed?: string;
|
|
5821
5825
|
/**
|
|
5822
5826
|
* @description ISO 3166-1 alpha-2 country code
|
|
5823
5827
|
* @example US
|
|
@@ -5844,8 +5848,8 @@ export interface paths {
|
|
|
5844
5848
|
*/
|
|
5845
5849
|
clientVersion: string;
|
|
5846
5850
|
/**
|
|
5847
|
-
* @description Allows the client to customize which related resources should be returned. Available options:
|
|
5848
|
-
* @example
|
|
5851
|
+
* @description Allows the client to customize which related resources should be returned. Available options: modules, subject
|
|
5852
|
+
* @example modules
|
|
5849
5853
|
*/
|
|
5850
5854
|
include?: string[];
|
|
5851
5855
|
/** @description type of the page (e.g. `ARTIST`) */
|
|
@@ -5886,7 +5890,7 @@ export interface paths {
|
|
|
5886
5890
|
patch?: never;
|
|
5887
5891
|
trace?: never;
|
|
5888
5892
|
};
|
|
5889
|
-
"/dynamicPages/{id}/relationships/
|
|
5893
|
+
"/dynamicPages/{id}/relationships/modules": {
|
|
5890
5894
|
parameters: {
|
|
5891
5895
|
query?: never;
|
|
5892
5896
|
header?: never;
|
|
@@ -5894,13 +5898,14 @@ export interface paths {
|
|
|
5894
5898
|
cookie?: never;
|
|
5895
5899
|
};
|
|
5896
5900
|
/**
|
|
5897
|
-
* Get
|
|
5898
|
-
* @description Retrieves
|
|
5901
|
+
* Get modules relationship ("to-many").
|
|
5902
|
+
* @description Retrieves modules relationship.
|
|
5899
5903
|
*/
|
|
5900
5904
|
get: {
|
|
5901
5905
|
parameters: {
|
|
5902
5906
|
query: {
|
|
5903
|
-
|
|
5907
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5908
|
+
refreshSeed?: string;
|
|
5904
5909
|
/** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
|
|
5905
5910
|
"page[cursor]"?: string;
|
|
5906
5911
|
/**
|
|
@@ -5929,8 +5934,8 @@ export interface paths {
|
|
|
5929
5934
|
*/
|
|
5930
5935
|
clientVersion: string;
|
|
5931
5936
|
/**
|
|
5932
|
-
* @description Allows the client to customize which related resources should be returned. Available options:
|
|
5933
|
-
* @example
|
|
5937
|
+
* @description Allows the client to customize which related resources should be returned. Available options: modules
|
|
5938
|
+
* @example modules
|
|
5934
5939
|
*/
|
|
5935
5940
|
include?: string[];
|
|
5936
5941
|
};
|
|
@@ -19201,6 +19206,7 @@ export interface components {
|
|
|
19201
19206
|
type: string;
|
|
19202
19207
|
};
|
|
19203
19208
|
Albums_Items_Resource_Identifier_Meta: {
|
|
19209
|
+
itemCursor?: string;
|
|
19204
19210
|
/**
|
|
19205
19211
|
* Format: int32
|
|
19206
19212
|
* @description track number
|
|
@@ -20541,15 +20547,21 @@ export interface components {
|
|
|
20541
20547
|
DynamicModules_Attributes: {
|
|
20542
20548
|
/**
|
|
20543
20549
|
* @description Type of icons the module should show
|
|
20544
|
-
* @example
|
|
20550
|
+
* @example SPOTLIGHT_INFO
|
|
20545
20551
|
*/
|
|
20546
20552
|
icons: ("SPOTLIGHT_INFO" | "UNKNOWN")[];
|
|
20547
20553
|
/**
|
|
20548
|
-
* @description
|
|
20554
|
+
* @description Semantic kind of the module, describing its product purpose and expected item domain.
|
|
20555
|
+
* @example ALBUM_RELATED_ALBUMS
|
|
20556
|
+
* @enum {string}
|
|
20557
|
+
*/
|
|
20558
|
+
moduleKind: "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";
|
|
20559
|
+
/**
|
|
20560
|
+
* @description Presentation used when rendering the module preview on a dynamic page.
|
|
20549
20561
|
* @example HORIZONTAL_LIST
|
|
20550
20562
|
* @enum {string}
|
|
20551
20563
|
*/
|
|
20552
|
-
|
|
20564
|
+
previewPresentation: "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";
|
|
20553
20565
|
/**
|
|
20554
20566
|
* @description Subtitle of the module
|
|
20555
20567
|
* @example Short description of this module
|
|
@@ -20561,11 +20573,11 @@ export interface components {
|
|
|
20561
20573
|
*/
|
|
20562
20574
|
title?: string;
|
|
20563
20575
|
/**
|
|
20564
|
-
* @description
|
|
20576
|
+
* @description Presentation used when rendering the module's items in the full view-all experience.
|
|
20565
20577
|
* @example COMPACT
|
|
20566
20578
|
* @enum {string}
|
|
20567
20579
|
*/
|
|
20568
|
-
|
|
20580
|
+
viewAllPresentation: "COMPACT" | "GRID" | "UNKNOWN";
|
|
20569
20581
|
};
|
|
20570
20582
|
DynamicModules_Multi_Relationship_Data_Document: {
|
|
20571
20583
|
data?: components["schemas"]["Resource_Identifier"][];
|
|
@@ -20624,7 +20636,7 @@ export interface components {
|
|
|
20624
20636
|
links: components["schemas"]["Links"];
|
|
20625
20637
|
};
|
|
20626
20638
|
DynamicPages_Relationships: {
|
|
20627
|
-
|
|
20639
|
+
modules?: components["schemas"]["Multi_Relationship_Data_Document"];
|
|
20628
20640
|
subject?: components["schemas"]["Single_Relationship_Data_Document"];
|
|
20629
20641
|
};
|
|
20630
20642
|
DynamicPages_Resource_Object: {
|
|
@@ -20634,6 +20646,7 @@ export interface components {
|
|
|
20634
20646
|
* @example 12345
|
|
20635
20647
|
*/
|
|
20636
20648
|
id: string;
|
|
20649
|
+
meta?: components["schemas"]["DynamicPages_Resource_Object_Meta"];
|
|
20637
20650
|
relationships?: components["schemas"]["DynamicPages_Relationships"];
|
|
20638
20651
|
/**
|
|
20639
20652
|
* @description Resource type (enum property replaced by openapi-typescript)
|
|
@@ -20641,6 +20654,13 @@ export interface components {
|
|
|
20641
20654
|
*/
|
|
20642
20655
|
type: "dynamicPages";
|
|
20643
20656
|
};
|
|
20657
|
+
DynamicPages_Resource_Object_Meta: {
|
|
20658
|
+
/**
|
|
20659
|
+
* @description Reason why data has been redacted on this page
|
|
20660
|
+
* @enum {string}
|
|
20661
|
+
*/
|
|
20662
|
+
redactionReason?: "NO_BIRTHDAY" | "MINOR";
|
|
20663
|
+
};
|
|
20644
20664
|
DynamicPages_Single_Relationship_Data_Document: {
|
|
20645
20665
|
data?: components["schemas"]["Resource_Identifier"];
|
|
20646
20666
|
included?: components["schemas"]["Included"];
|
|
@@ -21232,7 +21252,7 @@ export interface components {
|
|
|
21232
21252
|
batchId?: string;
|
|
21233
21253
|
legacySource?: components["schemas"]["LegacySource"];
|
|
21234
21254
|
/** @enum {string} */
|
|
21235
|
-
mode: "ADD_TO_FRONT" | "ADD_TO_BACK" | "ADD_BEFORE" | "REPLACE_ALL";
|
|
21255
|
+
mode: "ADD_TO_FRONT" | "ADD_TO_BACK" | "ADD_BEFORE" | "REPLACE_ALL" | "REPLACE_ALL_AND_CURRENT" | "ADD_TO_FRONT_REPLACE_CURRENT";
|
|
21236
21256
|
positionBefore?: string;
|
|
21237
21257
|
};
|
|
21238
21258
|
PlayQueuesFutureRelationshipRemoveOperation_Payload: {
|
|
@@ -22518,12 +22538,16 @@ export interface components {
|
|
|
22518
22538
|
* @example 12345
|
|
22519
22539
|
*/
|
|
22520
22540
|
id: string;
|
|
22541
|
+
meta?: components["schemas"]["Terms_Resource_Object_Meta"];
|
|
22521
22542
|
/**
|
|
22522
22543
|
* @description Resource type (enum property replaced by openapi-typescript)
|
|
22523
22544
|
* @enum {string}
|
|
22524
22545
|
*/
|
|
22525
22546
|
type: "terms";
|
|
22526
22547
|
};
|
|
22548
|
+
Terms_Resource_Object_Meta: {
|
|
22549
|
+
isLatestVersion: boolean;
|
|
22550
|
+
};
|
|
22527
22551
|
Terms_Single_Resource_Data_Document: {
|
|
22528
22552
|
data: components["schemas"]["Terms_Resource_Object"];
|
|
22529
22553
|
included?: components["schemas"]["Included"];
|