migu-api-enhanced 1.2.3 → 1.2.5
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/dist/index.cjs +385 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -7
- package/dist/index.d.ts +127 -7
- package/dist/index.js +378 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -67,14 +67,20 @@ declare const getUrlH5V24: (contentId: string, copyrightId: string, resourceType
|
|
|
67
67
|
|
|
68
68
|
declare const getVersion: (channel?: string, version?: string, ua?: string) => Promise<any>;
|
|
69
69
|
|
|
70
|
-
declare const getMvInfo: (mvIds: string
|
|
71
|
-
needAbsoluteUrl?: boolean | undefined;
|
|
72
|
-
}) => Promise<any>;
|
|
70
|
+
declare const getMvInfo: (mvIds: string) => Promise<any>;
|
|
73
71
|
|
|
74
|
-
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number
|
|
72
|
+
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number, format?: string, needHttps?: boolean) => Promise<any>;
|
|
75
73
|
|
|
76
74
|
declare const loginNP: {
|
|
77
|
-
|
|
75
|
+
/**
|
|
76
|
+
* 账号密码登录
|
|
77
|
+
* @param username 用户名
|
|
78
|
+
* @param password 密码
|
|
79
|
+
* @returns 登录成功后的 pacmtoken
|
|
80
|
+
*/
|
|
81
|
+
authn(username: string, password: string): Promise<object | {
|
|
82
|
+
error: string;
|
|
83
|
+
}>;
|
|
78
84
|
};
|
|
79
85
|
|
|
80
86
|
declare const checkToken: (token?: string) => Promise<any>;
|
|
@@ -107,11 +113,119 @@ declare const getTodayRecommend: (pacmtoken: string) => Promise<{
|
|
|
107
113
|
pacmtoken: string;
|
|
108
114
|
}>;
|
|
109
115
|
|
|
116
|
+
declare const loginSim: {
|
|
117
|
+
simSend(phone: string): Promise<{
|
|
118
|
+
error: any;
|
|
119
|
+
sim_sessionid?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
sim_sessionid: any;
|
|
122
|
+
error?: undefined;
|
|
123
|
+
}>;
|
|
124
|
+
simQuery(sim_sessionid: string): Promise<{
|
|
125
|
+
error: string;
|
|
126
|
+
token?: undefined;
|
|
127
|
+
status?: undefined;
|
|
128
|
+
body?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
token: any;
|
|
131
|
+
status: any;
|
|
132
|
+
error?: undefined;
|
|
133
|
+
body?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
error: any;
|
|
136
|
+
body: any;
|
|
137
|
+
token?: undefined;
|
|
138
|
+
status?: undefined;
|
|
139
|
+
}>;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare const getUserCollect: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
143
|
+
data: any;
|
|
144
|
+
pacmtoken: string;
|
|
145
|
+
}>;
|
|
146
|
+
|
|
147
|
+
declare const getUserMyList: (pacmtoken: string, queryType?: number, page?: number, size?: number) => Promise<{
|
|
148
|
+
data: any;
|
|
149
|
+
pacmtoken: string;
|
|
150
|
+
}>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 获取相似歌手
|
|
154
|
+
* @param singerId 歌手ID
|
|
155
|
+
*/
|
|
156
|
+
declare const getSingerSimilar: (singerId: string) => Promise<any>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* 获取相似歌曲推荐
|
|
160
|
+
* @param contentId 歌曲ID
|
|
161
|
+
*/
|
|
162
|
+
declare const getSimilarSongRecommend: (contentId?: string) => Promise<any>;
|
|
163
|
+
|
|
164
|
+
type LoginOneClickData = {
|
|
165
|
+
version: string;
|
|
166
|
+
appId: string;
|
|
167
|
+
openType: string;
|
|
168
|
+
expandParams: string;
|
|
169
|
+
isTest: boolean;
|
|
170
|
+
sign: string;
|
|
171
|
+
getNetworkType: string;
|
|
172
|
+
getMsisdnMask: string;
|
|
173
|
+
traceId: string;
|
|
174
|
+
msgId: string;
|
|
175
|
+
timestamp: string;
|
|
176
|
+
uuid: string;
|
|
177
|
+
businessType: string;
|
|
178
|
+
userInformations: string;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 调用方实际只需提供这些字段;其余字段由 getTokenInfo 内部补齐。
|
|
182
|
+
*/
|
|
183
|
+
type GetTokenInfoInput = Pick<LoginOneClickData, 'version' | 'appId' | 'openType' | 'expandParams' | 'isTest' | 'sign' | 'getNetworkType' | 'getMsisdnMask'>;
|
|
184
|
+
declare const YDRZ: {
|
|
185
|
+
optparams: {
|
|
186
|
+
uuid: string;
|
|
187
|
+
msgId: string;
|
|
188
|
+
traceId: string;
|
|
189
|
+
businessType: string;
|
|
190
|
+
appId: string;
|
|
191
|
+
timestamp: string;
|
|
192
|
+
isimge: boolean;
|
|
193
|
+
expandParams: string;
|
|
194
|
+
userInformations: string;
|
|
195
|
+
CMRequestApi: string;
|
|
196
|
+
};
|
|
197
|
+
randomString(len: number, range?: number): string;
|
|
198
|
+
randomRange(min: number, max: number): number;
|
|
199
|
+
getUA(): string;
|
|
200
|
+
uaE(str: string): string;
|
|
201
|
+
getUserInfo(): string;
|
|
202
|
+
getSign(appID: string, version: string): string;
|
|
203
|
+
getTokenInfo(data: GetTokenInfoInput): Promise<string | undefined>;
|
|
204
|
+
};
|
|
205
|
+
declare const loginOneClick: {
|
|
206
|
+
genInternetSign: () => Promise<string | undefined>;
|
|
207
|
+
getSTToken: (uniToken: string) => Promise<{
|
|
208
|
+
token: string;
|
|
209
|
+
msisdn: string;
|
|
210
|
+
status: string;
|
|
211
|
+
} | {
|
|
212
|
+
error: string;
|
|
213
|
+
}>;
|
|
214
|
+
authn: () => Promise<{
|
|
215
|
+
token: string;
|
|
216
|
+
msisdn: string;
|
|
217
|
+
status: string;
|
|
218
|
+
} | {
|
|
219
|
+
error: string;
|
|
220
|
+
}>;
|
|
221
|
+
};
|
|
222
|
+
|
|
110
223
|
/**
|
|
111
224
|
* modules 子目录统一入口
|
|
112
225
|
* 汇总导出所有 API 函数
|
|
113
226
|
*/
|
|
114
227
|
|
|
228
|
+
declare const api_YDRZ: typeof YDRZ;
|
|
115
229
|
declare const api_checkCanListen: typeof checkCanListen;
|
|
116
230
|
declare const api_checkToken: typeof checkToken;
|
|
117
231
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
@@ -133,8 +247,10 @@ declare const api_getSearchDefault: typeof getSearchDefault;
|
|
|
133
247
|
declare const api_getSearchHot: typeof getSearchHot;
|
|
134
248
|
declare const api_getSearchSingerTab: typeof getSearchSingerTab;
|
|
135
249
|
declare const api_getSearchSingerTabList: typeof getSearchSingerTabList;
|
|
250
|
+
declare const api_getSimilarSongRecommend: typeof getSimilarSongRecommend;
|
|
136
251
|
declare const api_getSingerAlbum: typeof getSingerAlbum;
|
|
137
252
|
declare const api_getSingerIndex: typeof getSingerIndex;
|
|
253
|
+
declare const api_getSingerSimilar: typeof getSingerSimilar;
|
|
138
254
|
declare const api_getSingerSong: typeof getSingerSong;
|
|
139
255
|
declare const api_getTicketInfo: typeof getTicketInfo;
|
|
140
256
|
declare const api_getTodayRecommend: typeof getTodayRecommend;
|
|
@@ -142,9 +258,13 @@ declare const api_getUrlH5V24: typeof getUrlH5V24;
|
|
|
142
258
|
declare const api_getUrlV1: typeof getUrlV1;
|
|
143
259
|
declare const api_getUrlV2: typeof getUrlV2;
|
|
144
260
|
declare const api_getUserBadge: typeof getUserBadge;
|
|
261
|
+
declare const api_getUserCollect: typeof getUserCollect;
|
|
145
262
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
263
|
+
declare const api_getUserMyList: typeof getUserMyList;
|
|
146
264
|
declare const api_getVersion: typeof getVersion;
|
|
147
265
|
declare const api_loginNP: typeof loginNP;
|
|
266
|
+
declare const api_loginOneClick: typeof loginOneClick;
|
|
267
|
+
declare const api_loginSim: typeof loginSim;
|
|
148
268
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
149
269
|
declare const api_searchAlbum: typeof searchAlbum;
|
|
150
270
|
declare const api_searchConcert: typeof searchConcert;
|
|
@@ -155,7 +275,7 @@ declare const api_searchSuggest: typeof searchSuggest;
|
|
|
155
275
|
declare const api_searchTicket: typeof searchTicket;
|
|
156
276
|
declare const api_searchVideo: typeof searchVideo;
|
|
157
277
|
declare namespace api {
|
|
158
|
-
export { api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getComment as getComment, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getResourceInfo as getResourceInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, 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_getUserHomePage as getUserHomePage, api_getVersion as getVersion, api_loginNP as loginNP, api_queryUserInfo as queryUserInfo, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchRbt as searchRbt, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_searchVideo as searchVideo };
|
|
278
|
+
export { api_YDRZ as YDRZ, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getComment as getComment, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getResourceInfo as getResourceInfo, 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_getUserCollect as getUserCollect, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getVersion as getVersion, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginSim as loginSim, api_queryUserInfo as queryUserInfo, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchRbt as searchRbt, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_searchVideo as searchVideo };
|
|
159
279
|
}
|
|
160
280
|
|
|
161
281
|
/**
|
|
@@ -172,4 +292,4 @@ declare function createClient(): typeof api;
|
|
|
172
292
|
/** 客户端类型 */
|
|
173
293
|
type MiguClient = ReturnType<typeof createClient>;
|
|
174
294
|
|
|
175
|
-
export { type MiguClient, checkCanListen, checkToken, createClient, getAlbumInfo, getAlbumSong, getComment, getMvHls, getMvInfo, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSingerAlbum, getSingerIndex, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserHomePage, getVersion, loginNP, api as modules, queryUserInfo, searchAlbum, searchConcert, searchRbt, searchSinger, searchSong, searchSuggest, searchTicket, searchVideo };
|
|
295
|
+
export { type MiguClient, YDRZ, checkCanListen, checkToken, createClient, getAlbumInfo, getAlbumSong, getComment, getMvHls, getMvInfo, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerSimilar, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserCollect, getUserHomePage, getUserMyList, getVersion, loginNP, loginOneClick, loginSim, api as modules, queryUserInfo, searchAlbum, searchConcert, searchRbt, searchSinger, searchSong, searchSuggest, searchTicket, searchVideo };
|
package/dist/index.d.ts
CHANGED
|
@@ -67,14 +67,20 @@ declare const getUrlH5V24: (contentId: string, copyrightId: string, resourceType
|
|
|
67
67
|
|
|
68
68
|
declare const getVersion: (channel?: string, version?: string, ua?: string) => Promise<any>;
|
|
69
69
|
|
|
70
|
-
declare const getMvInfo: (mvIds: string
|
|
71
|
-
needAbsoluteUrl?: boolean | undefined;
|
|
72
|
-
}) => Promise<any>;
|
|
70
|
+
declare const getMvInfo: (mvIds: string) => Promise<any>;
|
|
73
71
|
|
|
74
|
-
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number
|
|
72
|
+
declare const getMvHls: (mvContentId: string, mvCopyrightId: string, url: string, size: number, format?: string, needHttps?: boolean) => Promise<any>;
|
|
75
73
|
|
|
76
74
|
declare const loginNP: {
|
|
77
|
-
|
|
75
|
+
/**
|
|
76
|
+
* 账号密码登录
|
|
77
|
+
* @param username 用户名
|
|
78
|
+
* @param password 密码
|
|
79
|
+
* @returns 登录成功后的 pacmtoken
|
|
80
|
+
*/
|
|
81
|
+
authn(username: string, password: string): Promise<object | {
|
|
82
|
+
error: string;
|
|
83
|
+
}>;
|
|
78
84
|
};
|
|
79
85
|
|
|
80
86
|
declare const checkToken: (token?: string) => Promise<any>;
|
|
@@ -107,11 +113,119 @@ declare const getTodayRecommend: (pacmtoken: string) => Promise<{
|
|
|
107
113
|
pacmtoken: string;
|
|
108
114
|
}>;
|
|
109
115
|
|
|
116
|
+
declare const loginSim: {
|
|
117
|
+
simSend(phone: string): Promise<{
|
|
118
|
+
error: any;
|
|
119
|
+
sim_sessionid?: undefined;
|
|
120
|
+
} | {
|
|
121
|
+
sim_sessionid: any;
|
|
122
|
+
error?: undefined;
|
|
123
|
+
}>;
|
|
124
|
+
simQuery(sim_sessionid: string): Promise<{
|
|
125
|
+
error: string;
|
|
126
|
+
token?: undefined;
|
|
127
|
+
status?: undefined;
|
|
128
|
+
body?: undefined;
|
|
129
|
+
} | {
|
|
130
|
+
token: any;
|
|
131
|
+
status: any;
|
|
132
|
+
error?: undefined;
|
|
133
|
+
body?: undefined;
|
|
134
|
+
} | {
|
|
135
|
+
error: any;
|
|
136
|
+
body: any;
|
|
137
|
+
token?: undefined;
|
|
138
|
+
status?: undefined;
|
|
139
|
+
}>;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
declare const getUserCollect: (pacmtoken: string, page?: number, size?: number) => Promise<{
|
|
143
|
+
data: any;
|
|
144
|
+
pacmtoken: string;
|
|
145
|
+
}>;
|
|
146
|
+
|
|
147
|
+
declare const getUserMyList: (pacmtoken: string, queryType?: number, page?: number, size?: number) => Promise<{
|
|
148
|
+
data: any;
|
|
149
|
+
pacmtoken: string;
|
|
150
|
+
}>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 获取相似歌手
|
|
154
|
+
* @param singerId 歌手ID
|
|
155
|
+
*/
|
|
156
|
+
declare const getSingerSimilar: (singerId: string) => Promise<any>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* 获取相似歌曲推荐
|
|
160
|
+
* @param contentId 歌曲ID
|
|
161
|
+
*/
|
|
162
|
+
declare const getSimilarSongRecommend: (contentId?: string) => Promise<any>;
|
|
163
|
+
|
|
164
|
+
type LoginOneClickData = {
|
|
165
|
+
version: string;
|
|
166
|
+
appId: string;
|
|
167
|
+
openType: string;
|
|
168
|
+
expandParams: string;
|
|
169
|
+
isTest: boolean;
|
|
170
|
+
sign: string;
|
|
171
|
+
getNetworkType: string;
|
|
172
|
+
getMsisdnMask: string;
|
|
173
|
+
traceId: string;
|
|
174
|
+
msgId: string;
|
|
175
|
+
timestamp: string;
|
|
176
|
+
uuid: string;
|
|
177
|
+
businessType: string;
|
|
178
|
+
userInformations: string;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* 调用方实际只需提供这些字段;其余字段由 getTokenInfo 内部补齐。
|
|
182
|
+
*/
|
|
183
|
+
type GetTokenInfoInput = Pick<LoginOneClickData, 'version' | 'appId' | 'openType' | 'expandParams' | 'isTest' | 'sign' | 'getNetworkType' | 'getMsisdnMask'>;
|
|
184
|
+
declare const YDRZ: {
|
|
185
|
+
optparams: {
|
|
186
|
+
uuid: string;
|
|
187
|
+
msgId: string;
|
|
188
|
+
traceId: string;
|
|
189
|
+
businessType: string;
|
|
190
|
+
appId: string;
|
|
191
|
+
timestamp: string;
|
|
192
|
+
isimge: boolean;
|
|
193
|
+
expandParams: string;
|
|
194
|
+
userInformations: string;
|
|
195
|
+
CMRequestApi: string;
|
|
196
|
+
};
|
|
197
|
+
randomString(len: number, range?: number): string;
|
|
198
|
+
randomRange(min: number, max: number): number;
|
|
199
|
+
getUA(): string;
|
|
200
|
+
uaE(str: string): string;
|
|
201
|
+
getUserInfo(): string;
|
|
202
|
+
getSign(appID: string, version: string): string;
|
|
203
|
+
getTokenInfo(data: GetTokenInfoInput): Promise<string | undefined>;
|
|
204
|
+
};
|
|
205
|
+
declare const loginOneClick: {
|
|
206
|
+
genInternetSign: () => Promise<string | undefined>;
|
|
207
|
+
getSTToken: (uniToken: string) => Promise<{
|
|
208
|
+
token: string;
|
|
209
|
+
msisdn: string;
|
|
210
|
+
status: string;
|
|
211
|
+
} | {
|
|
212
|
+
error: string;
|
|
213
|
+
}>;
|
|
214
|
+
authn: () => Promise<{
|
|
215
|
+
token: string;
|
|
216
|
+
msisdn: string;
|
|
217
|
+
status: string;
|
|
218
|
+
} | {
|
|
219
|
+
error: string;
|
|
220
|
+
}>;
|
|
221
|
+
};
|
|
222
|
+
|
|
110
223
|
/**
|
|
111
224
|
* modules 子目录统一入口
|
|
112
225
|
* 汇总导出所有 API 函数
|
|
113
226
|
*/
|
|
114
227
|
|
|
228
|
+
declare const api_YDRZ: typeof YDRZ;
|
|
115
229
|
declare const api_checkCanListen: typeof checkCanListen;
|
|
116
230
|
declare const api_checkToken: typeof checkToken;
|
|
117
231
|
declare const api_getAlbumInfo: typeof getAlbumInfo;
|
|
@@ -133,8 +247,10 @@ declare const api_getSearchDefault: typeof getSearchDefault;
|
|
|
133
247
|
declare const api_getSearchHot: typeof getSearchHot;
|
|
134
248
|
declare const api_getSearchSingerTab: typeof getSearchSingerTab;
|
|
135
249
|
declare const api_getSearchSingerTabList: typeof getSearchSingerTabList;
|
|
250
|
+
declare const api_getSimilarSongRecommend: typeof getSimilarSongRecommend;
|
|
136
251
|
declare const api_getSingerAlbum: typeof getSingerAlbum;
|
|
137
252
|
declare const api_getSingerIndex: typeof getSingerIndex;
|
|
253
|
+
declare const api_getSingerSimilar: typeof getSingerSimilar;
|
|
138
254
|
declare const api_getSingerSong: typeof getSingerSong;
|
|
139
255
|
declare const api_getTicketInfo: typeof getTicketInfo;
|
|
140
256
|
declare const api_getTodayRecommend: typeof getTodayRecommend;
|
|
@@ -142,9 +258,13 @@ declare const api_getUrlH5V24: typeof getUrlH5V24;
|
|
|
142
258
|
declare const api_getUrlV1: typeof getUrlV1;
|
|
143
259
|
declare const api_getUrlV2: typeof getUrlV2;
|
|
144
260
|
declare const api_getUserBadge: typeof getUserBadge;
|
|
261
|
+
declare const api_getUserCollect: typeof getUserCollect;
|
|
145
262
|
declare const api_getUserHomePage: typeof getUserHomePage;
|
|
263
|
+
declare const api_getUserMyList: typeof getUserMyList;
|
|
146
264
|
declare const api_getVersion: typeof getVersion;
|
|
147
265
|
declare const api_loginNP: typeof loginNP;
|
|
266
|
+
declare const api_loginOneClick: typeof loginOneClick;
|
|
267
|
+
declare const api_loginSim: typeof loginSim;
|
|
148
268
|
declare const api_queryUserInfo: typeof queryUserInfo;
|
|
149
269
|
declare const api_searchAlbum: typeof searchAlbum;
|
|
150
270
|
declare const api_searchConcert: typeof searchConcert;
|
|
@@ -155,7 +275,7 @@ declare const api_searchSuggest: typeof searchSuggest;
|
|
|
155
275
|
declare const api_searchTicket: typeof searchTicket;
|
|
156
276
|
declare const api_searchVideo: typeof searchVideo;
|
|
157
277
|
declare namespace api {
|
|
158
|
-
export { api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getComment as getComment, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getResourceInfo as getResourceInfo, api_getSceneRecommend as getSceneRecommend, api_getSearchDefault as getSearchDefault, api_getSearchHot as getSearchHot, api_getSearchSingerTab as getSearchSingerTab, api_getSearchSingerTabList as getSearchSingerTabList, api_getSingerAlbum as getSingerAlbum, api_getSingerIndex as getSingerIndex, 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_getUserHomePage as getUserHomePage, api_getVersion as getVersion, api_loginNP as loginNP, api_queryUserInfo as queryUserInfo, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchRbt as searchRbt, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_searchVideo as searchVideo };
|
|
278
|
+
export { api_YDRZ as YDRZ, api_checkCanListen as checkCanListen, api_checkToken as checkToken, api_getAlbumInfo as getAlbumInfo, api_getAlbumSong as getAlbumSong, api_getComment as getComment, api_getMvHls as getMvHls, api_getMvInfo as getMvInfo, api_getOpNum as getOpNum, api_getPacmToken as getPacmToken, api_getPlaylistInfo as getPlaylistInfo, api_getPlaylistSong as getPlaylistSong, api_getRadioRecommend as getRadioRecommend, api_getRankIndex as getRankIndex, api_getRankInfo as getRankInfo, api_getRecommendPlaylist as getRecommendPlaylist, api_getResourceInfo as getResourceInfo, 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_getUserCollect as getUserCollect, api_getUserHomePage as getUserHomePage, api_getUserMyList as getUserMyList, api_getVersion as getVersion, api_loginNP as loginNP, api_loginOneClick as loginOneClick, api_loginSim as loginSim, api_queryUserInfo as queryUserInfo, api_searchAlbum as searchAlbum, api_searchConcert as searchConcert, api_searchRbt as searchRbt, api_searchSinger as searchSinger, api_searchSong as searchSong, api_searchSuggest as searchSuggest, api_searchTicket as searchTicket, api_searchVideo as searchVideo };
|
|
159
279
|
}
|
|
160
280
|
|
|
161
281
|
/**
|
|
@@ -172,4 +292,4 @@ declare function createClient(): typeof api;
|
|
|
172
292
|
/** 客户端类型 */
|
|
173
293
|
type MiguClient = ReturnType<typeof createClient>;
|
|
174
294
|
|
|
175
|
-
export { type MiguClient, checkCanListen, checkToken, createClient, getAlbumInfo, getAlbumSong, getComment, getMvHls, getMvInfo, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSingerAlbum, getSingerIndex, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserHomePage, getVersion, loginNP, api as modules, queryUserInfo, searchAlbum, searchConcert, searchRbt, searchSinger, searchSong, searchSuggest, searchTicket, searchVideo };
|
|
295
|
+
export { type MiguClient, YDRZ, checkCanListen, checkToken, createClient, getAlbumInfo, getAlbumSong, getComment, getMvHls, getMvInfo, getOpNum, getPacmToken, getPlaylistInfo, getPlaylistSong, getRadioRecommend, getRankIndex, getRankInfo, getRecommendPlaylist, getResourceInfo, getSceneRecommend, getSearchDefault, getSearchHot, getSearchSingerTab, getSearchSingerTabList, getSimilarSongRecommend, getSingerAlbum, getSingerIndex, getSingerSimilar, getSingerSong, getTicketInfo, getTodayRecommend, getUrlH5V24, getUrlV1, getUrlV2, getUserBadge, getUserCollect, getUserHomePage, getUserMyList, getVersion, loginNP, loginOneClick, loginSim, api as modules, queryUserInfo, searchAlbum, searchConcert, searchRbt, searchSinger, searchSong, searchSuggest, searchTicket, searchVideo };
|