migu-api-enhanced 2.23.0 → 2.25.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/index.d.cts CHANGED
@@ -1,5 +1,7 @@
1
1
  declare const searchSong: (text: string, page?: number) => Promise<any>;
2
2
 
3
+ declare const searchPlaylist: (text: string, page?: number, typeOrder?: number) => Promise<any>;
4
+
3
5
  declare const searchAlbum: (text: string, page?: number, typeOrder?: number) => Promise<any>;
4
6
 
5
7
  declare const searchSinger: (text: string, page?: number) => Promise<any>;
@@ -305,10 +307,10 @@ declare const loginPhone: {
305
307
  declare const getMVRecommend: (mvContentId: string, page?: number) => Promise<any>;
306
308
 
307
309
  /**
308
- * 网页v5 歌单广场
310
+ * 网页v5 歌单广场界面
309
311
  * @returns
310
312
  */
311
- declare const getPlaylistSquarePage: () => Promise<any>;
313
+ declare const getSquarePage: () => Promise<any>;
312
314
 
313
315
  declare const searchLrc: (text: string, page?: number) => Promise<any>;
314
316
 
@@ -1078,6 +1080,48 @@ declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Pro
1078
1080
  newPacmToken: string;
1079
1081
  }>;
1080
1082
 
1083
+ /**
1084
+ * 歌单广场:根据标签获取歌单
1085
+ * @returns
1086
+ */
1087
+ declare const getSquareListByTag: (tagId: string, page: number) => Promise<any>;
1088
+
1089
+ /**
1090
+ * 网页v5 歌单广场推荐歌单 (5个)
1091
+ * @returns
1092
+ */
1093
+ declare const getSquareRecommend: () => Promise<any>;
1094
+
1095
+ /**
1096
+ * 网页v5 歌单广场所有标签
1097
+ * @returns
1098
+ */
1099
+ declare const getSquareTag: (needMoreTag?: boolean) => Promise<any>;
1100
+
1101
+ /** 获取歌曲详情
1102
+ * @param contentIds 歌曲ID列表,多个ID用|分隔 600919000007791840|600929000001520013
1103
+ */
1104
+ declare const getSongInfo: (contentIds: string) => Promise<any>;
1105
+
1106
+ declare const getActivities: () => Promise<any>;
1107
+
1108
+ /**
1109
+ * 查询已购歌曲
1110
+ * @param pacmtoken 用户token
1111
+ * @returns 已购歌曲列表
1112
+ */
1113
+ declare const getUserOrdered: (pacmtoken: string) => Promise<{
1114
+ data: {
1115
+ success: boolean;
1116
+ code: string;
1117
+ info: string;
1118
+ };
1119
+ newPacmToken: undefined;
1120
+ } | {
1121
+ data: any;
1122
+ newPacmToken: string;
1123
+ }>;
1124
+
1081
1125
  /**
1082
1126
  * modules 子目录统一入口
1083
1127
  * 汇总导出所有 API 函数
@@ -1095,6 +1139,7 @@ declare const api_deleteComment: typeof deleteComment;
1095
1139
  declare const api_dislikeSong: typeof dislikeSong;
1096
1140
  declare const api_editUserMyList: typeof editUserMyList;
1097
1141
  declare const api_emojiAction: typeof emojiAction;
1142
+ declare const api_getActivities: typeof getActivities;
1098
1143
  declare const api_getAiBeanCount: typeof getAiBeanCount;
1099
1144
  declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
1100
1145
  declare const api_getAlbumInfo: typeof getAlbumInfo;
@@ -1135,7 +1180,6 @@ declare const api_getPageInfo: typeof getPageInfo;
1135
1180
  declare const api_getPageTab: typeof getPageTab;
1136
1181
  declare const api_getPlaylistInfo: typeof getPlaylistInfo;
1137
1182
  declare const api_getPlaylistSong: typeof getPlaylistSong;
1138
- declare const api_getPlaylistSquarePage: typeof getPlaylistSquarePage;
1139
1183
  declare const api_getRadioRecommend: typeof getRadioRecommend;
1140
1184
  declare const api_getRadioRecommendAll: typeof getRadioRecommendAll;
1141
1185
  declare const api_getRadioSong: typeof getRadioSong;
@@ -1162,6 +1206,11 @@ declare const api_getSingerLetter: typeof getSingerLetter;
1162
1206
  declare const api_getSingerMv: typeof getSingerMv;
1163
1207
  declare const api_getSingerSimilar: typeof getSingerSimilar;
1164
1208
  declare const api_getSingerSong: typeof getSingerSong;
1209
+ declare const api_getSongInfo: typeof getSongInfo;
1210
+ declare const api_getSquareListByTag: typeof getSquareListByTag;
1211
+ declare const api_getSquarePage: typeof getSquarePage;
1212
+ declare const api_getSquareRecommend: typeof getSquareRecommend;
1213
+ declare const api_getSquareTag: typeof getSquareTag;
1165
1214
  declare const api_getThumbsMsg: typeof getThumbsMsg;
1166
1215
  declare const api_getTicketInfo: typeof getTicketInfo;
1167
1216
  declare const api_getTodayRecommend: typeof getTodayRecommend;
@@ -1176,6 +1225,7 @@ declare const api_getUserHeader: typeof getUserHeader;
1176
1225
  declare const api_getUserHeartthrob: typeof getUserHeartthrob;
1177
1226
  declare const api_getUserHomePage: typeof getUserHomePage;
1178
1227
  declare const api_getUserMyList: typeof getUserMyList;
1228
+ declare const api_getUserOrdered: typeof getUserOrdered;
1179
1229
  declare const api_getUserPhoneInfo: typeof getUserPhoneInfo;
1180
1230
  declare const api_getUserSongPage: typeof getUserSongPage;
1181
1231
  declare const api_getVersion: typeof getVersion;
@@ -1200,6 +1250,7 @@ declare const api_searchAlbum: typeof searchAlbum;
1200
1250
  declare const api_searchConcert: typeof searchConcert;
1201
1251
  declare const api_searchLrc: typeof searchLrc;
1202
1252
  declare const api_searchMv: typeof searchMv;
1253
+ declare const api_searchPlaylist: typeof searchPlaylist;
1203
1254
  declare const api_searchRbt: typeof searchRbt;
1204
1255
  declare const api_searchSVideo: typeof searchSVideo;
1205
1256
  declare const api_searchSinger: typeof searchSinger;
@@ -1211,7 +1262,7 @@ declare const api_shareVideo: typeof shareVideo;
1211
1262
  declare const api_signAiBean: typeof signAiBean;
1212
1263
  declare const api_signNinan: typeof signNinan;
1213
1264
  declare namespace api {
1214
- export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
1265
+ export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getActivities as getActivities, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getSongInfo as getSongInfo, api_getSquareListByTag as getSquareListByTag, api_getSquarePage as getSquarePage, api_getSquareRecommend as getSquareRecommend, api_getSquareTag as getSquareTag, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserOrdered as getUserOrdered, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchPlaylist as searchPlaylist, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
1215
1266
  }
1216
1267
 
1217
1268
  declare function getDeviceId(a?: number, b?: number): string;
@@ -1291,4 +1342,4 @@ declare function createClient(): ExpandedApi<typeof api>;
1291
1342
  /** 客户端类型 */
