migu-api-enhanced 2.25.0 → 2.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.
package/dist/index.d.cts CHANGED
@@ -36,7 +36,7 @@ declare const getSingerIndex: (singerId: string) => Promise<any>;
36
36
 
37
37
  declare const getSingerSong: (singerId: string, page?: number) => Promise<any>;
38
38
 
39
- declare const getSingerAlbum: (singerId: string) => Promise<any>;
39
+ declare const getSingerAlbum: (singerId: string, page?: number) => Promise<any>;
40
40
 
41
41
  declare const getRankIndex: () => Promise<any>;
42
42
 
@@ -398,15 +398,20 @@ declare const getVrbtUrl: (contentIds: string) => Promise<any>;
398
398
 
399
399
  /**获取歌词(自建)
400
400
  * @param contentId 单个歌曲ID,
401
+ * @param type 歌词类型,逗号分隔,默认lrc
401
402
  * @returns 歌词文本
402
403
  */
403
- declare const getLyric: (contentId: string) => Promise<{
404
+ declare const getLyric: (contentId: string, type?: string) => Promise<{
404
405
  error: string;
405
406
  success: boolean;
406
407
  status?: undefined;
407
408
  data?: undefined;
408
409
  lrc?: undefined;
409
410
  lrcUrl?: undefined;
411
+ mrc?: undefined;
412
+ mrcUrl?: undefined;
413
+ trc?: undefined;
414
+ trcUrl?: undefined;
410
415
  } | {
411
416
  success: boolean;
412
417
  status: number;
@@ -414,6 +419,10 @@ declare const getLyric: (contentId: string) => Promise<{
414
419
  data?: undefined;
415
420
  lrc?: undefined;
416
421
  lrcUrl?: undefined;
422
+ mrc?: undefined;
423
+ mrcUrl?: undefined;
424
+ trc?: undefined;
425
+ trcUrl?: undefined;
417
426
  } | {
418
427
  error: string;
419
428
  success: boolean;
@@ -421,17 +430,18 @@ declare const getLyric: (contentId: string) => Promise<{
421
430
  status?: undefined;
422
431
  lrc?: undefined;
423
432
  lrcUrl?: undefined;
424
- } | {
425
- success: boolean;
426
- status: number;
427
- error: string;
428
- data: any;
429
- lrc?: undefined;
430
- lrcUrl?: undefined;
433
+ mrc?: undefined;
434
+ mrcUrl?: undefined;
435
+ trc?: undefined;
436
+ trcUrl?: undefined;
431
437
  } | {
432
438
  success: boolean;
433
439
  lrc: any;
434
440
  lrcUrl: any;
441
+ mrc: string | undefined;
442
+ mrcUrl: any;
443
+ trc: any;
444
+ trcUrl: any;
435
445
  error?: undefined;
436
446
  status?: undefined;
437
447
  data?: undefined;
@@ -817,11 +827,11 @@ declare const shareVideo: (resourceType: string, contentId: string, userId?: str
817
827
 
818
828
  /**
819
829
  * 分享通用内容
820
- * @param resourceType 资源类型 2:歌曲 2021:歌单 2003:专辑 2002:歌手
821
- * @param contentId 内容id 歌曲contentId / albumId / artistId / playlistId
822
- * @param contentName 歌曲名称 / 专辑名称 / 歌手名称 / 播放列表名称
830
+ * @param resourceType 资源类型 2:歌曲 2021:歌单 2003:专辑 2002:歌手 5:数字专辑
831
+ * @param contentId 内容id 歌曲contentId / albumId / dAlbumId / artistId / playlistId
832
+ * @param contentName 歌曲名称 / (数字)专辑名称 / 歌手名称 / 播放列表名称
823
833
  * @param targetUserName 当前歌单作者/歌手名称 (可选)
824
- * @param copyrightId 歌曲版权id (可选)
834
+ * @param copyrightId 歌曲版权id (可选,仅对歌曲有效,其他资源类型为undefined)
825
835
  * @returns 分享信息 (url)
826
836
  */
827
837
  declare const shareCommon: (resourceType: string, contentId: string, contentName: string, targetUserName?: string, copyrightId?: string) => Promise<any>;
@@ -1122,6 +1132,27 @@ declare const getUserOrdered: (pacmtoken: string) => Promise<{
1122
1132
  newPacmToken: string;
1123
1133
  }>;
1124
1134
 
1135
+ /**
1136
+ * 获取数字专辑信息
1137
+ * @param dAlbumId 数字专辑id
1138
+ * @return
1139
+ */
1140
+ declare const getDAlbumInfo: (dAlbumId: string) => Promise<any>;
1141
+
1142
+ /**
1143
+ * 获取数字专辑歌曲列表
1144
+ * @param dAlbumId 数字专辑id
1145
+ * @return 歌曲列表
1146
+ */
1147
+ declare const getDAlbumSong: (dAlbumId: string) => Promise<any>;
1148
+
1149
+ /**
1150
+ * 获取数字专辑售卖信息
1151
+ * @param dAlbumId 数字专辑id
1152
+ * @return 数量
1153
+ */
1154
+ declare const getDAlbumPay: (dAlbumId: string) => Promise<any>;
1155
+
1125
1156
  /**
1126
1157
  * modules 子目录统一入口
1127
1158
  * 汇总导出所有 API 函数
@@ -1154,6 +1185,9 @@ declare const api_getConcertDetail: typeof getConcertDetail;
1154
1185
  declare const api_getConcertInfo: typeof getConcertInfo;
1155
1186
  declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
1156
1187
  declare const api_getConcertUrl: typeof getConcertUrl;
1188
+ declare const api_getDAlbumInfo: typeof getDAlbumInfo;
1189
+ declare const api_getDAlbumPay: typeof getDAlbumPay;
1190
+ declare const api_getDAlbumSong: typeof getDAlbumSong;
1157
1191
  declare const api_getDLUrlV1: typeof getDLUrlV1;
1158
1192
  declare const api_getEmojiNum: typeof getEmojiNum;
1159
1193
  declare const api_getFollowerList: typeof getFollowerList;
@@ -1262,7 +1296,7 @@ declare const api_shareVideo: typeof shareVideo;
1262
1296
  declare const api_signAiBean: typeof signAiBean;
1263
1297
  declare const api_signNinan: typeof signNinan;
1264
1298
  declare namespace api {
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 };
1299
+ 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_getDAlbumInfo as getDAlbumInfo, api_getDAlbumPay as getDAlbumPay, api_getDAlbumSong as getDAlbumSong, 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 };
1266
1300
  }
1267
1301
 
1268
1302
  declare function getDeviceId(a?: number, b?: number): string;
@@ -1306,23 +1340,38 @@ declare function isQuality(quality: string | undefined): quality is Quality;
1306
1340
  declare function getQuality(url: string): Quality | '';
1307
1341
  declare function changeQuality(url: string, quality: string, originalQuality?: string, splitQuery?: boolean): string;
1308
1342
 
1309
- declare const getResourceId: (name: string) => "" | "2" | "2021" | "3002" | "2003" | "2002" | "2016" | "6000" | "D" | "M";
1343
+ declare const getResourceId: (name: string) => "" | "2" | "2021" | "3002" | "2003" | "5" | "2002" | "2016" | "6000" | "D" | "M";
1344
+
1345
+ /**
1346
+ * MRC 解密入口:将十六进制密文解密为明文字符串
1347
+ */
1348
+ declare function decryptMrc(data: string): string;
1349
+ declare function toWordTime(times: string): string;
1350
+ /**
1351
+ * 格式化 MRC 歌词为标准 LRC 格式
1352
+ * @param data MRC 歌词字符串
1353
+ * @returns 标准LRC
1354
+ */
1355
+ declare function formatMrc(data: string): string;
1310
1356
 
1311
1357
  type index_Quality = Quality;
1312
1358
  type index_RSAKey = RSAKey;
1313
1359
  declare const index_RSAKey: typeof RSAKey;
1314
1360
  declare const index_URLParams: typeof URLParams;
1315
1361
  declare const index_changeQuality: typeof changeQuality;
1362
+ declare const index_decryptMrc: typeof decryptMrc;
1363
+ declare const index_formatMrc: typeof formatMrc;
1316
1364
  declare const index_getDeviceId: typeof getDeviceId;
1317
1365
  declare const index_getPublicKey: typeof getPublicKey;
1318
1366
  declare const index_getQuality: typeof getQuality;
1319
1367
  declare const index_getResourceId: typeof getResourceId;
1320
1368
  declare const index_isQuality: typeof isQuality;
1321
1369
  declare const index_qualityList: typeof qualityList;
1370
+ declare const index_toWordTime: typeof toWordTime;
1322
1371
  declare const index_toneFormat: typeof toneFormat;
1323
1372
  declare const index_toneUrl: typeof toneUrl;
1324
1373
  declare namespace index {
1325
- export { type index_Quality as Quality, index_RSAKey as RSAKey, index_URLParams as URLParams, index_changeQuality as changeQuality, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey, index_getQuality as getQuality, index_getResourceId as getResourceId, index_isQuality as isQuality, index_qualityList as qualityList, index_toneFormat as toneFormat, index_toneUrl as toneUrl };
1374
+ export { type index_Quality as Quality, index_RSAKey as RSAKey, index_URLParams as URLParams, index_changeQuality as changeQuality, index_decryptMrc as decryptMrc, index_formatMrc as formatMrc, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey, index_getQuality as getQuality, index_getResourceId as getResourceId, index_isQuality as isQuality, index_qualityList as qualityList, index_toWordTime as toWordTime, index_toneFormat as toneFormat, index_toneUrl as toneUrl };
1326
1375
  }
1327
1376
 
1328
1377
  /**
@@ -1342,4 +1391,4 @@ declare function createClient(): ExpandedApi<typeof api>;
1342
1391
  /** 客户端类型 */
1343
1392
  type MiguClient = ReturnType<typeof createClient>;
1344
1393
 
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 };
1394
+ export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, decryptMrc, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, formatMrc, getActivities, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDAlbumInfo, getDAlbumPay, getDAlbumSong, 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, toWordTime, toneFormat, toneUrl };
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ declare const getSingerIndex: (singerId: string) => Promise<any>;
36
36
 
37
37
  declare const getSingerSong: (singerId: string, page?: number) => Promise<any>;
38
38
 
39
- declare const getSingerAlbum: (singerId: string) => Promise<any>;
39
+ declare const getSingerAlbum: (singerId: string, page?: number) => Promise<any>;
40
40
 
41
41
  declare const getRankIndex: () => Promise<any>;
42
42
 
@@ -398,15 +398,20 @@ declare const getVrbtUrl: (contentIds: string) => Promise<any>;
398
398
 
399
399
  /**获取歌词(自建)
400
400
  * @param contentId 单个歌曲ID,
401
+ * @param type 歌词类型,逗号分隔,默认lrc
401
402
  * @returns 歌词文本
402
403
  */
403
- declare const getLyric: (contentId: string) => Promise<{
404
+ declare const getLyric: (contentId: string, type?: string) => Promise<{
404
405
  error: string;
405
406
  success: boolean;
406
407
  status?: undefined;
407
408
  data?: undefined;
408
409
  lrc?: undefined;
409
410
  lrcUrl?: undefined;
411
+ mrc?: undefined;
412
+ mrcUrl?: undefined;
413
+ trc?: undefined;
414
+ trcUrl?: undefined;
410
415
  } | {
411
416
  success: boolean;
412
417
  status: number;
@@ -414,6 +419,10 @@ declare const getLyric: (contentId: string) => Promise<{
414
419
  data?: undefined;
415
420
  lrc?: undefined;
416
421
  lrcUrl?: undefined;
422
+ mrc?: undefined;
423
+ mrcUrl?: undefined;
424
+ trc?: undefined;
425
+ trcUrl?: undefined;
417
426
  } | {
418
427
  error: string;
419
428
  success: boolean;
@@ -421,17 +430,18 @@ declare const getLyric: (contentId: string) => Promise<{
421
430
  status?: undefined;
422
431
  lrc?: undefined;
423
432
  lrcUrl?: undefined;
424
- } | {
425
- success: boolean;
426
- status: number;
427
- error: string;
428
- data: any;
429
- lrc?: undefined;
430
- lrcUrl?: undefined;
433
+ mrc?: undefined;
434
+ mrcUrl?: undefined;
435
+ trc?: undefined;
436
+ trcUrl?: undefined;
431
437
  } | {
432
438
  success: boolean;
433
439
  lrc: any;
434
440
  lrcUrl: any;
441
+ mrc: string | undefined;
442
+ mrcUrl: any;
443
+ trc: any;
444
+ trcUrl: any;
435
445
  error?: undefined;
436
446
  status?: undefined;
437
447
  data?: undefined;
@@ -817,11 +827,11 @@ declare const shareVideo: (resourceType: string, contentId: string, userId?: str
817
827
 
818
828
  /**
819
829
  * 分享通用内容
820
- * @param resourceType 资源类型 2:歌曲 2021:歌单 2003:专辑 2002:歌手
821
- * @param contentId 内容id 歌曲contentId / albumId / artistId / playlistId
822
- * @param contentName 歌曲名称 / 专辑名称 / 歌手名称 / 播放列表名称
830
+ * @param resourceType 资源类型 2:歌曲 2021:歌单 2003:专辑 2002:歌手 5:数字专辑
831
+ * @param contentId 内容id 歌曲contentId / albumId / dAlbumId / artistId / playlistId
832
+ * @param contentName 歌曲名称 / (数字)专辑名称 / 歌手名称 / 播放列表名称
823
833
  * @param targetUserName 当前歌单作者/歌手名称 (可选)
824
- * @param copyrightId 歌曲版权id (可选)
834
+ * @param copyrightId 歌曲版权id (可选,仅对歌曲有效,其他资源类型为undefined)
825
835
  * @returns 分享信息 (url)
826
836
  */
827
837
  declare const shareCommon: (resourceType: string, contentId: string, contentName: string, targetUserName?: string, copyrightId?: string) => Promise<any>;
@@ -1122,6 +1132,27 @@ declare const getUserOrdered: (pacmtoken: string) => Promise<{
1122
1132
  newPacmToken: string;
1123
1133
  }>;
1124
1134
 
1135
+ /**
1136
+ * 获取数字专辑信息
1137
+ * @param dAlbumId 数字专辑id
1138
+ * @return
1139
+ */
1140
+ declare const getDAlbumInfo: (dAlbumId: string) => Promise<any>;
1141
+
1142
+ /**
1143
+ * 获取数字专辑歌曲列表
1144
+ * @param dAlbumId 数字专辑id
1145
+ * @return 歌曲列表
1146
+ */
1147
+ declare const getDAlbumSong: (dAlbumId: string) => Promise<any>;
1148
+
1149
+ /**
1150
+ * 获取数字专辑售卖信息
1151
+ * @param dAlbumId 数字专辑id
1152
+ * @return 数量
1153
+ */
1154
+ declare const getDAlbumPay: (dAlbumId: string) => Promise<any>;
1155
+
1125
1156
  /**
1126
1157
  * modules 子目录统一入口
1127
1158
  * 汇总导出所有 API 函数
@@ -1154,6 +1185,9 @@ declare const api_getConcertDetail: typeof getConcertDetail;
1154
1185
  declare const api_getConcertInfo: typeof getConcertInfo;
1155
1186
  declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
1156
1187
  declare const api_getConcertUrl: typeof getConcertUrl;
1188
+ declare const api_getDAlbumInfo: typeof getDAlbumInfo;
1189
+ declare const api_getDAlbumPay: typeof getDAlbumPay;
1190
+ declare const api_getDAlbumSong: typeof getDAlbumSong;
1157
1191
  declare const api_getDLUrlV1: typeof getDLUrlV1;
1158
1192
  declare const api_getEmojiNum: typeof getEmojiNum;
1159
1193
  declare const api_getFollowerList: typeof getFollowerList;
@@ -1262,7 +1296,7 @@ declare const api_shareVideo: typeof shareVideo;
1262
1296
  declare const api_signAiBean: typeof signAiBean;
1263
1297
  declare const api_signNinan: typeof signNinan;
1264
1298
  declare namespace api {
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 };
1299
+ 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_getDAlbumInfo as getDAlbumInfo, api_getDAlbumPay as getDAlbumPay, api_getDAlbumSong as getDAlbumSong, 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 };
1266
1300
  }
1267
1301
 
1268
1302
  declare function getDeviceId(a?: number, b?: number): string;
@@ -1306,23 +1340,38 @@ declare function isQuality(quality: string | undefined): quality is Quality;
1306
1340
  declare function getQuality(url: string): Quality | '';
1307
1341
  declare function changeQuality(url: string, quality: string, originalQuality?: string, splitQuery?: boolean): string;
1308
1342
 
1309
- declare const getResourceId: (name: string) => "" | "2" | "2021" | "3002" | "2003" | "2002" | "2016" | "6000" | "D" | "M";
1343
+ declare const getResourceId: (name: string) => "" | "2" | "2021" | "3002" | "2003" | "5" | "2002" | "2016" | "6000" | "D" | "M";
1344
+
1345
+ /**
1346
+ * MRC 解密入口:将十六进制密文解密为明文字符串
1347
+ */
1348
+ declare function decryptMrc(data: string): string;
1349
+ declare function toWordTime(times: string): string;
1350
+ /**
1351
+ * 格式化 MRC 歌词为标准 LRC 格式
1352
+ * @param data MRC 歌词字符串
1353
+ * @returns 标准LRC
1354
+ */
1355
+ declare function formatMrc(data: string): string;
1310
1356
 
1311
1357
  type index_Quality = Quality;
1312
1358
  type index_RSAKey = RSAKey;
1313
1359
  declare const index_RSAKey: typeof RSAKey;
1314
1360
  declare const index_URLParams: typeof URLParams;
1315
1361
  declare const index_changeQuality: typeof changeQuality;
1362
+ declare const index_decryptMrc: typeof decryptMrc;
1363
+ declare const index_formatMrc: typeof formatMrc;
1316
1364
  declare const index_getDeviceId: typeof getDeviceId;
1317
1365
  declare const index_getPublicKey: typeof getPublicKey;
1318
1366
  declare const index_getQuality: typeof getQuality;
1319
1367
  declare const index_getResourceId: typeof getResourceId;
1320
1368
  declare const index_isQuality: typeof isQuality;
1321
1369
  declare const index_qualityList: typeof qualityList;
1370
+ declare const index_toWordTime: typeof toWordTime;
1322
1371
  declare const index_toneFormat: typeof toneFormat;
1323
1372
  declare const index_toneUrl: typeof toneUrl;
1324
1373
  declare namespace index {
1325
- export { type index_Quality as Quality, index_RSAKey as RSAKey, index_URLParams as URLParams, index_changeQuality as changeQuality, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey, index_getQuality as getQuality, index_getResourceId as getResourceId, index_isQuality as isQuality, index_qualityList as qualityList, index_toneFormat as toneFormat, index_toneUrl as toneUrl };
1374
+ export { type index_Quality as Quality, index_RSAKey as RSAKey, index_URLParams as URLParams, index_changeQuality as changeQuality, index_decryptMrc as decryptMrc, index_formatMrc as formatMrc, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey, index_getQuality as getQuality, index_getResourceId as getResourceId, index_isQuality as isQuality, index_qualityList as qualityList, index_toWordTime as toWordTime, index_toneFormat as toneFormat, index_toneUrl as toneUrl };
1326
1375
  }
1327
1376
 
1328
1377
  /**
@@ -1342,4 +1391,4 @@ declare function createClient(): ExpandedApi<typeof api>;
1342
1391
  /** 客户端类型 */
1343
1392
  type MiguClient = ReturnType<typeof createClient>;
1344
1393
 
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 };
1394
+ export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, decryptMrc, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, formatMrc, getActivities, getAiBeanCount, getAiBeanSignStatus, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDAlbumInfo, getDAlbumPay, getDAlbumSong, 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, toWordTime, toneFormat, toneUrl };