@jellyfin/sdk 0.10.0 → 0.12.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/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +35 -19
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- 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 +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +24 -13
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +30 -63
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +94 -57
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +16 -25
- package/lib/generated-client/api.d.ts +2 -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 +4 -4
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +11 -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/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- 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/branding-options-dto.d.ts +35 -0
- 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/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- 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 +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- 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-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +29 -6
- 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 +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- 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/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- 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 +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- 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/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- 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/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -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 +8 -2
- 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-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- 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-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -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 +2 -2
- 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 +29 -23
- 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/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- 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-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- 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-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- 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 +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -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-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -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 +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- 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/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/utils/address-candidates.js +15 -10
- 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 +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists,
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -1122,20 +1122,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1122
|
* @summary Generates or gets the splashscreen.
|
|
1123
1123
|
* @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
|
|
1124
1124
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
1125
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
1126
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
1127
|
-
* @param {number} [width] The fixed image width to return.
|
|
1128
|
-
* @param {number} [height] The fixed image height to return.
|
|
1129
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
1130
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
1131
|
-
* @param {number} [blur] Blur image.
|
|
1132
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
1133
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
1134
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
1135
1125
|
* @param {*} [options] Override http request option.
|
|
1136
1126
|
* @throws {RequiredError}
|
|
1137
1127
|
*/
|
|
1138
|
-
getSplashscreen: async (tag, format,
|
|
1128
|
+
getSplashscreen: async (tag, format, options = {}) => {
|
|
1139
1129
|
const localVarPath = `/Branding/Splashscreen`;
|
|
1140
1130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1141
1131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1152,36 +1142,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1152
1142
|
if (format !== undefined) {
|
|
1153
1143
|
localVarQueryParameter['format'] = format;
|
|
1154
1144
|
}
|
|
1155
|
-
if (maxWidth !== undefined) {
|
|
1156
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
1157
|
-
}
|
|
1158
|
-
if (maxHeight !== undefined) {
|
|
1159
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
1160
|
-
}
|
|
1161
|
-
if (width !== undefined) {
|
|
1162
|
-
localVarQueryParameter['width'] = width;
|
|
1163
|
-
}
|
|
1164
|
-
if (height !== undefined) {
|
|
1165
|
-
localVarQueryParameter['height'] = height;
|
|
1166
|
-
}
|
|
1167
|
-
if (fillWidth !== undefined) {
|
|
1168
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
1169
|
-
}
|
|
1170
|
-
if (fillHeight !== undefined) {
|
|
1171
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
1172
|
-
}
|
|
1173
|
-
if (blur !== undefined) {
|
|
1174
|
-
localVarQueryParameter['blur'] = blur;
|
|
1175
|
-
}
|
|
1176
|
-
if (backgroundColor !== undefined) {
|
|
1177
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
1178
|
-
}
|
|
1179
|
-
if (foregroundLayer !== undefined) {
|
|
1180
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
1181
|
-
}
|
|
1182
|
-
if (quality !== undefined) {
|
|
1183
|
-
localVarQueryParameter['quality'] = quality;
|
|
1184
|
-
}
|
|
1185
1145
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1186
1146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1187
1147
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1382,23 +1342,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1382
1342
|
* @param {string} [userId] User id.
|
|
1383
1343
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
1384
1344
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
1385
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
1386
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
1387
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
1388
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
1389
|
-
* @param {number} [width] The fixed image width to return.
|
|
1390
|
-
* @param {number} [height] The fixed image height to return.
|
|
1391
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
1392
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
1393
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
1394
|
-
* @param {number} [blur] Optional. Blur image.
|
|
1395
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
1396
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
1397
|
-
* @param {number} [imageIndex] Image index.
|
|
1398
1345
|
* @param {*} [options] Override http request option.
|
|
1399
1346
|
* @throws {RequiredError}
|
|
1400
1347
|
*/
|
|
1401
|
-
getUserImage: async (userId, tag, format,
|
|
1348
|
+
getUserImage: async (userId, tag, format, options = {}) => {
|
|
1402
1349
|
const localVarPath = `/UserImage`;
|
|
1403
1350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1404
1351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1418,45 +1365,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1418
1365
|
if (format !== undefined) {
|
|
1419
1366
|
localVarQueryParameter['format'] = format;
|
|
1420
1367
|
}
|
|
1421
|
-
if (maxWidth !== undefined) {
|
|
1422
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
1423
|
-
}
|
|
1424
|
-
if (maxHeight !== undefined) {
|
|
1425
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
1426
|
-
}
|
|
1427
|
-
if (percentPlayed !== undefined) {
|
|
1428
|
-
localVarQueryParameter['percentPlayed'] = percentPlayed;
|
|
1429
|
-
}
|
|
1430
|
-
if (unplayedCount !== undefined) {
|
|
1431
|
-
localVarQueryParameter['unplayedCount'] = unplayedCount;
|
|
1432
|
-
}
|
|
1433
|
-
if (width !== undefined) {
|
|
1434
|
-
localVarQueryParameter['width'] = width;
|
|
1435
|
-
}
|
|
1436
|
-
if (height !== undefined) {
|
|
1437
|
-
localVarQueryParameter['height'] = height;
|
|
1438
|
-
}
|
|
1439
|
-
if (quality !== undefined) {
|
|
1440
|
-
localVarQueryParameter['quality'] = quality;
|
|
1441
|
-
}
|
|
1442
|
-
if (fillWidth !== undefined) {
|
|
1443
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
1444
|
-
}
|
|
1445
|
-
if (fillHeight !== undefined) {
|
|
1446
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
1447
|
-
}
|
|
1448
|
-
if (blur !== undefined) {
|
|
1449
|
-
localVarQueryParameter['blur'] = blur;
|
|
1450
|
-
}
|
|
1451
|
-
if (backgroundColor !== undefined) {
|
|
1452
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
1453
|
-
}
|
|
1454
|
-
if (foregroundLayer !== undefined) {
|
|
1455
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
1456
|
-
}
|
|
1457
|
-
if (imageIndex !== undefined) {
|
|
1458
|
-
localVarQueryParameter['imageIndex'] = imageIndex;
|
|
1459
|
-
}
|
|
1460
1368
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1461
1369
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1462
1370
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2587,23 +2495,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2587
2495
|
* @param {string} [userId] User id.
|
|
2588
2496
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
2589
2497
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
2590
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
2591
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
2592
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
2593
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
2594
|
-
* @param {number} [width] The fixed image width to return.
|
|
2595
|
-
* @param {number} [height] The fixed image height to return.
|
|
2596
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
2597
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
2598
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
2599
|
-
* @param {number} [blur] Optional. Blur image.
|
|
2600
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
2601
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
2602
|
-
* @param {number} [imageIndex] Image index.
|
|
2603
2498
|
* @param {*} [options] Override http request option.
|
|
2604
2499
|
* @throws {RequiredError}
|
|
2605
2500
|
*/
|
|
2606
|
-
headUserImage: async (userId, tag, format,
|
|
2501
|
+
headUserImage: async (userId, tag, format, options = {}) => {
|
|
2607
2502
|
const localVarPath = `/UserImage`;
|
|
2608
2503
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2609
2504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2623,45 +2518,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2623
2518
|
if (format !== undefined) {
|
|
2624
2519
|
localVarQueryParameter['format'] = format;
|
|
2625
2520
|
}
|
|
2626
|
-
if (maxWidth !== undefined) {
|
|
2627
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
2628
|
-
}
|
|
2629
|
-
if (maxHeight !== undefined) {
|
|
2630
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
2631
|
-
}
|
|
2632
|
-
if (percentPlayed !== undefined) {
|
|
2633
|
-
localVarQueryParameter['percentPlayed'] = percentPlayed;
|
|
2634
|
-
}
|
|
2635
|
-
if (unplayedCount !== undefined) {
|
|
2636
|
-
localVarQueryParameter['unplayedCount'] = unplayedCount;
|
|
2637
|
-
}
|
|
2638
|
-
if (width !== undefined) {
|
|
2639
|
-
localVarQueryParameter['width'] = width;
|
|
2640
|
-
}
|
|
2641
|
-
if (height !== undefined) {
|
|
2642
|
-
localVarQueryParameter['height'] = height;
|
|
2643
|
-
}
|
|
2644
|
-
if (quality !== undefined) {
|
|
2645
|
-
localVarQueryParameter['quality'] = quality;
|
|
2646
|
-
}
|
|
2647
|
-
if (fillWidth !== undefined) {
|
|
2648
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
2649
|
-
}
|
|
2650
|
-
if (fillHeight !== undefined) {
|
|
2651
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
2652
|
-
}
|
|
2653
|
-
if (blur !== undefined) {
|
|
2654
|
-
localVarQueryParameter['blur'] = blur;
|
|
2655
|
-
}
|
|
2656
|
-
if (backgroundColor !== undefined) {
|
|
2657
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
2658
|
-
}
|
|
2659
|
-
if (foregroundLayer !== undefined) {
|
|
2660
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
2661
|
-
}
|
|
2662
|
-
if (imageIndex !== undefined) {
|
|
2663
|
-
localVarQueryParameter['imageIndex'] = imageIndex;
|
|
2664
|
-
}
|
|
2665
2521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2666
2522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2667
2523
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2674,7 +2530,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2674
2530
|
*
|
|
2675
2531
|
* @summary Sets the user image.
|
|
2676
2532
|
* @param {string} [userId] User Id.
|
|
2677
|
-
* @param {
|
|
2533
|
+
* @param {File} [body]
|
|
2678
2534
|
* @param {*} [options] Override http request option.
|
|
2679
2535
|
* @throws {RequiredError}
|
|
2680
2536
|
*/
|
|
@@ -2694,7 +2550,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2694
2550
|
if (userId !== undefined) {
|
|
2695
2551
|
localVarQueryParameter['userId'] = userId;
|
|
2696
2552
|
}
|
|
2697
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2553
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2698
2554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2699
2555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2700
2556
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2709,7 +2565,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2709
2565
|
* @summary Set item image.
|
|
2710
2566
|
* @param {string} itemId Item id.
|
|
2711
2567
|
* @param {ImageType} imageType Image type.
|
|
2712
|
-
* @param {
|
|
2568
|
+
* @param {File} [body]
|
|
2713
2569
|
* @param {*} [options] Override http request option.
|
|
2714
2570
|
* @throws {RequiredError}
|
|
2715
2571
|
*/
|
|
@@ -2732,7 +2588,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2732
2588
|
const localVarQueryParameter = {};
|
|
2733
2589
|
// authentication CustomAuthentication required
|
|
2734
2590
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2735
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2591
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2736
2592
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2737
2593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2738
2594
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2748,7 +2604,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2748
2604
|
* @param {string} itemId Item id.
|
|
2749
2605
|
* @param {ImageType} imageType Image type.
|
|
2750
2606
|
* @param {number} imageIndex (Unused) Image index.
|
|
2751
|
-
* @param {
|
|
2607
|
+
* @param {File} [body]
|
|
2752
2608
|
* @param {*} [options] Override http request option.
|
|
2753
2609
|
* @throws {RequiredError}
|
|
2754
2610
|
*/
|
|
@@ -2774,7 +2630,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2774
2630
|
const localVarQueryParameter = {};
|
|
2775
2631
|
// authentication CustomAuthentication required
|
|
2776
2632
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2777
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2633
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2778
2634
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2779
2635
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2780
2636
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2832,7 +2688,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2832
2688
|
/**
|
|
2833
2689
|
*
|
|
2834
2690
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
2835
|
-
* @param {
|
|
2691
|
+
* @param {File} [body]
|
|
2836
2692
|
* @param {*} [options] Override http request option.
|
|
2837
2693
|
* @throws {RequiredError}
|
|
2838
2694
|
*/
|
|
@@ -2849,7 +2705,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2849
2705
|
const localVarQueryParameter = {};
|
|
2850
2706
|
// authentication CustomAuthentication required
|
|
2851
2707
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
2852
|
-
localVarHeaderParameter['Content-Type'] = 'image
|
|
2708
|
+
localVarHeaderParameter['Content-Type'] = 'image/*';
|
|
2853
2709
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2854
2710
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2855
2711
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2875,8 +2731,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2875
2731
|
* @throws {RequiredError}
|
|
2876
2732
|
*/
|
|
2877
2733
|
async deleteCustomSplashscreen(options) {
|
|
2734
|
+
var _a, _b, _c;
|
|
2878
2735
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomSplashscreen(options);
|
|
2879
|
-
|
|
2736
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2737
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2738
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2880
2739
|
},
|
|
2881
2740
|
/**
|
|
2882
2741
|
*
|
|
@@ -2888,8 +2747,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2888
2747
|
* @throws {RequiredError}
|
|
2889
2748
|
*/
|
|
2890
2749
|
async deleteItemImage(itemId, imageType, imageIndex, options) {
|
|
2750
|
+
var _a, _b, _c;
|
|
2891
2751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
|
|
2892
|
-
|
|
2752
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2753
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2893
2755
|
},
|
|
2894
2756
|
/**
|
|
2895
2757
|
*
|
|
@@ -2901,8 +2763,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2901
2763
|
* @throws {RequiredError}
|
|
2902
2764
|
*/
|
|
2903
2765
|
async deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
|
|
2766
|
+
var _a, _b, _c;
|
|
2904
2767
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
|
|
2905
|
-
|
|
2768
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2769
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2770
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2906
2771
|
},
|
|
2907
2772
|
/**
|
|
2908
2773
|
*
|
|
@@ -2912,8 +2777,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2912
2777
|
* @throws {RequiredError}
|
|
2913
2778
|
*/
|
|
2914
2779
|
async deleteUserImage(userId, options) {
|
|
2780
|
+
var _a, _b, _c;
|
|
2915
2781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserImage(userId, options);
|
|
2916
|
-
|
|
2782
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2783
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2917
2785
|
},
|
|
2918
2786
|
/**
|
|
2919
2787
|
*
|
|
@@ -2939,8 +2807,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2939
2807
|
* @throws {RequiredError}
|
|
2940
2808
|
*/
|
|
2941
2809
|
async getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
2810
|
+
var _a, _b, _c;
|
|
2942
2811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
2943
|
-
|
|
2812
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2813
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2944
2815
|
},
|
|
2945
2816
|
/**
|
|
2946
2817
|
*
|
|
@@ -2966,8 +2837,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2966
2837
|
* @throws {RequiredError}
|
|
2967
2838
|
*/
|
|
2968
2839
|
async getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
2840
|
+
var _a, _b, _c;
|
|
2969
2841
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
2970
|
-
|
|
2842
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2843
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2844
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2971
2845
|
},
|
|
2972
2846
|
/**
|
|
2973
2847
|
*
|
|
@@ -2993,8 +2867,11 @@ const ImageApiFp = function (configuration) {
|
|
|
2993
2867
|
* @throws {RequiredError}
|
|
2994
2868
|
*/
|
|
2995
2869
|
async getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
2870
|
+
var _a, _b, _c;
|
|
2996
2871
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
2997
|
-
|
|
2872
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2873
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2998
2875
|
},
|
|
2999
2876
|
/**
|
|
3000
2877
|
*
|
|
@@ -3020,8 +2897,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3020
2897
|
* @throws {RequiredError}
|
|
3021
2898
|
*/
|
|
3022
2899
|
async getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
2900
|
+
var _a, _b, _c;
|
|
3023
2901
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3024
|
-
|
|
2902
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2903
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2904
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3025
2905
|
},
|
|
3026
2906
|
/**
|
|
3027
2907
|
*
|
|
@@ -3047,8 +2927,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3047
2927
|
* @throws {RequiredError}
|
|
3048
2928
|
*/
|
|
3049
2929
|
async getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
2930
|
+
var _a, _b, _c;
|
|
3050
2931
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3051
|
-
|
|
2932
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2933
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2934
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3052
2935
|
},
|
|
3053
2936
|
/**
|
|
3054
2937
|
*
|
|
@@ -3074,8 +2957,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3074
2957
|
* @throws {RequiredError}
|
|
3075
2958
|
*/
|
|
3076
2959
|
async getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
2960
|
+
var _a, _b, _c;
|
|
3077
2961
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
|
|
3078
|
-
|
|
2962
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2963
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3079
2965
|
},
|
|
3080
2966
|
/**
|
|
3081
2967
|
*
|
|
@@ -3085,8 +2971,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3085
2971
|
* @throws {RequiredError}
|
|
3086
2972
|
*/
|
|
3087
2973
|
async getItemImageInfos(itemId, options) {
|
|
2974
|
+
var _a, _b, _c;
|
|
3088
2975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageInfos(itemId, options);
|
|
3089
|
-
|
|
2976
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2977
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageInfos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2978
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3090
2979
|
},
|
|
3091
2980
|
/**
|
|
3092
2981
|
*
|
|
@@ -3112,8 +3001,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3112
3001
|
* @throws {RequiredError}
|
|
3113
3002
|
*/
|
|
3114
3003
|
async getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3004
|
+
var _a, _b, _c;
|
|
3115
3005
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3116
|
-
|
|
3006
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3007
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3008
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3117
3009
|
},
|
|
3118
3010
|
/**
|
|
3119
3011
|
*
|
|
@@ -3139,8 +3031,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3139
3031
|
* @throws {RequiredError}
|
|
3140
3032
|
*/
|
|
3141
3033
|
async getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3034
|
+
var _a, _b, _c;
|
|
3142
3035
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3143
|
-
|
|
3036
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3037
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3038
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3144
3039
|
},
|
|
3145
3040
|
/**
|
|
3146
3041
|
*
|
|
@@ -3166,8 +3061,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3166
3061
|
* @throws {RequiredError}
|
|
3167
3062
|
*/
|
|
3168
3063
|
async getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3064
|
+
var _a, _b, _c;
|
|
3169
3065
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3170
|
-
|
|
3066
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3067
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3068
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3171
3069
|
},
|
|
3172
3070
|
/**
|
|
3173
3071
|
*
|
|
@@ -3193,30 +3091,26 @@ const ImageApiFp = function (configuration) {
|
|
|
3193
3091
|
* @throws {RequiredError}
|
|
3194
3092
|
*/
|
|
3195
3093
|
async getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3094
|
+
var _a, _b, _c;
|
|
3196
3095
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3197
|
-
|
|
3096
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3097
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3098
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3198
3099
|
},
|
|
3199
3100
|
/**
|
|
3200
3101
|
*
|
|
3201
3102
|
* @summary Generates or gets the splashscreen.
|
|
3202
3103
|
* @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
|
|
3203
3104
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3204
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3205
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3206
|
-
* @param {number} [width] The fixed image width to return.
|
|
3207
|
-
* @param {number} [height] The fixed image height to return.
|
|
3208
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3209
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3210
|
-
* @param {number} [blur] Blur image.
|
|
3211
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
3212
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
3213
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
3214
3105
|
* @param {*} [options] Override http request option.
|
|
3215
3106
|
* @throws {RequiredError}
|
|
3216
3107
|
*/
|
|
3217
|
-
async getSplashscreen(tag, format,
|
|
3218
|
-
|
|
3219
|
-
|
|
3108
|
+
async getSplashscreen(tag, format, options) {
|
|
3109
|
+
var _a, _b, _c;
|
|
3110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, options);
|
|
3111
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3112
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3113
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3220
3114
|
},
|
|
3221
3115
|
/**
|
|
3222
3116
|
*
|
|
@@ -3242,8 +3136,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3242
3136
|
* @throws {RequiredError}
|
|
3243
3137
|
*/
|
|
3244
3138
|
async getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3139
|
+
var _a, _b, _c;
|
|
3245
3140
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3246
|
-
|
|
3141
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3142
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3247
3144
|
},
|
|
3248
3145
|
/**
|
|
3249
3146
|
*
|
|
@@ -3269,8 +3166,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3269
3166
|
* @throws {RequiredError}
|
|
3270
3167
|
*/
|
|
3271
3168
|
async getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3169
|
+
var _a, _b, _c;
|
|
3272
3170
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3273
|
-
|
|
3171
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3172
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3173
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3274
3174
|
},
|
|
3275
3175
|
/**
|
|
3276
3176
|
*
|
|
@@ -3278,25 +3178,15 @@ const ImageApiFp = function (configuration) {
|
|
|
3278
3178
|
* @param {string} [userId] User id.
|
|
3279
3179
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3280
3180
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3281
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3282
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3283
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3284
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3285
|
-
* @param {number} [width] The fixed image width to return.
|
|
3286
|
-
* @param {number} [height] The fixed image height to return.
|
|
3287
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3288
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3289
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3290
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3291
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3292
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3293
|
-
* @param {number} [imageIndex] Image index.
|
|
3294
3181
|
* @param {*} [options] Override http request option.
|
|
3295
3182
|
* @throws {RequiredError}
|
|
3296
3183
|
*/
|
|
3297
|
-
async getUserImage(userId, tag, format,
|
|
3298
|
-
|
|
3299
|
-
|
|
3184
|
+
async getUserImage(userId, tag, format, options) {
|
|
3185
|
+
var _a, _b, _c;
|
|
3186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, options);
|
|
3187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3188
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3189
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3300
3190
|
},
|
|
3301
3191
|
/**
|
|
3302
3192
|
*
|
|
@@ -3322,8 +3212,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3322
3212
|
* @throws {RequiredError}
|
|
3323
3213
|
*/
|
|
3324
3214
|
async headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3215
|
+
var _a, _b, _c;
|
|
3325
3216
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3326
|
-
|
|
3217
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3218
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3219
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3327
3220
|
},
|
|
3328
3221
|
/**
|
|
3329
3222
|
*
|
|
@@ -3349,8 +3242,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3349
3242
|
* @throws {RequiredError}
|
|
3350
3243
|
*/
|
|
3351
3244
|
async headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3245
|
+
var _a, _b, _c;
|
|
3352
3246
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3353
|
-
|
|
3247
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3248
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3249
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3354
3250
|
},
|
|
3355
3251
|
/**
|
|
3356
3252
|
*
|
|
@@ -3376,8 +3272,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3376
3272
|
* @throws {RequiredError}
|
|
3377
3273
|
*/
|
|
3378
3274
|
async headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3275
|
+
var _a, _b, _c;
|
|
3379
3276
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3380
|
-
|
|
3277
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3278
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3279
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3381
3280
|
},
|
|
3382
3281
|
/**
|
|
3383
3282
|
*
|
|
@@ -3403,8 +3302,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3403
3302
|
* @throws {RequiredError}
|
|
3404
3303
|
*/
|
|
3405
3304
|
async headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3305
|
+
var _a, _b, _c;
|
|
3406
3306
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3407
|
-
|
|
3307
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3308
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3309
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3408
3310
|
},
|
|
3409
3311
|
/**
|
|
3410
3312
|
*
|
|
@@ -3430,8 +3332,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3430
3332
|
* @throws {RequiredError}
|
|
3431
3333
|
*/
|
|
3432
3334
|
async headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3335
|
+
var _a, _b, _c;
|
|
3433
3336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3434
|
-
|
|
3337
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3338
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3339
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3435
3340
|
},
|
|
3436
3341
|
/**
|
|
3437
3342
|
*
|
|
@@ -3457,8 +3362,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3457
3362
|
* @throws {RequiredError}
|
|
3458
3363
|
*/
|
|
3459
3364
|
async headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
|
|
3365
|
+
var _a, _b, _c;
|
|
3460
3366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
|
|
3461
|
-
|
|
3367
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3368
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3369
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3462
3370
|
},
|
|
3463
3371
|
/**
|
|
3464
3372
|
*
|
|
@@ -3484,8 +3392,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3484
3392
|
* @throws {RequiredError}
|
|
3485
3393
|
*/
|
|
3486
3394
|
async headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3395
|
+
var _a, _b, _c;
|
|
3487
3396
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3488
|
-
|
|
3397
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3398
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3399
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3489
3400
|
},
|
|
3490
3401
|
/**
|
|
3491
3402
|
*
|
|
@@ -3511,8 +3422,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3511
3422
|
* @throws {RequiredError}
|
|
3512
3423
|
*/
|
|
3513
3424
|
async headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3425
|
+
var _a, _b, _c;
|
|
3514
3426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3515
|
-
|
|
3427
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3428
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3516
3430
|
},
|
|
3517
3431
|
/**
|
|
3518
3432
|
*
|
|
@@ -3538,8 +3452,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3538
3452
|
* @throws {RequiredError}
|
|
3539
3453
|
*/
|
|
3540
3454
|
async headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3455
|
+
var _a, _b, _c;
|
|
3541
3456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3542
|
-
|
|
3457
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3458
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3459
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3543
3460
|
},
|
|
3544
3461
|
/**
|
|
3545
3462
|
*
|
|
@@ -3565,8 +3482,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3565
3482
|
* @throws {RequiredError}
|
|
3566
3483
|
*/
|
|
3567
3484
|
async headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3485
|
+
var _a, _b, _c;
|
|
3568
3486
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3569
|
-
|
|
3487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3488
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3489
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3570
3490
|
},
|
|
3571
3491
|
/**
|
|
3572
3492
|
*
|
|
@@ -3592,8 +3512,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3592
3512
|
* @throws {RequiredError}
|
|
3593
3513
|
*/
|
|
3594
3514
|
async headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
|
|
3515
|
+
var _a, _b, _c;
|
|
3595
3516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
|
|
3596
|
-
|
|
3517
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3518
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3519
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3597
3520
|
},
|
|
3598
3521
|
/**
|
|
3599
3522
|
*
|
|
@@ -3619,8 +3542,11 @@ const ImageApiFp = function (configuration) {
|
|
|
3619
3542
|
* @throws {RequiredError}
|
|
3620
3543
|
*/
|
|
3621
3544
|
async headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
|
|
3545
|
+
var _a, _b, _c;
|
|
3622
3546
|
const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
|
|
3623
|
-
|
|
3547
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3548
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3549
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3624
3550
|
},
|
|
3625
3551
|
/**
|
|
3626
3552
|
*
|
|
@@ -3628,50 +3554,46 @@ const ImageApiFp = function (configuration) {
|
|
|
3628
3554
|
* @param {string} [userId] User id.
|
|
3629
3555
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3630
3556
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3631
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3632
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3633
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3634
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3635
|
-
* @param {number} [width] The fixed image width to return.
|
|
3636
|
-
* @param {number} [height] The fixed image height to return.
|
|
3637
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3638
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3639
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3640
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3641
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3642
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3643
|
-
* @param {number} [imageIndex] Image index.
|
|
3644
3557
|
* @param {*} [options] Override http request option.
|
|
3645
3558
|
* @throws {RequiredError}
|
|
3646
3559
|
*/
|
|
3647
|
-
async headUserImage(userId, tag, format,
|
|
3648
|
-
|
|
3649
|
-
|
|
3560
|
+
async headUserImage(userId, tag, format, options) {
|
|
3561
|
+
var _a, _b, _c;
|
|
3562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, options);
|
|
3563
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3564
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3650
3566
|
},
|
|
3651
3567
|
/**
|
|
3652
3568
|
*
|
|
3653
3569
|
* @summary Sets the user image.
|
|
3654
3570
|
* @param {string} [userId] User Id.
|
|
3655
|
-
* @param {
|
|
3571
|
+
* @param {File} [body]
|
|
3656
3572
|
* @param {*} [options] Override http request option.
|
|
3657
3573
|
* @throws {RequiredError}
|
|
3658
3574
|
*/
|
|
3659
3575
|
async postUserImage(userId, body, options) {
|
|
3576
|
+
var _a, _b, _c;
|
|
3660
3577
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postUserImage(userId, body, options);
|
|
3661
|
-
|
|
3578
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3579
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.postUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3580
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3662
3581
|
},
|
|
3663
3582
|
/**
|
|
3664
3583
|
*
|
|
3665
3584
|
* @summary Set item image.
|
|
3666
3585
|
* @param {string} itemId Item id.
|
|
3667
3586
|
* @param {ImageType} imageType Image type.
|
|
3668
|
-
* @param {
|
|
3587
|
+
* @param {File} [body]
|
|
3669
3588
|
* @param {*} [options] Override http request option.
|
|
3670
3589
|
* @throws {RequiredError}
|
|
3671
3590
|
*/
|
|
3672
3591
|
async setItemImage(itemId, imageType, body, options) {
|
|
3592
|
+
var _a, _b, _c;
|
|
3673
3593
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
|
|
3674
|
-
|
|
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.setItemImage']) === 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);
|
|
3675
3597
|
},
|
|
3676
3598
|
/**
|
|
3677
3599
|
*
|
|
@@ -3679,13 +3601,16 @@ const ImageApiFp = function (configuration) {
|
|
|
3679
3601
|
* @param {string} itemId Item id.
|
|
3680
3602
|
* @param {ImageType} imageType Image type.
|
|
3681
3603
|
* @param {number} imageIndex (Unused) Image index.
|
|
3682
|
-
* @param {
|
|
3604
|
+
* @param {File} [body]
|
|
3683
3605
|
* @param {*} [options] Override http request option.
|
|
3684
3606
|
* @throws {RequiredError}
|
|
3685
3607
|
*/
|
|
3686
3608
|
async setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
|
|
3609
|
+
var _a, _b, _c;
|
|
3687
3610
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
|
|
3688
|
-
|
|
3611
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3612
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3613
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3689
3614
|
},
|
|
3690
3615
|
/**
|
|
3691
3616
|
*
|
|
@@ -3698,19 +3623,25 @@ const ImageApiFp = function (configuration) {
|
|
|
3698
3623
|
* @throws {RequiredError}
|
|
3699
3624
|
*/
|
|
3700
3625
|
async updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
|
|
3626
|
+
var _a, _b, _c;
|
|
3701
3627
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
|
|
3702
|
-
|
|
3628
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3629
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.updateItemImageIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3630
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3703
3631
|
},
|
|
3704
3632
|
/**
|
|
3705
3633
|
*
|
|
3706
3634
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
3707
|
-
* @param {
|
|
3635
|
+
* @param {File} [body]
|
|
3708
3636
|
* @param {*} [options] Override http request option.
|
|
3709
3637
|
* @throws {RequiredError}
|
|
3710
3638
|
*/
|
|
3711
3639
|
async uploadCustomSplashscreen(body, options) {
|
|
3640
|
+
var _a, _b, _c;
|
|
3712
3641
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
|
|
3713
|
-
|
|
3642
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3643
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.uploadCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3644
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3714
3645
|
},
|
|
3715
3646
|
};
|
|
3716
3647
|
};
|
|
@@ -3733,800 +3664,362 @@ const ImageApiFactory = function (configuration, basePath, axios) {
|
|
|
3733
3664
|
/**
|
|
3734
3665
|
*
|
|
3735
3666
|
* @summary Delete an item\'s image.
|
|
3736
|
-
* @param {
|
|
3737
|
-
* @param {ImageType} imageType Image type.
|
|
3738
|
-
* @param {number} [imageIndex] The image index.
|
|
3667
|
+
* @param {ImageApiDeleteItemImageRequest} requestParameters Request parameters.
|
|
3739
3668
|
* @param {*} [options] Override http request option.
|
|
3740
3669
|
* @throws {RequiredError}
|
|
3741
3670
|
*/
|
|
3742
|
-
deleteItemImage(
|
|
3743
|
-
return localVarFp.deleteItemImage(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
|
|
3671
|
+
deleteItemImage(requestParameters, options) {
|
|
3672
|
+
return localVarFp.deleteItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3744
3673
|
},
|
|
3745
3674
|
/**
|
|
3746
3675
|
*
|
|
3747
3676
|
* @summary Delete an item\'s image.
|
|
3748
|
-
* @param {
|
|
3749
|
-
* @param {ImageType} imageType Image type.
|
|
3750
|
-
* @param {number} imageIndex The image index.
|
|
3677
|
+
* @param {ImageApiDeleteItemImageByIndexRequest} requestParameters Request parameters.
|
|
3751
3678
|
* @param {*} [options] Override http request option.
|
|
3752
3679
|
* @throws {RequiredError}
|
|
3753
3680
|
*/
|
|
3754
|
-
deleteItemImageByIndex(
|
|
3755
|
-
return localVarFp.deleteItemImageByIndex(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
|
|
3681
|
+
deleteItemImageByIndex(requestParameters, options) {
|
|
3682
|
+
return localVarFp.deleteItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
|
|
3756
3683
|
},
|
|
3757
3684
|
/**
|
|
3758
3685
|
*
|
|
3759
3686
|
* @summary Delete the user\'s image.
|
|
3760
|
-
* @param {
|
|
3687
|
+
* @param {ImageApiDeleteUserImageRequest} requestParameters Request parameters.
|
|
3761
3688
|
* @param {*} [options] Override http request option.
|
|
3762
3689
|
* @throws {RequiredError}
|
|
3763
3690
|
*/
|
|
3764
|
-
deleteUserImage(
|
|
3765
|
-
return localVarFp.deleteUserImage(userId, options).then((request) => request(axios, basePath));
|
|
3691
|
+
deleteUserImage(requestParameters = {}, options) {
|
|
3692
|
+
return localVarFp.deleteUserImage(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
3766
3693
|
},
|
|
3767
3694
|
/**
|
|
3768
3695
|
*
|
|
3769
3696
|
* @summary Get artist image by name.
|
|
3770
|
-
* @param {
|
|
3771
|
-
* @param {ImageType} imageType Image type.
|
|
3772
|
-
* @param {number} imageIndex Image index.
|
|
3773
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3774
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3775
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3776
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3777
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3778
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3779
|
-
* @param {number} [width] The fixed image width to return.
|
|
3780
|
-
* @param {number} [height] The fixed image height to return.
|
|
3781
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3782
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3783
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3784
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3785
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3786
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3697
|
+
* @param {ImageApiGetArtistImageRequest} requestParameters Request parameters.
|
|
3787
3698
|
* @param {*} [options] Override http request option.
|
|
3788
3699
|
* @throws {RequiredError}
|
|
3789
3700
|
*/
|
|
3790
|
-
getArtistImage(
|
|
3791
|
-
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));
|
|
3701
|
+
getArtistImage(requestParameters, options) {
|
|
3702
|
+
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));
|
|
3792
3703
|
},
|
|
3793
3704
|
/**
|
|
3794
3705
|
*
|
|
3795
3706
|
* @summary Get genre image by name.
|
|
3796
|
-
* @param {
|
|
3797
|
-
* @param {ImageType} imageType Image type.
|
|
3798
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3799
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3800
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3801
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3802
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3803
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3804
|
-
* @param {number} [width] The fixed image width to return.
|
|
3805
|
-
* @param {number} [height] The fixed image height to return.
|
|
3806
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3807
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3808
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3809
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3810
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3811
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3812
|
-
* @param {number} [imageIndex] Image index.
|
|
3707
|
+
* @param {ImageApiGetGenreImageRequest} requestParameters Request parameters.
|
|
3813
3708
|
* @param {*} [options] Override http request option.
|
|
3814
3709
|
* @throws {RequiredError}
|
|
3815
3710
|
*/
|
|
3816
|
-
getGenreImage(
|
|
3817
|
-
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));
|
|
3711
|
+
getGenreImage(requestParameters, options) {
|
|
3712
|
+
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));
|
|
3818
3713
|
},
|
|
3819
3714
|
/**
|
|
3820
3715
|
*
|
|
3821
3716
|
* @summary Get genre image by name.
|
|
3822
|
-
* @param {
|
|
3823
|
-
* @param {ImageType} imageType Image type.
|
|
3824
|
-
* @param {number} imageIndex Image index.
|
|
3825
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3826
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3827
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3828
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3829
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3830
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3831
|
-
* @param {number} [width] The fixed image width to return.
|
|
3832
|
-
* @param {number} [height] The fixed image height to return.
|
|
3833
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3834
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3835
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3836
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3837
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3838
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3717
|
+
* @param {ImageApiGetGenreImageByIndexRequest} requestParameters Request parameters.
|
|
3839
3718
|
* @param {*} [options] Override http request option.
|
|
3840
3719
|
* @throws {RequiredError}
|
|
3841
3720
|
*/
|
|
3842
|
-
getGenreImageByIndex(
|
|
3843
|
-
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));
|
|
3721
|
+
getGenreImageByIndex(requestParameters, options) {
|
|
3722
|
+
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));
|
|
3844
3723
|
},
|
|
3845
3724
|
/**
|
|
3846
3725
|
*
|
|
3847
3726
|
* @summary Gets the item\'s image.
|
|
3848
|
-
* @param {
|
|
3849
|
-
* @param {ImageType} imageType Image type.
|
|
3850
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3851
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3852
|
-
* @param {number} [width] The fixed image width to return.
|
|
3853
|
-
* @param {number} [height] The fixed image height to return.
|
|
3854
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3855
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3856
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3857
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3858
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
3859
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3860
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3861
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3862
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3863
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3864
|
-
* @param {number} [imageIndex] Image index.
|
|
3727
|
+
* @param {ImageApiGetItemImageRequest} requestParameters Request parameters.
|
|
3865
3728
|
* @param {*} [options] Override http request option.
|
|
3866
3729
|
* @throws {RequiredError}
|
|
3867
3730
|
*/
|
|
3868
|
-
getItemImage(
|
|
3869
|
-
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));
|
|
3731
|
+
getItemImage(requestParameters, options) {
|
|
3732
|
+
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));
|
|
3870
3733
|
},
|
|
3871
3734
|
/**
|
|
3872
3735
|
*
|
|
3873
3736
|
* @summary Gets the item\'s image.
|
|
3874
|
-
* @param {
|
|
3875
|
-
* @param {ImageType} imageType Image type.
|
|
3876
|
-
* @param {number} maxWidth The maximum image width to return.
|
|
3877
|
-
* @param {number} maxHeight The maximum image height to return.
|
|
3878
|
-
* @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3879
|
-
* @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
|
|
3880
|
-
* @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
|
|
3881
|
-
* @param {number} unplayedCount Optional. Unplayed count overlay to render.
|
|
3882
|
-
* @param {number} imageIndex Image index.
|
|
3883
|
-
* @param {number} [width] The fixed image width to return.
|
|
3884
|
-
* @param {number} [height] The fixed image height to return.
|
|
3885
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3886
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3887
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3888
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3889
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3890
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3737
|
+
* @param {ImageApiGetItemImage2Request} requestParameters Request parameters.
|
|
3891
3738
|
* @param {*} [options] Override http request option.
|
|
3892
3739
|
* @throws {RequiredError}
|
|
3893
3740
|
*/
|
|
3894
|
-
getItemImage2(
|
|
3895
|
-
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));
|
|
3741
|
+
getItemImage2(requestParameters, options) {
|
|
3742
|
+
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));
|
|
3896
3743
|
},
|
|
3897
3744
|
/**
|
|
3898
3745
|
*
|
|
3899
3746
|
* @summary Gets the item\'s image.
|
|
3900
|
-
* @param {
|
|
3901
|
-
* @param {ImageType} imageType Image type.
|
|
3902
|
-
* @param {number} imageIndex Image index.
|
|
3903
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3904
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3905
|
-
* @param {number} [width] The fixed image width to return.
|
|
3906
|
-
* @param {number} [height] The fixed image height to return.
|
|
3907
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3908
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3909
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3910
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3911
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
3912
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3913
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3914
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3915
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3916
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3747
|
+
* @param {ImageApiGetItemImageByIndexRequest} requestParameters Request parameters.
|
|
3917
3748
|
* @param {*} [options] Override http request option.
|
|
3918
3749
|
* @throws {RequiredError}
|
|
3919
3750
|
*/
|
|
3920
|
-
getItemImageByIndex(
|
|
3921
|
-
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));
|
|
3751
|
+
getItemImageByIndex(requestParameters, options) {
|
|
3752
|
+
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));
|
|
3922
3753
|
},
|
|
3923
3754
|
/**
|
|
3924
3755
|
*
|
|
3925
3756
|
* @summary Get item image infos.
|
|
3926
|
-
* @param {
|
|
3757
|
+
* @param {ImageApiGetItemImageInfosRequest} requestParameters Request parameters.
|
|
3927
3758
|
* @param {*} [options] Override http request option.
|
|
3928
3759
|
* @throws {RequiredError}
|
|
3929
3760
|
*/
|
|
3930
|
-
getItemImageInfos(
|
|
3931
|
-
return localVarFp.getItemImageInfos(itemId, options).then((request) => request(axios, basePath));
|
|
3761
|
+
getItemImageInfos(requestParameters, options) {
|
|
3762
|
+
return localVarFp.getItemImageInfos(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
3932
3763
|
},
|
|
3933
3764
|
/**
|
|
3934
3765
|
*
|
|
3935
3766
|
* @summary Get music genre image by name.
|
|
3936
|
-
* @param {
|
|
3937
|
-
* @param {ImageType} imageType Image type.
|
|
3938
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3939
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3940
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3941
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3942
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3943
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3944
|
-
* @param {number} [width] The fixed image width to return.
|
|
3945
|
-
* @param {number} [height] The fixed image height to return.
|
|
3946
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3947
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3948
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3949
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3950
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3951
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3952
|
-
* @param {number} [imageIndex] Image index.
|
|
3767
|
+
* @param {ImageApiGetMusicGenreImageRequest} requestParameters Request parameters.
|
|
3953
3768
|
* @param {*} [options] Override http request option.
|
|
3954
3769
|
* @throws {RequiredError}
|
|
3955
3770
|
*/
|
|
3956
|
-
getMusicGenreImage(
|
|
3957
|
-
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));
|
|
3771
|
+
getMusicGenreImage(requestParameters, options) {
|
|
3772
|
+
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));
|
|
3958
3773
|
},
|
|
3959
3774
|
/**
|
|
3960
3775
|
*
|
|
3961
3776
|
* @summary Get music genre image by name.
|
|
3962
|
-
* @param {
|
|
3963
|
-
* @param {ImageType} imageType Image type.
|
|
3964
|
-
* @param {number} imageIndex Image index.
|
|
3965
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3966
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3967
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3968
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3969
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3970
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3971
|
-
* @param {number} [width] The fixed image width to return.
|
|
3972
|
-
* @param {number} [height] The fixed image height to return.
|
|
3973
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3974
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3975
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3976
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3977
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3978
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3777
|
+
* @param {ImageApiGetMusicGenreImageByIndexRequest} requestParameters Request parameters.
|
|
3979
3778
|
* @param {*} [options] Override http request option.
|
|
3980
3779
|
* @throws {RequiredError}
|
|
3981
3780
|
*/
|
|
3982
|
-
getMusicGenreImageByIndex(
|
|
3983
|
-
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));
|
|
3781
|
+
getMusicGenreImageByIndex(requestParameters, options) {
|
|
3782
|
+
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));
|
|
3984
3783
|
},
|
|
3985
3784
|
/**
|
|
3986
3785
|
*
|
|
3987
3786
|
* @summary Get person image by name.
|
|
3988
|
-
* @param {
|
|
3989
|
-
* @param {ImageType} imageType Image type.
|
|
3990
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3991
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3992
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3993
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3994
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3995
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3996
|
-
* @param {number} [width] The fixed image width to return.
|
|
3997
|
-
* @param {number} [height] The fixed image height to return.
|
|
3998
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3999
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4000
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4001
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4002
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4003
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4004
|
-
* @param {number} [imageIndex] Image index.
|
|
3787
|
+
* @param {ImageApiGetPersonImageRequest} requestParameters Request parameters.
|
|
4005
3788
|
* @param {*} [options] Override http request option.
|
|
4006
3789
|
* @throws {RequiredError}
|
|
4007
3790
|
*/
|
|
4008
|
-
getPersonImage(
|
|
4009
|
-
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));
|
|
3791
|
+
getPersonImage(requestParameters, options) {
|
|
3792
|
+
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));
|
|
4010
3793
|
},
|
|
4011
3794
|
/**
|
|
4012
3795
|
*
|
|
4013
3796
|
* @summary Get person image by name.
|
|
4014
|
-
* @param {
|
|
4015
|
-
* @param {ImageType} imageType Image type.
|
|
4016
|
-
* @param {number} imageIndex Image index.
|
|
4017
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4018
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4019
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4020
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4021
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4022
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4023
|
-
* @param {number} [width] The fixed image width to return.
|
|
4024
|
-
* @param {number} [height] The fixed image height to return.
|
|
4025
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4026
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4027
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4028
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4029
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4030
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3797
|
+
* @param {ImageApiGetPersonImageByIndexRequest} requestParameters Request parameters.
|
|
4031
3798
|
* @param {*} [options] Override http request option.
|
|
4032
3799
|
* @throws {RequiredError}
|
|
4033
3800
|
*/
|
|
4034
|
-
getPersonImageByIndex(
|
|
4035
|
-
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));
|
|
3801
|
+
getPersonImageByIndex(requestParameters, options) {
|
|
3802
|
+
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));
|
|
4036
3803
|
},
|
|
4037
3804
|
/**
|
|
4038
3805
|
*
|
|
4039
3806
|
* @summary Generates or gets the splashscreen.
|
|
4040
|
-
* @param {
|
|
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} [width] The fixed image width to return.
|
|
4045
|
-
* @param {number} [height] The fixed image height to return.
|
|
4046
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4047
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4048
|
-
* @param {number} [blur] Blur image.
|
|
4049
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
4050
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
4051
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
3807
|
+
* @param {ImageApiGetSplashscreenRequest} requestParameters Request parameters.
|
|
4052
3808
|
* @param {*} [options] Override http request option.
|
|
4053
3809
|
* @throws {RequiredError}
|
|
4054
3810
|
*/
|
|
4055
|
-
getSplashscreen(
|
|
4056
|
-
return localVarFp.getSplashscreen(tag, format,
|
|
3811
|
+
getSplashscreen(requestParameters = {}, options) {
|
|
3812
|
+
return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
4057
3813
|
},
|
|
4058
3814
|
/**
|
|
4059
3815
|
*
|
|
4060
3816
|
* @summary Get studio image by name.
|
|
4061
|
-
* @param {
|
|
4062
|
-
* @param {ImageType} imageType Image type.
|
|
4063
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4064
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4065
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4066
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4067
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4068
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4069
|
-
* @param {number} [width] The fixed image width to return.
|
|
4070
|
-
* @param {number} [height] The fixed image height to return.
|
|
4071
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4072
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4073
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4074
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4075
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4076
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4077
|
-
* @param {number} [imageIndex] Image index.
|
|
3817
|
+
* @param {ImageApiGetStudioImageRequest} requestParameters Request parameters.
|
|
4078
3818
|
* @param {*} [options] Override http request option.
|
|
4079
3819
|
* @throws {RequiredError}
|
|
4080
3820
|
*/
|
|
4081
|
-
getStudioImage(
|
|
4082
|
-
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));
|
|
3821
|
+
getStudioImage(requestParameters, options) {
|
|
3822
|
+
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));
|
|
4083
3823
|
},
|
|
4084
3824
|
/**
|
|
4085
3825
|
*
|
|
4086
3826
|
* @summary Get studio image by name.
|
|
4087
|
-
* @param {
|
|
4088
|
-
* @param {ImageType} imageType Image type.
|
|
4089
|
-
* @param {number} imageIndex Image index.
|
|
4090
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4091
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4092
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4093
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4094
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4095
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4096
|
-
* @param {number} [width] The fixed image width to return.
|
|
4097
|
-
* @param {number} [height] The fixed image height to return.
|
|
4098
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4099
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4100
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4101
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4102
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4103
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3827
|
+
* @param {ImageApiGetStudioImageByIndexRequest} requestParameters Request parameters.
|
|
4104
3828
|
* @param {*} [options] Override http request option.
|
|
4105
3829
|
* @throws {RequiredError}
|
|
4106
3830
|
*/
|
|
4107
|
-
getStudioImageByIndex(
|
|
4108
|
-
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));
|
|
3831
|
+
getStudioImageByIndex(requestParameters, options) {
|
|
3832
|
+
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));
|
|
4109
3833
|
},
|
|
4110
3834
|
/**
|
|
4111
3835
|
*
|
|
4112
3836
|
* @summary Get user profile image.
|
|
4113
|
-
* @param {
|
|
4114
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4115
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4116
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4117
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4118
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4119
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4120
|
-
* @param {number} [width] The fixed image width to return.
|
|
4121
|
-
* @param {number} [height] The fixed image height to return.
|
|
4122
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4123
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4124
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4125
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4126
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4127
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4128
|
-
* @param {number} [imageIndex] Image index.
|
|
3837
|
+
* @param {ImageApiGetUserImageRequest} requestParameters Request parameters.
|
|
4129
3838
|
* @param {*} [options] Override http request option.
|
|
4130
3839
|
* @throws {RequiredError}
|
|
4131
3840
|
*/
|
|
4132
|
-
getUserImage(
|
|
4133
|
-
return localVarFp.getUserImage(userId, tag, format,
|
|
3841
|
+
getUserImage(requestParameters = {}, options) {
|
|
3842
|
+
return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
4134
3843
|
},
|
|
4135
3844
|
/**
|
|
4136
3845
|
*
|
|
4137
3846
|
* @summary Get artist image by name.
|
|
4138
|
-
* @param {
|
|
4139
|
-
* @param {ImageType} imageType Image type.
|
|
4140
|
-
* @param {number} imageIndex Image index.
|
|
4141
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4142
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4143
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4144
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4145
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4146
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4147
|
-
* @param {number} [width] The fixed image width to return.
|
|
4148
|
-
* @param {number} [height] The fixed image height to return.
|
|
4149
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4150
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4151
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4152
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4153
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4154
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3847
|
+
* @param {ImageApiHeadArtistImageRequest} requestParameters Request parameters.
|
|
4155
3848
|
* @param {*} [options] Override http request option.
|
|
4156
3849
|
* @throws {RequiredError}
|
|
4157
3850
|
*/
|
|
4158
|
-
headArtistImage(
|
|
4159
|
-
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));
|
|
3851
|
+
headArtistImage(requestParameters, options) {
|
|
3852
|
+
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));
|
|
4160
3853
|
},
|
|
4161
3854
|
/**
|
|
4162
3855
|
*
|
|
4163
3856
|
* @summary Get genre image by name.
|
|
4164
|
-
* @param {
|
|
4165
|
-
* @param {ImageType} imageType Image type.
|
|
4166
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4167
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4168
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4169
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4170
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4171
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4172
|
-
* @param {number} [width] The fixed image width to return.
|
|
4173
|
-
* @param {number} [height] The fixed image height to return.
|
|
4174
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4175
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4176
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4177
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4178
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4179
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4180
|
-
* @param {number} [imageIndex] Image index.
|
|
3857
|
+
* @param {ImageApiHeadGenreImageRequest} requestParameters Request parameters.
|
|
4181
3858
|
* @param {*} [options] Override http request option.
|
|
4182
3859
|
* @throws {RequiredError}
|
|
4183
3860
|
*/
|
|
4184
|
-
headGenreImage(
|
|
4185
|
-
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));
|
|
3861
|
+
headGenreImage(requestParameters, options) {
|
|
3862
|
+
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));
|
|
4186
3863
|
},
|
|
4187
3864
|
/**
|
|
4188
3865
|
*
|
|
4189
3866
|
* @summary Get genre image by name.
|
|
4190
|
-
* @param {
|
|
4191
|
-
* @param {ImageType} imageType Image type.
|
|
4192
|
-
* @param {number} imageIndex Image index.
|
|
4193
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4194
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4195
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4196
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4197
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4198
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4199
|
-
* @param {number} [width] The fixed image width to return.
|
|
4200
|
-
* @param {number} [height] The fixed image height to return.
|
|
4201
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4202
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4203
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4204
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4205
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4206
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3867
|
+
* @param {ImageApiHeadGenreImageByIndexRequest} requestParameters Request parameters.
|
|
4207
3868
|
* @param {*} [options] Override http request option.
|
|
4208
3869
|
* @throws {RequiredError}
|
|
4209
3870
|
*/
|
|
4210
|
-
headGenreImageByIndex(
|
|
4211
|
-
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));
|
|
3871
|
+
headGenreImageByIndex(requestParameters, options) {
|
|
3872
|
+
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));
|
|
4212
3873
|
},
|
|
4213
3874
|
/**
|
|
4214
3875
|
*
|
|
4215
3876
|
* @summary Gets the item\'s image.
|
|
4216
|
-
* @param {
|
|
4217
|
-
* @param {ImageType} imageType Image type.
|
|
4218
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4219
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4220
|
-
* @param {number} [width] The fixed image width to return.
|
|
4221
|
-
* @param {number} [height] The fixed image height to return.
|
|
4222
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4223
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4224
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4225
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4226
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
4227
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4228
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4229
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4230
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4231
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4232
|
-
* @param {number} [imageIndex] Image index.
|
|
3877
|
+
* @param {ImageApiHeadItemImageRequest} requestParameters Request parameters.
|
|
4233
3878
|
* @param {*} [options] Override http request option.
|
|
4234
3879
|
* @throws {RequiredError}
|
|
4235
3880
|
*/
|
|
4236
|
-
headItemImage(
|
|
4237
|
-
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));
|
|
3881
|
+
headItemImage(requestParameters, options) {
|
|
3882
|
+
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));
|
|
4238
3883
|
},
|
|
4239
3884
|
/**
|
|
4240
3885
|
*
|
|
4241
3886
|
* @summary Gets the item\'s image.
|
|
4242
|
-
* @param {
|
|
4243
|
-
* @param {ImageType} imageType Image type.
|
|
4244
|
-
* @param {number} maxWidth The maximum image width to return.
|
|
4245
|
-
* @param {number} maxHeight The maximum image height to return.
|
|
4246
|
-
* @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4247
|
-
* @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
|
|
4248
|
-
* @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
|
|
4249
|
-
* @param {number} unplayedCount Optional. Unplayed count overlay to render.
|
|
4250
|
-
* @param {number} imageIndex Image index.
|
|
4251
|
-
* @param {number} [width] The fixed image width to return.
|
|
4252
|
-
* @param {number} [height] The fixed image height to return.
|
|
4253
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4254
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4255
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4256
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4257
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4258
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3887
|
+
* @param {ImageApiHeadItemImage2Request} requestParameters Request parameters.
|
|
4259
3888
|
* @param {*} [options] Override http request option.
|
|
4260
3889
|
* @throws {RequiredError}
|
|
4261
3890
|
*/
|
|
4262
|
-
headItemImage2(
|
|
4263
|
-
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));
|
|
3891
|
+
headItemImage2(requestParameters, options) {
|
|
3892
|
+
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));
|
|
4264
3893
|
},
|
|
4265
3894
|
/**
|
|
4266
3895
|
*
|
|
4267
3896
|
* @summary Gets the item\'s image.
|
|
4268
|
-
* @param {
|
|
4269
|
-
* @param {ImageType} imageType Image type.
|
|
4270
|
-
* @param {number} imageIndex Image index.
|
|
4271
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4272
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4273
|
-
* @param {number} [width] The fixed image width to return.
|
|
4274
|
-
* @param {number} [height] The fixed image height to return.
|
|
4275
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4276
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4277
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4278
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4279
|
-
* @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
|
|
4280
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4281
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4282
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4283
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4284
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3897
|
+
* @param {ImageApiHeadItemImageByIndexRequest} requestParameters Request parameters.
|
|
4285
3898
|
* @param {*} [options] Override http request option.
|
|
4286
3899
|
* @throws {RequiredError}
|
|
4287
3900
|
*/
|
|
4288
|
-
headItemImageByIndex(
|
|
4289
|
-
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));
|
|
3901
|
+
headItemImageByIndex(requestParameters, options) {
|
|
3902
|
+
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));
|
|
4290
3903
|
},
|
|
4291
3904
|
/**
|
|
4292
3905
|
*
|
|
4293
3906
|
* @summary Get music genre image by name.
|
|
4294
|
-
* @param {
|
|
4295
|
-
* @param {ImageType} imageType Image type.
|
|
4296
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4297
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4298
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4299
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4300
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4301
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4302
|
-
* @param {number} [width] The fixed image width to return.
|
|
4303
|
-
* @param {number} [height] The fixed image height to return.
|
|
4304
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4305
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4306
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4307
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4308
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4309
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4310
|
-
* @param {number} [imageIndex] Image index.
|
|
3907
|
+
* @param {ImageApiHeadMusicGenreImageRequest} requestParameters Request parameters.
|
|
4311
3908
|
* @param {*} [options] Override http request option.
|
|
4312
3909
|
* @throws {RequiredError}
|
|
4313
3910
|
*/
|
|
4314
|
-
headMusicGenreImage(
|
|
4315
|
-
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));
|
|
3911
|
+
headMusicGenreImage(requestParameters, options) {
|
|
3912
|
+
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));
|
|
4316
3913
|
},
|
|
4317
3914
|
/**
|
|
4318
3915
|
*
|
|
4319
3916
|
* @summary Get music genre image by name.
|
|
4320
|
-
* @param {
|
|
4321
|
-
* @param {ImageType} imageType Image type.
|
|
4322
|
-
* @param {number} imageIndex Image index.
|
|
4323
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4324
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4325
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4326
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4327
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4328
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4329
|
-
* @param {number} [width] The fixed image width to return.
|
|
4330
|
-
* @param {number} [height] The fixed image height to return.
|
|
4331
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4332
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4333
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4334
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4335
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4336
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3917
|
+
* @param {ImageApiHeadMusicGenreImageByIndexRequest} requestParameters Request parameters.
|
|
4337
3918
|
* @param {*} [options] Override http request option.
|
|
4338
3919
|
* @throws {RequiredError}
|
|
4339
3920
|
*/
|
|
4340
|
-
headMusicGenreImageByIndex(
|
|
4341
|
-
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));
|
|
3921
|
+
headMusicGenreImageByIndex(requestParameters, options) {
|
|
3922
|
+
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));
|
|
4342
3923
|
},
|
|
4343
3924
|
/**
|
|
4344
3925
|
*
|
|
4345
3926
|
* @summary Get person image by name.
|
|
4346
|
-
* @param {
|
|
4347
|
-
* @param {ImageType} imageType Image type.
|
|
4348
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4349
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4350
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4351
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4352
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4353
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4354
|
-
* @param {number} [width] The fixed image width to return.
|
|
4355
|
-
* @param {number} [height] The fixed image height to return.
|
|
4356
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4357
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4358
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4359
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4360
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4361
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4362
|
-
* @param {number} [imageIndex] Image index.
|
|
3927
|
+
* @param {ImageApiHeadPersonImageRequest} requestParameters Request parameters.
|
|
4363
3928
|
* @param {*} [options] Override http request option.
|
|
4364
3929
|
* @throws {RequiredError}
|
|
4365
3930
|
*/
|
|
4366
|
-
headPersonImage(
|
|
4367
|
-
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));
|
|
3931
|
+
headPersonImage(requestParameters, options) {
|
|
3932
|
+
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));
|
|
4368
3933
|
},
|
|
4369
3934
|
/**
|
|
4370
3935
|
*
|
|
4371
3936
|
* @summary Get person image by name.
|
|
4372
|
-
* @param {
|
|
4373
|
-
* @param {ImageType} imageType Image type.
|
|
4374
|
-
* @param {number} imageIndex Image index.
|
|
4375
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4376
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4377
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4378
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4379
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4380
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4381
|
-
* @param {number} [width] The fixed image width to return.
|
|
4382
|
-
* @param {number} [height] The fixed image height to return.
|
|
4383
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4384
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4385
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4386
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4387
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4388
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3937
|
+
* @param {ImageApiHeadPersonImageByIndexRequest} requestParameters Request parameters.
|
|
4389
3938
|
* @param {*} [options] Override http request option.
|
|
4390
3939
|
* @throws {RequiredError}
|
|
4391
3940
|
*/
|
|
4392
|
-
headPersonImageByIndex(
|
|
4393
|
-
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));
|
|
3941
|
+
headPersonImageByIndex(requestParameters, options) {
|
|
3942
|
+
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));
|
|
4394
3943
|
},
|
|
4395
3944
|
/**
|
|
4396
3945
|
*
|
|
4397
3946
|
* @summary Get studio image by name.
|
|
4398
|
-
* @param {
|
|
4399
|
-
* @param {ImageType} imageType Image type.
|
|
4400
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4401
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4402
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4403
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4404
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4405
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4406
|
-
* @param {number} [width] The fixed image width to return.
|
|
4407
|
-
* @param {number} [height] The fixed image height to return.
|
|
4408
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4409
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4410
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4411
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4412
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4413
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4414
|
-
* @param {number} [imageIndex] Image index.
|
|
3947
|
+
* @param {ImageApiHeadStudioImageRequest} requestParameters Request parameters.
|
|
4415
3948
|
* @param {*} [options] Override http request option.
|
|
4416
3949
|
* @throws {RequiredError}
|
|
4417
3950
|
*/
|
|
4418
|
-
headStudioImage(
|
|
4419
|
-
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));
|
|
3951
|
+
headStudioImage(requestParameters, options) {
|
|
3952
|
+
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));
|
|
4420
3953
|
},
|
|
4421
3954
|
/**
|
|
4422
3955
|
*
|
|
4423
3956
|
* @summary Get studio image by name.
|
|
4424
|
-
* @param {
|
|
4425
|
-
* @param {ImageType} imageType Image type.
|
|
4426
|
-
* @param {number} imageIndex Image index.
|
|
4427
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4428
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4429
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4430
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4431
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4432
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4433
|
-
* @param {number} [width] The fixed image width to return.
|
|
4434
|
-
* @param {number} [height] The fixed image height to return.
|
|
4435
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4436
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4437
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4438
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4439
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4440
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3957
|
+
* @param {ImageApiHeadStudioImageByIndexRequest} requestParameters Request parameters.
|
|
4441
3958
|
* @param {*} [options] Override http request option.
|
|
4442
3959
|
* @throws {RequiredError}
|
|
4443
3960
|
*/
|
|
4444
|
-
headStudioImageByIndex(
|
|
4445
|
-
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));
|
|
3961
|
+
headStudioImageByIndex(requestParameters, options) {
|
|
3962
|
+
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));
|
|
4446
3963
|
},
|
|
4447
3964
|
/**
|
|
4448
3965
|
*
|
|
4449
3966
|
* @summary Get user profile image.
|
|
4450
|
-
* @param {
|
|
4451
|
-
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
4452
|
-
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
4453
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
4454
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
4455
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
4456
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
4457
|
-
* @param {number} [width] The fixed image width to return.
|
|
4458
|
-
* @param {number} [height] The fixed image height to return.
|
|
4459
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
4460
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
4461
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
4462
|
-
* @param {number} [blur] Optional. Blur image.
|
|
4463
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
4464
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
4465
|
-
* @param {number} [imageIndex] Image index.
|
|
3967
|
+
* @param {ImageApiHeadUserImageRequest} requestParameters Request parameters.
|
|
4466
3968
|
* @param {*} [options] Override http request option.
|
|
4467
3969
|
* @throws {RequiredError}
|
|
4468
3970
|
*/
|
|
4469
|
-
headUserImage(
|
|
4470
|
-
return localVarFp.headUserImage(userId, tag, format,
|
|
3971
|
+
headUserImage(requestParameters = {}, options) {
|
|
3972
|
+
return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
4471
3973
|
},
|
|
4472
3974
|
/**
|
|
4473
3975
|
*
|
|
4474
3976
|
* @summary Sets the user image.
|
|
4475
|
-
* @param {
|
|
4476
|
-
* @param {any} [body]
|
|
3977
|
+
* @param {ImageApiPostUserImageRequest} requestParameters Request parameters.
|
|
4477
3978
|
* @param {*} [options] Override http request option.
|
|
4478
3979
|
* @throws {RequiredError}
|
|
4479
3980
|
*/
|
|
4480
|
-
postUserImage(
|
|
4481
|
-
return localVarFp.postUserImage(userId, body, options).then((request) => request(axios, basePath));
|
|
3981
|
+
postUserImage(requestParameters = {}, options) {
|
|
3982
|
+
return localVarFp.postUserImage(requestParameters.userId, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4482
3983
|
},
|
|
4483
3984
|
/**
|
|
4484
3985
|
*
|
|
4485
3986
|
* @summary Set item image.
|
|
4486
|
-
* @param {
|
|
4487
|
-
* @param {ImageType} imageType Image type.
|
|
4488
|
-
* @param {any} [body]
|
|
3987
|
+
* @param {ImageApiSetItemImageRequest} requestParameters Request parameters.
|
|
4489
3988
|
* @param {*} [options] Override http request option.
|
|
4490
3989
|
* @throws {RequiredError}
|
|
4491
3990
|
*/
|
|
4492
|
-
setItemImage(
|
|
4493
|
-
return localVarFp.setItemImage(itemId, imageType, body, options).then((request) => request(axios, basePath));
|
|
3991
|
+
setItemImage(requestParameters, options) {
|
|
3992
|
+
return localVarFp.setItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4494
3993
|
},
|
|
4495
3994
|
/**
|
|
4496
3995
|
*
|
|
4497
3996
|
* @summary Set item image.
|
|
4498
|
-
* @param {
|
|
4499
|
-
* @param {ImageType} imageType Image type.
|
|
4500
|
-
* @param {number} imageIndex (Unused) Image index.
|
|
4501
|
-
* @param {any} [body]
|
|
3997
|
+
* @param {ImageApiSetItemImageByIndexRequest} requestParameters Request parameters.
|
|
4502
3998
|
* @param {*} [options] Override http request option.
|
|
4503
3999
|
* @throws {RequiredError}
|
|
4504
4000
|
*/
|
|
4505
|
-
setItemImageByIndex(
|
|
4506
|
-
return localVarFp.setItemImageByIndex(itemId, imageType, imageIndex, body, options).then((request) => request(axios, basePath));
|
|
4001
|
+
setItemImageByIndex(requestParameters, options) {
|
|
4002
|
+
return localVarFp.setItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4507
4003
|
},
|
|
4508
4004
|
/**
|
|
4509
4005
|
*
|
|
4510
4006
|
* @summary Updates the index for an item image.
|
|
4511
|
-
* @param {
|
|
4512
|
-
* @param {ImageType} imageType Image type.
|
|
4513
|
-
* @param {number} imageIndex Old image index.
|
|
4514
|
-
* @param {number} newIndex New image index.
|
|
4007
|
+
* @param {ImageApiUpdateItemImageIndexRequest} requestParameters Request parameters.
|
|
4515
4008
|
* @param {*} [options] Override http request option.
|
|
4516
4009
|
* @throws {RequiredError}
|
|
4517
4010
|
*/
|
|
4518
|
-
updateItemImageIndex(
|
|
4519
|
-
return localVarFp.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options).then((request) => request(axios, basePath));
|
|
4011
|
+
updateItemImageIndex(requestParameters, options) {
|
|
4012
|
+
return localVarFp.updateItemImageIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.newIndex, options).then((request) => request(axios, basePath));
|
|
4520
4013
|
},
|
|
4521
4014
|
/**
|
|
4522
4015
|
*
|
|
4523
4016
|
* @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
|
|
4524
|
-
* @param {
|
|
4017
|
+
* @param {ImageApiUploadCustomSplashscreenRequest} requestParameters Request parameters.
|
|
4525
4018
|
* @param {*} [options] Override http request option.
|
|
4526
4019
|
* @throws {RequiredError}
|
|
4527
4020
|
*/
|
|
4528
|
-
uploadCustomSplashscreen(
|
|
4529
|
-
return localVarFp.uploadCustomSplashscreen(body, options).then((request) => request(axios, basePath));
|
|
4021
|
+
uploadCustomSplashscreen(requestParameters = {}, options) {
|
|
4022
|
+
return localVarFp.uploadCustomSplashscreen(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
4530
4023
|
},
|
|
4531
4024
|
};
|
|
4532
4025
|
};
|
|
@@ -4710,7 +4203,7 @@ class ImageApi extends BaseAPI {
|
|
|
4710
4203
|
* @memberof ImageApi
|
|
4711
4204
|
*/
|
|
4712
4205
|
getSplashscreen(requestParameters = {}, options) {
|
|
4713
|
-
return ImageApiFp(this.configuration).getSplashscreen(requestParameters.tag, requestParameters.format,
|
|
4206
|
+
return ImageApiFp(this.configuration).getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4714
4207
|
}
|
|
4715
4208
|
/**
|
|
4716
4209
|
*
|
|
@@ -4743,7 +4236,7 @@ class ImageApi extends BaseAPI {
|
|
|
4743
4236
|
* @memberof ImageApi
|
|
4744
4237
|
*/
|
|
4745
4238
|
getUserImage(requestParameters = {}, options) {
|
|
4746
|
-
return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
4239
|
+
return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4747
4240
|
}
|
|
4748
4241
|
/**
|
|
4749
4242
|
*
|
|
@@ -4886,7 +4379,7 @@ class ImageApi extends BaseAPI {
|
|
|
4886
4379
|
* @memberof ImageApi
|
|
4887
4380
|
*/
|
|
4888
4381
|
headUserImage(requestParameters = {}, options) {
|
|
4889
|
-
return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
4382
|
+
return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4890
4383
|
}
|
|
4891
4384
|
/**
|
|
4892
4385
|
*
|