1292
1343
  type MiguClient = ReturnType<typeof createClient>;
1293
1344
 
1294
- export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
1345
+ export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getActivities, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getSongInfo, getSquareListByTag, getSquarePage, getSquareRecommend, getSquareTag, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserOrdered, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchPlaylist, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  declare const searchSong: (text: string, page?: number) => Promise<any>;
2
2
 
3
+ declare const searchPlaylist: (text: string, page?: number, typeOrder?: number) => Promise<any>;
4
+
3
5
  declare const searchAlbum: (text: string, page?: number, typeOrder?: number) => Promise<any>;
4
6
 
5
7
  declare const searchSinger: (text: string, page?: number) => Promise<any>;
@@ -305,10 +307,10 @@ declare const loginPhone: {
305
307
  declare const getMVRecommend: (mvContentId: string, page?: number) => Promise<any>;
306
308
 
307
309
  /**
308
- * 网页v5 歌单广场
310
+ * 网页v5 歌单广场界面
309
311
  * @returns
310
312
  */
311
- declare const getPlaylistSquarePage: () => Promise<any>;
313
+ declare const getSquarePage: () => Promise<any>;
312
314
 
313
315
  declare const searchLrc: (text: string, page?: number) => Promise<any>;
314
316
 
@@ -1078,6 +1080,48 @@ declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Pro
1078
1080
  newPacmToken: string;
1079
1081
  }>;
