From 61155a233543a728b5b26ab3f4ac413f4b4510e7 Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Thu, 3 Aug 2023 05:01:33 +0000 Subject: [PATCH] Update OpenAPI to unstable --- openapi.json | 4 +- src/generated-client/.openapi-generator/FILES | 70 +- src/generated-client/api.ts | 2 - src/generated-client/api/audio-api.ts | 16 +- src/generated-client/api/dynamic-hls-api.ts | 8 +- src/generated-client/api/image-api.ts | 728 ++++-------------- src/generated-client/api/items-api.ts | 72 +- src/generated-client/api/playlists-api.ts | 2 + src/generated-client/api/playstate-api.ts | 2 + src/generated-client/api/quick-connect-api.ts | 132 ++-- src/generated-client/api/search-api.ts | 84 +- src/generated-client/api/system-api.ts | 2 + src/generated-client/api/trailers-api.ts | 40 +- src/generated-client/api/user-api.ts | 34 +- src/generated-client/api/user-library-api.ts | 99 +++ .../models/activity-log-entry-message.ts | 43 ++ .../activity-log-entry-start-message.ts | 36 + .../models/activity-log-entry-stop-message.ts | 30 + src/generated-client/models/architecture.ts | 5 +- .../models/authenticate-user-by-name.ts | 7 - src/generated-client/models/base-item-dto.ts | 18 +- .../models/base-item-person.ts | 7 +- .../models/container-profile.ts | 2 +- .../models/create-user-by-name.ts | 2 +- .../models/down-mix-stereo-algorithms.ts | 31 + .../models/encoding-options.ts | 103 ++- .../models/force-keep-alive-message.ts | 42 + .../models/general-command-message.ts | 43 ++ .../models/group-info-dto-group-update.ts | 43 ++ .../models/group-state-update-group-update.ts | 43 ++ .../models/group-state-update.ts | 37 + src/generated-client/models/group-update.ts | 29 + .../models/image-resolution.ts | 37 + .../models/inbound-keep-alive-message.ts | 30 + .../models/inbound-web-socket-message.ts | 31 + src/generated-client/models/index.ts | 68 +- .../models/library-changed-message.ts | 43 ++ .../models/library-options.ts | 12 + .../models/live-tv-options.ts | 12 + src/generated-client/models/lyric-line.ts | 35 + src/generated-client/models/lyric-metadata.ts | 77 ++ src/generated-client/models/lyric-response.ts | 37 + src/generated-client/models/media-stream.ts | 26 +- .../models/network-configuration.ts | 158 ++-- .../models/outbound-keep-alive-message.ts | 36 + .../models/outbound-web-socket-message.ts | 53 ++ .../models/parental-rating.ts | 2 +- src/generated-client/models/person-kind.ts | 46 ++ src/generated-client/models/play-message.ts | 43 ++ .../models/play-queue-update-group-update.ts | 43 ++ .../models/play-queue-update-reason.ts | 38 + .../models/play-queue-update.ts | 75 ++ .../models/playback-request-type.ts | 45 ++ .../models/playstate-message.ts | 43 ++ .../plugin-installation-cancelled-message.ts | 43 ++ .../plugin-installation-completed-message.ts | 43 ++ .../plugin-installation-failed-message.ts | 43 ++ .../models/plugin-installing-message.ts | 43 ++ .../models/plugin-uninstalled-message.ts | 43 ++ .../models/public-system-info.ts | 1 + .../models/refresh-progress-message.ts | 42 + .../models/remote-subtitle-info.ts | 30 + .../remove-from-playlist-request-dto.ts | 2 +- .../models/restart-required-message.ts | 36 + .../models/scheduled-task-ended-message.ts | 43 ++ .../models/scheduled-tasks-info-message.ts | 43 ++ .../scheduled-tasks-info-start-message.ts | 36 + .../scheduled-tasks-info-stop-message.ts | 30 + src/generated-client/models/search-hint.ts | 32 +- src/generated-client/models/series-status.ts | 5 +- .../models/series-timer-cancelled-message.ts | 43 ++ .../models/series-timer-created-message.ts | 43 ++ .../models/server-configuration.ts | 25 + .../models/server-restarting-message.ts | 36 + .../models/server-shutting-down-message.ts | 36 + .../models/sessions-message.ts | 43 ++ .../models/sessions-start-message.ts | 36 + .../models/sessions-stop-message.ts | 30 + .../models/string-group-update.ts | 42 + .../models/sync-play-command-message.ts | 43 ++ .../sync-play-group-update-command-message.ts | 43 ++ .../models/sync-play-queue-item.ts | 35 + src/generated-client/models/system-info.ts | 3 + .../models/timer-cancelled-message.ts | 43 ++ .../models/timer-created-message.ts | 43 ++ .../models/tuner-host-info.ts | 6 + .../models/upload-subtitle-dto.ts | 6 + .../models/user-data-change-info.ts | 36 + .../models/user-data-changed-message.ts | 43 ++ .../models/user-deleted-message.ts | 42 + src/generated-client/models/user-dto.ts | 1 + src/generated-client/models/user-policy.ts | 12 + .../models/user-updated-message.ts | 43 ++ .../models/video-range-type.ts | 34 + src/generated-client/models/video-range.ts | 31 + .../models/web-socket-message.ts | 27 + src/versions.ts | 2 +- 97 files changed, 3181 insertions(+), 967 deletions(-) create mode 100644 src/generated-client/models/activity-log-entry-message.ts create mode 100644 src/generated-client/models/activity-log-entry-start-message.ts create mode 100644 src/generated-client/models/activity-log-entry-stop-message.ts create mode 100644 src/generated-client/models/down-mix-stereo-algorithms.ts create mode 100644 src/generated-client/models/force-keep-alive-message.ts create mode 100644 src/generated-client/models/general-command-message.ts create mode 100644 src/generated-client/models/group-info-dto-group-update.ts create mode 100644 src/generated-client/models/group-state-update-group-update.ts create mode 100644 src/generated-client/models/group-state-update.ts create mode 100644 src/generated-client/models/group-update.ts create mode 100644 src/generated-client/models/image-resolution.ts create mode 100644 src/generated-client/models/inbound-keep-alive-message.ts create mode 100644 src/generated-client/models/inbound-web-socket-message.ts create mode 100644 src/generated-client/models/library-changed-message.ts create mode 100644 src/generated-client/models/lyric-line.ts create mode 100644 src/generated-client/models/lyric-metadata.ts create mode 100644 src/generated-client/models/lyric-response.ts create mode 100644 src/generated-client/models/outbound-keep-alive-message.ts create mode 100644 src/generated-client/models/outbound-web-socket-message.ts create mode 100644 src/generated-client/models/person-kind.ts create mode 100644 src/generated-client/models/play-message.ts create mode 100644 src/generated-client/models/play-queue-update-group-update.ts create mode 100644 src/generated-client/models/play-queue-update-reason.ts create mode 100644 src/generated-client/models/play-queue-update.ts create mode 100644 src/generated-client/models/playback-request-type.ts create mode 100644 src/generated-client/models/playstate-message.ts create mode 100644 src/generated-client/models/plugin-installation-cancelled-message.ts create mode 100644 src/generated-client/models/plugin-installation-completed-message.ts create mode 100644 src/generated-client/models/plugin-installation-failed-message.ts create mode 100644 src/generated-client/models/plugin-installing-message.ts create mode 100644 src/generated-client/models/plugin-uninstalled-message.ts create mode 100644 src/generated-client/models/refresh-progress-message.ts create mode 100644 src/generated-client/models/restart-required-message.ts create mode 100644 src/generated-client/models/scheduled-task-ended-message.ts create mode 100644 src/generated-client/models/scheduled-tasks-info-message.ts create mode 100644 src/generated-client/models/scheduled-tasks-info-start-message.ts create mode 100644 src/generated-client/models/scheduled-tasks-info-stop-message.ts create mode 100644 src/generated-client/models/series-timer-cancelled-message.ts create mode 100644 src/generated-client/models/series-timer-created-message.ts create mode 100644 src/generated-client/models/server-restarting-message.ts create mode 100644 src/generated-client/models/server-shutting-down-message.ts create mode 100644 src/generated-client/models/sessions-message.ts create mode 100644 src/generated-client/models/sessions-start-message.ts create mode 100644 src/generated-client/models/sessions-stop-message.ts create mode 100644 src/generated-client/models/string-group-update.ts create mode 100644 src/generated-client/models/sync-play-command-message.ts create mode 100644 src/generated-client/models/sync-play-group-update-command-message.ts create mode 100644 src/generated-client/models/sync-play-queue-item.ts create mode 100644 src/generated-client/models/timer-cancelled-message.ts create mode 100644 src/generated-client/models/timer-created-message.ts create mode 100644 src/generated-client/models/user-data-change-info.ts create mode 100644 src/generated-client/models/user-data-changed-message.ts create mode 100644 src/generated-client/models/user-deleted-message.ts create mode 100644 src/generated-client/models/user-updated-message.ts create mode 100644 src/generated-client/models/video-range-type.ts create mode 100644 src/generated-client/models/video-range.ts create mode 100644 src/generated-client/models/web-socket-message.ts diff --git a/openapi.json b/openapi.json index 4f6fa5ac8..26b7991f2 100644 --- a/openapi.json +++ b/openapi.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:937e91666a3721e826982a40c07c09f2acef12997d9f5910e63f28e76ae3d791 -size 849910 +oid sha256:f58140d4a111040dd7c384c1e789f2e5b11e922780d9ebb29b1842de271dfedc +size 862429 diff --git a/src/generated-client/.openapi-generator/FILES b/src/generated-client/.openapi-generator/FILES index a4754b2d8..f86e88bce 100644 --- a/src/generated-client/.openapi-generator/FILES +++ b/src/generated-client/.openapi-generator/FILES @@ -21,7 +21,6 @@ api/filter-api.ts api/genres-api.ts api/hls-segment-api.ts api/image-api.ts -api/image-by-name-api.ts api/instant-mix-api.ts api/item-lookup-api.ts api/item-refresh-api.ts @@ -34,7 +33,6 @@ api/localization-api.ts api/media-info-api.ts api/movies-api.ts api/music-genres-api.ts -api/notifications-api.ts api/package-api.ts api/persons-api.ts api/playlists-api.ts @@ -68,10 +66,12 @@ configuration.ts git_push.sh index.ts models/access-schedule.ts +models/activity-log-entry-message.ts models/activity-log-entry-query-result.ts +models/activity-log-entry-start-message.ts +models/activity-log-entry-stop-message.ts models/activity-log-entry.ts models/add-virtual-folder-dto.ts -models/admin-notification-dto.ts models/album-info-remote-search-query.ts models/album-info.ts models/all-theme-media-result.ts @@ -132,6 +132,7 @@ models/direct-play-profile.ts models/display-preferences-dto.ts models/dlna-options.ts models/dlna-profile-type.ts +models/down-mix-stereo-algorithms.ts models/dynamic-day-of-week.ts models/embedded-subtitle-options.ts models/encoding-context.ts @@ -144,32 +145,40 @@ models/ffmpeg-location.ts models/file-system-entry-info.ts models/file-system-entry-type.ts models/font-file.ts +models/force-keep-alive-message.ts models/forgot-password-action.ts models/forgot-password-dto.ts models/forgot-password-pin-dto.ts models/forgot-password-result.ts +models/general-command-message.ts models/general-command-type.ts models/general-command.ts models/get-programs-dto.ts +models/group-info-dto-group-update.ts models/group-info-dto.ts models/group-queue-mode.ts models/group-repeat-mode.ts models/group-shuffle-mode.ts models/group-state-type.ts +models/group-state-update-group-update.ts +models/group-state-update.ts models/group-update-type.ts +models/group-update.ts models/guide-info.ts models/hardware-encoding-type.ts models/header-match-type.ts models/http-header-info.ts models/ignore-wait-request-dto.ts -models/image-by-name-info.ts models/image-format.ts models/image-info.ts models/image-option.ts models/image-orientation.ts models/image-provider-info.ts +models/image-resolution.ts models/image-saving-convention.ts models/image-type.ts +models/inbound-keep-alive-message.ts +models/inbound-web-socket-message.ts models/index.ts models/installation-info.ts models/iplugin.ts @@ -179,6 +188,7 @@ models/item-fields.ts models/item-filter.ts models/join-group-request-dto.ts models/keep-until.ts +models/library-changed-message.ts models/library-option-info-dto.ts models/library-options-result-dto.ts models/library-options.ts @@ -194,6 +204,9 @@ models/localization-option.ts models/location-type.ts models/log-file.ts models/log-level.ts +models/lyric-line.ts +models/lyric-metadata.ts +models/lyric-response.ts models/media-attachment.ts models/media-encoder-path-dto.ts models/media-path-dto.ts @@ -223,39 +236,45 @@ models/name-value-pair.ts models/network-configuration.ts models/new-group-request-dto.ts models/next-item-request-dto.ts -models/notification-dto.ts -models/notification-level.ts -models/notification-option.ts -models/notification-options.ts -models/notification-result-dto.ts -models/notification-type-info.ts -models/notifications-summary-dto.ts -models/object-group-update.ts models/open-live-stream-dto.ts +models/outbound-keep-alive-message.ts +models/outbound-web-socket-message.ts models/package-info.ts models/parental-rating.ts models/path-substitution.ts +models/person-kind.ts models/person-lookup-info-remote-search-query.ts models/person-lookup-info.ts models/pin-redeem-result.ts models/ping-request-dto.ts models/play-access.ts models/play-command.ts +models/play-message.ts models/play-method.ts +models/play-queue-update-group-update.ts +models/play-queue-update-reason.ts +models/play-queue-update.ts models/play-request-dto.ts models/play-request.ts models/playback-error-code.ts models/playback-info-dto.ts models/playback-info-response.ts models/playback-progress-info.ts +models/playback-request-type.ts models/playback-start-info.ts models/playback-stop-info.ts models/player-state-info.ts models/playlist-creation-result.ts models/playstate-command.ts +models/playstate-message.ts models/playstate-request.ts models/plugin-info.ts +models/plugin-installation-cancelled-message.ts +models/plugin-installation-completed-message.ts +models/plugin-installation-failed-message.ts +models/plugin-installing-message.ts models/plugin-status.ts +models/plugin-uninstalled-message.ts models/previous-item-request-dto.ts models/problem-details.ts models/profile-condition-type.ts @@ -274,6 +293,7 @@ models/ready-request-dto.ts models/recommendation-dto.ts models/recommendation-type.ts models/recording-status.ts +models/refresh-progress-message.ts models/remote-image-info.ts models/remote-image-result.ts models/remote-search-result.ts @@ -282,23 +302,34 @@ models/remove-from-playlist-request-dto.ts models/repeat-mode.ts models/repository-info.ts models/response-profile.ts +models/restart-required-message.ts +models/scheduled-task-ended-message.ts +models/scheduled-tasks-info-message.ts +models/scheduled-tasks-info-start-message.ts +models/scheduled-tasks-info-stop-message.ts models/scroll-direction.ts models/search-hint-result.ts models/search-hint.ts models/seek-request-dto.ts models/send-command-type.ts models/send-command.ts -models/send-to-user-type.ts models/series-info-remote-search-query.ts models/series-info.ts models/series-status.ts +models/series-timer-cancelled-message.ts +models/series-timer-created-message.ts models/series-timer-info-dto-query-result.ts models/series-timer-info-dto.ts models/server-configuration.ts models/server-discovery-info.ts +models/server-restarting-message.ts +models/server-shutting-down-message.ts models/session-info.ts models/session-message-type.ts models/session-user-info.ts +models/sessions-message.ts +models/sessions-start-message.ts +models/sessions-stop-message.ts models/set-channel-mapping-dto.ts models/set-playlist-item-request-dto.ts models/set-repeat-mode-request-dto.ts @@ -309,10 +340,14 @@ models/special-view-option-dto.ts models/startup-configuration-dto.ts models/startup-remote-access-dto.ts models/startup-user-dto.ts +models/string-group-update.ts models/subtitle-delivery-method.ts models/subtitle-options.ts models/subtitle-playback-mode.ts models/subtitle-profile.ts +models/sync-play-command-message.ts +models/sync-play-group-update-command-message.ts +models/sync-play-queue-item.ts models/sync-play-user-access-type.ts models/system-info.ts models/task-completion-status.ts @@ -321,6 +356,8 @@ models/task-result.ts models/task-state.ts models/task-trigger-info.ts models/theme-media-result.ts +models/timer-cancelled-message.ts +models/timer-created-message.ts models/timer-event-info.ts models/timer-info-dto-query-result.ts models/timer-info-dto.ts @@ -341,15 +378,22 @@ models/update-user-easy-password.ts models/update-user-password.ts models/upload-subtitle-dto.ts models/user-configuration.ts +models/user-data-change-info.ts +models/user-data-changed-message.ts +models/user-deleted-message.ts models/user-dto.ts models/user-item-data-dto.ts models/user-policy.ts +models/user-updated-message.ts models/utc-time-response.ts models/validate-path-dto.ts models/version-info.ts +models/video-range-type.ts +models/video-range.ts models/video-type.ts models/video3-dformat.ts models/virtual-folder-info.ts models/wake-on-lan-info.ts +models/web-socket-message.ts models/xbmc-metadata-options.ts models/xml-attribute.ts diff --git a/src/generated-client/api.ts b/src/generated-client/api.ts index 8133e6c69..e4a3d8d89 100644 --- a/src/generated-client/api.ts +++ b/src/generated-client/api.ts @@ -33,7 +33,6 @@ export * from './api/filter-api'; export * from './api/genres-api'; export * from './api/hls-segment-api'; export * from './api/image-api'; -export * from './api/image-by-name-api'; export * from './api/instant-mix-api'; export * from './api/item-lookup-api'; export * from './api/item-refresh-api'; @@ -46,7 +45,6 @@ export * from './api/localization-api'; export * from './api/media-info-api'; export * from './api/movies-api'; export * from './api/music-genres-api'; -export * from './api/notifications-api'; export * from './api/package-api'; export * from './api/persons-api'; export * from './api/playlists-api'; diff --git a/src/generated-client/api/audio-api.ts b/src/generated-client/api/audio-api.ts index 341122b26..32c4b6975 100644 --- a/src/generated-client/api/audio-api.ts +++ b/src/generated-client/api/audio-api.ts @@ -314,7 +314,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -861,7 +861,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -1203,7 +1203,7 @@ export const AudioApiFp = function(configuration?: Configuration) { * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -1321,7 +1321,7 @@ export const AudioApiFp = function(configuration?: Configuration) { * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -1448,7 +1448,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -1564,7 +1564,7 @@ export const AudioApiFactory = function (configuration?: Configuration, basePath * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -2027,7 +2027,7 @@ export interface AudioApiGetAudioStreamByContainerRequest { readonly segmentContainer?: string /** - * The segment lenght. + * The segment length. * @type {number} * @memberof AudioApiGetAudioStreamByContainer */ @@ -2727,7 +2727,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest { readonly segmentContainer?: string /** - * The segment lenght. + * The segment length. * @type {number} * @memberof AudioApiHeadAudioStreamByContainer */ diff --git a/src/generated-client/api/dynamic-hls-api.ts b/src/generated-client/api/dynamic-hls-api.ts index 92b5daea4..c385abaeb 100644 --- a/src/generated-client/api/dynamic-hls-api.ts +++ b/src/generated-client/api/dynamic-hls-api.ts @@ -651,7 +651,7 @@ export const DynamicHlsApiAxiosParamCreator = function (configuration?: Configur * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -2787,7 +2787,7 @@ export const DynamicHlsApiFp = function(configuration?: Configuration) { * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -3347,7 +3347,7 @@ export const DynamicHlsApiFactory = function (configuration?: Configuration, bas * @param {string} [deviceProfileId] Optional. The dlna device profile id to utilize. * @param {string} [playSessionId] The play session id. * @param {string} [segmentContainer] The segment container. - * @param {number} [segmentLength] The segment lenght. + * @param {number} [segmentLength] The segment length. * @param {number} [minSegments] The minimum number of segments. * @param {string} [mediaSourceId] The media version id, if playing an alternate version. * @param {string} [deviceId] The device id of the client requesting. Used to stop encoding processes when needed. @@ -4595,7 +4595,7 @@ export interface DynamicHlsApiGetLiveHlsStreamRequest { readonly segmentContainer?: string /** - * The segment lenght. + * The segment length. * @type {number} * @memberof DynamicHlsApiGetLiveHlsStream */ diff --git a/src/generated-client/api/image-api.ts b/src/generated-client/api/image-api.ts index c93830ed1..b29443e84 100644 --- a/src/generated-client/api/image-api.ts +++ b/src/generated-client/api/image-api.ts @@ -266,14 +266,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getArtistImage: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getArtistImage: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getArtistImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -343,10 +342,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -387,7 +382,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -395,7 +389,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getGenreImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -462,10 +456,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -511,14 +501,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getGenreImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -588,10 +577,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -630,7 +615,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -640,7 +624,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImage: async (itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getItemImage: async (itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('getItemImage', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -699,10 +683,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['format'] = format; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (percentPlayed !== undefined) { localVarQueryParameter['percentPlayed'] = percentPlayed; } @@ -756,14 +736,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImage2: async (itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getItemImage2: async (itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('getItemImage2', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -827,10 +806,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -870,7 +845,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -879,7 +853,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImageByIndex: async (itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getItemImageByIndex: async (itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('getItemImageByIndex', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -941,10 +915,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['format'] = format; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (percentPlayed !== undefined) { localVarQueryParameter['percentPlayed'] = percentPlayed; } @@ -1030,7 +1000,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -1038,7 +1007,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMusicGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getMusicGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getMusicGenreImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1105,10 +1074,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1154,14 +1119,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMusicGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getMusicGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getMusicGenreImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1231,10 +1195,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1275,7 +1235,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -1283,7 +1242,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getPersonImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getPersonImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1350,10 +1309,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1399,14 +1354,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getPersonImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getPersonImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1476,10 +1430,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1610,7 +1560,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -1618,7 +1567,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStudioImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getStudioImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getStudioImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1685,10 +1634,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1734,14 +1679,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStudioImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getStudioImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('getStudioImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -1811,10 +1755,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1855,7 +1795,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -1863,7 +1802,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserImage: async (userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + getUserImage: async (userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getUserImage', 'userId', userId) // verify required parameter 'imageType' is not null or undefined @@ -1930,10 +1869,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -1979,14 +1914,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserImageByIndex: async (userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + getUserImageByIndex: async (userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getUserImageByIndex', 'userId', userId) // verify required parameter 'imageType' is not null or undefined @@ -2056,10 +1990,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2101,14 +2031,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headArtistImage: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headArtistImage: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headArtistImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -2178,10 +2107,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2222,7 +2147,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -2230,7 +2154,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headGenreImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -2297,10 +2221,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2346,14 +2266,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headGenreImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -2423,10 +2342,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2465,7 +2380,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -2475,7 +2389,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImage: async (itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headItemImage: async (itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('headItemImage', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -2534,10 +2448,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['format'] = format; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (percentPlayed !== undefined) { localVarQueryParameter['percentPlayed'] = percentPlayed; } @@ -2591,14 +2501,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImage2: async (itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headItemImage2: async (itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('headItemImage2', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -2662,10 +2571,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2705,7 +2610,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -2714,7 +2618,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImageByIndex: async (itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headItemImageByIndex: async (itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('headItemImageByIndex', 'itemId', itemId) // verify required parameter 'imageType' is not null or undefined @@ -2776,10 +2680,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['format'] = format; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (percentPlayed !== undefined) { localVarQueryParameter['percentPlayed'] = percentPlayed; } @@ -2828,7 +2728,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -2836,7 +2735,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMusicGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headMusicGenreImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headMusicGenreImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -2903,10 +2802,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -2952,14 +2847,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMusicGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headMusicGenreImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headMusicGenreImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -3029,10 +2923,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3073,7 +2963,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -3081,7 +2970,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headPersonImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headPersonImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headPersonImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -3148,10 +3037,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3197,14 +3082,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headPersonImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headPersonImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headPersonImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -3274,10 +3158,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3318,7 +3198,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -3326,7 +3205,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headStudioImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headStudioImage: async (name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headStudioImage', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -3393,10 +3272,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3442,14 +3317,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headStudioImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headStudioImageByIndex: async (name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'name' is not null or undefined assertParamExists('headStudioImageByIndex', 'name', name) // verify required parameter 'imageType' is not null or undefined @@ -3519,10 +3393,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3563,7 +3433,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -3571,7 +3440,7 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headUserImage: async (userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { + headUserImage: async (userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('headUserImage', 'userId', userId) // verify required parameter 'imageType' is not null or undefined @@ -3638,10 +3507,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -3687,14 +3552,13 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headUserImageByIndex: async (userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { + headUserImageByIndex: async (userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('headUserImageByIndex', 'userId', userId) // verify required parameter 'imageType' is not null or undefined @@ -3764,10 +3628,6 @@ export const ImageApiAxiosParamCreator = function (configuration?: Configuration localVarQueryParameter['cropWhitespace'] = cropWhitespace; } - if (addPlayedIndicator !== undefined) { - localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator; - } - if (blur !== undefined) { localVarQueryParameter['blur'] = blur; } @@ -4163,15 +4023,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4191,7 +4050,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4199,8 +4057,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4221,15 +4079,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4247,7 +4104,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -4257,8 +4113,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4279,15 +4135,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4306,7 +4161,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -4315,8 +4169,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options); + async getItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4347,7 +4201,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4355,8 +4208,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4377,15 +4230,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4405,7 +4257,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4413,8 +4264,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4435,15 +4286,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4485,7 +4335,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4493,8 +4342,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4515,15 +4364,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4543,7 +4391,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4551,8 +4398,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async getUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4573,15 +4420,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async getUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4602,15 +4448,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4630,7 +4475,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4638,8 +4482,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4660,15 +4504,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4686,7 +4529,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -4696,8 +4538,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4718,15 +4560,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4745,7 +4586,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -4754,8 +4594,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options); + async headItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4775,7 +4615,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4783,8 +4622,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4805,15 +4644,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4833,7 +4671,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4841,8 +4678,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4863,15 +4700,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4891,7 +4727,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4899,8 +4734,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4921,15 +4756,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4949,7 +4783,6 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -4957,8 +4790,8 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options); + async headUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -4979,15 +4812,14 @@ export const ImageApiFp = function(configuration?: Configuration) { * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options); + async headUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -5155,15 +4987,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5182,7 +5013,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5190,8 +5020,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5211,15 +5041,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5236,7 +5065,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -5246,8 +5074,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5267,15 +5095,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5293,7 +5120,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -5302,8 +5128,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5332,7 +5158,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5340,8 +5165,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5361,15 +5186,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5388,7 +5212,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5396,8 +5219,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5417,15 +5240,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5465,7 +5287,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5473,8 +5294,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5494,15 +5315,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5521,7 +5341,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5529,8 +5348,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + getUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5550,15 +5369,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + getUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5578,15 +5396,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headArtistImage(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5605,7 +5422,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5613,8 +5429,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5634,15 +5450,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5659,7 +5474,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -5669,8 +5483,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headItemImage(itemId: string, imageType: ImageType, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5690,15 +5504,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headItemImage2(itemId: string, imageType: ImageType, maxWidth: number, maxHeight: number, tag: string, format: ImageFormat, percentPlayed: number, unplayedCount: number, imageIndex: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5716,7 +5529,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay. * @param {number} [unplayedCount] Optional. Unplayed count overlay to render. * @param {number} [blur] Optional. Blur image. @@ -5725,8 +5537,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, addPlayedIndicator?: boolean, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headItemImageByIndex(itemId: string, imageType: ImageType, imageIndex: number, maxWidth?: number, maxHeight?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, tag?: string, cropWhitespace?: boolean, format?: ImageFormat, percentPlayed?: number, unplayedCount?: number, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5745,7 +5557,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5753,8 +5564,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headMusicGenreImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5774,15 +5585,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headMusicGenreImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5801,7 +5611,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5809,8 +5618,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headPersonImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5830,15 +5639,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headPersonImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5857,7 +5665,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5865,8 +5672,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headStudioImage(name: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5886,15 +5693,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headStudioImageByIndex(name: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -5913,7 +5719,6 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. @@ -5921,8 +5726,8 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { - return localVarFp.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); + headUserImage(userId: string, imageType: ImageType, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, imageIndex?: number, options?: any): AxiosPromise { + return localVarFp.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath)); }, /** * @@ -5942,15 +5747,14 @@ export const ImageApiFactory = function (configuration?: Configuration, basePath * @param {number} [fillWidth] Width of box to fill. * @param {number} [fillHeight] Height of box to fill. * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art. - * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator. * @param {number} [blur] Optional. Blur image. * @param {string} [backgroundColor] Optional. Apply a background color for transparent images. * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, addPlayedIndicator?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { - return localVarFp.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); + headUserImageByIndex(userId: string, imageType: ImageType, imageIndex: number, tag?: string, format?: ImageFormat, maxWidth?: number, maxHeight?: number, percentPlayed?: number, unplayedCount?: number, width?: number, height?: number, quality?: number, fillWidth?: number, fillHeight?: number, cropWhitespace?: boolean, blur?: number, backgroundColor?: string, foregroundLayer?: string, options?: any): AxiosPromise { + return localVarFp.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath)); }, /** * @@ -6252,13 +6056,6 @@ export interface ImageApiGetArtistImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetArtistImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -6385,13 +6182,6 @@ export interface ImageApiGetGenreImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetGenreImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -6532,13 +6322,6 @@ export interface ImageApiGetGenreImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetGenreImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -6651,13 +6434,6 @@ export interface ImageApiGetItemImageRequest { */ readonly format?: ImageFormat - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetItemImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Percent to render for the percent played overlay. * @type {number} @@ -6812,13 +6588,6 @@ export interface ImageApiGetItemImage2Request { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetItemImage2 - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -6938,13 +6707,6 @@ export interface ImageApiGetItemImageByIndexRequest { */ readonly format?: ImageFormat - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetItemImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Percent to render for the percent played overlay. * @type {number} @@ -7099,13 +6861,6 @@ export interface ImageApiGetMusicGenreImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetMusicGenreImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -7246,13 +7001,6 @@ export interface ImageApiGetMusicGenreImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetMusicGenreImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -7379,13 +7127,6 @@ export interface ImageApiGetPersonImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetPersonImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -7526,13 +7267,6 @@ export interface ImageApiGetPersonImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetPersonImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -7750,13 +7484,6 @@ export interface ImageApiGetStudioImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetStudioImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -7897,13 +7624,6 @@ export interface ImageApiGetStudioImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetStudioImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8030,13 +7750,6 @@ export interface ImageApiGetUserImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetUserImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8177,13 +7890,6 @@ export interface ImageApiGetUserImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiGetUserImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8317,13 +8023,6 @@ export interface ImageApiHeadArtistImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadArtistImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8450,13 +8149,6 @@ export interface ImageApiHeadGenreImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadGenreImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8597,13 +8289,6 @@ export interface ImageApiHeadGenreImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadGenreImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -8716,13 +8401,6 @@ export interface ImageApiHeadItemImageRequest { */ readonly format?: ImageFormat - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadItemImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Percent to render for the percent played overlay. * @type {number} @@ -8877,13 +8555,6 @@ export interface ImageApiHeadItemImage2Request { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadItemImage2 - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9003,13 +8674,6 @@ export interface ImageApiHeadItemImageByIndexRequest { */ readonly format?: ImageFormat - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadItemImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Percent to render for the percent played overlay. * @type {number} @@ -9150,13 +8814,6 @@ export interface ImageApiHeadMusicGenreImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadMusicGenreImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9297,13 +8954,6 @@ export interface ImageApiHeadMusicGenreImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadMusicGenreImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9430,13 +9080,6 @@ export interface ImageApiHeadPersonImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadPersonImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9577,13 +9220,6 @@ export interface ImageApiHeadPersonImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadPersonImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9710,13 +9346,6 @@ export interface ImageApiHeadStudioImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadStudioImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9857,13 +9486,6 @@ export interface ImageApiHeadStudioImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadStudioImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -9990,13 +9612,6 @@ export interface ImageApiHeadUserImageRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadUserImage - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -10137,13 +9752,6 @@ export interface ImageApiHeadUserImageByIndexRequest { */ readonly cropWhitespace?: boolean - /** - * Optional. Add a played indicator. - * @type {boolean} - * @memberof ImageApiHeadUserImageByIndex - */ - readonly addPlayedIndicator?: boolean - /** * Optional. Blur image. * @type {number} @@ -10423,7 +10031,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getArtistImage(requestParameters: ImageApiGetArtistImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10435,7 +10043,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getGenreImage(requestParameters: ImageApiGetGenreImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10447,7 +10055,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getGenreImageByIndex(requestParameters: ImageApiGetGenreImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10459,7 +10067,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getItemImage(requestParameters: ImageApiGetItemImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).getItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).getItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10471,7 +10079,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getItemImage2(requestParameters: ImageApiGetItemImage2Request, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10483,7 +10091,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getItemImageByIndex(requestParameters: ImageApiGetItemImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).getItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).getItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10507,7 +10115,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getMusicGenreImage(requestParameters: ImageApiGetMusicGenreImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10519,7 +10127,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getMusicGenreImageByIndex(requestParameters: ImageApiGetMusicGenreImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10531,7 +10139,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getPersonImage(requestParameters: ImageApiGetPersonImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10543,7 +10151,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getPersonImageByIndex(requestParameters: ImageApiGetPersonImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10567,7 +10175,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getStudioImage(requestParameters: ImageApiGetStudioImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10579,7 +10187,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getStudioImageByIndex(requestParameters: ImageApiGetStudioImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10591,7 +10199,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getUserImage(requestParameters: ImageApiGetUserImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10603,7 +10211,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public getUserImageByIndex(requestParameters: ImageApiGetUserImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).getUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).getUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10615,7 +10223,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headArtistImage(requestParameters: ImageApiHeadArtistImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10627,7 +10235,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headGenreImage(requestParameters: ImageApiHeadGenreImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10639,7 +10247,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headGenreImageByIndex(requestParameters: ImageApiHeadGenreImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10651,7 +10259,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headItemImage(requestParameters: ImageApiHeadItemImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).headItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).headItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10663,7 +10271,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headItemImage2(requestParameters: ImageApiHeadItemImage2Request, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10675,7 +10283,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headItemImageByIndex(requestParameters: ImageApiHeadItemImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).headItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).headItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10687,7 +10295,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headMusicGenreImage(requestParameters: ImageApiHeadMusicGenreImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10699,7 +10307,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headMusicGenreImageByIndex(requestParameters: ImageApiHeadMusicGenreImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10711,7 +10319,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headPersonImage(requestParameters: ImageApiHeadPersonImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10723,7 +10331,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headPersonImageByIndex(requestParameters: ImageApiHeadPersonImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10735,7 +10343,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headStudioImage(requestParameters: ImageApiHeadStudioImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10747,7 +10355,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headStudioImageByIndex(requestParameters: ImageApiHeadStudioImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10759,7 +10367,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headUserImage(requestParameters: ImageApiHeadUserImageRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath)); } /** @@ -10771,7 +10379,7 @@ export class ImageApi extends BaseAPI { * @memberof ImageApi */ public headUserImageByIndex(requestParameters: ImageApiHeadUserImageByIndexRequest, options?: AxiosRequestConfig) { - return ImageApiFp(this.configuration).headUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); + return ImageApiFp(this.configuration).headUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/src/generated-client/api/items-api.ts b/src/generated-client/api/items-api.ts index 6eb477154..cc1f9fc5a 100644 --- a/src/generated-client/api/items-api.ts +++ b/src/generated-client/api/items-api.ts @@ -46,7 +46,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration /** * * @summary Gets items based on a query. - * @param {string} [userId] The user id supplied as query parameter. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -69,9 +69,9 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -82,7 +82,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -535,9 +535,9 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -548,7 +548,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -1094,7 +1094,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { /** * * @summary Gets items based on a query. - * @param {string} [userId] The user id supplied as query parameter. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -1117,9 +1117,9 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -1130,7 +1130,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -1212,9 +1212,9 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -1225,7 +1225,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -1319,7 +1319,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath /** * * @summary Gets items based on a query. - * @param {string} [userId] The user id supplied as query parameter. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -1342,9 +1342,9 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -1355,7 +1355,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -1436,9 +1436,9 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -1449,7 +1449,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -1538,7 +1538,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath */ export interface ItemsApiGetItemsRequest { /** - * The user id supplied as query parameter. + * The user id supplied as query parameter; this is required when not using an API key. * @type {string} * @memberof ItemsApiGetItems */ @@ -1699,21 +1699,21 @@ export interface ItemsApiGetItemsRequest { readonly hasOverview?: boolean /** - * Optional filter by items that have an imdb id or not. + * Optional filter by items that have an IMDb id or not. * @type {boolean} * @memberof ItemsApiGetItems */ readonly hasImdbId?: boolean /** - * Optional filter by items that have a tmdb id or not. + * Optional filter by items that have a TMDb id or not. * @type {boolean} * @memberof ItemsApiGetItems */ readonly hasTmdbId?: boolean /** - * Optional filter by items that have a tvdb id or not. + * Optional filter by items that have a TVDb id or not. * @type {boolean} * @memberof ItemsApiGetItems */ @@ -1790,7 +1790,7 @@ export interface ItemsApiGetItemsRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof ItemsApiGetItems */ @@ -2301,21 +2301,21 @@ export interface ItemsApiGetItemsByUserIdRequest { readonly hasOverview?: boolean /** - * Optional filter by items that have an imdb id or not. + * Optional filter by items that have an IMDb id or not. * @type {boolean} * @memberof ItemsApiGetItemsByUserId */ readonly hasImdbId?: boolean /** - * Optional filter by items that have a tmdb id or not. + * Optional filter by items that have a TMDb id or not. * @type {boolean} * @memberof ItemsApiGetItemsByUserId */ readonly hasTmdbId?: boolean /** - * Optional filter by items that have a tvdb id or not. + * Optional filter by items that have a TVDb id or not. * @type {boolean} * @memberof ItemsApiGetItemsByUserId */ @@ -2392,7 +2392,7 @@ export interface ItemsApiGetItemsByUserIdRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof ItemsApiGetItemsByUserId */ diff --git a/src/generated-client/api/playlists-api.ts b/src/generated-client/api/playlists-api.ts index 23ee67e8a..4d48e6db8 100644 --- a/src/generated-client/api/playlists-api.ts +++ b/src/generated-client/api/playlists-api.ts @@ -29,6 +29,8 @@ import { ImageType } from '../models'; import { ItemFields } from '../models'; // @ts-ignore import { PlaylistCreationResult } from '../models'; +// @ts-ignore +import { ProblemDetails } from '../models'; /** * PlaylistsApi - axios parameter creator * @export diff --git a/src/generated-client/api/playstate-api.ts b/src/generated-client/api/playstate-api.ts index 7862a018e..775a68e89 100644 --- a/src/generated-client/api/playstate-api.ts +++ b/src/generated-client/api/playstate-api.ts @@ -28,6 +28,8 @@ import { PlaybackStartInfo } from '../models'; // @ts-ignore import { PlaybackStopInfo } from '../models'; // @ts-ignore +import { ProblemDetails } from '../models'; +// @ts-ignore import { RepeatMode } from '../models'; // @ts-ignore import { UserItemDataDto } from '../models'; diff --git a/src/generated-client/api/quick-connect-api.ts b/src/generated-client/api/quick-connect-api.ts index 2b3b91b6f..4b611e63b 100644 --- a/src/generated-client/api/quick-connect-api.ts +++ b/src/generated-client/api/quick-connect-api.ts @@ -33,12 +33,13 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config * * @summary Authorizes a pending quick connect request. * @param {string} code Quick connect code to authorize. + * @param {string} [userId] The user the authorize. Access to the requested user is required. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - authorize: async (code: string, options: AxiosRequestConfig = {}): Promise => { + authorizeQuickConnect: async (code: string, userId?: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'code' is not null or undefined - assertParamExists('authorize', 'code', code) + assertParamExists('authorizeQuickConnect', 'code', code) const localVarPath = `/QuickConnect/Authorize`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -58,6 +59,10 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config localVarQueryParameter['code'] = code; } + if (userId !== undefined) { + localVarQueryParameter['userId'] = userId; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -71,15 +76,12 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config }, /** * - * @summary Attempts to retrieve authentication information. - * @param {string} secret Secret previously returned from the Initiate endpoint. + * @summary Gets the current quick connect state. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - connect: async (secret: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'secret' is not null or undefined - assertParamExists('connect', 'secret', secret) - const localVarPath = `/QuickConnect/Connect`; + getQuickConnectEnabled: async (options: AxiosRequestConfig = {}): Promise => { + const localVarPath = `/QuickConnect/Enabled`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -91,10 +93,6 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; - if (secret !== undefined) { - localVarQueryParameter['secret'] = secret; - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -108,12 +106,15 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config }, /** * - * @summary Gets the current quick connect state. + * @summary Attempts to retrieve authentication information. + * @param {string} secret Secret previously returned from the Initiate endpoint. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getEnabled: async (options: AxiosRequestConfig = {}): Promise => { - const localVarPath = `/QuickConnect/Enabled`; + getQuickConnectState: async (secret: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'secret' is not null or undefined + assertParamExists('getQuickConnectState', 'secret', secret) + const localVarPath = `/QuickConnect/Connect`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); let baseOptions; @@ -125,6 +126,10 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; + if (secret !== undefined) { + localVarQueryParameter['secret'] = secret; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -142,7 +147,7 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config * @param {*} [options] Override http request option. * @throws {RequiredError} */ - initiate: async (options: AxiosRequestConfig = {}): Promise => { + initiateQuickConnect: async (options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/QuickConnect/Initiate`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -151,7 +156,7 @@ export const QuickConnectApiAxiosParamCreator = function (configuration?: Config baseOptions = configuration.baseOptions; } - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; const localVarHeaderParameter = {} as any; const localVarQueryParameter = {} as any; @@ -180,32 +185,33 @@ export const QuickConnectApiFp = function(configuration?: Configuration) { * * @summary Authorizes a pending quick connect request. * @param {string} code Quick connect code to authorize. + * @param {string} [userId] The user the authorize. Access to the requested user is required. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async authorize(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.authorize(code, options); + async authorizeQuickConnect(code: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.authorizeQuickConnect(code, userId, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * - * @summary Attempts to retrieve authentication information. - * @param {string} secret Secret previously returned from the Initiate endpoint. + * @summary Gets the current quick connect state. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async connect(secret: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.connect(secret, options); + async getQuickConnectEnabled(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickConnectEnabled(options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** * - * @summary Gets the current quick connect state. + * @summary Attempts to retrieve authentication information. + * @param {string} secret Secret previously returned from the Initiate endpoint. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getEnabled(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getEnabled(options); + async getQuickConnectState(secret: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickConnectState(secret, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -214,8 +220,8 @@ export const QuickConnectApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async initiate(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.initiate(options); + async initiateQuickConnect(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.initiateQuickConnect(options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -232,30 +238,31 @@ export const QuickConnectApiFactory = function (configuration?: Configuration, b * * @summary Authorizes a pending quick connect request. * @param {string} code Quick connect code to authorize. + * @param {string} [userId] The user the authorize. Access to the requested user is required. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - authorize(code: string, options?: any): AxiosPromise { - return localVarFp.authorize(code, options).then((request) => request(axios, basePath)); + authorizeQuickConnect(code: string, userId?: string, options?: any): AxiosPromise { + return localVarFp.authorizeQuickConnect(code, userId, options).then((request) => request(axios, basePath)); }, /** * - * @summary Attempts to retrieve authentication information. - * @param {string} secret Secret previously returned from the Initiate endpoint. + * @summary Gets the current quick connect state. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - connect(secret: string, options?: any): AxiosPromise { - return localVarFp.connect(secret, options).then((request) => request(axios, basePath)); + getQuickConnectEnabled(options?: any): AxiosPromise { + return localVarFp.getQuickConnectEnabled(options).then((request) => request(axios, basePath)); }, /** * - * @summary Gets the current quick connect state. + * @summary Attempts to retrieve authentication information. + * @param {string} secret Secret previously returned from the Initiate endpoint. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getEnabled(options?: any): AxiosPromise { - return localVarFp.getEnabled(options).then((request) => request(axios, basePath)); + getQuickConnectState(secret: string, options?: any): AxiosPromise { + return localVarFp.getQuickConnectState(secret, options).then((request) => request(axios, basePath)); }, /** * @@ -263,36 +270,43 @@ export const QuickConnectApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - initiate(options?: any): AxiosPromise { - return localVarFp.initiate(options).then((request) => request(axios, basePath)); + initiateQuickConnect(options?: any): AxiosPromise { + return localVarFp.initiateQuickConnect(options).then((request) => request(axios, basePath)); }, }; }; /** - * Request parameters for authorize operation in QuickConnectApi. + * Request parameters for authorizeQuickConnect operation in QuickConnectApi. * @export - * @interface QuickConnectApiAuthorizeRequest + * @interface QuickConnectApiAuthorizeQuickConnectRequest */ -export interface QuickConnectApiAuthorizeRequest { +export interface QuickConnectApiAuthorizeQuickConnectRequest { /** * Quick connect code to authorize. * @type {string} - * @memberof QuickConnectApiAuthorize + * @memberof QuickConnectApiAuthorizeQuickConnect */ readonly code: string + + /** + * The user the authorize. Access to the requested user is required. + * @type {string} + * @memberof QuickConnectApiAuthorizeQuickConnect + */ + readonly userId?: string } /** - * Request parameters for connect operation in QuickConnectApi. + * Request parameters for getQuickConnectState operation in QuickConnectApi. * @export - * @interface QuickConnectApiConnectRequest + * @interface QuickConnectApiGetQuickConnectStateRequest */ -export interface QuickConnectApiConnectRequest { +export interface QuickConnectApiGetQuickConnectStateRequest { /** * Secret previously returned from the Initiate endpoint. * @type {string} - * @memberof QuickConnectApiConnect + * @memberof QuickConnectApiGetQuickConnectState */ readonly secret: string } @@ -307,36 +321,36 @@ export class QuickConnectApi extends BaseAPI { /** * * @summary Authorizes a pending quick connect request. - * @param {QuickConnectApiAuthorizeRequest} requestParameters Request parameters. + * @param {QuickConnectApiAuthorizeQuickConnectRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QuickConnectApi */ - public authorize(requestParameters: QuickConnectApiAuthorizeRequest, options?: AxiosRequestConfig) { - return QuickConnectApiFp(this.configuration).authorize(requestParameters.code, options).then((request) => request(this.axios, this.basePath)); + public authorizeQuickConnect(requestParameters: QuickConnectApiAuthorizeQuickConnectRequest, options?: AxiosRequestConfig) { + return QuickConnectApiFp(this.configuration).authorizeQuickConnect(requestParameters.code, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } /** * - * @summary Attempts to retrieve authentication information. - * @param {QuickConnectApiConnectRequest} requestParameters Request parameters. + * @summary Gets the current quick connect state. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QuickConnectApi */ - public connect(requestParameters: QuickConnectApiConnectRequest, options?: AxiosRequestConfig) { - return QuickConnectApiFp(this.configuration).connect(requestParameters.secret, options).then((request) => request(this.axios, this.basePath)); + public getQuickConnectEnabled(options?: AxiosRequestConfig) { + return QuickConnectApiFp(this.configuration).getQuickConnectEnabled(options).then((request) => request(this.axios, this.basePath)); } /** * - * @summary Gets the current quick connect state. + * @summary Attempts to retrieve authentication information. + * @param {QuickConnectApiGetQuickConnectStateRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof QuickConnectApi */ - public getEnabled(options?: AxiosRequestConfig) { - return QuickConnectApiFp(this.configuration).getEnabled(options).then((request) => request(this.axios, this.basePath)); + public getQuickConnectState(requestParameters: QuickConnectApiGetQuickConnectStateRequest, options?: AxiosRequestConfig) { + return QuickConnectApiFp(this.configuration).getQuickConnectState(requestParameters.secret, options).then((request) => request(this.axios, this.basePath)); } /** @@ -346,7 +360,7 @@ export class QuickConnectApi extends BaseAPI { * @throws {RequiredError} * @memberof QuickConnectApi */ - public initiate(options?: AxiosRequestConfig) { - return QuickConnectApiFp(this.configuration).initiate(options).then((request) => request(this.axios, this.basePath)); + public initiateQuickConnect(options?: AxiosRequestConfig) { + return QuickConnectApiFp(this.configuration).initiateQuickConnect(options).then((request) => request(this.axios, this.basePath)); } } diff --git a/src/generated-client/api/search-api.ts b/src/generated-client/api/search-api.ts index c03ba5d79..ff04ac8bb 100644 --- a/src/generated-client/api/search-api.ts +++ b/src/generated-client/api/search-api.ts @@ -36,9 +36,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param {number} [limit] Optional. The maximum number of records to return. * @param {string} [userId] Optional. Supply a user id to search within a user\'s library or omit to search all. - * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. - * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimeted. - * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimited. + * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimited. + * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimited. * @param {string} [parentId] If specified, only children of the parent are returned. * @param {boolean} [isMovie] Optional filter for movies. * @param {boolean} [isSeries] Optional filter for series. @@ -53,9 +53,9 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - get: async (searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options: AxiosRequestConfig = {}): Promise => { + getSearchHints: async (searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'searchTerm' is not null or undefined - assertParamExists('get', 'searchTerm', searchTerm) + assertParamExists('getSearchHints', 'searchTerm', searchTerm) const localVarPath = `/Search/Hints`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -171,9 +171,9 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param {number} [limit] Optional. The maximum number of records to return. * @param {string} [userId] Optional. Supply a user id to search within a user\'s library or omit to search all. - * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. - * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimeted. - * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimited. + * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimited. + * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimited. * @param {string} [parentId] If specified, only children of the parent are returned. * @param {boolean} [isMovie] Optional filter for movies. * @param {boolean} [isSeries] Optional filter for series. @@ -188,8 +188,8 @@ export const SearchApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async get(searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.get(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, options); + async getSearchHints(searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchHints(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -209,9 +209,9 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results. * @param {number} [limit] Optional. The maximum number of records to return. * @param {string} [userId] Optional. Supply a user id to search within a user\'s library or omit to search all. - * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. - * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimeted. - * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + * @param {Array} [includeItemTypes] If specified, only results with the specified item types are returned. This allows multiple, comma delimited. + * @param {Array} [excludeItemTypes] If specified, results with these item types are filtered out. This allows multiple, comma delimited. + * @param {Array} [mediaTypes] If specified, only results with the specified media types are returned. This allows multiple, comma delimited. * @param {string} [parentId] If specified, only children of the parent are returned. * @param {boolean} [isMovie] Optional filter for movies. * @param {boolean} [isSeries] Optional filter for series. @@ -226,141 +226,141 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - get(searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options?: any): AxiosPromise { - return localVarFp.get(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, options).then((request) => request(axios, basePath)); + getSearchHints(searchTerm: string, startIndex?: number, limit?: number, userId?: string, includeItemTypes?: Array, excludeItemTypes?: Array, mediaTypes?: Array, parentId?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, includePeople?: boolean, includeMedia?: boolean, includeGenres?: boolean, includeStudios?: boolean, includeArtists?: boolean, options?: any): AxiosPromise { + return localVarFp.getSearchHints(searchTerm, startIndex, limit, userId, includeItemTypes, excludeItemTypes, mediaTypes, parentId, isMovie, isSeries, isNews, isKids, isSports, includePeople, includeMedia, includeGenres, includeStudios, includeArtists, options).then((request) => request(axios, basePath)); }, }; }; /** - * Request parameters for get operation in SearchApi. + * Request parameters for getSearchHints operation in SearchApi. * @export - * @interface SearchApiGetRequest + * @interface SearchApiGetSearchHintsRequest */ -export interface SearchApiGetRequest { +export interface SearchApiGetSearchHintsRequest { /** * The search term to filter on. * @type {string} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly searchTerm: string /** * Optional. The record index to start at. All items with a lower index will be dropped from the results. * @type {number} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly startIndex?: number /** * Optional. The maximum number of records to return. * @type {number} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly limit?: number /** * Optional. Supply a user id to search within a user\'s library or omit to search all. * @type {string} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly userId?: string /** - * If specified, only results with the specified item types are returned. This allows multiple, comma delimeted. + * If specified, only results with the specified item types are returned. This allows multiple, comma delimited. * @type {Array} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includeItemTypes?: Array /** - * If specified, results with these item types are filtered out. This allows multiple, comma delimeted. + * If specified, results with these item types are filtered out. This allows multiple, comma delimited. * @type {Array} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly excludeItemTypes?: Array /** - * If specified, only results with the specified media types are returned. This allows multiple, comma delimeted. + * If specified, only results with the specified media types are returned. This allows multiple, comma delimited. * @type {Array} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly mediaTypes?: Array /** * If specified, only children of the parent are returned. * @type {string} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly parentId?: string /** * Optional filter for movies. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly isMovie?: boolean /** * Optional filter for series. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly isSeries?: boolean /** * Optional filter for news. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly isNews?: boolean /** * Optional filter for kids. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly isKids?: boolean /** * Optional filter for sports. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly isSports?: boolean /** * Optional filter whether to include people. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includePeople?: boolean /** * Optional filter whether to include media. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includeMedia?: boolean /** * Optional filter whether to include genres. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includeGenres?: boolean /** * Optional filter whether to include studios. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includeStudios?: boolean /** * Optional filter whether to include artists. * @type {boolean} - * @memberof SearchApiGet + * @memberof SearchApiGetSearchHints */ readonly includeArtists?: boolean } @@ -375,12 +375,12 @@ export class SearchApi extends BaseAPI { /** * * @summary Gets the search hint result. - * @param {SearchApiGetRequest} requestParameters Request parameters. + * @param {SearchApiGetSearchHintsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof SearchApi */ - public get(requestParameters: SearchApiGetRequest, options?: AxiosRequestConfig) { - return SearchApiFp(this.configuration).get(requestParameters.searchTerm, requestParameters.startIndex, requestParameters.limit, requestParameters.userId, requestParameters.includeItemTypes, requestParameters.excludeItemTypes, requestParameters.mediaTypes, requestParameters.parentId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.includePeople, requestParameters.includeMedia, requestParameters.includeGenres, requestParameters.includeStudios, requestParameters.includeArtists, options).then((request) => request(this.axios, this.basePath)); + public getSearchHints(requestParameters: SearchApiGetSearchHintsRequest, options?: AxiosRequestConfig) { + return SearchApiFp(this.configuration).getSearchHints(requestParameters.searchTerm, requestParameters.startIndex, requestParameters.limit, requestParameters.userId, requestParameters.includeItemTypes, requestParameters.excludeItemTypes, requestParameters.mediaTypes, requestParameters.parentId, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.includePeople, requestParameters.includeMedia, requestParameters.includeGenres, requestParameters.includeStudios, requestParameters.includeArtists, options).then((request) => request(this.axios, this.basePath)); } } diff --git a/src/generated-client/api/system-api.ts b/src/generated-client/api/system-api.ts index fa6efe902..8233f354b 100644 --- a/src/generated-client/api/system-api.ts +++ b/src/generated-client/api/system-api.ts @@ -24,6 +24,8 @@ import { EndPointInfo } from '../models'; // @ts-ignore import { LogFile } from '../models'; // @ts-ignore +import { ProblemDetails } from '../models'; +// @ts-ignore import { PublicSystemInfo } from '../models'; // @ts-ignore import { SystemInfo } from '../models'; diff --git a/src/generated-client/api/trailers-api.ts b/src/generated-client/api/trailers-api.ts index a48389d11..a38849b72 100644 --- a/src/generated-client/api/trailers-api.ts +++ b/src/generated-client/api/trailers-api.ts @@ -46,7 +46,7 @@ export const TrailersApiAxiosParamCreator = function (configuration?: Configurat /** * * @summary Finds movies and trailers similar to a given trailer. - * @param {string} [userId] The user id. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -69,9 +69,9 @@ export const TrailersApiAxiosParamCreator = function (configuration?: Configurat * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -82,7 +82,7 @@ export const TrailersApiAxiosParamCreator = function (configuration?: Configurat * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -517,7 +517,7 @@ export const TrailersApiFp = function(configuration?: Configuration) { /** * * @summary Finds movies and trailers similar to a given trailer. - * @param {string} [userId] The user id. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -540,9 +540,9 @@ export const TrailersApiFp = function(configuration?: Configuration) { * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -553,7 +553,7 @@ export const TrailersApiFp = function(configuration?: Configuration) { * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -621,7 +621,7 @@ export const TrailersApiFactory = function (configuration?: Configuration, baseP /** * * @summary Finds movies and trailers similar to a given trailer. - * @param {string} [userId] The user id. + * @param {string} [userId] The user id supplied as query parameter; this is required when not using an API key. * @param {string} [maxOfficialRating] Optional filter by maximum official rating (PG, PG-13, TV-MA, etc). * @param {boolean} [hasThemeSong] Optional filter by items with theme songs. * @param {boolean} [hasThemeVideo] Optional filter by items with theme videos. @@ -644,9 +644,9 @@ export const TrailersApiFactory = function (configuration?: Configuration, baseP * @param {string} [minDateLastSavedForUser] Optional. The minimum last saved date for the current user. Format = ISO. * @param {string} [maxPremiereDate] Optional. The maximum premiere date. Format = ISO. * @param {boolean} [hasOverview] Optional filter by items that have an overview or not. - * @param {boolean} [hasImdbId] Optional filter by items that have an imdb id or not. - * @param {boolean} [hasTmdbId] Optional filter by items that have a tmdb id or not. - * @param {boolean} [hasTvdbId] Optional filter by items that have a tvdb id or not. + * @param {boolean} [hasImdbId] Optional filter by items that have an IMDb id or not. + * @param {boolean} [hasTmdbId] Optional filter by items that have a TMDb id or not. + * @param {boolean} [hasTvdbId] Optional filter by items that have a TVDb id or not. * @param {boolean} [isMovie] Optional filter for live tv movies. * @param {boolean} [isSeries] Optional filter for live tv series. * @param {boolean} [isNews] Optional filter for live tv news. @@ -657,7 +657,7 @@ export const TrailersApiFactory = function (configuration?: Configuration, baseP * @param {number} [limit] Optional. The maximum number of records to return. * @param {boolean} [recursive] When searching within folders, this determines whether or not the search will be recursive. true/false. * @param {string} [searchTerm] Optional. Filter based on a search term. - * @param {Array} [sortOrder] Sort Order - Ascending,Descending. + * @param {Array} [sortOrder] Sort Order - Ascending, Descending. * @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines. * @param {Array} [excludeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. @@ -721,7 +721,7 @@ export const TrailersApiFactory = function (configuration?: Configuration, baseP */ export interface TrailersApiGetTrailersRequest { /** - * The user id. + * The user id supplied as query parameter; this is required when not using an API key. * @type {string} * @memberof TrailersApiGetTrailers */ @@ -882,21 +882,21 @@ export interface TrailersApiGetTrailersRequest { readonly hasOverview?: boolean /** - * Optional filter by items that have an imdb id or not. + * Optional filter by items that have an IMDb id or not. * @type {boolean} * @memberof TrailersApiGetTrailers */ readonly hasImdbId?: boolean /** - * Optional filter by items that have a tmdb id or not. + * Optional filter by items that have a TMDb id or not. * @type {boolean} * @memberof TrailersApiGetTrailers */ readonly hasTmdbId?: boolean /** - * Optional filter by items that have a tvdb id or not. + * Optional filter by items that have a TVDb id or not. * @type {boolean} * @memberof TrailersApiGetTrailers */ @@ -973,7 +973,7 @@ export interface TrailersApiGetTrailersRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof TrailersApiGetTrailers */ diff --git a/src/generated-client/api/user-api.ts b/src/generated-client/api/user-api.ts index 618e576cb..8c703ae26 100644 --- a/src/generated-client/api/user-api.ts +++ b/src/generated-client/api/user-api.ts @@ -58,11 +58,11 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @summary Authenticates a user. * @param {string} userId The user id. * @param {string} pw The password as plain text. - * @param {string} [password] The password sha1-hash. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ - authenticateUser: async (userId: string, pw: string, password?: string, options: AxiosRequestConfig = {}): Promise => { + authenticateUser: async (userId: string, pw: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('authenticateUser', 'userId', userId) // verify required parameter 'pw' is not null or undefined @@ -84,10 +84,6 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) localVarQueryParameter['pw'] = pw; } - if (password !== undefined) { - localVarQueryParameter['password'] = password; - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -554,6 +550,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration) * @param {string} userId The user id. * @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ updateUserEasyPassword: async (userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options: AxiosRequestConfig = {}): Promise => { @@ -692,12 +689,12 @@ export const UserApiFp = function(configuration?: Configuration) { * @summary Authenticates a user. * @param {string} userId The user id. * @param {string} pw The password as plain text. - * @param {string} [password] The password sha1-hash. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ - async authenticateUser(userId: string, pw: string, password?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUser(userId, pw, password, options); + async authenticateUser(userId: string, pw: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUser(userId, pw, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -839,6 +836,7 @@ export const UserApiFp = function(configuration?: Configuration) { * @param {string} userId The user id. * @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ async updateUserEasyPassword(userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { @@ -884,12 +882,12 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @summary Authenticates a user. * @param {string} userId The user id. * @param {string} pw The password as plain text. - * @param {string} [password] The password sha1-hash. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ - authenticateUser(userId: string, pw: string, password?: string, options?: any): AxiosPromise { - return localVarFp.authenticateUser(userId, pw, password, options).then((request) => request(axios, basePath)); + authenticateUser(userId: string, pw: string, options?: any): AxiosPromise { + return localVarFp.authenticateUser(userId, pw, options).then((request) => request(axios, basePath)); }, /** * @@ -1018,6 +1016,7 @@ export const UserApiFactory = function (configuration?: Configuration, basePath? * @param {string} userId The user id. * @param {UpdateUserEasyPassword} updateUserEasyPassword The M:Jellyfin.Api.Controllers.UserController.UpdateUserEasyPassword(System.Guid,Jellyfin.Api.Models.UserDtos.UpdateUserEasyPassword) request. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} */ updateUserEasyPassword(userId: string, updateUserEasyPassword: UpdateUserEasyPassword, options?: any): AxiosPromise { @@ -1067,13 +1066,6 @@ export interface UserApiAuthenticateUserRequest { * @memberof UserApiAuthenticateUser */ readonly pw: string - - /** - * The password sha1-hash. - * @type {string} - * @memberof UserApiAuthenticateUser - */ - readonly password?: string } /** @@ -1312,11 +1304,12 @@ export class UserApi extends BaseAPI { * @summary Authenticates a user. * @param {UserApiAuthenticateUserRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} * @memberof UserApi */ public authenticateUser(requestParameters: UserApiAuthenticateUserRequest, options?: AxiosRequestConfig) { - return UserApiFp(this.configuration).authenticateUser(requestParameters.userId, requestParameters.pw, requestParameters.password, options).then((request) => request(this.axios, this.basePath)); + return UserApiFp(this.configuration).authenticateUser(requestParameters.userId, requestParameters.pw, options).then((request) => request(this.axios, this.basePath)); } /** @@ -1466,6 +1459,7 @@ export class UserApi extends BaseAPI { * @summary Updates a user\'s easy password. * @param {UserApiUpdateUserEasyPasswordRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. + * @deprecated * @throws {RequiredError} * @memberof UserApi */ diff --git a/src/generated-client/api/user-library-api.ts b/src/generated-client/api/user-library-api.ts index dd3e8f877..a08718ba0 100644 --- a/src/generated-client/api/user-library-api.ts +++ b/src/generated-client/api/user-library-api.ts @@ -30,6 +30,8 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { LyricResponse } from '../models'; +// @ts-ignore import { UserItemDataDto } from '../models'; /** * UserLibraryApi - axios parameter creator @@ -279,6 +281,47 @@ export const UserLibraryApiAxiosParamCreator = function (configuration?: Configu + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets an item\'s lyrics. + * @param {string} userId User id. + * @param {string} itemId Item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getLyrics: async (userId: string, itemId: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'userId' is not null or undefined + assertParamExists('getLyrics', 'userId', userId) + // verify required parameter 'itemId' is not null or undefined + assertParamExists('getLyrics', 'itemId', itemId) + const localVarPath = `/Users/{userId}/Items/{itemId}/Lyrics` + .replace(`{${"userId"}}`, encodeURIComponent(String(userId))) + .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication CustomAuthentication required + await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -573,6 +616,18 @@ export const UserLibraryApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.getLocalTrailers(userId, itemId, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * + * @summary Gets an item\'s lyrics. + * @param {string} userId User id. + * @param {string} itemId Item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getLyrics(userId: string, itemId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getLyrics(userId, itemId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * * @summary Gets the root folder from a user\'s library. @@ -707,6 +762,17 @@ export const UserLibraryApiFactory = function (configuration?: Configuration, ba getLocalTrailers(userId: string, itemId: string, options?: any): AxiosPromise> { return localVarFp.getLocalTrailers(userId, itemId, options).then((request) => request(axios, basePath)); }, + /** + * + * @summary Gets an item\'s lyrics. + * @param {string} userId User id. + * @param {string} itemId Item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getLyrics(userId: string, itemId: string, options?: any): AxiosPromise { + return localVarFp.getLyrics(userId, itemId, options).then((request) => request(axios, basePath)); + }, /** * * @summary Gets the root folder from a user\'s library. @@ -933,6 +999,27 @@ export interface UserLibraryApiGetLocalTrailersRequest { readonly itemId: string } +/** + * Request parameters for getLyrics operation in UserLibraryApi. + * @export + * @interface UserLibraryApiGetLyricsRequest + */ +export interface UserLibraryApiGetLyricsRequest { + /** + * User id. + * @type {string} + * @memberof UserLibraryApiGetLyrics + */ + readonly userId: string + + /** + * Item id. + * @type {string} + * @memberof UserLibraryApiGetLyrics + */ + readonly itemId: string +} + /** * Request parameters for getRootFolder operation in UserLibraryApi. * @export @@ -1105,6 +1192,18 @@ export class UserLibraryApi extends BaseAPI { return UserLibraryApiFp(this.configuration).getLocalTrailers(requestParameters.userId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath)); } + /** + * + * @summary Gets an item\'s lyrics. + * @param {UserLibraryApiGetLyricsRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof UserLibraryApi + */ + public getLyrics(requestParameters: UserLibraryApiGetLyricsRequest, options?: AxiosRequestConfig) { + return UserLibraryApiFp(this.configuration).getLyrics(requestParameters.userId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Gets the root folder from a user\'s library. diff --git a/src/generated-client/models/activity-log-entry-message.ts b/src/generated-client/models/activity-log-entry-message.ts new file mode 100644 index 000000000..fe9ac5285 --- /dev/null +++ b/src/generated-client/models/activity-log-entry-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { ActivityLogEntry } from './activity-log-entry'; +import { SessionMessageType } from './session-message-type'; + +/** + * Activity log created message. + * @export + * @interface ActivityLogEntryMessage + */ +export interface ActivityLogEntryMessage { + /** + * Gets or sets the data. + * @type {Array} + * @memberof ActivityLogEntryMessage + */ + 'Data'?: Array | null; + /** + * Gets or sets the message id. + * @type {string} + * @memberof ActivityLogEntryMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ActivityLogEntryMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/activity-log-entry-start-message.ts b/src/generated-client/models/activity-log-entry-start-message.ts new file mode 100644 index 000000000..33743eefd --- /dev/null +++ b/src/generated-client/models/activity-log-entry-start-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + * @export + * @interface ActivityLogEntryStartMessage + */ +export interface ActivityLogEntryStartMessage { + /** + * Gets or sets the data. + * @type {string} + * @memberof ActivityLogEntryStartMessage + */ + 'Data'?: string | null; + /** + * + * @type {SessionMessageType} + * @memberof ActivityLogEntryStartMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/activity-log-entry-stop-message.ts b/src/generated-client/models/activity-log-entry-stop-message.ts new file mode 100644 index 000000000..57b76a1f4 --- /dev/null +++ b/src/generated-client/models/activity-log-entry-stop-message.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Activity log entry stop message. + * @export + * @interface ActivityLogEntryStopMessage + */ +export interface ActivityLogEntryStopMessage { + /** + * + * @type {SessionMessageType} + * @memberof ActivityLogEntryStopMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/architecture.ts b/src/generated-client/models/architecture.ts index 044c44e9f..866f06766 100644 --- a/src/generated-client/models/architecture.ts +++ b/src/generated-client/models/architecture.ts @@ -25,7 +25,10 @@ export const Architecture = { Arm: 'Arm', Arm64: 'Arm64', Wasm: 'Wasm', - S390x: 'S390x' + S390x: 'S390x', + LoongArch64: 'LoongArch64', + Armv6: 'Armv6', + Ppc64le: 'Ppc64le' } as const; export type Architecture = typeof Architecture[keyof typeof Architecture]; diff --git a/src/generated-client/models/authenticate-user-by-name.ts b/src/generated-client/models/authenticate-user-by-name.ts index 0d4e41973..d134ac5d5 100644 --- a/src/generated-client/models/authenticate-user-by-name.ts +++ b/src/generated-client/models/authenticate-user-by-name.ts @@ -31,12 +31,5 @@ export interface AuthenticateUserByName { * @memberof AuthenticateUserByName */ 'Pw'?: string | null; - /** - * Gets or sets the sha1-hashed password. - * @type {string} - * @memberof AuthenticateUserByName - * @deprecated - */ - 'Password'?: string | null; } diff --git a/src/generated-client/models/base-item-dto.ts b/src/generated-client/models/base-item-dto.ts index e701a58a0..896fc8c2d 100644 --- a/src/generated-client/models/base-item-dto.ts +++ b/src/generated-client/models/base-item-dto.ts @@ -129,6 +129,12 @@ export interface BaseItemDto { * @memberof BaseItemDto */ 'CanDownload'?: boolean | null; + /** + * + * @type {boolean} + * @memberof BaseItemDto + */ + 'HasLyrics'?: boolean | null; /** * * @type {boolean} @@ -388,13 +394,13 @@ export interface BaseItemDto { */ 'GenreItems'?: Array | null; /** - * Gets or sets wether the item has a logo, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has a logo, this will hold the Id of the Parent that has one. * @type {string} * @memberof BaseItemDto */ 'ParentLogoItemId'?: string | null; /** - * Gets or sets wether the item has any backdrops, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has any backdrops, this will hold the Id of the Parent that has one. * @type {string} * @memberof BaseItemDto */ @@ -604,7 +610,7 @@ export interface BaseItemDto { */ 'ParentLogoImageTag'?: string | null; /** - * Gets or sets wether the item has fan art, this will hold the Id of the Parent that has one. + * Gets or sets whether the item has fan art, this will hold the Id of the Parent that has one. * @type {string} * @memberof BaseItemDto */ @@ -939,6 +945,12 @@ export interface BaseItemDto { * @memberof BaseItemDto */ 'TimerId'?: string | null; + /** + * Gets or sets the LUFS value. + * @type {number} + * @memberof BaseItemDto + */ + 'LUFS'?: number | null; /** * * @type {BaseItemDto} diff --git a/src/generated-client/models/base-item-person.ts b/src/generated-client/models/base-item-person.ts index 1d6914c88..8de470576 100644 --- a/src/generated-client/models/base-item-person.ts +++ b/src/generated-client/models/base-item-person.ts @@ -13,6 +13,7 @@ import { BaseItemPersonImageBlurHashes } from './base-item-person-image-blur-hashes'; +import { PersonKind } from './person-kind'; /** * This is used by the api to get information about a Person within a BaseItem. @@ -39,11 +40,11 @@ export interface BaseItemPerson { */ 'Role'?: string | null; /** - * Gets or sets the type. - * @type {string} + * + * @type {PersonKind} * @memberof BaseItemPerson */ - 'Type'?: string | null; + 'Type'?: PersonKind; /** * Gets or sets the primary image tag. * @type {string} diff --git a/src/generated-client/models/container-profile.ts b/src/generated-client/models/container-profile.ts index e2aafa130..fd204d3fb 100644 --- a/src/generated-client/models/container-profile.ts +++ b/src/generated-client/models/container-profile.ts @@ -32,7 +32,7 @@ export interface ContainerProfile { * @type {Array} * @memberof ContainerProfile */ - 'Conditions'?: Array | null; + 'Conditions'?: Array; /** * * @type {string} diff --git a/src/generated-client/models/create-user-by-name.ts b/src/generated-client/models/create-user-by-name.ts index 3d408d95b..360e3cc25 100644 --- a/src/generated-client/models/create-user-by-name.ts +++ b/src/generated-client/models/create-user-by-name.ts @@ -24,7 +24,7 @@ export interface CreateUserByName { * @type {string} * @memberof CreateUserByName */ - 'Name'?: string | null; + 'Name': string; /** * Gets or sets the password. * @type {string} diff --git a/src/generated-client/models/down-mix-stereo-algorithms.ts b/src/generated-client/models/down-mix-stereo-algorithms.ts new file mode 100644 index 000000000..6f4535abd --- /dev/null +++ b/src/generated-client/models/down-mix-stereo-algorithms.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * An enum representing an algorithm to downmix 6ch+ to stereo. Algorithms sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620. + * @export + * @enum {string} + */ + +export const DownMixStereoAlgorithms = { + None: 'None', + Dave750: 'Dave750', + NightmodeDialogue: 'NightmodeDialogue' +} as const; + +export type DownMixStereoAlgorithms = typeof DownMixStereoAlgorithms[keyof typeof DownMixStereoAlgorithms]; + + + diff --git a/src/generated-client/models/encoding-options.ts b/src/generated-client/models/encoding-options.ts index ea08144b1..32490a7e3 100644 --- a/src/generated-client/models/encoding-options.ts +++ b/src/generated-client/models/encoding-options.ts @@ -12,63 +12,88 @@ */ +import { DownMixStereoAlgorithms } from './down-mix-stereo-algorithms'; /** - * + * Class EncodingOptions. * @export * @interface EncodingOptions */ export interface EncodingOptions { /** - * + * Gets or sets the thread count used for encoding. * @type {number} * @memberof EncodingOptions */ 'EncodingThreadCount'?: number; /** - * + * Gets or sets the temporary transcoding path. * @type {string} * @memberof EncodingOptions */ 'TranscodingTempPath'?: string | null; /** - * + * Gets or sets the path to the fallback font. * @type {string} * @memberof EncodingOptions */ 'FallbackFontPath'?: string | null; /** - * + * Gets or sets a value indicating whether to use the fallback font. * @type {boolean} * @memberof EncodingOptions */ 'EnableFallbackFont'?: boolean; /** - * + * Gets or sets a value indicating whether audio VBR is enabled. + * @type {boolean} + * @memberof EncodingOptions + */ + 'EnableAudioVbr'?: boolean; + /** + * Gets or sets the audio boost applied when downmixing audio. * @type {number} * @memberof EncodingOptions */ 'DownMixAudioBoost'?: number; /** * + * @type {DownMixStereoAlgorithms} + * @memberof EncodingOptions + */ + 'DownMixStereoAlgorithm'?: DownMixStereoAlgorithms; + /** + * Gets or sets the maximum size of the muxing queue. * @type {number} * @memberof EncodingOptions */ 'MaxMuxingQueueSize'?: number; /** - * + * Gets or sets a value indicating whether throttling is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableThrottling'?: boolean; /** - * + * Gets or sets the delay after which throttling happens. * @type {number} * @memberof EncodingOptions */ 'ThrottleDelaySeconds'?: number; /** - * + * Gets or sets a value indicating whether segment deletion is enabled. + * @type {boolean} + * @memberof EncodingOptions + */ + 'EnableSegmentDeletion'?: boolean; + /** + * Gets or sets seconds for which segments should be kept before being deleted. + * @type {number} + * @memberof EncodingOptions + */ + 'SegmentKeepSeconds'?: number; + /** + * Gets or sets the hardware acceleration type. * @type {string} * @memberof EncodingOptions */ @@ -86,163 +111,169 @@ export interface EncodingOptions { */ 'EncoderAppPathDisplay'?: string | null; /** - * + * Gets or sets the VA-API device. * @type {string} * @memberof EncodingOptions */ 'VaapiDevice'?: string | null; /** - * + * Gets or sets a value indicating whether tonemapping is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableTonemapping'?: boolean; /** - * + * Gets or sets a value indicating whether VPP tonemapping is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableVppTonemapping'?: boolean; /** - * + * Gets or sets the tone-mapping algorithm. * @type {string} * @memberof EncodingOptions */ 'TonemappingAlgorithm'?: string | null; /** - * + * Gets or sets the tone-mapping mode. * @type {string} * @memberof EncodingOptions */ 'TonemappingMode'?: string | null; /** - * + * Gets or sets the tone-mapping range. * @type {string} * @memberof EncodingOptions */ 'TonemappingRange'?: string | null; /** - * + * Gets or sets the tone-mapping desaturation. * @type {number} * @memberof EncodingOptions */ 'TonemappingDesat'?: number; /** - * + * Gets or sets the tone-mapping peak. * @type {number} * @memberof EncodingOptions */ 'TonemappingPeak'?: number; /** - * + * Gets or sets the tone-mapping parameters. * @type {number} * @memberof EncodingOptions */ 'TonemappingParam'?: number; /** - * + * Gets or sets the VPP tone-mapping brightness. * @type {number} * @memberof EncodingOptions */ 'VppTonemappingBrightness'?: number; /** - * + * Gets or sets the VPP tone-mapping contrast. * @type {number} * @memberof EncodingOptions */ 'VppTonemappingContrast'?: number; /** - * + * Gets or sets the H264 CRF. * @type {number} * @memberof EncodingOptions */ 'H264Crf'?: number; /** - * + * Gets or sets the H265 CRF. * @type {number} * @memberof EncodingOptions */ 'H265Crf'?: number; /** - * + * Gets or sets the encoder preset. * @type {string} * @memberof EncodingOptions */ 'EncoderPreset'?: string | null; /** - * + * Gets or sets a value indicating whether the framerate is doubled when deinterlacing. * @type {boolean} * @memberof EncodingOptions */ 'DeinterlaceDoubleRate'?: boolean; /** - * + * Gets or sets the deinterlace method. * @type {string} * @memberof EncodingOptions */ 'DeinterlaceMethod'?: string | null; /** - * + * Gets or sets a value indicating whether 10bit HEVC decoding is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableDecodingColorDepth10Hevc'?: boolean; /** - * + * Gets or sets a value indicating whether 10bit VP9 decoding is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableDecodingColorDepth10Vp9'?: boolean; /** - * + * Gets or sets a value indicating whether the enhanced NVDEC is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableEnhancedNvdecDecoder'?: boolean; /** - * + * Gets or sets a value indicating whether the system native hardware decoder should be used. * @type {boolean} * @memberof EncodingOptions */ 'PreferSystemNativeHwDecoder'?: boolean; /** - * + * Gets or sets a value indicating whether the Intel H264 low-power hardware encoder should be used. * @type {boolean} * @memberof EncodingOptions */ 'EnableIntelLowPowerH264HwEncoder'?: boolean; /** - * + * Gets or sets a value indicating whether the Intel HEVC low-power hardware encoder should be used. * @type {boolean} * @memberof EncodingOptions */ 'EnableIntelLowPowerHevcHwEncoder'?: boolean; /** - * + * Gets or sets a value indicating whether hardware encoding is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableHardwareEncoding'?: boolean; /** - * + * Gets or sets a value indicating whether HEVC encoding is enabled. * @type {boolean} * @memberof EncodingOptions */ 'AllowHevcEncoding'?: boolean; /** - * + * Gets or sets a value indicating whether AV1 encoding is enabled. + * @type {boolean} + * @memberof EncodingOptions + */ + 'AllowAv1Encoding'?: boolean; + /** + * Gets or sets a value indicating whether subtitle extraction is enabled. * @type {boolean} * @memberof EncodingOptions */ 'EnableSubtitleExtraction'?: boolean; /** - * + * Gets or sets the codecs hardware encoding is used for. * @type {Array} * @memberof EncodingOptions */ 'HardwareDecodingCodecs'?: Array | null; /** - * + * Gets or sets the file extensions on-demand metadata based keyframe extraction is enabled for. * @type {Array} * @memberof EncodingOptions */ diff --git a/src/generated-client/models/force-keep-alive-message.ts b/src/generated-client/models/force-keep-alive-message.ts new file mode 100644 index 000000000..fdf0ec9f0 --- /dev/null +++ b/src/generated-client/models/force-keep-alive-message.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Force keep alive websocket messages. + * @export + * @interface ForceKeepAliveMessage + */ +export interface ForceKeepAliveMessage { + /** + * Gets or sets the data. + * @type {number} + * @memberof ForceKeepAliveMessage + */ + 'Data'?: number; + /** + * Gets or sets the message id. + * @type {string} + * @memberof ForceKeepAliveMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ForceKeepAliveMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/general-command-message.ts b/src/generated-client/models/general-command-message.ts new file mode 100644 index 000000000..3aecac50d --- /dev/null +++ b/src/generated-client/models/general-command-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GeneralCommand } from './general-command'; +import { SessionMessageType } from './session-message-type'; + +/** + * General command websocket message. + * @export + * @interface GeneralCommandMessage + */ +export interface GeneralCommandMessage { + /** + * + * @type {GeneralCommand} + * @memberof GeneralCommandMessage + */ + 'Data'?: GeneralCommand; + /** + * Gets or sets the message id. + * @type {string} + * @memberof GeneralCommandMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof GeneralCommandMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/group-info-dto-group-update.ts b/src/generated-client/models/group-info-dto-group-update.ts new file mode 100644 index 000000000..6d2b0de8e --- /dev/null +++ b/src/generated-client/models/group-info-dto-group-update.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupInfoDto } from './group-info-dto'; +import { GroupUpdateType } from './group-update-type'; + +/** + * Class GroupUpdate. + * @export + * @interface GroupInfoDtoGroupUpdate + */ +export interface GroupInfoDtoGroupUpdate { + /** + * Gets the group identifier. + * @type {string} + * @memberof GroupInfoDtoGroupUpdate + */ + 'GroupId'?: string; + /** + * + * @type {GroupUpdateType} + * @memberof GroupInfoDtoGroupUpdate + */ + 'Type'?: GroupUpdateType; + /** + * + * @type {GroupInfoDto} + * @memberof GroupInfoDtoGroupUpdate + */ + 'Data'?: GroupInfoDto; +} + diff --git a/src/generated-client/models/group-state-update-group-update.ts b/src/generated-client/models/group-state-update-group-update.ts new file mode 100644 index 000000000..da7240b4a --- /dev/null +++ b/src/generated-client/models/group-state-update-group-update.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupStateUpdate } from './group-state-update'; +import { GroupUpdateType } from './group-update-type'; + +/** + * Class GroupUpdate. + * @export + * @interface GroupStateUpdateGroupUpdate + */ +export interface GroupStateUpdateGroupUpdate { + /** + * Gets the group identifier. + * @type {string} + * @memberof GroupStateUpdateGroupUpdate + */ + 'GroupId'?: string; + /** + * + * @type {GroupUpdateType} + * @memberof GroupStateUpdateGroupUpdate + */ + 'Type'?: GroupUpdateType; + /** + * + * @type {GroupStateUpdate} + * @memberof GroupStateUpdateGroupUpdate + */ + 'Data'?: GroupStateUpdate; +} + diff --git a/src/generated-client/models/group-state-update.ts b/src/generated-client/models/group-state-update.ts new file mode 100644 index 000000000..6a9b01299 --- /dev/null +++ b/src/generated-client/models/group-state-update.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupStateType } from './group-state-type'; +import { PlaybackRequestType } from './playback-request-type'; + +/** + * Class GroupStateUpdate. + * @export + * @interface GroupStateUpdate + */ +export interface GroupStateUpdate { + /** + * + * @type {GroupStateType} + * @memberof GroupStateUpdate + */ + 'State'?: GroupStateType; + /** + * + * @type {PlaybackRequestType} + * @memberof GroupStateUpdate + */ + 'Reason'?: PlaybackRequestType; +} + diff --git a/src/generated-client/models/group-update.ts b/src/generated-client/models/group-update.ts new file mode 100644 index 000000000..36c318b8a --- /dev/null +++ b/src/generated-client/models/group-update.ts @@ -0,0 +1,29 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupInfoDtoGroupUpdate } from './group-info-dto-group-update'; +import { GroupStateUpdateGroupUpdate } from './group-state-update-group-update'; +import { GroupUpdateType } from './group-update-type'; +import { PlayQueueUpdate } from './play-queue-update'; +import { PlayQueueUpdateGroupUpdate } from './play-queue-update-group-update'; +import { StringGroupUpdate } from './string-group-update'; + +/** + * @type GroupUpdate + * Group update without data. + * @export + */ +export type GroupUpdate = GroupInfoDtoGroupUpdate | GroupStateUpdateGroupUpdate | PlayQueueUpdateGroupUpdate | StringGroupUpdate; + + diff --git a/src/generated-client/models/image-resolution.ts b/src/generated-client/models/image-resolution.ts new file mode 100644 index 000000000..c7c1a74e5 --- /dev/null +++ b/src/generated-client/models/image-resolution.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * Enum ImageResolution. + * @export + * @enum {string} + */ + +export const ImageResolution = { + MatchSource: 'MatchSource', + P144: 'P144', + P240: 'P240', + P360: 'P360', + P480: 'P480', + P720: 'P720', + P1080: 'P1080', + P1440: 'P1440', + P2160: 'P2160' +} as const; + +export type ImageResolution = typeof ImageResolution[keyof typeof ImageResolution]; + + + diff --git a/src/generated-client/models/inbound-keep-alive-message.ts b/src/generated-client/models/inbound-keep-alive-message.ts new file mode 100644 index 000000000..e6a6ca11d --- /dev/null +++ b/src/generated-client/models/inbound-keep-alive-message.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Keep alive websocket messages. + * @export + * @interface InboundKeepAliveMessage + */ +export interface InboundKeepAliveMessage { + /** + * + * @type {SessionMessageType} + * @memberof InboundKeepAliveMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/inbound-web-socket-message.ts b/src/generated-client/models/inbound-web-socket-message.ts new file mode 100644 index 000000000..1b66cd4f3 --- /dev/null +++ b/src/generated-client/models/inbound-web-socket-message.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { ActivityLogEntryStartMessage } from './activity-log-entry-start-message'; +import { ActivityLogEntryStopMessage } from './activity-log-entry-stop-message'; +import { InboundKeepAliveMessage } from './inbound-keep-alive-message'; +import { ScheduledTasksInfoStartMessage } from './scheduled-tasks-info-start-message'; +import { ScheduledTasksInfoStopMessage } from './scheduled-tasks-info-stop-message'; +import { SessionMessageType } from './session-message-type'; +import { SessionsStartMessage } from './sessions-start-message'; +import { SessionsStopMessage } from './sessions-stop-message'; + +/** + * @type InboundWebSocketMessage + * Represents the list of possible inbound websocket types + * @export + */ +export type InboundWebSocketMessage = ActivityLogEntryStartMessage | ActivityLogEntryStopMessage | InboundKeepAliveMessage | ScheduledTasksInfoStartMessage | ScheduledTasksInfoStopMessage | SessionsStartMessage | SessionsStopMessage; + + diff --git a/src/generated-client/models/index.ts b/src/generated-client/models/index.ts index 1c013bfde..76f8e555e 100644 --- a/src/generated-client/models/index.ts +++ b/src/generated-client/models/index.ts @@ -1,8 +1,10 @@ export * from './access-schedule'; export * from './activity-log-entry'; +export * from './activity-log-entry-message'; export * from './activity-log-entry-query-result'; +export * from './activity-log-entry-start-message'; +export * from './activity-log-entry-stop-message'; export * from './add-virtual-folder-dto'; -export * from './admin-notification-dto'; export * from './album-info'; export * from './album-info-remote-search-query'; export * from './all-theme-media-result'; @@ -63,6 +65,7 @@ export * from './direct-play-profile'; export * from './display-preferences-dto'; export * from './dlna-options'; export * from './dlna-profile-type'; +export * from './down-mix-stereo-algorithms'; export * from './dynamic-day-of-week'; export * from './embedded-subtitle-options'; export * from './encoding-context'; @@ -75,18 +78,24 @@ export * from './ffmpeg-location'; export * from './file-system-entry-info'; export * from './file-system-entry-type'; export * from './font-file'; +export * from './force-keep-alive-message'; export * from './forgot-password-action'; export * from './forgot-password-dto'; export * from './forgot-password-pin-dto'; export * from './forgot-password-result'; export * from './general-command'; +export * from './general-command-message'; export * from './general-command-type'; export * from './get-programs-dto'; export * from './group-info-dto'; +export * from './group-info-dto-group-update'; export * from './group-queue-mode'; export * from './group-repeat-mode'; export * from './group-shuffle-mode'; export * from './group-state-type'; +export * from './group-state-update'; +export * from './group-state-update-group-update'; +export * from './group-update'; export * from './group-update-type'; export * from './guide-info'; export * from './hardware-encoding-type'; @@ -94,14 +103,16 @@ export * from './header-match-type'; export * from './http-header-info'; export * from './iplugin'; export * from './ignore-wait-request-dto'; -export * from './image-by-name-info'; export * from './image-format'; export * from './image-info'; export * from './image-option'; export * from './image-orientation'; export * from './image-provider-info'; +export * from './image-resolution'; export * from './image-saving-convention'; export * from './image-type'; +export * from './inbound-keep-alive-message'; +export * from './inbound-web-socket-message'; export * from './installation-info'; export * from './iso-type'; export * from './item-counts'; @@ -109,6 +120,7 @@ export * from './item-fields'; export * from './item-filter'; export * from './join-group-request-dto'; export * from './keep-until'; +export * from './library-changed-message'; export * from './library-option-info-dto'; export * from './library-options'; export * from './library-options-result-dto'; @@ -124,6 +136,9 @@ export * from './localization-option'; export * from './location-type'; export * from './log-file'; export * from './log-level'; +export * from './lyric-line'; +export * from './lyric-metadata'; +export * from './lyric-response'; export * from './media-attachment'; export * from './media-encoder-path-dto'; export * from './media-path-dto'; @@ -153,39 +168,45 @@ export * from './name-value-pair'; export * from './network-configuration'; export * from './new-group-request-dto'; export * from './next-item-request-dto'; -export * from './notification-dto'; -export * from './notification-level'; -export * from './notification-option'; -export * from './notification-options'; -export * from './notification-result-dto'; -export * from './notification-type-info'; -export * from './notifications-summary-dto'; -export * from './object-group-update'; export * from './open-live-stream-dto'; +export * from './outbound-keep-alive-message'; +export * from './outbound-web-socket-message'; export * from './package-info'; export * from './parental-rating'; export * from './path-substitution'; +export * from './person-kind'; export * from './person-lookup-info'; export * from './person-lookup-info-remote-search-query'; export * from './pin-redeem-result'; export * from './ping-request-dto'; export * from './play-access'; export * from './play-command'; +export * from './play-message'; export * from './play-method'; +export * from './play-queue-update'; +export * from './play-queue-update-group-update'; +export * from './play-queue-update-reason'; export * from './play-request'; export * from './play-request-dto'; export * from './playback-error-code'; export * from './playback-info-dto'; export * from './playback-info-response'; export * from './playback-progress-info'; +export * from './playback-request-type'; export * from './playback-start-info'; export * from './playback-stop-info'; export * from './player-state-info'; export * from './playlist-creation-result'; export * from './playstate-command'; +export * from './playstate-message'; export * from './playstate-request'; export * from './plugin-info'; +export * from './plugin-installation-cancelled-message'; +export * from './plugin-installation-completed-message'; +export * from './plugin-installation-failed-message'; +export * from './plugin-installing-message'; export * from './plugin-status'; +export * from './plugin-uninstalled-message'; export * from './previous-item-request-dto'; export * from './problem-details'; export * from './profile-condition'; @@ -204,6 +225,7 @@ export * from './ready-request-dto'; export * from './recommendation-dto'; export * from './recommendation-type'; export * from './recording-status'; +export * from './refresh-progress-message'; export * from './remote-image-info'; export * from './remote-image-result'; export * from './remote-search-result'; @@ -212,23 +234,34 @@ export * from './remove-from-playlist-request-dto'; export * from './repeat-mode'; export * from './repository-info'; export * from './response-profile'; +export * from './restart-required-message'; +export * from './scheduled-task-ended-message'; +export * from './scheduled-tasks-info-message'; +export * from './scheduled-tasks-info-start-message'; +export * from './scheduled-tasks-info-stop-message'; export * from './scroll-direction'; export * from './search-hint'; export * from './search-hint-result'; export * from './seek-request-dto'; export * from './send-command'; export * from './send-command-type'; -export * from './send-to-user-type'; export * from './series-info'; export * from './series-info-remote-search-query'; export * from './series-status'; +export * from './series-timer-cancelled-message'; +export * from './series-timer-created-message'; export * from './series-timer-info-dto'; export * from './series-timer-info-dto-query-result'; export * from './server-configuration'; export * from './server-discovery-info'; +export * from './server-restarting-message'; +export * from './server-shutting-down-message'; export * from './session-info'; export * from './session-message-type'; export * from './session-user-info'; +export * from './sessions-message'; +export * from './sessions-start-message'; +export * from './sessions-stop-message'; export * from './set-channel-mapping-dto'; export * from './set-playlist-item-request-dto'; export * from './set-repeat-mode-request-dto'; @@ -239,10 +272,14 @@ export * from './special-view-option-dto'; export * from './startup-configuration-dto'; export * from './startup-remote-access-dto'; export * from './startup-user-dto'; +export * from './string-group-update'; export * from './subtitle-delivery-method'; export * from './subtitle-options'; export * from './subtitle-playback-mode'; export * from './subtitle-profile'; +export * from './sync-play-command-message'; +export * from './sync-play-group-update-command-message'; +export * from './sync-play-queue-item'; export * from './sync-play-user-access-type'; export * from './system-info'; export * from './task-completion-status'; @@ -251,6 +288,8 @@ export * from './task-result'; export * from './task-state'; export * from './task-trigger-info'; export * from './theme-media-result'; +export * from './timer-cancelled-message'; +export * from './timer-created-message'; export * from './timer-event-info'; export * from './timer-info-dto'; export * from './timer-info-dto-query-result'; @@ -271,15 +310,22 @@ export * from './update-user-easy-password'; export * from './update-user-password'; export * from './upload-subtitle-dto'; export * from './user-configuration'; +export * from './user-data-change-info'; +export * from './user-data-changed-message'; +export * from './user-deleted-message'; export * from './user-dto'; export * from './user-item-data-dto'; export * from './user-policy'; +export * from './user-updated-message'; export * from './utc-time-response'; export * from './validate-path-dto'; export * from './version-info'; export * from './video3-dformat'; +export * from './video-range'; +export * from './video-range-type'; export * from './video-type'; export * from './virtual-folder-info'; export * from './wake-on-lan-info'; +export * from './web-socket-message'; export * from './xbmc-metadata-options'; export * from './xml-attribute'; diff --git a/src/generated-client/models/library-changed-message.ts b/src/generated-client/models/library-changed-message.ts new file mode 100644 index 000000000..4f98fc5b7 --- /dev/null +++ b/src/generated-client/models/library-changed-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { LibraryUpdateInfo } from './library-update-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Library changed message. + * @export + * @interface LibraryChangedMessage + */ +export interface LibraryChangedMessage { + /** + * + * @type {LibraryUpdateInfo} + * @memberof LibraryChangedMessage + */ + 'Data'?: LibraryUpdateInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof LibraryChangedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof LibraryChangedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/library-options.ts b/src/generated-client/models/library-options.ts index 734aa6ab8..3ec54e7ad 100644 --- a/src/generated-client/models/library-options.ts +++ b/src/generated-client/models/library-options.ts @@ -34,6 +34,12 @@ export interface LibraryOptions { * @memberof LibraryOptions */ 'EnableRealtimeMonitor'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'EnableLUFSScan'?: boolean; /** * * @type {boolean} @@ -77,6 +83,12 @@ export interface LibraryOptions { * @memberof LibraryOptions */ 'EnableEmbeddedTitles'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'EnableEmbeddedExtrasTitles'?: boolean; /** * * @type {boolean} diff --git a/src/generated-client/models/live-tv-options.ts b/src/generated-client/models/live-tv-options.ts index 78c30ade5..7e185cc22 100644 --- a/src/generated-client/models/live-tv-options.ts +++ b/src/generated-client/models/live-tv-options.ts @@ -99,5 +99,17 @@ export interface LiveTvOptions { * @memberof LiveTvOptions */ 'RecordingPostProcessorArguments'?: string | null; + /** + * + * @type {boolean} + * @memberof LiveTvOptions + */ + 'SaveRecordingNFO'?: boolean; + /** + * + * @type {boolean} + * @memberof LiveTvOptions + */ + 'SaveRecordingImages'?: boolean; } diff --git a/src/generated-client/models/lyric-line.ts b/src/generated-client/models/lyric-line.ts new file mode 100644 index 000000000..6b19e5667 --- /dev/null +++ b/src/generated-client/models/lyric-line.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * Lyric model. + * @export + * @interface LyricLine + */ +export interface LyricLine { + /** + * Gets the text of this lyric line. + * @type {string} + * @memberof LyricLine + */ + 'Text'?: string; + /** + * Gets the start time in ticks. + * @type {number} + * @memberof LyricLine + */ + 'Start'?: number | null; +} + diff --git a/src/generated-client/models/lyric-metadata.ts b/src/generated-client/models/lyric-metadata.ts new file mode 100644 index 000000000..7508aad15 --- /dev/null +++ b/src/generated-client/models/lyric-metadata.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * LyricMetadata model. + * @export + * @interface LyricMetadata + */ +export interface LyricMetadata { + /** + * Gets or sets the song artist. + * @type {string} + * @memberof LyricMetadata + */ + 'Artist'?: string | null; + /** + * Gets or sets the album this song is on. + * @type {string} + * @memberof LyricMetadata + */ + 'Album'?: string | null; + /** + * Gets or sets the title of the song. + * @type {string} + * @memberof LyricMetadata + */ + 'Title'?: string | null; + /** + * Gets or sets the author of the lyric data. + * @type {string} + * @memberof LyricMetadata + */ + 'Author'?: string | null; + /** + * Gets or sets the length of the song in ticks. + * @type {number} + * @memberof LyricMetadata + */ + 'Length'?: number | null; + /** + * Gets or sets who the LRC file was created by. + * @type {string} + * @memberof LyricMetadata + */ + 'By'?: string | null; + /** + * Gets or sets the lyric offset compared to audio in ticks. + * @type {number} + * @memberof LyricMetadata + */ + 'Offset'?: number | null; + /** + * Gets or sets the software used to create the LRC file. + * @type {string} + * @memberof LyricMetadata + */ + 'Creator'?: string | null; + /** + * Gets or sets the version of the creator used. + * @type {string} + * @memberof LyricMetadata + */ + 'Version'?: string | null; +} + diff --git a/src/generated-client/models/lyric-response.ts b/src/generated-client/models/lyric-response.ts new file mode 100644 index 000000000..e39cd71ac --- /dev/null +++ b/src/generated-client/models/lyric-response.ts @@ -0,0 +1,37 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { LyricLine } from './lyric-line'; +import { LyricMetadata } from './lyric-metadata'; + +/** + * LyricResponse model. + * @export + * @interface LyricResponse + */ +export interface LyricResponse { + /** + * + * @type {LyricMetadata} + * @memberof LyricResponse + */ + 'Metadata'?: LyricMetadata; + /** + * Gets or sets a collection of individual lyric lines. + * @type {Array} + * @memberof LyricResponse + */ + 'Lyrics'?: Array; +} + diff --git a/src/generated-client/models/media-stream.ts b/src/generated-client/models/media-stream.ts index c62c4c248..ff3545096 100644 --- a/src/generated-client/models/media-stream.ts +++ b/src/generated-client/models/media-stream.ts @@ -14,6 +14,8 @@ import { MediaStreamType } from './media-stream-type'; import { SubtitleDeliveryMethod } from './subtitle-delivery-method'; +import { VideoRange } from './video-range'; +import { VideoRangeType } from './video-range-type'; /** * Class MediaStream. @@ -136,17 +138,17 @@ export interface MediaStream { */ 'Title'?: string | null; /** - * Gets the video range. - * @type {string} + * + * @type {VideoRange} * @memberof MediaStream */ - 'VideoRange'?: string | null; + 'VideoRange'?: VideoRange; /** - * Gets the video range type. - * @type {string} + * + * @type {VideoRangeType} * @memberof MediaStream */ - 'VideoRangeType'?: string | null; + 'VideoRangeType'?: VideoRangeType; /** * Gets the video dovi title. * @type {string} @@ -177,6 +179,12 @@ export interface MediaStream { * @memberof MediaStream */ 'LocalizedExternal'?: string | null; + /** + * + * @type {string} + * @memberof MediaStream + */ + 'LocalizedHearingImpaired'?: string | null; /** * * @type {string} @@ -255,6 +263,12 @@ export interface MediaStream { * @memberof MediaStream */ 'IsForced'?: boolean; + /** + * Gets or sets a value indicating whether this instance is for the hearing impaired. + * @type {boolean} + * @memberof MediaStream + */ + 'IsHearingImpaired'?: boolean; /** * Gets or sets the height. * @type {number} diff --git a/src/generated-client/models/network-configuration.ts b/src/generated-client/models/network-configuration.ts index a8f302f24..f16205f11 100644 --- a/src/generated-client/models/network-configuration.ts +++ b/src/generated-client/models/network-configuration.ts @@ -19,6 +19,18 @@ * @interface NetworkConfiguration */ export interface NetworkConfiguration { + /** + * Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. + * @type {string} + * @memberof NetworkConfiguration + */ + 'BaseUrl'?: string; + /** + * Gets or sets a value indicating whether to use HTTPS. + * @type {boolean} + * @memberof NetworkConfiguration + */ + 'EnableHttps'?: boolean; /** * Gets or sets a value indicating whether the server should force connections over HTTPS. * @type {boolean} @@ -38,143 +50,101 @@ export interface NetworkConfiguration { */ 'CertificatePassword'?: string; /** - * Gets or sets a value used to specify the URL prefix that your Jellyfin instance can be accessed at. - * @type {string} - * @memberof NetworkConfiguration - */ - 'BaseUrl'?: string; - /** - * Gets or sets the public HTTPS port. + * Gets or sets the internal HTTP server port. * @type {number} * @memberof NetworkConfiguration */ - 'PublicHttpsPort'?: number; + 'InternalHttpPort'?: number; /** - * Gets or sets the HTTP server port number. + * Gets or sets the internal HTTPS server port. * @type {number} * @memberof NetworkConfiguration */ - 'HttpServerPortNumber'?: number; + 'InternalHttpsPort'?: number; /** - * Gets or sets the HTTPS server port number. + * Gets or sets the public HTTP port. * @type {number} * @memberof NetworkConfiguration */ - 'HttpsPortNumber'?: number; + 'PublicHttpPort'?: number; /** - * Gets or sets a value indicating whether to use HTTPS. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableHttps'?: boolean; - /** - * Gets or sets the public mapped port. + * Gets or sets the public HTTPS port. * @type {number} * @memberof NetworkConfiguration */ - 'PublicPort'?: number; + 'PublicHttpsPort'?: number; /** - * Gets or sets a value indicating whether the http port should be mapped as part of UPnP automatic port forwarding. + * Gets or sets a value indicating whether Autodiscovery is enabled. * @type {boolean} * @memberof NetworkConfiguration */ - 'UPnPCreateHttpPortMap'?: boolean; + 'AutoDiscovery'?: boolean; /** - * Gets or sets the UDPPortRange. - * @type {string} + * Gets or sets a value indicating whether to enable automatic port forwarding. + * @type {boolean} * @memberof NetworkConfiguration */ - 'UDPPortRange'?: string; + 'EnableUPnP'?: boolean; /** - * Gets or sets a value indicating whether gets or sets IPV6 capability. + * Gets or sets a value indicating whether IPv6 is enabled. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnableIPV6'?: boolean; + 'EnableIPv4'?: boolean; /** - * Gets or sets a value indicating whether gets or sets IPV4 capability. + * Gets or sets a value indicating whether IPv6 is enabled. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnableIPV4'?: boolean; + 'EnableIPv6'?: boolean; /** - * Gets or sets a value indicating whether detailed SSDP logs are sent to the console/log. \"Emby.Dlna\": \"Debug\" must be set in logging.default.json for this property to have any effect. + * Gets or sets a value indicating whether access from outside of the LAN is permitted. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnableSSDPTracing'?: boolean; + 'EnableRemoteAccess'?: boolean; /** - * Gets or sets the SSDPTracingFilter Gets or sets a value indicating whether an IP address is to be used to filter the detailed ssdp logs that are being sent to the console/log. If the setting \"Emby.Dlna\": \"Debug\" msut be set in logging.default.json for this property to work. - * @type {string} + * Gets or sets the subnets that are deemed to make up the LAN. + * @type {Array} * @memberof NetworkConfiguration */ - 'SSDPTracingFilter'?: string; + 'LocalNetworkSubnets'?: Array; /** - * Gets or sets the number of times SSDP UDP messages are sent. - * @type {number} + * Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. + * @type {Array} * @memberof NetworkConfiguration */ - 'UDPSendCount'?: number; + 'LocalNetworkAddresses'?: Array; /** - * Gets or sets the delay between each groups of SSDP messages (in ms). - * @type {number} + * Gets or sets the known proxies. + * @type {Array} * @memberof NetworkConfiguration */ - 'UDPSendDelay'?: number; + 'KnownProxies'?: Array; /** - * Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding. + * Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. * @type {boolean} * @memberof NetworkConfiguration */ 'IgnoreVirtualInterfaces'?: boolean; /** - * Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. . - * @type {string} - * @memberof NetworkConfiguration - */ - 'VirtualInterfaceNames'?: string; - /** - * Gets or sets the time (in seconds) between the pings of SSDP gateway monitor. - * @type {number} - * @memberof NetworkConfiguration - */ - 'GatewayMonitorPeriod'?: number; - /** - * Gets a value indicating whether multi-socket binding is available. - * @type {boolean} + * Gets or sets a value indicating the interface name prefixes that should be ignored. The list can be comma separated and values are case-insensitive. . + * @type {Array} * @memberof NetworkConfiguration */ - 'EnableMultiSocketBinding'?: boolean; + 'VirtualInterfaceNames'?: Array; /** - * Gets or sets a value indicating whether all IPv6 interfaces should be treated as on the internal network. Depending on the address range implemented ULA ranges might not be used. + * Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. * @type {boolean} * @memberof NetworkConfiguration */ - 'TrustAllIP6Interfaces'?: boolean; - /** - * Gets or sets the ports that HDHomerun uses. - * @type {string} - * @memberof NetworkConfiguration - */ - 'HDHomerunPortRange'?: string; + 'EnablePublishedServerUriByRequest'?: boolean; /** * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. * @type {Array} * @memberof NetworkConfiguration */ 'PublishedServerUriBySubnet'?: Array; - /** - * Gets or sets a value indicating whether Autodiscovery tracing is enabled. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'AutoDiscoveryTracing'?: boolean; - /** - * Gets or sets a value indicating whether Autodiscovery is enabled. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'AutoDiscovery'?: boolean; /** * Gets or sets the filter for remote IP connectivity. Used in conjuntion with . * @type {Array} @@ -187,41 +157,5 @@ export interface NetworkConfiguration { * @memberof NetworkConfiguration */ 'IsRemoteIPFilterBlacklist'?: boolean; - /** - * Gets or sets a value indicating whether to enable automatic port forwarding. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableUPnP'?: boolean; - /** - * Gets or sets a value indicating whether access outside of the LAN is permitted. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableRemoteAccess'?: boolean; - /** - * Gets or sets the subnets that are deemed to make up the LAN. - * @type {Array} - * @memberof NetworkConfiguration - */ - 'LocalNetworkSubnets'?: Array; - /** - * Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. - * @type {Array} - * @memberof NetworkConfiguration - */ - 'LocalNetworkAddresses'?: Array; - /** - * Gets or sets the known proxies. If the proxy is a network, it\'s added to the KnownNetworks. - * @type {Array} - * @memberof NetworkConfiguration - */ - 'KnownProxies'?: Array; - /** - * Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnablePublishedServerUriByRequest'?: boolean; } diff --git a/src/generated-client/models/outbound-keep-alive-message.ts b/src/generated-client/models/outbound-keep-alive-message.ts new file mode 100644 index 000000000..561b44b5b --- /dev/null +++ b/src/generated-client/models/outbound-keep-alive-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Keep alive websocket messages. + * @export + * @interface OutboundKeepAliveMessage + */ +export interface OutboundKeepAliveMessage { + /** + * Gets or sets the message id. + * @type {string} + * @memberof OutboundKeepAliveMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof OutboundKeepAliveMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/outbound-web-socket-message.ts b/src/generated-client/models/outbound-web-socket-message.ts new file mode 100644 index 000000000..c9d3a05bf --- /dev/null +++ b/src/generated-client/models/outbound-web-socket-message.ts @@ -0,0 +1,53 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { ActivityLogEntryMessage } from './activity-log-entry-message'; +import { ForceKeepAliveMessage } from './force-keep-alive-message'; +import { GeneralCommandMessage } from './general-command-message'; +import { LibraryChangedMessage } from './library-changed-message'; +import { OutboundKeepAliveMessage } from './outbound-keep-alive-message'; +import { PlayMessage } from './play-message'; +import { PlaystateMessage } from './playstate-message'; +import { PluginInstallationCancelledMessage } from './plugin-installation-cancelled-message'; +import { PluginInstallationCompletedMessage } from './plugin-installation-completed-message'; +import { PluginInstallationFailedMessage } from './plugin-installation-failed-message'; +import { PluginInstallingMessage } from './plugin-installing-message'; +import { PluginUninstalledMessage } from './plugin-uninstalled-message'; +import { RefreshProgressMessage } from './refresh-progress-message'; +import { RestartRequiredMessage } from './restart-required-message'; +import { ScheduledTaskEndedMessage } from './scheduled-task-ended-message'; +import { ScheduledTasksInfoMessage } from './scheduled-tasks-info-message'; +import { SeriesTimerCancelledMessage } from './series-timer-cancelled-message'; +import { SeriesTimerCreatedMessage } from './series-timer-created-message'; +import { ServerRestartingMessage } from './server-restarting-message'; +import { ServerShuttingDownMessage } from './server-shutting-down-message'; +import { SessionMessageType } from './session-message-type'; +import { SessionsMessage } from './sessions-message'; +import { SyncPlayCommandMessage } from './sync-play-command-message'; +import { SyncPlayGroupUpdateCommandMessage } from './sync-play-group-update-command-message'; +import { TimerCancelledMessage } from './timer-cancelled-message'; +import { TimerCreatedMessage } from './timer-created-message'; +import { UserDataChangedMessage } from './user-data-changed-message'; +import { UserDeletedMessage } from './user-deleted-message'; +import { UserDto } from './user-dto'; +import { UserUpdatedMessage } from './user-updated-message'; + +/** + * @type OutboundWebSocketMessage + * Represents the list of possible outbound websocket types + * @export + */ +export type OutboundWebSocketMessage = ActivityLogEntryMessage | ForceKeepAliveMessage | GeneralCommandMessage | LibraryChangedMessage | OutboundKeepAliveMessage | PlayMessage | PlaystateMessage | PluginInstallationCancelledMessage | PluginInstallationCompletedMessage | PluginInstallationFailedMessage | PluginInstallingMessage | PluginUninstalledMessage | RefreshProgressMessage | RestartRequiredMessage | ScheduledTaskEndedMessage | ScheduledTasksInfoMessage | SeriesTimerCancelledMessage | SeriesTimerCreatedMessage | ServerRestartingMessage | ServerShuttingDownMessage | SessionsMessage | SyncPlayCommandMessage | SyncPlayGroupUpdateCommandMessage | TimerCancelledMessage | TimerCreatedMessage | UserDataChangedMessage | UserDeletedMessage | UserUpdatedMessage; + + diff --git a/src/generated-client/models/parental-rating.ts b/src/generated-client/models/parental-rating.ts index 2ff4fc4ce..85359c5cf 100644 --- a/src/generated-client/models/parental-rating.ts +++ b/src/generated-client/models/parental-rating.ts @@ -30,6 +30,6 @@ export interface ParentalRating { * @type {number} * @memberof ParentalRating */ - 'Value'?: number; + 'Value'?: number | null; } diff --git a/src/generated-client/models/person-kind.ts b/src/generated-client/models/person-kind.ts new file mode 100644 index 000000000..2ec7e95cc --- /dev/null +++ b/src/generated-client/models/person-kind.ts @@ -0,0 +1,46 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * The person kind. + * @export + * @enum {string} + */ + +export const PersonKind = { + Unknown: 'Unknown', + Actor: 'Actor', + Director: 'Director', + Composer: 'Composer', + Writer: 'Writer', + GuestStar: 'GuestStar', + Producer: 'Producer', + Conductor: 'Conductor', + Lyricist: 'Lyricist', + Arranger: 'Arranger', + Engineer: 'Engineer', + Mixer: 'Mixer', + Remixer: 'Remixer', + Creator: 'Creator', + Artist: 'Artist', + AlbumArtist: 'AlbumArtist', + Author: 'Author', + Illustrator: 'Illustrator' +} as const; + +export type PersonKind = typeof PersonKind[keyof typeof PersonKind]; + + + diff --git a/src/generated-client/models/play-message.ts b/src/generated-client/models/play-message.ts new file mode 100644 index 000000000..9cf8d3b90 --- /dev/null +++ b/src/generated-client/models/play-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { PlayRequest } from './play-request'; +import { SessionMessageType } from './session-message-type'; + +/** + * Play command websocket message. + * @export + * @interface PlayMessage + */ +export interface PlayMessage { + /** + * + * @type {PlayRequest} + * @memberof PlayMessage + */ + 'Data'?: PlayRequest; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PlayMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PlayMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/play-queue-update-group-update.ts b/src/generated-client/models/play-queue-update-group-update.ts new file mode 100644 index 000000000..7d1708698 --- /dev/null +++ b/src/generated-client/models/play-queue-update-group-update.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupUpdateType } from './group-update-type'; +import { PlayQueueUpdate } from './play-queue-update'; + +/** + * Class GroupUpdate. + * @export + * @interface PlayQueueUpdateGroupUpdate + */ +export interface PlayQueueUpdateGroupUpdate { + /** + * Gets the group identifier. + * @type {string} + * @memberof PlayQueueUpdateGroupUpdate + */ + 'GroupId'?: string; + /** + * + * @type {GroupUpdateType} + * @memberof PlayQueueUpdateGroupUpdate + */ + 'Type'?: GroupUpdateType; + /** + * + * @type {PlayQueueUpdate} + * @memberof PlayQueueUpdateGroupUpdate + */ + 'Data'?: PlayQueueUpdate; +} + diff --git a/src/generated-client/models/play-queue-update-reason.ts b/src/generated-client/models/play-queue-update-reason.ts new file mode 100644 index 000000000..ea7820f30 --- /dev/null +++ b/src/generated-client/models/play-queue-update-reason.ts @@ -0,0 +1,38 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * Enum PlayQueueUpdateReason. + * @export + * @enum {string} + */ + +export const PlayQueueUpdateReason = { + NewPlaylist: 'NewPlaylist', + SetCurrentItem: 'SetCurrentItem', + RemoveItems: 'RemoveItems', + MoveItem: 'MoveItem', + Queue: 'Queue', + QueueNext: 'QueueNext', + NextItem: 'NextItem', + PreviousItem: 'PreviousItem', + RepeatMode: 'RepeatMode', + ShuffleMode: 'ShuffleMode' +} as const; + +export type PlayQueueUpdateReason = typeof PlayQueueUpdateReason[keyof typeof PlayQueueUpdateReason]; + + + diff --git a/src/generated-client/models/play-queue-update.ts b/src/generated-client/models/play-queue-update.ts new file mode 100644 index 000000000..f83db7da7 --- /dev/null +++ b/src/generated-client/models/play-queue-update.ts @@ -0,0 +1,75 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupRepeatMode } from './group-repeat-mode'; +import { GroupShuffleMode } from './group-shuffle-mode'; +import { PlayQueueUpdateReason } from './play-queue-update-reason'; +import { SyncPlayQueueItem } from './sync-play-queue-item'; + +/** + * Class PlayQueueUpdate. + * @export + * @interface PlayQueueUpdate + */ +export interface PlayQueueUpdate { + /** + * + * @type {PlayQueueUpdateReason} + * @memberof PlayQueueUpdate + */ + 'Reason'?: PlayQueueUpdateReason; + /** + * Gets the UTC time of the last change to the playing queue. + * @type {string} + * @memberof PlayQueueUpdate + */ + 'LastUpdate'?: string; + /** + * Gets the playlist. + * @type {Array} + * @memberof PlayQueueUpdate + */ + 'Playlist'?: Array; + /** + * Gets the playing item index in the playlist. + * @type {number} + * @memberof PlayQueueUpdate + */ + 'PlayingItemIndex'?: number; + /** + * Gets the start position ticks. + * @type {number} + * @memberof PlayQueueUpdate + */ + 'StartPositionTicks'?: number; + /** + * Gets a value indicating whether the current item is playing. + * @type {boolean} + * @memberof PlayQueueUpdate + */ + 'IsPlaying'?: boolean; + /** + * + * @type {GroupShuffleMode} + * @memberof PlayQueueUpdate + */ + 'ShuffleMode'?: GroupShuffleMode; + /** + * + * @type {GroupRepeatMode} + * @memberof PlayQueueUpdate + */ + 'RepeatMode'?: GroupRepeatMode; +} + diff --git a/src/generated-client/models/playback-request-type.ts b/src/generated-client/models/playback-request-type.ts new file mode 100644 index 000000000..2efa5cf27 --- /dev/null +++ b/src/generated-client/models/playback-request-type.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * Enum PlaybackRequestType. + * @export + * @enum {string} + */ + +export const PlaybackRequestType = { + Play: 'Play', + SetPlaylistItem: 'SetPlaylistItem', + RemoveFromPlaylist: 'RemoveFromPlaylist', + MovePlaylistItem: 'MovePlaylistItem', + Queue: 'Queue', + Unpause: 'Unpause', + Pause: 'Pause', + Stop: 'Stop', + Seek: 'Seek', + Buffer: 'Buffer', + Ready: 'Ready', + NextItem: 'NextItem', + PreviousItem: 'PreviousItem', + SetRepeatMode: 'SetRepeatMode', + SetShuffleMode: 'SetShuffleMode', + Ping: 'Ping', + IgnoreWait: 'IgnoreWait' +} as const; + +export type PlaybackRequestType = typeof PlaybackRequestType[keyof typeof PlaybackRequestType]; + + + diff --git a/src/generated-client/models/playstate-message.ts b/src/generated-client/models/playstate-message.ts new file mode 100644 index 000000000..a7af6fa56 --- /dev/null +++ b/src/generated-client/models/playstate-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { PlaystateRequest } from './playstate-request'; +import { SessionMessageType } from './session-message-type'; + +/** + * Playstate message. + * @export + * @interface PlaystateMessage + */ +export interface PlaystateMessage { + /** + * + * @type {PlaystateRequest} + * @memberof PlaystateMessage + */ + 'Data'?: PlaystateRequest; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PlaystateMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PlaystateMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/plugin-installation-cancelled-message.ts b/src/generated-client/models/plugin-installation-cancelled-message.ts new file mode 100644 index 000000000..c67d6f743 --- /dev/null +++ b/src/generated-client/models/plugin-installation-cancelled-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { InstallationInfo } from './installation-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Plugin installation cancelled message. + * @export + * @interface PluginInstallationCancelledMessage + */ +export interface PluginInstallationCancelledMessage { + /** + * + * @type {InstallationInfo} + * @memberof PluginInstallationCancelledMessage + */ + 'Data'?: InstallationInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PluginInstallationCancelledMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PluginInstallationCancelledMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/plugin-installation-completed-message.ts b/src/generated-client/models/plugin-installation-completed-message.ts new file mode 100644 index 000000000..6b3251bd6 --- /dev/null +++ b/src/generated-client/models/plugin-installation-completed-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { InstallationInfo } from './installation-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Plugin installation completed message. + * @export + * @interface PluginInstallationCompletedMessage + */ +export interface PluginInstallationCompletedMessage { + /** + * + * @type {InstallationInfo} + * @memberof PluginInstallationCompletedMessage + */ + 'Data'?: InstallationInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PluginInstallationCompletedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PluginInstallationCompletedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/plugin-installation-failed-message.ts b/src/generated-client/models/plugin-installation-failed-message.ts new file mode 100644 index 000000000..4a9d27e33 --- /dev/null +++ b/src/generated-client/models/plugin-installation-failed-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { InstallationInfo } from './installation-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Plugin installation failed message. + * @export + * @interface PluginInstallationFailedMessage + */ +export interface PluginInstallationFailedMessage { + /** + * + * @type {InstallationInfo} + * @memberof PluginInstallationFailedMessage + */ + 'Data'?: InstallationInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PluginInstallationFailedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PluginInstallationFailedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/plugin-installing-message.ts b/src/generated-client/models/plugin-installing-message.ts new file mode 100644 index 000000000..db43e09f2 --- /dev/null +++ b/src/generated-client/models/plugin-installing-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { InstallationInfo } from './installation-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Package installing message. + * @export + * @interface PluginInstallingMessage + */ +export interface PluginInstallingMessage { + /** + * + * @type {InstallationInfo} + * @memberof PluginInstallingMessage + */ + 'Data'?: InstallationInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PluginInstallingMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PluginInstallingMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/plugin-uninstalled-message.ts b/src/generated-client/models/plugin-uninstalled-message.ts new file mode 100644 index 000000000..b7f00b958 --- /dev/null +++ b/src/generated-client/models/plugin-uninstalled-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { PluginInfo } from './plugin-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Plugin uninstalled message. + * @export + * @interface PluginUninstalledMessage + */ +export interface PluginUninstalledMessage { + /** + * + * @type {PluginInfo} + * @memberof PluginUninstalledMessage + */ + 'Data'?: PluginInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof PluginUninstalledMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof PluginUninstalledMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/public-system-info.ts b/src/generated-client/models/public-system-info.ts index 23ddef338..0a19e7e46 100644 --- a/src/generated-client/models/public-system-info.ts +++ b/src/generated-client/models/public-system-info.ts @@ -47,6 +47,7 @@ export interface PublicSystemInfo { * Gets or sets the operating system. * @type {string} * @memberof PublicSystemInfo + * @deprecated */ 'OperatingSystem'?: string | null; /** diff --git a/src/generated-client/models/refresh-progress-message.ts b/src/generated-client/models/refresh-progress-message.ts new file mode 100644 index 000000000..23ed7c5d3 --- /dev/null +++ b/src/generated-client/models/refresh-progress-message.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Refresh progress message. + * @export + * @interface RefreshProgressMessage + */ +export interface RefreshProgressMessage { + /** + * Gets or sets the data. + * @type {{ [key: string]: string; }} + * @memberof RefreshProgressMessage + */ + 'Data'?: { [key: string]: string; } | null; + /** + * Gets or sets the message id. + * @type {string} + * @memberof RefreshProgressMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof RefreshProgressMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/remote-subtitle-info.ts b/src/generated-client/models/remote-subtitle-info.ts index 5e9a8d188..2bf03674e 100644 --- a/src/generated-client/models/remote-subtitle-info.ts +++ b/src/generated-client/models/remote-subtitle-info.ts @@ -73,6 +73,12 @@ export interface RemoteSubtitleInfo { * @memberof RemoteSubtitleInfo */ 'CommunityRating'?: number | null; + /** + * + * @type {number} + * @memberof RemoteSubtitleInfo + */ + 'FrameRate'?: number | null; /** * * @type {number} @@ -85,5 +91,29 @@ export interface RemoteSubtitleInfo { * @memberof RemoteSubtitleInfo */ 'IsHashMatch'?: boolean | null; + /** + * + * @type {boolean} + * @memberof RemoteSubtitleInfo + */ + 'AiTranslated'?: boolean | null; + /** + * + * @type {boolean} + * @memberof RemoteSubtitleInfo + */ + 'MachineTranslated'?: boolean | null; + /** + * + * @type {boolean} + * @memberof RemoteSubtitleInfo + */ + 'Forced'?: boolean | null; + /** + * + * @type {boolean} + * @memberof RemoteSubtitleInfo + */ + 'HearingImpaired'?: boolean | null; } diff --git a/src/generated-client/models/remove-from-playlist-request-dto.ts b/src/generated-client/models/remove-from-playlist-request-dto.ts index a71f8d087..815ca1dc9 100644 --- a/src/generated-client/models/remove-from-playlist-request-dto.ts +++ b/src/generated-client/models/remove-from-playlist-request-dto.ts @@ -20,7 +20,7 @@ */ export interface RemoveFromPlaylistRequestDto { /** - * Gets or sets the playlist identifiers ot the items. Ignored when clearing the playlist. + * Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist. * @type {Array} * @memberof RemoveFromPlaylistRequestDto */ diff --git a/src/generated-client/models/restart-required-message.ts b/src/generated-client/models/restart-required-message.ts new file mode 100644 index 000000000..e83388401 --- /dev/null +++ b/src/generated-client/models/restart-required-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Restart required. + * @export + * @interface RestartRequiredMessage + */ +export interface RestartRequiredMessage { + /** + * Gets or sets the message id. + * @type {string} + * @memberof RestartRequiredMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof RestartRequiredMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/scheduled-task-ended-message.ts b/src/generated-client/models/scheduled-task-ended-message.ts new file mode 100644 index 000000000..2e746e968 --- /dev/null +++ b/src/generated-client/models/scheduled-task-ended-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TaskResult } from './task-result'; + +/** + * Scheduled task ended message. + * @export + * @interface ScheduledTaskEndedMessage + */ +export interface ScheduledTaskEndedMessage { + /** + * + * @type {TaskResult} + * @memberof ScheduledTaskEndedMessage + */ + 'Data'?: TaskResult; + /** + * Gets or sets the message id. + * @type {string} + * @memberof ScheduledTaskEndedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ScheduledTaskEndedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/scheduled-tasks-info-message.ts b/src/generated-client/models/scheduled-tasks-info-message.ts new file mode 100644 index 000000000..7f74ed39c --- /dev/null +++ b/src/generated-client/models/scheduled-tasks-info-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TaskInfo } from './task-info'; + +/** + * Scheduled tasks info message. + * @export + * @interface ScheduledTasksInfoMessage + */ +export interface ScheduledTasksInfoMessage { + /** + * Gets or sets the data. + * @type {Array} + * @memberof ScheduledTasksInfoMessage + */ + 'Data'?: Array | null; + /** + * Gets or sets the message id. + * @type {string} + * @memberof ScheduledTasksInfoMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ScheduledTasksInfoMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/scheduled-tasks-info-start-message.ts b/src/generated-client/models/scheduled-tasks-info-start-message.ts new file mode 100644 index 000000000..f0d33b79c --- /dev/null +++ b/src/generated-client/models/scheduled-tasks-info-start-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Scheduled tasks info start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + * @export + * @interface ScheduledTasksInfoStartMessage + */ +export interface ScheduledTasksInfoStartMessage { + /** + * Gets or sets the data. + * @type {string} + * @memberof ScheduledTasksInfoStartMessage + */ + 'Data'?: string | null; + /** + * + * @type {SessionMessageType} + * @memberof ScheduledTasksInfoStartMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/scheduled-tasks-info-stop-message.ts b/src/generated-client/models/scheduled-tasks-info-stop-message.ts new file mode 100644 index 000000000..9d207f13d --- /dev/null +++ b/src/generated-client/models/scheduled-tasks-info-stop-message.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Scheduled tasks info stop message. + * @export + * @interface ScheduledTasksInfoStopMessage + */ +export interface ScheduledTasksInfoStopMessage { + /** + * + * @type {SessionMessageType} + * @memberof ScheduledTasksInfoStopMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/search-hint.ts b/src/generated-client/models/search-hint.ts index 475787a93..c3a1926d6 100644 --- a/src/generated-client/models/search-hint.ts +++ b/src/generated-client/models/search-hint.ts @@ -12,6 +12,7 @@ */ +import { BaseItemKind } from './base-item-kind'; /** * Class SearchHintResult. @@ -23,10 +24,11 @@ export interface SearchHint { * Gets or sets the item id. * @type {string} * @memberof SearchHint + * @deprecated */ 'ItemId'?: string; /** - * + * Gets or sets the item id. * @type {string} * @memberof SearchHint */ @@ -36,13 +38,13 @@ export interface SearchHint { * @type {string} * @memberof SearchHint */ - 'Name'?: string | null; + 'Name'?: string; /** * Gets or sets the matched term. * @type {string} * @memberof SearchHint */ - 'MatchedTerm'?: string | null; + 'MatchedTerm'?: string; /** * Gets or sets the index number. * @type {number} @@ -92,13 +94,13 @@ export interface SearchHint { */ 'BackdropImageItemId'?: string | null; /** - * Gets or sets the type. - * @type {string} + * + * @type {BaseItemKind} * @memberof SearchHint */ - 'Type'?: string | null; + 'Type'?: BaseItemKind; /** - * + * Gets or sets a value indicating whether this instance is folder. * @type {boolean} * @memberof SearchHint */ @@ -114,15 +116,15 @@ export interface SearchHint { * @type {string} * @memberof SearchHint */ - 'MediaType'?: string | null; + 'MediaType'?: string; /** - * + * Gets or sets the start date. * @type {string} * @memberof SearchHint */ 'StartDate'?: string | null; /** - * + * Gets or sets the end date. * @type {string} * @memberof SearchHint */ @@ -134,7 +136,7 @@ export interface SearchHint { */ 'Series'?: string | null; /** - * + * Gets or sets the status. * @type {string} * @memberof SearchHint */ @@ -146,11 +148,11 @@ export interface SearchHint { */ 'Album'?: string | null; /** - * + * Gets or sets the album id. * @type {string} * @memberof SearchHint */ - 'AlbumId'?: string; + 'AlbumId'?: string | null; /** * Gets or sets the album artist. * @type {string} @@ -162,7 +164,7 @@ export interface SearchHint { * @type {Array} * @memberof SearchHint */ - 'Artists'?: Array | null; + 'Artists'?: Array; /** * Gets or sets the song count. * @type {number} @@ -180,7 +182,7 @@ export interface SearchHint { * @type {string} * @memberof SearchHint */ - 'ChannelId'?: string; + 'ChannelId'?: string | null; /** * Gets or sets the name of the channel. * @type {string} diff --git a/src/generated-client/models/series-status.ts b/src/generated-client/models/series-status.ts index de2ecba7d..fd73c7a42 100644 --- a/src/generated-client/models/series-status.ts +++ b/src/generated-client/models/series-status.ts @@ -14,14 +14,15 @@ /** - * Enum SeriesStatus. + * The status of a series. * @export * @enum {string} */ export const SeriesStatus = { Continuing: 'Continuing', - Ended: 'Ended' + Ended: 'Ended', + Unreleased: 'Unreleased' } as const; export type SeriesStatus = typeof SeriesStatus[keyof typeof SeriesStatus]; diff --git a/src/generated-client/models/series-timer-cancelled-message.ts b/src/generated-client/models/series-timer-cancelled-message.ts new file mode 100644 index 000000000..09b7c131b --- /dev/null +++ b/src/generated-client/models/series-timer-cancelled-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TimerEventInfo } from './timer-event-info'; + +/** + * Series timer cancelled message. + * @export + * @interface SeriesTimerCancelledMessage + */ +export interface SeriesTimerCancelledMessage { + /** + * + * @type {TimerEventInfo} + * @memberof SeriesTimerCancelledMessage + */ + 'Data'?: TimerEventInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof SeriesTimerCancelledMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof SeriesTimerCancelledMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/series-timer-created-message.ts b/src/generated-client/models/series-timer-created-message.ts new file mode 100644 index 000000000..a0d238c71 --- /dev/null +++ b/src/generated-client/models/series-timer-created-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TimerEventInfo } from './timer-event-info'; + +/** + * Series timer created message. + * @export + * @interface SeriesTimerCreatedMessage + */ +export interface SeriesTimerCreatedMessage { + /** + * + * @type {TimerEventInfo} + * @memberof SeriesTimerCreatedMessage + */ + 'Data'?: TimerEventInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof SeriesTimerCreatedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof SeriesTimerCreatedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/server-configuration.ts b/src/generated-client/models/server-configuration.ts index 6c89fe9bd..f2de02bb2 100644 --- a/src/generated-client/models/server-configuration.ts +++ b/src/generated-client/models/server-configuration.ts @@ -12,6 +12,7 @@ */ +import { ImageResolution } from './image-resolution'; import { ImageSavingConvention } from './image-saving-convention'; import { MetadataOptions } from './metadata-options'; import { NameValuePair } from './name-value-pair'; @@ -168,6 +169,12 @@ export interface ServerConfiguration { * @memberof ServerConfiguration */ 'LibraryMonitorDelay'?: number; + /** + * Gets or sets the duration in seconds that we will wait after a library updated event before executing the library changed notification. + * @type {number} + * @memberof ServerConfiguration + */ + 'LibraryUpdateDuration'?: number; /** * * @type {ImageSavingConvention} @@ -312,5 +319,23 @@ export interface ServerConfiguration { * @memberof ServerConfiguration */ 'AllowClientLogUpload'?: boolean; + /** + * Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether. + * @type {number} + * @memberof ServerConfiguration + */ + 'DummyChapterDuration'?: number; + /** + * + * @type {ImageResolution} + * @memberof ServerConfiguration + */ + 'ChapterImageResolution'?: ImageResolution; + /** + * Gets or sets the limit for parallel image encoding. + * @type {number} + * @memberof ServerConfiguration + */ + 'ParallelImageEncodingLimit'?: number; } diff --git a/src/generated-client/models/server-restarting-message.ts b/src/generated-client/models/server-restarting-message.ts new file mode 100644 index 000000000..34b98af9a --- /dev/null +++ b/src/generated-client/models/server-restarting-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Server restarting down message. + * @export + * @interface ServerRestartingMessage + */ +export interface ServerRestartingMessage { + /** + * Gets or sets the message id. + * @type {string} + * @memberof ServerRestartingMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ServerRestartingMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/server-shutting-down-message.ts b/src/generated-client/models/server-shutting-down-message.ts new file mode 100644 index 000000000..b42601b23 --- /dev/null +++ b/src/generated-client/models/server-shutting-down-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Server shutting down message. + * @export + * @interface ServerShuttingDownMessage + */ +export interface ServerShuttingDownMessage { + /** + * Gets or sets the message id. + * @type {string} + * @memberof ServerShuttingDownMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof ServerShuttingDownMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/sessions-message.ts b/src/generated-client/models/sessions-message.ts new file mode 100644 index 000000000..d17c0af60 --- /dev/null +++ b/src/generated-client/models/sessions-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionInfo } from './session-info'; +import { SessionMessageType } from './session-message-type'; + +/** + * Sessions message. + * @export + * @interface SessionsMessage + */ +export interface SessionsMessage { + /** + * Gets or sets the data. + * @type {Array} + * @memberof SessionsMessage + */ + 'Data'?: Array | null; + /** + * Gets or sets the message id. + * @type {string} + * @memberof SessionsMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof SessionsMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/sessions-start-message.ts b/src/generated-client/models/sessions-start-message.ts new file mode 100644 index 000000000..76e8cd636 --- /dev/null +++ b/src/generated-client/models/sessions-start-message.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Sessions start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms. + * @export + * @interface SessionsStartMessage + */ +export interface SessionsStartMessage { + /** + * Gets or sets the data. + * @type {string} + * @memberof SessionsStartMessage + */ + 'Data'?: string | null; + /** + * + * @type {SessionMessageType} + * @memberof SessionsStartMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/sessions-stop-message.ts b/src/generated-client/models/sessions-stop-message.ts new file mode 100644 index 000000000..3a99f994e --- /dev/null +++ b/src/generated-client/models/sessions-stop-message.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * Sessions stop message. + * @export + * @interface SessionsStopMessage + */ +export interface SessionsStopMessage { + /** + * + * @type {SessionMessageType} + * @memberof SessionsStopMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/string-group-update.ts b/src/generated-client/models/string-group-update.ts new file mode 100644 index 000000000..f1a6ffff3 --- /dev/null +++ b/src/generated-client/models/string-group-update.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupUpdateType } from './group-update-type'; + +/** + * Class GroupUpdate. + * @export + * @interface StringGroupUpdate + */ +export interface StringGroupUpdate { + /** + * Gets the group identifier. + * @type {string} + * @memberof StringGroupUpdate + */ + 'GroupId'?: string; + /** + * + * @type {GroupUpdateType} + * @memberof StringGroupUpdate + */ + 'Type'?: GroupUpdateType; + /** + * Gets the update data. + * @type {string} + * @memberof StringGroupUpdate + */ + 'Data'?: string; +} + diff --git a/src/generated-client/models/sync-play-command-message.ts b/src/generated-client/models/sync-play-command-message.ts new file mode 100644 index 000000000..c829a1350 --- /dev/null +++ b/src/generated-client/models/sync-play-command-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SendCommand } from './send-command'; +import { SessionMessageType } from './session-message-type'; + +/** + * Sync play command. + * @export + * @interface SyncPlayCommandMessage + */ +export interface SyncPlayCommandMessage { + /** + * + * @type {SendCommand} + * @memberof SyncPlayCommandMessage + */ + 'Data'?: SendCommand; + /** + * Gets or sets the message id. + * @type {string} + * @memberof SyncPlayCommandMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof SyncPlayCommandMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/sync-play-group-update-command-message.ts b/src/generated-client/models/sync-play-group-update-command-message.ts new file mode 100644 index 000000000..dd108d91b --- /dev/null +++ b/src/generated-client/models/sync-play-group-update-command-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { GroupUpdate } from './group-update'; +import { SessionMessageType } from './session-message-type'; + +/** + * Untyped sync play command. + * @export + * @interface SyncPlayGroupUpdateCommandMessage + */ +export interface SyncPlayGroupUpdateCommandMessage { + /** + * + * @type {GroupUpdate} + * @memberof SyncPlayGroupUpdateCommandMessage + */ + 'Data'?: GroupUpdate; + /** + * Gets or sets the message id. + * @type {string} + * @memberof SyncPlayGroupUpdateCommandMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof SyncPlayGroupUpdateCommandMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/sync-play-queue-item.ts b/src/generated-client/models/sync-play-queue-item.ts new file mode 100644 index 000000000..10fd7cd5a --- /dev/null +++ b/src/generated-client/models/sync-play-queue-item.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * Class QueueItem. + * @export + * @interface SyncPlayQueueItem + */ +export interface SyncPlayQueueItem { + /** + * Gets the item identifier. + * @type {string} + * @memberof SyncPlayQueueItem + */ + 'ItemId'?: string; + /** + * Gets the playlist identifier of the item. + * @type {string} + * @memberof SyncPlayQueueItem + */ + 'PlaylistItemId'?: string; +} + diff --git a/src/generated-client/models/system-info.ts b/src/generated-client/models/system-info.ts index 4dcac415d..343027559 100644 --- a/src/generated-client/models/system-info.ts +++ b/src/generated-client/models/system-info.ts @@ -50,6 +50,7 @@ export interface SystemInfo { * Gets or sets the operating system. * @type {string} * @memberof SystemInfo + * @deprecated */ 'OperatingSystem'?: string | null; /** @@ -68,6 +69,7 @@ export interface SystemInfo { * Gets or sets the display name of the operating system. * @type {string} * @memberof SystemInfo + * @deprecated */ 'OperatingSystemDisplayName'?: string | null; /** @@ -110,6 +112,7 @@ export interface SystemInfo { * Gets or sets a value indicating whether this instance can self restart. * @type {boolean} * @memberof SystemInfo + * @deprecated */ 'CanSelfRestart'?: boolean; /** diff --git a/src/generated-client/models/timer-cancelled-message.ts b/src/generated-client/models/timer-cancelled-message.ts new file mode 100644 index 000000000..885ee330e --- /dev/null +++ b/src/generated-client/models/timer-cancelled-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TimerEventInfo } from './timer-event-info'; + +/** + * Timer cancelled message. + * @export + * @interface TimerCancelledMessage + */ +export interface TimerCancelledMessage { + /** + * + * @type {TimerEventInfo} + * @memberof TimerCancelledMessage + */ + 'Data'?: TimerEventInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof TimerCancelledMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof TimerCancelledMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/timer-created-message.ts b/src/generated-client/models/timer-created-message.ts new file mode 100644 index 000000000..daf47a734 --- /dev/null +++ b/src/generated-client/models/timer-created-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { TimerEventInfo } from './timer-event-info'; + +/** + * Timer created message. + * @export + * @interface TimerCreatedMessage + */ +export interface TimerCreatedMessage { + /** + * + * @type {TimerEventInfo} + * @memberof TimerCreatedMessage + */ + 'Data'?: TimerEventInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof TimerCreatedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof TimerCreatedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/tuner-host-info.ts b/src/generated-client/models/tuner-host-info.ts index 85512b66e..a92425aa3 100644 --- a/src/generated-client/models/tuner-host-info.ts +++ b/src/generated-client/models/tuner-host-info.ts @@ -85,5 +85,11 @@ export interface TunerHostInfo { * @memberof TunerHostInfo */ 'UserAgent'?: string | null; + /** + * + * @type {boolean} + * @memberof TunerHostInfo + */ + 'IgnoreDts'?: boolean; } diff --git a/src/generated-client/models/upload-subtitle-dto.ts b/src/generated-client/models/upload-subtitle-dto.ts index f24714c94..b7987146e 100644 --- a/src/generated-client/models/upload-subtitle-dto.ts +++ b/src/generated-client/models/upload-subtitle-dto.ts @@ -37,6 +37,12 @@ export interface UploadSubtitleDto { * @memberof UploadSubtitleDto */ 'IsForced': boolean; + /** + * Gets or sets a value indicating whether the subtitle is for hearing impaired. + * @type {boolean} + * @memberof UploadSubtitleDto + */ + 'IsHearingImpaired': boolean; /** * Gets or sets the subtitle data. * @type {string} diff --git a/src/generated-client/models/user-data-change-info.ts b/src/generated-client/models/user-data-change-info.ts new file mode 100644 index 000000000..deaebab2a --- /dev/null +++ b/src/generated-client/models/user-data-change-info.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { UserItemDataDto } from './user-item-data-dto'; + +/** + * Class UserDataChangeInfo. + * @export + * @interface UserDataChangeInfo + */ +export interface UserDataChangeInfo { + /** + * Gets or sets the user id. + * @type {string} + * @memberof UserDataChangeInfo + */ + 'UserId'?: string | null; + /** + * Gets or sets the user data list. + * @type {Array} + * @memberof UserDataChangeInfo + */ + 'UserDataList'?: Array | null; +} + diff --git a/src/generated-client/models/user-data-changed-message.ts b/src/generated-client/models/user-data-changed-message.ts new file mode 100644 index 000000000..c33dbddd6 --- /dev/null +++ b/src/generated-client/models/user-data-changed-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { UserDataChangeInfo } from './user-data-change-info'; + +/** + * User data changed message. + * @export + * @interface UserDataChangedMessage + */ +export interface UserDataChangedMessage { + /** + * + * @type {UserDataChangeInfo} + * @memberof UserDataChangedMessage + */ + 'Data'?: UserDataChangeInfo; + /** + * Gets or sets the message id. + * @type {string} + * @memberof UserDataChangedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof UserDataChangedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/user-deleted-message.ts b/src/generated-client/models/user-deleted-message.ts new file mode 100644 index 000000000..cdb41960d --- /dev/null +++ b/src/generated-client/models/user-deleted-message.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; + +/** + * User deleted message. + * @export + * @interface UserDeletedMessage + */ +export interface UserDeletedMessage { + /** + * Gets or sets the data. + * @type {string} + * @memberof UserDeletedMessage + */ + 'Data'?: string; + /** + * Gets or sets the message id. + * @type {string} + * @memberof UserDeletedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof UserDeletedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/user-dto.ts b/src/generated-client/models/user-dto.ts index 85fb3ab14..77be0ffd5 100644 --- a/src/generated-client/models/user-dto.ts +++ b/src/generated-client/models/user-dto.ts @@ -67,6 +67,7 @@ export interface UserDto { * Gets or sets a value indicating whether this instance has configured easy password. * @type {boolean} * @memberof UserDto + * @deprecated */ 'HasConfiguredEasyPassword'?: boolean; /** diff --git a/src/generated-client/models/user-policy.ts b/src/generated-client/models/user-policy.ts index 6e2ac4ce7..bfbdd0293 100644 --- a/src/generated-client/models/user-policy.ts +++ b/src/generated-client/models/user-policy.ts @@ -34,6 +34,12 @@ export interface UserPolicy { * @memberof UserPolicy */ 'IsHidden'?: boolean; + /** + * Gets or sets a value indicating whether this instance can manage collections. + * @type {boolean} + * @memberof UserPolicy + */ + 'EnableCollectionManagement'?: boolean; /** * Gets or sets a value indicating whether this instance is disabled. * @type {boolean} @@ -52,6 +58,12 @@ export interface UserPolicy { * @memberof UserPolicy */ 'BlockedTags'?: Array | null; + /** + * + * @type {Array} + * @memberof UserPolicy + */ + 'AllowedTags'?: Array | null; /** * * @type {boolean} diff --git a/src/generated-client/models/user-updated-message.ts b/src/generated-client/models/user-updated-message.ts new file mode 100644 index 000000000..c50a774b3 --- /dev/null +++ b/src/generated-client/models/user-updated-message.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { SessionMessageType } from './session-message-type'; +import { UserDto } from './user-dto'; + +/** + * User updated message. + * @export + * @interface UserUpdatedMessage + */ +export interface UserUpdatedMessage { + /** + * + * @type {UserDto} + * @memberof UserUpdatedMessage + */ + 'Data'?: UserDto; + /** + * Gets or sets the message id. + * @type {string} + * @memberof UserUpdatedMessage + */ + 'MessageId'?: string; + /** + * + * @type {SessionMessageType} + * @memberof UserUpdatedMessage + */ + 'MessageType'?: SessionMessageType; +} + diff --git a/src/generated-client/models/video-range-type.ts b/src/generated-client/models/video-range-type.ts new file mode 100644 index 000000000..4900308c6 --- /dev/null +++ b/src/generated-client/models/video-range-type.ts @@ -0,0 +1,34 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * An enum representing types of video ranges. + * @export + * @enum {string} + */ + +export const VideoRangeType = { + Unknown: 'Unknown', + Sdr: 'SDR', + Hdr10: 'HDR10', + Hlg: 'HLG', + Dovi: 'DOVI', + Hdr10Plus: 'HDR10Plus' +} as const; + +export type VideoRangeType = typeof VideoRangeType[keyof typeof VideoRangeType]; + + + diff --git a/src/generated-client/models/video-range.ts b/src/generated-client/models/video-range.ts new file mode 100644 index 000000000..c42a4c68b --- /dev/null +++ b/src/generated-client/models/video-range.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + + +/** + * An enum representing video ranges. + * @export + * @enum {string} + */ + +export const VideoRange = { + Unknown: 'Unknown', + Sdr: 'SDR', + Hdr: 'HDR' +} as const; + +export type VideoRange = typeof VideoRange[keyof typeof VideoRange]; + + + diff --git a/src/generated-client/models/web-socket-message.ts b/src/generated-client/models/web-socket-message.ts new file mode 100644 index 000000000..cf631cae1 --- /dev/null +++ b/src/generated-client/models/web-socket-message.ts @@ -0,0 +1,27 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit the class manually. + * + * Jellyfin API + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + + +import { InboundWebSocketMessage } from './inbound-web-socket-message'; +import { OutboundWebSocketMessage } from './outbound-web-socket-message'; +import { SessionMessageType } from './session-message-type'; +import { UserDto } from './user-dto'; + +/** + * @type WebSocketMessage + * Represents the possible websocket types + * @export + */ +export type WebSocketMessage = InboundWebSocketMessage | OutboundWebSocketMessage; + + diff --git a/src/versions.ts b/src/versions.ts index 339a509dd..c911c1a2d 100644 --- a/src/versions.ts +++ b/src/versions.ts @@ -5,7 +5,7 @@ */ /** The current API version of the generated client. */ -export const API_VERSION = '10.8.10'; +export const API_VERSION = '10.9.0'; /** The minimum supported server version. */ export const MINIMUM_VERSION = '10.8.1';