@jellyfin/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, serializeDataIfNeeded, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -28,7 +27,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
28
27
|
* @param {*} [options] Override http request option.
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
|
-
deleteLyrics:
|
|
30
|
+
deleteLyrics: async (itemId, options = {}) => {
|
|
32
31
|
// verify required parameter 'itemId' is not null or undefined
|
|
33
32
|
assertParamExists('deleteLyrics', 'itemId', itemId);
|
|
34
33
|
const localVarPath = `/Audio/{itemId}/Lyrics`
|
|
@@ -39,19 +38,19 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
39
38
|
if (configuration) {
|
|
40
39
|
baseOptions = configuration.baseOptions;
|
|
41
40
|
}
|
|
42
|
-
const localVarRequestOptions =
|
|
41
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43
42
|
const localVarHeaderParameter = {};
|
|
44
43
|
const localVarQueryParameter = {};
|
|
45
44
|
// authentication CustomAuthentication required
|
|
46
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49
|
-
localVarRequestOptions.headers =
|
|
48
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
50
49
|
return {
|
|
51
50
|
url: toPathString(localVarUrlObj),
|
|
52
51
|
options: localVarRequestOptions,
|
|
53
52
|
};
|
|
54
|
-
}
|
|
53
|
+
},
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary Downloads a remote lyric.
|
|
@@ -60,7 +59,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
downloadRemoteLyrics:
|
|
62
|
+
downloadRemoteLyrics: async (itemId, lyricId, options = {}) => {
|
|
64
63
|
// verify required parameter 'itemId' is not null or undefined
|
|
65
64
|
assertParamExists('downloadRemoteLyrics', 'itemId', itemId);
|
|
66
65
|
// verify required parameter 'lyricId' is not null or undefined
|
|
@@ -74,19 +73,19 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
74
73
|
if (configuration) {
|
|
75
74
|
baseOptions = configuration.baseOptions;
|
|
76
75
|
}
|
|
77
|
-
const localVarRequestOptions =
|
|
76
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
78
77
|
const localVarHeaderParameter = {};
|
|
79
78
|
const localVarQueryParameter = {};
|
|
80
79
|
// authentication CustomAuthentication required
|
|
81
|
-
|
|
80
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
82
81
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
82
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers =
|
|
83
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
85
84
|
return {
|
|
86
85
|
url: toPathString(localVarUrlObj),
|
|
87
86
|
options: localVarRequestOptions,
|
|
88
87
|
};
|
|
89
|
-
}
|
|
88
|
+
},
|
|
90
89
|
/**
|
|
91
90
|
*
|
|
92
91
|
* @summary Gets an item\'s lyrics.
|
|
@@ -94,7 +93,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
94
93
|
* @param {*} [options] Override http request option.
|
|
95
94
|
* @throws {RequiredError}
|
|
96
95
|
*/
|
|
97
|
-
getLyrics:
|
|
96
|
+
getLyrics: async (itemId, options = {}) => {
|
|
98
97
|
// verify required parameter 'itemId' is not null or undefined
|
|
99
98
|
assertParamExists('getLyrics', 'itemId', itemId);
|
|
100
99
|
const localVarPath = `/Audio/{itemId}/Lyrics`
|
|
@@ -105,19 +104,19 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
105
104
|
if (configuration) {
|
|
106
105
|
baseOptions = configuration.baseOptions;
|
|
107
106
|
}
|
|
108
|
-
const localVarRequestOptions =
|
|
107
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
109
108
|
const localVarHeaderParameter = {};
|
|
110
109
|
const localVarQueryParameter = {};
|
|
111
110
|
// authentication CustomAuthentication required
|
|
112
|
-
|
|
111
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
113
112
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
113
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
|
-
localVarRequestOptions.headers =
|
|
114
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
116
115
|
return {
|
|
117
116
|
url: toPathString(localVarUrlObj),
|
|
118
117
|
options: localVarRequestOptions,
|
|
119
118
|
};
|
|
120
|
-
}
|
|
119
|
+
},
|
|
121
120
|
/**
|
|
122
121
|
*
|
|
123
122
|
* @summary Gets the remote lyrics.
|
|
@@ -125,7 +124,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
125
124
|
* @param {*} [options] Override http request option.
|
|
126
125
|
* @throws {RequiredError}
|
|
127
126
|
*/
|
|
128
|
-
getRemoteLyrics:
|
|
127
|
+
getRemoteLyrics: async (lyricId, options = {}) => {
|
|
129
128
|
// verify required parameter 'lyricId' is not null or undefined
|
|
130
129
|
assertParamExists('getRemoteLyrics', 'lyricId', lyricId);
|
|
131
130
|
const localVarPath = `/Providers/Lyrics/{lyricId}`
|
|
@@ -136,19 +135,19 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
136
135
|
if (configuration) {
|
|
137
136
|
baseOptions = configuration.baseOptions;
|
|
138
137
|
}
|
|
139
|
-
const localVarRequestOptions =
|
|
138
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
140
139
|
const localVarHeaderParameter = {};
|
|
141
140
|
const localVarQueryParameter = {};
|
|
142
141
|
// authentication CustomAuthentication required
|
|
143
|
-
|
|
142
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
144
143
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
145
144
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
-
localVarRequestOptions.headers =
|
|
145
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
147
146
|
return {
|
|
148
147
|
url: toPathString(localVarUrlObj),
|
|
149
148
|
options: localVarRequestOptions,
|
|
150
149
|
};
|
|
151
|
-
}
|
|
150
|
+
},
|
|
152
151
|
/**
|
|
153
152
|
*
|
|
154
153
|
* @summary Search remote lyrics.
|
|
@@ -156,7 +155,7 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
156
155
|
* @param {*} [options] Override http request option.
|
|
157
156
|
* @throws {RequiredError}
|
|
158
157
|
*/
|
|
159
|
-
searchRemoteLyrics:
|
|
158
|
+
searchRemoteLyrics: async (itemId, options = {}) => {
|
|
160
159
|
// verify required parameter 'itemId' is not null or undefined
|
|
161
160
|
assertParamExists('searchRemoteLyrics', 'itemId', itemId);
|
|
162
161
|
const localVarPath = `/Audio/{itemId}/RemoteSearch/Lyrics`
|
|
@@ -167,29 +166,29 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
167
166
|
if (configuration) {
|
|
168
167
|
baseOptions = configuration.baseOptions;
|
|
169
168
|
}
|
|
170
|
-
const localVarRequestOptions =
|
|
169
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
171
170
|
const localVarHeaderParameter = {};
|
|
172
171
|
const localVarQueryParameter = {};
|
|
173
172
|
// authentication CustomAuthentication required
|
|
174
|
-
|
|
173
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
175
174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
|
-
localVarRequestOptions.headers =
|
|
176
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
178
177
|
return {
|
|
179
178
|
url: toPathString(localVarUrlObj),
|
|
180
179
|
options: localVarRequestOptions,
|
|
181
180
|
};
|
|
182
|
-
}
|
|
181
|
+
},
|
|
183
182
|
/**
|
|
184
183
|
*
|
|
185
184
|
* @summary Upload an external lyric file.
|
|
186
185
|
* @param {string} itemId The item the lyric belongs to.
|
|
187
186
|
* @param {string} fileName Name of the file being uploaded.
|
|
188
|
-
* @param {
|
|
187
|
+
* @param {File} [body]
|
|
189
188
|
* @param {*} [options] Override http request option.
|
|
190
189
|
* @throws {RequiredError}
|
|
191
190
|
*/
|
|
192
|
-
uploadLyrics:
|
|
191
|
+
uploadLyrics: async (itemId, fileName, body, options = {}) => {
|
|
193
192
|
// verify required parameter 'itemId' is not null or undefined
|
|
194
193
|
assertParamExists('uploadLyrics', 'itemId', itemId);
|
|
195
194
|
// verify required parameter 'fileName' is not null or undefined
|
|
@@ -202,24 +201,24 @@ const LyricsApiAxiosParamCreator = function (configuration) {
|
|
|
202
201
|
if (configuration) {
|
|
203
202
|
baseOptions = configuration.baseOptions;
|
|
204
203
|
}
|
|
205
|
-
const localVarRequestOptions =
|
|
204
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
206
205
|
const localVarHeaderParameter = {};
|
|
207
206
|
const localVarQueryParameter = {};
|
|
208
207
|
// authentication CustomAuthentication required
|
|
209
|
-
|
|
208
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
210
209
|
if (fileName !== undefined) {
|
|
211
210
|
localVarQueryParameter['fileName'] = fileName;
|
|
212
211
|
}
|
|
213
212
|
localVarHeaderParameter['Content-Type'] = 'text/plain';
|
|
214
213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
215
214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
|
-
localVarRequestOptions.headers =
|
|
215
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
217
216
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
218
217
|
return {
|
|
219
218
|
url: toPathString(localVarUrlObj),
|
|
220
219
|
options: localVarRequestOptions,
|
|
221
220
|
};
|
|
222
|
-
}
|
|
221
|
+
},
|
|
223
222
|
};
|
|
224
223
|
};
|
|
225
224
|
/**
|
|
@@ -236,11 +235,12 @@ const LyricsApiFp = function (configuration) {
|
|
|
236
235
|
* @param {*} [options] Override http request option.
|
|
237
236
|
* @throws {RequiredError}
|
|
238
237
|
*/
|
|
239
|
-
deleteLyrics(itemId, options) {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
238
|
+
async deleteLyrics(itemId, options) {
|
|
239
|
+
var _a, _b, _c;
|
|
240
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLyrics(itemId, options);
|
|
241
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
242
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.deleteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
244
244
|
},
|
|
245
245
|
/**
|
|
246
246
|
*
|
|
@@ -250,11 +250,12 @@ const LyricsApiFp = function (configuration) {
|
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
253
|
-
downloadRemoteLyrics(itemId, lyricId, options) {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
253
|
+
async downloadRemoteLyrics(itemId, lyricId, options) {
|
|
254
|
+
var _a, _b, _c;
|
|
255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadRemoteLyrics(itemId, lyricId, options);
|
|
256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
257
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.downloadRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
258
259
|
},
|
|
259
260
|
/**
|
|
260
261
|
*
|
|
@@ -263,11 +264,12 @@ const LyricsApiFp = function (configuration) {
|
|
|
263
264
|
* @param {*} [options] Override http request option.
|
|
264
265
|
* @throws {RequiredError}
|
|
265
266
|
*/
|
|
266
|
-
getLyrics(itemId, options) {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
async getLyrics(itemId, options) {
|
|
268
|
+
var _a, _b, _c;
|
|
269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLyrics(itemId, options);
|
|
270
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
271
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.getLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
271
273
|
},
|
|
272
274
|
/**
|
|
273
275
|
*
|
|
@@ -276,11 +278,12 @@ const LyricsApiFp = function (configuration) {
|
|
|
276
278
|
* @param {*} [options] Override http request option.
|
|
277
279
|
* @throws {RequiredError}
|
|
278
280
|
*/
|
|
279
|
-
getRemoteLyrics(lyricId, options) {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
async getRemoteLyrics(lyricId, options) {
|
|
282
|
+
var _a, _b, _c;
|
|
283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRemoteLyrics(lyricId, options);
|
|
284
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
285
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.getRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
286
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
284
287
|
},
|
|
285
288
|
/**
|
|
286
289
|
*
|
|
@@ -289,26 +292,28 @@ const LyricsApiFp = function (configuration) {
|
|
|
289
292
|
* @param {*} [options] Override http request option.
|
|
290
293
|
* @throws {RequiredError}
|
|
291
294
|
*/
|
|
292
|
-
searchRemoteLyrics(itemId, options) {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
295
|
+
async searchRemoteLyrics(itemId, options) {
|
|
296
|
+
var _a, _b, _c;
|
|
297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchRemoteLyrics(itemId, options);
|
|
298
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
299
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.searchRemoteLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
297
301
|
},
|
|
298
302
|
/**
|
|
299
303
|
*
|
|
300
304
|
* @summary Upload an external lyric file.
|
|
301
305
|
* @param {string} itemId The item the lyric belongs to.
|
|
302
306
|
* @param {string} fileName Name of the file being uploaded.
|
|
303
|
-
* @param {
|
|
307
|
+
* @param {File} [body]
|
|
304
308
|
* @param {*} [options] Override http request option.
|
|
305
309
|
* @throws {RequiredError}
|
|
306
310
|
*/
|
|
307
|
-
uploadLyrics(itemId, fileName, body, options) {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
311
|
+
async uploadLyrics(itemId, fileName, body, options) {
|
|
312
|
+
var _a, _b, _c;
|
|
313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadLyrics(itemId, fileName, body, options);
|
|
314
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
315
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LyricsApi.uploadLyrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
316
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
312
317
|
},
|
|
313
318
|
};
|
|
314
319
|
};
|
|
@@ -322,65 +327,62 @@ const LyricsApiFactory = function (configuration, basePath, axios) {
|
|
|
322
327
|
/**
|
|
323
328
|
*
|
|
324
329
|
* @summary Deletes an external lyric file.
|
|
325
|
-
* @param {
|
|
330
|
+
* @param {LyricsApiDeleteLyricsRequest} requestParameters Request parameters.
|
|
326
331
|
* @param {*} [options] Override http request option.
|
|
327
332
|
* @throws {RequiredError}
|
|
328
333
|
*/
|
|
329
|
-
deleteLyrics(
|
|
330
|
-
return localVarFp.deleteLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
334
|
+
deleteLyrics(requestParameters, options) {
|
|
335
|
+
return localVarFp.deleteLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
331
336
|
},
|
|
332
337
|
/**
|
|
333
338
|
*
|
|
334
339
|
* @summary Downloads a remote lyric.
|
|
335
|
-
* @param {
|
|
336
|
-
* @param {string} lyricId The lyric id.
|
|
340
|
+
* @param {LyricsApiDownloadRemoteLyricsRequest} requestParameters Request parameters.
|
|
337
341
|
* @param {*} [options] Override http request option.
|
|
338
342
|
* @throws {RequiredError}
|
|
339
343
|
*/
|
|
340
|
-
downloadRemoteLyrics(
|
|
341
|
-
return localVarFp.downloadRemoteLyrics(itemId, lyricId, options).then((request) => request(axios, basePath));
|
|
344
|
+
downloadRemoteLyrics(requestParameters, options) {
|
|
345
|
+
return localVarFp.downloadRemoteLyrics(requestParameters.itemId, requestParameters.lyricId, options).then((request) => request(axios, basePath));
|
|
342
346
|
},
|
|
343
347
|
/**
|
|
344
348
|
*
|
|
345
349
|
* @summary Gets an item\'s lyrics.
|
|
346
|
-
* @param {
|
|
350
|
+
* @param {LyricsApiGetLyricsRequest} requestParameters Request parameters.
|
|
347
351
|
* @param {*} [options] Override http request option.
|
|
348
352
|
* @throws {RequiredError}
|
|
349
353
|
*/
|
|
350
|
-
getLyrics(
|
|
351
|
-
return localVarFp.getLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
354
|
+
getLyrics(requestParameters, options) {
|
|
355
|
+
return localVarFp.getLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
352
356
|
},
|
|
353
357
|
/**
|
|
354
358
|
*
|
|
355
359
|
* @summary Gets the remote lyrics.
|
|
356
|
-
* @param {
|
|
360
|
+
* @param {LyricsApiGetRemoteLyricsRequest} requestParameters Request parameters.
|
|
357
361
|
* @param {*} [options] Override http request option.
|
|
358
362
|
* @throws {RequiredError}
|
|
359
363
|
*/
|
|
360
|
-
getRemoteLyrics(
|
|
361
|
-
return localVarFp.getRemoteLyrics(lyricId, options).then((request) => request(axios, basePath));
|
|
364
|
+
getRemoteLyrics(requestParameters, options) {
|
|
365
|
+
return localVarFp.getRemoteLyrics(requestParameters.lyricId, options).then((request) => request(axios, basePath));
|
|
362
366
|
},
|
|
363
367
|
/**
|
|
364
368
|
*
|
|
365
369
|
* @summary Search remote lyrics.
|
|
366
|
-
* @param {
|
|
370
|
+
* @param {LyricsApiSearchRemoteLyricsRequest} requestParameters Request parameters.
|
|
367
371
|
* @param {*} [options] Override http request option.
|
|
368
372
|
* @throws {RequiredError}
|
|
369
373
|
*/
|
|
370
|
-
searchRemoteLyrics(
|
|
371
|
-
return localVarFp.searchRemoteLyrics(itemId, options).then((request) => request(axios, basePath));
|
|
374
|
+
searchRemoteLyrics(requestParameters, options) {
|
|
375
|
+
return localVarFp.searchRemoteLyrics(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
372
376
|
},
|
|
373
377
|
/**
|
|
374
378
|
*
|
|
375
379
|
* @summary Upload an external lyric file.
|
|
376
|
-
* @param {
|
|
377
|
-
* @param {string} fileName Name of the file being uploaded.
|
|
378
|
-
* @param {any} [body]
|
|
380
|
+
* @param {LyricsApiUploadLyricsRequest} requestParameters Request parameters.
|
|
379
381
|
* @param {*} [options] Override http request option.
|
|
380
382
|
* @throws {RequiredError}
|
|
381
383
|
*/
|
|
382
|
-
uploadLyrics(
|
|
383
|
-
return localVarFp.uploadLyrics(itemId, fileName, body, options).then((request) => request(axios, basePath));
|
|
384
|
+
uploadLyrics(requestParameters, options) {
|
|
385
|
+
return localVarFp.uploadLyrics(requestParameters.itemId, requestParameters.fileName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
384
386
|
},
|
|
385
387
|
};
|
|
386
388
|
};
|