1080
1082
 
1083
+ /**
1084
+ * 歌单广场:根据标签获取歌单
1085
+ * @returns
1086
+ */
1087
+ declare const getSquareListByTag: (tagId: string, page: number) => Promise<any>;
1088
+
1089
+ /**
1090
+ * 网页v5 歌单广场推荐歌单 (5个)
1091
+ * @returns
1092
+ */
1093
+ declare const getSquareRecommend: () => Promise<any>;
1094
+
1095
+ /**
1096
+ * 网页v5 歌单广场所有标签
1097
+ * @returns
1098
+ */
1099
+ declare const getSquareTag: (needMoreTag?: boolean) => Promise<any>;
1100
+
1101
+ /** 获取歌曲详情
1102
+ * @param contentIds 歌曲ID列表,多个ID用|分隔 600919000007791840|600929000001520013
1103
+ */
1104
+ declare const getSongInfo: (contentIds: string) => Promise<any>;
1105
+
1106
+ declare const getActivities: () => Promise<any>;
1107
+
1108
+ /**
1109
+ * 查询已购歌曲
1110
+ * @param pacmtoken 用户token
1111
+ * @returns 已购歌曲列表
1112
+ */
1113
+ declare const getUserOrdered: (pacmtoken: string) => Promise<{
1114
+ data: {
1115
+ success: boolean;
1116
+ code: string;
1117
+ info: string;
1118
+ };
1119
+ newPacmToken: undefined;
1120
+ } | {
1121
+ data: any;
1122
+ newPacmToken: string;
1123
+ }>;
1124
+
1081
1125
  /**
1082
1126
  * modules 子目录统一入口
1083
1127
  * 汇总导出所有 API 函数
@@ -1095,6 +1139,7 @@ declare const api_deleteComment: typeof deleteComment;
1095
1139
  declare const api_dislikeSong: typeof dislikeSong;
1096
1140
  declare const api_editUserMyList: typeof editUserMyList;
1097
1141
  declare const api_emojiAction: typeof emojiAction;
1142
+ declare const api_getActivities: typeof getActivities;
1098
1143
  declare const api_getAiBeanCount: typeof getAiBeanCount;
1099
1144
  declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
1100
1145
  declare const api_getAlbumInfo: typeof getAlbumInfo;
@@ -1135,7 +1180,6 @@ declare const api_getPageInfo: typeof getPageInfo;
1135
1180
  declare const api_getPageTab: typeof getPageTab;
1136
1181
  declare const api_getPlaylistInfo: typeof getPlaylistInfo;
1137
1182
  declare const api_getPlaylistSong: typeof getPlaylistSong;
1138
- declare const api_getPlaylistSquarePage: typeof getPlaylistSquarePage;
1139
1183
  declare const api_getRadioRecommend: typeof getRadioRecommend;
1140
1184
  declare const api_getRadioRecommendAll: typeof getRadioRecommendAll;
1141
1185
  declare const api_getRadioSong: typeof getRadioSong;
@@ -1162,6 +1206,11 @@ declare const api_getSingerLetter: typeof getSingerLetter;
1162
1206
  declare const api_getSingerMv: typeof getSingerMv;
1163
1207
  declare const api_getSingerSimilar: typeof getSingerSimilar;
1164
1208
  declare const api_getSingerSong: typeof getSingerSong;
1209
+ declare const api_getSongInfo: typeof getSongInfo;
1210
+ declare const api_getSquareListByTag: typeof getSquareListByTag;
1211
+ declare const api_getSquarePage: typeof getSquarePage;
1212
+ declare const api_getSquareRecommend: typeof getSquareRecommend;
1213
+ declare const api_getSquareTag: typeof getSquareTag;
1165
1214
  declare const api_getThumbsMsg: typeof getThumbsMsg;
1166
1215
  declare const api_getTicketInfo: typeof getTicketInfo;
1167
1216
  declare const api_getTodayRecommend: typeof getTodayRecommend;
@@ -1176,6 +1225,7 @@ declare const api_getUserHeader: typeof getUserHeader;
1176
1225
  declare const api_getUserHeartthrob: typeof getUserHeartthrob;
1177
1226
  declare const api_getUserHomePage: typeof getUserHomePage;
1178
1227
  declare const api_getUserMyList: typeof getUserMyList;
1228
+ declare const api_getUserOrdered: typeof getUserOrdered;
1179
1229
  declare const api_getUserPhoneInfo: typeof getUserPhoneInfo;
1180
1230
  declare const api_getUserSongPage: typeof getUserSongPage;
1181
1231
  declare const api_getVersion: typeof getVersion;
@@ -1200,6 +1250,7 @@ declare const api_searchAlbum: typeof searchAlbum;
1200
1250
  declare const api_searchConcert: typeof searchConcert;
1201
1251
  declare const api_searchLrc: typeof searchLrc;
1202
1252
  declare const api_searchMv: typeof searchMv;
1253
+ declare const api_searchPlaylist: typeof searchPlaylist;
1203
1254
  declare const api_searchRbt: typeof searchRbt;
1204
1255
  declare const api_searchSVideo: typeof searchSVideo;
1205
1256
  declare const api_searchSinger: typeof searchSinger;
@@ -1211,7 +1262,7 @@ declare const api_shareVideo: typeof shareVideo;
1211
1262
  declare const api_signAiBean: typeof signAiBean;
1212
1263
  declare const api_signNinan: typeof signNinan;
1213
1264
  declare namespace api {
1214
- export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getPlaylistSquarePage as getPlaylistSquarePage, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
1265
+ export { api_YDRZ as YDRZ, api_addFollower as addFollower, api_addSongToMyList as addSongToMyList, api_addUserCollect as addUserCollect, api_addUserMyList as addUserMyList, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_deleteCloudMusic as deleteCloudMusic, api_deleteComment as deleteComment, api_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_emojiAction as emojiAction, api_getActivities as getActivities, api_getAiBeanCount as getAiBeanCount, api_getAiBeanSignStatus as getAiBeanSignStatus, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getCloudDLUrl as getCloudDLUrl, api_getCloudUploadUrl as getCloudUploadUrl, api_getCloudUrl as getCloudUrl, api_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertRecommendMv as getConcertRecommendMv, api_getConcertUrl as getConcertUrl, api_getDLUrlV1 as getDLUrlV1, api_getEmojiNum as getEmojiNum, api_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, api_getInteractionMsg as getInteractionMsg, api_getListenFreelySongs as getListenFreelySongs, api_getListenFreelyTab as getListenFreelyTab, api_getListenRank as getListenRank, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvBySong as getMvBySong, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSignInfo as getNinanSignInfo, api_getNinanSong as getNinanSong, api_getNoticeMsg as getNoticeMsg, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPageInfo as getPageInfo, api_getPageTab as getPageTab, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRadioRecommendAll as getRadioRecommendAll, api_getRadioSong as getRadioSong, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getRedirectUrl as getRedirectUrl, api_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, api_getSVideoRecommend as getSVideoRecommend, api_getSVideoSearchSuggest as getSVideoSearchSuggest, api_getSVideoUrl as getSVideoUrl, api_getSVideoUserContent as getSVideoUserContent, api_getSVideoUserInfo as getSVideoUserInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSimilarSongRecommend as getSimilarSongRecommend, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, api_getSingerLetter as getSingerLetter, api_getSingerMv as getSingerMv, api_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, api_getSongInfo as getSongInfo, api_getSquareListByTag as getSquareListByTag, api_getSquarePage as getSquarePage, api_getSquareRecommend as getSquareRecommend, api_getSquareTag as getSquareTag, api_getThumbsMsg as getThumbsMsg, api_getTicketInfo as getTicketInfo, api_getTodayRecommend as getTodayRecommend, api_getUrlH5V24 as getUrlH5V24, api_getUrlM2 as getUrlM2, api_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserAudioBook as getUserAudioBook, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHeader as getUserHeader, api_getUserHeartthrob as getUserHeartthrob, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getUserOrdered as getUserOrdered, api_getUserPhoneInfo as getUserPhoneInfo, api_getUserSongPage as getUserSongPage, api_getVersion as getVersion, api_getVipPlaylist as getVipPlaylist, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_isFollowAuthor as isFollowAuthor, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_logout as logout, api_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, api_redeemAiBean as redeemAiBean, api_removeFollower as removeFollower, api_removeSongFromMyList as removeSongFromMyList, api_removeUserCollect as removeUserCollect, api_removeUserMyList as removeUserMyList, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchLrc as searchLrc, api_searchMv as searchMv, api_searchPlaylist as searchPlaylist, api_searchRbt as searchRbt, api_searchSVideo as searchSVideo, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_shareCommon as shareCommon, api_shareVideo as shareVideo, api_signAiBean as signAiBean, api_signNinan as signNinan };
1215
1266
  }
1216
1267
 
1217
1268
  declare function getDeviceId(a?: number, b?: number): string;
@@ -1291,4 +1342,4 @@ declare function createClient(): ExpandedApi<typeof api>;
1291
1342
  /** 客户端类型 */
