@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, 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 */
|
|
@@ -35,7 +34,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
* @param {*} [options] Override http request option.
|
|
36
35
|
* @throws {RequiredError}
|
|
37
36
|
*/
|
|
38
|
-
getInstantMixFromAlbum:
|
|
37
|
+
getInstantMixFromAlbum: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
39
38
|
// verify required parameter 'itemId' is not null or undefined
|
|
40
39
|
assertParamExists('getInstantMixFromAlbum', 'itemId', itemId);
|
|
41
40
|
const localVarPath = `/Albums/{itemId}/InstantMix`
|
|
@@ -46,11 +45,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
46
45
|
if (configuration) {
|
|
47
46
|
baseOptions = configuration.baseOptions;
|
|
48
47
|
}
|
|
49
|
-
const localVarRequestOptions =
|
|
48
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
50
49
|
const localVarHeaderParameter = {};
|
|
51
50
|
const localVarQueryParameter = {};
|
|
52
51
|
// authentication CustomAuthentication required
|
|
53
|
-
|
|
52
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
54
53
|
if (userId !== undefined) {
|
|
55
54
|
localVarQueryParameter['userId'] = userId;
|
|
56
55
|
}
|
|
@@ -74,12 +73,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
74
73
|
}
|
|
75
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
-
localVarRequestOptions.headers =
|
|
76
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
78
77
|
return {
|
|
79
78
|
url: toPathString(localVarUrlObj),
|
|
80
79
|
options: localVarRequestOptions,
|
|
81
80
|
};
|
|
82
|
-
}
|
|
81
|
+
},
|
|
83
82
|
/**
|
|
84
83
|
*
|
|
85
84
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -94,7 +93,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
94
93
|
* @param {*} [options] Override http request option.
|
|
95
94
|
* @throws {RequiredError}
|
|
96
95
|
*/
|
|
97
|
-
getInstantMixFromArtists:
|
|
96
|
+
getInstantMixFromArtists: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
98
97
|
// verify required parameter 'itemId' is not null or undefined
|
|
99
98
|
assertParamExists('getInstantMixFromArtists', 'itemId', itemId);
|
|
100
99
|
const localVarPath = `/Artists/{itemId}/InstantMix`
|
|
@@ -105,11 +104,11 @@ const InstantMixApiAxiosParamCreator = 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
|
if (userId !== undefined) {
|
|
114
113
|
localVarQueryParameter['userId'] = userId;
|
|
115
114
|
}
|
|
@@ -133,12 +132,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
133
132
|
}
|
|
134
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
-
localVarRequestOptions.headers =
|
|
135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
137
136
|
return {
|
|
138
137
|
url: toPathString(localVarUrlObj),
|
|
139
138
|
options: localVarRequestOptions,
|
|
140
139
|
};
|
|
141
|
-
}
|
|
140
|
+
},
|
|
142
141
|
/**
|
|
143
142
|
*
|
|
144
143
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -154,7 +153,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
154
153
|
* @deprecated
|
|
155
154
|
* @throws {RequiredError}
|
|
156
155
|
*/
|
|
157
|
-
getInstantMixFromArtists2:
|
|
156
|
+
getInstantMixFromArtists2: async (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
158
157
|
// verify required parameter 'id' is not null or undefined
|
|
159
158
|
assertParamExists('getInstantMixFromArtists2', 'id', id);
|
|
160
159
|
const localVarPath = `/Artists/InstantMix`;
|
|
@@ -164,11 +163,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
164
163
|
if (configuration) {
|
|
165
164
|
baseOptions = configuration.baseOptions;
|
|
166
165
|
}
|
|
167
|
-
const localVarRequestOptions =
|
|
166
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
168
167
|
const localVarHeaderParameter = {};
|
|
169
168
|
const localVarQueryParameter = {};
|
|
170
169
|
// authentication CustomAuthentication required
|
|
171
|
-
|
|
170
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
172
171
|
if (id !== undefined) {
|
|
173
172
|
localVarQueryParameter['id'] = id;
|
|
174
173
|
}
|
|
@@ -195,12 +194,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
195
194
|
}
|
|
196
195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
-
localVarRequestOptions.headers =
|
|
197
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
199
198
|
return {
|
|
200
199
|
url: toPathString(localVarUrlObj),
|
|
201
200
|
options: localVarRequestOptions,
|
|
202
201
|
};
|
|
203
|
-
}
|
|
202
|
+
},
|
|
204
203
|
/**
|
|
205
204
|
*
|
|
206
205
|
* @summary Creates an instant playlist based on a given item.
|
|
@@ -215,7 +214,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
215
214
|
* @param {*} [options] Override http request option.
|
|
216
215
|
* @throws {RequiredError}
|
|
217
216
|
*/
|
|
218
|
-
getInstantMixFromItem:
|
|
217
|
+
getInstantMixFromItem: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
219
218
|
// verify required parameter 'itemId' is not null or undefined
|
|
220
219
|
assertParamExists('getInstantMixFromItem', 'itemId', itemId);
|
|
221
220
|
const localVarPath = `/Items/{itemId}/InstantMix`
|
|
@@ -226,11 +225,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
226
225
|
if (configuration) {
|
|
227
226
|
baseOptions = configuration.baseOptions;
|
|
228
227
|
}
|
|
229
|
-
const localVarRequestOptions =
|
|
228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
230
229
|
const localVarHeaderParameter = {};
|
|
231
230
|
const localVarQueryParameter = {};
|
|
232
231
|
// authentication CustomAuthentication required
|
|
233
|
-
|
|
232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
234
233
|
if (userId !== undefined) {
|
|
235
234
|
localVarQueryParameter['userId'] = userId;
|
|
236
235
|
}
|
|
@@ -254,12 +253,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
254
253
|
}
|
|
255
254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
-
localVarRequestOptions.headers =
|
|
256
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
258
257
|
return {
|
|
259
258
|
url: toPathString(localVarUrlObj),
|
|
260
259
|
options: localVarRequestOptions,
|
|
261
260
|
};
|
|
262
|
-
}
|
|
261
|
+
},
|
|
263
262
|
/**
|
|
264
263
|
*
|
|
265
264
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -274,7 +273,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
274
273
|
* @param {*} [options] Override http request option.
|
|
275
274
|
* @throws {RequiredError}
|
|
276
275
|
*/
|
|
277
|
-
getInstantMixFromMusicGenreById:
|
|
276
|
+
getInstantMixFromMusicGenreById: async (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
278
277
|
// verify required parameter 'id' is not null or undefined
|
|
279
278
|
assertParamExists('getInstantMixFromMusicGenreById', 'id', id);
|
|
280
279
|
const localVarPath = `/MusicGenres/InstantMix`;
|
|
@@ -284,11 +283,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
284
283
|
if (configuration) {
|
|
285
284
|
baseOptions = configuration.baseOptions;
|
|
286
285
|
}
|
|
287
|
-
const localVarRequestOptions =
|
|
286
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
288
287
|
const localVarHeaderParameter = {};
|
|
289
288
|
const localVarQueryParameter = {};
|
|
290
289
|
// authentication CustomAuthentication required
|
|
291
|
-
|
|
290
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
292
291
|
if (id !== undefined) {
|
|
293
292
|
localVarQueryParameter['id'] = id;
|
|
294
293
|
}
|
|
@@ -315,12 +314,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
315
314
|
}
|
|
316
315
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
317
316
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
318
|
-
localVarRequestOptions.headers =
|
|
317
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
319
318
|
return {
|
|
320
319
|
url: toPathString(localVarUrlObj),
|
|
321
320
|
options: localVarRequestOptions,
|
|
322
321
|
};
|
|
323
|
-
}
|
|
322
|
+
},
|
|
324
323
|
/**
|
|
325
324
|
*
|
|
326
325
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -335,7 +334,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
335
334
|
* @param {*} [options] Override http request option.
|
|
336
335
|
* @throws {RequiredError}
|
|
337
336
|
*/
|
|
338
|
-
getInstantMixFromMusicGenreByName:
|
|
337
|
+
getInstantMixFromMusicGenreByName: async (name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
339
338
|
// verify required parameter 'name' is not null or undefined
|
|
340
339
|
assertParamExists('getInstantMixFromMusicGenreByName', 'name', name);
|
|
341
340
|
const localVarPath = `/MusicGenres/{name}/InstantMix`
|
|
@@ -346,11 +345,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
346
345
|
if (configuration) {
|
|
347
346
|
baseOptions = configuration.baseOptions;
|
|
348
347
|
}
|
|
349
|
-
const localVarRequestOptions =
|
|
348
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
350
349
|
const localVarHeaderParameter = {};
|
|
351
350
|
const localVarQueryParameter = {};
|
|
352
351
|
// authentication CustomAuthentication required
|
|
353
|
-
|
|
352
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
354
353
|
if (userId !== undefined) {
|
|
355
354
|
localVarQueryParameter['userId'] = userId;
|
|
356
355
|
}
|
|
@@ -374,12 +373,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
374
373
|
}
|
|
375
374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
376
375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
377
|
-
localVarRequestOptions.headers =
|
|
376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
378
377
|
return {
|
|
379
378
|
url: toPathString(localVarUrlObj),
|
|
380
379
|
options: localVarRequestOptions,
|
|
381
380
|
};
|
|
382
|
-
}
|
|
381
|
+
},
|
|
383
382
|
/**
|
|
384
383
|
*
|
|
385
384
|
* @summary Creates an instant playlist based on a given playlist.
|
|
@@ -394,7 +393,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
394
393
|
* @param {*} [options] Override http request option.
|
|
395
394
|
* @throws {RequiredError}
|
|
396
395
|
*/
|
|
397
|
-
getInstantMixFromPlaylist:
|
|
396
|
+
getInstantMixFromPlaylist: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
398
397
|
// verify required parameter 'itemId' is not null or undefined
|
|
399
398
|
assertParamExists('getInstantMixFromPlaylist', 'itemId', itemId);
|
|
400
399
|
const localVarPath = `/Playlists/{itemId}/InstantMix`
|
|
@@ -405,11 +404,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
405
404
|
if (configuration) {
|
|
406
405
|
baseOptions = configuration.baseOptions;
|
|
407
406
|
}
|
|
408
|
-
const localVarRequestOptions =
|
|
407
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
409
408
|
const localVarHeaderParameter = {};
|
|
410
409
|
const localVarQueryParameter = {};
|
|
411
410
|
// authentication CustomAuthentication required
|
|
412
|
-
|
|
411
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
413
412
|
if (userId !== undefined) {
|
|
414
413
|
localVarQueryParameter['userId'] = userId;
|
|
415
414
|
}
|
|
@@ -433,12 +432,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
433
432
|
}
|
|
434
433
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
434
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
|
-
localVarRequestOptions.headers =
|
|
435
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
437
436
|
return {
|
|
438
437
|
url: toPathString(localVarUrlObj),
|
|
439
438
|
options: localVarRequestOptions,
|
|
440
439
|
};
|
|
441
|
-
}
|
|
440
|
+
},
|
|
442
441
|
/**
|
|
443
442
|
*
|
|
444
443
|
* @summary Creates an instant playlist based on a given song.
|
|
@@ -453,7 +452,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
453
452
|
* @param {*} [options] Override http request option.
|
|
454
453
|
* @throws {RequiredError}
|
|
455
454
|
*/
|
|
456
|
-
getInstantMixFromSong:
|
|
455
|
+
getInstantMixFromSong: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
457
456
|
// verify required parameter 'itemId' is not null or undefined
|
|
458
457
|
assertParamExists('getInstantMixFromSong', 'itemId', itemId);
|
|
459
458
|
const localVarPath = `/Songs/{itemId}/InstantMix`
|
|
@@ -464,11 +463,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
464
463
|
if (configuration) {
|
|
465
464
|
baseOptions = configuration.baseOptions;
|
|
466
465
|
}
|
|
467
|
-
const localVarRequestOptions =
|
|
466
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
468
467
|
const localVarHeaderParameter = {};
|
|
469
468
|
const localVarQueryParameter = {};
|
|
470
469
|
// authentication CustomAuthentication required
|
|
471
|
-
|
|
470
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
472
471
|
if (userId !== undefined) {
|
|
473
472
|
localVarQueryParameter['userId'] = userId;
|
|
474
473
|
}
|
|
@@ -492,12 +491,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
492
491
|
}
|
|
493
492
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
494
493
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
495
|
-
localVarRequestOptions.headers =
|
|
494
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
496
495
|
return {
|
|
497
496
|
url: toPathString(localVarUrlObj),
|
|
498
497
|
options: localVarRequestOptions,
|
|
499
498
|
};
|
|
500
|
-
}
|
|
499
|
+
},
|
|
501
500
|
};
|
|
502
501
|
};
|
|
503
502
|
/**
|
|
@@ -521,11 +520,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
521
520
|
* @param {*} [options] Override http request option.
|
|
522
521
|
* @throws {RequiredError}
|
|
523
522
|
*/
|
|
524
|
-
getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
523
|
+
async getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
524
|
+
var _a, _b, _c;
|
|
525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
526
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
527
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromAlbum']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
529
|
},
|
|
530
530
|
/**
|
|
531
531
|
*
|
|
@@ -541,11 +541,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
541
541
|
* @param {*} [options] Override http request option.
|
|
542
542
|
* @throws {RequiredError}
|
|
543
543
|
*/
|
|
544
|
-
getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
544
|
+
async getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
545
|
+
var _a, _b, _c;
|
|
546
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
547
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
548
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromArtists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
549
550
|
},
|
|
550
551
|
/**
|
|
551
552
|
*
|
|
@@ -562,11 +563,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
562
563
|
* @deprecated
|
|
563
564
|
* @throws {RequiredError}
|
|
564
565
|
*/
|
|
565
|
-
getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
566
|
+
async getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
567
|
+
var _a, _b, _c;
|
|
568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
569
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
570
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromArtists2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
570
572
|
},
|
|
571
573
|
/**
|
|
572
574
|
*
|
|
@@ -582,11 +584,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
582
584
|
* @param {*} [options] Override http request option.
|
|
583
585
|
* @throws {RequiredError}
|
|
584
586
|
*/
|
|
585
|
-
getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
587
|
+
async getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
588
|
+
var _a, _b, _c;
|
|
589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
590
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
591
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
592
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
590
593
|
},
|
|
591
594
|
/**
|
|
592
595
|
*
|
|
@@ -602,11 +605,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
602
605
|
* @param {*} [options] Override http request option.
|
|
603
606
|
* @throws {RequiredError}
|
|
604
607
|
*/
|
|
605
|
-
getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
608
|
+
async getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
609
|
+
var _a, _b, _c;
|
|
610
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
611
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
612
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromMusicGenreById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
613
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
610
614
|
},
|
|
611
615
|
/**
|
|
612
616
|
*
|
|
@@ -622,11 +626,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
622
626
|
* @param {*} [options] Override http request option.
|
|
623
627
|
* @throws {RequiredError}
|
|
624
628
|
*/
|
|
625
|
-
getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
629
|
+
async getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
630
|
+
var _a, _b, _c;
|
|
631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
632
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
633
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromMusicGenreByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
634
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
630
635
|
},
|
|
631
636
|
/**
|
|
632
637
|
*
|
|
@@ -642,11 +647,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
642
647
|
* @param {*} [options] Override http request option.
|
|
643
648
|
* @throws {RequiredError}
|
|
644
649
|
*/
|
|
645
|
-
getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
+
async getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
651
|
+
var _a, _b, _c;
|
|
652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
653
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
654
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
650
656
|
},
|
|
651
657
|
/**
|
|
652
658
|
*
|
|
@@ -662,11 +668,12 @@ const InstantMixApiFp = function (configuration) {
|
|
|
662
668
|
* @param {*} [options] Override http request option.
|
|
663
669
|
* @throws {RequiredError}
|
|
664
670
|
*/
|
|
665
|
-
getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
671
|
+
async getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
672
|
+
var _a, _b, _c;
|
|
673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
675
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['InstantMixApi.getInstantMixFromSong']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
670
677
|
},
|
|
671
678
|
};
|
|
672
679
|
};
|
|
@@ -680,139 +687,83 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
680
687
|
/**
|
|
681
688
|
*
|
|
682
689
|
* @summary Creates an instant playlist based on a given album.
|
|
683
|
-
* @param {
|
|
684
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
685
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
686
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
687
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
688
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
689
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
690
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
690
|
+
* @param {InstantMixApiGetInstantMixFromAlbumRequest} requestParameters Request parameters.
|
|
691
691
|
* @param {*} [options] Override http request option.
|
|
692
692
|
* @throws {RequiredError}
|
|
693
693
|
*/
|
|
694
|
-
getInstantMixFromAlbum(
|
|
695
|
-
return localVarFp.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
694
|
+
getInstantMixFromAlbum(requestParameters, options) {
|
|
695
|
+
return localVarFp.getInstantMixFromAlbum(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
696
696
|
},
|
|
697
697
|
/**
|
|
698
698
|
*
|
|
699
699
|
* @summary Creates an instant playlist based on a given artist.
|
|
700
|
-
* @param {
|
|
701
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
702
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
703
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
704
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
705
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
706
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
707
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
700
|
+
* @param {InstantMixApiGetInstantMixFromArtistsRequest} requestParameters Request parameters.
|
|
708
701
|
* @param {*} [options] Override http request option.
|
|
709
702
|
* @throws {RequiredError}
|
|
710
703
|
*/
|
|
711
|
-
getInstantMixFromArtists(
|
|
712
|
-
return localVarFp.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
704
|
+
getInstantMixFromArtists(requestParameters, options) {
|
|
705
|
+
return localVarFp.getInstantMixFromArtists(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
713
706
|
},
|
|
714
707
|
/**
|
|
715
708
|
*
|
|
716
709
|
* @summary Creates an instant playlist based on a given artist.
|
|
717
|
-
* @param {
|
|
718
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
719
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
720
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
721
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
722
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
723
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
724
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
710
|
+
* @param {InstantMixApiGetInstantMixFromArtists2Request} requestParameters Request parameters.
|
|
725
711
|
* @param {*} [options] Override http request option.
|
|
726
712
|
* @deprecated
|
|
727
713
|
* @throws {RequiredError}
|
|
728
714
|
*/
|
|
729
|
-
getInstantMixFromArtists2(
|
|
730
|
-
return localVarFp.getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
715
|
+
getInstantMixFromArtists2(requestParameters, options) {
|
|
716
|
+
return localVarFp.getInstantMixFromArtists2(requestParameters.id, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
731
717
|
},
|
|
732
718
|
/**
|
|
733
719
|
*
|
|
734
720
|
* @summary Creates an instant playlist based on a given item.
|
|
735
|
-
* @param {
|
|
736
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
737
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
738
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
739
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
740
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
741
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
742
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
721
|
+
* @param {InstantMixApiGetInstantMixFromItemRequest} requestParameters Request parameters.
|
|
743
722
|
* @param {*} [options] Override http request option.
|
|
744
723
|
* @throws {RequiredError}
|
|
745
724
|
*/
|
|
746
|
-
getInstantMixFromItem(
|
|
747
|
-
return localVarFp.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
725
|
+
getInstantMixFromItem(requestParameters, options) {
|
|
726
|
+
return localVarFp.getInstantMixFromItem(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
748
727
|
},
|
|
749
728
|
/**
|
|
750
729
|
*
|
|
751
730
|
* @summary Creates an instant playlist based on a given genre.
|
|
752
|
-
* @param {
|
|
753
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
754
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
755
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
756
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
757
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
758
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
759
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
731
|
+
* @param {InstantMixApiGetInstantMixFromMusicGenreByIdRequest} requestParameters Request parameters.
|
|
760
732
|
* @param {*} [options] Override http request option.
|
|
761
733
|
* @throws {RequiredError}
|
|
762
734
|
*/
|
|
763
|
-
getInstantMixFromMusicGenreById(
|
|
764
|
-
return localVarFp.getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
735
|
+
getInstantMixFromMusicGenreById(requestParameters, options) {
|
|
736
|
+
return localVarFp.getInstantMixFromMusicGenreById(requestParameters.id, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
765
737
|
},
|
|
766
738
|
/**
|
|
767
739
|
*
|
|
768
740
|
* @summary Creates an instant playlist based on a given genre.
|
|
769
|
-
* @param {
|
|
770
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
771
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
772
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
773
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
774
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
775
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
776
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
741
|
+
* @param {InstantMixApiGetInstantMixFromMusicGenreByNameRequest} requestParameters Request parameters.
|
|
777
742
|
* @param {*} [options] Override http request option.
|
|
778
743
|
* @throws {RequiredError}
|
|
779
744
|
*/
|
|
780
|
-
getInstantMixFromMusicGenreByName(
|
|
781
|
-
return localVarFp.getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
745
|
+
getInstantMixFromMusicGenreByName(requestParameters, options) {
|
|
746
|
+
return localVarFp.getInstantMixFromMusicGenreByName(requestParameters.name, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
782
747
|
},
|
|
783
748
|
/**
|
|
784
749
|
*
|
|
785
750
|
* @summary Creates an instant playlist based on a given playlist.
|
|
786
|
-
* @param {
|
|
787
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
788
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
789
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
790
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
791
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
792
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
793
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
751
|
+
* @param {InstantMixApiGetInstantMixFromPlaylistRequest} requestParameters Request parameters.
|
|
794
752
|
* @param {*} [options] Override http request option.
|
|
795
753
|
* @throws {RequiredError}
|
|
796
754
|
*/
|
|
797
|
-
getInstantMixFromPlaylist(
|
|
798
|
-
return localVarFp.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
755
|
+
getInstantMixFromPlaylist(requestParameters, options) {
|
|
756
|
+
return localVarFp.getInstantMixFromPlaylist(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
799
757
|
},
|
|
800
758
|
/**
|
|
801
759
|
*
|
|
802
760
|
* @summary Creates an instant playlist based on a given song.
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
805
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
806
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
807
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
808
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
809
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
810
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
761
|
+
* @param {InstantMixApiGetInstantMixFromSongRequest} requestParameters Request parameters.
|
|
811
762
|
* @param {*} [options] Override http request option.
|
|
812
763
|
* @throws {RequiredError}
|
|
813
764
|
*/
|
|
814
|
-
getInstantMixFromSong(
|
|
815
|
-
return localVarFp.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
765
|
+
getInstantMixFromSong(requestParameters, options) {
|
|
766
|
+
return localVarFp.getInstantMixFromSong(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(axios, basePath));
|
|
816
767
|
},
|
|
817
768
|
};
|
|
818
769
|
};
|