migu-api-enhanced 2.10.0 → 2.14.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/README.md +9 -23
- package/dist/index.cjs +327 -243
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +160 -25
- package/dist/index.d.ts +160 -25
- package/dist/index.js +313 -235
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -75,9 +75,16 @@ declare const getUrlV2: (contentId: string, copyrightId: string, toneFlag?: stri
|
|
|
75
75
|
|
|
76
76
|
declare const getUrlH5V24: (contentId: string, copyrightId: string, toneFlag?: string) => Promise<any>;
|
|
77
77
|
|
|
78
|
-
declare const getVersion: (
|
|
78
|
+
declare const getVersion: () => Promise<any>;
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
/**
|
|
81
|
+
* 获取MV视频信息
|
|
82
|
+
* @param mvContentIds MV视频ID (逗号分隔)
|
|
83
|
+
* @example
|
|
84
|
+
* getMvInfo('600906000000476885,600906000000438741')
|
|
85
|
+
* @returns MV视频信息
|
|
86
|
+
*/
|
|
87
|
+
declare const getMvInfo: (mvContentIds: string) => Promise<any>;
|
|
81
88
|
|
|
82
89
|
/**
|
|
83
90
|
* 获取mv hls url
|
|
@@ -88,7 +95,7 @@ declare const getMvInfo: (mvContentId: string) => Promise<any>;
|
|
|
88
95
|
* @param size mv size (url接口获取)
|
|
89
96
|
* @param format mv format (url接口获取)
|
|
90
97
|
* @param needHttps 是否需要https (默认true)
|
|
91
|
-
* @returns
|
|
98
|
+
* @returns JSON
|
|
92
99
|
*/
|
|
93
100
|
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number, format?: string, needHttps?: boolean) => Promise<any>;
|
|
94
101
|
|
|
@@ -106,6 +113,14 @@ declare const loginNP: {
|
|
|
106
113
|
|
|
107
114
|
declare const checkToken: (token?: string) => Promise<any>;
|
|
108
115
|
|
|
116
|
+
/**
|
|
117
|
+
* 获取 pacmtoken
|
|
118
|
+
* @param token 登录token
|
|
119
|
+
* @param type 类型
|
|
120
|
+
* @param sourceId 来源ID
|
|
121
|
+
* @param activityId 活动ID
|
|
122
|
+
* @returns pacmtoken 和响应体
|
|
123
|
+
*/
|
|
109
124
|
declare const getPacmToken: (token?: string, type?: string, sourceId?: string, activityId?: string) => Promise<{
|
|
110
125
|
pacmToken: string;
|
|
111
126
|
body: any;
|
|
@@ -113,21 +128,41 @@ declare const getPacmToken: (token?: string, type?: string, sourceId?: string, a
|
|
|
113
128
|
|
|
114
129
|
declare const getTicketInfo: (page?: number, pageCount?: number) => Promise<any>;
|
|
115
130
|
|
|
131
|
+
/**
|
|
132
|
+
* 获取用户徽章信息
|
|
133
|
+
* @param pacmtoken 用户token
|
|
134
|
+
* @returns 用户徽章信息和新的pacmtoken
|
|
135
|
+
*/
|
|
116
136
|
declare const getUserBadge: (pacmtoken: string) => Promise<{
|
|
117
137
|
data: any;
|
|
118
138
|
newPacmToken: string;
|
|
119
139
|
}>;
|
|
120
140
|
|
|
141
|
+
/**
|
|
142
|
+
* 查询用户信息
|
|
143
|
+
* @param pacmtoken 用户token
|
|
144
|
+
* @returns 用户信息和新的pacmtoken
|
|
145
|
+
*/
|
|
121
146
|
declare const queryUserInfo: (pacmtoken: string) => Promise<{
|
|
122
147
|
data: any;
|
|
123
148
|
newPacmToken: string;
|
|
124
149
|
}>;
|
|
125
150
|
|
|
151
|
+
/**
|
|
152
|
+
* 获取用户主页信息
|
|
153
|
+
* @param pacmtoken 用户token
|
|
154
|
+
* @returns 用户主页信息和新的pacmtoken
|
|
155
|
+
*/
|
|
126
156
|
declare const getUserHomePage: (pacmtoken: string) => Promise<{
|
|
127
157
|
data: any;
|
|
128
158
|
newPacmToken: string;
|
|
129
159
|
}>;
|
|
130
160
|
|
|
161
|
+
/**
|
|
162
|
+
* 获取今日推荐
|
|
163
|
+
* @param pacmtoken 用户token
|
|
164
|
+
* @returns 今日推荐列表和新的pacmtoken
|
|
165
|
+
*/
|
|
131
166
|
declare const getTodayRecommend: (pacmtoken: string) => Promise<{
|
|
132
167
|
data: any;
|
|
133
168
|
newPacmToken: string;
|
|
@@ -154,11 +189,26 @@ declare const loginSim: {
|
|
|
154
189
|
}>;
|
|
155
190
|
};
|
|
156
191
|
|
|
192
|
+
/**
|
|
193
|
+
* 获取用户收藏列表
|
|
194
|
+
* @param pacmtoken 用户token
|
|
195
|
+
* @param page 页码
|
|
196
|
+
* @param size 每页大小
|
|
197
|
+
* @returns 用户收藏列表和新的pacmtoken
|
|
198
|
+
*/
|
|
157
199
|
declare const getUserCollectList: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
158
200
|
data: any;
|
|
159
201
|
newPacmToken: string;
|
|
160
202
|
}>;
|
|
161
203
|
|
|
204
|
+
/**
|
|
205
|
+
* 获取用户播放列表
|
|
206
|
+
* @param pacmtoken 用户token
|
|
207
|
+
* @param queryType 查询类型
|
|
208
|
+
* @param page 页码
|
|
209
|
+
* @param size 每页大小
|
|
210
|
+
* @returns 用户播放列表和新的pacmtoken
|
|
211
|
+
*/
|
|
162
212
|
declare const getUserMyList: (pacmtoken: string, queryType?: number, page?: number, size?: number) => Promise<{
|
|
163
213
|
data: any;
|
|
164
214
|
newPacmToken: string;
|
|
@@ -241,11 +291,17 @@ declare const loginPhone: {
|
|
|
241
291
|
};
|
|
242
292
|
|
|
243
293
|
/**
|
|
244
|
-
*
|
|
245
|
-
* @param
|
|
294
|
+
* 获取相似MV推荐
|
|
295
|
+
* @param mvContentId MV视频ID
|
|
296
|
+
* @param page 页码
|
|
297
|
+
* @returns 相似列表
|
|
246
298
|
*/
|
|
247
299
|
declare const getMVRecommend: (mvContentId: string, page?: number) => Promise<any>;
|
|
248
300
|
|
|
301
|
+
/**
|
|
302
|
+
* 网页v5 歌单广场
|
|
303
|
+
* @returns
|
|
304
|
+
*/
|
|
249
305
|
declare const getPlaylistSquarePage: () => Promise<any>;
|
|
250
306
|
|
|
251
307
|
declare const searchLrc: (text: string, page?: number) => Promise<any>;
|
|
@@ -258,7 +314,7 @@ declare const getNinanByDate: (date: string) => Promise<any>;
|
|
|
258
314
|
* 获取电台推荐 (所有电台)
|
|
259
315
|
* 私人FM(上瘾电台、听见不同),时序电台,分类电台,乐游播客,YOU乐电台
|
|
260
316
|
* @param pacmtoken 可选-登录凭证,用于获取所有电台
|
|
261
|
-
* @returns
|
|
317
|
+
* @returns 电台推荐列表和新的pacmtoken
|
|
262
318
|
*/
|
|
263
319
|
declare const getRadioRecommendAll: (pacmtoken?: string) => Promise<{
|
|
264
320
|
data: any;
|
|
@@ -352,6 +408,7 @@ declare const getLyric: (contentId: string) => Promise<{
|
|
|
352
408
|
* @param pacmtoken 用户pacmtoken
|
|
353
409
|
* @param playlistId 播放列表id
|
|
354
410
|
* @param title 播放列表标题
|
|
411
|
+
* @returns 添加结果和新的pacmtoken
|
|
355
412
|
*/
|
|
356
413
|
declare const addUserCollect: (pacmtoken: string, playlistId: string, title: string) => Promise<{
|
|
357
414
|
data: any;
|
|
@@ -359,9 +416,10 @@ declare const addUserCollect: (pacmtoken: string, playlistId: string, title: str
|
|
|
359
416
|
}>;
|
|
360
417
|
|
|
361
418
|
/**
|
|
362
|
-
*
|
|
419
|
+
* 删除用户收藏
|
|
363
420
|
* @param pacmtoken 用户pacmtoken
|
|
364
421
|
* @param playlistId 播放列表id
|
|
422
|
+
* @returns 删除结果和新的pacmtoken
|
|
365
423
|
*/
|
|
366
424
|
declare const removeUserCollect: (pacmtoken: string, playlistId: string) => Promise<{
|
|
367
425
|
data: any;
|
|
@@ -369,7 +427,8 @@ declare const removeUserCollect: (pacmtoken: string, playlistId: string) => Prom
|
|
|
369
427
|
}>;
|
|
370
428
|
|
|
371
429
|
/**
|
|
372
|
-
*
|
|
430
|
+
* 添加喜欢音乐
|
|
431
|
+
* @param pacmtoken 用户token
|
|
373
432
|
* @param contentIds 音乐id列表,多个id用逗号隔开,例如:123,456,789
|
|
374
433
|
* @returns 添加喜欢音乐结果,包含新pacmtoken
|
|
375
434
|
*/
|
|
@@ -379,7 +438,8 @@ declare const likeSong: (pacmtoken: string, contentIds: string) => Promise<{
|
|
|
379
438
|
}>;
|
|
380
439
|
|
|
381
440
|
/**
|
|
382
|
-
*
|
|
441
|
+
* 移除喜欢音乐
|
|
442
|
+
* @param pacmtoken 用户token
|
|
383
443
|
* @param contentId 单个音乐id,例如:123
|
|
384
444
|
* @returns 移除喜欢音乐结果,包含新pacmtoken
|
|
385
445
|
*/
|
|
@@ -393,7 +453,7 @@ declare const dislikeSong: (pacmtoken: string, contentId: string) => Promise<{
|
|
|
393
453
|
* @param pacmtoken 用户token
|
|
394
454
|
* @param title 播放列表名称
|
|
395
455
|
* @param playlistId 播放列表id
|
|
396
|
-
* @returns
|
|
456
|
+
* @returns 编辑结果和新的pacmtoken
|
|
397
457
|
*/
|
|
398
458
|
declare const editUserMyList: (pacmtoken: string, title: string, playlistId: string) => Promise<{
|
|
399
459
|
data: any;
|
|
@@ -404,7 +464,7 @@ declare const editUserMyList: (pacmtoken: string, title: string, playlistId: str
|
|
|
404
464
|
* 创建播放列表
|
|
405
465
|
* @param pacmtoken 用户token
|
|
406
466
|
* @param title 播放列表名称
|
|
407
|
-
* @returns
|
|
467
|
+
* @returns 创建结果和新的pacmtoken
|
|
408
468
|
*/
|
|
409
469
|
declare const addUserMyList: (pacmtoken: string, title: string) => Promise<{
|
|
410
470
|
data: any;
|
|
@@ -415,7 +475,7 @@ declare const addUserMyList: (pacmtoken: string, title: string) => Promise<{
|
|
|
415
475
|
* 删除播放列表
|
|
416
476
|
* @param pacmtoken 用户token
|
|
417
477
|
* @param playlistId 播放列表id
|
|
418
|
-
* @returns
|
|
478
|
+
* @returns 删除结果和新的pacmtoken
|
|
419
479
|
*/
|
|
420
480
|
declare const removeUserMyList: (pacmtoken: string, playlistId: string) => Promise<{
|
|
421
481
|
data: any;
|
|
@@ -451,10 +511,10 @@ declare const getColumnInfo: (columnId: string) => Promise<any>;
|
|
|
451
511
|
|
|
452
512
|
/**
|
|
453
513
|
* 添加歌曲到播放列表
|
|
454
|
-
* @param pacmtoken
|
|
514
|
+
* @param pacmtoken 用户token
|
|
455
515
|
* @param playlistId 播放列表id
|
|
456
516
|
* @param contentIds 歌曲id列表,逗号分隔
|
|
457
|
-
* @returns
|
|
517
|
+
* @returns 添加结果和新的pacmtoken
|
|
458
518
|
*/
|
|
459
519
|
declare const addSongToMyList: (pacmtoken: string, playlistId: string, contentIds: string) => Promise<{
|
|
460
520
|
data: any;
|
|
@@ -466,7 +526,7 @@ declare const addSongToMyList: (pacmtoken: string, playlistId: string, contentId
|
|
|
466
526
|
* @param pacmtoken 用户token
|
|
467
527
|
* @param playlistId 播放列表id
|
|
468
528
|
* @param contentId 单个歌曲id
|
|
469
|
-
* @returns
|
|
529
|
+
* @returns 删除结果和新的pacmtoken
|
|
470
530
|
*/
|
|
471
531
|
declare const removeSongFromMyList: (pacmtoken: string, playlistId: string, contentId: string) => Promise<{
|
|
472
532
|
data: any;
|
|
@@ -502,11 +562,13 @@ declare const getConcertInfo: (concertId: string) => Promise<any>;
|
|
|
502
562
|
declare const getConcertUrl: (concertId: string, liveId: string, rateLevel?: number) => Promise<any>;
|
|
503
563
|
|
|
504
564
|
/**
|
|
505
|
-
*
|
|
565
|
+
* 移动端演唱会详情
|
|
506
566
|
*
|
|
507
567
|
* $.data.contentItemList[0].itemList[0] 此演唱会简略信息
|
|
508
568
|
*
|
|
509
|
-
* $.data.contentItemList[
|
|
569
|
+
* $.data.contentItemList[3].itemList 精选视频-列表
|
|
570
|
+
*
|
|
571
|
+
* $.data.contentItemList[6].itemList 热门演唱会-列表
|
|
510
572
|
*
|
|
511
573
|
* @param concertId 单个演唱会id
|
|
512
574
|
* @returns
|
|
@@ -522,6 +584,76 @@ declare const getConcertDetail: (concertId: string) => Promise<any>;
|
|
|
522
584
|
*/
|
|
523
585
|
declare const getConcertComment: (concertId: string, page?: number, size?: number) => Promise<any>;
|
|
524
586
|
|
|
587
|
+
declare const matchPlaylist: (url: string) => Promise<any>;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* 获取用户呢喃签到信息
|
|
591
|
+
* @param pacmtoken - 用户认证 token
|
|
592
|
+
* @returns 签到信息和新的 pacmtoken
|
|
593
|
+
*/
|
|
594
|
+
declare const getNinanSignInfo: (pacmtoken: string) => Promise<{
|
|
595
|
+
data: any;
|
|
596
|
+
newPacmToken: string;
|
|
597
|
+
}>;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* 呢喃签到
|
|
601
|
+
* @param pacmtoken - 用户认证 token
|
|
602
|
+
* @returns 签到结果和新的 pacmtoken
|
|
603
|
+
*/
|
|
604
|
+
declare const signNinan: (pacmtoken: string) => Promise<{
|
|
605
|
+
data: any;
|
|
606
|
+
newPacmToken: string;
|
|
607
|
+
}>;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* 获取重定向URL
|
|
611
|
+
* @param contentId 音乐ID
|
|
612
|
+
* @param toneFlag 音色
|
|
613
|
+
* @returns 重定向URL
|
|
614
|
+
*/
|
|
615
|
+
declare const getRedirectUrl: (contentId: string, toneFlag?: string | undefined) => Promise<any>;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* 通过演唱会推荐 MV
|
|
619
|
+
* @param concertId 单个演唱会id
|
|
620
|
+
* @returns
|
|
621
|
+
*/
|
|
622
|
+
declare const getConcertRecommendMv: (concertId: string) => Promise<any>;
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* 获取歌曲的 MV 视频
|
|
626
|
+
* @param songId 歌曲ID
|
|
627
|
+
* @returns MV视频信息
|
|
628
|
+
*/
|
|
629
|
+
declare const getMvBySong: (songId: string) => Promise<any>;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* 是否关注作者
|
|
633
|
+
* @param pacmtoken 用户token
|
|
634
|
+
* @param authorIds 作者id列表,逗号分隔
|
|
635
|
+
* @param authorType 作者类型 (singer)
|
|
636
|
+
* @returns 是否关注结果和新的pacmtoken
|
|
637
|
+
*/
|
|
638
|
+
declare const isFollowAuthor: (pacmtoken: string, authorIds: string, authorType?: string) => Promise<{
|
|
639
|
+
success: boolean;
|
|
640
|
+
data: {
|
|
641
|
+
error: string;
|
|
642
|
+
};
|
|
643
|
+
newPacmToken: string;
|
|
644
|
+
} | {
|
|
645
|
+
data: any;
|
|
646
|
+
newPacmToken: string;
|
|
647
|
+
success?: undefined;
|
|
648
|
+
}>;
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* VIP 热歌
|
|
652
|
+
* @param size 数量
|
|
653
|
+
* @returns
|
|
654
|
+
*/
|
|
655
|
+
declare const getVipPlaylist: (size?: number) => Promise<any>;
|
|
656
|
+
|
|
525
657
|
/**
|
|
526
658
|
* modules 子目录统一入口
|
|
527
659
|
* 汇总导出所有 API 函数
|
|
@@ -542,14 +674,17 @@ declare const api_getComment: typeof getComment;
|
|
|
542
674
|
declare const api_getConcertComment: typeof getConcertComment;
|
|
543
675
|
declare const api_getConcertDetail: typeof getConcertDetail;
|
|
544
676
|
declare const api_getConcertInfo: typeof getConcertInfo;
|
|
677
|
+
declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
|
|
545
678
|
declare const api_getConcertUrl: typeof getConcertUrl;
|
|
546
679
|
declare const api_getLyric: typeof getLyric;
|
|
547
680
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
681
|
+
declare const api_getMvBySong: typeof getMvBySong;
|
|
548
682
|
declare const api_getMvHls: typeof getMvHls;
|
|
549
683
|
declare const api_getMvInfo: typeof getMvInfo;
|
|
550
684
|
declare const api_getNewCDList: typeof getNewCDList;
|
|
551
685
|
declare const api_getNewSongList: typeof getNewSongList;
|
|
552
686
|
declare const api_getNinanByDate: typeof getNinanByDate;
|
|
687
|
+
declare const api_getNinanSignInfo: typeof getNinanSignInfo;
|
|
553
688
|
declare const api_getNinanSong: typeof getNinanSong;
|
|
554
689
|
declare const api_getOpNum: typeof getOpNum;
|
|
555
690
|
declare const api_getPacmToken: typeof getPacmToken;
|
|
@@ -562,6 +697,7 @@ declare const api_getRadioSong: typeof getRadioSong;
|
|
|
562
697
|
declare const api_getRankIndex: typeof getRankIndex;
|
|
563
698
|
declare const api_getRankInfo: typeof getRankInfo;
|
|
564
699
|
declare const api_getRecommendPlaylist: typeof getRecommendPlaylist;
|
|
700
|
+
declare const api_getRedirectUrl: typeof getRedirectUrl;
|
|
565
701
|
declare const api_getResourceInfo: typeof getResourceInfo;
|
|
566
702
|
declare const api_getSVideoInfo: typeof getSVideoInfo;
|
|
567
703
|
declare const api_getSVideoSearchSuggest: typeof getSVideoSearchSuggest;
|
|
@@ -588,13 +724,16 @@ declare const api_getUserCollectList: typeof getUserCollectList;
|
|
|
588
724
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
589
725
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
590
726
|
declare const api_getVersion: typeof getVersion;
|
|
727
|
+
declare const api_getVipPlaylist: typeof getVipPlaylist;
|
|
591
728
|
declare const api_getVrbtOpNum: typeof getVrbtOpNum;
|
|
592
729
|
declare const api_getVrbtUrl: typeof getVrbtUrl;
|
|
730
|
+
declare const api_isFollowAuthor: typeof isFollowAuthor;
|
|
593
731
|
declare const api_likeSong: typeof likeSong;
|
|
594
732
|
declare const api_loginNP: typeof loginNP;
|
|
595
733
|
declare const api_loginOneClick: typeof loginOneClick;
|
|
596
734
|
declare const api_loginPhone: typeof loginPhone;
|
|
597
735
|
declare const api_loginSim: typeof loginSim;
|
|
736
|
+
declare const api_matchPlaylist: typeof matchPlaylist;
|
|
598
737
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
599
738
|
declare const api_removeSongFromMyList: typeof removeSongFromMyList;
|
|
600
739
|
declare const api_removeUserCollect: typeof removeUserCollect;
|
|
@@ -609,13 +748,11 @@ declare const api_searchSinger: typeof searchSinger;
|
|
|
609
748
|
declare const api_searchSong: typeof searchSong;
|
|
610
749
|
declare const api_searchSuggest: typeof searchSuggest;
|
|
611
750
|
declare const api_searchTicket: typeof searchTicket;
|
|
751
|
+
declare const api_signNinan: typeof signNinan;
|
|
612
752
|
declare namespace api {
|
|
613
|
-
export { api_YDRZ as YDRZ, 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_getColumnInfo as getColumnInfo, api_getComment as getComment, api_getConcertComment as getConcertComment, api_getConcertDetail as getConcertDetail, api_getConcertInfo as getConcertInfo, api_getConcertUrl as getConcertUrl, api_getLyric as getLyric, api_getMVRecommend as getMVRecommend, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getNewCDList as getNewCDList, api_getNewSongList as getNewSongList, api_getNinanByDate as getNinanByDate, api_getNinanSong as getNinanSong, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, 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_getResourceInfo as getResourceInfo, api_getSVideoInfo as getSVideoInfo, 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_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getVersion as getVersion, api_getVrbtOpNum as getVrbtOpNum, api_getVrbtUrl as getVrbtUrl, api_likeSong as likeSong, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginPhone as loginPhone, api_loginSim as loginSim, api_queryUserInfo as queryUserInfo, 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 };
|
|
753
|
+
export { api_YDRZ as YDRZ, 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_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_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_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_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_getUrlV1 as getUrlV1, api_getUrlV2 as getUrlV2, api_getUserBadge as getUserBadge, api_getUserCollectList as getUserCollectList, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, 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_matchPlaylist as matchPlaylist, api_queryUserInfo as queryUserInfo, 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_signNinan as signNinan };
|
|
614
754
|
}
|
|
615
755
|
|
|
616
|
-
declare const ua: string[];
|
|
617
|
-
declare const randomUA: () => string;
|
|
618
|
-
|
|
619
756
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
620
757
|
|
|
621
758
|
declare const getPublicKey: () => Promise<{
|
|
@@ -636,10 +773,8 @@ declare const index_RSAKey: typeof RSAKey;
|
|
|
636
773
|
declare const index_URLParams: typeof URLParams;
|
|
637
774
|
declare const index_getDeviceId: typeof getDeviceId;
|
|
638
775
|
declare const index_getPublicKey: typeof getPublicKey;
|
|
639
|
-
declare const index_randomUA: typeof randomUA;
|
|
640
|
-
declare const index_ua: typeof ua;
|
|
641
776
|
declare namespace index {
|
|
642
|
-
export { index_RSAKey as RSAKey, index_URLParams as URLParams, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey
|
|
777
|
+
export { index_RSAKey as RSAKey, index_URLParams as URLParams, index_getDeviceId as getDeviceId, index_getPublicKey as getPublicKey };
|
|
643
778
|
}
|
|
644
779
|
|
|
645
780
|
/**
|
|
@@ -656,4 +791,4 @@ declare function createClient(): typeof api;
|
|
|
656
791
|
/** 客户端类型 */
|
|
657
792
|
type MiguClient = ReturnType<typeof createClient>;
|
|
658
793
|
|
|
659
|
-
export { type MiguClient, index as MiguUtils, RSAKey, URLParams, YDRZ, addSongToMyList, addUserCollect, addUserMyList, checkCanListen, checkToken, createClient, dislikeSong, editUserMyList, getAlbumInfo, getAlbumSong, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertUrl, getDeviceId, getLyric, getMVRecommend, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSong, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSVideoInfo, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerSimilar, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserCollectList, getUserHomePage, getUserMyList, getVersion, getVrbtOpNum, getVrbtUrl, likeSong, loginNP, loginOneClick, loginPhone, loginSim, api as modules, queryUserInfo,
|
|
794
|
+
export { type MiguClient, index as MiguUtils, RSAKey, URLParams, YDRZ, addSongToMyList, addUserCollect, addUserMyList, checkCanListen, checkToken, createClient, dislikeSong, editUserMyList, getAlbumInfo, getAlbumSong, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDeviceId, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNinanByDate, getNinanSignInfo, getNinanSong, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getPlaylistSquarePage, getPublicKey, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceInfo, getSVideoInfo, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerSimilar, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserCollectList, getUserHomePage, getUserMyList, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, likeSong, loginNP, loginOneClick, loginPhone, loginSim, matchPlaylist, api as modules, queryUserInfo, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, signNinan };
|