migu-api-enhanced 2.27.4 → 2.28.3

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.
Files changed (93) hide show
  1. package/README.md +6 -6
  2. package/dist/YDRZ-JLSMOCYV.cjs +12 -0
  3. package/dist/YDRZ-JLSMOCYV.cjs.map +1 -0
  4. package/dist/YDRZ-PHOHCFZ7.mjs +12 -0
  5. package/dist/activity/index.cjs +10 -10
  6. package/dist/activity/index.cjs.map +1 -1
  7. package/dist/activity/index.mjs +7 -7
  8. package/dist/activity/index.mjs.map +1 -1
  9. package/dist/chunk-4LG74IW5.cjs +38 -0
  10. package/dist/chunk-4LG74IW5.cjs.map +1 -0
  11. package/dist/chunk-CGV2KEQH.mjs +38 -0
  12. package/dist/chunk-CGV2KEQH.mjs.map +1 -0
  13. package/dist/{chunk-RI7PQIHG.cjs → chunk-EJRBQONV.cjs} +21 -29
  14. package/dist/chunk-EJRBQONV.cjs.map +1 -0
  15. package/dist/{chunk-4ZNJQZKT.mjs → chunk-GU4YGYF5.mjs} +22 -29
  16. package/dist/chunk-GU4YGYF5.mjs.map +1 -0
  17. package/dist/chunk-KFBODHXY.mjs +438 -0
  18. package/dist/chunk-KFBODHXY.mjs.map +1 -0
  19. package/dist/chunk-KGXC32BN.cjs.map +1 -1
  20. package/dist/chunk-RKEORE6S.mjs +34 -0
  21. package/dist/chunk-RKEORE6S.mjs.map +1 -0
  22. package/dist/{chunk-ZEGJU5LW.cjs → chunk-TVZESJ3J.cjs} +26 -33
  23. package/dist/chunk-TVZESJ3J.cjs.map +1 -0
  24. package/dist/{chunk-EIM46AX6.mjs → chunk-VD7HOOHT.mjs} +21 -29
  25. package/dist/chunk-VD7HOOHT.mjs.map +1 -0
  26. package/dist/chunk-XQIVVOH2.cjs +34 -0
  27. package/dist/chunk-XQIVVOH2.cjs.map +1 -0
  28. package/dist/chunk-Y6RTHMBM.cjs +438 -0
  29. package/dist/chunk-Y6RTHMBM.cjs.map +1 -0
  30. package/dist/decryptMrc-OOH5UIFN.cjs.map +1 -1
  31. package/dist/index.cjs +322 -301
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.cts +948 -57
  34. package/dist/index.d.ts +948 -57
  35. package/dist/index.mjs +220 -199
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/login/index.cjs +81 -95
  38. package/dist/login/index.cjs.map +1 -1
  39. package/dist/login/index.mjs +76 -90
  40. package/dist/login/index.mjs.map +1 -1
  41. package/dist/mrc/index.cjs +8 -5
  42. package/dist/mrc/index.cjs.map +1 -1
  43. package/dist/mrc/index.d.cts +0 -10
  44. package/dist/mrc/index.d.ts +0 -10
  45. package/dist/mrc/index.mjs +7 -4
  46. package/dist/mrc/index.mjs.map +1 -1
  47. package/dist/{chunk-TOFOR57V.cjs → publicKey-K56XCMLR.cjs} +3 -4
  48. package/dist/publicKey-K56XCMLR.cjs.map +1 -0
  49. package/dist/{chunk-JRQEIAY5.mjs → publicKey-UVL2ID6N.mjs} +2 -3
  50. package/dist/rsalib-FMWPCK5N.mjs +9 -0
  51. package/dist/rsalib-VSMUMKOT.cjs +9 -0
  52. package/dist/rsalib-VSMUMKOT.cjs.map +1 -0
  53. package/dist/utils/index.cjs +185 -14
  54. package/dist/utils/index.cjs.map +1 -1
  55. package/dist/utils/index.d.cts +48 -16
  56. package/dist/utils/index.d.ts +48 -16
  57. package/dist/utils/index.mjs +193 -22
  58. package/dist/utils/index.mjs.map +1 -1
  59. package/package.json +106 -101
  60. package/dist/YDRZ-HSTSW5FC.mjs +0 -11
  61. package/dist/YDRZ-KF4GXM2T.cjs +0 -11
  62. package/dist/YDRZ-KF4GXM2T.cjs.map +0 -1
  63. package/dist/chunk-4ZNJQZKT.mjs.map +0 -1
  64. package/dist/chunk-AJYZYXNE.mjs +0 -18
  65. package/dist/chunk-AJYZYXNE.mjs.map +0 -1
  66. package/dist/chunk-C56WQXBU.cjs +0 -13
  67. package/dist/chunk-C56WQXBU.cjs.map +0 -1
  68. package/dist/chunk-EIM46AX6.mjs.map +0 -1
  69. package/dist/chunk-HDGZY5R6.mjs +0 -13
  70. package/dist/chunk-HDGZY5R6.mjs.map +0 -1
  71. package/dist/chunk-ILRMRBMK.cjs +0 -71
  72. package/dist/chunk-ILRMRBMK.cjs.map +0 -1
  73. package/dist/chunk-QEH62Z4S.cjs +0 -18
  74. package/dist/chunk-QEH62Z4S.cjs.map +0 -1
  75. package/dist/chunk-QMBC3CRQ.mjs +0 -51
  76. package/dist/chunk-QMBC3CRQ.mjs.map +0 -1
  77. package/dist/chunk-QTK2O5KQ.mjs +0 -71
  78. package/dist/chunk-QTK2O5KQ.mjs.map +0 -1
  79. package/dist/chunk-RI7PQIHG.cjs.map +0 -1
  80. package/dist/chunk-TIKOSETY.cjs +0 -51
  81. package/dist/chunk-TIKOSETY.cjs.map +0 -1
  82. package/dist/chunk-TOFOR57V.cjs.map +0 -1
  83. package/dist/chunk-ZEGJU5LW.cjs.map +0 -1
  84. package/dist/publicKey-EHY5LDOP.cjs +0 -8
  85. package/dist/publicKey-EHY5LDOP.cjs.map +0 -1
  86. package/dist/publicKey-LX6G3T7L.mjs +0 -8
  87. package/dist/rsalib-GGMEGQT2.cjs +0 -9
  88. package/dist/rsalib-GGMEGQT2.cjs.map +0 -1
  89. package/dist/rsalib-HO4SSCTO.mjs +0 -9
  90. package/dist/rsalib-HO4SSCTO.mjs.map +0 -1
  91. /package/dist/{YDRZ-HSTSW5FC.mjs.map → YDRZ-PHOHCFZ7.mjs.map} +0 -0
  92. /package/dist/{chunk-JRQEIAY5.mjs.map → publicKey-UVL2ID6N.mjs.map} +0 -0
  93. /package/dist/{publicKey-LX6G3T7L.mjs.map → rsalib-FMWPCK5N.mjs.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,36 +1,619 @@
1
- declare const searchSong: (text: string, page?: number) => Promise<any>;
2
-
3
- declare const searchPlaylist: (text: string, page?: number, typeOrder?: number) => Promise<any>;
4
-
5
- declare const searchAlbum: (text: string, page?: number, typeOrder?: number) => Promise<any>;
6
-
7
- declare const searchSinger: (text: string, page?: number) => Promise<any>;
8
-
9
- declare const searchConcert: (text: string, page?: number) => Promise<any>;
10
-
11
- declare const getSearchHot: () => Promise<any>;
12
-
13
- declare const getSearchDefault: () => Promise<any>;
14
-
15
- declare const searchMv: (text: string, page?: number, typeOrder?: number) => Promise<any>;
16
-
17
- declare const searchSuggest: (text: string) => Promise<any>;
1
+ interface ApiResponse<T = unknown> {
2
+ code: string;
3
+ info: string;
4
+ data: T;
5
+ }
18
6
 
19
- declare const searchRbt: (text: string, page?: number) => Promise<any>;
7
+ /** 音频格式 */
8
+ interface AudioFormat {
9
+ resourceType: string;
10
+ formatType: string;
11
+ showTags?: string[];
12
+ showTagsNew?: string[];
13
+ isize: string;
14
+ asize: string;
15
+ iformat: string;
16
+ aformat: string;
17
+ }
18
+ /** 歌手简要信息 */
19
+ interface SingerBrief {
20
+ id: string;
21
+ name: string;
22
+ img: string;
23
+ nameSpelling: string;
24
+ }
25
+ /** 图片资源 */
26
+ interface ImgItem {
27
+ imgSizeType: string;
28
+ img: string;
29
+ imgOri?: string;
30
+ webpImg?: string;
31
+ fileId?: string;
32
+ picWidth?: string;
33
+ picHeight?: string;
34
+ }
35
+ /** 通用歌曲条目(专辑 / 歌单 / 电台等歌曲列表共用) */
36
+ interface SongItem {
37
+ resourceType: string;
38
+ contentId: string;
39
+ songId: string;
40
+ songName: string;
41
+ track?: string;
42
+ mvId?: string;
43
+ mvCopyrightType: number;
44
+ ringToneId: string;
45
+ ringCopyrightId: string;
46
+ haveShockRing: number;
47
+ showTags: string[];
48
+ songPinyin: string;
49
+ audioFormats: AudioFormat[];
50
+ duration: number;
51
+ playNumDesc: string;
52
+ copyrightId: string;
53
+ copyrightType: number;
54
+ restrictType: number;
55
+ albumId: string;
56
+ album: string;
57
+ albumPinyin: string;
58
+ img1: string;
59
+ img2: string;
60
+ img3: string;
61
+ downloadTags?: string[];
62
+ singerList: SingerBrief[];
63
+ ext: {
64
+ disc: string;
65
+ };
66
+ foreverListenFlag: string;
67
+ foreverListen: boolean;
68
+ actionImgUrl?: string;
69
+ shockRingId: string;
70
+ hasAssociatedRing?: boolean;
71
+ chorusStartTime?: string;
72
+ productAuthorizeUsage: string;
73
+ audioBook: string;
74
+ ugcAuthorList: unknown[];
75
+ lrcUrl: string;
76
+ mrcUrl: string;
77
+ /** 子资源类型(歌单 / 电台歌曲) */
78
+ subResourceType?: string;
79
+ }
20
80
 
21
- declare const searchTicket: (text: string, page?: number) => Promise<any>;
81
+ /** 搜索筛选项 */
82
+ interface SearchCondition {
83
+ id: string;
84
+ title: string;
85
+ type: string;
86
+ datas: Array<{
87
+ title: string;
88
+ conditionType: string;
89
+ }>;
90
+ }
91
+ /** 搜索列表分页数据通用结构 */
92
+ interface SearchResultData<T> {
93
+ hasNext: boolean;
94
+ items: T[];
95
+ conditions?: SearchCondition[];
96
+ seq?: string;
97
+ }
98
+ /** 搜索结果的 song 字段 */
99
+ interface SearchSong extends SongItem {
100
+ track: string;
101
+ downloadTags: string[];
102
+ hasAssociatedRing: boolean;
103
+ chorusStartTime: string;
104
+ searchTags: Array<{
105
+ name: string;
106
+ type: string;
107
+ }>;
108
+ highlights: string[];
109
+ /** 同名/相关歌曲 */
110
+ more?: SearchSong[];
111
+ }
112
+ /** MV / 视频搜索结果的 user 字段 */
113
+ interface SearchVideoUser {
114
+ type: number;
115
+ nickName: string;
116
+ videoUserId: string;
117
+ avatar: string;
118
+ isSupportSubscribe: number;
119
+ }
120
+ /** 歌手索引 tab 的分组信息(tab 页与 tab 列表页共用) */
121
+ interface SingerTabHeader {
122
+ title: string;
123
+ dataVersion: string;
124
+ nextPageNo: number;
125
+ nextPageNo2: number;
126
+ update: boolean;
127
+ }
22
128
 
23
- declare const getSearchSingerTab: () => Promise<any>;
129
+ type SearchSongResponse = ApiResponse<SearchResultData<{
130
+ song: SearchSong;
131
+ }>>;
132
+ declare const searchSong: (text: string, page?: number) => Promise<SearchSongResponse>;
133
+
134
+ /** 播放/收藏等统计信息 */
135
+ interface OpNumItem {
136
+ playNum: number;
137
+ playNumDesc: string;
138
+ keepNum: number;
139
+ keepNumDesc: string;
140
+ commentNum: number;
141
+ commentNumDesc: string;
142
+ shareNum: number;
143
+ shareNumDesc: string;
144
+ orderNumByWeek: number;
145
+ orderNumByWeekDesc: string;
146
+ orderNumByTotal: number;
147
+ orderNumByTotalDesc: string;
148
+ thumbNum: number;
149
+ thumbNumDesc: string;
150
+ followNum: number;
151
+ followNumDesc: string;
152
+ subscribeNum: number;
153
+ subscribeNumDesc: string;
154
+ livePlayNum: number;
155
+ livePlayNumDesc: string;
156
+ popularNum: number;
157
+ popularNumDesc: string;
158
+ bookingNum: number;
159
+ bookingNumDesc: string;
160
+ settingNum: number;
161
+ settingNumDesc: string;
162
+ callNum: number;
163
+ callNumDesc: string;
164
+ callingPlayNum: number;
165
+ callingPlayNumDesc: string;
166
+ callingPlayDuration: number;
167
+ callingPlayDurationDesc: string;
168
+ calledPlayDuration: number;
169
+ calledPlayDurationDesc: string;
170
+ ringtoneAppPlayNum: number;
171
+ ringtoneAppPlayNumDesc: string;
172
+ ringtoneAppSettingNum: number;
173
+ ringtoneAppSettingNumDesc: string;
174
+ callingPlayDefaultNum: number;
175
+ callingPlayDefaultNumDesc: string;
176
+ playDefaultNum: number;
177
+ playDefaultDesc: string;
178
+ rewardUserNum: number;
179
+ rewardUserNumDesc: string;
180
+ rewardTotalNum: number;
181
+ rewardTotalNumDesc: string;
182
+ aiSongTotalNum: number;
183
+ aiSongTotalNumDesc: string;
184
+ dislikeNum?: number;
185
+ dislikeNumDesc?: string;
186
+ loveLetterNum?: number;
187
+ loveLetterNumDesc?: string;
188
+ reactNum?: number;
189
+ reactNumDesc?: string;
190
+ }
24
191
 
25
- declare const getSearchSingerTabList: (tab?: string) => Promise<any>;
192
+ /** 歌单信息(歌单详情与歌单搜索结果共用) */
193
+ interface PlaylistInfo {
194
+ resourceType: string;
195
+ title: string;
196
+ musicListId: string;
197
+ publishTime: string;
198
+ imgItem: {
199
+ img: string;
200
+ imgOri: string;
201
+ webpImg: string;
202
+ };
203
+ originalImgUrl: string;
204
+ ownerId: string;
205
+ ownerName: string;
206
+ musicNum: number;
207
+ opNumItem: OpNumItem;
208
+ havePrivatePic: string;
209
+ type: string;
210
+ ownerPic: string;
211
+ status: number;
212
+ userIdentityInfoItems: unknown[];
213
+ channel: string;
214
+ createTime: string;
215
+ }
26
216
 
27
- declare const getAlbumInfo: (albumId: string) => Promise<any>;
217
+ /** 歌单搜索结果的 musicList 字段 */
218
+ interface SearchPlaylist extends PlaylistInfo {
219
+ track: string;
220
+ highlights: string[];
221
+ fieldType: number;
222
+ }
223
+ type SearchPlaylistResponse = ApiResponse<SearchResultData<{
224
+ musicList: SearchPlaylist;
225
+ }>>;
226
+ declare const searchPlaylist: (text: string, page?: number, typeOrder?: number) => Promise<SearchPlaylistResponse>;
227
+
228
+ /** 关联专辑(数字专辑详情与专辑搜索结果共用) */
229
+ interface RelationAlbum {
230
+ deductionPrice: string;
231
+ albumName: string;
232
+ copyrightId: string;
233
+ }
28
234
 
29
- declare const getAlbumSong: (albumId: string, page?: number) => Promise<any>;
235
+ /** 专辑搜索结果的 dalbum 字段 */
236
+ interface SearchAlbum {
237
+ resourceType: string;
238
+ track: string;
239
+ copyrightId: string;
240
+ contentId: string;
241
+ imgItems: ImgItem[];
242
+ title: string;
243
+ singerId: string;
244
+ singer: string;
245
+ price: string;
246
+ tagItems: unknown[];
247
+ opNumItem: OpNumItem;
248
+ firstStartDate: string;
249
+ firstEndDate: string;
250
+ itemId: string;
251
+ totalCount: string;
252
+ isInFirstdate: string;
253
+ vipType: string;
254
+ saleEndDate: string;
255
+ isBeforeSaleEndDate: string;
256
+ dalbumPeriodStatus: string;
257
+ isCallPayment: string;
258
+ isCallPaymentForPresent: string;
259
+ isCallPaymentForPurchase: string;
260
+ isKnowledgePaid: string;
261
+ haveFilterTag: boolean;
262
+ publishDate: string;
263
+ effectiveStatus: string;
264
+ relationAlbums: RelationAlbum[];
265
+ foreverListenFlag: string;
266
+ foreverListen: boolean;
267
+ isAppointment: string;
268
+ presaleDate: string;
269
+ highlights: string[];
270
+ fieldType: number;
271
+ }
272
+ type SearchAlbumResponse = ApiResponse<SearchResultData<{
273
+ dalbum: SearchAlbum;
274
+ }>>;
275
+ declare const searchAlbum: (text: string, page?: number, typeOrder?: number) => Promise<SearchAlbumResponse>;
276
+
277
+ /** 歌手搜索结果的 singer 字段 */
278
+ interface SearchSinger {
279
+ resourceType: string;
280
+ track: string;
281
+ summary: string;
282
+ singerId: string;
283
+ singer: string;
284
+ type: string;
285
+ imgs: ImgItem[];
286
+ followNums: number;
287
+ detail: string;
288
+ columnId: string;
289
+ isFuns: string;
290
+ artistNamePinyin: string;
291
+ artistNameFirstLetter: string;
292
+ miguSingerPicItems: unknown[];
293
+ artis5gImg: string;
294
+ latestContentType: string;
295
+ latestReleaseTime: string;
296
+ latestContentId: string;
297
+ videoUserId: string;
298
+ highlights: string[];
299
+ songNum: number;
300
+ songCopyrightNum: number;
301
+ albumNum: number;
302
+ mvNum: number;
303
+ vrbtNum: number;
304
+ fieldType: number;
305
+ }
306
+ type SearchSingerResponse = ApiResponse<SearchResultData<{
307
+ singer: SearchSinger;
308
+ }>>;
309
+ declare const searchSinger: (text: string, page?: number) => Promise<SearchSingerResponse>;
310
+
311
+ /** 演唱会搜索结果的 concert 字段 */
312
+ interface SearchConcert {
313
+ resourceType: string;
314
+ track: string;
315
+ concertId: string;
316
+ liveShowId: string;
317
+ channelName: string;
318
+ type: string;
319
+ showType: string;
320
+ isFree: string;
321
+ singerNames: string;
322
+ singerIds: string;
323
+ title: string;
324
+ imgItems: ImgItem[];
325
+ place: string;
326
+ publishTime: string;
327
+ liveshowTime: string;
328
+ opNumItem: OpNumItem;
329
+ tags: Array<{
330
+ resourceType: string;
331
+ tagId: string;
332
+ tagName: string;
333
+ }>;
334
+ itemId: string;
335
+ summary: string;
336
+ subTitle: string;
337
+ trySee: number;
338
+ concertStatus: string;
339
+ vrId: string;
340
+ highlights: string[];
341
+ }
342
+ type SearchConcertResponse = ApiResponse<SearchResultData<{
343
+ concert: SearchConcert;
344
+ }>>;
345
+ declare const searchConcert: (text: string, page?: number) => Promise<SearchConcertResponse>;
346
+
347
+ /** 热搜榜条目 */
348
+ interface SearchHotRank {
349
+ word: string;
350
+ resourceType: string;
351
+ resourceId: string;
352
+ rank: number;
353
+ note: string;
354
+ }
355
+ /** 热搜榜分组 */
356
+ interface SearchHotTab {
357
+ tabName: string;
358
+ searchRankList: SearchHotRank[];
359
+ sort: number;
360
+ displayType: string;
361
+ }
362
+ type SearchHotResponse = ApiResponse<SearchHotTab[]>;
363
+ declare const getSearchHot: () => Promise<SearchHotResponse>;
364
+
365
+ /** 搜索默认词数据 */
366
+ interface SearchDefaultData {
367
+ intervalTime: number;
368
+ agentUrlMap: Record<string, string>;
369
+ textList: Array<{
370
+ title: string;
371
+ textType: string;
372
+ }>;
373
+ }
374
+ type SearchDefaultResponse = ApiResponse<SearchDefaultData>;
375
+ declare const getSearchDefault: () => Promise<SearchDefaultResponse>;
376
+
377
+ /** MV 搜索结果的 video 字段 */
378
+ interface SearchVideo {
379
+ contentId: string;
380
+ copyrightId: string;
381
+ title: string;
382
+ resourceType: string;
383
+ songId: string;
384
+ showResolution: string;
385
+ showImg: string;
386
+ user: SearchVideoUser[];
387
+ duration: number;
388
+ playAction: string;
389
+ scopeOfCopyright: string;
390
+ isVip: number;
391
+ isValidate: number;
392
+ rateFormats: Array<{
393
+ formatType: string;
394
+ formatDesc: string;
395
+ }>;
396
+ publicStatus: number;
397
+ validTime: string;
398
+ track: string;
399
+ dislikeList: Array<{
400
+ id: string;
401
+ name: string;
402
+ }>;
403
+ highlights: string[];
404
+ }
405
+ type SearchMvResponse = ApiResponse<SearchResultData<{
406
+ video: SearchVideo;
407
+ }>>;
408
+ declare const searchMv: (text: string, page?: number, typeOrder?: number) => Promise<SearchMvResponse>;
409
+
410
+ /** 搜索建议结果的 text 字段 */
411
+ interface SearchSuggestItem {
412
+ text: {
413
+ text: string;
414
+ track: string;
415
+ searchTags: Array<{
416
+ name: string;
417
+ type: string;
418
+ }>;
419
+ highlights: string[];
420
+ };
421
+ }
422
+ type SearchSuggestResponse = ApiResponse<SearchResultData<SearchSuggestItem>>;
423
+ declare const searchSuggest: (text: string) => Promise<SearchSuggestResponse>;
424
+
425
+ /** 铃声搜索结果的 song 字段 */
426
+ interface SearchCrbtSong {
427
+ resourceType: string;
428
+ contentId: string;
429
+ songId: string;
430
+ songName: string;
431
+ copyrightId: string;
432
+ copyrightType: number;
433
+ ringToneId: string;
434
+ ringCopyrightId: string;
435
+ haveShockRing: number;
436
+ relatedSongs: Array<{
437
+ resourceType: string;
438
+ resourceTypeName: string;
439
+ copyrightId: string;
440
+ productId: string;
441
+ }>;
442
+ duration: number;
443
+ img1: string;
444
+ img2: string;
445
+ img3: string;
446
+ singerList: SingerBrief[];
447
+ highlights: string[];
448
+ validTime: string;
449
+ price: string;
450
+ status: string;
451
+ vipType: string;
452
+ showLabels: Array<{
453
+ type: string;
454
+ text: string;
455
+ }>;
456
+ opNumItem: OpNumItem;
457
+ }
458
+ type SearchCrbtResponse = ApiResponse<{
459
+ hasNext: boolean;
460
+ items: Array<{
461
+ song: SearchCrbtSong;
462
+ }>;
463
+ }>;
464
+ declare const searchCrbt: (text: string, page?: number) => Promise<SearchCrbtResponse>;
465
+
466
+ /** 视频彩铃搜索结果的 video 字段 */
467
+ interface SearchVrbtVideo {
468
+ contentId: string;
469
+ copyrightId: string;
470
+ title: string;
471
+ resourceType: string;
472
+ songId: string;
473
+ showResolution: string;
474
+ firstResolution: string;
475
+ showImg: string;
476
+ firstImg: string;
477
+ firstImg01: string;
478
+ verticalImg: string;
479
+ user: SearchVideoUser[];
480
+ duration: number;
481
+ playAction: string;
482
+ isAllowDownload: number;
483
+ isValidate: number;
484
+ relateRingId: string;
485
+ setRingFlag: number;
486
+ setRingType: number;
487
+ isSupportReward: number;
488
+ publicStatus: number;
489
+ contentTips: string;
490
+ isDiy: number;
491
+ relateRingTitle: string;
492
+ relateRingCopyrightId: string;
493
+ validTime: string;
494
+ freeLibEndTime: string;
495
+ track: string;
496
+ extParam: Record<string, unknown>;
497
+ dislikeList: Array<{
498
+ id: string;
499
+ name: string;
500
+ }>;
501
+ highlights: string[];
502
+ }
503
+ type SearchVrbtResponse = ApiResponse<SearchResultData<{
504
+ video: SearchVrbtVideo;
505
+ }>>;
506
+ declare const searchVrbt: (text: string, page?: number) => Promise<SearchVrbtResponse>;
507
+
508
+ /** 票务搜索数据(无结果时仅有 hasNext/seq) */
509
+ interface SearchTicketData {
510
+ hasNext: boolean;
511
+ seq: string;
512
+ items?: unknown[];
513
+ }
514
+ type SearchTicketResponse = ApiResponse<SearchTicketData>;
515
+ declare const searchTicket: (text: string, page?: number) => Promise<SearchTicketResponse>;
516
+
517
+ /** 歌手索引 tab 的单个入口 */
518
+ interface SingerTabItem {
519
+ view: string;
520
+ txt?: string;
521
+ txt2?: string;
522
+ refreshTips?: string;
523
+ action?: string;
524
+ }
525
+ /** 歌手索引 tab 分组 */
526
+ interface SingerTabGroup {
527
+ view: string;
528
+ contents: SingerTabItem[];
529
+ }
530
+ /** 歌手索引 tab 数据 */
531
+ interface SingerTabData {
532
+ header: SingerTabHeader;
533
+ contents: SingerTabGroup[];
534
+ }
535
+ type SearchSingerTabResponse = ApiResponse<SingerTabData>;
536
+ declare const getSearchSingerTab: () => Promise<SearchSingerTabResponse>;
537
+
538
+ /** 歌手索引 tab 列表条目 */
539
+ interface SingerTabListItem {
540
+ view: string;
541
+ viewId: string;
542
+ action: string;
543
+ resType: string;
544
+ resId: string;
545
+ track: string;
546
+ txt: string;
547
+ txt2: string;
548
+ txt3: string;
549
+ txt4: string;
550
+ img: string;
551
+ }
552
+ /** 歌手索引 tab 列表数据 */
553
+ interface SingerTabListData {
554
+ header: SingerTabHeader;
555
+ contents: SingerTabListItem[];
556
+ }
557
+ type SearchSingerTabListResponse = ApiResponse<SingerTabListData>;
558
+ declare const getSearchSingerTabList: (tab?: string) => Promise<SearchSingerTabListResponse>;
559
+
560
+ /** 专辑标签 */
561
+ interface AlbumTag {
562
+ resourceType: string;
563
+ tagId: string;
564
+ tagName: string;
565
+ tagDesc: string;
566
+ level: string;
567
+ tagPath: string;
568
+ tagPathName: string;
569
+ }
570
+ /** 专辑详情 */
571
+ interface AlbumInfo {
572
+ resourceType: string;
573
+ albumId: string;
574
+ imgItems: ImgItem[];
575
+ title: string;
576
+ singer: string;
577
+ singerId: string;
578
+ singerImgs: ImgItem[];
579
+ summary: string;
580
+ totalCount: string;
581
+ publishTime: string;
582
+ publishCorp: string;
583
+ opNumItem: OpNumItem;
584
+ tags: AlbumTag[];
585
+ albumAliasName: string;
586
+ albumClass: string;
587
+ language: string;
588
+ publishCompany: string;
589
+ publishDate: string;
590
+ showTime: string;
591
+ audioBookColumn: string;
592
+ status: string;
593
+ }
594
+ type AlbumInfoResponse = ApiResponse<AlbumInfo>;
595
+ declare const getAlbumInfo: (albumId: string) => Promise<AlbumInfoResponse>;
596
+
597
+ /** 专辑歌曲列表 */
598
+ interface AlbumSongData {
599
+ songList: SongItem[];
600
+ totalCount: number;
601
+ hasNext: boolean;
602
+ }
603
+ type AlbumSongResponse = ApiResponse<AlbumSongData>;
604
+ declare const getAlbumSong: (albumId: string, page?: number) => Promise<AlbumSongResponse>;
30
605
 
31
- declare const getPlaylistInfo: (playlistId: string) => Promise<any>;
606
+ type PlaylistInfoResponse = ApiResponse<PlaylistInfo>;
607
+ declare const getPlaylistInfo: (playlistId: string) => Promise<PlaylistInfoResponse>;
32
608
 
33
- declare const getPlaylistSong: (playlistId: string, page?: number, size?: number) => Promise<any>;
609
+ /** 歌单歌曲列表 */
610
+ interface PlaylistSongData {
611
+ totalCount: number;
612
+ publishTime: string;
613
+ songList: SongItem[];
614
+ }
615
+ type PlaylistSongResponse = ApiResponse<PlaylistSongData>;
616
+ declare const getPlaylistSong: (playlistId: string, page?: number, size?: number) => Promise<PlaylistSongResponse>;
34
617
 
35
618
  declare const getSingerIndex: (singerId: string) => Promise<any>;
36
619
 
@@ -73,9 +656,17 @@ declare const getOpNum: (ids: string) => Promise<any>;
73
656
 
74
657
  declare const getUrlV1: (contentId: string, copyrightId: string, toneFlag?: string, resourceType?: string) => Promise<any>;
75
658
 
76
- declare const getUrlV2: (contentId: string, copyrightId: string, toneFlag?: string, pacmtoken?: string) => Promise<any>;
659
+ declare const getUrlV2: (contentId: string, copyrightId: string, toneFlag?: string, pacmtoken?: string) => Promise<{
660
+ code: string;
661
+ info: string;
662
+ data: Record<string, any>;
663
+ } | null>;
77
664
 
78
- declare const getUrlH5V24: (contentId: string, copyrightId: string, toneFlag?: string) => Promise<any>;
665
+ declare const getUrlH5V24: (contentId: string, copyrightId: string, toneFlag?: string) => Promise<{
666
+ code: string;
667
+ info: string;
668
+ data: Record<string, any>;
669
+ } | null>;
79
670
 
80
671
  declare const getVersion: () => Promise<any>;
81
672
 
@@ -111,7 +702,7 @@ declare const checkToken: (token?: string) => Promise<any>;
111
702
  * @param activityId 活动ID
112
703
  * @returns pacmtoken 和响应体
113
704
  */
114
- declare const getPacmToken: (token?: string, type?: string, sourceId?: string, activityId?: string) => Promise<{
705
+ declare const getPacmToken: (token: string, type?: string, sourceId?: string, activityId?: string) => Promise<{
115
706
  pacmToken: string;
116
707
  body: any;
117
708
  }>;
@@ -209,13 +800,61 @@ declare const getSimilarSongRecommend: (contentId?: string) => Promise<any>;
209
800
  */
210
801
  declare const getMVRecommend: (mvContentId: string, page?: number) => Promise<any>;
211
802
 
803
+ /** 页面头部信息 */
804
+ interface PageHeader {
805
+ dataVersion: string;
806
+ nextPageNo: number;
807
+ nextPageNo2: number;
808
+ title: string;
809
+ update: boolean;
810
+ }
811
+ /** 歌单广场页面条目 */
812
+ interface SquarePageItem {
813
+ img: string;
814
+ img2: string;
815
+ logEvent: {
816
+ resourceId: string;
817
+ resourceType: string;
818
+ trackId: string;
819
+ };
820
+ refreshTips: string;
821
+ txt: string;
822
+ txt4: string;
823
+ view: string;
824
+ viewId: string;
825
+ }
826
+ /** 歌单广场页面二级分组 */
827
+ interface SquarePageGroup {
828
+ columnId: string;
829
+ title: string;
830
+ view: string;
831
+ viewId: string;
832
+ contents: SquarePageItem[];
833
+ }
834
+ /** 歌单广场页面一级分组 */
835
+ interface SquarePageSection {
836
+ columnId: string;
837
+ title: string;
838
+ view: string;
839
+ viewId: string;
840
+ contents: SquarePageGroup[];
841
+ }
842
+ /** 歌单广场页面数据 */
843
+ interface SquarePageData {
844
+ header: PageHeader;
845
+ contents: SquarePageSection[];
846
+ }
847
+ type SquarePageResponse = ApiResponse<SquarePageData>;
212
848
  /**
213
849
  * 网页v5 歌单广场界面
214
850
  * @returns
215
851
  */
216
- declare const getSquarePage: () => Promise<any>;
852
+ declare const getSquarePage: () => Promise<SquarePageResponse>;
217
853
 
218
- declare const searchLrc: (text: string, page?: number) => Promise<any>;
854
+ type SearchLrcResponse = ApiResponse<SearchResultData<{
855
+ song: SearchSong;
856
+ }>>;
857
+ declare const searchLrc: (text: string, page?: number) => Promise<SearchLrcResponse>;
219
858
 
220
859
  /**
221
860
  * 获取电台推荐 (所有电台)
@@ -409,13 +1048,19 @@ declare const removeUserMyList: (pacmtoken: string, playlistId: string) => Promi
409
1048
  newPacmToken: string;
410
1049
  }>;
411
1050
 
1051
+ /** 电台歌曲数据(部分内容需登录) */
1052
+ interface RadioSongData {
1053
+ nextPageNo: number;
1054
+ songList?: SongItem[];
1055
+ }
1056
+ type RadioSongResponse = ApiResponse<RadioSongData>;
412
1057
  /**
413
1058
  * 获取电台歌曲
414
1059
  * @param radioId 电台ID
415
1060
  * @param page 页码
416
1061
  * @returns
417
1062
  */
418
- declare const getRadioSong: (radioId: string, page?: number) => Promise<any>;
1063
+ declare const getRadioSong: (radioId: string, page?: number) => Promise<RadioSongResponse>;
419
1064
 
420
1065
  /**
421
1066
  * 新碟上架
@@ -511,16 +1156,51 @@ declare const getConcertDetail: (concertId: string) => Promise<any>;
511
1156
  */
512
1157
  declare const getConcertComment: (concertId: string, page?: number, size?: number) => Promise<any>;
513
1158
 
514
- declare const matchPlaylist: (url: string) => Promise<any>;
515
-
516
- /**
517
- * 获取重定向URL
518
- * @param contentId 音乐ID
519
- * @param toneFlag 音色
520
- * @param isVip 是否为会员音乐 未知,是会员音乐true,不是会员音乐false
521
- * @returns 重定向URL
522
- */
523
- declare const getRedirectUrl: (contentId: string, toneFlag?: string, copyrightId?: string, isVip?: boolean) => Promise<string>;
1159
+ /** 歌单匹配的歌曲信息 */
1160
+ interface MatchSong {
1161
+ miguSongId: string;
1162
+ miguSongName: string;
1163
+ miguArtists: Array<{
1164
+ artistId: string;
1165
+ artistName: string;
1166
+ }>;
1167
+ contentId: string;
1168
+ copyright: string;
1169
+ songImages: ImgItem[];
1170
+ includeSQ: boolean;
1171
+ }
1172
+ /** 歌单匹配失败的歌曲 */
1173
+ interface MatchFailSong {
1174
+ songId: string;
1175
+ songName: string;
1176
+ artists: string[];
1177
+ }
1178
+ /** 歌单匹配的原歌单信息 */
1179
+ interface MatchPlaylistInfo {
1180
+ site: string;
1181
+ name?: string;
1182
+ description?: string;
1183
+ logo?: string;
1184
+ collectNum?: number;
1185
+ commentNum?: number;
1186
+ playNum?: number;
1187
+ userId?: string;
1188
+ userName?: string;
1189
+ }
1190
+ /** 歌单匹配数据 */
1191
+ interface MatchPlaylistData {
1192
+ playListInfo: {
1193
+ list: MatchPlaylistInfo[];
1194
+ };
1195
+ successSongs: MatchSong[];
1196
+ noCopyrightSongs: MatchSong[];
1197
+ haveCopyrightSongs: MatchSong[];
1198
+ failSongs: MatchFailSong[];
1199
+ successCount: number;
1200
+ failCount: number;
1201
+ }
1202
+ type MatchPlaylistResponse = ApiResponse<MatchPlaylistData>;
1203
+ declare const matchPlaylist: (url: string) => Promise<MatchPlaylistResponse>;
524
1204
 
525
1205
  /**
526
1206
  * 通过演唱会推荐 MV
@@ -555,12 +1235,31 @@ declare const isFollowAuthor: (pacmtoken: string, authorIds: string, authorType?
555
1235
  success?: undefined;
556
1236
  }>;
557
1237
 
1238
+ /** VIP 热歌条目 */
1239
+ interface VipPlaylistItem {
1240
+ resType: string;
1241
+ resId: string;
1242
+ img: string;
1243
+ txt: string;
1244
+ txt2: string;
1245
+ txt3: string;
1246
+ vip: string;
1247
+ qualities: string[];
1248
+ showTag: string[];
1249
+ copyright: string;
1250
+ copyrightId: string;
1251
+ songId: string;
1252
+ tagIds: string[];
1253
+ copyrightType: string;
1254
+ audioType: string;
1255
+ }
1256
+ type VipPlaylistResponse = ApiResponse<VipPlaylistItem[]>;
558
1257
  /**
559
1258
  * VIP 热歌
560
1259
  * @param size 数量
561
1260
  * @returns
562
1261
  */
563
- declare const getVipPlaylist: (size?: number) => Promise<any>;
1262
+ declare const getVipPlaylist: (size?: number) => Promise<VipPlaylistResponse>;
564
1263
 
565
1264
  /**
566
1265
  * 用户简介
@@ -736,8 +1435,6 @@ declare const getCloudUrl: (pacmtoken: string, contentId: string, toneFlag?: str
736
1435
 
737
1436
  declare const getDLUrlV1: (songId: string, toneFlag?: string) => Promise<any>;
738
1437
 
739
- declare const getUrlM2: (contentId: string, toneFlag?: string, copyrightId?: string, songId?: string, albumId?: string) => Promise<any>;
740
-
741
1438
  /**
742
1439
  * 歌曲enoji表态
743
1440
  * @param pacmtoken 用户token
@@ -846,10 +1543,10 @@ declare const getCloudUploadUrl: (pacmtoken: string, file: File) => Promise<{
846
1543
  /**
847
1544
  * 删除评论
848
1545
  * @param pacmtoken 用户token
849
- * @param resourceId 评论id
1546
+ * @param commentId 评论id
850
1547
  * @returns 删除结果,包含新pacmtoken
851
1548
  */
852
- declare const deleteComment: (pacmtoken: string, resourceId: string) => Promise<{
1549
+ declare const deleteComment: (pacmtoken: string, commentId: string) => Promise<{
853
1550
  data: any;
854
1551
  newPacmToken: string;
855
1552
  }>;
@@ -918,28 +1615,110 @@ declare const getListenFreelySongs: (pacmtoken: string, modelId?: string) => Pro
918
1615
  newPacmToken: string;
919
1616
  }>;
920
1617
 
1618
+ /** 按标签获取歌单的条目 */
1619
+ interface SquareListByTagItem {
1620
+ template: string;
1621
+ playNum: string;
1622
+ actionUrl: string;
1623
+ title: string;
1624
+ subTitle: string;
1625
+ track: string;
1626
+ logEvent: {
1627
+ contentId: string;
1628
+ contentName: string;
1629
+ contentType: string;
1630
+ index: string;
1631
+ subContentId: string;
1632
+ subContentType: string;
1633
+ };
1634
+ imageUrl: string;
1635
+ playlistId: string;
1636
+ }
1637
+ /** 按标签获取歌单的数据 */
1638
+ interface SquareListByTagData {
1639
+ nextPageUrl: string;
1640
+ enablePullRefresh: boolean;
1641
+ contentItemList: SquareListByTagItem[];
1642
+ hasNext: boolean;
1643
+ }
1644
+ type SquareListByTagResponse = ApiResponse<SquareListByTagData>;
921
1645
  /**
922
1646
  * 歌单广场:根据标签获取歌单
923
1647
  * @returns
924
1648
  */
925
- declare const getSquareListByTag: (tagId: string, page: number) => Promise<any>;
926
-
1649
+ declare const getSquareListByTag: (tagId: string, page: number) => Promise<SquareListByTagResponse>;
1650
+
1651
+ /** 歌单广场推荐歌单日志信息 */
1652
+ interface SquareRecommendLogEvent {
1653
+ index: string;
1654
+ contentId: string;
1655
+ contentName: string;
1656
+ contentType: string;
1657
+ subContentType: string;
1658
+ subContentId: string;
1659
+ resourceId: string;
1660
+ resourceType: string;
1661
+ trackId: string;
1662
+ boxName: string;
1663
+ }
1664
+ /** 歌单广场推荐歌单条目 */
1665
+ interface SquareRecommendPlaylist {
1666
+ view: string;
1667
+ style: string;
1668
+ viewId: string;
1669
+ action: string;
1670
+ logEvent: SquareRecommendLogEvent;
1671
+ resType: string;
1672
+ resId: string;
1673
+ track: string;
1674
+ img: string;
1675
+ txt: string;
1676
+ txt2: string;
1677
+ }
1678
+ /** 歌单广场推荐歌单数据 */
1679
+ interface SquareRecommendData {
1680
+ title: string;
1681
+ pageNum: number;
1682
+ specialPerTip: string;
1683
+ playLists: SquareRecommendPlaylist[];
1684
+ }
1685
+ type SquareRecommendResponse = ApiResponse<SquareRecommendData>;
927
1686
  /**
928
1687
  * 网页v5 歌单广场推荐歌单 (5个)
929
1688
  * @returns
930
1689
  */
931
- declare const getSquareRecommend: () => Promise<any>;
1690
+ declare const getSquareRecommend: () => Promise<SquareRecommendResponse>;
932
1691
 
1692
+ /** 歌单广场标签项 */
1693
+ interface SquareTagItem {
1694
+ tagId: string;
1695
+ tagName: string;
1696
+ }
1697
+ /** 歌单广场更多标签分组 */
1698
+ interface SquareMoreTag {
1699
+ title: string;
1700
+ tagList: SquareTagItem[];
1701
+ }
1702
+ /** 歌单广场标签数据 */
1703
+ interface SquareTagData {
1704
+ contentItemList: SquareTagItem[];
1705
+ moreTag?: SquareMoreTag[];
1706
+ }
1707
+ type SquareTagResponse = ApiResponse<SquareTagData>;
933
1708
  /**
934
1709
  * 网页v5 歌单广场所有标签
935
1710
  * @returns
936
1711
  */
937
- declare const getSquareTag: (needMoreTag?: boolean) => Promise<any>;
1712
+ declare const getSquareTag: (needMoreTag?: boolean) => Promise<SquareTagResponse>;
938
1713
 
939
- /** 获取歌曲详情
940
- * @param contentIds 歌曲ID列表,多个ID用|分隔 600919000007791840|600929000001520013
1714
+ /** 通过contentId获取歌曲详情
1715
+ * @param contentIds 歌曲ID列表,多个ID用,分隔 600919000007791840,600929000001520013
1716
+ */
1717
+ declare const getSongInfoByContentIds: (contentIds: string) => Promise<any>;
1718
+ /** 通过songId获取歌曲详情
1719
+ * @param songId 歌曲ID列表,多个ID用,分隔
941
1720
  */
942
- declare const getSongInfo: (contentIds: string) => Promise<any>;
1721
+ declare const getSongInfoBySongIds: (songId: string) => Promise<any>;
943
1722
 
944
1723
  /**
945
1724
  * 查询已购歌曲
@@ -958,26 +1737,94 @@ declare const getUserOrdered: (pacmtoken: string) => Promise<{
958
1737
  newPacmToken: string;
959
1738
  }>;
960
1739
 
1740
+ /** 数字专辑详情 */
1741
+ interface DAlbumInfo {
1742
+ resourceType: string;
1743
+ copyrightId: string;
1744
+ contentId: string;
1745
+ materialId: string;
1746
+ imgItem: ImgItem[];
1747
+ title: string;
1748
+ singer: string;
1749
+ singerId: string;
1750
+ singerPicUrl: ImgItem[];
1751
+ summary: string;
1752
+ price: string;
1753
+ totalCount: string;
1754
+ presaleDate: string;
1755
+ firstStartDate: string;
1756
+ firstEndDate: string;
1757
+ onlineDate: string;
1758
+ saleEndDate: string;
1759
+ invalidateDate: string;
1760
+ isBeforeSaleEndDate: string;
1761
+ dalbumPeriodStatus: string;
1762
+ itemId: string;
1763
+ songItems: unknown[];
1764
+ mvList: unknown[];
1765
+ opNumItem: OpNumItem;
1766
+ tagItems: unknown[];
1767
+ isInFirstdate: string;
1768
+ vipType: string;
1769
+ redHareId: string;
1770
+ publishDate: string;
1771
+ isCallPayment: string;
1772
+ isCallPaymentForPresent: string;
1773
+ isCallPaymentForPurchase: string;
1774
+ isKnowledgePaid: string;
1775
+ haveFilterTag: boolean;
1776
+ originalFirstStartDate: string;
1777
+ originalfirstEndDate: string;
1778
+ vipFlag: string;
1779
+ vipStartTime: string;
1780
+ vipEndTime: string;
1781
+ effectiveStatus: string;
1782
+ relationAlbums: RelationAlbum[];
1783
+ isConvert: string;
1784
+ foreverListenFlag: string;
1785
+ foreverListen: boolean;
1786
+ isAppointment: string;
1787
+ }
1788
+ type DAlbumInfoResponse = ApiResponse<DAlbumInfo>;
961
1789
  /**
962
1790
  * 获取数字专辑信息
963
1791
  * @param dAlbumId 数字专辑id
964
1792
  * @return
965
1793
  */
966
- declare const getDAlbumInfo: (dAlbumId: string) => Promise<any>;
1794
+ declare const getDAlbumInfo: (dAlbumId: string) => Promise<DAlbumInfoResponse>;
967
1795
 
1796
+ /** 数字专辑歌曲列表 */
1797
+ interface DAlbumSongData {
1798
+ songList: SongItem[];
1799
+ totalCount: number;
1800
+ }
1801
+ type DAlbumSongResponse = ApiResponse<DAlbumSongData>;
968
1802
  /**
969
1803
  * 获取数字专辑歌曲列表
970
1804
  * @param dAlbumId 数字专辑id
971
1805
  * @return 歌曲列表
972
1806
  */
973
- declare const getDAlbumSong: (dAlbumId: string) => Promise<any>;
1807
+ declare const getDAlbumSong: (dAlbumId: string) => Promise<DAlbumSongResponse>;
974
1808
 
1809
+ /** 数字专辑售卖数量项 */
1810
+ interface DAlbumPayItem {
1811
+ userType: string;
1812
+ serviceId: string;
1813
+ sum: string;
1814
+ count: string;
1815
+ pcount: string;
1816
+ }
1817
+ /** 数字专辑售卖信息 */
1818
+ interface DAlbumPayData {
1819
+ subDAlbumCounts: DAlbumPayItem[];
1820
+ }
1821
+ type DAlbumPayResponse = ApiResponse<DAlbumPayData>;
975
1822
  /**
976
1823
  * 获取数字专辑售卖信息
977
1824
  * @param dAlbumId 数字专辑id
978
1825
  * @return 数量
979
1826
  */
980
- declare const getDAlbumPay: (dAlbumId: string) => Promise<any>;
1827
+ declare const getDAlbumPay: (dAlbumId: string) => Promise<DAlbumPayResponse>;
981
1828
 
982
1829
  /**
983
1830
  * 获取页面滚动列表
@@ -1001,4 +1848,48 @@ declare const getPageScroll: (dataId: string, page?: number, size?: number, styl
1001
1848
  */
1002
1849
  declare const getPageDataSource: (body: object[]) => Promise<any>;
1003
1850
 
1004
- export { addFollower, addSongToMyList, addUserCollect, addUserMyList, checkCanListen, checkToken, deleteCloudMusic, deleteComment, dislikeSong, editUserMyList, emojiAction, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDAlbumInfo, getDAlbumPay, getDAlbumSong, getDLUrlV1, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNoticeMsg, getOpNum, getPacmToken, getPageDataSource, getPageInfo, getPageScroll, getPageTab, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getRedirectUrl, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getSongInfo, getSquareListByTag, getSquarePage, getSquareRecommend, getSquareTag, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlM2, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserMyList, getUserOrdered, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, likeSong, logout, matchPlaylist, queryUserInfo, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchLrc, searchMv, searchPlaylist, searchRbt, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, shareCommon, shareVideo };
1851
+ /**
1852
+ * 获取用户我喜欢列表
1853
+ * @param playlistId 播放列表id
1854
+ * @param page 页码
1855
+ * @param size 每页数量
1856
+ * @param pacmtoken 已登录用户token 二选一
1857
+ * @param userId 他人用户id 二选一
1858
+ * @returns 我喜欢列表
1859
+ */
1860
+ declare const getUserLikeList: (playlistId: string, page: number, size: number, pacmtoken?: string, userId?: string) => Promise<{
1861
+ data: any;
1862
+ newPacmToken: string;
1863
+ }>;
1864
+
1865
+ /**
1866
+ * 添加神评
1867
+ * @param commentId 评论id
1868
+ * @param pacmtoken 用户token
1869
+ * @returns 添加结果,包含新pacmtoken
1870
+ */
1871
+ declare const addEpicComment: (commentId: string, pacmtoken: string) => Promise<{
1872
+ data: any;
1873
+ newPacmToken: string;
1874
+ }>;
1875
+
1876
+ /**
1877
+ * 删除神评
1878
+ * @param commentId 评论id
1879
+ * @param pacmtoken 用户token
1880
+ * @returns 删除结果,包含新pacmtoken
1881
+ */
1882
+ declare const deleteEpicComment: (commentId: string, pacmtoken: string) => Promise<{
1883
+ data: any;
1884
+ newPacmToken: string;
1885
+ }>;
1886
+
1887
+ /**
1888
+ * (purchase接口) 通过songId 获取快速歌曲的 price, contentId, copyrightId
1889
+ * @param songId 歌曲ID
1890
+ * @param channel 渠道ID 可选,默认014X031 (h5)
1891
+ * @returns 歌曲ID信息
1892
+ */
1893
+ declare const getSongIds: (songId: string, channel?: string) => Promise<any>;
1894
+
1895
+ export { addEpicComment, addFollower, addSongToMyList, addUserCollect, addUserMyList, checkCanListen, checkToken, deleteCloudMusic, deleteComment, deleteEpicComment, dislikeSong, editUserMyList, emojiAction, getAlbumInfo, getAlbumSong, getCloudDLUrl, getCloudUploadUrl, getCloudUrl, getColumnInfo, getComment, getConcertComment, getConcertDetail, getConcertInfo, getConcertRecommendMv, getConcertUrl, getDAlbumInfo, getDAlbumPay, getDAlbumSong, getDLUrlV1, getEmojiNum, getFollowerList, getFollowingList, getFollowingVra, getInteractionMsg, getListenFreelySongs, getListenFreelyTab, getListenRank, getLyric, getMVRecommend, getMvBySong, getMvHls, getMvInfo, getNewCDList, getNewSongList, getNoticeMsg, getOpNum, getPacmToken, getPageDataSource, getPageInfo, getPageScroll, getPageTab, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRadioRecommendAll, getRadioSong, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSVideoInfo, getSVideoRecommend, getSVideoSearchSuggest, getSVideoUrl, getSVideoUserContent, getSVideoUserInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerLetter, getSingerMv, getSingerSimilar, getSingerSong, getSongIds, getSongInfoByContentIds, getSongInfoBySongIds, getSquareListByTag, getSquarePage, getSquareRecommend, getSquareTag, getThumbsMsg, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserAudioBook, getUserBadge, getUserCollectList, getUserHeader, getUserHeartthrob, getUserHomePage, getUserLikeList, getUserMyList, getUserOrdered, getUserPhoneInfo, getUserSongPage, getVersion, getVipPlaylist, getVrbtOpNum, getVrbtUrl, isFollowAuthor, likeSong, logout, matchPlaylist, queryUserInfo, removeFollower, removeSongFromMyList, removeUserCollect, removeUserMyList, searchAlbum, searchConcert, searchCrbt, searchLrc, searchMv, searchPlaylist, searchSVideo, searchSinger, searchSong, searchSuggest, searchTicket, searchVrbt, shareCommon, shareVideo };