1292
1343
  type MiguClient = ReturnType<typeof createClient>;
1293
1344
 
1294
- export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
1345
+ export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getActivities, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getNoticeMsg, getOpNum, getPacmToken, getPageInfo, getPageTab, getPlaylistInfo, getPlaylistSong, getPublicKey, getQuality, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceId, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getSongInfo, getSquareListByTag, getSquarePage, getSquareRecommend, getSquareTag, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserOrdered, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, redeemAiBean, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchPlaylist, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signAiBean, signNinan, toneFormat, toneUrl };
package/dist/index.js CHANGED
@@ -19,6 +19,7 @@ __export(modules_exports, {
19
19
  dislikeSong: () => dislikeSong,
20
20
  editUserMyList: () => editUserMyList,
21
21
  emojiAction: () => emojiAction,
22
+ getActivities: () => getActivities,
22
23
  getAiBeanCount: () => getAiBeanCount,
23
24
  getAiBeanSignStatus: () => getAiBeanSignStatus,
24
25
  getAlbumInfo: () => getAlbumInfo,
@@ -59,7 +60,6 @@ __export(modules_exports, {
59
60
  getPageTab: () => getPageTab,
60
61
  getPlaylistInfo: () => getPlaylistInfo,
61
62
  getPlaylistSong: () => getPlaylistSong,
62
- getPlaylistSquarePage: () => getPlaylistSquarePage,
63
63
  getRadioRecommend: () => getRadioRecommend,
64
64
  getRadioRecommendAll: () => getRadioRecommendAll,
65
65
  getRadioSong: () => getRadioSong,
@@ -86,6 +86,11 @@ __export(modules_exports, {
86
86
  getSingerMv: () => getSingerMv,
87
87
  getSingerSimilar: () => getSingerSimilar,
88
88
  getSingerSong: () => getSingerSong,
89
+ getSongInfo: () => getSongInfo,
90
+ getSquareListByTag: () => getSquareListByTag,
91
+ getSquarePage: () => getSquarePage,
92
+ getSquareRecommend: () => getSquareRecommend,
93
+ getSquareTag: () => getSquareTag,
89
94
  getThumbsMsg: () => getThumbsMsg,
90
95
  getTicketInfo: () => getTicketInfo,
91
96
  getTodayRecommend: () => getTodayRecommend,
@@ -100,6 +105,7 @@ __export(modules_exports, {
100
105
  getUserHeartthrob: () => getUserHeartthrob,
101
106
  getUserHomePage: () => getUserHomePage,
102
107
  getUserMyList: () => getUserMyList,
108
+ getUserOrdered: () => getUserOrdered,
103
109
  getUserPhoneInfo: () => getUserPhoneInfo,
104
110
  getUserSongPage: () => getUserSongPage,
105
111
  getVersion: () => getVersion,
@@ -124,6 +130,7 @@ __export(modules_exports, {
124
130
  searchConcert: () => searchConcert,
125
131
  searchLrc: () => searchLrc,
126
132
  searchMv: () => searchMv,
133
+ searchPlaylist: () => searchPlaylist,
127
134
  searchRbt: () => searchRbt,
128
135
  searchSVideo: () => searchSVideo,
129
136
  searchSinger: () => searchSinger,
@@ -231,6 +238,11 @@ var searchSong = async (text, page = 1) => {
231
238
  return await h5fetch(`http://app.c.nf.migu.cn/bmw/search/song/v1.0?pageNo=${page}&text=${text}`);
232
239
  };
233
240
 
241
+ // src/modules/search_playlist.ts
242
+ var searchPlaylist = async (text, page = 1, typeOrder = 0) => {
243
+ return await h5fetch(`https://app.c.nf.migu.cn/bmw/search/music-list/v1.0?pageNo=${page}&text=${text}&typeOrder=${typeOrder}`);
244
+ };
245
+
234
246
  // src/modules/search_album.ts
235
247
  var searchAlbum = async (text, page = 1, typeOrder = 0) => {
236
248
  return await h5fetch(`http://app.c.nf.migu.cn/bmw/search/album/v1.0?pageNo=${page}&text=${text}&typeOrder=${typeOrder}`);
@@ -1254,7 +1266,7 @@ var getMVRecommend = async (mvContentId, page = 1) => {
1254
1266
  };
1255
1267
 
1256
1268
  // src/modules/playlist_square_page.ts
1257
- var getPlaylistSquarePage = async () => {
1269
+ var getSquarePage = async () => {
1258
1270
  return await h5fetch(`https://app.c.nf.migu.cn/pc/bmw/page-data/playlist-square-recommend/v1.0?templateVersion=2`);
1259
1271
  };
1260
1272
 
@@ -2201,6 +2213,65 @@ var getListenFreelySongs = async (pacmtoken, modelId = "701000") => {
2201
2213
  return { data, newPacmToken: cookies.pacmtoken || "" };
2202
2214
  };
2203
2215
 
2216
+ // src/modules/playlist_square_listByTag.ts
2217
+ var getSquareListByTag = async (tagId, page) => {
2218
+ const res = await h5fetch(`http://app.c.nf.migu.cn/MIGUM3.0/v1.0/template/musiclistplaza-listbytag?templateVersion=1&tagId=${tagId}&pageNumber=${page}`);
2219
+ res.data.contentItemList = res?.data?.contentItemList?.itemList?.reduce((acc, item) => {
2220
+ if (!item.actionUrl || !item.actionUrl.includes("song-list-info")) {
2221
+ return acc;
2222
+ }
2223
+ item.playlistId = item.actionUrl.split("id=")[1].split("&")[0] || "";
2224
+ acc.push(item);
2225
+ return acc;
2226
+ }, []) || [];
2227
+ res.data.hasNext = res.data.contentItemList.length < 30 ? false : res?.data?.nextPageUrl !== void 0 && res?.data?.nextPageUrl !== "";
2228
+ return res;
2229
+ };
2230
+
2231
+ // src/modules/playlist_square_recommend.ts
2232
+ var getSquareRecommend = async () => {
2233
+ return await h5fetch(`https://app.c.nf.migu.cn/pc/bmw/playlist-square/recommend-playlist/v1.0?templateVersion=2`);
2234
+ };
2235
+
2236
+ // src/modules/playlist_square_tag.ts
2237
+ var getSquareTag = async (needMoreTag = true) => {
2238
+ const baseTag = await h5fetch(`https://app.c.nf.migu.cn/pc/bmw/playlist-square/tab/v1.0`);
2239
+ if (!needMoreTag) {
2240
+ return baseTag;
2241
+ }
2242
+ const moreTag = await h5fetch(`https://app.c.nf.migu.cn/pc/v1.0/template/musiclistplaza-taglist/release`);
2243
+ baseTag.data.moreTag = moreTag.data.map((item) => {
2244
+ const title = item?.header?.title;
2245
+ const tagList = item?.content.map((it) => ({
2246
+ tagName: it.texts[0],
2247
+ tagId: it.texts[1]
2248
+ }));
2249
+ return { title, tagList };
2250
+ });
2251
+ return baseTag;
2252
+ };
2253
+
2254
+ // src/modules/resourceinfo_song.ts
2255
+ var getSongInfo = async (contentIds) => {
2256
+ contentIds = contentIds.replace(/,/g, "|");
2257
+ return await h5fetch(`https://app.c.nf.migu.cn/resource/song/by-contentids/v2.0?contentId=${contentIds}`);
2258
+ };
2259
+
2260
+ // src/modules/activities.ts
2261
+ var getActivities = async () => {
2262
+ return await h5fetch(`https://app.u.nf.migu.cn/MIGUM3.0/v1.0/template/index-activity/release`);
2263
+ };
2264
+
2265
+ // src/modules/user_ordered.ts
2266
+ var getUserOrdered = async (pacmtoken) => {
2267
+ if (!pacmtoken) return { data: { success: false, code: "290001", info: "\u8BF7\u5148\u767B\u5F55" }, newPacmToken: void 0 };
2268
+ const { data, cookies } = await ckfetch("https://app.c.nf.migu.cn/MIGUM3.0/strategy/song-ordered/v2.0", {
2269
+ cookie: { pacmtoken },
2270
+ headers: { "channel": "014X031" }
2271
+ });
2272
+ return { data, newPacmToken: cookies.pacmtoken || "" };
2273
+ };
2274
+
2204
2275
  // src/utils/index.ts
2205
2276
  var utils_exports = {};
2206
2277
  __export(utils_exports, {
@@ -2267,6 +2338,7 @@ export {
2267
2338
  dislikeSong,
2268
2339
  editUserMyList,
2269
2340
  emojiAction,
2341
+ getActivities,
2270
2342
  getAiBeanCount,
2271
2343
  getAiBeanSignStatus,
2272
2344
  getAlbumInfo,
@@ -2308,7 +2380,6 @@ export {
2308
2380
  getPageTab,
2309
2381
  getPlaylistInfo,
2310
2382
  getPlaylistSong,
2311
- getPlaylistSquarePage,
2312
2383
  getPublicKey,
2313
2384
  getQuality,
2314
2385
  getRadioRecommend,
@@ -2338,6 +2409,11 @@ export {
2338
2409
  getSingerMv,
2339
2410
  getSingerSimilar,
2340
2411
  getSingerSong,
2412
+ getSongInfo,
2413
+ getSquareListByTag,
2414
+ getSquarePage,
2415
+ getSquareRecommend,
2416
+ getSquareTag,
2341
2417
  getThumbsMsg,
2342
2418
  getTicketInfo,
2343
2419
  getTodayRecommend,
@@ -2352,6 +2428,7 @@ export {
2352
2428
  getUserHeartthrob,
2353
2429
  getUserHomePage,
2354
2430
  getUserMyList,
2431
+ getUserOrdered,
2355
2432
  getUserPhoneInfo,
2356
2433
  getUserSongPage,
2357
2434
  getVersion,
@@ -2379,6 +2456,7 @@ export {
2379
2456
  searchConcert,
2380
2457
  searchLrc,
2381
2458
  searchMv,
2459
+ searchPlaylist,
2382
2460
  searchRbt,
2383
2461
  searchSVideo,
2384
2462
  searchSinger,