mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 13:22:10 +08:00
feat: ts support
This commit is contained in:
parent
139e9a1a39
commit
c6312abbad
180
interface.d.ts
vendored
Normal file
180
interface.d.ts
vendored
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
export * from './module_types/activate_init_profile'
|
||||||
|
export * from './module_types/album'
|
||||||
|
export * from './module_types/album_detail'
|
||||||
|
export * from './module_types/album_detail_dynamic'
|
||||||
|
export * from './module_types/album_list'
|
||||||
|
export * from './module_types/album_list_style'
|
||||||
|
export * from './module_types/album_new'
|
||||||
|
export * from './module_types/album_newest'
|
||||||
|
export * from './module_types/album_songsaleboard'
|
||||||
|
export * from './module_types/album_sub'
|
||||||
|
export * from './module_types/album_sublist'
|
||||||
|
export * from './module_types/artist_album'
|
||||||
|
export * from './module_types/artist_desc'
|
||||||
|
export * from './module_types/artist_list'
|
||||||
|
export * from './module_types/artist_mv'
|
||||||
|
export * from './module_types/artist_songs'
|
||||||
|
export * from './module_types/artist_sub'
|
||||||
|
export * from './module_types/artist_sublist'
|
||||||
|
export * from './module_types/artist_top_song'
|
||||||
|
export * from './module_types/artists'
|
||||||
|
export * from './module_types/avatar_upload'
|
||||||
|
export * from './module_types/banner'
|
||||||
|
export * from './module_types/batch'
|
||||||
|
export * from './module_types/captcha_sent'
|
||||||
|
export * from './module_types/captcha_verify'
|
||||||
|
export * from './module_types/cellphone_existence_check'
|
||||||
|
export * from './module_types/check_music'
|
||||||
|
export * from './module_types/cloudsearch'
|
||||||
|
export * from './module_types/comment'
|
||||||
|
export * from './module_types/comment_album'
|
||||||
|
export * from './module_types/comment_dj'
|
||||||
|
export * from './module_types/comment_event'
|
||||||
|
export * from './module_types/comment_floor'
|
||||||
|
export * from './module_types/comment_hot'
|
||||||
|
export * from './module_types/comment_hotwall_list'
|
||||||
|
export * from './module_types/comment_like'
|
||||||
|
export * from './module_types/comment_music'
|
||||||
|
export * from './module_types/comment_mv'
|
||||||
|
export * from './module_types/comment_playlist'
|
||||||
|
export * from './module_types/comment_video'
|
||||||
|
export * from './module_types/countries_code_list'
|
||||||
|
export * from './module_types/daily_signin'
|
||||||
|
export * from './module_types/digitalAlbum_ordering'
|
||||||
|
export * from './module_types/digitalAlbum_purchased'
|
||||||
|
export * from './module_types/dj_banner'
|
||||||
|
export * from './module_types/dj_category_excludehot'
|
||||||
|
export * from './module_types/dj_category_recommend'
|
||||||
|
export * from './module_types/dj_catelist'
|
||||||
|
export * from './module_types/dj_detail'
|
||||||
|
export * from './module_types/dj_hot'
|
||||||
|
export * from './module_types/dj_paygift'
|
||||||
|
export * from './module_types/dj_program'
|
||||||
|
export * from './module_types/dj_program_detail'
|
||||||
|
export * from './module_types/dj_program_toplist'
|
||||||
|
export * from './module_types/dj_program_toplist_hours'
|
||||||
|
export * from './module_types/dj_radio_hot'
|
||||||
|
export * from './module_types/dj_recommend'
|
||||||
|
export * from './module_types/dj_recommend_type'
|
||||||
|
export * from './module_types/dj_sub'
|
||||||
|
export * from './module_types/dj_sublist'
|
||||||
|
export * from './module_types/dj_today_perfered'
|
||||||
|
export * from './module_types/dj_toplist'
|
||||||
|
export * from './module_types/dj_toplist_hours'
|
||||||
|
export * from './module_types/dj_toplist_newcomer'
|
||||||
|
export * from './module_types/dj_toplist_pay'
|
||||||
|
export * from './module_types/dj_toplist_popular'
|
||||||
|
export * from './module_types/event'
|
||||||
|
export * from './module_types/event_del'
|
||||||
|
export * from './module_types/event_forward'
|
||||||
|
export * from './module_types/fm_trash'
|
||||||
|
export * from './module_types/follow'
|
||||||
|
export * from './module_types/history_recommend_songs'
|
||||||
|
export * from './module_types/history_recommend_songs_detail'
|
||||||
|
export * from './module_types/homepage_block_page'
|
||||||
|
export * from './module_types/homepage_dragon_ball'
|
||||||
|
export * from './module_types/hot_topic'
|
||||||
|
export * from './module_types/like'
|
||||||
|
export * from './module_types/likelist'
|
||||||
|
export * from './module_types/login'
|
||||||
|
export * from './module_types/login_cellphone'
|
||||||
|
export * from './module_types/login_refresh'
|
||||||
|
export * from './module_types/login_status'
|
||||||
|
export * from './module_types/logout'
|
||||||
|
export * from './module_types/lyric'
|
||||||
|
export * from './module_types/msg_comments'
|
||||||
|
export * from './module_types/msg_forwards'
|
||||||
|
export * from './module_types/msg_notices'
|
||||||
|
export * from './module_types/msg_private'
|
||||||
|
export * from './module_types/msg_private_history'
|
||||||
|
export * from './module_types/mv_all'
|
||||||
|
export * from './module_types/mv_detail'
|
||||||
|
export * from './module_types/mv_detail_info'
|
||||||
|
export * from './module_types/mv_exclusive_rcmd'
|
||||||
|
export * from './module_types/mv_first'
|
||||||
|
export * from './module_types/mv_sub'
|
||||||
|
export * from './module_types/mv_sublist'
|
||||||
|
export * from './module_types/mv_url'
|
||||||
|
export * from './module_types/personal_fm'
|
||||||
|
export * from './module_types/personalized'
|
||||||
|
export * from './module_types/personalized_djprogram'
|
||||||
|
export * from './module_types/personalized_mv'
|
||||||
|
export * from './module_types/personalized_newsong'
|
||||||
|
export * from './module_types/personalized_privatecontent'
|
||||||
|
export * from './module_types/personalized_privatecontent_list'
|
||||||
|
export * from './module_types/playlist_catlist'
|
||||||
|
export * from './module_types/playlist_cover_update'
|
||||||
|
export * from './module_types/playlist_create'
|
||||||
|
export * from './module_types/playlist_delete'
|
||||||
|
export * from './module_types/playlist_desc_update'
|
||||||
|
export * from './module_types/playlist_detail'
|
||||||
|
export * from './module_types/playlist_hot'
|
||||||
|
export * from './module_types/playlist_name_update'
|
||||||
|
export * from './module_types/playlist_order_update'
|
||||||
|
export * from './module_types/playlist_subscribe'
|
||||||
|
export * from './module_types/playlist_subscribers'
|
||||||
|
export * from './module_types/playlist_tags_update'
|
||||||
|
export * from './module_types/playlist_tracks'
|
||||||
|
export * from './module_types/playlist_update'
|
||||||
|
export * from './module_types/playmode_intelligence_list'
|
||||||
|
export * from './module_types/program_recommend'
|
||||||
|
export * from './module_types/rebind'
|
||||||
|
export * from './module_types/recommend_resource'
|
||||||
|
export * from './module_types/recommend_songs'
|
||||||
|
export * from './module_types/register_cellphone'
|
||||||
|
export * from './module_types/related_allvideo'
|
||||||
|
export * from './module_types/related_playlist'
|
||||||
|
export * from './module_types/resource_like'
|
||||||
|
export * from './module_types/scrobble'
|
||||||
|
export * from './module_types/search'
|
||||||
|
export * from './module_types/search_default'
|
||||||
|
export * from './module_types/search_hot'
|
||||||
|
export * from './module_types/search_hot_detail'
|
||||||
|
export * from './module_types/search_multimatch'
|
||||||
|
export * from './module_types/search_suggest'
|
||||||
|
export * from './module_types/send_playlist'
|
||||||
|
export * from './module_types/send_text'
|
||||||
|
export * from './module_types/setting'
|
||||||
|
export * from './module_types/share_resource'
|
||||||
|
export * from './module_types/simi_artist'
|
||||||
|
export * from './module_types/simi_mv'
|
||||||
|
export * from './module_types/simi_playlist'
|
||||||
|
export * from './module_types/simi_song'
|
||||||
|
export * from './module_types/simi_user'
|
||||||
|
export * from './module_types/song_detail'
|
||||||
|
export * from './module_types/song_order_update'
|
||||||
|
export * from './module_types/song_url'
|
||||||
|
export * from './module_types/top_album'
|
||||||
|
export * from './module_types/top_artists'
|
||||||
|
export * from './module_types/top_list'
|
||||||
|
export * from './module_types/top_mv'
|
||||||
|
export * from './module_types/top_playlist'
|
||||||
|
export * from './module_types/top_playlist_highquality'
|
||||||
|
export * from './module_types/top_song'
|
||||||
|
export * from './module_types/toplist'
|
||||||
|
export * from './module_types/toplist_artist'
|
||||||
|
export * from './module_types/toplist_detail'
|
||||||
|
export * from './module_types/user_audio'
|
||||||
|
export * from './module_types/user_cloud'
|
||||||
|
export * from './module_types/user_cloud_del'
|
||||||
|
export * from './module_types/user_cloud_detail'
|
||||||
|
export * from './module_types/user_detail'
|
||||||
|
export * from './module_types/user_dj'
|
||||||
|
export * from './module_types/user_event'
|
||||||
|
export * from './module_types/user_followeds'
|
||||||
|
export * from './module_types/user_follows'
|
||||||
|
export * from './module_types/user_playlist'
|
||||||
|
export * from './module_types/user_record'
|
||||||
|
export * from './module_types/user_subcount'
|
||||||
|
export * from './module_types/user_update'
|
||||||
|
export * from './module_types/video_category_list'
|
||||||
|
export * from './module_types/video_detail'
|
||||||
|
export * from './module_types/video_detail_info'
|
||||||
|
export * from './module_types/video_group'
|
||||||
|
export * from './module_types/video_group_list'
|
||||||
|
export * from './module_types/video_sub'
|
||||||
|
export * from './module_types/video_timeline_all'
|
||||||
|
export * from './module_types/video_timeline_recommend'
|
||||||
|
export * from './module_types/video_url'
|
||||||
|
export * from './module_types/weblog'
|
||||||
|
export * from './module_types/base'
|
670
main.d.ts
vendored
670
main.d.ts
vendored
@ -1,5 +1,675 @@
|
|||||||
|
export * from './interface'
|
||||||
|
import {
|
||||||
|
ActivateInitProfileRequestConfig,
|
||||||
|
AlbumRequestConfig,
|
||||||
|
AlbumDetailRequestConfig,
|
||||||
|
AlbumDetailDynamicRequestConfig,
|
||||||
|
AlbumListRequestConfig,
|
||||||
|
AlbumListStyleRequestConfig,
|
||||||
|
AlbumNewRequestConfig,
|
||||||
|
AlbumNewestRequestConfig,
|
||||||
|
AlbumSongSaleBoardRequestConfig,
|
||||||
|
AlbumSubRequestConfig,
|
||||||
|
AlbumSubListRequestConfig,
|
||||||
|
ArtistAlbumRequestConfig,
|
||||||
|
ArtistDescRequestConfig,
|
||||||
|
ArtistListRequestConfig,
|
||||||
|
ArtistMVRequestConfig,
|
||||||
|
ArtistSongsRequestConfig,
|
||||||
|
ArtistSubRequestConfig,
|
||||||
|
ArtistSubListRequestConfig,
|
||||||
|
ArtistTopSongRequestConfig,
|
||||||
|
ArtistsRequestConfig,
|
||||||
|
// AvatarUploadRequestConfig,
|
||||||
|
BannerRequestConfig,
|
||||||
|
BatchRequestConfig,
|
||||||
|
CaptchaSentRequestConfig,
|
||||||
|
CaptchaVerifyRequestConfig,
|
||||||
|
CellphoneExistenceCheckRequestConfig,
|
||||||
|
CheckMusicRequestConfig,
|
||||||
|
CloudSearchRequestConfig,
|
||||||
|
CommentRequestConfig,
|
||||||
|
CommentAlbumRequestConfig,
|
||||||
|
CommentDjRequestConfig,
|
||||||
|
CommentEventRequestConfig,
|
||||||
|
CommentFloorRequestConfig,
|
||||||
|
CommentHotRequestConfig,
|
||||||
|
CommentHotwallListRequestConfig,
|
||||||
|
CommentLikeRequestConfig,
|
||||||
|
CommentMusicRequestConfig,
|
||||||
|
CommentMvRequestConfig,
|
||||||
|
CommentPlaylistRequestConfig,
|
||||||
|
CommentVideoRequestConfig,
|
||||||
|
CountriesCodeListRequestConfig,
|
||||||
|
DailySigninRequestConfig,
|
||||||
|
DigitalAlbumOrderingRequestConfig,
|
||||||
|
DigitalAlbumPurchasedRequestConfig,
|
||||||
|
DjBannerRequestConfig,
|
||||||
|
DjCategoryExcludehotRequestConfig,
|
||||||
|
DjCategoryRecommendRequestConfig,
|
||||||
|
DjCatelistRequestConfig,
|
||||||
|
DjDetailRequestConfig,
|
||||||
|
DjHotRequestConfig,
|
||||||
|
DjPaygiftRequestConfig,
|
||||||
|
DjProgramRequestConfig,
|
||||||
|
DjProgramDetailRequestConfig,
|
||||||
|
DjProgramToplistRequestConfig,
|
||||||
|
DjProgramToplistHoursRequestConfig,
|
||||||
|
DjRadioHotRequestConfig,
|
||||||
|
DjRecommendRequestConfig,
|
||||||
|
DjRecommendTypeRequestConfig,
|
||||||
|
DjSubRequestConfig,
|
||||||
|
DjSublistRequestConfig,
|
||||||
|
DjTodayPerferedRequestConfig,
|
||||||
|
DjToplistRequestConfig,
|
||||||
|
DjToplistHoursRequestConfig,
|
||||||
|
DjToplistNewcomerRequestConfig,
|
||||||
|
DjToplistPayRequestConfig,
|
||||||
|
DjToplistPopularRequestConfig,
|
||||||
|
EventRequestConfig,
|
||||||
|
EventDelRequestConfig,
|
||||||
|
EventForwardRequestConfig,
|
||||||
|
FmTrashRequestConfig,
|
||||||
|
FollowRequestConfig,
|
||||||
|
HistoryRecommendSongsRequestConfig,
|
||||||
|
HistoryRecommendSongsDetailRequestConfig,
|
||||||
|
HomepageBlockPageRequestConfig,
|
||||||
|
HomepageDragonBallRequestConfig,
|
||||||
|
HotTopicRequestConfig,
|
||||||
|
LikeRequestConfig,
|
||||||
|
LikelistRequestConfig,
|
||||||
|
LoginRequestConfig,
|
||||||
|
LoginCellphoneRequestConfig,
|
||||||
|
LoginRefreshRequestConfig,
|
||||||
|
LoginStatusRequestConfig,
|
||||||
|
LogoutRequestConfig,
|
||||||
|
LyricRequestConfig,
|
||||||
|
MsgCommentsRequestConfig,
|
||||||
|
MsgForwardsRequestConfig,
|
||||||
|
MsgNoticesRequestConfig,
|
||||||
|
MsgPrivateRequestConfig,
|
||||||
|
MsgPrivateHistoryRequestConfig,
|
||||||
|
MvAllRequestConfig,
|
||||||
|
MvDetailRequestConfig,
|
||||||
|
MvDetailInfoRequestConfig,
|
||||||
|
MvExclusiveRcmdRequestConfig,
|
||||||
|
MvFirstRequestConfig,
|
||||||
|
MvSubRequestConfig,
|
||||||
|
MvSublistRequestConfig,
|
||||||
|
MvUrlRequestConfig,
|
||||||
|
PersonalFmRequestConfig,
|
||||||
|
PersonalizedRequestConfig,
|
||||||
|
PersonalizedDjprogramRequestConfig,
|
||||||
|
PersonalizedMvRequestConfig,
|
||||||
|
PersonalizedNewsongRequestConfig,
|
||||||
|
PersonalizedPrivatecontentRequestConfig,
|
||||||
|
PersonalizedPrivatecontentListRequestConfig,
|
||||||
|
PlaylistCatlistRequestConfig,
|
||||||
|
// PlaylistCoverUpdateRequestConfig,
|
||||||
|
PlaylistCreateRequestConfig,
|
||||||
|
PlaylistDeleteRequestConfig,
|
||||||
|
PlaylistDescUpdateRequestConfig,
|
||||||
|
PlaylistDetailRequestConfig,
|
||||||
|
PlaylistHotRequestConfig,
|
||||||
|
PlaylistNameUpdateRequestConfig,
|
||||||
|
PlaylistOrderUpdateRequestConfig,
|
||||||
|
PlaylistSubscribeRequestConfig,
|
||||||
|
PlaylistSubscribersRequestConfig,
|
||||||
|
PlaylistTagsUpdateRequestConfig,
|
||||||
|
PlaylistTracksRequestConfig,
|
||||||
|
PlaylistUpdateRequestConfig,
|
||||||
|
PlaymodeIntelligenceListRequestConfig,
|
||||||
|
ProgramRecommendRequestConfig,
|
||||||
|
RebindRequestConfig,
|
||||||
|
RecommendResourceRequestConfig,
|
||||||
|
RecommendSongsRequestConfig,
|
||||||
|
RegisterCellphoneRequestConfig,
|
||||||
|
RelatedAllvideoRequestConfig,
|
||||||
|
RelatedPlaylistRequestConfig,
|
||||||
|
ResourceLikeRequestConfig,
|
||||||
|
ScrobbleRequestConfig,
|
||||||
|
SearchRequestConfig,
|
||||||
|
SearchDefaultRequestConfig,
|
||||||
|
SearchHotRequestConfig,
|
||||||
|
SearchHotDetailRequestConfig,
|
||||||
|
SearchMultimatchRequestConfig,
|
||||||
|
SearchSuggestRequestConfig,
|
||||||
|
SendPlaylistRequestConfig,
|
||||||
|
SendTextRequestConfig,
|
||||||
|
SettingRequestConfig,
|
||||||
|
ShareResourceRequestConfig,
|
||||||
|
SimiArtistRequestConfig,
|
||||||
|
SimiMvRequestConfig,
|
||||||
|
SimiPlaylistRequestConfig,
|
||||||
|
SimiSongRequestConfig,
|
||||||
|
SimiUserRequestConfig,
|
||||||
|
SongDetailRequestConfig,
|
||||||
|
SongOrderUpdateRequestConfig,
|
||||||
|
SongUrlRequestConfig,
|
||||||
|
TopAlbumRequestConfig,
|
||||||
|
TopArtistsRequestConfig,
|
||||||
|
TopListRequestConfig,
|
||||||
|
TopMvRequestConfig,
|
||||||
|
TopPlaylistRequestConfig,
|
||||||
|
TopPlaylistHighqualityRequestConfig,
|
||||||
|
TopSongRequestConfig,
|
||||||
|
ToplistRequestConfig,
|
||||||
|
ToplistArtistRequestConfig,
|
||||||
|
ToplistDetailRequestConfig,
|
||||||
|
UserAudioRequestConfig,
|
||||||
|
UserCloudRequestConfig,
|
||||||
|
UserCloudDelRequestConfig,
|
||||||
|
UserCloudDetailRequestConfig,
|
||||||
|
UserDetailRequestConfig,
|
||||||
|
UserDjRequestConfig,
|
||||||
|
UserEventRequestConfig,
|
||||||
|
UserFollowedsRequestConfig,
|
||||||
|
UserFollowsRequestConfig,
|
||||||
|
UserPlaylistRequestConfig,
|
||||||
|
UserRecordRequestConfig,
|
||||||
|
UserSubcountRequestConfig,
|
||||||
|
UserUpdateRequestConfig,
|
||||||
|
VideoCategoryListRequestConfig,
|
||||||
|
VideoDetailRequestConfig,
|
||||||
|
VideoDetailInfoRequestConfig,
|
||||||
|
VideoGroupRequestConfig,
|
||||||
|
VideoGroupListRequestConfig,
|
||||||
|
VideoSubRequestConfig,
|
||||||
|
VideoTimelineAllRequestConfig,
|
||||||
|
VideoTimelineRecommendRequestConfig,
|
||||||
|
VideoUrlRequestConfig,
|
||||||
|
WeblogRequestConfig,
|
||||||
|
APIBaseResponse,
|
||||||
|
} from './interface'
|
||||||
|
// Start
|
||||||
export interface Response<T> {
|
export interface Response<T> {
|
||||||
status: number // The Http Response Code
|
status: number // The Http Response Code
|
||||||
body: T // API Response body
|
body: T // API Response body
|
||||||
cookie: string[]
|
cookie: string[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface SDKInstance {
|
||||||
|
activate_init_profile: (
|
||||||
|
params: ActivateInitProfileRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album: (params: AlbumRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_detail: (
|
||||||
|
params: AlbumDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_detail_dynamic: (
|
||||||
|
params: AlbumDetailDynamicRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_list: (
|
||||||
|
params: AlbumListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_list_style: (
|
||||||
|
params: AlbumListStyleRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_new: (
|
||||||
|
params: AlbumNewRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_newest: (
|
||||||
|
params: AlbumNewestRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_songsaleboard: (
|
||||||
|
params: AlbumSongSaleBoardRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_sub: (
|
||||||
|
params: AlbumSubRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
album_sublist: (
|
||||||
|
params: AlbumSubListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_album: (
|
||||||
|
params: ArtistAlbumRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_desc: (
|
||||||
|
params: ArtistDescRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_list: (
|
||||||
|
params: ArtistListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_mv: (
|
||||||
|
params: ArtistMVRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_songs: (
|
||||||
|
params: ArtistSongsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_sub: (
|
||||||
|
params: ArtistSubRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_sublist: (
|
||||||
|
params: ArtistSubListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artist_top_song: (
|
||||||
|
params: ArtistTopSongRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
artists: (params: ArtistsRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
// avatar_upload: (
|
||||||
|
// params: AvatarUploadRequestConfig,
|
||||||
|
//) => Promise<Response<APIBaseResponse>>
|
||||||
|
banner: (params: BannerRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
batch: (params: BatchRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
captcha_sent: (
|
||||||
|
params: CaptchaSentRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
captcha_verify: (
|
||||||
|
params: CaptchaVerifyRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
cellphone_existence_check: (
|
||||||
|
params: CellphoneExistenceCheckRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
check_music: (
|
||||||
|
params: CheckMusicRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
cloudsearch: (
|
||||||
|
params: CloudSearchRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment: (params: CommentRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_album: (
|
||||||
|
params: CommentAlbumRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_dj: (
|
||||||
|
params: CommentDjRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_event: (
|
||||||
|
params: CommentEventRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_floor: (
|
||||||
|
params: CommentFloorRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_hot: (
|
||||||
|
params: CommentHotRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_hotwall_list: (
|
||||||
|
params: CommentHotwallListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_like: (
|
||||||
|
params: CommentLikeRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_music: (
|
||||||
|
params: CommentMusicRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_mv: (
|
||||||
|
params: CommentMvRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_playlist: (
|
||||||
|
params: CommentPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
comment_video: (
|
||||||
|
params: CommentVideoRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
countries_code_list: (
|
||||||
|
params: CountriesCodeListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
daily_signin: (
|
||||||
|
params: DailySigninRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
digitalAlbum_ordering: (
|
||||||
|
params: DigitalAlbumOrderingRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
digitalAlbum_purchased: (
|
||||||
|
params: DigitalAlbumPurchasedRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_banner: (
|
||||||
|
params: DjBannerRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_category_excludehot: (
|
||||||
|
params: DjCategoryExcludehotRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_category_recommend: (
|
||||||
|
params: DjCategoryRecommendRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_catelist: (
|
||||||
|
params: DjCatelistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_detail: (
|
||||||
|
params: DjDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_hot: (params: DjHotRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_paygift: (
|
||||||
|
params: DjPaygiftRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_program: (
|
||||||
|
params: DjProgramRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_program_detail: (
|
||||||
|
params: DjProgramDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_program_toplist: (
|
||||||
|
params: DjProgramToplistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_program_toplist_hours: (
|
||||||
|
params: DjProgramToplistHoursRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_radio_hot: (
|
||||||
|
params: DjRadioHotRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_recommend: (
|
||||||
|
params: DjRecommendRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_recommend_type: (
|
||||||
|
params: DjRecommendTypeRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_sub: (params: DjSubRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_sublist: (
|
||||||
|
params: DjSublistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_today_perfered: (
|
||||||
|
params: DjTodayPerferedRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_toplist: (
|
||||||
|
params: DjToplistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_toplist_hours: (
|
||||||
|
params: DjToplistHoursRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_toplist_newcomer: (
|
||||||
|
params: DjToplistNewcomerRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_toplist_pay: (
|
||||||
|
params: DjToplistPayRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
dj_toplist_popular: (
|
||||||
|
params: DjToplistPopularRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
event: (params: EventRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
event_del: (
|
||||||
|
params: EventDelRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
event_forward: (
|
||||||
|
params: EventForwardRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
fm_trash: (params: FmTrashRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
follow: (params: FollowRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
history_recommend_songs: (
|
||||||
|
params: HistoryRecommendSongsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
history_recommend_songs_detail: (
|
||||||
|
params: HistoryRecommendSongsDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
homepage_block_page: (
|
||||||
|
params: HomepageBlockPageRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
homepage_dragon_ball: (
|
||||||
|
params: HomepageDragonBallRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
hot_topic: (
|
||||||
|
params: HotTopicRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
like: (params: LikeRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
likelist: (
|
||||||
|
params: LikelistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
login: (params: LoginRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
login_cellphone: (
|
||||||
|
params: LoginCellphoneRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
login_refresh: (
|
||||||
|
params: LoginRefreshRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
login_status: (
|
||||||
|
params: LoginStatusRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
logout: (params: LogoutRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
lyric: (params: LyricRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
msg_comments: (
|
||||||
|
params: MsgCommentsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
msg_forwards: (
|
||||||
|
params: MsgForwardsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
msg_notices: (
|
||||||
|
params: MsgNoticesRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
msg_private: (
|
||||||
|
params: MsgPrivateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
msg_private_history: (
|
||||||
|
params: MsgPrivateHistoryRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_all: (params: MvAllRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_detail: (
|
||||||
|
params: MvDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_detail_info: (
|
||||||
|
params: MvDetailInfoRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_exclusive_rcmd: (
|
||||||
|
params: MvExclusiveRcmdRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_first: (params: MvFirstRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_sub: (params: MvSubRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_sublist: (
|
||||||
|
params: MvSublistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
mv_url: (params: MvUrlRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
personal_fm: (
|
||||||
|
params: PersonalFmRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized: (
|
||||||
|
params: PersonalizedRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized_djprogram: (
|
||||||
|
params: PersonalizedDjprogramRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized_mv: (
|
||||||
|
params: PersonalizedMvRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized_newsong: (
|
||||||
|
params: PersonalizedNewsongRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized_privatecontent: (
|
||||||
|
params: PersonalizedPrivatecontentRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
personalized_privatecontent_list: (
|
||||||
|
params: PersonalizedPrivatecontentListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_catlist: (
|
||||||
|
params: PlaylistCatlistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
// playlist_cover_update: (
|
||||||
|
// params: PlaylistCoverUpdateRequestConfig,
|
||||||
|
// ) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_create: (
|
||||||
|
params: PlaylistCreateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_delete: (
|
||||||
|
params: PlaylistDeleteRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_desc_update: (
|
||||||
|
params: PlaylistDescUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_detail: (
|
||||||
|
params: PlaylistDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_hot: (
|
||||||
|
params: PlaylistHotRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_name_update: (
|
||||||
|
params: PlaylistNameUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_order_update: (
|
||||||
|
params: PlaylistOrderUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_subscribe: (
|
||||||
|
params: PlaylistSubscribeRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_subscribers: (
|
||||||
|
params: PlaylistSubscribersRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_tags_update: (
|
||||||
|
params: PlaylistTagsUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_tracks: (
|
||||||
|
params: PlaylistTracksRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playlist_update: (
|
||||||
|
params: PlaylistUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
playmode_intelligence_list: (
|
||||||
|
params: PlaymodeIntelligenceListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
program_recommend: (
|
||||||
|
params: ProgramRecommendRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
rebind: (params: RebindRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
recommend_resource: (
|
||||||
|
params: RecommendResourceRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
recommend_songs: (
|
||||||
|
params: RecommendSongsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
register_cellphone: (
|
||||||
|
params: RegisterCellphoneRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
related_allvideo: (
|
||||||
|
params: RelatedAllvideoRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
related_playlist: (
|
||||||
|
params: RelatedPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
resource_like: (
|
||||||
|
params: ResourceLikeRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
scrobble: (
|
||||||
|
params: ScrobbleRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
search: (params: SearchRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
search_default: (
|
||||||
|
params: SearchDefaultRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
search_hot: (
|
||||||
|
params: SearchHotRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
search_hot_detail: (
|
||||||
|
params: SearchHotDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
search_multimatch: (
|
||||||
|
params: SearchMultimatchRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
search_suggest: (
|
||||||
|
params: SearchSuggestRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
send_playlist: (
|
||||||
|
params: SendPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
send_text: (
|
||||||
|
params: SendTextRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
setting: (params: SettingRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
share_resource: (
|
||||||
|
params: ShareResourceRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
simi_artist: (
|
||||||
|
params: SimiArtistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
simi_mv: (params: SimiMvRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
simi_playlist: (
|
||||||
|
params: SimiPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
simi_song: (
|
||||||
|
params: SimiSongRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
simi_user: (
|
||||||
|
params: SimiUserRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
song_detail: (
|
||||||
|
params: SongDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
song_order_update: (
|
||||||
|
params: SongOrderUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
song_url: (params: SongUrlRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_album: (
|
||||||
|
params: TopAlbumRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_artists: (
|
||||||
|
params: TopArtistsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_list: (params: TopListRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_mv: (params: TopMvRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_playlist: (
|
||||||
|
params: TopPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_playlist_highquality: (
|
||||||
|
params: TopPlaylistHighqualityRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
top_song: (params: TopSongRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
toplist: (params: ToplistRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
toplist_artist: (
|
||||||
|
params: ToplistArtistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
toplist_detail: (
|
||||||
|
params: ToplistDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_audio: (
|
||||||
|
params: UserAudioRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_cloud: (
|
||||||
|
params: UserCloudRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_cloud_del: (
|
||||||
|
params: UserCloudDelRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_cloud_detail: (
|
||||||
|
params: UserCloudDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_detail: (
|
||||||
|
params: UserDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_dj: (params: UserDjRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_event: (
|
||||||
|
params: UserEventRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_followeds: (
|
||||||
|
params: UserFollowedsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_follows: (
|
||||||
|
params: UserFollowsRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_playlist: (
|
||||||
|
params: UserPlaylistRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_record: (
|
||||||
|
params: UserRecordRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_subcount: (
|
||||||
|
params: UserSubcountRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
user_update: (
|
||||||
|
params: UserUpdateRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_category_list: (
|
||||||
|
params: VideoCategoryListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_detail: (
|
||||||
|
params: VideoDetailRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_detail_info: (
|
||||||
|
params: VideoDetailInfoRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_group: (
|
||||||
|
params: VideoGroupRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_group_list: (
|
||||||
|
params: VideoGroupListRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_sub: (
|
||||||
|
params: VideoSubRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_timeline_all: (
|
||||||
|
params: VideoTimelineAllRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_timeline_recommend: (
|
||||||
|
params: VideoTimelineRecommendRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
video_url: (
|
||||||
|
params: VideoUrlRequestConfig,
|
||||||
|
) => Promise<Response<APIBaseResponse>>
|
||||||
|
weblog: (params: WeblogRequestConfig) => Promise<Response<APIBaseResponse>>
|
||||||
|
}
|
||||||
|
|
||||||
|
declare const SDK: SDKInstance
|
||||||
|
|
||||||
|
export default SDK
|
||||||
|
1
module_types/base.d.ts
vendored
1
module_types/base.d.ts
vendored
@ -1,6 +1,7 @@
|
|||||||
export interface APIBaseResponse {
|
export interface APIBaseResponse {
|
||||||
code: number
|
code: number
|
||||||
cookie: string
|
cookie: string
|
||||||
|
[index: string]: unknown
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RequestBaseConfig {
|
export interface RequestBaseConfig {
|
||||||
|
3
module_types/cellphone_existence_check.d.ts
vendored
3
module_types/cellphone_existence_check.d.ts
vendored
@ -1,6 +1,7 @@
|
|||||||
import { RequestBaseConfig } from './base'
|
import { RequestBaseConfig } from './base'
|
||||||
|
|
||||||
export interface CaptchaExistenceCheckRequestConfig extends RequestBaseConfig {
|
export interface CellphoneExistenceCheckRequestConfig
|
||||||
|
extends RequestBaseConfig {
|
||||||
cellphone: string
|
cellphone: string
|
||||||
countrycode: string
|
countrycode: string
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"网易云音乐nodejs"
|
"网易云音乐nodejs"
|
||||||
],
|
],
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
"types": "main.d.ts",
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user