migu-api-enhanced 2.19.1 → 2.22.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/LICENSE +21 -201
- package/README.md +13 -11
- package/dist/index.cjs +357 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +219 -26
- package/dist/index.d.ts +219 -26
- package/dist/index.js +342 -107
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare const checkCanListen: (contentIds: string) => Promise<any>;
|
|
|
69
69
|
|
|
70
70
|
declare const getOpNum: (ids: string) => Promise<any>;
|
|
71
71
|
|
|
72
|
-
declare const getUrlV1: (contentId: string, copyrightId: string, resourceType?: string) => Promise<any>;
|
|
72
|
+
declare const getUrlV1: (contentId: string, copyrightId: string, toneFlag?: string, resourceType?: string) => Promise<any>;
|
|
73
73
|
|
|
74
74
|
declare const getUrlV2: (contentId: string, copyrightId: string, toneFlag?: string, pacmtoken?: string) => Promise<any>;
|
|
75
75
|
|
|
@@ -312,9 +312,35 @@ declare const getPlaylistSquarePage: () => Promise<any>;
|
|
|
312
312
|
|
|
313
313
|
declare const searchLrc: (text: string, page?: number) => Promise<any>;
|
|
314
314
|
|
|
315
|
+
/**
|
|
316
|
+
* 获取呢喃歌曲列表
|
|
317
|
+
* @returns 呢喃歌曲列表
|
|
318
|
+
*/
|
|
315
319
|
declare const getNinanSong: () => Promise<any>;
|
|
316
|
-
|
|
320
|
+
/**
|
|
321
|
+
* 获取某天的呢喃歌曲
|
|
322
|
+
* @param date - 日期 格式为 YYYYMMDD
|
|
323
|
+
* @returns 呢喃歌曲列表
|
|
324
|
+
*/
|
|
317
325
|
declare const getNinanByDate: (date: string) => Promise<any>;
|
|
326
|
+
/**
|
|
327
|
+
* 呢喃签到
|
|
328
|
+
* @param pacmtoken - 用户认证 token
|
|
329
|
+
* @returns 签到结果和新的 pacmtoken
|
|
330
|
+
*/
|
|
331
|
+
declare const signNinan: (pacmtoken: string) => Promise<{
|
|
332
|
+
data: any;
|
|
333
|
+
newPacmToken: string;
|
|
334
|
+
}>;
|
|
335
|
+
/**
|
|
336
|
+
* 获取呢喃签到信息
|
|
337
|
+
* @param pacmtoken - 用户认证 token
|
|
338
|
+
* @returns 签到信息和新的 pacmtoken
|
|
339
|
+
*/
|
|
340
|
+
declare const getNinanSignInfo: (pacmtoken: string) => Promise<{
|
|
341
|
+
data: any;
|
|
342
|
+
newPacmToken: string;
|
|
343
|
+
}>;
|
|
318
344
|
|
|
319
345
|
/**
|
|
320
346
|
* 获取电台推荐 (所有电台)
|
|
@@ -610,33 +636,14 @@ declare const getConcertComment: (concertId: string, page?: number, size?: numbe
|
|
|
610
636
|
|
|
611
637
|
declare const matchPlaylist: (url: string) => Promise<any>;
|
|
612
638
|
|
|
613
|
-
/**
|
|
614
|
-
* 获取用户呢喃签到信息
|
|
615
|
-
* @param pacmtoken - 用户认证 token
|
|
616
|
-
* @returns 签到信息和新的 pacmtoken
|
|
617
|
-
*/
|
|
618
|
-
declare const getNinanSignInfo: (pacmtoken: string) => Promise<{
|
|
619
|
-
data: any;
|
|
620
|
-
newPacmToken: string;
|
|
621
|
-
}>;
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* 呢喃签到
|
|
625
|
-
* @param pacmtoken - 用户认证 token
|
|
626
|
-
* @returns 签到结果和新的 pacmtoken
|
|
627
|
-
*/
|
|
628
|
-
declare const signNinan: (pacmtoken: string) => Promise<{
|
|
629
|
-
data: any;
|
|
630
|
-
newPacmToken: string;
|
|
631
|
-
}>;
|
|
632
|
-
|
|
633
639
|
/**
|
|
634
640
|
* 获取重定向URL
|
|
635
641
|
* @param contentId 音乐ID
|
|
636
642
|
* @param toneFlag 音色
|
|
643
|
+
* @param isVip 是否为会员音乐 未知,是会员音乐true,不是会员音乐false
|
|
637
644
|
* @returns 重定向URL
|
|
638
645
|
*/
|
|
639
|
-
declare const getRedirectUrl: (contentId: string, toneFlag?: string
|
|
646
|
+
declare const getRedirectUrl: (contentId: string, toneFlag?: string, copyrightId?: string, isVip?: boolean) => Promise<string>;
|
|
640
647
|
|
|
641
648
|
/**
|
|
642
649
|
* 通过演唱会推荐 MV
|
|
@@ -854,6 +861,173 @@ declare const getDLUrlV1: (songId: string, toneFlag?: string) => Promise<any>;
|
|
|
854
861
|
|
|
855
862
|
declare const getUrlM2: (contentId: string, toneFlag?: string, copyrightId?: string, songId?: string, albumId?: string) => Promise<any>;
|
|
856
863
|
|
|
864
|
+
/**
|
|
865
|
+
* 歌曲enoji表态
|
|
866
|
+
* @param pacmtoken 用户token
|
|
867
|
+
* @param contentId 歌曲id
|
|
868
|
+
* @param emojiId 表情id
|
|
869
|
+
* @param action 表情操作
|
|
870
|
+
* @returns 表情数量,包含新pacmtoken
|
|
871
|
+
*/
|
|
872
|
+
declare const emojiAction: (pacmtoken: string, contentId: string, emojiId: string, action: string) => Promise<{
|
|
873
|
+
data: any;
|
|
874
|
+
newPacmToken: string;
|
|
875
|
+
}>;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* 获取歌曲表情数量
|
|
879
|
+
* @param pacmtoken 用户token (可选,传入可看是否发表过表情)
|
|
880
|
+
* @param contentIds 歌曲id列表 (逗号分隔)
|
|
881
|
+
* @returns 表情数量,包含新pacmtoken
|
|
882
|
+
*/
|
|
883
|
+
declare const getEmojiNum: (pacmtoken: string, contentIds: string) => Promise<{
|
|
884
|
+
data: any;
|
|
885
|
+
newPacmToken: string | undefined;
|
|
886
|
+
}>;
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* 心动模式推荐
|
|
890
|
+
* @param pacmtoken 用户token
|
|
891
|
+
* @param songId 单个歌曲 ID
|
|
892
|
+
* @returns 心动模式推荐歌曲和新pacmtoken
|
|
893
|
+
*/
|
|
894
|
+
declare const getUserHeartthrob: (pacmtoken: string, songId: string) => Promise<{
|
|
895
|
+
data: any;
|
|
896
|
+
newPacmToken: string;
|
|
897
|
+
}>;
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* 删除云盘音乐
|
|
901
|
+
* @param pacmtoken 用户token
|
|
902
|
+
* @param contentIds 云盘音乐contentId列表 逗号分隔
|
|
903
|
+
* @returns 地址和新的pacmtoken
|
|
904
|
+
*/
|
|
905
|
+
declare const deleteCloudMusic: (pacmtoken: string, contentIds: string) => Promise<{
|
|
906
|
+
data: {
|
|
907
|
+
success: boolean;
|
|
908
|
+
error: string;
|
|
909
|
+
};
|
|
910
|
+
newPacmToken: undefined;
|
|
911
|
+
} | {
|
|
912
|
+
data: any;
|
|
913
|
+
newPacmToken: string;
|
|
914
|
+
}>;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* 用户互动消息
|
|
918
|
+
* @param pacmtoken 用户token
|
|
919
|
+
* @param page 页码
|
|
920
|
+
* @param size 每页大小
|
|
921
|
+
* @returns 用户互动和新的pacmtoken
|
|
922
|
+
*/
|
|
923
|
+
declare const getInteractionMsg: (pacmtoken: string, type: string, page?: number, size?: number) => Promise<{
|
|
924
|
+
data: {
|
|
925
|
+
success: boolean;
|
|
926
|
+
error: string;
|
|
927
|
+
};
|
|
928
|
+
newPacmToken: undefined;
|
|
929
|
+
} | {
|
|
930
|
+
data: any;
|
|
931
|
+
newPacmToken: string;
|
|
932
|
+
}>;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* 用户通知
|
|
936
|
+
* @param pacmtoken 用户token
|
|
937
|
+
* @param page 页码
|
|
938
|
+
* @param size 每页大小
|
|
939
|
+
* @returns 用户通知列表和新的pacmtoken
|
|
940
|
+
*/
|
|
941
|
+
declare const getNoticeMsg: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
942
|
+
data: any;
|
|
943
|
+
newPacmToken: string;
|
|
944
|
+
}>;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* 用户收到的赞
|
|
948
|
+
* @param pacmtoken 用户token
|
|
949
|
+
* @param page 页码
|
|
950
|
+
* @param size 每页大小
|
|
951
|
+
* @returns 用户收到的赞和新的pacmtoken
|
|
952
|
+
*/
|
|
953
|
+
declare const getThumbsMsg: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
954
|
+
data: any;
|
|
955
|
+
newPacmToken: string;
|
|
956
|
+
}>;
|
|
957
|
+
|
|
958
|
+
declare const getCloudUploadUrl: (pacmtoken: string, file: File) => Promise<{
|
|
959
|
+
data: {
|
|
960
|
+
success: boolean;
|
|
961
|
+
error: string;
|
|
962
|
+
};
|
|
963
|
+
newPacmToken: undefined;
|
|
964
|
+
} | {
|
|
965
|
+
data: any;
|
|
966
|
+
newPacmToken: string;
|
|
967
|
+
}>;
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* 删除评论
|
|
971
|
+
* @param pacmtoken 用户token
|
|
972
|
+
* @param resourceId 评论id
|
|
973
|
+
* @returns 删除结果,包含新pacmtoken
|
|
974
|
+
*/
|
|
975
|
+
declare const deleteComment: (pacmtoken: string, resourceId: string) => Promise<{
|
|
976
|
+
data: any;
|
|
977
|
+
newPacmToken: string;
|
|
978
|
+
}>;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* 获取歌手情书
|
|
982
|
+
* @param singerId 歌手ID
|
|
983
|
+
* @returns 歌手情书
|
|
984
|
+
*/
|
|
985
|
+
declare const getSingerLetter: (singerId: string, pageId?: string) => Promise<any>;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* 获取歌手mv列表页
|
|
989
|
+
* @param singerId 歌手ID
|
|
990
|
+
* @returns mv列表页
|
|
991
|
+
*/
|
|
992
|
+
declare const getSingerMv: (singerId: string, page?: number) => Promise<any>;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* AI豆签到
|
|
996
|
+
* @param pacmtoken - 用户认证 token
|
|
997
|
+
* @returns 签到结果和新的 pacmtoken
|
|
998
|
+
*/
|
|
999
|
+
declare const signAiBean: (pacmtoken: string) => Promise<{
|
|
1000
|
+
data: any;
|
|
1001
|
+
newPacmToken: string;
|
|
1002
|
+
}>;
|
|
1003
|
+
/**
|
|
1004
|
+
* 获取AI豆数量
|
|
1005
|
+
* @param pacmtoken - 用户认证 token
|
|
1006
|
+
* @returns AI豆数量
|
|
1007
|
+
*/
|
|
1008
|
+
declare const getAiBeanCount: (pacmtoken: string) => Promise<{
|
|
1009
|
+
data: any;
|
|
1010
|
+
newPacmToken: string;
|
|
1011
|
+
}>;
|
|
1012
|
+
/**
|
|
1013
|
+
* 获取AI豆签到状态
|
|
1014
|
+
* @param pacmtoken - 用户认证 token
|
|
1015
|
+
* @returns AI豆签到状态
|
|
1016
|
+
*/
|
|
1017
|
+
declare const getAiBeanSignStatus: (pacmtoken: string) => Promise<{
|
|
1018
|
+
data: any;
|
|
1019
|
+
newPacmToken: string;
|
|
1020
|
+
}>;
|
|
1021
|
+
/**
|
|
1022
|
+
* AI豆-获取一天的天籁会员
|
|
1023
|
+
* @param pacmtoken - 用户认证 token
|
|
1024
|
+
* @returns AI豆数量
|
|
1025
|
+
*/
|
|
1026
|
+
declare const redeemAiBean: (pacmtoken: string) => Promise<{
|
|
1027
|
+
data: any;
|
|
1028
|
+
newPacmToken: string;
|
|
1029
|
+
}>;
|
|
1030
|
+
|
|
857
1031
|
/**
|
|
858
1032
|
* modules 子目录统一入口
|
|
859
1033
|
* 汇总导出所有 API 函数
|
|
@@ -866,10 +1040,16 @@ declare const api_addUserCollect: typeof addUserCollect;
|
|
|
866
1040
|
declare const api_addUserMyList: typeof addUserMyList;
|
|
867
1041
|
declare const api_checkCanListen: typeof checkCanListen;
|
|
868
1042
|
declare const api_checkToken: typeof checkToken;
|
|
1043
|
+
declare const api_deleteCloudMusic: typeof deleteCloudMusic;
|
|
1044
|
+
declare const api_deleteComment: typeof deleteComment;
|
|
869
1045
|
declare const api_dislikeSong: typeof dislikeSong;
|
|
870
1046
|
declare const api_editUserMyList: typeof editUserMyList;
|
|
1047
|
+
declare const api_emojiAction: typeof emojiAction;
|
|
1048
|
+
declare const api_getAiBeanCount: typeof getAiBeanCount;
|
|
1049
|
+
declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
|
|
871
1050
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
872
1051
|
declare const api_getAlbumSong: typeof getAlbumSong;
|
|
1052
|
+
declare const api_getCloudUploadUrl: typeof getCloudUploadUrl;
|
|
873
1053
|
declare const api_getCloudUrl: typeof getCloudUrl;
|
|
874
1054
|
declare const api_getColumnInfo: typeof getColumnInfo;
|
|
875
1055
|
declare const api_getComment: typeof getComment;
|
|
@@ -879,9 +1059,11 @@ declare const api_getConcertInfo: typeof getConcertInfo;
|
|
|
879
1059
|
declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
|
|
880
1060
|
declare const api_getConcertUrl: typeof getConcertUrl;
|
|
881
1061
|
declare const api_getDLUrlV1: typeof getDLUrlV1;
|
|
1062
|
+
declare const api_getEmojiNum: typeof getEmojiNum;
|
|
882
1063
|
declare const api_getFollowerList: typeof getFollowerList;
|
|
883
1064
|
declare const api_getFollowingList: typeof getFollowingList;
|
|
884
1065
|
declare const api_getFollowingVra: typeof getFollowingVra;
|
|
1066
|
+
declare const api_getInteractionMsg: typeof getInteractionMsg;
|
|
885
1067
|
declare const api_getListenRank: typeof getListenRank;
|
|
886
1068
|
declare const api_getLyric: typeof getLyric;
|
|
887
1069
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
@@ -893,6 +1075,7 @@ declare const api_getNewSongList: typeof getNewSongList;
|
|
|
893
1075
|
declare const api_getNinanByDate: typeof getNinanByDate;
|
|
894
1076
|
declare const api_getNinanSignInfo: typeof getNinanSignInfo;
|
|
895
1077
|
declare const api_getNinanSong: typeof getNinanSong;
|
|
1078
|
+
declare const api_getNoticeMsg: typeof getNoticeMsg;
|
|
896
1079
|
declare const api_getOpNum: typeof getOpNum;
|
|
897
1080
|
declare const api_getPacmToken: typeof getPacmToken;
|
|
898
1081
|
declare const api_getPageInfo: typeof getPageInfo;
|
|
@@ -922,8 +1105,11 @@ declare const api_getSearchSingerTabList: typeof getSearchSingerTabList;
|
|
|
922
1105
|
declare const api_getSimilarSongRecommend: typeof getSimilarSongRecommend;
|
|
923
1106
|
declare const api_getSingerAlbum: typeof getSingerAlbum;
|
|
924
1107
|
declare const api_getSingerIndex: typeof getSingerIndex;
|
|
1108
|
+
declare const api_getSingerLetter: typeof getSingerLetter;
|
|
1109
|
+
declare const api_getSingerMv: typeof getSingerMv;
|
|
925
1110
|
declare const api_getSingerSimilar: typeof getSingerSimilar;
|
|
926
1111
|
declare const api_getSingerSong: typeof getSingerSong;
|
|
1112
|
+
declare const api_getThumbsMsg: typeof getThumbsMsg;
|
|
927
1113
|
declare const api_getTicketInfo: typeof getTicketInfo;
|
|
928
1114
|
declare const api_getTodayRecommend: typeof getTodayRecommend;
|
|
929
1115
|
declare const api_getUrlH5V24: typeof getUrlH5V24;
|
|
@@ -934,6 +1120,7 @@ declare const api_getUserAudioBook: typeof getUserAudioBook;
|
|
|
934
1120
|
declare const api_getUserBadge: typeof getUserBadge;
|
|
935
1121
|
declare const api_getUserCollectList: typeof getUserCollectList;
|
|
936
1122
|
declare const api_getUserHeader: typeof getUserHeader;
|
|
1123
|
+
declare const api_getUserHeartthrob: typeof getUserHeartthrob;
|
|
937
1124
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
938
1125
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
939
1126
|
declare const api_getUserSongPage: typeof getUserSongPage;
|
|
@@ -950,6 +1137,7 @@ declare const api_loginSim: typeof loginSim;
|
|
|
950
1137
|
declare const api_logout: typeof logout;
|
|
951
1138
|
declare const api_matchPlaylist: typeof matchPlaylist;
|
|
952
1139
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
1140
|
+
declare const api_redeemAiBean: typeof redeemAiBean;
|
|
953
1141
|
declare const api_removeFollower: typeof removeFollower;
|
|
954
1142
|
declare const api_removeSongFromMyList: typeof removeSongFromMyList;
|
|
955
1143
|
declare const api_removeUserCollect: typeof removeUserCollect;
|
|
@@ -966,9 +1154,10 @@ declare const api_searchSuggest: typeof searchSuggest;
|
|
|
966
1154
|
declare const api_searchTicket: typeof searchTicket;
|
|
967
1155
|
declare const api_shareCommon: typeof shareCommon;
|
|
968
1156
|
declare const api_shareVideo: typeof shareVideo;
|
|
1157
|
+
declare const api_signAiBean: typeof signAiBean;
|
|
969
1158
|
declare const api_signNinan: typeof signNinan;
|
|
970
1159
|
declare namespace api {
|
|
971
|
-
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_dislikeSong as dislikeSong, api_editUserMyList as editUserMyList, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, 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_getFollowerList as getFollowerList, api_getFollowingList as getFollowingList, api_getFollowingVra as getFollowingVra, 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_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_getSingerSimilar as getSingerSimilar, api_getSingerSong as getSingerSong, 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_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, 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_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_signNinan as signNinan };
|
|
1160
|
+
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_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_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_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 };
|
|
972
1161
|
}
|
|
973
1162
|
|
|
974
1163
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
@@ -986,23 +1175,27 @@ declare class RSAKey {
|
|
|
986
1175
|
|
|
987
1176
|
declare function URLParams($: object | string): string;
|
|
988
1177
|
|
|
989
|
-
declare const qualityList: readonly ["PQ", "HQ", "SQ", "ZQ24", "ZQ32", "Z3D"];
|
|
1178
|
+
declare const qualityList: readonly ["LQ", "PQ", "HQ", "SQ", "ZQ24", "ZQ32", "Z3D", "3D60"];
|
|
990
1179
|
type Quality = (typeof qualityList)[number];
|
|
991
1180
|
declare const toneUrl: {
|
|
1181
|
+
LQ: string;
|
|
992
1182
|
PQ: string;
|
|
993
1183
|
HQ: string;
|
|
994
1184
|
SQ: string;
|
|
995
1185
|
ZQ24: string;
|
|
996
1186
|
ZQ32: string;
|
|
997
1187
|
Z3D: string;
|
|
1188
|
+
'3D60': string;
|
|
998
1189
|
};
|
|
999
1190
|
declare const toneFormat: {
|
|
1191
|
+
LQ: string;
|
|
1000
1192
|
PQ: string;
|
|
1001
1193
|
HQ: string;
|
|
1002
1194
|
SQ: string;
|
|
1003
1195
|
ZQ24: string;
|
|
1004
1196
|
ZQ32: string;
|
|
1005
1197
|
Z3D: string;
|
|
1198
|
+
'3D60': string;
|
|
1006
1199
|
};
|
|
1007
1200
|
declare function isQuality(quality: string | undefined): quality is Quality;
|
|
1008
1201
|
declare function getQuality(url: string): Quality | '';
|
|
@@ -1044,4 +1237,4 @@ declare function createClient(): ExpandedApi<typeof api>;
|
|
|
1044
1237
|
/** 客户端类型 */
|
|
1045
1238
|
type MiguClient = ReturnType<typeof createClient>;
|
|
1046
1239
|
|
|
1047
|
-
export { type MiguClient, index as MiguUtils, type Quality, RSAKey, URLParams, YDRZ, addFollower, addSongToMyList, addUserCollect, addUserMyList, changeQuality, checkCanListen, checkToken, createClient, dislikeSong, editUserMyList, getAlbumInfo, getAlbumSong, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getFollowerList, getFollowingList, getFollowingVra, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, 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, getSingerSimilar, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHomePage, getUserMyList, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, isQuality, likeSong, loginNP, loginOneClick, loginPhone, loginSim, logout, matchPlaylist, api as modules, qualityList, queryUserInfo, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo, signNinan, toneFormat, toneUrl };
|
|
1240
|
+
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, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDLUrlV1, getDeviceId, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, 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, 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 };
|