migu-api-enhanced 2.19.1 → 2.23.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 +15 -13
- package/dist/index.cjs +412 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +273 -26
- package/dist/index.d.ts +273 -26
- package/dist/index.js +393 -107
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
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,223 @@ 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
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* 获取云盘音乐下载地址
|
|
1033
|
+
* @param pacmtoken 用户token
|
|
1034
|
+
* @param contentId 云盘音乐contentId
|
|
1035
|
+
* @param toneFlag 音乐质量 默认PQ
|
|
1036
|
+
* @returns 地址和新的pacmtoken
|
|
1037
|
+
*/
|
|
1038
|
+
declare const getCloudDLUrl: (pacmtoken: string, contentId: string, toneFlag?: string) => Promise<{
|
|
1039
|
+
data: any;
|
|
1040
|
+
newPacmToken: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 获取用户手机号,彩铃信息
|
|
1045
|
+
* @param pacmtoken 用户token
|
|
1046
|
+
* @returns 用户完整手机号,彩铃信息和新的pacmtoken
|
|
1047
|
+
*/
|
|
1048
|
+
declare const getUserPhoneInfo: (pacmtoken: string) => Promise<{
|
|
1049
|
+
data: any;
|
|
1050
|
+
newPacmToken: string;
|
|
1051
|
+
}>;
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* 获取畅听tab
|
|
1055
|
+
* @param pacmtoken 可选-登录凭证,用于获取所有场景 (无则3个)
|
|
1056
|
+
* @returns 3个听歌模式,多个场景
|
|
1057
|
+
*/
|
|
1058
|
+
declare const getListenFreelyTab: (pacmtoken?: string) => Promise<{
|
|
1059
|
+
data: any;
|
|
1060
|
+
newPacmToken: string | undefined;
|
|
1061
|
+
}>;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* 获取畅听歌曲
|
|
1065
|
+
* @param pacmtoken 必填-登录凭证
|
|
1066
|
+
* @param modelId 可选-模型ID,默认701000(默认模式)
|
|
1067
|
+
* @returns 5个推荐歌曲
|
|
1068
|
+
*/
|
|
1069
|
+
declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Promise<{
|
|
1070
|
+
data: {
|
|
1071
|
+
success: boolean;
|
|
1072
|
+
code: string;
|
|
1073
|
+
info: string;
|
|
1074
|
+
};
|
|
1075
|
+
newPacmToken: undefined;
|
|
1076
|
+
} | {
|
|
1077
|
+
data: any;
|
|
1078
|
+
newPacmToken: string;
|
|
1079
|
+
}>;
|
|
1080
|
+
|
|
857
1081
|
/**
|
|
858
1082
|
* modules 子目录统一入口
|
|
859
1083
|
* 汇总导出所有 API 函数
|
|
@@ -866,10 +1090,17 @@ declare const api_addUserCollect: typeof addUserCollect;
|
|
|
866
1090
|
declare const api_addUserMyList: typeof addUserMyList;
|
|
867
1091
|
declare const api_checkCanListen: typeof checkCanListen;
|
|
868
1092
|
declare const api_checkToken: typeof checkToken;
|
|
1093
|
+
declare const api_deleteCloudMusic: typeof deleteCloudMusic;
|
|
1094
|
+
declare const api_deleteComment: typeof deleteComment;
|
|
869
1095
|
declare const api_dislikeSong: typeof dislikeSong;
|
|
870
1096
|
declare const api_editUserMyList: typeof editUserMyList;
|
|
1097
|
+
declare const api_emojiAction: typeof emojiAction;
|
|
1098
|
+
declare const api_getAiBeanCount: typeof getAiBeanCount;
|
|
1099
|
+
declare const api_getAiBeanSignStatus: typeof getAiBeanSignStatus;
|
|
871
1100
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
872
1101
|
declare const api_getAlbumSong: typeof getAlbumSong;
|
|
1102
|
+
declare const api_getCloudDLUrl: typeof getCloudDLUrl;
|
|
1103
|
+
declare const api_getCloudUploadUrl: typeof getCloudUploadUrl;
|
|
873
1104
|
declare const api_getCloudUrl: typeof getCloudUrl;
|
|
874
1105
|
declare const api_getColumnInfo: typeof getColumnInfo;
|
|
875
1106
|
declare const api_getComment: typeof getComment;
|
|
@@ -879,9 +1110,13 @@ declare const api_getConcertInfo: typeof getConcertInfo;
|
|
|
879
1110
|
declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
|
|
880
1111
|
declare const api_getConcertUrl: typeof getConcertUrl;
|
|
881
1112
|
declare const api_getDLUrlV1: typeof getDLUrlV1;
|
|
1113
|
+
declare const api_getEmojiNum: typeof getEmojiNum;
|
|
882
1114
|
declare const api_getFollowerList: typeof getFollowerList;
|
|
883
1115
|
declare const api_getFollowingList: typeof getFollowingList;
|
|
884
1116
|
declare const api_getFollowingVra: typeof getFollowingVra;
|
|
1117
|
+
declare const api_getInteractionMsg: typeof getInteractionMsg;
|
|
1118
|
+
declare const api_getListenFreelySongs: typeof getListenFreelySongs;
|
|
1119
|
+
declare const api_getListenFreelyTab: typeof getListenFreelyTab;
|
|
885
1120
|
declare const api_getListenRank: typeof getListenRank;
|
|
886
1121
|
declare const api_getLyric: typeof getLyric;
|
|
887
1122
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
@@ -893,6 +1128,7 @@ declare const api_getNewSongList: typeof getNewSongList;
|
|
|
893
1128
|
declare const api_getNinanByDate: typeof getNinanByDate;
|
|
894
1129
|
declare const api_getNinanSignInfo: typeof getNinanSignInfo;
|
|
895
1130
|
declare const api_getNinanSong: typeof getNinanSong;
|
|
1131
|
+
declare const api_getNoticeMsg: typeof getNoticeMsg;
|
|
896
1132
|
declare const api_getOpNum: typeof getOpNum;
|
|
897
1133
|
declare const api_getPacmToken: typeof getPacmToken;
|
|
898
1134
|
declare const api_getPageInfo: typeof getPageInfo;
|
|
@@ -922,8 +1158,11 @@ declare const api_getSearchSingerTabList: typeof getSearchSingerTabList;
|
|
|
922
1158
|
declare const api_getSimilarSongRecommend: typeof getSimilarSongRecommend;
|
|
923
1159
|
declare const api_getSingerAlbum: typeof getSingerAlbum;
|
|
924
1160
|
declare const api_getSingerIndex: typeof getSingerIndex;
|
|
1161
|
+
declare const api_getSingerLetter: typeof getSingerLetter;
|
|
1162
|
+
declare const api_getSingerMv: typeof getSingerMv;
|
|
925
1163
|
declare const api_getSingerSimilar: typeof getSingerSimilar;
|
|
926
1164
|
declare const api_getSingerSong: typeof getSingerSong;
|
|
1165
|
+
declare const api_getThumbsMsg: typeof getThumbsMsg;
|
|
927
1166
|
declare const api_getTicketInfo: typeof getTicketInfo;
|
|
928
1167
|
declare const api_getTodayRecommend: typeof getTodayRecommend;
|
|
929
1168
|
declare const api_getUrlH5V24: typeof getUrlH5V24;
|
|
@@ -934,8 +1173,10 @@ declare const api_getUserAudioBook: typeof getUserAudioBook;
|
|
|
934
1173
|
declare const api_getUserBadge: typeof getUserBadge;
|
|
935
1174
|
declare const api_getUserCollectList: typeof getUserCollectList;
|
|
936
1175
|
declare const api_getUserHeader: typeof getUserHeader;
|
|
1176
|
+
declare const api_getUserHeartthrob: typeof getUserHeartthrob;
|
|
937
1177
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
938
1178
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
1179
|
+
declare const api_getUserPhoneInfo: typeof getUserPhoneInfo;
|
|
939
1180
|
declare const api_getUserSongPage: typeof getUserSongPage;
|
|
940
1181
|
declare const api_getVersion: typeof getVersion;
|
|
941
1182
|
declare const api_getVipPlaylist: typeof getVipPlaylist;
|
|
@@ -950,6 +1191,7 @@ declare const api_loginSim: typeof loginSim;
|
|
|
950
1191
|
declare const api_logout: typeof logout;
|
|
951
1192
|
declare const api_matchPlaylist: typeof matchPlaylist;
|
|
952
1193
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
1194
|
+
declare const api_redeemAiBean: typeof redeemAiBean;
|
|
953
1195
|
declare const api_removeFollower: typeof removeFollower;
|
|
954
1196
|
declare const api_removeSongFromMyList: typeof removeSongFromMyList;
|
|
955
1197
|
declare const api_removeUserCollect: typeof removeUserCollect;
|
|
@@ -966,9 +1208,10 @@ declare const api_searchSuggest: typeof searchSuggest;
|
|
|
966
1208
|
declare const api_searchTicket: typeof searchTicket;
|
|
967
1209
|
declare const api_shareCommon: typeof shareCommon;
|
|
968
1210
|
declare const api_shareVideo: typeof shareVideo;
|
|
1211
|
+
declare const api_signAiBean: typeof signAiBean;
|
|
969
1212
|
declare const api_signNinan: typeof signNinan;
|
|
970
1213
|
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 };
|
|
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 };
|
|
972
1215
|
}
|
|
973
1216
|
|
|
974
1217
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
@@ -986,23 +1229,27 @@ declare class RSAKey {
|
|
|
986
1229
|
|
|
987
1230
|
declare function URLParams($: object | string): string;
|
|
988
1231
|
|
|
989
|
-
declare const qualityList: readonly ["PQ", "HQ", "SQ", "ZQ24", "ZQ32", "Z3D"];
|
|
1232
|
+
declare const qualityList: readonly ["LQ", "PQ", "HQ", "SQ", "ZQ24", "ZQ32", "Z3D", "3D60"];
|
|
990
1233
|
type Quality = (typeof qualityList)[number];
|
|
991
1234
|
declare const toneUrl: {
|
|
1235
|
+
LQ: string;
|
|
992
1236
|
PQ: string;
|
|
993
1237
|
HQ: string;
|
|
994
1238
|
SQ: string;
|
|
995
1239
|
ZQ24: string;
|
|
996
1240
|
ZQ32: string;
|
|
997
1241
|
Z3D: string;
|
|
1242
|
+
'3D60': string;
|
|
998
1243
|
};
|
|
999
1244
|
declare const toneFormat: {
|
|
1245
|
+
LQ: string;
|
|
1000
1246
|
PQ: string;
|
|
1001
1247
|
HQ: string;
|
|
1002
1248
|
SQ: string;
|
|
1003
1249
|
ZQ24: string;
|
|
1004
1250
|
ZQ32: string;
|
|
1005
1251
|
Z3D: string;
|
|
1252
|
+
'3D60': string;
|
|
1006
1253
|
};
|
|
1007
1254
|
declare function isQuality(quality: string | undefined): quality is Quality;
|
|
1008
1255
|
declare function getQuality(url: string): Quality | '';
|
|
@@ -1044,4 +1291,4 @@ declare function createClient(): ExpandedApi<typeof api>;
|
|
|
1044
1291
|
/** 客户端类型 */
|
|
1045
1292
|
type MiguClient = ReturnType<typeof createClient>;
|
|
1046
1293
|
|
|
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 };
|
|
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 };
|