migu-api-enhanced 2.9.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 +17 -17
- package/dist/index.cjs +378 -238
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +222 -22
- package/dist/index.d.ts +222 -22
- package/dist/index.js +359 -230
- package/dist/index.js.map +1 -1
- package/package.json +9 -8
package/dist/index.d.ts
CHANGED
|
@@ -75,10 +75,28 @@ 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
|
|
|
89
|
+
/**
|
|
90
|
+
* 获取mv hls url
|
|
91
|
+
*
|
|
92
|
+
* @param mvContentId mv id
|
|
93
|
+
* @param mvCopyrightId mv copyrightId
|
|
94
|
+
* @param url mv url (url接口返回)
|
|
95
|
+
* @param size mv size (url接口获取)
|
|
96
|
+
* @param format mv format (url接口获取)
|
|
97
|
+
* @param needHttps 是否需要https (默认true)
|
|
98
|
+
* @returns JSON
|
|
99
|
+
*/
|
|
82
100
|
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number, format?: string, needHttps?: boolean) => Promise<any>;
|
|
83
101
|
|
|
84
102
|
declare const loginNP: {
|
|
@@ -95,6 +113,14 @@ declare const loginNP: {
|
|
|
95
113
|
|
|
96
114
|
declare const checkToken: (token?: string) => Promise<any>;
|
|
97
115
|
|
|
116
|
+
/**
|
|
117
|
+
* 获取 pacmtoken
|
|
118
|
+
* @param token 登录token
|
|
119
|
+
* @param type 类型
|
|
120
|
+
* @param sourceId 来源ID
|
|
121
|
+
* @param activityId 活动ID
|
|
122
|
+
* @returns pacmtoken 和响应体
|
|
123
|
+
*/
|
|
98
124
|
declare const getPacmToken: (token?: string, type?: string, sourceId?: string, activityId?: string) => Promise<{
|
|
99
125
|
pacmToken: string;
|
|
100
126
|
body: any;
|
|
@@ -102,21 +128,41 @@ declare const getPacmToken: (token?: string, type?: string, sourceId?: string, a
|
|
|
102
128
|
|
|
103
129
|
declare const getTicketInfo: (page?: number, pageCount?: number) => Promise<any>;
|
|
104
130
|
|
|
131
|
+
/**
|
|
132
|
+
* 获取用户徽章信息
|
|
133
|
+
* @param pacmtoken 用户token
|
|
134
|
+
* @returns 用户徽章信息和新的pacmtoken
|
|
135
|
+
*/
|
|
105
136
|
declare const getUserBadge: (pacmtoken: string) => Promise<{
|
|
106
137
|
data: any;
|
|
107
138
|
newPacmToken: string;
|
|
108
139
|
}>;
|
|
109
140
|
|
|
141
|
+
/**
|
|
142
|
+
* 查询用户信息
|
|
143
|
+
* @param pacmtoken 用户token
|
|
144
|
+
* @returns 用户信息和新的pacmtoken
|
|
145
|
+
*/
|
|
110
146
|
declare const queryUserInfo: (pacmtoken: string) => Promise<{
|
|
111
147
|
data: any;
|
|
112
148
|
newPacmToken: string;
|
|
113
149
|
}>;
|
|
114
150
|
|
|
151
|
+
/**
|
|
152
|
+
* 获取用户主页信息
|
|
153
|
+
* @param pacmtoken 用户token
|
|
154
|
+
* @returns 用户主页信息和新的pacmtoken
|
|
155
|
+
*/
|
|
115
156
|
declare const getUserHomePage: (pacmtoken: string) => Promise<{
|
|
116
157
|
data: any;
|
|
117
158
|
newPacmToken: string;
|
|
118
159
|
}>;
|
|
119
160
|
|
|
161
|
+
/**
|
|
162
|
+
* 获取今日推荐
|
|
163
|
+
* @param pacmtoken 用户token
|
|
164
|
+
* @returns 今日推荐列表和新的pacmtoken
|
|
165
|
+
*/
|
|
120
166
|
declare const getTodayRecommend: (pacmtoken: string) => Promise<{
|
|
121
167
|
data: any;
|
|
122
168
|
newPacmToken: string;
|
|
@@ -143,11 +189,26 @@ declare const loginSim: {
|
|
|
143
189
|
}>;
|
|
144
190
|
};
|
|
145
191
|
|
|
192
|
+
/**
|
|
193
|
+
* 获取用户收藏列表
|
|
194
|
+
* @param pacmtoken 用户token
|
|
195
|
+
* @param page 页码
|
|
196
|
+
* @param size 每页大小
|
|
197
|
+
* @returns 用户收藏列表和新的pacmtoken
|
|
198
|
+
*/
|
|
146
199
|
declare const getUserCollectList: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
147
200
|
data: any;
|
|
148
201
|
newPacmToken: string;
|
|
149
202
|
}>;
|
|
150
203
|
|
|
204
|
+
/**
|
|
205
|
+
* 获取用户播放列表
|
|
206
|
+
* @param pacmtoken 用户token
|
|
207
|
+
* @param queryType 查询类型
|
|
208
|
+
* @param page 页码
|
|
209
|
+
* @param size 每页大小
|
|
210
|
+
* @returns 用户播放列表和新的pacmtoken
|
|
211
|
+
*/
|
|
151
212
|
declare const getUserMyList: (pacmtoken: string, queryType?: number, page?: number, size?: number) => Promise<{
|
|
152
213
|
data: any;
|
|
153
214
|
newPacmToken: string;
|
|
@@ -230,11 +291,17 @@ declare const loginPhone: {
|
|
|
230
291
|
};
|
|
231
292
|
|
|
232
293
|
/**
|
|
233
|
-
*
|
|
234
|
-
* @param
|
|
294
|
+
* 获取相似MV推荐
|
|
295
|
+
* @param mvContentId MV视频ID
|
|
296
|
+
* @param page 页码
|
|
297
|
+
* @returns 相似列表
|
|
235
298
|
*/
|
|
236
299
|
declare const getMVRecommend: (mvContentId: string, page?: number) => Promise<any>;
|
|
237
300
|
|
|
301
|
+
/**
|
|
302
|
+
* 网页v5 歌单广场
|
|
303
|
+
* @returns
|
|
304
|
+
*/
|
|
238
305
|
declare const getPlaylistSquarePage: () => Promise<any>;
|
|
239
306
|
|
|
240
307
|
declare const searchLrc: (text: string, page?: number) => Promise<any>;
|
|
@@ -247,7 +314,7 @@ declare const getNinanByDate: (date: string) => Promise<any>;
|
|
|
247
314
|
* 获取电台推荐 (所有电台)
|
|
248
315
|
* 私人FM(上瘾电台、听见不同),时序电台,分类电台,乐游播客,YOU乐电台
|
|
249
316
|
* @param pacmtoken 可选-登录凭证,用于获取所有电台
|
|
250
|
-
* @returns
|
|
317
|
+
* @returns 电台推荐列表和新的pacmtoken
|
|
251
318
|
*/
|
|
252
319
|
declare const getRadioRecommendAll: (pacmtoken?: string) => Promise<{
|
|
253
320
|
data: any;
|
|
@@ -341,6 +408,7 @@ declare const getLyric: (contentId: string) => Promise<{
|
|
|
341
408
|
* @param pacmtoken 用户pacmtoken
|
|
342
409
|
* @param playlistId 播放列表id
|
|
343
410
|
* @param title 播放列表标题
|
|
411
|
+
* @returns 添加结果和新的pacmtoken
|
|
344
412
|
*/
|
|
345
413
|
declare const addUserCollect: (pacmtoken: string, playlistId: string, title: string) => Promise<{
|
|
346
414
|
data: any;
|
|
@@ -348,9 +416,10 @@ declare const addUserCollect: (pacmtoken: string, playlistId: string, title: str
|
|
|
348
416
|
}>;
|
|
349
417
|
|
|
350
418
|
/**
|
|
351
|
-
*
|
|
419
|
+
* 删除用户收藏
|
|
352
420
|
* @param pacmtoken 用户pacmtoken
|
|
353
421
|
* @param playlistId 播放列表id
|
|
422
|
+
* @returns 删除结果和新的pacmtoken
|
|
354
423
|
*/
|
|
355
424
|
declare const removeUserCollect: (pacmtoken: string, playlistId: string) => Promise<{
|
|
356
425
|
data: any;
|
|
@@ -358,7 +427,8 @@ declare const removeUserCollect: (pacmtoken: string, playlistId: string) => Prom
|
|
|
358
427
|
}>;
|
|
359
428
|
|
|
360
429
|
/**
|
|
361
|
-
*
|
|
430
|
+
* 添加喜欢音乐
|
|
431
|
+
* @param pacmtoken 用户token
|
|
362
432
|
* @param contentIds 音乐id列表,多个id用逗号隔开,例如:123,456,789
|
|
363
433
|
* @returns 添加喜欢音乐结果,包含新pacmtoken
|
|
364
434
|
*/
|
|
@@ -368,7 +438,8 @@ declare const likeSong: (pacmtoken: string, contentIds: string) => Promise<{
|
|
|
368
438
|
}>;
|
|
369
439
|
|
|
370
440
|
/**
|
|
371
|
-
*
|
|
441
|
+
* 移除喜欢音乐
|
|
442
|
+
* @param pacmtoken 用户token
|
|
372
443
|
* @param contentId 单个音乐id,例如:123
|
|
373
444
|
* @returns 移除喜欢音乐结果,包含新pacmtoken
|
|
374
445
|
*/
|
|
@@ -382,7 +453,7 @@ declare const dislikeSong: (pacmtoken: string, contentId: string) => Promise<{
|
|
|
382
453
|
* @param pacmtoken 用户token
|
|
383
454
|
* @param title 播放列表名称
|
|
384
455
|
* @param playlistId 播放列表id
|
|
385
|
-
* @returns
|
|
456
|
+
* @returns 编辑结果和新的pacmtoken
|
|
386
457
|
*/
|
|
387
458
|
declare const editUserMyList: (pacmtoken: string, title: string, playlistId: string) => Promise<{
|
|
388
459
|
data: any;
|
|
@@ -393,7 +464,7 @@ declare const editUserMyList: (pacmtoken: string, title: string, playlistId: str
|
|
|
393
464
|
* 创建播放列表
|
|
394
465
|
* @param pacmtoken 用户token
|
|
395
466
|
* @param title 播放列表名称
|
|
396
|
-
* @returns
|
|
467
|
+
* @returns 创建结果和新的pacmtoken
|
|
397
468
|
*/
|
|
398
469
|
declare const addUserMyList: (pacmtoken: string, title: string) => Promise<{
|
|
399
470
|
data: any;
|
|
@@ -404,7 +475,7 @@ declare const addUserMyList: (pacmtoken: string, title: string) => Promise<{
|
|
|
404
475
|
* 删除播放列表
|
|
405
476
|
* @param pacmtoken 用户token
|
|
406
477
|
* @param playlistId 播放列表id
|
|
407
|
-
* @returns
|
|
478
|
+
* @returns 删除结果和新的pacmtoken
|
|
408
479
|
*/
|
|
409
480
|
declare const removeUserMyList: (pacmtoken: string, playlistId: string) => Promise<{
|
|
410
481
|
data: any;
|
|
@@ -440,10 +511,10 @@ declare const getColumnInfo: (columnId: string) => Promise<any>;
|
|
|
440
511
|
|
|
441
512
|
/**
|
|
442
513
|
* 添加歌曲到播放列表
|
|
443
|
-
* @param pacmtoken
|
|
514
|
+
* @param pacmtoken 用户token
|
|
444
515
|
* @param playlistId 播放列表id
|
|
445
516
|
* @param contentIds 歌曲id列表,逗号分隔
|
|
446
|
-
* @returns
|
|
517
|
+
* @returns 添加结果和新的pacmtoken
|
|
447
518
|
*/
|
|
448
519
|
declare const addSongToMyList: (pacmtoken: string, playlistId: string, contentIds: string) => Promise<{
|
|
449
520
|
data: any;
|
|
@@ -455,13 +526,134 @@ declare const addSongToMyList: (pacmtoken: string, playlistId: string, contentId
|
|
|
455
526
|
* @param pacmtoken 用户token
|
|
456
527
|
* @param playlistId 播放列表id
|
|
457
528
|
* @param contentId 单个歌曲id
|
|
458
|
-
* @returns
|
|
529
|
+
* @returns 删除结果和新的pacmtoken
|
|
459
530
|
*/
|
|
460
531
|
declare const removeSongFromMyList: (pacmtoken: string, playlistId: string, contentId: string) => Promise<{
|
|
461
532
|
data: any;
|
|
462
533
|
newPacmToken: string;
|
|
463
534
|
}>;
|
|
464
535
|
|
|
536
|
+
/**
|
|
537
|
+
* 获取短视频用户信息
|
|
538
|
+
* @param type uid 或 videoUserId
|
|
539
|
+
* @param uid 视频用户uid
|
|
540
|
+
* @param videoUserId 视频用户id
|
|
541
|
+
* @returns 短视频用户信息
|
|
542
|
+
*/
|
|
543
|
+
declare const getSVideoUserInfo: (type: string, uid?: string, videoUserId?: string) => Promise<any>;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* 演唱会详细信息
|
|
547
|
+
*
|
|
548
|
+
* 返回 $.data.liveId 直播id 等等
|
|
549
|
+
* @param concertId 单个演唱会id
|
|
550
|
+
* @returns
|
|
551
|
+
*/
|
|
552
|
+
declare const getConcertInfo: (concertId: string) => Promise<any>;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 获取演唱会url (auto hls)
|
|
556
|
+
*
|
|
557
|
+
* @param concertId 单个演唱会id
|
|
558
|
+
* @param liveId 直播id (concert_info中获取)
|
|
559
|
+
* @param rateLevel 视频质量 (1:普通 2:高清 3:超清)
|
|
560
|
+
* @returns
|
|
561
|
+
*/
|
|
562
|
+
declare const getConcertUrl: (concertId: string, liveId: string, rateLevel?: number) => Promise<any>;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* 移动端演唱会详情
|
|
566
|
+
*
|
|
567
|
+
* $.data.contentItemList[0].itemList[0] 此演唱会简略信息
|
|
568
|
+
*
|
|
569
|
+
* $.data.contentItemList[3].itemList 精选视频-列表
|
|
570
|
+
*
|
|
571
|
+
* $.data.contentItemList[6].itemList 热门演唱会-列表
|
|
572
|
+
*
|
|
573
|
+
* @param concertId 单个演唱会id
|
|
574
|
+
* @returns
|
|
575
|
+
*/
|
|
576
|
+
declare const getConcertDetail: (concertId: string) => Promise<any>;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* 演唱会评论
|
|
580
|
+
* @param concertId 单个演唱会id
|
|
581
|
+
* @param page 翻页
|
|
582
|
+
* @param size 单页大小
|
|
583
|
+
* @returns
|
|
584
|
+
*/
|
|
585
|
+
declare const getConcertComment: (concertId: string, page?: number, size?: number) => Promise<any>;
|
|
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
|
+
|
|
465
657
|
/**
|
|
466
658
|
* modules 子目录统一入口
|
|
467
659
|
* 汇总导出所有 API 函数
|
|
@@ -479,13 +671,20 @@ declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
|
479
671
|
declare const api_getAlbumSong: typeof getAlbumSong;
|
|
480
672
|
declare const api_getColumnInfo: typeof getColumnInfo;
|
|
481
673
|
declare const api_getComment: typeof getComment;
|
|
674
|
+
declare const api_getConcertComment: typeof getConcertComment;
|
|
675
|
+
declare const api_getConcertDetail: typeof getConcertDetail;
|
|
676
|
+
declare const api_getConcertInfo: typeof getConcertInfo;
|
|
677
|
+
declare const api_getConcertRecommendMv: typeof getConcertRecommendMv;
|
|
678
|
+
declare const api_getConcertUrl: typeof getConcertUrl;
|
|
482
679
|
declare const api_getLyric: typeof getLyric;
|
|
483
680
|
declare const api_getMVRecommend: typeof getMVRecommend;
|
|
681
|
+
declare const api_getMvBySong: typeof getMvBySong;
|
|
484
682
|
declare const api_getMvHls: typeof getMvHls;
|
|
485
683
|
declare const api_getMvInfo: typeof getMvInfo;
|
|
486
684
|
declare const api_getNewCDList: typeof getNewCDList;
|
|
487
685
|
declare const api_getNewSongList: typeof getNewSongList;
|
|
488
686
|
declare const api_getNinanByDate: typeof getNinanByDate;
|
|
687
|
+
declare const api_getNinanSignInfo: typeof getNinanSignInfo;
|
|
489
688
|
declare const api_getNinanSong: typeof getNinanSong;
|
|
490
689
|
declare const api_getOpNum: typeof getOpNum;
|
|
491
690
|
declare const api_getPacmToken: typeof getPacmToken;
|
|
@@ -498,11 +697,13 @@ declare const api_getRadioSong: typeof getRadioSong;
|
|
|
498
697
|
declare const api_getRankIndex: typeof getRankIndex;
|
|
499
698
|
declare const api_getRankInfo: typeof getRankInfo;
|
|
500
699
|
declare const api_getRecommendPlaylist: typeof getRecommendPlaylist;
|
|
700
|
+
declare const api_getRedirectUrl: typeof getRedirectUrl;
|
|
501
701
|
declare const api_getResourceInfo: typeof getResourceInfo;
|
|
502
702
|
declare const api_getSVideoInfo: typeof getSVideoInfo;
|
|
503
703
|
declare const api_getSVideoSearchSuggest: typeof getSVideoSearchSuggest;
|
|
504
704
|
declare const api_getSVideoUrl: typeof getSVideoUrl;
|
|
505
705
|
declare const api_getSVideoUserContent: typeof getSVideoUserContent;
|
|
706
|
+
declare const api_getSVideoUserInfo: typeof getSVideoUserInfo;
|
|
506
707
|
declare const api_getSceneRecommend: typeof getSceneRecommend;
|
|
507
708
|
declare const api_getSearchDefault: typeof getSearchDefault;
|
|
508
709
|
declare const api_getSearchHot: typeof getSearchHot;
|
|
@@ -523,13 +724,16 @@ declare const api_getUserCollectList: typeof getUserCollectList;
|
|
|
523
724
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
524
725
|
declare const api_getUserMyList: typeof getUserMyList;
|
|
525
726
|
declare const api_getVersion: typeof getVersion;
|
|
727
|
+
declare const api_getVipPlaylist: typeof getVipPlaylist;
|
|
526
728
|
declare const api_getVrbtOpNum: typeof getVrbtOpNum;
|
|
527
729
|
declare const api_getVrbtUrl: typeof getVrbtUrl;
|
|
730
|
+
declare const api_isFollowAuthor: typeof isFollowAuthor;
|
|
528
731
|
declare const api_likeSong: typeof likeSong;
|
|
529
732
|
declare const api_loginNP: typeof loginNP;
|
|
530
733
|
declare const api_loginOneClick: typeof loginOneClick;
|
|
531
734
|
declare const api_loginPhone: typeof loginPhone;
|
|
532
735
|
declare const api_loginSim: typeof loginSim;
|
|
736
|
+
declare const api_matchPlaylist: typeof matchPlaylist;
|
|
533
737
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
534
738
|
declare const api_removeSongFromMyList: typeof removeSongFromMyList;
|
|
535
739
|
declare const api_removeUserCollect: typeof removeUserCollect;
|
|
@@ -544,13 +748,11 @@ declare const api_searchSinger: typeof searchSinger;
|
|
|
544
748
|
declare const api_searchSong: typeof searchSong;
|
|
545
749
|
declare const api_searchSuggest: typeof searchSuggest;
|
|
546
750
|
declare const api_searchTicket: typeof searchTicket;
|
|
751
|
+
declare const api_signNinan: typeof signNinan;
|
|
547
752
|
declare namespace api {
|
|
548
|
-
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_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_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 };
|
|
549
754
|
}
|
|
550
755
|
|
|
551
|
-
declare const ua: string[];
|
|
552
|
-
declare const randomUA: () => string;
|
|
553
|
-
|
|
554
756
|
declare function getDeviceId(a?: number, b?: number): string;
|
|
555
757
|
|
|
556
758
|
declare const getPublicKey: () => Promise<{
|
|
@@ -571,10 +773,8 @@ declare const index_RSAKey: typeof RSAKey;
|
|
|
571
773
|
declare const index_URLParams: typeof URLParams;
|
|
572
774
|
declare const index_getDeviceId: typeof getDeviceId;
|
|
573
775
|
declare const index_getPublicKey: typeof getPublicKey;
|
|
574
|
-
declare const index_randomUA: typeof randomUA;
|
|
575
|
-
declare const index_ua: typeof ua;
|
|
576
776
|
declare namespace index {
|
|
577
|
-
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 };
|
|
578
778
|
}
|
|
579
779
|
|
|
580
780
|
/**
|
|
@@ -591,4 +791,4 @@ declare function createClient(): typeof api;
|
|
|
591
791
|
/** 客户端类型 */
|
|
592
792
|
type MiguClient = ReturnType<typeof createClient>;
|
|
593
793
|
|
|
594
|
-
export { type MiguClient, index as MiguUtils, RSAKey, URLParams, YDRZ, addSongToMyList, addUserCollect, addUserMyList, checkCanListen, checkToken, createClient, dislikeSong, editUserMyList, getAlbumInfo, getAlbumSong, getColumnInfo, getComment, 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, 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 };
|