@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 { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, 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 */
|
|
@@ -27,7 +26,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
deleteCustomSplashscreen:
|
|
29
|
+
deleteCustomSplashscreen: async (options = {}) => {
|
|
31
30
|
const localVarPath = `/Branding/Splashscreen`;
|
|
32
31
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33
32
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35,19 +34,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
if (configuration) {
|
|
36
35
|
baseOptions = configuration.baseOptions;
|
|
37
36
|
}
|
|
38
|
-
const localVarRequestOptions =
|
|
37
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
39
38
|
const localVarHeaderParameter = {};
|
|
40
39
|
const localVarQueryParameter = {};
|
|
41
40
|
// authentication CustomAuthentication required
|
|
42
|
-
|
|
41
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
43
42
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44
43
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45
|
-
localVarRequestOptions.headers =
|
|
44
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
46
45
|
return {
|
|
47
46
|
url: toPathString(localVarUrlObj),
|
|
48
47
|
options: localVarRequestOptions,
|
|
49
48
|
};
|
|
50
|
-
}
|
|
49
|
+
},
|
|
51
50
|
/**
|
|
52
51
|
*
|
|
53
52
|
* @summary Delete an item\'s image.
|
|
@@ -57,7 +56,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
57
56
|
* @param {*} [options] Override http request option.
|
|
58
57
|
* @throws {RequiredError}
|
|
59
58
|
*/
|
|
60
|
-
deleteItemImage:
|
|
59
|
+
deleteItemImage: async (itemId, imageType, imageIndex, options = {}) => {
|
|
61
60
|
// verify required parameter 'itemId' is not null or undefined
|
|
62
61
|
assertParamExists('deleteItemImage', 'itemId', itemId);
|
|
63
62
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -71,22 +70,22 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
71
70
|
if (configuration) {
|
|
72
71
|
baseOptions = configuration.baseOptions;
|
|
73
72
|
}
|
|
74
|
-
const localVarRequestOptions =
|
|
73
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
75
74
|
const localVarHeaderParameter = {};
|
|
76
75
|
const localVarQueryParameter = {};
|
|
77
76
|
// authentication CustomAuthentication required
|
|
78
|
-
|
|
77
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
79
78
|
if (imageIndex !== undefined) {
|
|
80
79
|
localVarQueryParameter['imageIndex'] = imageIndex;
|
|
81
80
|
}
|
|
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 Delete an item\'s image.
|
|
@@ -96,7 +95,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
96
95
|
* @param {*} [options] Override http request option.
|
|
97
96
|
* @throws {RequiredError}
|
|
98
97
|
*/
|
|
99
|
-
deleteItemImageByIndex:
|
|
98
|
+
deleteItemImageByIndex: async (itemId, imageType, imageIndex, options = {}) => {
|
|
100
99
|
// verify required parameter 'itemId' is not null or undefined
|
|
101
100
|
assertParamExists('deleteItemImageByIndex', 'itemId', itemId);
|
|
102
101
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -113,19 +112,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
113
112
|
if (configuration) {
|
|
114
113
|
baseOptions = configuration.baseOptions;
|
|
115
114
|
}
|
|
116
|
-
const localVarRequestOptions =
|
|
115
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
117
116
|
const localVarHeaderParameter = {};
|
|
118
117
|
const localVarQueryParameter = {};
|
|
119
118
|
// authentication CustomAuthentication required
|
|
120
|
-
|
|
119
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
121
120
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
122
121
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123
|
-
localVarRequestOptions.headers =
|
|
122
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
124
123
|
return {
|
|
125
124
|
url: toPathString(localVarUrlObj),
|
|
126
125
|
options: localVarRequestOptions,
|
|
127
126
|
};
|
|
128
|
-
}
|
|
127
|
+
},
|
|
129
128
|
/**
|
|
130
129
|
*
|
|
131
130
|
* @summary Delete the user\'s image.
|
|
@@ -133,7 +132,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
133
132
|
* @param {*} [options] Override http request option.
|
|
134
133
|
* @throws {RequiredError}
|
|
135
134
|
*/
|
|
136
|
-
deleteUserImage:
|
|
135
|
+
deleteUserImage: async (userId, options = {}) => {
|
|
137
136
|
const localVarPath = `/UserImage`;
|
|
138
137
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
139
138
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -141,22 +140,22 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
141
140
|
if (configuration) {
|
|
142
141
|
baseOptions = configuration.baseOptions;
|
|
143
142
|
}
|
|
144
|
-
const localVarRequestOptions =
|
|
143
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
145
144
|
const localVarHeaderParameter = {};
|
|
146
145
|
const localVarQueryParameter = {};
|
|
147
146
|
// authentication CustomAuthentication required
|
|
148
|
-
|
|
147
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
149
148
|
if (userId !== undefined) {
|
|
150
149
|
localVarQueryParameter['userId'] = userId;
|
|
151
150
|
}
|
|
152
151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
-
localVarRequestOptions.headers =
|
|
153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
155
154
|
return {
|
|
156
155
|
url: toPathString(localVarUrlObj),
|
|
157
156
|
options: localVarRequestOptions,
|
|
158
157
|
};
|
|
159
|
-
}
|
|
158
|
+
},
|
|
160
159
|
/**
|
|
161
160
|
*
|
|
162
161
|
* @summary Get artist image by name.
|
|
@@ -180,7 +179,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
180
179
|
* @param {*} [options] Override http request option.
|
|
181
180
|
* @throws {RequiredError}
|
|
182
181
|
*/
|
|
183
|
-
getArtistImage:
|
|
182
|
+
getArtistImage: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
184
183
|
// verify required parameter 'name' is not null or undefined
|
|
185
184
|
assertParamExists('getArtistImage', 'name', name);
|
|
186
185
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -197,7 +196,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
197
196
|
if (configuration) {
|
|
198
197
|
baseOptions = configuration.baseOptions;
|
|
199
198
|
}
|
|
200
|
-
const localVarRequestOptions =
|
|
199
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
201
200
|
const localVarHeaderParameter = {};
|
|
202
201
|
const localVarQueryParameter = {};
|
|
203
202
|
if (tag !== undefined) {
|
|
@@ -244,12 +243,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
244
243
|
}
|
|
245
244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
-
localVarRequestOptions.headers =
|
|
246
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
248
247
|
return {
|
|
249
248
|
url: toPathString(localVarUrlObj),
|
|
250
249
|
options: localVarRequestOptions,
|
|
251
250
|
};
|
|
252
|
-
}
|
|
251
|
+
},
|
|
253
252
|
/**
|
|
254
253
|
*
|
|
255
254
|
* @summary Get genre image by name.
|
|
@@ -273,7 +272,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
273
272
|
* @param {*} [options] Override http request option.
|
|
274
273
|
* @throws {RequiredError}
|
|
275
274
|
*/
|
|
276
|
-
getGenreImage:
|
|
275
|
+
getGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
277
276
|
// verify required parameter 'name' is not null or undefined
|
|
278
277
|
assertParamExists('getGenreImage', 'name', name);
|
|
279
278
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -287,7 +286,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
287
286
|
if (configuration) {
|
|
288
287
|
baseOptions = configuration.baseOptions;
|
|
289
288
|
}
|
|
290
|
-
const localVarRequestOptions =
|
|
289
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
291
290
|
const localVarHeaderParameter = {};
|
|
292
291
|
const localVarQueryParameter = {};
|
|
293
292
|
if (tag !== undefined) {
|
|
@@ -337,12 +336,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
337
336
|
}
|
|
338
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
339
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
|
-
localVarRequestOptions.headers =
|
|
339
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
341
340
|
return {
|
|
342
341
|
url: toPathString(localVarUrlObj),
|
|
343
342
|
options: localVarRequestOptions,
|
|
344
343
|
};
|
|
345
|
-
}
|
|
344
|
+
},
|
|
346
345
|
/**
|
|
347
346
|
*
|
|
348
347
|
* @summary Get genre image by name.
|
|
@@ -366,7 +365,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
366
365
|
* @param {*} [options] Override http request option.
|
|
367
366
|
* @throws {RequiredError}
|
|
368
367
|
*/
|
|
369
|
-
getGenreImageByIndex:
|
|
368
|
+
getGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
370
369
|
// verify required parameter 'name' is not null or undefined
|
|
371
370
|
assertParamExists('getGenreImageByIndex', 'name', name);
|
|
372
371
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -383,7 +382,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
383
382
|
if (configuration) {
|
|
384
383
|
baseOptions = configuration.baseOptions;
|
|
385
384
|
}
|
|
386
|
-
const localVarRequestOptions =
|
|
385
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
387
386
|
const localVarHeaderParameter = {};
|
|
388
387
|
const localVarQueryParameter = {};
|
|
389
388
|
if (tag !== undefined) {
|
|
@@ -430,12 +429,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
430
429
|
}
|
|
431
430
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
431
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
-
localVarRequestOptions.headers =
|
|
432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
434
433
|
return {
|
|
435
434
|
url: toPathString(localVarUrlObj),
|
|
436
435
|
options: localVarRequestOptions,
|
|
437
436
|
};
|
|
438
|
-
}
|
|
437
|
+
},
|
|
439
438
|
/**
|
|
440
439
|
*
|
|
441
440
|
* @summary Gets the item\'s image.
|
|
@@ -459,7 +458,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
459
458
|
* @param {*} [options] Override http request option.
|
|
460
459
|
* @throws {RequiredError}
|
|
461
460
|
*/
|
|
462
|
-
getItemImage:
|
|
461
|
+
getItemImage: async (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
463
462
|
// verify required parameter 'itemId' is not null or undefined
|
|
464
463
|
assertParamExists('getItemImage', 'itemId', itemId);
|
|
465
464
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -473,7 +472,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
473
472
|
if (configuration) {
|
|
474
473
|
baseOptions = configuration.baseOptions;
|
|
475
474
|
}
|
|
476
|
-
const localVarRequestOptions =
|
|
475
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
477
476
|
const localVarHeaderParameter = {};
|
|
478
477
|
const localVarQueryParameter = {};
|
|
479
478
|
if (maxWidth !== undefined) {
|
|
@@ -523,12 +522,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
523
522
|
}
|
|
524
523
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
525
524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
526
|
-
localVarRequestOptions.headers =
|
|
525
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
527
526
|
return {
|
|
528
527
|
url: toPathString(localVarUrlObj),
|
|
529
528
|
options: localVarRequestOptions,
|
|
530
529
|
};
|
|
531
|
-
}
|
|
530
|
+
},
|
|
532
531
|
/**
|
|
533
532
|
*
|
|
534
533
|
* @summary Gets the item\'s image.
|
|
@@ -552,7 +551,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
552
551
|
* @param {*} [options] Override http request option.
|
|
553
552
|
* @throws {RequiredError}
|
|
554
553
|
*/
|
|
555
|
-
getItemImage2:
|
|
554
|
+
getItemImage2: async (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
556
555
|
// verify required parameter 'itemId' is not null or undefined
|
|
557
556
|
assertParamExists('getItemImage2', 'itemId', itemId);
|
|
558
557
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -587,7 +586,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
587
586
|
if (configuration) {
|
|
588
587
|
baseOptions = configuration.baseOptions;
|
|
589
588
|
}
|
|
590
|
-
const localVarRequestOptions =
|
|
589
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
591
590
|
const localVarHeaderParameter = {};
|
|
592
591
|
const localVarQueryParameter = {};
|
|
593
592
|
if (width !== undefined) {
|
|
@@ -616,12 +615,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
616
615
|
}
|
|
617
616
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
618
617
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
619
|
-
localVarRequestOptions.headers =
|
|
618
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
620
619
|
return {
|
|
621
620
|
url: toPathString(localVarUrlObj),
|
|
622
621
|
options: localVarRequestOptions,
|
|
623
622
|
};
|
|
624
|
-
}
|
|
623
|
+
},
|
|
625
624
|
/**
|
|
626
625
|
*
|
|
627
626
|
* @summary Gets the item\'s image.
|
|
@@ -645,7 +644,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
645
644
|
* @param {*} [options] Override http request option.
|
|
646
645
|
* @throws {RequiredError}
|
|
647
646
|
*/
|
|
648
|
-
getItemImageByIndex:
|
|
647
|
+
getItemImageByIndex: async (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
649
648
|
// verify required parameter 'itemId' is not null or undefined
|
|
650
649
|
assertParamExists('getItemImageByIndex', 'itemId', itemId);
|
|
651
650
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -662,7 +661,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
662
661
|
if (configuration) {
|
|
663
662
|
baseOptions = configuration.baseOptions;
|
|
664
663
|
}
|
|
665
|
-
const localVarRequestOptions =
|
|
664
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
666
665
|
const localVarHeaderParameter = {};
|
|
667
666
|
const localVarQueryParameter = {};
|
|
668
667
|
if (maxWidth !== undefined) {
|
|
@@ -709,12 +708,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
709
708
|
}
|
|
710
709
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
711
710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
712
|
-
localVarRequestOptions.headers =
|
|
711
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
713
712
|
return {
|
|
714
713
|
url: toPathString(localVarUrlObj),
|
|
715
714
|
options: localVarRequestOptions,
|
|
716
715
|
};
|
|
717
|
-
}
|
|
716
|
+
},
|
|
718
717
|
/**
|
|
719
718
|
*
|
|
720
719
|
* @summary Get item image infos.
|
|
@@ -722,7 +721,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
722
721
|
* @param {*} [options] Override http request option.
|
|
723
722
|
* @throws {RequiredError}
|
|
724
723
|
*/
|
|
725
|
-
getItemImageInfos:
|
|
724
|
+
getItemImageInfos: async (itemId, options = {}) => {
|
|
726
725
|
// verify required parameter 'itemId' is not null or undefined
|
|
727
726
|
assertParamExists('getItemImageInfos', 'itemId', itemId);
|
|
728
727
|
const localVarPath = `/Items/{itemId}/Images`
|
|
@@ -733,19 +732,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
733
732
|
if (configuration) {
|
|
734
733
|
baseOptions = configuration.baseOptions;
|
|
735
734
|
}
|
|
736
|
-
const localVarRequestOptions =
|
|
735
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
737
736
|
const localVarHeaderParameter = {};
|
|
738
737
|
const localVarQueryParameter = {};
|
|
739
738
|
// authentication CustomAuthentication required
|
|
740
|
-
|
|
739
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
741
740
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
742
741
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
743
|
-
localVarRequestOptions.headers =
|
|
742
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
744
743
|
return {
|
|
745
744
|
url: toPathString(localVarUrlObj),
|
|
746
745
|
options: localVarRequestOptions,
|
|
747
746
|
};
|
|
748
|
-
}
|
|
747
|
+
},
|
|
749
748
|
/**
|
|
750
749
|
*
|
|
751
750
|
* @summary Get music genre image by name.
|
|
@@ -769,7 +768,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
769
768
|
* @param {*} [options] Override http request option.
|
|
770
769
|
* @throws {RequiredError}
|
|
771
770
|
*/
|
|
772
|
-
getMusicGenreImage:
|
|
771
|
+
getMusicGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
773
772
|
// verify required parameter 'name' is not null or undefined
|
|
774
773
|
assertParamExists('getMusicGenreImage', 'name', name);
|
|
775
774
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -783,7 +782,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
783
782
|
if (configuration) {
|
|
784
783
|
baseOptions = configuration.baseOptions;
|
|
785
784
|
}
|
|
786
|
-
const localVarRequestOptions =
|
|
785
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
787
786
|
const localVarHeaderParameter = {};
|
|
788
787
|
const localVarQueryParameter = {};
|
|
789
788
|
if (tag !== undefined) {
|
|
@@ -833,12 +832,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
833
832
|
}
|
|
834
833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
835
834
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
836
|
-
localVarRequestOptions.headers =
|
|
835
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
837
836
|
return {
|
|
838
837
|
url: toPathString(localVarUrlObj),
|
|
839
838
|
options: localVarRequestOptions,
|
|
840
839
|
};
|
|
841
|
-
}
|
|
840
|
+
},
|
|
842
841
|
/**
|
|
843
842
|
*
|
|
844
843
|
* @summary Get music genre image by name.
|
|
@@ -862,7 +861,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
862
861
|
* @param {*} [options] Override http request option.
|
|
863
862
|
* @throws {RequiredError}
|
|
864
863
|
*/
|
|
865
|
-
getMusicGenreImageByIndex:
|
|
864
|
+
getMusicGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
866
865
|
// verify required parameter 'name' is not null or undefined
|
|
867
866
|
assertParamExists('getMusicGenreImageByIndex', 'name', name);
|
|
868
867
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -879,7 +878,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
879
878
|
if (configuration) {
|
|
880
879
|
baseOptions = configuration.baseOptions;
|
|
881
880
|
}
|
|
882
|
-
const localVarRequestOptions =
|
|
881
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
883
882
|
const localVarHeaderParameter = {};
|
|
884
883
|
const localVarQueryParameter = {};
|
|
885
884
|
if (tag !== undefined) {
|
|
@@ -926,12 +925,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
926
925
|
}
|
|
927
926
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
928
927
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
929
|
-
localVarRequestOptions.headers =
|
|
928
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
930
929
|
return {
|
|
931
930
|
url: toPathString(localVarUrlObj),
|
|
932
931
|
options: localVarRequestOptions,
|
|
933
932
|
};
|
|
934
|
-
}
|
|
933
|
+
},
|
|
935
934
|
/**
|
|
936
935
|
*
|
|
937
936
|
* @summary Get person image by name.
|
|
@@ -955,7 +954,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
955
954
|
* @param {*} [options] Override http request option.
|
|
956
955
|
* @throws {RequiredError}
|
|
957
956
|
*/
|
|
958
|
-
getPersonImage:
|
|
957
|
+
getPersonImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
959
958
|
// verify required parameter 'name' is not null or undefined
|
|
960
959
|
assertParamExists('getPersonImage', 'name', name);
|
|
961
960
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -969,7 +968,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
969
968
|
if (configuration) {
|
|
970
969
|
baseOptions = configuration.baseOptions;
|
|
971
970
|
}
|
|
972
|
-
const localVarRequestOptions =
|
|
971
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
973
972
|
const localVarHeaderParameter = {};
|
|
974
973
|
const localVarQueryParameter = {};
|
|
975
974
|
if (tag !== undefined) {
|
|
@@ -1019,12 +1018,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1019
1018
|
}
|
|
1020
1019
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1021
1020
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1022
|
-
localVarRequestOptions.headers =
|
|
1021
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1023
1022
|
return {
|
|
1024
1023
|
url: toPathString(localVarUrlObj),
|
|
1025
1024
|
options: localVarRequestOptions,
|
|
1026
1025
|
};
|
|
1027
|
-
}
|
|
1026
|
+
},
|
|
1028
1027
|
/**
|
|
1029
1028
|
*
|
|
1030
1029
|
* @summary Get person image by name.
|
|
@@ -1048,7 +1047,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1048
1047
|
* @param {*} [options] Override http request option.
|
|
1049
1048
|
* @throws {RequiredError}
|
|
1050
1049
|
*/
|
|
1051
|
-
getPersonImageByIndex:
|
|
1050
|
+
getPersonImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1052
1051
|
// verify required parameter 'name' is not null or undefined
|
|
1053
1052
|
assertParamExists('getPersonImageByIndex', 'name', name);
|
|
1054
1053
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1065,7 +1064,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1065
1064
|
if (configuration) {
|
|
1066
1065
|
baseOptions = configuration.baseOptions;
|
|
1067
1066
|
}
|
|
1068
|
-
const localVarRequestOptions =
|
|
1067
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1069
1068
|
const localVarHeaderParameter = {};
|
|
1070
1069
|
const localVarQueryParameter = {};
|
|
1071
1070
|
if (tag !== undefined) {
|
|
@@ -1112,12 +1111,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1112
1111
|
}
|
|
1113
1112
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1114
1113
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1115
|
-
localVarRequestOptions.headers =
|
|
1114
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1116
1115
|
return {
|
|
1117
1116
|
url: toPathString(localVarUrlObj),
|
|
1118
1117
|
options: localVarRequestOptions,
|
|
1119
1118
|
};
|
|
1120
|
-
}
|
|
1119
|
+
},
|
|
1121
1120
|
/**
|
|
1122
1121
|
*
|
|
1123
1122
|
* @summary Generates or gets the splashscreen.
|
|
@@ -1136,7 +1135,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1136
1135
|
* @param {*} [options] Override http request option.
|
|
1137
1136
|
* @throws {RequiredError}
|
|
1138
1137
|
*/
|
|
1139
|
-
getSplashscreen:
|
|
1138
|
+
getSplashscreen: async (tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options = {}) => {
|
|
1140
1139
|
const localVarPath = `/Branding/Splashscreen`;
|
|
1141
1140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1142
1141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1144,7 +1143,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1144
1143
|
if (configuration) {
|
|
1145
1144
|
baseOptions = configuration.baseOptions;
|
|
1146
1145
|
}
|
|
1147
|
-
const localVarRequestOptions =
|
|
1146
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1148
1147
|
const localVarHeaderParameter = {};
|
|
1149
1148
|
const localVarQueryParameter = {};
|
|
1150
1149
|
if (tag !== undefined) {
|
|
@@ -1185,12 +1184,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1185
1184
|
}
|
|
1186
1185
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1187
1186
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1188
|
-
localVarRequestOptions.headers =
|
|
1187
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1189
1188
|
return {
|
|
1190
1189
|
url: toPathString(localVarUrlObj),
|
|
1191
1190
|
options: localVarRequestOptions,
|
|
1192
1191
|
};
|
|
1193
|
-
}
|
|
1192
|
+
},
|
|
1194
1193
|
/**
|
|
1195
1194
|
*
|
|
1196
1195
|
* @summary Get studio image by name.
|
|
@@ -1214,7 +1213,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1214
1213
|
* @param {*} [options] Override http request option.
|
|
1215
1214
|
* @throws {RequiredError}
|
|
1216
1215
|
*/
|
|
1217
|
-
getStudioImage:
|
|
1216
|
+
getStudioImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
1218
1217
|
// verify required parameter 'name' is not null or undefined
|
|
1219
1218
|
assertParamExists('getStudioImage', 'name', name);
|
|
1220
1219
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1228,7 +1227,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1228
1227
|
if (configuration) {
|
|
1229
1228
|
baseOptions = configuration.baseOptions;
|
|
1230
1229
|
}
|
|
1231
|
-
const localVarRequestOptions =
|
|
1230
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1232
1231
|
const localVarHeaderParameter = {};
|
|
1233
1232
|
const localVarQueryParameter = {};
|
|
1234
1233
|
if (tag !== undefined) {
|
|
@@ -1278,12 +1277,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1278
1277
|
}
|
|
1279
1278
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1280
1279
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1281
|
-
localVarRequestOptions.headers =
|
|
1280
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1282
1281
|
return {
|
|
1283
1282
|
url: toPathString(localVarUrlObj),
|
|
1284
1283
|
options: localVarRequestOptions,
|
|
1285
1284
|
};
|
|
1286
|
-
}
|
|
1285
|
+
},
|
|
1287
1286
|
/**
|
|
1288
1287
|
*
|
|
1289
1288
|
* @summary Get studio image by name.
|
|
@@ -1307,7 +1306,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1307
1306
|
* @param {*} [options] Override http request option.
|
|
1308
1307
|
* @throws {RequiredError}
|
|
1309
1308
|
*/
|
|
1310
|
-
getStudioImageByIndex:
|
|
1309
|
+
getStudioImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1311
1310
|
// verify required parameter 'name' is not null or undefined
|
|
1312
1311
|
assertParamExists('getStudioImageByIndex', 'name', name);
|
|
1313
1312
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1324,7 +1323,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1324
1323
|
if (configuration) {
|
|
1325
1324
|
baseOptions = configuration.baseOptions;
|
|
1326
1325
|
}
|
|
1327
|
-
const localVarRequestOptions =
|
|
1326
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1328
1327
|
const localVarHeaderParameter = {};
|
|
1329
1328
|
const localVarQueryParameter = {};
|
|
1330
1329
|
if (tag !== undefined) {
|
|
@@ -1371,12 +1370,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1371
1370
|
}
|
|
1372
1371
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1373
1372
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1374
|
-
localVarRequestOptions.headers =
|
|
1373
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1375
1374
|
return {
|
|
1376
1375
|
url: toPathString(localVarUrlObj),
|
|
1377
1376
|
options: localVarRequestOptions,
|
|
1378
1377
|
};
|
|
1379
|
-
}
|
|
1378
|
+
},
|
|
1380
1379
|
/**
|
|
1381
1380
|
*
|
|
1382
1381
|
* @summary Get user profile image.
|
|
@@ -1399,7 +1398,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1399
1398
|
* @param {*} [options] Override http request option.
|
|
1400
1399
|
* @throws {RequiredError}
|
|
1401
1400
|
*/
|
|
1402
|
-
getUserImage:
|
|
1401
|
+
getUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
1403
1402
|
const localVarPath = `/UserImage`;
|
|
1404
1403
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1405
1404
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1407,7 +1406,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1407
1406
|
if (configuration) {
|
|
1408
1407
|
baseOptions = configuration.baseOptions;
|
|
1409
1408
|
}
|
|
1410
|
-
const localVarRequestOptions =
|
|
1409
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1411
1410
|
const localVarHeaderParameter = {};
|
|
1412
1411
|
const localVarQueryParameter = {};
|
|
1413
1412
|
if (userId !== undefined) {
|
|
@@ -1460,12 +1459,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1460
1459
|
}
|
|
1461
1460
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1462
1461
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1463
|
-
localVarRequestOptions.headers =
|
|
1462
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1464
1463
|
return {
|
|
1465
1464
|
url: toPathString(localVarUrlObj),
|
|
1466
1465
|
options: localVarRequestOptions,
|
|
1467
1466
|
};
|
|
1468
|
-
}
|
|
1467
|
+
},
|
|
1469
1468
|
/**
|
|
1470
1469
|
*
|
|
1471
1470
|
* @summary Get artist image by name.
|
|
@@ -1489,7 +1488,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1489
1488
|
* @param {*} [options] Override http request option.
|
|
1490
1489
|
* @throws {RequiredError}
|
|
1491
1490
|
*/
|
|
1492
|
-
headArtistImage:
|
|
1491
|
+
headArtistImage: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1493
1492
|
// verify required parameter 'name' is not null or undefined
|
|
1494
1493
|
assertParamExists('headArtistImage', 'name', name);
|
|
1495
1494
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1506,7 +1505,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1506
1505
|
if (configuration) {
|
|
1507
1506
|
baseOptions = configuration.baseOptions;
|
|
1508
1507
|
}
|
|
1509
|
-
const localVarRequestOptions =
|
|
1508
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1510
1509
|
const localVarHeaderParameter = {};
|
|
1511
1510
|
const localVarQueryParameter = {};
|
|
1512
1511
|
if (tag !== undefined) {
|
|
@@ -1553,12 +1552,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1553
1552
|
}
|
|
1554
1553
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1555
1554
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1556
|
-
localVarRequestOptions.headers =
|
|
1555
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1557
1556
|
return {
|
|
1558
1557
|
url: toPathString(localVarUrlObj),
|
|
1559
1558
|
options: localVarRequestOptions,
|
|
1560
1559
|
};
|
|
1561
|
-
}
|
|
1560
|
+
},
|
|
1562
1561
|
/**
|
|
1563
1562
|
*
|
|
1564
1563
|
* @summary Get genre image by name.
|
|
@@ -1582,7 +1581,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1582
1581
|
* @param {*} [options] Override http request option.
|
|
1583
1582
|
* @throws {RequiredError}
|
|
1584
1583
|
*/
|
|
1585
|
-
headGenreImage:
|
|
1584
|
+
headGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
1586
1585
|
// verify required parameter 'name' is not null or undefined
|
|
1587
1586
|
assertParamExists('headGenreImage', 'name', name);
|
|
1588
1587
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1596,7 +1595,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1596
1595
|
if (configuration) {
|
|
1597
1596
|
baseOptions = configuration.baseOptions;
|
|
1598
1597
|
}
|
|
1599
|
-
const localVarRequestOptions =
|
|
1598
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1600
1599
|
const localVarHeaderParameter = {};
|
|
1601
1600
|
const localVarQueryParameter = {};
|
|
1602
1601
|
if (tag !== undefined) {
|
|
@@ -1646,12 +1645,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1646
1645
|
}
|
|
1647
1646
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1648
1647
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1649
|
-
localVarRequestOptions.headers =
|
|
1648
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1650
1649
|
return {
|
|
1651
1650
|
url: toPathString(localVarUrlObj),
|
|
1652
1651
|
options: localVarRequestOptions,
|
|
1653
1652
|
};
|
|
1654
|
-
}
|
|
1653
|
+
},
|
|
1655
1654
|
/**
|
|
1656
1655
|
*
|
|
1657
1656
|
* @summary Get genre image by name.
|
|
@@ -1675,7 +1674,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1675
1674
|
* @param {*} [options] Override http request option.
|
|
1676
1675
|
* @throws {RequiredError}
|
|
1677
1676
|
*/
|
|
1678
|
-
headGenreImageByIndex:
|
|
1677
|
+
headGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1679
1678
|
// verify required parameter 'name' is not null or undefined
|
|
1680
1679
|
assertParamExists('headGenreImageByIndex', 'name', name);
|
|
1681
1680
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1692,7 +1691,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1692
1691
|
if (configuration) {
|
|
1693
1692
|
baseOptions = configuration.baseOptions;
|
|
1694
1693
|
}
|
|
1695
|
-
const localVarRequestOptions =
|
|
1694
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1696
1695
|
const localVarHeaderParameter = {};
|
|
1697
1696
|
const localVarQueryParameter = {};
|
|
1698
1697
|
if (tag !== undefined) {
|
|
@@ -1739,12 +1738,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1739
1738
|
}
|
|
1740
1739
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1741
1740
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1742
|
-
localVarRequestOptions.headers =
|
|
1741
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1743
1742
|
return {
|
|
1744
1743
|
url: toPathString(localVarUrlObj),
|
|
1745
1744
|
options: localVarRequestOptions,
|
|
1746
1745
|
};
|
|
1747
|
-
}
|
|
1746
|
+
},
|
|
1748
1747
|
/**
|
|
1749
1748
|
*
|
|
1750
1749
|
* @summary Gets the item\'s image.
|
|
@@ -1768,7 +1767,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1768
1767
|
* @param {*} [options] Override http request option.
|
|
1769
1768
|
* @throws {RequiredError}
|
|
1770
1769
|
*/
|
|
1771
|
-
headItemImage:
|
|
1770
|
+
headItemImage: async (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
1772
1771
|
// verify required parameter 'itemId' is not null or undefined
|
|
1773
1772
|
assertParamExists('headItemImage', 'itemId', itemId);
|
|
1774
1773
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1782,7 +1781,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1782
1781
|
if (configuration) {
|
|
1783
1782
|
baseOptions = configuration.baseOptions;
|
|
1784
1783
|
}
|
|
1785
|
-
const localVarRequestOptions =
|
|
1784
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1786
1785
|
const localVarHeaderParameter = {};
|
|
1787
1786
|
const localVarQueryParameter = {};
|
|
1788
1787
|
if (maxWidth !== undefined) {
|
|
@@ -1832,12 +1831,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1832
1831
|
}
|
|
1833
1832
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1834
1833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1835
|
-
localVarRequestOptions.headers =
|
|
1834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1836
1835
|
return {
|
|
1837
1836
|
url: toPathString(localVarUrlObj),
|
|
1838
1837
|
options: localVarRequestOptions,
|
|
1839
1838
|
};
|
|
1840
|
-
}
|
|
1839
|
+
},
|
|
1841
1840
|
/**
|
|
1842
1841
|
*
|
|
1843
1842
|
* @summary Gets the item\'s image.
|
|
@@ -1861,7 +1860,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1861
1860
|
* @param {*} [options] Override http request option.
|
|
1862
1861
|
* @throws {RequiredError}
|
|
1863
1862
|
*/
|
|
1864
|
-
headItemImage2:
|
|
1863
|
+
headItemImage2: async (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1865
1864
|
// verify required parameter 'itemId' is not null or undefined
|
|
1866
1865
|
assertParamExists('headItemImage2', 'itemId', itemId);
|
|
1867
1866
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1896,7 +1895,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1896
1895
|
if (configuration) {
|
|
1897
1896
|
baseOptions = configuration.baseOptions;
|
|
1898
1897
|
}
|
|
1899
|
-
const localVarRequestOptions =
|
|
1898
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1900
1899
|
const localVarHeaderParameter = {};
|
|
1901
1900
|
const localVarQueryParameter = {};
|
|
1902
1901
|
if (width !== undefined) {
|
|
@@ -1925,12 +1924,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1925
1924
|
}
|
|
1926
1925
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1927
1926
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1928
|
-
localVarRequestOptions.headers =
|
|
1927
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1929
1928
|
return {
|
|
1930
1929
|
url: toPathString(localVarUrlObj),
|
|
1931
1930
|
options: localVarRequestOptions,
|
|
1932
1931
|
};
|
|
1933
|
-
}
|
|
1932
|
+
},
|
|
1934
1933
|
/**
|
|
1935
1934
|
*
|
|
1936
1935
|
* @summary Gets the item\'s image.
|
|
@@ -1954,7 +1953,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1954
1953
|
* @param {*} [options] Override http request option.
|
|
1955
1954
|
* @throws {RequiredError}
|
|
1956
1955
|
*/
|
|
1957
|
-
headItemImageByIndex:
|
|
1956
|
+
headItemImageByIndex: async (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
1958
1957
|
// verify required parameter 'itemId' is not null or undefined
|
|
1959
1958
|
assertParamExists('headItemImageByIndex', 'itemId', itemId);
|
|
1960
1959
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -1971,7 +1970,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1971
1970
|
if (configuration) {
|
|
1972
1971
|
baseOptions = configuration.baseOptions;
|
|
1973
1972
|
}
|
|
1974
|
-
const localVarRequestOptions =
|
|
1973
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
1975
1974
|
const localVarHeaderParameter = {};
|
|
1976
1975
|
const localVarQueryParameter = {};
|
|
1977
1976
|
if (maxWidth !== undefined) {
|
|
@@ -2018,12 +2017,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2018
2017
|
}
|
|
2019
2018
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2020
2019
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2021
|
-
localVarRequestOptions.headers =
|
|
2020
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2022
2021
|
return {
|
|
2023
2022
|
url: toPathString(localVarUrlObj),
|
|
2024
2023
|
options: localVarRequestOptions,
|
|
2025
2024
|
};
|
|
2026
|
-
}
|
|
2025
|
+
},
|
|
2027
2026
|
/**
|
|
2028
2027
|
*
|
|
2029
2028
|
* @summary Get music genre image by name.
|
|
@@ -2047,7 +2046,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2047
2046
|
* @param {*} [options] Override http request option.
|
|
2048
2047
|
* @throws {RequiredError}
|
|
2049
2048
|
*/
|
|
2050
|
-
headMusicGenreImage:
|
|
2049
|
+
headMusicGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
2051
2050
|
// verify required parameter 'name' is not null or undefined
|
|
2052
2051
|
assertParamExists('headMusicGenreImage', 'name', name);
|
|
2053
2052
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2061,7 +2060,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2061
2060
|
if (configuration) {
|
|
2062
2061
|
baseOptions = configuration.baseOptions;
|
|
2063
2062
|
}
|
|
2064
|
-
const localVarRequestOptions =
|
|
2063
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2065
2064
|
const localVarHeaderParameter = {};
|
|
2066
2065
|
const localVarQueryParameter = {};
|
|
2067
2066
|
if (tag !== undefined) {
|
|
@@ -2111,12 +2110,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2111
2110
|
}
|
|
2112
2111
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2113
2112
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2114
|
-
localVarRequestOptions.headers =
|
|
2113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2115
2114
|
return {
|
|
2116
2115
|
url: toPathString(localVarUrlObj),
|
|
2117
2116
|
options: localVarRequestOptions,
|
|
2118
2117
|
};
|
|
2119
|
-
}
|
|
2118
|
+
},
|
|
2120
2119
|
/**
|
|
2121
2120
|
*
|
|
2122
2121
|
* @summary Get music genre image by name.
|
|
@@ -2140,7 +2139,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2140
2139
|
* @param {*} [options] Override http request option.
|
|
2141
2140
|
* @throws {RequiredError}
|
|
2142
2141
|
*/
|
|
2143
|
-
headMusicGenreImageByIndex:
|
|
2142
|
+
headMusicGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
2144
2143
|
// verify required parameter 'name' is not null or undefined
|
|
2145
2144
|
assertParamExists('headMusicGenreImageByIndex', 'name', name);
|
|
2146
2145
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2157,7 +2156,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2157
2156
|
if (configuration) {
|
|
2158
2157
|
baseOptions = configuration.baseOptions;
|
|
2159
2158
|
}
|
|
2160
|
-
const localVarRequestOptions =
|
|
2159
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2161
2160
|
const localVarHeaderParameter = {};
|
|
2162
2161
|
const localVarQueryParameter = {};
|
|
2163
2162
|
if (tag !== undefined) {
|
|
@@ -2204,12 +2203,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2204
2203
|
}
|
|
2205
2204
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2206
2205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2207
|
-
localVarRequestOptions.headers =
|
|
2206
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2208
2207
|
return {
|
|
2209
2208
|
url: toPathString(localVarUrlObj),
|
|
2210
2209
|
options: localVarRequestOptions,
|
|
2211
2210
|
};
|
|
2212
|
-
}
|
|
2211
|
+
},
|
|
2213
2212
|
/**
|
|
2214
2213
|
*
|
|
2215
2214
|
* @summary Get person image by name.
|
|
@@ -2233,7 +2232,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2233
2232
|
* @param {*} [options] Override http request option.
|
|
2234
2233
|
* @throws {RequiredError}
|
|
2235
2234
|
*/
|
|
2236
|
-
headPersonImage:
|
|
2235
|
+
headPersonImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
2237
2236
|
// verify required parameter 'name' is not null or undefined
|
|
2238
2237
|
assertParamExists('headPersonImage', 'name', name);
|
|
2239
2238
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2247,7 +2246,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2247
2246
|
if (configuration) {
|
|
2248
2247
|
baseOptions = configuration.baseOptions;
|
|
2249
2248
|
}
|
|
2250
|
-
const localVarRequestOptions =
|
|
2249
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2251
2250
|
const localVarHeaderParameter = {};
|
|
2252
2251
|
const localVarQueryParameter = {};
|
|
2253
2252
|
if (tag !== undefined) {
|
|
@@ -2297,12 +2296,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2297
2296
|
}
|
|
2298
2297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2299
2298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2300
|
-
localVarRequestOptions.headers =
|
|
2299
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2301
2300
|
return {
|
|
2302
2301
|
url: toPathString(localVarUrlObj),
|
|
2303
2302
|
options: localVarRequestOptions,
|
|
2304
2303
|
};
|
|
2305
|
-
}
|
|
2304
|
+
},
|
|
2306
2305
|
/**
|
|
2307
2306
|
*
|
|
2308
2307
|
* @summary Get person image by name.
|
|
@@ -2326,7 +2325,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2326
2325
|
* @param {*} [options] Override http request option.
|
|
2327
2326
|
* @throws {RequiredError}
|
|
2328
2327
|
*/
|
|
2329
|
-
headPersonImageByIndex:
|
|
2328
|
+
headPersonImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
2330
2329
|
// verify required parameter 'name' is not null or undefined
|
|
2331
2330
|
assertParamExists('headPersonImageByIndex', 'name', name);
|
|
2332
2331
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2343,7 +2342,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2343
2342
|
if (configuration) {
|
|
2344
2343
|
baseOptions = configuration.baseOptions;
|
|
2345
2344
|
}
|
|
2346
|
-
const localVarRequestOptions =
|
|
2345
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2347
2346
|
const localVarHeaderParameter = {};
|
|
2348
2347
|
const localVarQueryParameter = {};
|
|
2349
2348
|
if (tag !== undefined) {
|
|
@@ -2390,12 +2389,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2390
2389
|
}
|
|
2391
2390
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2392
2391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2393
|
-
localVarRequestOptions.headers =
|
|
2392
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2394
2393
|
return {
|
|
2395
2394
|
url: toPathString(localVarUrlObj),
|
|
2396
2395
|
options: localVarRequestOptions,
|
|
2397
2396
|
};
|
|
2398
|
-
}
|
|
2397
|
+
},
|
|
2399
2398
|
/**
|
|
2400
2399
|
*
|
|
2401
2400
|
* @summary Get studio image by name.
|
|
@@ -2419,7 +2418,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2419
2418
|
* @param {*} [options] Override http request option.
|
|
2420
2419
|
* @throws {RequiredError}
|
|
2421
2420
|
*/
|
|
2422
|
-
headStudioImage:
|
|
2421
|
+
headStudioImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
2423
2422
|
// verify required parameter 'name' is not null or undefined
|
|
2424
2423
|
assertParamExists('headStudioImage', 'name', name);
|
|
2425
2424
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2433,7 +2432,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2433
2432
|
if (configuration) {
|
|
2434
2433
|
baseOptions = configuration.baseOptions;
|
|
2435
2434
|
}
|
|
2436
|
-
const localVarRequestOptions =
|
|
2435
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2437
2436
|
const localVarHeaderParameter = {};
|
|
2438
2437
|
const localVarQueryParameter = {};
|
|
2439
2438
|
if (tag !== undefined) {
|
|
@@ -2483,12 +2482,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2483
2482
|
}
|
|
2484
2483
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2485
2484
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2486
|
-
localVarRequestOptions.headers =
|
|
2485
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2487
2486
|
return {
|
|
2488
2487
|
url: toPathString(localVarUrlObj),
|
|
2489
2488
|
options: localVarRequestOptions,
|
|
2490
2489
|
};
|
|
2491
|
-
}
|
|
2490
|
+
},
|
|
2492
2491
|
/**
|
|
2493
2492
|
*
|
|
2494
2493
|
* @summary Get studio image by name.
|
|
@@ -2512,7 +2511,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2512
2511
|
* @param {*} [options] Override http request option.
|
|
2513
2512
|
* @throws {RequiredError}
|
|
2514
2513
|
*/
|
|
2515
|
-
headStudioImageByIndex:
|
|
2514
|
+
headStudioImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
|
|
2516
2515
|
// verify required parameter 'name' is not null or undefined
|
|
2517
2516
|
assertParamExists('headStudioImageByIndex', 'name', name);
|
|
2518
2517
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2529,7 +2528,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2529
2528
|
if (configuration) {
|
|
2530
2529
|
baseOptions = configuration.baseOptions;
|
|
2531
2530
|
}
|
|
2532
|
-
const localVarRequestOptions =
|
|
2531
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2533
2532
|
const localVarHeaderParameter = {};
|
|
2534
2533
|
const localVarQueryParameter = {};
|
|
2535
2534
|
if (tag !== undefined) {
|
|
@@ -2576,12 +2575,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2576
2575
|
}
|
|
2577
2576
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2578
2577
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2579
|
-
localVarRequestOptions.headers =
|
|
2578
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2580
2579
|
return {
|
|
2581
2580
|
url: toPathString(localVarUrlObj),
|
|
2582
2581
|
options: localVarRequestOptions,
|
|
2583
2582
|
};
|
|
2584
|
-
}
|
|
2583
|
+
},
|
|
2585
2584
|
/**
|
|
2586
2585
|
*
|
|
2587
2586
|
* @summary Get user profile image.
|
|
@@ -2604,7 +2603,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2604
2603
|
* @param {*} [options] Override http request option.
|
|
2605
2604
|
* @throws {RequiredError}
|
|
2606
2605
|
*/
|
|
2607
|
-
headUserImage:
|
|
2606
|
+
headUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
|
|
2608
2607
|
const localVarPath = `/UserImage`;
|
|
2609
2608
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2610
2609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2612,7 +2611,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2612
2611
|
if (configuration) {
|
|
2613
2612
|
baseOptions = configuration.baseOptions;
|
|
2614
2613
|
}
|
|
2615
|
-
const localVarRequestOptions =
|
|
2614
|
+
const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
|
|
2616
2615
|
const localVarHeaderParameter = {};
|
|
2617
2616
|
const localVarQueryParameter = {};
|
|
2618
2617
|
if (userId !== undefined) {
|
|
@@ -2665,21 +2664,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2665
2664
|
}
|
|
2666
2665
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2667
2666
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2668
|
-
localVarRequestOptions.headers =
|
|
2667
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2669
2668
|
return {
|
|
2670
2669
|
url: toPathString(localVarUrlObj),
|
|
2671
2670
|
options: localVarRequestOptions,
|
|
2672
2671
|
};
|
|
2673
|
-
}
|
|
2672
|
+
},
|
|
2674
2673
|
/**
|
|
2675
2674
|
*
|
|
2676
2675
|
* @summary Sets the user image.
|
|
2677
2676
|
* @param {string} [userId] User Id.
|
|
2678
|
-
* @param {
|
|
2677
|
+
* @param {File} [body]
|
|
2679
2678
|
* @param {*} [options] Override http request option.
|
|
2680
2679
|
* @throws {RequiredError}
|
|
2681
2680
|
*/
|
|
2682
|
-
postUserImage:
|
|
2681
|
+
postUserImage: async (userId, body, options = {}) => {
|
|
2683
2682
|
const localVarPath = `/UserImage`;
|
|
2684
2683
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2685
2684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2687,34 +2686,34 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2687
2686
|
if (configuration) {
|
|
2688
2687
|
baseOptions = configuration.baseOptions;
|
|
2689
2688
|
}
|
|
2690
|
-
const localVarRequestOptions =
|
|
2689
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2691
2690
|
const localVarHeaderParameter = {};
|
|
2692
2691
|
const localVarQueryParameter = {};
|
|
2693
2692
|
// authentication CustomAuthentication required
|
|
2694
|
-
|
|
2693
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2695
2694
|
if (userId !== undefined) {
|
|
2696
2695
|
localVarQueryParameter['userId'] = userId;
|
|
2697
2696
|
}
|
|
2698
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2697
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2699
2698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2700
2699
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2701
|
-
localVarRequestOptions.headers =
|
|
2700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2702
2701
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2703
2702
|
return {
|
|
2704
2703
|
url: toPathString(localVarUrlObj),
|
|
2705
2704
|
options: localVarRequestOptions,
|
|
2706
2705
|
};
|
|
2707
|
-
}
|
|
2706
|
+
},
|
|
2708
2707
|
/**
|
|
2709
2708
|
*
|
|
2710
2709
|
* @summary Set item image.
|
|
2711
2710
|
* @param {string} itemId Item id.
|
|
2712
2711
|
* @param {ImageType} imageType Image type.
|
|
2713
|
-
* @param {
|
|
2712
|
+
* @param {File} [body]
|
|
2714
2713
|
* @param {*} [options] Override http request option.
|
|
2715
2714
|
* @throws {RequiredError}
|
|
2716
2715
|
*/
|
|
2717
|
-
setItemImage:
|
|
2716
|
+
setItemImage: async (itemId, imageType, body, options = {}) => {
|
|
2718
2717
|
// verify required parameter 'itemId' is not null or undefined
|
|
2719
2718
|
assertParamExists('setItemImage', 'itemId', itemId);
|
|
2720
2719
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2728,32 +2727,32 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2728
2727
|
if (configuration) {
|
|
2729
2728
|
baseOptions = configuration.baseOptions;
|
|
2730
2729
|
}
|
|
2731
|
-
const localVarRequestOptions =
|
|
2730
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2732
2731
|
const localVarHeaderParameter = {};
|
|
2733
2732
|
const localVarQueryParameter = {};
|
|
2734
2733
|
// authentication CustomAuthentication required
|
|
2735
|
-
|
|
2736
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2734
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2735
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2737
2736
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2738
2737
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2739
|
-
localVarRequestOptions.headers =
|
|
2738
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2740
2739
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2741
2740
|
return {
|
|
2742
2741
|
url: toPathString(localVarUrlObj),
|
|
2743
2742
|
options: localVarRequestOptions,
|
|
2744
2743
|
};
|
|
2745
|
-
}
|
|
2744
|
+
},
|
|
2746
2745
|
/**
|
|
2747
2746
|
*
|
|
2748
2747
|
* @summary Set item image.
|
|
2749
2748
|
* @param {string} itemId Item id.
|
|
2750
2749
|
* @param {ImageType} imageType Image type.
|
|
2751
2750
|
* @param {number} imageIndex (Unused) Image index.
|
|
2752
|
-
* @param {
|
|
2751
|
+
* @param {File} [body]
|
|
2753
2752
|
* @param {*} [options] Override http request option.
|
|
2754
2753
|
* @throws {RequiredError}
|
|
2755
2754
|
*/
|
|
2756
|
-
setItemImageByIndex:
|
|
2755
|
+
setItemImageByIndex: async (itemId, imageType, imageIndex, body, options = {}) => {
|
|
2757
2756
|
// verify required parameter 'itemId' is not null or undefined
|
|
2758
2757
|
assertParamExists('setItemImageByIndex', 'itemId', itemId);
|
|
2759
2758
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2770,21 +2769,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2770
2769
|
if (configuration) {
|
|
2771
2770
|
baseOptions = configuration.baseOptions;
|
|
2772
2771
|
}
|
|
2773
|
-
const localVarRequestOptions =
|
|
2772
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2774
2773
|
const localVarHeaderParameter = {};
|
|
2775
2774
|
const localVarQueryParameter = {};
|
|
2776
2775
|
// authentication CustomAuthentication required
|
|
2777
|
-
|
|
2778
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2776
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2777
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2779
2778
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2780
2779
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2781
|
-
localVarRequestOptions.headers =
|
|
2780
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2782
2781
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2783
2782
|
return {
|
|
2784
2783
|
url: toPathString(localVarUrlObj),
|
|
2785
2784
|
options: localVarRequestOptions,
|
|
2786
2785
|
};
|
|
2787
|
-
}
|
|
2786
|
+
},
|
|
2788
2787
|
/**
|
|
2789
2788
|
*
|
|
2790
2789
|
* @summary Updates the index for an item image.
|
|
@@ -2795,7 +2794,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2795
2794
|
* @param {*} [options] Override http request option.
|
|
2796
2795
|
* @throws {RequiredError}
|
|
2797
2796
|
*/
|
|
2798
|
-
updateItemImageIndex:
|
|
2797
|
+
updateItemImageIndex: async (itemId, imageType, imageIndex, newIndex, options = {}) => {
|
|
2799
2798
|
// verify required parameter 'itemId' is not null or undefined
|
|
2800
2799
|
assertParamExists('updateItemImageIndex', 'itemId', itemId);
|
|
2801
2800
|
// verify required parameter 'imageType' is not null or undefined
|
|
@@ -2814,30 +2813,30 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2814
2813
|
if (configuration) {
|
|
2815
2814
|
baseOptions = configuration.baseOptions;
|
|
2816
2815
|
}
|
|
2817
|
-
const localVarRequestOptions =
|
|
2816
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2818
2817
|
const localVarHeaderParameter = {};
|
|
2819
2818
|
const localVarQueryParameter = {};
|
|
2820
2819
|
// authentication CustomAuthentication required
|
|
2821
|
-
|
|
2820
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2822
2821
|
if (newIndex !== undefined) {
|
|
2823
2822
|
localVarQueryParameter['newIndex'] = newIndex;
|
|
2824
2823
|
}
|
|
2825
2824
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2826
2825
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2827
|
-
localVarRequestOptions.headers =
|
|
2826
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2828
2827
|
return {
|
|
2829
2828
|
url: toPathString(localVarUrlObj),
|
|
2830
2829
|
options: localVarRequestOptions,
|
|
2831
2830
|
};
|
|
2832
|
-
}
|
|
2831
|
+
},
|
|
2833
2832
|
/**
|
|
2834
2833
|
*
|
|
2835
2834
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
2836
|
-
* @param {
|
|
2835
|
+
* @param {File} [body]
|
|
2837
2836
|
* @param {*} [options] Override http request option.
|
|
2838
2837
|
* @throws {RequiredError}
|
|
2839
2838
|
*/
|
|
2840
|
-
uploadCustomSplashscreen:
|
|
2839
|
+
uploadCustomSplashscreen: async (body, options = {}) => {
|
|
2841
2840
|
const localVarPath = `/Branding/Splashscreen`;
|
|
2842
2841
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2843
2842
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2845,21 +2844,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2845
2844
|
if (configuration) {
|
|
2846
2845
|
baseOptions = configuration.baseOptions;
|
|
2847
2846
|
}
|
|
2848
|
-
const localVarRequestOptions =
|
|
2847
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
2849
2848
|
const localVarHeaderParameter = {};
|
|
2850
2849
|
const localVarQueryParameter = {};
|
|
2851
2850
|
// authentication CustomAuthentication required
|
|
2852
|
-
|
|
2853
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2851
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2852
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2854
2853
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2855
2854
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2856
|
-
localVarRequestOptions.headers =
|
|
2855
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2857
2856
|
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
2858
2857
|
return {
|
|
2859
2858
|
url: toPathString(localVarUrlObj),
|
|
2860
2859
|
options: localVarRequestOptions,
|
|
2861
2860
|
};
|
|
2862
|
-
}
|
|
2861
|
+
},
|
|
2863
2862
|
};
|
|
2864
2863
|
};
|
|
2865
2864
|
/**
|
|
@@ -2875,11 +2874,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2875
2874
|
* @param {*} [options] Override http request option.
|
|
2876
2875
|
* @throws {RequiredError}
|
|
2877
2876
|
*/
|
|
2878
|
-
deleteCustomSplashscreen(options) {
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2877
|
+
async deleteCustomSplashscreen(options) {
|
|
2878
|
+
var _a, _b, _c;
|
|
2879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomSplashscreen(options);
|
|
2880
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2881
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2882
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2883
2883
|
},
|
|
2884
2884
|
/**
|
|
2885
2885
|
*
|
|
@@ -2890,11 +2890,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2890
2890
|
* @param {*} [options] Override http request option.
|
|
2891
2891
|
* @throws {RequiredError}
|
|
2892
2892
|
*/
|
|
2893
|
-
deleteItemImage(itemId, imageType, imageIndex, options) {
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2893
|
+
async deleteItemImage(itemId, imageType, imageIndex, options) {
|
|
2894
|
+
var _a, _b, _c;
|
|
2895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
|
|
2896
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2897
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2898
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2898
2899
|
},
|
|
2899
2900
|
/**
|
|
2900
2901
|
*
|
|
@@ -2905,11 +2906,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2905
2906
|
* @param {*} [options] Override http request option.
|
|
2906
2907
|
* @throws {RequiredError}
|
|
2907
2908
|
*/
|
|
2908
|
-
deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2909
|
+
async deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
|
|
2910
|
+
var _a, _b, _c;
|
|
2911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
|
|
2912
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2913
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2913
2915
|
},
|
|
2914
2916
|
/**
|
|
2915
2917
|
*
|
|
@@ -2918,11 +2920,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2918
2920
|
* @param {*} [options] Override http request option.
|
|
2919
2921
|
* @throws {RequiredError}
|
|
2920
2922
|
*/
|
|
2921
|
-
deleteUserImage(userId, options) {
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2923
|
+
async deleteUserImage(userId, options) {
|
|
2924
|
+
var _a, _b, _c;
|
|
2925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserImage(userId, options);
|
|
2926
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2927
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2926
2929
|
},
|
|
2927
2930
|
/**
|
|
2928
2931
|
*
|
|
@@ -2947,11 +2950,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2947
2950
|
* @param {*} [options] Override http request option.
|
|
2948
2951
|
* @throws {RequiredError}
|
|
2949
2952
|
*/
|
|
2950
|
-
getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2953
|
+
async getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
2954
|
+
var _a, _b, _c;
|
|
2955
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
2956
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2957
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2958
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2955
2959
|
},
|
|
2956
2960
|
/**
|
|
2957
2961
|
*
|
|
@@ -2976,11 +2980,12 @@ const ImageApiFp = function (configuration) {
|
|
|
2976
2980
|
* @param {*} [options] Override http request option.
|
|
2977
2981
|
* @throws {RequiredError}
|
|
2978
2982
|
*/
|
|
2979
|
-
getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2983
|
+
async getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
2984
|
+
var _a, _b, _c;
|
|
2985
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
2986
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2987
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2988
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2984
2989
|
},
|
|
2985
2990
|
/**
|
|
2986
2991
|
*
|
|
@@ -3005,11 +3010,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3005
3010
|
* @param {*} [options] Override http request option.
|
|
3006
3011
|
* @throws {RequiredError}
|
|
3007
3012
|
*/
|
|
3008
|
-
getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
+
async getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3014
|
+
var _a, _b, _c;
|
|
3015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3016
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3017
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3013
3019
|
},
|
|
3014
3020
|
/**
|
|
3015
3021
|
*
|
|
@@ -3034,11 +3040,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3034
3040
|
* @param {*} [options] Override http request option.
|
|
3035
3041
|
* @throws {RequiredError}
|
|
3036
3042
|
*/
|
|
3037
|
-
getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3043
|
+
async getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3044
|
+
var _a, _b, _c;
|
|
3045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3046
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3047
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3048
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3042
3049
|
},
|
|
3043
3050
|
/**
|
|
3044
3051
|
*
|
|
@@ -3063,11 +3070,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3063
3070
|
* @param {*} [options] Override http request option.
|
|
3064
3071
|
* @throws {RequiredError}
|
|
3065
3072
|
*/
|
|
3066
|
-
getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3073
|
+
async getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3074
|
+
var _a, _b, _c;
|
|
3075
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3076
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3077
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3078
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3071
3079
|
},
|
|
3072
3080
|
/**
|
|
3073
3081
|
*
|
|
@@ -3092,11 +3100,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3092
3100
|
* @param {*} [options] Override http request option.
|
|
3093
3101
|
* @throws {RequiredError}
|
|
3094
3102
|
*/
|
|
3095
|
-
getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3103
|
+
async getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
3104
|
+
var _a, _b, _c;
|
|
3105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
|
|
3106
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3107
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3100
3109
|
},
|
|
3101
3110
|
/**
|
|
3102
3111
|
*
|
|
@@ -3105,11 +3114,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3105
3114
|
* @param {*} [options] Override http request option.
|
|
3106
3115
|
* @throws {RequiredError}
|
|
3107
3116
|
*/
|
|
3108
|
-
getItemImageInfos(itemId, options) {
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3117
|
+
async getItemImageInfos(itemId, options) {
|
|
3118
|
+
var _a, _b, _c;
|
|
3119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageInfos(itemId, options);
|
|
3120
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3121
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageInfos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3113
3123
|
},
|
|
3114
3124
|
/**
|
|
3115
3125
|
*
|
|
@@ -3134,11 +3144,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3134
3144
|
* @param {*} [options] Override http request option.
|
|
3135
3145
|
* @throws {RequiredError}
|
|
3136
3146
|
*/
|
|
3137
|
-
getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3147
|
+
async getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3148
|
+
var _a, _b, _c;
|
|
3149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3150
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3151
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3152
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3142
3153
|
},
|
|
3143
3154
|
/**
|
|
3144
3155
|
*
|
|
@@ -3163,11 +3174,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3163
3174
|
* @param {*} [options] Override http request option.
|
|
3164
3175
|
* @throws {RequiredError}
|
|
3165
3176
|
*/
|
|
3166
|
-
getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3177
|
+
async getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3178
|
+
var _a, _b, _c;
|
|
3179
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3180
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3181
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3171
3183
|
},
|
|
3172
3184
|
/**
|
|
3173
3185
|
*
|
|
@@ -3192,11 +3204,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3192
3204
|
* @param {*} [options] Override http request option.
|
|
3193
3205
|
* @throws {RequiredError}
|
|
3194
3206
|
*/
|
|
3195
|
-
getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3207
|
+
async getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3208
|
+
var _a, _b, _c;
|
|
3209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3210
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3211
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3212
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3200
3213
|
},
|
|
3201
3214
|
/**
|
|
3202
3215
|
*
|
|
@@ -3221,11 +3234,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3221
3234
|
* @param {*} [options] Override http request option.
|
|
3222
3235
|
* @throws {RequiredError}
|
|
3223
3236
|
*/
|
|
3224
|
-
getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3237
|
+
async getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3238
|
+
var _a, _b, _c;
|
|
3239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3240
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3241
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3242
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3229
3243
|
},
|
|
3230
3244
|
/**
|
|
3231
3245
|
*
|
|
@@ -3245,11 +3259,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3245
3259
|
* @param {*} [options] Override http request option.
|
|
3246
3260
|
* @throws {RequiredError}
|
|
3247
3261
|
*/
|
|
3248
|
-
getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3262
|
+
async getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
|
|
3263
|
+
var _a, _b, _c;
|
|
3264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options);
|
|
3265
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3266
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3267
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3253
3268
|
},
|
|
3254
3269
|
/**
|
|
3255
3270
|
*
|
|
@@ -3274,11 +3289,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3274
3289
|
* @param {*} [options] Override http request option.
|
|
3275
3290
|
* @throws {RequiredError}
|
|
3276
3291
|
*/
|
|
3277
|
-
getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3292
|
+
async getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3293
|
+
var _a, _b, _c;
|
|
3294
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3295
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3296
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3282
3298
|
},
|
|
3283
3299
|
/**
|
|
3284
3300
|
*
|
|
@@ -3303,11 +3319,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3303
3319
|
* @param {*} [options] Override http request option.
|
|
3304
3320
|
* @throws {RequiredError}
|
|
3305
3321
|
*/
|
|
3306
|
-
getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3322
|
+
async getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3323
|
+
var _a, _b, _c;
|
|
3324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3325
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3326
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3311
3328
|
},
|
|
3312
3329
|
/**
|
|
3313
3330
|
*
|
|
@@ -3331,11 +3348,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3331
3348
|
* @param {*} [options] Override http request option.
|
|
3332
3349
|
* @throws {RequiredError}
|
|
3333
3350
|
*/
|
|
3334
|
-
getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3351
|
+
async getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3352
|
+
var _a, _b, _c;
|
|
3353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3354
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3355
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3356
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3339
3357
|
},
|
|
3340
3358
|
/**
|
|
3341
3359
|
*
|
|
@@ -3360,11 +3378,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3360
3378
|
* @param {*} [options] Override http request option.
|
|
3361
3379
|
* @throws {RequiredError}
|
|
3362
3380
|
*/
|
|
3363
|
-
headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3381
|
+
async headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3382
|
+
var _a, _b, _c;
|
|
3383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3384
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3385
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3368
3387
|
},
|
|
3369
3388
|
/**
|
|
3370
3389
|
*
|
|
@@ -3389,11 +3408,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3389
3408
|
* @param {*} [options] Override http request option.
|
|
3390
3409
|
* @throws {RequiredError}
|
|
3391
3410
|
*/
|
|
3392
|
-
headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3411
|
+
async headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3412
|
+
var _a, _b, _c;
|
|
3413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3414
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3415
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3397
3417
|
},
|
|
3398
3418
|
/**
|
|
3399
3419
|
*
|
|
@@ -3418,11 +3438,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3418
3438
|
* @param {*} [options] Override http request option.
|
|
3419
3439
|
* @throws {RequiredError}
|
|
3420
3440
|
*/
|
|
3421
|
-
headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3441
|
+
async headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3442
|
+
var _a, _b, _c;
|
|
3443
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3444
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3445
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3446
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3426
3447
|
},
|
|
3427
3448
|
/**
|
|
3428
3449
|
*
|
|
@@ -3447,11 +3468,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3447
3468
|
* @param {*} [options] Override http request option.
|
|
3448
3469
|
* @throws {RequiredError}
|
|
3449
3470
|
*/
|
|
3450
|
-
headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3471
|
+
async headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3472
|
+
var _a, _b, _c;
|
|
3473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3474
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3475
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3476
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3455
3477
|
},
|
|
3456
3478
|
/**
|
|
3457
3479
|
*
|
|
@@ -3476,11 +3498,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3476
3498
|
* @param {*} [options] Override http request option.
|
|
3477
3499
|
* @throws {RequiredError}
|
|
3478
3500
|
*/
|
|
3479
|
-
headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3501
|
+
async headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3502
|
+
var _a, _b, _c;
|
|
3503
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3504
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3505
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3506
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3484
3507
|
},
|
|
3485
3508
|
/**
|
|
3486
3509
|
*
|
|
@@ -3505,11 +3528,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3505
3528
|
* @param {*} [options] Override http request option.
|
|
3506
3529
|
* @throws {RequiredError}
|
|
3507
3530
|
*/
|
|
3508
|
-
headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3531
|
+
async headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
3532
|
+
var _a, _b, _c;
|
|
3533
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
|
|
3534
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3535
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3536
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3513
3537
|
},
|
|
3514
3538
|
/**
|
|
3515
3539
|
*
|
|
@@ -3534,11 +3558,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3534
3558
|
* @param {*} [options] Override http request option.
|
|
3535
3559
|
* @throws {RequiredError}
|
|
3536
3560
|
*/
|
|
3537
|
-
headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3561
|
+
async headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3562
|
+
var _a, _b, _c;
|
|
3563
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3564
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3565
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3566
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3542
3567
|
},
|
|
3543
3568
|
/**
|
|
3544
3569
|
*
|
|
@@ -3563,11 +3588,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3563
3588
|
* @param {*} [options] Override http request option.
|
|
3564
3589
|
* @throws {RequiredError}
|
|
3565
3590
|
*/
|
|
3566
|
-
headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3591
|
+
async headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3592
|
+
var _a, _b, _c;
|
|
3593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3594
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3595
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3596
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3571
3597
|
},
|
|
3572
3598
|
/**
|
|
3573
3599
|
*
|
|
@@ -3592,11 +3618,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3592
3618
|
* @param {*} [options] Override http request option.
|
|
3593
3619
|
* @throws {RequiredError}
|
|
3594
3620
|
*/
|
|
3595
|
-
headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3621
|
+
async headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3622
|
+
var _a, _b, _c;
|
|
3623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3624
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3625
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3626
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3600
3627
|
},
|
|
3601
3628
|
/**
|
|
3602
3629
|
*
|
|
@@ -3621,11 +3648,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3621
3648
|
* @param {*} [options] Override http request option.
|
|
3622
3649
|
* @throws {RequiredError}
|
|
3623
3650
|
*/
|
|
3624
|
-
headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3651
|
+
async headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3652
|
+
var _a, _b, _c;
|
|
3653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3654
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3655
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3629
3657
|
},
|
|
3630
3658
|
/**
|
|
3631
3659
|
*
|
|
@@ -3650,11 +3678,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3650
3678
|
* @param {*} [options] Override http request option.
|
|
3651
3679
|
* @throws {RequiredError}
|
|
3652
3680
|
*/
|
|
3653
|
-
headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3681
|
+
async headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3682
|
+
var _a, _b, _c;
|
|
3683
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3684
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3685
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3686
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3658
3687
|
},
|
|
3659
3688
|
/**
|
|
3660
3689
|
*
|
|
@@ -3679,11 +3708,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3679
3708
|
* @param {*} [options] Override http request option.
|
|
3680
3709
|
* @throws {RequiredError}
|
|
3681
3710
|
*/
|
|
3682
|
-
headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3711
|
+
async headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3712
|
+
var _a, _b, _c;
|
|
3713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3714
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3715
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3687
3717
|
},
|
|
3688
3718
|
/**
|
|
3689
3719
|
*
|
|
@@ -3707,40 +3737,43 @@ const ImageApiFp = function (configuration) {
|
|
|
3707
3737
|
* @param {*} [options] Override http request option.
|
|
3708
3738
|
* @throws {RequiredError}
|
|
3709
3739
|
*/
|
|
3710
|
-
headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3740
|
+
async headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3741
|
+
var _a, _b, _c;
|
|
3742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3743
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3744
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3745
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3715
3746
|
},
|
|
3716
3747
|
/**
|
|
3717
3748
|
*
|
|
3718
3749
|
* @summary Sets the user image.
|
|
3719
3750
|
* @param {string} [userId] User Id.
|
|
3720
|
-
* @param {
|
|
3751
|
+
* @param {File} [body]
|
|
3721
3752
|
* @param {*} [options] Override http request option.
|
|
3722
3753
|
* @throws {RequiredError}
|
|
3723
3754
|
*/
|
|
3724
|
-
postUserImage(userId, body, options) {
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3755
|
+
async postUserImage(userId, body, options) {
|
|
3756
|
+
var _a, _b, _c;
|
|
3757
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postUserImage(userId, body, options);
|
|
3758
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3759
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.postUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3760
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3729
3761
|
},
|
|
3730
3762
|
/**
|
|
3731
3763
|
*
|
|
3732
3764
|
* @summary Set item image.
|
|
3733
3765
|
* @param {string} itemId Item id.
|
|
3734
3766
|
* @param {ImageType} imageType Image type.
|
|
3735
|
-
* @param {
|
|
3767
|
+
* @param {File} [body]
|
|
3736
3768
|
* @param {*} [options] Override http request option.
|
|
3737
3769
|
* @throws {RequiredError}
|
|
3738
3770
|
*/
|
|
3739
|
-
setItemImage(itemId, imageType, body, options) {
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3771
|
+
async setItemImage(itemId, imageType, body, options) {
|
|
3772
|
+
var _a, _b, _c;
|
|
3773
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
|
|
3774
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3775
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3776
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3744
3777
|
},
|
|
3745
3778
|
/**
|
|
3746
3779
|
*
|
|
@@ -3748,15 +3781,16 @@ const ImageApiFp = function (configuration) {
|
|
|
3748
3781
|
* @param {string} itemId Item id.
|
|
3749
3782
|
* @param {ImageType} imageType Image type.
|
|
3750
3783
|
* @param {number} imageIndex (Unused) Image index.
|
|
3751
|
-
* @param {
|
|
3784
|
+
* @param {File} [body]
|
|
3752
3785
|
* @param {*} [options] Override http request option.
|
|
3753
3786
|
* @throws {RequiredError}
|
|
3754
3787
|
*/
|
|
3755
|
-
setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3788
|
+
async setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
|
|
3789
|
+
var _a, _b, _c;
|
|
3790
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
|
|
3791
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3792
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3793
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3760
3794
|
},
|
|
3761
3795
|
/**
|
|
3762
3796
|
*
|
|
@@ -3768,24 +3802,26 @@ const ImageApiFp = function (configuration) {
|
|
|
3768
3802
|
* @param {*} [options] Override http request option.
|
|
3769
3803
|
* @throws {RequiredError}
|
|
3770
3804
|
*/
|
|
3771
|
-
updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3805
|
+
async updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
|
|
3806
|
+
var _a, _b, _c;
|
|
3807
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
|
|
3808
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3809
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.updateItemImageIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3776
3811
|
},
|
|
3777
3812
|
/**
|
|
3778
3813
|
*
|
|
3779
3814
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
3780
|
-
* @param {
|
|
3815
|
+
* @param {File} [body]
|
|
3781
3816
|
* @param {*} [options] Override http request option.
|
|
3782
3817
|
* @throws {RequiredError}
|
|
3783
3818
|
*/
|
|
3784
|
-
uploadCustomSplashscreen(body, options) {
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3819
|
+
async uploadCustomSplashscreen(body, options) {
|
|
3820
|
+
var _a, _b, _c;
|
|
3821
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
|
|
3822
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3823
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.uploadCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3824
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3789
3825
|
},
|
|
3790
3826
|
};
|
|
3791
3827
|
};
|
|
@@ -3808,800 +3844,362 @@ const ImageApiFactory = function (configuration, basePath, axios) {
|
|
|
3808
3844
|
/**
|
|
3809
3845
|
*
|
|
3810
3846
|
* @summary Delete an item\'s image.
|
|
3811
|
-
* @param {
|
|
3812
|
-
* @param {ImageType} imageType Image type.
|
|
3813
|
-
* @param {number} [imageIndex] The image index.
|
|
3847
|
+
* @param {ImageApiDeleteItemImageRequest} requestParameters Request parameters.
|
|
3814
3848
|
* @param {*} [options] Override http request option.
|
|
3815
3849
|
* @throws {RequiredError}
|
|
3816
3850
|
*/
|
|
3817
|
-
deleteItemImage(
|
|
3818
|
-
return localVarFp.deleteItemImage(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
|
|
3851
|
+
deleteItemImage(requestParameters, options) {
|
|
3852
|
+
return localVarFp.deleteItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3819
3853
|
},
|
|
3820
3854
|
/**
|
|
3821
3855
|
*
|
|
3822
3856
|
* @summary Delete an item\'s image.
|
|
3823
|
-
* @param {
|
|
3824
|
-
* @param {ImageType} imageType Image type.
|
|
3825
|
-
* @param {number} imageIndex The image index.
|
|
3857
|
+
* @param {ImageApiDeleteItemImageByIndexRequest} requestParameters Request parameters.
|
|
3826
3858
|
* @param {*} [options] Override http request option.
|
|
3827
3859
|
* @throws {RequiredError}
|
|
3828
3860
|
*/
|
|
3829
|
-
deleteItemImageByIndex(
|
|
3830
|
-
return localVarFp.deleteItemImageByIndex(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
|
|
3861
|
+
deleteItemImageByIndex(requestParameters, options) {
|
|
3862
|
+
return localVarFp.deleteItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3831
3863
|
},
|
|
3832
3864
|
/**
|
|
3833
3865
|
*
|
|
3834
3866
|
* @summary Delete the user\'s image.
|
|
3835
|
-
* @param {
|
|
3867
|
+
* @param {ImageApiDeleteUserImageRequest} requestParameters Request parameters.
|
|
3836
3868
|
* @param {*} [options] Override http request option.
|
|
3837
3869
|
* @throws {RequiredError}
|
|
3838
3870
|
*/
|
|
3839
|
-
deleteUserImage(
|
|
3840
|
-
return localVarFp.deleteUserImage(userId, options).then((request) => request(axios, basePath));
|
|
3871
|
+
deleteUserImage(requestParameters = {}, options) {
|
|
3872
|
+
return localVarFp.deleteUserImage(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
3841
3873
|
},
|
|
3842
3874
|
/**
|
|
3843
3875
|
*
|
|
3844
3876
|
* @summary Get artist image by name.
|
|
3845
|
-
* @param {
|
|
3846
|
-
* @param {ImageType} imageType Image type.
|
|
3847
|
-
* @param {number} imageIndex Image index.
|
|
3848
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3849
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3850
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3851
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3852
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3853
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3854
|
-
* @param {number} [width] The fixed image width to return.
|
|
3855
|
-
* @param {number} [height] The fixed image height to return.
|
|
3856
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3857
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3858
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3859
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3860
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3861
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3877
|
+
* @param {ImageApiGetArtistImageRequest} requestParameters Request parameters.
|
|
3862
3878
|
* @param {*} [options] Override http request option.
|
|
3863
3879
|
* @throws {RequiredError}
|
|
3864
3880
|
*/
|
|
3865
|
-
getArtistImage(
|
|
3866
|
-
return localVarFp.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3881
|
+
getArtistImage(requestParameters, options) {
|
|
3882
|
+
return localVarFp.getArtistImage(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3867
3883
|
},
|
|
3868
3884
|
/**
|
|
3869
3885
|
*
|
|
3870
3886
|
* @summary Get genre image by name.
|
|
3871
|
-
* @param {
|
|
3872
|
-
* @param {ImageType} imageType Image type.
|
|
3873
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3874
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3875
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3876
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3877
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3878
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3879
|
-
* @param {number} [width] The fixed image width to return.
|
|
3880
|
-
* @param {number} [height] The fixed image height to return.
|
|
3881
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3882
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3883
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3884
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3885
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3886
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3887
|
-
* @param {number} [imageIndex] Image index.
|
|
3887
|
+
* @param {ImageApiGetGenreImageRequest} requestParameters Request parameters.
|
|
3888
3888
|
* @param {*} [options] Override http request option.
|
|
3889
3889
|
* @throws {RequiredError}
|
|
3890
3890
|
*/
|
|
3891
|
-
getGenreImage(
|
|
3892
|
-
return localVarFp.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
3891
|
+
getGenreImage(requestParameters, options) {
|
|
3892
|
+
return localVarFp.getGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3893
3893
|
},
|
|
3894
3894
|
/**
|
|
3895
3895
|
*
|
|
3896
3896
|
* @summary Get genre image by name.
|
|
3897
|
-
* @param {
|
|
3898
|
-
* @param {ImageType} imageType Image type.
|
|
3899
|
-
* @param {number} imageIndex Image index.
|
|
3900
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3901
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3902
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3903
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3904
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3905
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3906
|
-
* @param {number} [width] The fixed image width to return.
|
|
3907
|
-
* @param {number} [height] The fixed image height to return.
|
|
3908
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3909
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3910
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3911
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3912
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3913
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3897
|
+
* @param {ImageApiGetGenreImageByIndexRequest} requestParameters Request parameters.
|
|
3914
3898
|
* @param {*} [options] Override http request option.
|
|
3915
3899
|
* @throws {RequiredError}
|
|
3916
3900
|
*/
|
|
3917
|
-
getGenreImageByIndex(
|
|
3918
|
-
return localVarFp.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3901
|
+
getGenreImageByIndex(requestParameters, options) {
|
|
3902
|
+
return localVarFp.getGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3919
3903
|
},
|
|
3920
3904
|
/**
|
|
3921
3905
|
*
|
|
3922
3906
|
* @summary Gets the item\'s image.
|
|
3923
|
-
* @param {
|
|
3924
|
-
* @param {ImageType} imageType Image type.
|
|
3925
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3926
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3927
|
-
* @param {number} [width] The fixed image width to return.
|
|
3928
|
-
* @param {number} [height] The fixed image height to return.
|
|
3929
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3930
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3931
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3932
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3933
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
3934
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3935
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3936
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3937
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3938
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3939
|
-
* @param {number} [imageIndex] Image index.
|
|
3907
|
+
* @param {ImageApiGetItemImageRequest} requestParameters Request parameters.
|
|
3940
3908
|
* @param {*} [options] Override http request option.
|
|
3941
3909
|
* @throws {RequiredError}
|
|
3942
3910
|
*/
|
|
3943
|
-
getItemImage(
|
|
3944
|
-
return localVarFp.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
3911
|
+
getItemImage(requestParameters, options) {
|
|
3912
|
+
return localVarFp.getItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3945
3913
|
},
|
|
3946
3914
|
/**
|
|
3947
3915
|
*
|
|
3948
3916
|
* @summary Gets the item\'s image.
|
|
3949
|
-
* @param {
|
|
3950
|
-
* @param {ImageType} imageType Image type.
|
|
3951
|
-
* @param {number} maxWidth The maximum image width to return.
|
|
3952
|
-
* @param {number} maxHeight The maximum image height to return.
|
|
3953
|
-
* @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3954
|
-
* @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
|
|
3955
|
-
* @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
|
|
3956
|
-
* @param {number} unplayedCount Optional. Unplayed count overlay to render.
|
|
3957
|
-
* @param {number} imageIndex Image index.
|
|
3958
|
-
* @param {number} [width] The fixed image width to return.
|
|
3959
|
-
* @param {number} [height] The fixed image height to return.
|
|
3960
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3961
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3962
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3963
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3964
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3965
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3917
|
+
* @param {ImageApiGetItemImage2Request} requestParameters Request parameters.
|
|
3966
3918
|
* @param {*} [options] Override http request option.
|
|
3967
3919
|
* @throws {RequiredError}
|
|
3968
3920
|
*/
|
|
3969
|
-
getItemImage2(
|
|
3970
|
-
return localVarFp.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3921
|
+
getItemImage2(requestParameters, options) {
|
|
3922
|
+
return localVarFp.getItemImage2(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.imageIndex, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3971
3923
|
},
|
|
3972
3924
|
/**
|
|
3973
3925
|
*
|
|
3974
3926
|
* @summary Gets the item\'s image.
|
|
3975
|
-
* @param {
|
|
3976
|
-
* @param {ImageType} imageType Image type.
|
|
3977
|
-
* @param {number} imageIndex Image index.
|
|
3978
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3979
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3980
|
-
* @param {number} [width] The fixed image width to return.
|
|
3981
|
-
* @param {number} [height] The fixed image height to return.
|
|
3982
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3983
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3984
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3985
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3986
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
3987
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3988
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3989
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3990
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3991
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3927
|
+
* @param {ImageApiGetItemImageByIndexRequest} requestParameters Request parameters.
|
|
3992
3928
|
* @param {*} [options] Override http request option.
|
|
3993
3929
|
* @throws {RequiredError}
|
|
3994
3930
|
*/
|
|
3995
|
-
getItemImageByIndex(
|
|
3996
|
-
return localVarFp.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3931
|
+
getItemImageByIndex(requestParameters, options) {
|
|
3932
|
+
return localVarFp.getItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3997
3933
|
},
|
|
3998
3934
|
/**
|
|
3999
3935
|
*
|
|
4000
3936
|
* @summary Get item image infos.
|
|
4001
|
-
* @param {
|
|
3937
|
+
* @param {ImageApiGetItemImageInfosRequest} requestParameters Request parameters.
|
|
4002
3938
|
* @param {*} [options] Override http request option.
|
|
4003
3939
|
* @throws {RequiredError}
|
|
4004
3940
|
*/
|
|
4005
|
-
getItemImageInfos(
|
|
4006
|
-
return localVarFp.getItemImageInfos(itemId, options).then((request) => request(axios, basePath));
|
|
3941
|
+
getItemImageInfos(requestParameters, options) {
|
|
3942
|
+
return localVarFp.getItemImageInfos(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
4007
3943
|
},
|
|
4008
3944
|
/**
|
|
4009
3945
|
*
|
|
4010
3946
|
* @summary Get music genre image by name.
|
|
4011
|
-
* @param {
|
|
4012
|
-
* @param {ImageType} imageType Image type.
|
|
4013
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4014
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4015
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4016
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4017
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4018
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4019
|
-
* @param {number} [width] The fixed image width to return.
|
|
4020
|
-
* @param {number} [height] The fixed image height to return.
|
|
4021
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4022
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4023
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4024
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4025
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4026
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4027
|
-
* @param {number} [imageIndex] Image index.
|
|
3947
|
+
* @param {ImageApiGetMusicGenreImageRequest} requestParameters Request parameters.
|
|
4028
3948
|
* @param {*} [options] Override http request option.
|
|
4029
3949
|
* @throws {RequiredError}
|
|
4030
3950
|
*/
|
|
4031
|
-
getMusicGenreImage(
|
|
4032
|
-
return localVarFp.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
3951
|
+
getMusicGenreImage(requestParameters, options) {
|
|
3952
|
+
return localVarFp.getMusicGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4033
3953
|
},
|
|
4034
3954
|
/**
|
|
4035
3955
|
*
|
|
4036
3956
|
* @summary Get music genre image by name.
|
|
4037
|
-
* @param {
|
|
4038
|
-
* @param {ImageType} imageType Image type.
|
|
4039
|
-
* @param {number} imageIndex Image index.
|
|
4040
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4041
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4042
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4043
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4044
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4045
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4046
|
-
* @param {number} [width] The fixed image width to return.
|
|
4047
|
-
* @param {number} [height] The fixed image height to return.
|
|
4048
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4049
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4050
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4051
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4052
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4053
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3957
|
+
* @param {ImageApiGetMusicGenreImageByIndexRequest} requestParameters Request parameters.
|
|
4054
3958
|
* @param {*} [options] Override http request option.
|
|
4055
3959
|
* @throws {RequiredError}
|
|
4056
3960
|
*/
|
|
4057
|
-
getMusicGenreImageByIndex(
|
|
4058
|
-
return localVarFp.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3961
|
+
getMusicGenreImageByIndex(requestParameters, options) {
|
|
3962
|
+
return localVarFp.getMusicGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4059
3963
|
},
|
|
4060
3964
|
/**
|
|
4061
3965
|
*
|
|
4062
3966
|
* @summary Get person image by name.
|
|
4063
|
-
* @param {
|
|
4064
|
-
* @param {ImageType} imageType Image type.
|
|
4065
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4066
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4067
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4068
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4069
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4070
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4071
|
-
* @param {number} [width] The fixed image width to return.
|
|
4072
|
-
* @param {number} [height] The fixed image height to return.
|
|
4073
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4074
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4075
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4076
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4077
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4078
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4079
|
-
* @param {number} [imageIndex] Image index.
|
|
3967
|
+
* @param {ImageApiGetPersonImageRequest} requestParameters Request parameters.
|
|
4080
3968
|
* @param {*} [options] Override http request option.
|
|
4081
3969
|
* @throws {RequiredError}
|
|
4082
3970
|
*/
|
|
4083
|
-
getPersonImage(
|
|
4084
|
-
return localVarFp.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
3971
|
+
getPersonImage(requestParameters, options) {
|
|
3972
|
+
return localVarFp.getPersonImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4085
3973
|
},
|
|
4086
3974
|
/**
|
|
4087
3975
|
*
|
|
4088
3976
|
* @summary Get person image by name.
|
|
4089
|
-
* @param {
|
|
4090
|
-
* @param {ImageType} imageType Image type.
|
|
4091
|
-
* @param {number} imageIndex Image index.
|
|
4092
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4093
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4094
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4095
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4096
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4097
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4098
|
-
* @param {number} [width] The fixed image width to return.
|
|
4099
|
-
* @param {number} [height] The fixed image height to return.
|
|
4100
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4101
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4102
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4103
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4104
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4105
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3977
|
+
* @param {ImageApiGetPersonImageByIndexRequest} requestParameters Request parameters.
|
|
4106
3978
|
* @param {*} [options] Override http request option.
|
|
4107
3979
|
* @throws {RequiredError}
|
|
4108
3980
|
*/
|
|
4109
|
-
getPersonImageByIndex(
|
|
4110
|
-
return localVarFp.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
3981
|
+
getPersonImageByIndex(requestParameters, options) {
|
|
3982
|
+
return localVarFp.getPersonImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4111
3983
|
},
|
|
4112
3984
|
/**
|
|
4113
3985
|
*
|
|
4114
3986
|
* @summary Generates or gets the splashscreen.
|
|
4115
|
-
* @param {
|
|
4116
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4117
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4118
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4119
|
-
* @param {number} [width] The fixed image width to return.
|
|
4120
|
-
* @param {number} [height] The fixed image height to return.
|
|
4121
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4122
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4123
|
-
* @param {number} [blur] Blur image.
|
|
4124
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
4125
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
4126
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
3987
|
+
* @param {ImageApiGetSplashscreenRequest} requestParameters Request parameters.
|
|
4127
3988
|
* @param {*} [options] Override http request option.
|
|
4128
3989
|
* @throws {RequiredError}
|
|
4129
3990
|
*/
|
|
4130
|
-
getSplashscreen(
|
|
4131
|
-
return localVarFp.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options).then((request) => request(axios, basePath));
|
|
3991
|
+
getSplashscreen(requestParameters = {}, options) {
|
|
3992
|
+
return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.quality, options).then((request) => request(axios, basePath));
|
|
4132
3993
|
},
|
|
4133
3994
|
/**
|
|
4134
3995
|
*
|
|
4135
3996
|
* @summary Get studio image by name.
|
|
4136
|
-
* @param {
|
|
4137
|
-
* @param {ImageType} imageType Image type.
|
|
4138
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4139
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4140
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4141
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4142
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4143
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4144
|
-
* @param {number} [width] The fixed image width to return.
|
|
4145
|
-
* @param {number} [height] The fixed image height to return.
|
|
4146
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4147
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4148
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4149
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4150
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4151
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4152
|
-
* @param {number} [imageIndex] Image index.
|
|
3997
|
+
* @param {ImageApiGetStudioImageRequest} requestParameters Request parameters.
|
|
4153
3998
|
* @param {*} [options] Override http request option.
|
|
4154
3999
|
* @throws {RequiredError}
|
|
4155
4000
|
*/
|
|
4156
|
-
getStudioImage(
|
|
4157
|
-
return localVarFp.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4001
|
+
getStudioImage(requestParameters, options) {
|
|
4002
|
+
return localVarFp.getStudioImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4158
4003
|
},
|
|
4159
4004
|
/**
|
|
4160
4005
|
*
|
|
4161
4006
|
* @summary Get studio image by name.
|
|
4162
|
-
* @param {
|
|
4163
|
-
* @param {ImageType} imageType Image type.
|
|
4164
|
-
* @param {number} imageIndex Image index.
|
|
4165
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4166
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4167
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4168
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4169
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4170
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4171
|
-
* @param {number} [width] The fixed image width to return.
|
|
4172
|
-
* @param {number} [height] The fixed image height to return.
|
|
4173
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4174
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4175
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4176
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4177
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4178
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4007
|
+
* @param {ImageApiGetStudioImageByIndexRequest} requestParameters Request parameters.
|
|
4179
4008
|
* @param {*} [options] Override http request option.
|
|
4180
4009
|
* @throws {RequiredError}
|
|
4181
4010
|
*/
|
|
4182
|
-
getStudioImageByIndex(
|
|
4183
|
-
return localVarFp.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4011
|
+
getStudioImageByIndex(requestParameters, options) {
|
|
4012
|
+
return localVarFp.getStudioImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4184
4013
|
},
|
|
4185
4014
|
/**
|
|
4186
4015
|
*
|
|
4187
4016
|
* @summary Get user profile image.
|
|
4188
|
-
* @param {
|
|
4189
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4190
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4191
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4192
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4193
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4194
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4195
|
-
* @param {number} [width] The fixed image width to return.
|
|
4196
|
-
* @param {number} [height] The fixed image height to return.
|
|
4197
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4198
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4199
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4200
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4201
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4202
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4203
|
-
* @param {number} [imageIndex] Image index.
|
|
4017
|
+
* @param {ImageApiGetUserImageRequest} requestParameters Request parameters.
|
|
4204
4018
|
* @param {*} [options] Override http request option.
|
|
4205
4019
|
* @throws {RequiredError}
|
|
4206
4020
|
*/
|
|
4207
|
-
getUserImage(
|
|
4208
|
-
return localVarFp.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4021
|
+
getUserImage(requestParameters = {}, options) {
|
|
4022
|
+
return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4209
4023
|
},
|
|
4210
4024
|
/**
|
|
4211
4025
|
*
|
|
4212
4026
|
* @summary Get artist image by name.
|
|
4213
|
-
* @param {
|
|
4214
|
-
* @param {ImageType} imageType Image type.
|
|
4215
|
-
* @param {number} imageIndex Image index.
|
|
4216
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4217
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4218
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4219
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4220
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4221
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4222
|
-
* @param {number} [width] The fixed image width to return.
|
|
4223
|
-
* @param {number} [height] The fixed image height to return.
|
|
4224
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4225
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4226
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4227
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4228
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4229
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4027
|
+
* @param {ImageApiHeadArtistImageRequest} requestParameters Request parameters.
|
|
4230
4028
|
* @param {*} [options] Override http request option.
|
|
4231
4029
|
* @throws {RequiredError}
|
|
4232
4030
|
*/
|
|
4233
|
-
headArtistImage(
|
|
4234
|
-
return localVarFp.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4031
|
+
headArtistImage(requestParameters, options) {
|
|
4032
|
+
return localVarFp.headArtistImage(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4235
4033
|
},
|
|
4236
4034
|
/**
|
|
4237
4035
|
*
|
|
4238
4036
|
* @summary Get genre image by name.
|
|
4239
|
-
* @param {
|
|
4240
|
-
* @param {ImageType} imageType Image type.
|
|
4241
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4242
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4243
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4244
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4245
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4246
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4247
|
-
* @param {number} [width] The fixed image width to return.
|
|
4248
|
-
* @param {number} [height] The fixed image height to return.
|
|
4249
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4250
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4251
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4252
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4253
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4254
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4255
|
-
* @param {number} [imageIndex] Image index.
|
|
4037
|
+
* @param {ImageApiHeadGenreImageRequest} requestParameters Request parameters.
|
|
4256
4038
|
* @param {*} [options] Override http request option.
|
|
4257
4039
|
* @throws {RequiredError}
|
|
4258
4040
|
*/
|
|
4259
|
-
headGenreImage(
|
|
4260
|
-
return localVarFp.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4041
|
+
headGenreImage(requestParameters, options) {
|
|
4042
|
+
return localVarFp.headGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4261
4043
|
},
|
|
4262
4044
|
/**
|
|
4263
4045
|
*
|
|
4264
4046
|
* @summary Get genre image by name.
|
|
4265
|
-
* @param {
|
|
4266
|
-
* @param {ImageType} imageType Image type.
|
|
4267
|
-
* @param {number} imageIndex Image index.
|
|
4268
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4269
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4270
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4271
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4272
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4273
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4274
|
-
* @param {number} [width] The fixed image width to return.
|
|
4275
|
-
* @param {number} [height] The fixed image height to return.
|
|
4276
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4277
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4278
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4279
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4280
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4281
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4047
|
+
* @param {ImageApiHeadGenreImageByIndexRequest} requestParameters Request parameters.
|
|
4282
4048
|
* @param {*} [options] Override http request option.
|
|
4283
4049
|
* @throws {RequiredError}
|
|
4284
4050
|
*/
|
|
4285
|
-
headGenreImageByIndex(
|
|
4286
|
-
return localVarFp.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4051
|
+
headGenreImageByIndex(requestParameters, options) {
|
|
4052
|
+
return localVarFp.headGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4287
4053
|
},
|
|
4288
4054
|
/**
|
|
4289
4055
|
*
|
|
4290
4056
|
* @summary Gets the item\'s image.
|
|
4291
|
-
* @param {
|
|
4292
|
-
* @param {ImageType} imageType Image type.
|
|
4293
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4294
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4295
|
-
* @param {number} [width] The fixed image width to return.
|
|
4296
|
-
* @param {number} [height] The fixed image height to return.
|
|
4297
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4298
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4299
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4300
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4301
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
4302
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4303
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4304
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4305
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4306
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4307
|
-
* @param {number} [imageIndex] Image index.
|
|
4057
|
+
* @param {ImageApiHeadItemImageRequest} requestParameters Request parameters.
|
|
4308
4058
|
* @param {*} [options] Override http request option.
|
|
4309
4059
|
* @throws {RequiredError}
|
|
4310
4060
|
*/
|
|
4311
|
-
headItemImage(
|
|
4312
|
-
return localVarFp.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4061
|
+
headItemImage(requestParameters, options) {
|
|
4062
|
+
return localVarFp.headItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4313
4063
|
},
|
|
4314
4064
|
/**
|
|
4315
4065
|
*
|
|
4316
4066
|
* @summary Gets the item\'s image.
|
|
4317
|
-
* @param {
|
|
4318
|
-
* @param {ImageType} imageType Image type.
|
|
4319
|
-
* @param {number} maxWidth The maximum image width to return.
|
|
4320
|
-
* @param {number} maxHeight The maximum image height to return.
|
|
4321
|
-
* @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4322
|
-
* @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
|
|
4323
|
-
* @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
|
|
4324
|
-
* @param {number} unplayedCount Optional. Unplayed count overlay to render.
|
|
4325
|
-
* @param {number} imageIndex Image index.
|
|
4326
|
-
* @param {number} [width] The fixed image width to return.
|
|
4327
|
-
* @param {number} [height] The fixed image height to return.
|
|
4328
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4329
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4330
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4331
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4332
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4333
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4067
|
+
* @param {ImageApiHeadItemImage2Request} requestParameters Request parameters.
|
|
4334
4068
|
* @param {*} [options] Override http request option.
|
|
4335
4069
|
* @throws {RequiredError}
|
|
4336
4070
|
*/
|
|
4337
|
-
headItemImage2(
|
|
4338
|
-
return localVarFp.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4071
|
+
headItemImage2(requestParameters, options) {
|
|
4072
|
+
return localVarFp.headItemImage2(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.imageIndex, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4339
4073
|
},
|
|
4340
4074
|
/**
|
|
4341
4075
|
*
|
|
4342
4076
|
* @summary Gets the item\'s image.
|
|
4343
|
-
* @param {
|
|
4344
|
-
* @param {ImageType} imageType Image type.
|
|
4345
|
-
* @param {number} imageIndex Image index.
|
|
4346
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4347
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4348
|
-
* @param {number} [width] The fixed image width to return.
|
|
4349
|
-
* @param {number} [height] The fixed image height to return.
|
|
4350
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4351
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4352
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4353
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4354
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
4355
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4356
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4357
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4358
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4359
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4077
|
+
* @param {ImageApiHeadItemImageByIndexRequest} requestParameters Request parameters.
|
|
4360
4078
|
* @param {*} [options] Override http request option.
|
|
4361
4079
|
* @throws {RequiredError}
|
|
4362
4080
|
*/
|
|
4363
|
-
headItemImageByIndex(
|
|
4364
|
-
return localVarFp.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4081
|
+
headItemImageByIndex(requestParameters, options) {
|
|
4082
|
+
return localVarFp.headItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4365
4083
|
},
|
|
4366
4084
|
/**
|
|
4367
4085
|
*
|
|
4368
4086
|
* @summary Get music genre image by name.
|
|
4369
|
-
* @param {
|
|
4370
|
-
* @param {ImageType} imageType Image type.
|
|
4371
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4372
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4373
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4374
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4375
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4376
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4377
|
-
* @param {number} [width] The fixed image width to return.
|
|
4378
|
-
* @param {number} [height] The fixed image height to return.
|
|
4379
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4380
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4381
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4382
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4383
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4384
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4385
|
-
* @param {number} [imageIndex] Image index.
|
|
4087
|
+
* @param {ImageApiHeadMusicGenreImageRequest} requestParameters Request parameters.
|
|
4386
4088
|
* @param {*} [options] Override http request option.
|
|
4387
4089
|
* @throws {RequiredError}
|
|
4388
4090
|
*/
|
|
4389
|
-
headMusicGenreImage(
|
|
4390
|
-
return localVarFp.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4091
|
+
headMusicGenreImage(requestParameters, options) {
|
|
4092
|
+
return localVarFp.headMusicGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4391
4093
|
},
|
|
4392
4094
|
/**
|
|
4393
4095
|
*
|
|
4394
4096
|
* @summary Get music genre image by name.
|
|
4395
|
-
* @param {
|
|
4396
|
-
* @param {ImageType} imageType Image type.
|
|
4397
|
-
* @param {number} imageIndex Image index.
|
|
4398
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4399
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4400
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4401
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4402
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4403
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4404
|
-
* @param {number} [width] The fixed image width to return.
|
|
4405
|
-
* @param {number} [height] The fixed image height to return.
|
|
4406
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4407
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4408
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4409
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4410
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4411
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4097
|
+
* @param {ImageApiHeadMusicGenreImageByIndexRequest} requestParameters Request parameters.
|
|
4412
4098
|
* @param {*} [options] Override http request option.
|
|
4413
4099
|
* @throws {RequiredError}
|
|
4414
4100
|
*/
|
|
4415
|
-
headMusicGenreImageByIndex(
|
|
4416
|
-
return localVarFp.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4101
|
+
headMusicGenreImageByIndex(requestParameters, options) {
|
|
4102
|
+
return localVarFp.headMusicGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4417
4103
|
},
|
|
4418
4104
|
/**
|
|
4419
4105
|
*
|
|
4420
4106
|
* @summary Get person image by name.
|
|
4421
|
-
* @param {
|
|
4422
|
-
* @param {ImageType} imageType Image type.
|
|
4423
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4424
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4425
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4426
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4427
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4428
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4429
|
-
* @param {number} [width] The fixed image width to return.
|
|
4430
|
-
* @param {number} [height] The fixed image height to return.
|
|
4431
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4432
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4433
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4434
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4435
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4436
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4437
|
-
* @param {number} [imageIndex] Image index.
|
|
4107
|
+
* @param {ImageApiHeadPersonImageRequest} requestParameters Request parameters.
|
|
4438
4108
|
* @param {*} [options] Override http request option.
|
|
4439
4109
|
* @throws {RequiredError}
|
|
4440
4110
|
*/
|
|
4441
|
-
headPersonImage(
|
|
4442
|
-
return localVarFp.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4111
|
+
headPersonImage(requestParameters, options) {
|
|
4112
|
+
return localVarFp.headPersonImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4443
4113
|
},
|
|
4444
4114
|
/**
|
|
4445
4115
|
*
|
|
4446
4116
|
* @summary Get person image by name.
|
|
4447
|
-
* @param {
|
|
4448
|
-
* @param {ImageType} imageType Image type.
|
|
4449
|
-
* @param {number} imageIndex Image index.
|
|
4450
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4451
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4452
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4453
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4454
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4455
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4456
|
-
* @param {number} [width] The fixed image width to return.
|
|
4457
|
-
* @param {number} [height] The fixed image height to return.
|
|
4458
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4459
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4460
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4461
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4462
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4463
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4117
|
+
* @param {ImageApiHeadPersonImageByIndexRequest} requestParameters Request parameters.
|
|
4464
4118
|
* @param {*} [options] Override http request option.
|
|
4465
4119
|
* @throws {RequiredError}
|
|
4466
4120
|
*/
|
|
4467
|
-
headPersonImageByIndex(
|
|
4468
|
-
return localVarFp.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4121
|
+
headPersonImageByIndex(requestParameters, options) {
|
|
4122
|
+
return localVarFp.headPersonImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4469
4123
|
},
|
|
4470
4124
|
/**
|
|
4471
4125
|
*
|
|
4472
4126
|
* @summary Get studio image by name.
|
|
4473
|
-
* @param {
|
|
4474
|
-
* @param {ImageType} imageType Image type.
|
|
4475
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4476
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4477
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4478
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4479
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4480
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4481
|
-
* @param {number} [width] The fixed image width to return.
|
|
4482
|
-
* @param {number} [height] The fixed image height to return.
|
|
4483
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4484
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4485
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4486
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4487
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4488
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4489
|
-
* @param {number} [imageIndex] Image index.
|
|
4127
|
+
* @param {ImageApiHeadStudioImageRequest} requestParameters Request parameters.
|
|
4490
4128
|
* @param {*} [options] Override http request option.
|
|
4491
4129
|
* @throws {RequiredError}
|
|
4492
4130
|
*/
|
|
4493
|
-
headStudioImage(
|
|
4494
|
-
return localVarFp.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4131
|
+
headStudioImage(requestParameters, options) {
|
|
4132
|
+
return localVarFp.headStudioImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4495
4133
|
},
|
|
4496
4134
|
/**
|
|
4497
4135
|
*
|
|
4498
4136
|
* @summary Get studio image by name.
|
|
4499
|
-
* @param {
|
|
4500
|
-
* @param {ImageType} imageType Image type.
|
|
4501
|
-
* @param {number} imageIndex Image index.
|
|
4502
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4503
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4504
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4505
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4506
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4507
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4508
|
-
* @param {number} [width] The fixed image width to return.
|
|
4509
|
-
* @param {number} [height] The fixed image height to return.
|
|
4510
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4511
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4512
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4513
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4514
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4515
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4137
|
+
* @param {ImageApiHeadStudioImageByIndexRequest} requestParameters Request parameters.
|
|
4516
4138
|
* @param {*} [options] Override http request option.
|
|
4517
4139
|
* @throws {RequiredError}
|
|
4518
4140
|
*/
|
|
4519
|
-
headStudioImageByIndex(
|
|
4520
|
-
return localVarFp.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4141
|
+
headStudioImageByIndex(requestParameters, options) {
|
|
4142
|
+
return localVarFp.headStudioImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
|
|
4521
4143
|
},
|
|
4522
4144
|
/**
|
|
4523
4145
|
*
|
|
4524
4146
|
* @summary Get user profile image.
|
|
4525
|
-
* @param {
|
|
4526
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4527
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4528
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4529
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4530
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4531
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4532
|
-
* @param {number} [width] The fixed image width to return.
|
|
4533
|
-
* @param {number} [height] The fixed image height to return.
|
|
4534
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4535
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4536
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4537
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4538
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4539
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4540
|
-
* @param {number} [imageIndex] Image index.
|
|
4147
|
+
* @param {ImageApiHeadUserImageRequest} requestParameters Request parameters.
|
|
4541
4148
|
* @param {*} [options] Override http request option.
|
|
4542
4149
|
* @throws {RequiredError}
|
|
4543
4150
|
*/
|
|
4544
|
-
headUserImage(
|
|
4545
|
-
return localVarFp.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
|
|
4151
|
+
headUserImage(requestParameters = {}, options) {
|
|
4152
|
+
return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
4546
4153
|
},
|
|
4547
4154
|
/**
|
|
4548
4155
|
*
|
|
4549
4156
|
* @summary Sets the user image.
|
|
4550
|
-
* @param {
|
|
4551
|
-
* @param {any} [body]
|
|
4157
|
+
* @param {ImageApiPostUserImageRequest} requestParameters Request parameters.
|
|
4552
4158
|
* @param {*} [options] Override http request option.
|
|
4553
4159
|
* @throws {RequiredError}
|
|
4554
4160
|
*/
|
|
4555
|
-
postUserImage(
|
|
4556
|
-
return localVarFp.postUserImage(userId, body, options).then((request) => request(axios, basePath));
|
|
4161
|
+
postUserImage(requestParameters = {}, options) {
|
|
4162
|
+
return localVarFp.postUserImage(requestParameters.userId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4557
4163
|
},
|
|
4558
4164
|
/**
|
|
4559
4165
|
*
|
|
4560
4166
|
* @summary Set item image.
|
|
4561
|
-
* @param {
|
|
4562
|
-
* @param {ImageType} imageType Image type.
|
|
4563
|
-
* @param {any} [body]
|
|
4167
|
+
* @param {ImageApiSetItemImageRequest} requestParameters Request parameters.
|
|
4564
4168
|
* @param {*} [options] Override http request option.
|
|
4565
4169
|
* @throws {RequiredError}
|
|
4566
4170
|
*/
|
|
4567
|
-
setItemImage(
|
|
4568
|
-
return localVarFp.setItemImage(itemId, imageType, body, options).then((request) => request(axios, basePath));
|
|
4171
|
+
setItemImage(requestParameters, options) {
|
|
4172
|
+
return localVarFp.setItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4569
4173
|
},
|
|
4570
4174
|
/**
|
|
4571
4175
|
*
|
|
4572
4176
|
* @summary Set item image.
|
|
4573
|
-
* @param {
|
|
4574
|
-
* @param {ImageType} imageType Image type.
|
|
4575
|
-
* @param {number} imageIndex (Unused) Image index.
|
|
4576
|
-
* @param {any} [body]
|
|
4177
|
+
* @param {ImageApiSetItemImageByIndexRequest} requestParameters Request parameters.
|
|
4577
4178
|
* @param {*} [options] Override http request option.
|
|
4578
4179
|
* @throws {RequiredError}
|
|
4579
4180
|
*/
|
|
4580
|
-
setItemImageByIndex(
|
|
4581
|
-
return localVarFp.setItemImageByIndex(itemId, imageType, imageIndex, body, options).then((request) => request(axios, basePath));
|
|
4181
|
+
setItemImageByIndex(requestParameters, options) {
|
|
4182
|
+
return localVarFp.setItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4582
4183
|
},
|
|
4583
4184
|
/**
|
|
4584
4185
|
*
|
|
4585
4186
|
* @summary Updates the index for an item image.
|
|
4586
|
-
* @param {
|
|
4587
|
-
* @param {ImageType} imageType Image type.
|
|
4588
|
-
* @param {number} imageIndex Old image index.
|
|
4589
|
-
* @param {number} newIndex New image index.
|
|
4187
|
+
* @param {ImageApiUpdateItemImageIndexRequest} requestParameters Request parameters.
|
|
4590
4188
|
* @param {*} [options] Override http request option.
|
|
4591
4189
|
* @throws {RequiredError}
|
|
4592
4190
|
*/
|
|
4593
|
-
updateItemImageIndex(
|
|
4594
|
-
return localVarFp.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options).then((request) => request(axios, basePath));
|
|
4191
|
+
updateItemImageIndex(requestParameters, options) {
|
|
4192
|
+
return localVarFp.updateItemImageIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.newIndex, options).then((request) => request(axios, basePath));
|
|
4595
4193
|
},
|
|
4596
4194
|
/**
|
|
4597
4195
|
*
|
|
4598
4196
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
4599
|
-
* @param {
|
|
4197
|
+
* @param {ImageApiUploadCustomSplashscreenRequest} requestParameters Request parameters.
|
|
4600
4198
|
* @param {*} [options] Override http request option.
|
|
4601
4199
|
* @throws {RequiredError}
|
|
4602
4200
|
*/
|
|
4603
|
-
uploadCustomSplashscreen(
|
|
4604
|
-
return localVarFp.uploadCustomSplashscreen(body, options).then((request) => request(axios, basePath));
|
|
4201
|
+
uploadCustomSplashscreen(requestParameters = {}, options) {
|
|
4202
|
+
return localVarFp.uploadCustomSplashscreen(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4605
4203
|
},
|
|
4606
4204
|
};
|
|
4607
4205
|
};
|