diff --git a/openapi.json b/openapi.json index 2f9c87c8e..473dbaf00 100644 --- a/openapi.json +++ b/openapi.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ef41c6408992817d9a3be00aa0266ba19b92757fb51f48c8d5332a08bf5e4b3 -size 853085 +oid sha256:5af67fee42b8bc53bed6b1828c4a8390a17a53985761635d370eafd082bc3b0f +size 852745 diff --git a/src/generated-client/.openapi-generator/FILES b/src/generated-client/.openapi-generator/FILES index a4754b2d8..ee411c4cd 100644 --- a/src/generated-client/.openapi-generator/FILES +++ b/src/generated-client/.openapi-generator/FILES @@ -13,15 +13,12 @@ api/configuration-api.ts api/dashboard-api.ts api/devices-api.ts api/display-preferences-api.ts -api/dlna-api.ts -api/dlna-server-api.ts api/dynamic-hls-api.ts api/environment-api.ts 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 +31,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 @@ -54,6 +50,7 @@ api/system-api.ts api/time-sync-api.ts api/tmdb-api.ts api/trailers-api.ts +api/trickplay-api.ts api/tv-shows-api.ts api/universal-audio-api.ts api/user-api.ts @@ -68,16 +65,18 @@ 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 -models/architecture.ts models/artist-info-remote-search-query.ts models/artist-info.ts +models/audio-spatial-format.ts models/authenticate-user-by-name.ts models/authentication-info-query-result.ts models/authentication-info.ts @@ -95,6 +94,7 @@ models/box-set-info-remote-search-query.ts models/box-set-info.ts models/branding-options.ts models/buffer-request-dto.ts +models/cast-receiver-application.ts models/channel-features.ts models/channel-item-sort-field.ts models/channel-mapping-options-dto.ts @@ -109,10 +109,10 @@ models/codec-profile.ts models/codec-type.ts models/collection-creation-result.ts models/collection-type-options.ts +models/collection-type.ts models/config-image-types.ts models/configuration-page-info.ts models/container-profile.ts -models/control-response.ts models/country-info.ts models/create-playlist-dto.ts models/create-user-by-name.ts @@ -120,18 +120,15 @@ models/culture-dto.ts models/day-of-week.ts models/day-pattern.ts models/default-directory-browser-info-dto.ts -models/device-identification.ts models/device-info-query-result.ts models/device-info.ts models/device-options-dto.ts models/device-options.ts -models/device-profile-info.ts -models/device-profile-type.ts models/device-profile.ts 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 @@ -140,36 +137,41 @@ models/end-point-info.ts models/external-id-info.ts models/external-id-media-type.ts models/external-url.ts -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 @@ -177,8 +179,10 @@ models/iso-type.ts models/item-counts.ts models/item-fields.ts models/item-filter.ts +models/item-sort-by.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 +198,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 @@ -203,6 +210,7 @@ models/media-source-info.ts models/media-source-type.ts models/media-stream-type.ts models/media-stream.ts +models/media-type.ts models/media-update-info-dto.ts models/media-update-info-path-dto.ts models/media-url.ts @@ -223,41 +231,48 @@ 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/process-priority-class.ts models/profile-condition-type.ts models/profile-condition-value.ts models/profile-condition.ts @@ -274,6 +289,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 @@ -281,24 +297,34 @@ models/remote-subtitle-info.ts 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 +335,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 +351,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 @@ -331,6 +363,9 @@ models/transcode-seek-info.ts models/transcoding-info.ts models/transcoding-profile.ts models/transport-stream-timestamp.ts +models/trickplay-info.ts +models/trickplay-options.ts +models/trickplay-scan-behavior.ts models/tuner-channel-mapping.ts models/tuner-host-info.ts models/type-options.ts @@ -338,18 +373,25 @@ models/unrated-item.ts models/update-library-options-dto.ts models/update-media-path-request-dto.ts models/update-user-easy-password.ts +models/update-user-item-data-dto.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..65243d596 100644 --- a/src/generated-client/api.ts +++ b/src/generated-client/api.ts @@ -25,15 +25,12 @@ export * from './api/configuration-api'; export * from './api/dashboard-api'; export * from './api/devices-api'; export * from './api/display-preferences-api'; -export * from './api/dlna-api'; -export * from './api/dlna-server-api'; export * from './api/dynamic-hls-api'; export * from './api/environment-api'; 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 +43,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'; @@ -66,6 +62,7 @@ export * from './api/system-api'; export * from './api/time-sync-api'; export * from './api/tmdb-api'; export * from './api/trailers-api'; +export * from './api/trickplay-api'; export * from './api/tv-shows-api'; export * from './api/universal-audio-api'; export * from './api/user-api'; diff --git a/src/generated-client/api/artists-api.ts b/src/generated-client/api/artists-api.ts index f2d24bf1a..669cc16dc 100644 --- a/src/generated-client/api/artists-api.ts +++ b/src/generated-client/api/artists-api.ts @@ -32,6 +32,10 @@ import { ItemFields } from '../models'; // @ts-ignore import { ItemFilter } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { SortOrder } from '../models'; /** * ArtistsApi - axios parameter creator @@ -52,7 +56,7 @@ export const ArtistsApiAxiosParamCreator = function (configuration?: Configurati * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -70,14 +74,14 @@ export const ArtistsApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumArtists: async (minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getAlbumArtists: async (minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Artists/AlbumArtists`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -287,7 +291,7 @@ export const ArtistsApiAxiosParamCreator = function (configuration?: Configurati * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -305,14 +309,14 @@ export const ArtistsApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getArtists: async (minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getArtists: async (minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Artists`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -490,7 +494,7 @@ export const ArtistsApiFp = function(configuration?: Configuration) { * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -508,14 +512,14 @@ export const ArtistsApiFp = function(configuration?: Configuration) { * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAlbumArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAlbumArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAlbumArtists(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -544,7 +548,7 @@ export const ArtistsApiFp = function(configuration?: Configuration) { * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -562,14 +566,14 @@ export const ArtistsApiFp = function(configuration?: Configuration) { * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getArtists(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -596,7 +600,7 @@ export const ArtistsApiFactory = function (configuration?: Configuration, basePa * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -614,14 +618,14 @@ export const ArtistsApiFactory = function (configuration?: Configuration, basePa * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAlbumArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getAlbumArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getAlbumArtists(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, /** @@ -648,7 +652,7 @@ export const ArtistsApiFactory = function (configuration?: Configuration, basePa * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [genreIds] Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -666,14 +670,14 @@ export const ArtistsApiFactory = function (configuration?: Configuration, basePa * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getArtists(minCommunityRating?: number, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, genres?: Array, genreIds?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, studioIds?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getArtists(minCommunityRating, startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, genres, genreIds, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, studioIds, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, }; @@ -757,10 +761,10 @@ export interface ArtistsApiGetAlbumArtistsRequest { /** * Optional filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof ArtistsApiGetAlbumArtists */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. @@ -883,10 +887,10 @@ export interface ArtistsApiGetAlbumArtistsRequest { /** * Optional. Specify one or more sort orders, comma delimited. - * @type {Array} + * @type {Array} * @memberof ArtistsApiGetAlbumArtists */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Sort Order - Ascending,Descending. @@ -1009,10 +1013,10 @@ export interface ArtistsApiGetArtistsRequest { /** * Optional filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof ArtistsApiGetArtists */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. @@ -1135,10 +1139,10 @@ export interface ArtistsApiGetArtistsRequest { /** * Optional. Specify one or more sort orders, comma delimited. - * @type {Array} + * @type {Array} * @memberof ArtistsApiGetArtists */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Sort Order - Ascending,Descending. 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/channels-api.ts b/src/generated-client/api/channels-api.ts index 0eeaa7071..d1a3ee02e 100644 --- a/src/generated-client/api/channels-api.ts +++ b/src/generated-client/api/channels-api.ts @@ -28,6 +28,8 @@ import { ItemFields } from '../models'; // @ts-ignore import { ItemFilter } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { SortOrder } from '../models'; /** * ChannelsApi - axios parameter creator @@ -115,12 +117,12 @@ export const ChannelsApiAxiosParamCreator = function (configuration?: Configurat * @param {number} [limit] Optional. The maximum number of records to return. * @param {Array} [sortOrder] Optional. Sort Order - Ascending,Descending. * @param {Array} [filters] Optional. Specify additional filters to apply. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getChannelItems: async (channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options: AxiosRequestConfig = {}): Promise => { + getChannelItems: async (channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'channelId' is not null or undefined assertParamExists('getChannelItems', 'channelId', channelId) const localVarPath = `/Channels/{channelId}/Items` @@ -349,12 +351,12 @@ export const ChannelsApiFp = function(configuration?: Configuration) { * @param {number} [limit] Optional. The maximum number of records to return. * @param {Array} [sortOrder] Optional. Sort Order - Ascending,Descending. * @param {Array} [filters] Optional. Specify additional filters to apply. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -429,12 +431,12 @@ export const ChannelsApiFactory = function (configuration?: Configuration, baseP * @param {number} [limit] Optional. The maximum number of records to return. * @param {Array} [sortOrder] Optional. Sort Order - Ascending,Descending. * @param {Array} [filters] Optional. Specify additional filters to apply. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options?: any): AxiosPromise { + getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array, filters?: Array, sortBy?: Array, fields?: Array, options?: any): AxiosPromise { return localVarFp.getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, options).then((request) => request(axios, basePath)); }, /** @@ -541,10 +543,10 @@ export interface ChannelsApiGetChannelItemsRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {Array} + * @type {Array} * @memberof ChannelsApiGetChannelItems */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional. Specify additional fields of information to return in the output. diff --git a/src/generated-client/api/configuration-api.ts b/src/generated-client/api/configuration-api.ts index 99f7c32df..8981feecb 100644 --- a/src/generated-client/api/configuration-api.ts +++ b/src/generated-client/api/configuration-api.ts @@ -178,7 +178,6 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi * @summary Updates the path to the media encoder. * @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body. * @param {*} [options] Override http request option. - * @deprecated * @throws {RequiredError} */ updateMediaEncoderPath: async (mediaEncoderPathDto: MediaEncoderPathDto, options: AxiosRequestConfig = {}): Promise => { @@ -313,7 +312,6 @@ export const ConfigurationApiFp = function(configuration?: Configuration) { * @summary Updates the path to the media encoder. * @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body. * @param {*} [options] Override http request option. - * @deprecated * @throws {RequiredError} */ async updateMediaEncoderPath(mediaEncoderPathDto: MediaEncoderPathDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { @@ -385,7 +383,6 @@ export const ConfigurationApiFactory = function (configuration?: Configuration, * @summary Updates the path to the media encoder. * @param {MediaEncoderPathDto} mediaEncoderPathDto Media encoder path form body. * @param {*} [options] Override http request option. - * @deprecated * @throws {RequiredError} */ updateMediaEncoderPath(mediaEncoderPathDto: MediaEncoderPathDto, options?: any): AxiosPromise { @@ -526,7 +523,6 @@ export class ConfigurationApi extends BaseAPI { * @summary Updates the path to the media encoder. * @param {ConfigurationApiUpdateMediaEncoderPathRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. - * @deprecated * @throws {RequiredError} * @memberof ConfigurationApi */ diff --git a/src/generated-client/api/devices-api.ts b/src/generated-client/api/devices-api.ts index acda9a21c..93d6913cc 100644 --- a/src/generated-client/api/devices-api.ts +++ b/src/generated-client/api/devices-api.ts @@ -158,12 +158,11 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati /** * * @summary Get Devices. - * @param {boolean} [supportsSync] Gets or sets a value indicating whether [supports synchronize]. * @param {string} [userId] Gets or sets the user identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDevices: async (supportsSync?: boolean, userId?: string, options: AxiosRequestConfig = {}): Promise => { + getDevices: async (userId?: string, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Devices`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -179,10 +178,6 @@ export const DevicesApiAxiosParamCreator = function (configuration?: Configurati // authentication CustomAuthentication required await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) - if (supportsSync !== undefined) { - localVarQueryParameter['supportsSync'] = supportsSync; - } - if (userId !== undefined) { localVarQueryParameter['userId'] = userId; } @@ -290,13 +285,12 @@ export const DevicesApiFp = function(configuration?: Configuration) { /** * * @summary Get Devices. - * @param {boolean} [supportsSync] Gets or sets a value indicating whether [supports synchronize]. * @param {string} [userId] Gets or sets the user identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getDevices(supportsSync?: boolean, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(supportsSync, userId, options); + async getDevices(userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getDevices(userId, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -354,13 +348,12 @@ export const DevicesApiFactory = function (configuration?: Configuration, basePa /** * * @summary Get Devices. - * @param {boolean} [supportsSync] Gets or sets a value indicating whether [supports synchronize]. * @param {string} [userId] Gets or sets the user identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getDevices(supportsSync?: boolean, userId?: string, options?: any): AxiosPromise { - return localVarFp.getDevices(supportsSync, userId, options).then((request) => request(axios, basePath)); + getDevices(userId?: string, options?: any): AxiosPromise { + return localVarFp.getDevices(userId, options).then((request) => request(axios, basePath)); }, /** * @@ -424,13 +417,6 @@ export interface DevicesApiGetDeviceOptionsRequest { * @interface DevicesApiGetDevicesRequest */ export interface DevicesApiGetDevicesRequest { - /** - * Gets or sets a value indicating whether [supports synchronize]. - * @type {boolean} - * @memberof DevicesApiGetDevices - */ - readonly supportsSync?: boolean - /** * Gets or sets the user identifier. * @type {string} @@ -512,7 +498,7 @@ export class DevicesApi extends BaseAPI { * @memberof DevicesApi */ public getDevices(requestParameters: DevicesApiGetDevicesRequest = {}, options?: AxiosRequestConfig) { - return DevicesApiFp(this.configuration).getDevices(requestParameters.supportsSync, requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); + return DevicesApiFp(this.configuration).getDevices(requestParameters.userId, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/src/generated-client/api/dynamic-hls-api.ts b/src/generated-client/api/dynamic-hls-api.ts index 92b5daea4..2aa6405ab 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. @@ -1270,10 +1270,11 @@ export const DynamicHlsApiAxiosParamCreator = function (configuration?: Configur * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMasterHlsVideoPlaylist: async (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options: AxiosRequestConfig = {}): Promise => { + getMasterHlsVideoPlaylist: async (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId) // verify required parameter 'mediaSourceId' is not null or undefined @@ -1494,6 +1495,10 @@ export const DynamicHlsApiAxiosParamCreator = function (configuration?: Configur localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming; } + if (enableTrickplay !== undefined) { + localVarQueryParameter['enableTrickplay'] = enableTrickplay; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2402,10 +2407,11 @@ export const DynamicHlsApiAxiosParamCreator = function (configuration?: Configur * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMasterHlsVideoPlaylist: async (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options: AxiosRequestConfig = {}): Promise => { + headMasterHlsVideoPlaylist: async (itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'itemId' is not null or undefined assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId) // verify required parameter 'mediaSourceId' is not null or undefined @@ -2626,6 +2632,10 @@ export const DynamicHlsApiAxiosParamCreator = function (configuration?: Configur localVarQueryParameter['enableAdaptiveBitrateStreaming'] = enableAdaptiveBitrateStreaming; } + if (enableTrickplay !== undefined) { + localVarQueryParameter['enableTrickplay'] = enableTrickplay; + } + setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -2787,7 +2797,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. @@ -2952,11 +2962,12 @@ export const DynamicHlsApiFp = function(configuration?: Configuration) { * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options); + async getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -3192,11 +3203,12 @@ export const DynamicHlsApiFp = function(configuration?: Configuration) { * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async headMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options); + async headMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, } @@ -3347,7 +3359,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. @@ -3510,11 +3522,12 @@ export const DynamicHlsApiFactory = function (configuration?: Configuration, bas * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options?: any): AxiosPromise { - return localVarFp.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath)); + getMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?: any): AxiosPromise { + return localVarFp.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options).then((request) => request(axios, basePath)); }, /** * @@ -3746,11 +3759,12 @@ export const DynamicHlsApiFactory = function (configuration?: Configuration, bas * @param {EncodingContext} [context] Optional. The MediaBrowser.Model.Dlna.EncodingContext. * @param {{ [key: string]: string; }} [streamOptions] Optional. The streaming options. * @param {boolean} [enableAdaptiveBitrateStreaming] Enable adaptive bitrate streaming. + * @param {boolean} [enableTrickplay] Enable trickplay image playlists being added to master playlist. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - headMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, options?: any): AxiosPromise { - return localVarFp.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options).then((request) => request(axios, basePath)); + headMasterHlsVideoPlaylist(itemId: string, mediaSourceId: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: { [key: string]: string; }, enableAdaptiveBitrateStreaming?: boolean, enableTrickplay?: boolean, options?: any): AxiosPromise { + return localVarFp.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options).then((request) => request(axios, basePath)); }, }; }; @@ -4595,7 +4609,7 @@ export interface DynamicHlsApiGetLiveHlsStreamRequest { readonly segmentContainer?: string /** - * The segment lenght. + * The segment length. * @type {number} * @memberof DynamicHlsApiGetLiveHlsStream */ @@ -5622,6 +5636,13 @@ export interface DynamicHlsApiGetMasterHlsVideoPlaylistRequest { * @memberof DynamicHlsApiGetMasterHlsVideoPlaylist */ readonly enableAdaptiveBitrateStreaming?: boolean + + /** + * Enable trickplay image playlists being added to master playlist. + * @type {boolean} + * @memberof DynamicHlsApiGetMasterHlsVideoPlaylist + */ + readonly enableTrickplay?: boolean } /** @@ -7050,6 +7071,13 @@ export interface DynamicHlsApiHeadMasterHlsVideoPlaylistRequest { * @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist */ readonly enableAdaptiveBitrateStreaming?: boolean + + /** + * Enable trickplay image playlists being added to master playlist. + * @type {boolean} + * @memberof DynamicHlsApiHeadMasterHlsVideoPlaylist + */ + readonly enableTrickplay?: boolean } /** @@ -7116,7 +7144,7 @@ export class DynamicHlsApi extends BaseAPI { * @memberof DynamicHlsApi */ public getMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiGetMasterHlsVideoPlaylistRequest, options?: AxiosRequestConfig) { - return DynamicHlsApiFp(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath)); + return DynamicHlsApiFp(this.configuration).getMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, options).then((request) => request(this.axios, this.basePath)); } /** @@ -7164,6 +7192,6 @@ export class DynamicHlsApi extends BaseAPI { * @memberof DynamicHlsApi */ public headMasterHlsVideoPlaylist(requestParameters: DynamicHlsApiHeadMasterHlsVideoPlaylistRequest, options?: AxiosRequestConfig) { - return DynamicHlsApiFp(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, options).then((request) => request(this.axios, this.basePath)); + return DynamicHlsApiFp(this.configuration).headMasterHlsVideoPlaylist(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters._static, requestParameters.params, requestParameters.tag, requestParameters.deviceProfileId, requestParameters.playSessionId, requestParameters.segmentContainer, requestParameters.segmentLength, requestParameters.minSegments, requestParameters.deviceId, requestParameters.audioCodec, requestParameters.enableAutoStreamCopy, requestParameters.allowVideoStreamCopy, requestParameters.allowAudioStreamCopy, requestParameters.breakOnNonKeyFrames, requestParameters.audioSampleRate, requestParameters.maxAudioBitDepth, requestParameters.audioBitRate, requestParameters.audioChannels, requestParameters.maxAudioChannels, requestParameters.profile, requestParameters.level, requestParameters.framerate, requestParameters.maxFramerate, requestParameters.copyTimestamps, requestParameters.startTimeTicks, requestParameters.width, requestParameters.height, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.videoBitRate, requestParameters.subtitleStreamIndex, requestParameters.subtitleMethod, requestParameters.maxRefFrames, requestParameters.maxVideoBitDepth, requestParameters.requireAvc, requestParameters.deInterlace, requestParameters.requireNonAnamorphic, requestParameters.transcodingMaxAudioChannels, requestParameters.cpuCoreLimit, requestParameters.liveStreamId, requestParameters.enableMpegtsM2TsMode, requestParameters.videoCodec, requestParameters.subtitleCodec, requestParameters.transcodeReasons, requestParameters.audioStreamIndex, requestParameters.videoStreamIndex, requestParameters.context, requestParameters.streamOptions, requestParameters.enableAdaptiveBitrateStreaming, requestParameters.enableTrickplay, options).then((request) => request(this.axios, this.basePath)); } } diff --git a/src/generated-client/api/filter-api.ts b/src/generated-client/api/filter-api.ts index 2a70f67e5..6a131cbdb 100644 --- a/src/generated-client/api/filter-api.ts +++ b/src/generated-client/api/filter-api.ts @@ -22,6 +22,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr // @ts-ignore import { BaseItemKind } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { QueryFilters } from '../models'; // @ts-ignore import { QueryFiltersLegacy } from '../models'; @@ -120,11 +122,11 @@ export const FilterApiAxiosParamCreator = function (configuration?: Configuratio * @param {string} [userId] Optional. User id. * @param {string} [parentId] Optional. Parent id. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getQueryFiltersLegacy: async (userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options: AxiosRequestConfig = {}): Promise => { + getQueryFiltersLegacy: async (userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Items/Filters`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -203,11 +205,11 @@ export const FilterApiFp = function(configuration?: Configuration) { * @param {string} [userId] Optional. User id. * @param {string} [parentId] Optional. Parent id. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getQueryFiltersLegacy(userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getQueryFiltersLegacy(userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getQueryFiltersLegacy(userId, parentId, includeItemTypes, mediaTypes, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -246,11 +248,11 @@ export const FilterApiFactory = function (configuration?: Configuration, basePat * @param {string} [userId] Optional. User id. * @param {string} [parentId] Optional. Parent id. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getQueryFiltersLegacy(userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options?: any): AxiosPromise { + getQueryFiltersLegacy(userId?: string, parentId?: string, includeItemTypes?: Array, mediaTypes?: Array, options?: any): AxiosPromise { return localVarFp.getQueryFiltersLegacy(userId, parentId, includeItemTypes, mediaTypes, options).then((request) => request(axios, basePath)); }, }; @@ -362,10 +364,10 @@ export interface FilterApiGetQueryFiltersLegacyRequest { /** * Optional. Filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof FilterApiGetQueryFiltersLegacy */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array } /** diff --git a/src/generated-client/api/genres-api.ts b/src/generated-client/api/genres-api.ts index ed6928209..8b62e7fea 100644 --- a/src/generated-client/api/genres-api.ts +++ b/src/generated-client/api/genres-api.ts @@ -30,6 +30,8 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { SortOrder } from '../models'; /** * GenresApi - axios parameter creator @@ -96,14 +98,14 @@ export const GenresApiAxiosParamCreator = function (configuration?: Configuratio * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenres: async (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getGenres: async (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Genres`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -241,14 +243,14 @@ export const GenresApiFp = function(configuration?: Configuration) { * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -290,14 +292,14 @@ export const GenresApiFactory = function (configuration?: Configuration, basePat * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, }; @@ -430,10 +432,10 @@ export interface GenresApiGetGenresRequest { /** * Optional. Specify one or more sort orders, comma delimited. - * @type {Array} + * @type {Array} * @memberof GenresApiGetGenres */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Sort Order - Ascending,Descending. 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..723827308 100644 --- a/src/generated-client/api/items-api.ts +++ b/src/generated-client/api/items-api.ts @@ -30,12 +30,22 @@ import { ItemFields } from '../models'; // @ts-ignore import { ItemFilter } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { LocationType } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore +import { ProblemDetails } from '../models'; +// @ts-ignore import { SeriesStatus } from '../models'; // @ts-ignore import { SortOrder } from '../models'; // @ts-ignore +import { UpdateUserItemDataDto } from '../models'; +// @ts-ignore +import { UserItemDataDto } from '../models'; +// @ts-ignore import { VideoType } from '../models'; /** * ItemsApi - axios parameter creator @@ -43,10 +53,51 @@ import { VideoType } from '../models'; */ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration) { return { + /** + * + * @summary Get Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getItemUserData: async (userId: string, itemId: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'userId' is not null or undefined + assertParamExists('getItemUserData', 'userId', userId) + // verify required parameter 'itemId' is not null or undefined + assertParamExists('getItemUserData', 'itemId', itemId) + const localVarPath = `/Users/{userId}/Items/{itemId}/UserData` + .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}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @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 +120,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,16 +133,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -134,7 +185,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItems: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { + getItems: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Items`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -535,9 +586,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,16 +599,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -600,7 +651,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemsByUserId: async (userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { + getItemsByUserId: async (userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getItemsByUserId', 'userId', userId) const localVarPath = `/Users/{userId}/Items` @@ -983,7 +1034,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {string} [searchTerm] The search term. * @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} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -995,7 +1046,7 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getResumeItems: async (userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options: AxiosRequestConfig = {}): Promise => { + getResumeItems: async (userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getResumeItems', 'userId', userId) const localVarPath = `/Users/{userId}/Items/Resume` @@ -1076,6 +1127,53 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Update Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {UpdateUserItemDataDto} updateUserItemDataDto New user data object. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateItemUserData: async (userId: string, itemId: string, updateUserItemDataDto: UpdateUserItemDataDto, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'userId' is not null or undefined + assertParamExists('updateItemUserData', 'userId', userId) + // verify required parameter 'itemId' is not null or undefined + assertParamExists('updateItemUserData', 'itemId', itemId) + // verify required parameter 'updateUserItemDataDto' is not null or undefined + assertParamExists('updateItemUserData', 'updateUserItemDataDto', updateUserItemDataDto) + const localVarPath = `/Users/{userId}/Items/{itemId}/UserData` + .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: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication CustomAuthentication required + await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(updateUserItemDataDto, localVarRequestOptions, configuration) + return { url: toPathString(localVarUrlObj), options: localVarRequestOptions, @@ -1091,10 +1189,22 @@ export const ItemsApiAxiosParamCreator = function (configuration?: Configuration export const ItemsApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = ItemsApiAxiosParamCreator(configuration) return { + /** + * + * @summary Get Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getItemUserData(userId: string, itemId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getItemUserData(userId, itemId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, 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 +1227,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,16 +1240,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -1182,7 +1292,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -1212,9 +1322,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,16 +1335,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -1277,7 +1387,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getItemsByUserId(userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getItemsByUserId(userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -1290,7 +1400,7 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {string} [searchTerm] The search term. * @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} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -1302,10 +1412,23 @@ export const ItemsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getResumeItems(userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getResumeItems(userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getResumeItems(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * + * @summary Update Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {UpdateUserItemDataDto} updateUserItemDataDto New user data object. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async updateItemUserData(userId: string, itemId: string, updateUserItemDataDto: UpdateUserItemDataDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemUserData(userId, itemId, updateUserItemDataDto, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, } }; @@ -1316,10 +1439,21 @@ export const ItemsApiFp = function(configuration?: Configuration) { export const ItemsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = ItemsApiFp(configuration) return { + /** + * + * @summary Get Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getItemUserData(userId: string, itemId: string, options?: any): AxiosPromise { + return localVarFp.getItemUserData(userId, itemId, options).then((request) => request(axios, 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 +1476,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,16 +1489,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -1407,7 +1541,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { + getItems(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { return localVarFp.getItems(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options).then((request) => request(axios, basePath)); }, /** @@ -1436,9 +1570,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,16 +1583,16 @@ 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. * @param {Array} [includeItemTypes] Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -1501,7 +1635,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getItemsByUserId(userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { + getItemsByUserId(userId: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { return localVarFp.getItemsByUserId(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options).then((request) => request(axios, basePath)); }, /** @@ -1513,7 +1647,7 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {string} [searchTerm] The search term. * @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} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -1525,12 +1659,45 @@ export const ItemsApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getResumeItems(userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: any): AxiosPromise { + getResumeItems(userId: string, startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, mediaTypes?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, excludeActiveSessions?: boolean, options?: any): AxiosPromise { return localVarFp.getResumeItems(userId, startIndex, limit, searchTerm, parentId, fields, mediaTypes, enableUserData, imageTypeLimit, enableImageTypes, excludeItemTypes, includeItemTypes, enableTotalRecordCount, enableImages, excludeActiveSessions, options).then((request) => request(axios, basePath)); }, + /** + * + * @summary Update Item User Data. + * @param {string} userId The user id. + * @param {string} itemId The item id. + * @param {UpdateUserItemDataDto} updateUserItemDataDto New user data object. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + updateItemUserData(userId: string, itemId: string, updateUserItemDataDto: UpdateUserItemDataDto, options?: any): AxiosPromise { + return localVarFp.updateItemUserData(userId, itemId, updateUserItemDataDto, options).then((request) => request(axios, basePath)); + }, }; }; +/** + * Request parameters for getItemUserData operation in ItemsApi. + * @export + * @interface ItemsApiGetItemUserDataRequest + */ +export interface ItemsApiGetItemUserDataRequest { + /** + * The user id. + * @type {string} + * @memberof ItemsApiGetItemUserData + */ + readonly userId: string + + /** + * The item id. + * @type {string} + * @memberof ItemsApiGetItemUserData + */ + readonly itemId: string +} + /** * Request parameters for getItems operation in ItemsApi. * @export @@ -1538,7 +1705,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 +1866,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 +1957,7 @@ export interface ItemsApiGetItemsRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof ItemsApiGetItems */ @@ -1840,10 +2007,10 @@ export interface ItemsApiGetItemsRequest { /** * Optional filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof ItemsApiGetItems */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. @@ -1854,10 +2021,10 @@ export interface ItemsApiGetItemsRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {Array} + * @type {Array} * @memberof ItemsApiGetItems */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional filter by items that are played, or not. @@ -2301,21 +2468,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 +2559,7 @@ export interface ItemsApiGetItemsByUserIdRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof ItemsApiGetItemsByUserId */ @@ -2442,10 +2609,10 @@ export interface ItemsApiGetItemsByUserIdRequest { /** * Optional filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof ItemsApiGetItemsByUserId */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. @@ -2456,10 +2623,10 @@ export interface ItemsApiGetItemsByUserIdRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {Array} + * @type {Array} * @memberof ItemsApiGetItemsByUserId */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional filter by items that are played, or not. @@ -2785,10 +2952,10 @@ export interface ItemsApiGetResumeItemsRequest { /** * Optional. Filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof ItemsApiGetResumeItems */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. Include user data. @@ -2847,6 +3014,34 @@ export interface ItemsApiGetResumeItemsRequest { readonly excludeActiveSessions?: boolean } +/** + * Request parameters for updateItemUserData operation in ItemsApi. + * @export + * @interface ItemsApiUpdateItemUserDataRequest + */ +export interface ItemsApiUpdateItemUserDataRequest { + /** + * The user id. + * @type {string} + * @memberof ItemsApiUpdateItemUserData + */ + readonly userId: string + + /** + * The item id. + * @type {string} + * @memberof ItemsApiUpdateItemUserData + */ + readonly itemId: string + + /** + * New user data object. + * @type {UpdateUserItemDataDto} + * @memberof ItemsApiUpdateItemUserData + */ + readonly updateUserItemDataDto: UpdateUserItemDataDto +} + /** * ItemsApi - object-oriented interface * @export @@ -2854,6 +3049,18 @@ export interface ItemsApiGetResumeItemsRequest { * @extends {BaseAPI} */ export class ItemsApi extends BaseAPI { + /** + * + * @summary Get Item User Data. + * @param {ItemsApiGetItemUserDataRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ItemsApi + */ + public getItemUserData(requestParameters: ItemsApiGetItemUserDataRequest, options?: AxiosRequestConfig) { + return ItemsApiFp(this.configuration).getItemUserData(requestParameters.userId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Gets items based on a query. @@ -2889,4 +3096,16 @@ export class ItemsApi extends BaseAPI { public getResumeItems(requestParameters: ItemsApiGetResumeItemsRequest, options?: AxiosRequestConfig) { return ItemsApiFp(this.configuration).getResumeItems(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.searchTerm, requestParameters.parentId, requestParameters.fields, requestParameters.mediaTypes, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.enableTotalRecordCount, requestParameters.enableImages, requestParameters.excludeActiveSessions, options).then((request) => request(this.axios, this.basePath)); } + + /** + * + * @summary Update Item User Data. + * @param {ItemsApiUpdateItemUserDataRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof ItemsApi + */ + public updateItemUserData(requestParameters: ItemsApiUpdateItemUserDataRequest, options?: AxiosRequestConfig) { + return ItemsApiFp(this.configuration).updateItemUserData(requestParameters.userId, requestParameters.itemId, requestParameters.updateUserItemDataDto, options).then((request) => request(this.axios, this.basePath)); + } } diff --git a/src/generated-client/api/library-api.ts b/src/generated-client/api/library-api.ts index 278ea4118..797e59d1c 100644 --- a/src/generated-client/api/library-api.ts +++ b/src/generated-client/api/library-api.ts @@ -26,6 +26,8 @@ import { BaseItemDto } from '../models'; // @ts-ignore import { BaseItemDtoQueryResult } from '../models'; // @ts-ignore +import { CollectionType } from '../models'; +// @ts-ignore import { ItemCounts } from '../models'; // @ts-ignore import { ItemFields } from '../models'; @@ -318,12 +320,12 @@ export const LibraryApiAxiosParamCreator = function (configuration?: Configurati /** * * @summary Gets the library options info. - * @param {string} [libraryContentType] Library content type. + * @param {CollectionType} [libraryContentType] Library content type. * @param {boolean} [isNewLibrary] Whether this is a new library. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryOptionsInfo: async (libraryContentType?: string, isNewLibrary?: boolean, options: AxiosRequestConfig = {}): Promise => { + getLibraryOptionsInfo: async (libraryContentType?: CollectionType, isNewLibrary?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Libraries/AvailableOptions`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -1239,12 +1241,12 @@ export const LibraryApiFp = function(configuration?: Configuration) { /** * * @summary Gets the library options info. - * @param {string} [libraryContentType] Library content type. + * @param {CollectionType} [libraryContentType] Library content type. * @param {boolean} [isNewLibrary] Whether this is a new library. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLibraryOptionsInfo(libraryContentType?: string, isNewLibrary?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLibraryOptionsInfo(libraryContentType, isNewLibrary, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -1551,12 +1553,12 @@ export const LibraryApiFactory = function (configuration?: Configuration, basePa /** * * @summary Gets the library options info. - * @param {string} [libraryContentType] Library content type. + * @param {CollectionType} [libraryContentType] Library content type. * @param {boolean} [isNewLibrary] Whether this is a new library. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLibraryOptionsInfo(libraryContentType?: string, isNewLibrary?: boolean, options?: any): AxiosPromise { + getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: any): AxiosPromise { return localVarFp.getLibraryOptionsInfo(libraryContentType, isNewLibrary, options).then((request) => request(axios, basePath)); }, /** @@ -1882,10 +1884,10 @@ export interface LibraryApiGetItemCountsRequest { export interface LibraryApiGetLibraryOptionsInfoRequest { /** * Library content type. - * @type {string} + * @type {CollectionType} * @memberof LibraryApiGetLibraryOptionsInfo */ - readonly libraryContentType?: string + readonly libraryContentType?: CollectionType /** * Whether this is a new library. diff --git a/src/generated-client/api/live-tv-api.ts b/src/generated-client/api/live-tv-api.ts index 7b62e4812..c8d537c36 100644 --- a/src/generated-client/api/live-tv-api.ts +++ b/src/generated-client/api/live-tv-api.ts @@ -36,6 +36,8 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { ListingsProviderInfo } from '../models'; // @ts-ignore import { LiveTvInfo } from '../models'; @@ -822,14 +824,14 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio * @param {Array} [enableImageTypes] \"Optional. The image types to include in the output. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {Array} [sortBy] Optional. Key to sort by. + * @param {Array} [sortBy] Optional. Key to sort by. * @param {SortOrder} [sortOrder] Optional. Sort order. * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting. * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLiveTvChannels: async (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options: AxiosRequestConfig = {}): Promise => { + getLiveTvChannels: async (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/LiveTv/Channels`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -991,7 +993,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio * @param {boolean} [isSports] Optional. Filter for sports. * @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 {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {Array} [genres] The genres to return guide information for. * @param {Array} [genreIds] The genre ids to return guide information for. @@ -1006,7 +1008,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLiveTvPrograms: async (channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getLiveTvPrograms: async (channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/LiveTv/Programs`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -2369,14 +2371,14 @@ export const LiveTvApiFp = function(configuration?: Configuration) { * @param {Array} [enableImageTypes] \"Optional. The image types to include in the output. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {Array} [sortBy] Optional. Key to sort by. + * @param {Array} [sortBy] Optional. Key to sort by. * @param {SortOrder} [sortOrder] Optional. Sort order. * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting. * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -2408,7 +2410,7 @@ export const LiveTvApiFp = function(configuration?: Configuration) { * @param {boolean} [isSports] Optional. Filter for sports. * @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 {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {Array} [genres] The genres to return guide information for. * @param {Array} [genreIds] The genre ids to return guide information for. @@ -2423,7 +2425,7 @@ export const LiveTvApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getLiveTvPrograms(channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getLiveTvPrograms(channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -2917,14 +2919,14 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat * @param {Array} [enableImageTypes] \"Optional. The image types to include in the output. * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {Array} [sortBy] Optional. Key to sort by. + * @param {Array} [sortBy] Optional. Key to sort by. * @param {SortOrder} [sortOrder] Optional. Sort order. * @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting. * @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: any): AxiosPromise { + getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, fields?: Array, enableUserData?: boolean, sortBy?: Array, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: any): AxiosPromise { return localVarFp.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options).then((request) => request(axios, basePath)); }, /** @@ -2954,7 +2956,7 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat * @param {boolean} [isSports] Optional. Filter for sports. * @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 {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {Array} [genres] The genres to return guide information for. * @param {Array} [genreIds] The genre ids to return guide information for. @@ -2969,7 +2971,7 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getLiveTvPrograms(channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getLiveTvPrograms(channelIds?: Array, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array, sortOrder?: Array, genres?: Array, genreIds?: Array, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, /** @@ -3641,10 +3643,10 @@ export interface LiveTvApiGetLiveTvChannelsRequest { /** * Optional. Key to sort by. - * @type {Array} + * @type {Array} * @memberof LiveTvApiGetLiveTvChannels */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional. Sort order. @@ -3781,10 +3783,10 @@ export interface LiveTvApiGetLiveTvProgramsRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate. - * @type {Array} + * @type {Array} * @memberof LiveTvApiGetLiveTvPrograms */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Sort Order - Ascending,Descending. diff --git a/src/generated-client/api/music-genres-api.ts b/src/generated-client/api/music-genres-api.ts index 4fb9c8e2b..af76c8eec 100644 --- a/src/generated-client/api/music-genres-api.ts +++ b/src/generated-client/api/music-genres-api.ts @@ -30,6 +30,8 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { SortOrder } from '../models'; /** * MusicGenresApi - axios parameter creator @@ -96,7 +98,7 @@ export const MusicGenresApiAxiosParamCreator = function (configuration?: Configu * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. @@ -104,7 +106,7 @@ export const MusicGenresApiAxiosParamCreator = function (configuration?: Configu * @deprecated * @throws {RequiredError} */ - getMusicGenres: async (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getMusicGenres: async (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/MusicGenres`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -242,7 +244,7 @@ export const MusicGenresApiFp = function(configuration?: Configuration) { * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. @@ -250,7 +252,7 @@ export const MusicGenresApiFp = function(configuration?: Configuration) { * @deprecated * @throws {RequiredError} */ - async getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -292,7 +294,7 @@ export const MusicGenresApiFactory = function (configuration?: Configuration, ba * @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string. * @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string. * @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. * @param {Array} [sortOrder] Sort Order - Ascending,Descending. * @param {boolean} [enableImages] Optional, include image information in output. * @param {boolean} [enableTotalRecordCount] Optional. Include total record count. @@ -300,7 +302,7 @@ export const MusicGenresApiFactory = function (configuration?: Configuration, ba * @deprecated * @throws {RequiredError} */ - getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array, sortOrder?: Array, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getMusicGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, }; @@ -433,10 +435,10 @@ export interface MusicGenresApiGetMusicGenresRequest { /** * Optional. Specify one or more sort orders, comma delimited. - * @type {Array} + * @type {Array} * @memberof MusicGenresApiGetMusicGenres */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Sort Order - Ascending,Descending. diff --git a/src/generated-client/api/playlists-api.ts b/src/generated-client/api/playlists-api.ts index 23ee67e8a..5085963e9 100644 --- a/src/generated-client/api/playlists-api.ts +++ b/src/generated-client/api/playlists-api.ts @@ -28,7 +28,11 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { PlaylistCreationResult } from '../models'; +// @ts-ignore +import { ProblemDetails } from '../models'; /** * PlaylistsApi - axios parameter creator * @export @@ -88,12 +92,12 @@ export const PlaylistsApiAxiosParamCreator = function (configuration?: Configura * @param {string} [name] The playlist name. * @param {Array} [ids] The item ids. * @param {string} [userId] The user id. - * @param {string} [mediaType] The media type. + * @param {MediaType} [mediaType] The media type. * @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPlaylist: async (name?: string, ids?: Array, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options: AxiosRequestConfig = {}): Promise => { + createPlaylist: async (name?: string, ids?: Array, userId?: string, mediaType?: MediaType, createPlaylistDto?: CreatePlaylistDto, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Playlists`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -334,12 +338,12 @@ export const PlaylistsApiFp = function(configuration?: Configuration) { * @param {string} [name] The playlist name. * @param {Array} [ids] The item ids. * @param {string} [userId] The user id. - * @param {string} [mediaType] The media type. + * @param {MediaType} [mediaType] The media type. * @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async createPlaylist(name?: string, ids?: Array, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async createPlaylist(name?: string, ids?: Array, userId?: string, mediaType?: MediaType, createPlaylistDto?: CreatePlaylistDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.createPlaylist(name, ids, userId, mediaType, createPlaylistDto, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -415,12 +419,12 @@ export const PlaylistsApiFactory = function (configuration?: Configuration, base * @param {string} [name] The playlist name. * @param {Array} [ids] The item ids. * @param {string} [userId] The user id. - * @param {string} [mediaType] The media type. + * @param {MediaType} [mediaType] The media type. * @param {CreatePlaylistDto} [createPlaylistDto] The create playlist payload. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - createPlaylist(name?: string, ids?: Array, userId?: string, mediaType?: string, createPlaylistDto?: CreatePlaylistDto, options?: any): AxiosPromise { + createPlaylist(name?: string, ids?: Array, userId?: string, mediaType?: MediaType, createPlaylistDto?: CreatePlaylistDto, options?: any): AxiosPromise { return localVarFp.createPlaylist(name, ids, userId, mediaType, createPlaylistDto, options).then((request) => request(axios, basePath)); }, /** @@ -524,10 +528,10 @@ export interface PlaylistsApiCreatePlaylistRequest { /** * The media type. - * @type {string} + * @type {MediaType} * @memberof PlaylistsApiCreatePlaylist */ - readonly mediaType?: string + readonly mediaType?: MediaType /** * The create playlist payload. 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..b0506c7b9 100644 --- a/src/generated-client/api/search-api.ts +++ b/src/generated-client/api/search-api.ts @@ -22,6 +22,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr // @ts-ignore import { BaseItemKind } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { SearchHintResult } from '../models'; /** * SearchApi - axios parameter creator @@ -36,9 +38,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 +55,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 +173,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 +190,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 +211,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 +228,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. - * @type {Array} - * @memberof SearchApiGet + * If specified, only results with the specified media types are returned. This allows multiple, comma delimited. + * @type {Array} + * @memberof SearchApiGetSearchHints */ - readonly mediaTypes?: Array + 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 +377,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/session-api.ts b/src/generated-client/api/session-api.ts index daeea4484..9f8d18eb1 100644 --- a/src/generated-client/api/session-api.ts +++ b/src/generated-client/api/session-api.ts @@ -28,6 +28,8 @@ import { GeneralCommand } from '../models'; // @ts-ignore import { GeneralCommandType } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { MessageCommand } from '../models'; // @ts-ignore import { NameIdPair } from '../models'; @@ -336,15 +338,14 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati * * @summary Updates capabilities for a device. * @param {string} [id] The session id. - * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. + * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. * @param {Array} [supportedCommands] A list of supported remote control commands, comma delimited. * @param {boolean} [supportsMediaControl] Determines whether media can be played remotely.. - * @param {boolean} [supportsSync] Determines whether sync is supported. * @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - postCapabilities: async (id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options: AxiosRequestConfig = {}): Promise => { + postCapabilities: async (id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Sessions/Capabilities`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -376,10 +377,6 @@ export const SessionApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['supportsMediaControl'] = supportsMediaControl; } - if (supportsSync !== undefined) { - localVarQueryParameter['supportsSync'] = supportsSync; - } - if (supportsPersistentIdentifier !== undefined) { localVarQueryParameter['supportsPersistentIdentifier'] = supportsPersistentIdentifier; } @@ -868,16 +865,15 @@ export const SessionApiFp = function(configuration?: Configuration) { * * @summary Updates capabilities for a device. * @param {string} [id] The session id. - * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. + * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. * @param {Array} [supportedCommands] A list of supported remote control commands, comma delimited. * @param {boolean} [supportsMediaControl] Determines whether media can be played remotely.. - * @param {boolean} [supportsSync] Determines whether sync is supported. * @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async postCapabilities(id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier, options); + async postCapabilities(id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -1073,16 +1069,15 @@ export const SessionApiFactory = function (configuration?: Configuration, basePa * * @summary Updates capabilities for a device. * @param {string} [id] The session id. - * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. + * @param {Array} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo. * @param {Array} [supportedCommands] A list of supported remote control commands, comma delimited. * @param {boolean} [supportsMediaControl] Determines whether media can be played remotely.. - * @param {boolean} [supportsSync] Determines whether sync is supported. * @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - postCapabilities(id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options?: any): AxiosPromise { - return localVarFp.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsSync, supportsPersistentIdentifier, options).then((request) => request(axios, basePath)); + postCapabilities(id?: string, playableMediaTypes?: Array, supportedCommands?: Array, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: any): AxiosPromise { + return localVarFp.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options).then((request) => request(axios, basePath)); }, /** * @@ -1348,10 +1343,10 @@ export interface SessionApiPostCapabilitiesRequest { /** * A list of playable media types, comma delimited. Audio, Video, Book, Photo. - * @type {Array} + * @type {Array} * @memberof SessionApiPostCapabilities */ - readonly playableMediaTypes?: Array + readonly playableMediaTypes?: Array /** * A list of supported remote control commands, comma delimited. @@ -1367,13 +1362,6 @@ export interface SessionApiPostCapabilitiesRequest { */ readonly supportsMediaControl?: boolean - /** - * Determines whether sync is supported. - * @type {boolean} - * @memberof SessionApiPostCapabilities - */ - readonly supportsSync?: boolean - /** * Determines whether the device supports a unique identifier. * @type {boolean} @@ -1650,7 +1638,7 @@ export class SessionApi extends BaseAPI { * @memberof SessionApi */ public postCapabilities(requestParameters: SessionApiPostCapabilitiesRequest = {}, options?: AxiosRequestConfig) { - return SessionApiFp(this.configuration).postCapabilities(requestParameters.id, requestParameters.playableMediaTypes, requestParameters.supportedCommands, requestParameters.supportsMediaControl, requestParameters.supportsSync, requestParameters.supportsPersistentIdentifier, options).then((request) => request(this.axios, this.basePath)); + return SessionApiFp(this.configuration).postCapabilities(requestParameters.id, requestParameters.playableMediaTypes, requestParameters.supportedCommands, requestParameters.supportsMediaControl, requestParameters.supportsPersistentIdentifier, options).then((request) => request(this.axios, this.basePath)); } /** diff --git a/src/generated-client/api/suggestions-api.ts b/src/generated-client/api/suggestions-api.ts index 01588cebb..d64560b3d 100644 --- a/src/generated-client/api/suggestions-api.ts +++ b/src/generated-client/api/suggestions-api.ts @@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr import { BaseItemDtoQueryResult } from '../models'; // @ts-ignore import { BaseItemKind } from '../models'; +// @ts-ignore +import { MediaType } from '../models'; /** * SuggestionsApi - axios parameter creator * @export @@ -33,7 +35,7 @@ export const SuggestionsApiAxiosParamCreator = function (configuration?: Configu * * @summary Gets suggestions. * @param {string} userId The user id. - * @param {Array} [mediaType] The media types. + * @param {Array} [mediaType] The media types. * @param {Array} [type] The type. * @param {number} [startIndex] Optional. The start index. * @param {number} [limit] Optional. The limit. @@ -41,7 +43,7 @@ export const SuggestionsApiAxiosParamCreator = function (configuration?: Configu * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSuggestions: async (userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { + getSuggestions: async (userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getSuggestions', 'userId', userId) const localVarPath = `/Users/{userId}/Suggestions` @@ -105,7 +107,7 @@ export const SuggestionsApiFp = function(configuration?: Configuration) { * * @summary Gets suggestions. * @param {string} userId The user id. - * @param {Array} [mediaType] The media types. + * @param {Array} [mediaType] The media types. * @param {Array} [type] The type. * @param {number} [startIndex] Optional. The start index. * @param {number} [limit] Optional. The limit. @@ -113,7 +115,7 @@ export const SuggestionsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getSuggestions(userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getSuggestions(userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getSuggestions(userId, mediaType, type, startIndex, limit, enableTotalRecordCount, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -131,7 +133,7 @@ export const SuggestionsApiFactory = function (configuration?: Configuration, ba * * @summary Gets suggestions. * @param {string} userId The user id. - * @param {Array} [mediaType] The media types. + * @param {Array} [mediaType] The media types. * @param {Array} [type] The type. * @param {number} [startIndex] Optional. The start index. * @param {number} [limit] Optional. The limit. @@ -139,7 +141,7 @@ export const SuggestionsApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getSuggestions(userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { + getSuggestions(userId: string, mediaType?: Array, type?: Array, startIndex?: number, limit?: number, enableTotalRecordCount?: boolean, options?: any): AxiosPromise { return localVarFp.getSuggestions(userId, mediaType, type, startIndex, limit, enableTotalRecordCount, options).then((request) => request(axios, basePath)); }, }; @@ -160,10 +162,10 @@ export interface SuggestionsApiGetSuggestionsRequest { /** * The media types. - * @type {Array} + * @type {Array} * @memberof SuggestionsApiGetSuggestions */ - readonly mediaType?: Array + readonly mediaType?: Array /** * The type. 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..b740c9e85 100644 --- a/src/generated-client/api/trailers-api.ts +++ b/src/generated-client/api/trailers-api.ts @@ -30,8 +30,12 @@ import { ItemFields } from '../models'; // @ts-ignore import { ItemFilter } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { LocationType } from '../models'; // @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { SeriesStatus } from '../models'; // @ts-ignore import { SortOrder } from '../models'; @@ -46,7 +50,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 +73,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,15 +86,15 @@ 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. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -133,7 +137,7 @@ export const TrailersApiAxiosParamCreator = function (configuration?: Configurat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTrailers: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { + getTrailers: async (userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Trailers`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -517,7 +521,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 +544,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,15 +557,15 @@ 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. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -604,7 +608,7 @@ export const TrailersApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getTrailers(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getTrailers(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getTrailers(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -621,7 +625,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 +648,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,15 +661,15 @@ 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. * @param {Array} [filters] Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes. * @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not. - * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [mediaTypes] Optional filter by MediaType. Allows multiple, comma delimited. * @param {Array} [imageTypes] Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [isPlayed] Optional filter by items that are played, or not. * @param {Array} [genres] Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited. * @param {Array} [officialRatings] Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited. @@ -708,7 +712,7 @@ export const TrailersApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getTrailers(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { + getTrailers(userId?: string, maxOfficialRating?: string, hasThemeSong?: boolean, hasThemeVideo?: boolean, hasSubtitles?: boolean, hasSpecialFeature?: boolean, hasTrailer?: boolean, adjacentTo?: string, parentIndexNumber?: number, hasParentalRating?: boolean, isHd?: boolean, is4K?: boolean, locationTypes?: Array, excludeLocationTypes?: Array, isMissing?: boolean, isUnaired?: boolean, minCommunityRating?: number, minCriticRating?: number, minPremiereDate?: string, minDateLastSaved?: string, minDateLastSavedForUser?: string, maxPremiereDate?: string, hasOverview?: boolean, hasImdbId?: boolean, hasTmdbId?: boolean, hasTvdbId?: boolean, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, excludeItemIds?: Array, startIndex?: number, limit?: number, recursive?: boolean, searchTerm?: string, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, filters?: Array, isFavorite?: boolean, mediaTypes?: Array, imageTypes?: Array, sortBy?: Array, isPlayed?: boolean, genres?: Array, officialRatings?: Array, tags?: Array, years?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, person?: string, personIds?: Array, personTypes?: Array, studios?: Array, artists?: Array, excludeArtistIds?: Array, artistIds?: Array, albumArtistIds?: Array, contributingArtistIds?: Array, albums?: Array, albumIds?: Array, ids?: Array, videoTypes?: Array, minOfficialRating?: string, isLocked?: boolean, isPlaceHolder?: boolean, hasOfficialRating?: boolean, collapseBoxSetItems?: boolean, minWidth?: number, minHeight?: number, maxWidth?: number, maxHeight?: number, is3D?: boolean, seriesStatus?: Array, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, studioIds?: Array, genreIds?: Array, enableTotalRecordCount?: boolean, enableImages?: boolean, options?: any): AxiosPromise { return localVarFp.getTrailers(userId, maxOfficialRating, hasThemeSong, hasThemeVideo, hasSubtitles, hasSpecialFeature, hasTrailer, adjacentTo, parentIndexNumber, hasParentalRating, isHd, is4K, locationTypes, excludeLocationTypes, isMissing, isUnaired, minCommunityRating, minCriticRating, minPremiereDate, minDateLastSaved, minDateLastSavedForUser, maxPremiereDate, hasOverview, hasImdbId, hasTmdbId, hasTvdbId, isMovie, isSeries, isNews, isKids, isSports, excludeItemIds, startIndex, limit, recursive, searchTerm, sortOrder, parentId, fields, excludeItemTypes, filters, isFavorite, mediaTypes, imageTypes, sortBy, isPlayed, genres, officialRatings, tags, years, enableUserData, imageTypeLimit, enableImageTypes, person, personIds, personTypes, studios, artists, excludeArtistIds, artistIds, albumArtistIds, contributingArtistIds, albums, albumIds, ids, videoTypes, minOfficialRating, isLocked, isPlaceHolder, hasOfficialRating, collapseBoxSetItems, minWidth, minHeight, maxWidth, maxHeight, is3D, seriesStatus, nameStartsWithOrGreater, nameStartsWith, nameLessThan, studioIds, genreIds, enableTotalRecordCount, enableImages, options).then((request) => request(axios, basePath)); }, }; @@ -721,7 +725,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 +886,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 +977,7 @@ export interface TrailersApiGetTrailersRequest { readonly searchTerm?: string /** - * Sort Order - Ascending,Descending. + * Sort Order - Ascending, Descending. * @type {Array} * @memberof TrailersApiGetTrailers */ @@ -1016,10 +1020,10 @@ export interface TrailersApiGetTrailersRequest { /** * Optional filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof TrailersApiGetTrailers */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited. @@ -1030,10 +1034,10 @@ export interface TrailersApiGetTrailersRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {Array} + * @type {Array} * @memberof TrailersApiGetTrailers */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional filter by items that are played, or not. diff --git a/src/generated-client/api/trickplay-api.ts b/src/generated-client/api/trickplay-api.ts new file mode 100644 index 000000000..282cf6c96 --- /dev/null +++ b/src/generated-client/api/trickplay-api.ts @@ -0,0 +1,294 @@ +/* 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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; +import { Configuration } from '../configuration'; +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; +// @ts-ignore +import { ProblemDetails } from '../models'; +/** + * TrickplayApi - axios parameter creator + * @export + */ +export const TrickplayApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Gets an image tiles playlist for trickplay. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTrickplayHlsPlaylist: async (itemId: string, width: number, mediaSourceId?: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'itemId' is not null or undefined + assertParamExists('getTrickplayHlsPlaylist', 'itemId', itemId) + // verify required parameter 'width' is not null or undefined + assertParamExists('getTrickplayHlsPlaylist', 'width', width) + const localVarPath = `/Videos/{itemId}/Trickplay/{width}/tiles.m3u8` + .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId))) + .replace(`{${"width"}}`, encodeURIComponent(String(width))); + // 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) + + if (mediaSourceId !== undefined) { + localVarQueryParameter['mediaSourceId'] = mediaSourceId; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Gets a trickplay tile image. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {number} index The index of the desired tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTrickplayTileImage: async (itemId: string, width: number, index: number, mediaSourceId?: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'itemId' is not null or undefined + assertParamExists('getTrickplayTileImage', 'itemId', itemId) + // verify required parameter 'width' is not null or undefined + assertParamExists('getTrickplayTileImage', 'width', width) + // verify required parameter 'index' is not null or undefined + assertParamExists('getTrickplayTileImage', 'index', index) + const localVarPath = `/Videos/{itemId}/Trickplay/{width}/{index}.jpg` + .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId))) + .replace(`{${"width"}}`, encodeURIComponent(String(width))) + .replace(`{${"index"}}`, encodeURIComponent(String(index))); + // 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) + + if (mediaSourceId !== undefined) { + localVarQueryParameter['mediaSourceId'] = mediaSourceId; + } + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * TrickplayApi - functional programming interface + * @export + */ +export const TrickplayApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = TrickplayApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Gets an image tiles playlist for trickplay. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getTrickplayHlsPlaylist(itemId: string, width: number, mediaSourceId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getTrickplayHlsPlaylist(itemId, width, mediaSourceId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Gets a trickplay tile image. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {number} index The index of the desired tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getTrickplayTileImage(itemId: string, width: number, index: number, mediaSourceId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getTrickplayTileImage(itemId, width, index, mediaSourceId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + } +}; + +/** + * TrickplayApi - factory interface + * @export + */ +export const TrickplayApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = TrickplayApiFp(configuration) + return { + /** + * + * @summary Gets an image tiles playlist for trickplay. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTrickplayHlsPlaylist(itemId: string, width: number, mediaSourceId?: string, options?: any): AxiosPromise { + return localVarFp.getTrickplayHlsPlaylist(itemId, width, mediaSourceId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Gets a trickplay tile image. + * @param {string} itemId The item id. + * @param {number} width The width of a single tile. + * @param {number} index The index of the desired tile. + * @param {string} [mediaSourceId] The media version id, if using an alternate version. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getTrickplayTileImage(itemId: string, width: number, index: number, mediaSourceId?: string, options?: any): AxiosPromise { + return localVarFp.getTrickplayTileImage(itemId, width, index, mediaSourceId, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * Request parameters for getTrickplayHlsPlaylist operation in TrickplayApi. + * @export + * @interface TrickplayApiGetTrickplayHlsPlaylistRequest + */ +export interface TrickplayApiGetTrickplayHlsPlaylistRequest { + /** + * The item id. + * @type {string} + * @memberof TrickplayApiGetTrickplayHlsPlaylist + */ + readonly itemId: string + + /** + * The width of a single tile. + * @type {number} + * @memberof TrickplayApiGetTrickplayHlsPlaylist + */ + readonly width: number + + /** + * The media version id, if using an alternate version. + * @type {string} + * @memberof TrickplayApiGetTrickplayHlsPlaylist + */ + readonly mediaSourceId?: string +} + +/** + * Request parameters for getTrickplayTileImage operation in TrickplayApi. + * @export + * @interface TrickplayApiGetTrickplayTileImageRequest + */ +export interface TrickplayApiGetTrickplayTileImageRequest { + /** + * The item id. + * @type {string} + * @memberof TrickplayApiGetTrickplayTileImage + */ + readonly itemId: string + + /** + * The width of a single tile. + * @type {number} + * @memberof TrickplayApiGetTrickplayTileImage + */ + readonly width: number + + /** + * The index of the desired tile. + * @type {number} + * @memberof TrickplayApiGetTrickplayTileImage + */ + readonly index: number + + /** + * The media version id, if using an alternate version. + * @type {string} + * @memberof TrickplayApiGetTrickplayTileImage + */ + readonly mediaSourceId?: string +} + +/** + * TrickplayApi - object-oriented interface + * @export + * @class TrickplayApi + * @extends {BaseAPI} + */ +export class TrickplayApi extends BaseAPI { + /** + * + * @summary Gets an image tiles playlist for trickplay. + * @param {TrickplayApiGetTrickplayHlsPlaylistRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TrickplayApi + */ + public getTrickplayHlsPlaylist(requestParameters: TrickplayApiGetTrickplayHlsPlaylistRequest, options?: AxiosRequestConfig) { + return TrickplayApiFp(this.configuration).getTrickplayHlsPlaylist(requestParameters.itemId, requestParameters.width, requestParameters.mediaSourceId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Gets a trickplay tile image. + * @param {TrickplayApiGetTrickplayTileImageRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof TrickplayApi + */ + public getTrickplayTileImage(requestParameters: TrickplayApiGetTrickplayTileImageRequest, options?: AxiosRequestConfig) { + return TrickplayApiFp(this.configuration).getTrickplayTileImage(requestParameters.itemId, requestParameters.width, requestParameters.index, requestParameters.mediaSourceId, options).then((request) => request(this.axios, this.basePath)); + } +} diff --git a/src/generated-client/api/tv-shows-api.ts b/src/generated-client/api/tv-shows-api.ts index 2b9251e20..43c18d17b 100644 --- a/src/generated-client/api/tv-shows-api.ts +++ b/src/generated-client/api/tv-shows-api.ts @@ -26,6 +26,8 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore import { ProblemDetails } from '../models'; /** * TvShowsApi - axios parameter creator @@ -50,11 +52,11 @@ export const TvShowsApiAxiosParamCreator = function (configuration?: Configurati * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {string} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {ItemSortBy} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getEpisodes: async (seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: string, options: AxiosRequestConfig = {}): Promise => { + getEpisodes: async (seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: ItemSortBy, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'seriesId' is not null or undefined assertParamExists('getEpisodes', 'seriesId', seriesId) const localVarPath = `/Shows/{seriesId}/Episodes` @@ -156,11 +158,12 @@ export const TvShowsApiAxiosParamCreator = function (configuration?: Configurati * @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section. * @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true. * @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up. - * @param {boolean} [enableRewatching] Whether to include watched episode in next up results. + * @param {boolean} [enableResumable] Whether to include resumable episodes in next up results. + * @param {boolean} [enableRewatching] Whether to include watched episodes in next up results. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getNextUp: async (userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableRewatching?: boolean, options: AxiosRequestConfig = {}): Promise => { + getNextUp: async (userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableResumable?: boolean, enableRewatching?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Shows/NextUp`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -230,6 +233,10 @@ export const TvShowsApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['disableFirstEpisode'] = disableFirstEpisode; } + if (enableResumable !== undefined) { + localVarQueryParameter['enableResumable'] = enableResumable; + } + if (enableRewatching !== undefined) { localVarQueryParameter['enableRewatching'] = enableRewatching; } @@ -432,11 +439,11 @@ export const TvShowsApiFp = function(configuration?: Configuration) { * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {string} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {ItemSortBy} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getEpisodes(seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getEpisodes(seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: ItemSortBy, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -456,12 +463,13 @@ export const TvShowsApiFp = function(configuration?: Configuration) { * @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section. * @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true. * @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up. - * @param {boolean} [enableRewatching] Whether to include watched episode in next up results. + * @param {boolean} [enableResumable] Whether to include resumable episodes in next up results. + * @param {boolean} [enableRewatching] Whether to include watched episodes in next up results. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getNextUp(userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableRewatching?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options); + async getNextUp(userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableResumable?: boolean, enableRewatching?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -530,11 +538,11 @@ export const TvShowsApiFactory = function (configuration?: Configuration, basePa * @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. * @param {boolean} [enableUserData] Optional. Include user data. - * @param {string} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {ItemSortBy} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getEpisodes(seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: string, options?: any): AxiosPromise { + getEpisodes(seriesId: string, userId?: string, fields?: Array, season?: number, seasonId?: string, isMissing?: boolean, adjacentTo?: string, startItemId?: string, startIndex?: number, limit?: number, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, sortBy?: ItemSortBy, options?: any): AxiosPromise { return localVarFp.getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options).then((request) => request(axios, basePath)); }, /** @@ -553,12 +561,13 @@ export const TvShowsApiFactory = function (configuration?: Configuration, basePa * @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section. * @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true. * @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up. - * @param {boolean} [enableRewatching] Whether to include watched episode in next up results. + * @param {boolean} [enableResumable] Whether to include resumable episodes in next up results. + * @param {boolean} [enableRewatching] Whether to include watched episodes in next up results. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getNextUp(userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableRewatching?: boolean, options?: any): AxiosPromise { - return localVarFp.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options).then((request) => request(axios, basePath)); + getNextUp(userId?: string, startIndex?: number, limit?: number, fields?: Array, seriesId?: string, parentId?: string, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, enableUserData?: boolean, nextUpDateCutoff?: string, enableTotalRecordCount?: boolean, disableFirstEpisode?: boolean, enableResumable?: boolean, enableRewatching?: boolean, options?: any): AxiosPromise { + return localVarFp.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableResumable, enableRewatching, options).then((request) => request(axios, basePath)); }, /** * @@ -706,10 +715,10 @@ export interface TvShowsApiGetEpisodesRequest { /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {string} + * @type {ItemSortBy} * @memberof TvShowsApiGetEpisodes */ - readonly sortBy?: string + readonly sortBy?: ItemSortBy } /** @@ -810,7 +819,14 @@ export interface TvShowsApiGetNextUpRequest { readonly disableFirstEpisode?: boolean /** - * Whether to include watched episode in next up results. + * Whether to include resumable episodes in next up results. + * @type {boolean} + * @memberof TvShowsApiGetNextUp + */ + readonly enableResumable?: boolean + + /** + * Whether to include watched episodes in next up results. * @type {boolean} * @memberof TvShowsApiGetNextUp */ @@ -992,7 +1008,7 @@ export class TvShowsApi extends BaseAPI { * @memberof TvShowsApi */ public getNextUp(requestParameters: TvShowsApiGetNextUpRequest = {}, options?: AxiosRequestConfig) { - return TvShowsApiFp(this.configuration).getNextUp(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.fields, requestParameters.seriesId, requestParameters.parentId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, requestParameters.nextUpDateCutoff, requestParameters.enableTotalRecordCount, requestParameters.disableFirstEpisode, requestParameters.enableRewatching, options).then((request) => request(this.axios, this.basePath)); + return TvShowsApiFp(this.configuration).getNextUp(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.fields, requestParameters.seriesId, requestParameters.parentId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, requestParameters.nextUpDateCutoff, requestParameters.enableTotalRecordCount, requestParameters.disableFirstEpisode, requestParameters.enableResumable, requestParameters.enableRewatching, options).then((request) => request(this.axios, this.basePath)); } /** 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/api/user-views-api.ts b/src/generated-client/api/user-views-api.ts index b7f70d13a..7f6614fb2 100644 --- a/src/generated-client/api/user-views-api.ts +++ b/src/generated-client/api/user-views-api.ts @@ -22,6 +22,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr // @ts-ignore import { BaseItemDtoQueryResult } from '../models'; // @ts-ignore +import { CollectionType } from '../models'; +// @ts-ignore import { ProblemDetails } from '../models'; // @ts-ignore import { SpecialViewOptionDto } from '../models'; @@ -73,12 +75,12 @@ export const UserViewsApiAxiosParamCreator = function (configuration?: Configura * @summary Get user views. * @param {string} userId User id. * @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv. - * @param {Array} [presetViews] Preset views. + * @param {Array} [presetViews] Preset views. * @param {boolean} [includeHidden] Whether or not to include hidden content. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserViews: async (userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options: AxiosRequestConfig = {}): Promise => { + getUserViews: async (userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'userId' is not null or undefined assertParamExists('getUserViews', 'userId', userId) const localVarPath = `/Users/{userId}/Views` @@ -146,12 +148,12 @@ export const UserViewsApiFp = function(configuration?: Configuration) { * @summary Get user views. * @param {string} userId User id. * @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv. - * @param {Array} [presetViews] Preset views. + * @param {Array} [presetViews] Preset views. * @param {boolean} [includeHidden] Whether or not to include hidden content. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getUserViews(userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getUserViews(userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getUserViews(userId, includeExternalContent, presetViews, includeHidden, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -180,12 +182,12 @@ export const UserViewsApiFactory = function (configuration?: Configuration, base * @summary Get user views. * @param {string} userId User id. * @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv. - * @param {Array} [presetViews] Preset views. + * @param {Array} [presetViews] Preset views. * @param {boolean} [includeHidden] Whether or not to include hidden content. * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUserViews(userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options?: any): AxiosPromise { + getUserViews(userId: string, includeExternalContent?: boolean, presetViews?: Array, includeHidden?: boolean, options?: any): AxiosPromise { return localVarFp.getUserViews(userId, includeExternalContent, presetViews, includeHidden, options).then((request) => request(axios, basePath)); }, }; @@ -227,10 +229,10 @@ export interface UserViewsApiGetUserViewsRequest { /** * Preset views. - * @type {Array} + * @type {Array} * @memberof UserViewsApiGetUserViews */ - readonly presetViews?: Array + readonly presetViews?: Array /** * Whether or not to include hidden content. diff --git a/src/generated-client/api/years-api.ts b/src/generated-client/api/years-api.ts index 4be6cb9d2..03022bd86 100644 --- a/src/generated-client/api/years-api.ts +++ b/src/generated-client/api/years-api.ts @@ -30,6 +30,10 @@ import { ImageType } from '../models'; // @ts-ignore import { ItemFields } from '../models'; // @ts-ignore +import { ItemSortBy } from '../models'; +// @ts-ignore +import { MediaType } from '../models'; +// @ts-ignore import { ProblemDetails } from '../models'; // @ts-ignore import { SortOrder } from '../models'; @@ -91,8 +95,8 @@ export const YearsApiAxiosParamCreator = function (configuration?: Configuration * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {Array} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. * @param {Array} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -102,7 +106,7 @@ export const YearsApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getYears: async (startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { + getYears: async (startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options: AxiosRequestConfig = {}): Promise => { const localVarPath = `/Years`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -221,8 +225,8 @@ export const YearsApiFp = function(configuration?: Configuration) { * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {Array} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. * @param {Array} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -232,7 +236,7 @@ export const YearsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getYears(startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getYears(startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getYears(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, @@ -267,8 +271,8 @@ export const YearsApiFactory = function (configuration?: Configuration, basePath * @param {Array} [fields] Optional. Specify additional fields of information to return in the output. * @param {Array} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited. * @param {Array} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited. - * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. - * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. + * @param {Array} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited. + * @param {Array} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. * @param {boolean} [enableUserData] Optional. Include user data. * @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type. * @param {Array} [enableImageTypes] Optional. The image types to include in the output. @@ -278,7 +282,7 @@ export const YearsApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getYears(startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options?: any): AxiosPromise { + getYears(startIndex?: number, limit?: number, sortOrder?: Array, parentId?: string, fields?: Array, excludeItemTypes?: Array, includeItemTypes?: Array, mediaTypes?: Array, sortBy?: Array, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array, userId?: string, recursive?: boolean, enableImages?: boolean, options?: any): AxiosPromise { return localVarFp.getYears(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options).then((request) => request(axios, basePath)); }, }; @@ -362,17 +366,17 @@ export interface YearsApiGetYearsRequest { /** * Optional. Filter by MediaType. Allows multiple, comma delimited. - * @type {Array} + * @type {Array} * @memberof YearsApiGetYears */ - readonly mediaTypes?: Array + readonly mediaTypes?: Array /** * Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime. - * @type {Array} + * @type {Array} * @memberof YearsApiGetYears */ - readonly sortBy?: Array + readonly sortBy?: Array /** * Optional. Include user data. 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/audio-spatial-format.ts b/src/generated-client/models/audio-spatial-format.ts new file mode 100644 index 000000000..839484cad --- /dev/null +++ b/src/generated-client/models/audio-spatial-format.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 formats of spatial audio. + * @export + * @enum {string} + */ + +export const AudioSpatialFormat = { + None: 'None', + DolbyAtmos: 'DolbyAtmos', + Dtsx: 'DTSX' +} as const; + +export type AudioSpatialFormat = typeof AudioSpatialFormat[keyof typeof AudioSpatialFormat]; + + + 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..c9c2b40d1 100644 --- a/src/generated-client/models/base-item-dto.ts +++ b/src/generated-client/models/base-item-dto.ts @@ -17,6 +17,7 @@ import { BaseItemKind } from './base-item-kind'; import { BaseItemPerson } from './base-item-person'; import { ChannelType } from './channel-type'; import { ChapterInfo } from './chapter-info'; +import { CollectionType } from './collection-type'; import { DayOfWeek } from './day-of-week'; import { ExternalUrl } from './external-url'; import { ImageOrientation } from './image-orientation'; @@ -24,11 +25,13 @@ import { IsoType } from './iso-type'; import { LocationType } from './location-type'; import { MediaSourceInfo } from './media-source-info'; import { MediaStream } from './media-stream'; +import { MediaType } from './media-type'; import { MediaUrl } from './media-url'; import { MetadataField } from './metadata-field'; import { NameGuidPair } from './name-guid-pair'; import { PlayAccess } from './play-access'; import { ProgramAudio } from './program-audio'; +import { TrickplayInfo } from './trickplay-info'; import { UserItemDataDto } from './user-item-data-dto'; import { Video3DFormat } from './video3-dformat'; import { VideoType } from './video-type'; @@ -129,6 +132,12 @@ export interface BaseItemDto { * @memberof BaseItemDto */ 'CanDownload'?: boolean | null; + /** + * + * @type {boolean} + * @memberof BaseItemDto + */ + 'HasLyrics'?: boolean | null; /** * * @type {boolean} @@ -147,12 +156,6 @@ export interface BaseItemDto { * @memberof BaseItemDto */ 'PreferredMetadataCountryCode'?: string | null; - /** - * Gets or sets a value indicating whether [supports synchronize]. - * @type {boolean} - * @memberof BaseItemDto - */ - 'SupportsSync'?: boolean | null; /** * * @type {string} @@ -388,13 +391,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 */ @@ -508,11 +511,11 @@ export interface BaseItemDto { */ 'Album'?: string | null; /** - * Gets or sets the type of the collection. - * @type {string} + * + * @type {CollectionType} * @memberof BaseItemDto */ - 'CollectionType'?: string | null; + 'CollectionType'?: CollectionType; /** * Gets or sets the display order. * @type {string} @@ -604,7 +607,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 */ @@ -663,6 +666,12 @@ export interface BaseItemDto { * @memberof BaseItemDto */ 'Chapters'?: Array | null; + /** + * Gets or sets the trickplay manifest. + * @type {{ [key: string]: { [key: string]: TrickplayInfo; }; }} + * @memberof BaseItemDto + */ + 'Trickplay'?: { [key: string]: { [key: string]: TrickplayInfo; }; } | null; /** * * @type {LocationType} @@ -676,11 +685,11 @@ export interface BaseItemDto { */ 'IsoType'?: IsoType; /** - * Gets or sets the type of the media. - * @type {string} + * + * @type {MediaType} * @memberof BaseItemDto */ - 'MediaType'?: string | null; + 'MediaType'?: MediaType; /** * Gets or sets the end date. * @type {string} @@ -939,6 +948,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/base-item.ts b/src/generated-client/models/base-item.ts index 9bbec0997..0d3567525 100644 --- a/src/generated-client/models/base-item.ts +++ b/src/generated-client/models/base-item.ts @@ -80,11 +80,5 @@ export interface BaseItem { * @memberof BaseItem */ 'RemoteTrailers'?: Array | null; - /** - * - * @type {boolean} - * @memberof BaseItem - */ - 'SupportsExternalTransfer'?: boolean; } diff --git a/src/generated-client/models/cast-receiver-application.ts b/src/generated-client/models/cast-receiver-application.ts new file mode 100644 index 000000000..717cb74d0 --- /dev/null +++ b/src/generated-client/models/cast-receiver-application.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/. + */ + + + +/** + * The cast receiver application model. + * @export + * @interface CastReceiverApplication + */ +export interface CastReceiverApplication { + /** + * Gets or sets the cast receiver application id. + * @type {string} + * @memberof CastReceiverApplication + */ + 'Id'?: string; + /** + * Gets or sets the cast receiver application name. + * @type {string} + * @memberof CastReceiverApplication + */ + 'Name'?: string; +} + diff --git a/src/generated-client/models/client-capabilities-dto.ts b/src/generated-client/models/client-capabilities-dto.ts index 9452d4d77..674fde84a 100644 --- a/src/generated-client/models/client-capabilities-dto.ts +++ b/src/generated-client/models/client-capabilities-dto.ts @@ -14,6 +14,7 @@ import { DeviceProfile } from './device-profile'; import { GeneralCommandType } from './general-command-type'; +import { MediaType } from './media-type'; /** * Client capabilities dto. @@ -23,10 +24,10 @@ import { GeneralCommandType } from './general-command-type'; export interface ClientCapabilitiesDto { /** * Gets or sets the list of playable media types. - * @type {Array} + * @type {Array} * @memberof ClientCapabilitiesDto */ - 'PlayableMediaTypes'?: Array; + 'PlayableMediaTypes'?: Array; /** * Gets or sets the list of supported commands. * @type {Array} @@ -39,30 +40,12 @@ export interface ClientCapabilitiesDto { * @memberof ClientCapabilitiesDto */ 'SupportsMediaControl'?: boolean; - /** - * Gets or sets a value indicating whether session supports content uploading. - * @type {boolean} - * @memberof ClientCapabilitiesDto - */ - 'SupportsContentUploading'?: boolean; - /** - * Gets or sets the message callback url. - * @type {string} - * @memberof ClientCapabilitiesDto - */ - 'MessageCallbackUrl'?: string | null; /** * Gets or sets a value indicating whether session supports a persistent identifier. * @type {boolean} * @memberof ClientCapabilitiesDto */ 'SupportsPersistentIdentifier'?: boolean; - /** - * Gets or sets a value indicating whether session supports sync. - * @type {boolean} - * @memberof ClientCapabilitiesDto - */ - 'SupportsSync'?: boolean; /** * * @type {DeviceProfile} @@ -81,5 +64,19 @@ export interface ClientCapabilitiesDto { * @memberof ClientCapabilitiesDto */ 'IconUrl'?: string | null; + /** + * + * @type {boolean} + * @memberof ClientCapabilitiesDto + * @deprecated + */ + 'SupportsContentUploading'?: boolean | null; + /** + * + * @type {boolean} + * @memberof ClientCapabilitiesDto + * @deprecated + */ + 'SupportsSync'?: boolean | null; } diff --git a/src/generated-client/models/client-capabilities.ts b/src/generated-client/models/client-capabilities.ts index 7795ec8b5..063eb78bf 100644 --- a/src/generated-client/models/client-capabilities.ts +++ b/src/generated-client/models/client-capabilities.ts @@ -14,6 +14,7 @@ import { DeviceProfile } from './device-profile'; import { GeneralCommandType } from './general-command-type'; +import { MediaType } from './media-type'; /** * @@ -23,10 +24,10 @@ import { GeneralCommandType } from './general-command-type'; export interface ClientCapabilities { /** * - * @type {Array} + * @type {Array} * @memberof ClientCapabilities */ - 'PlayableMediaTypes'?: Array | null; + 'PlayableMediaTypes'?: Array | null; /** * * @type {Array} @@ -44,42 +45,38 @@ export interface ClientCapabilities { * @type {boolean} * @memberof ClientCapabilities */ - 'SupportsContentUploading'?: boolean; - /** - * - * @type {string} - * @memberof ClientCapabilities - */ - 'MessageCallbackUrl'?: string | null; + 'SupportsPersistentIdentifier'?: boolean; /** * - * @type {boolean} + * @type {DeviceProfile} * @memberof ClientCapabilities */ - 'SupportsPersistentIdentifier'?: boolean; + 'DeviceProfile'?: DeviceProfile; /** * - * @type {boolean} + * @type {string} * @memberof ClientCapabilities */ - 'SupportsSync'?: boolean; + 'AppStoreUrl'?: string | null; /** * - * @type {DeviceProfile} + * @type {string} * @memberof ClientCapabilities */ - 'DeviceProfile'?: DeviceProfile; + 'IconUrl'?: string | null; /** * - * @type {string} + * @type {boolean} * @memberof ClientCapabilities + * @deprecated */ - 'AppStoreUrl'?: string | null; + 'SupportsContentUploading'?: boolean | null; /** * - * @type {string} + * @type {boolean} * @memberof ClientCapabilities + * @deprecated */ - 'IconUrl'?: string | null; + 'SupportsSync'?: boolean | null; } diff --git a/src/generated-client/models/collection-type.ts b/src/generated-client/models/collection-type.ts new file mode 100644 index 000000000..0794bd947 --- /dev/null +++ b/src/generated-client/models/collection-type.ts @@ -0,0 +1,41 @@ +/* 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/. + */ + + + +/** + * Collection type. + * @export + * @enum {string} + */ + +export const CollectionType = { + Unknown: 'unknown', + Movies: 'movies', + Tvshows: 'tvshows', + Music: 'music', + Musicvideos: 'musicvideos', + Trailers: 'trailers', + Homevideos: 'homevideos', + Boxsets: 'boxsets', + Books: 'books', + Photos: 'photos', + Livetv: 'livetv', + Playlists: 'playlists', + Folders: 'folders' +} as const; + +export type CollectionType = typeof CollectionType[keyof typeof CollectionType]; + + + 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-playlist-dto.ts b/src/generated-client/models/create-playlist-dto.ts index 9e7603feb..7d960e88e 100644 --- a/src/generated-client/models/create-playlist-dto.ts +++ b/src/generated-client/models/create-playlist-dto.ts @@ -12,6 +12,7 @@ */ +import { MediaType } from './media-type'; /** * Create new playlist dto. @@ -38,10 +39,10 @@ export interface CreatePlaylistDto { */ 'UserId'?: string | null; /** - * Gets or sets the media type. - * @type {string} + * + * @type {MediaType} * @memberof CreatePlaylistDto */ - 'MediaType'?: string | null; + 'MediaType'?: MediaType; } 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/device-info.ts b/src/generated-client/models/device-info.ts index 8aab8c1f1..bda83c528 100644 --- a/src/generated-client/models/device-info.ts +++ b/src/generated-client/models/device-info.ts @@ -26,6 +26,12 @@ export interface DeviceInfo { * @memberof DeviceInfo */ 'Name'?: string | null; + /** + * + * @type {string} + * @memberof DeviceInfo + */ + 'CustomName'?: string | null; /** * Gets or sets the access token. * @type {string} diff --git a/src/generated-client/models/device-profile.ts b/src/generated-client/models/device-profile.ts index deb82cec5..66f78c9ef 100644 --- a/src/generated-client/models/device-profile.ts +++ b/src/generated-client/models/device-profile.ts @@ -14,12 +14,9 @@ import { CodecProfile } from './codec-profile'; import { ContainerProfile } from './container-profile'; -import { DeviceIdentification } from './device-identification'; import { DirectPlayProfile } from './direct-play-profile'; -import { ResponseProfile } from './response-profile'; import { SubtitleProfile } from './subtitle-profile'; import { TranscodingProfile } from './transcoding-profile'; -import { XmlAttribute } from './xml-attribute'; /** * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.
Specifically, it defines the supported containers and codecs (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which containers/codecs to transcode to in case it isn\'t. @@ -39,120 +36,6 @@ export interface DeviceProfile { * @memberof DeviceProfile */ 'Id'?: string | null; - /** - * - * @type {DeviceIdentification} - * @memberof DeviceProfile - */ - 'Identification'?: DeviceIdentification; - /** - * Gets or sets the friendly name of the device profile, which can be shown to users. - * @type {string} - * @memberof DeviceProfile - */ - 'FriendlyName'?: string | null; - /** - * Gets or sets the manufacturer of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'Manufacturer'?: string | null; - /** - * Gets or sets an url for the manufacturer of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'ManufacturerUrl'?: string | null; - /** - * Gets or sets the model name of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'ModelName'?: string | null; - /** - * Gets or sets the model description of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'ModelDescription'?: string | null; - /** - * Gets or sets the model number of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'ModelNumber'?: string | null; - /** - * Gets or sets the ModelUrl. - * @type {string} - * @memberof DeviceProfile - */ - 'ModelUrl'?: string | null; - /** - * Gets or sets the serial number of the device which this profile represents. - * @type {string} - * @memberof DeviceProfile - */ - 'SerialNumber'?: string | null; - /** - * Gets or sets a value indicating whether EnableAlbumArtInDidl. - * @type {boolean} - * @memberof DeviceProfile - */ - 'EnableAlbumArtInDidl'?: boolean; - /** - * Gets or sets a value indicating whether EnableSingleAlbumArtLimit. - * @type {boolean} - * @memberof DeviceProfile - */ - 'EnableSingleAlbumArtLimit'?: boolean; - /** - * Gets or sets a value indicating whether EnableSingleSubtitleLimit. - * @type {boolean} - * @memberof DeviceProfile - */ - 'EnableSingleSubtitleLimit'?: boolean; - /** - * Gets or sets the SupportedMediaTypes. - * @type {string} - * @memberof DeviceProfile - */ - 'SupportedMediaTypes'?: string; - /** - * Gets or sets the UserId. - * @type {string} - * @memberof DeviceProfile - */ - 'UserId'?: string | null; - /** - * Gets or sets the AlbumArtPn. - * @type {string} - * @memberof DeviceProfile - */ - 'AlbumArtPn'?: string | null; - /** - * Gets or sets the MaxAlbumArtWidth. - * @type {number} - * @memberof DeviceProfile - */ - 'MaxAlbumArtWidth'?: number | null; - /** - * Gets or sets the MaxAlbumArtHeight. - * @type {number} - * @memberof DeviceProfile - */ - 'MaxAlbumArtHeight'?: number | null; - /** - * Gets or sets the maximum allowed width of embedded icons. - * @type {number} - * @memberof DeviceProfile - */ - 'MaxIconWidth'?: number | null; - /** - * Gets or sets the maximum allowed height of embedded icons. - * @type {number} - * @memberof DeviceProfile - */ - 'MaxIconHeight'?: number | null; /** * Gets or sets the maximum allowed bitrate for all streamed content. * @type {number} @@ -177,54 +60,6 @@ export interface DeviceProfile { * @memberof DeviceProfile */ 'MaxStaticMusicBitrate'?: number | null; - /** - * Gets or sets the content of the aggregationFlags element in the urn:schemas-sonycom:av namespace. - * @type {string} - * @memberof DeviceProfile - */ - 'SonyAggregationFlags'?: string | null; - /** - * Gets or sets the ProtocolInfo. - * @type {string} - * @memberof DeviceProfile - */ - 'ProtocolInfo'?: string | null; - /** - * Gets or sets the TimelineOffsetSeconds. - * @type {number} - * @memberof DeviceProfile - */ - 'TimelineOffsetSeconds'?: number; - /** - * Gets or sets a value indicating whether RequiresPlainVideoItems. - * @type {boolean} - * @memberof DeviceProfile - */ - 'RequiresPlainVideoItems'?: boolean; - /** - * Gets or sets a value indicating whether RequiresPlainFolders. - * @type {boolean} - * @memberof DeviceProfile - */ - 'RequiresPlainFolders'?: boolean; - /** - * Gets or sets a value indicating whether EnableMSMediaReceiverRegistrar. - * @type {boolean} - * @memberof DeviceProfile - */ - 'EnableMSMediaReceiverRegistrar'?: boolean; - /** - * Gets or sets a value indicating whether IgnoreTranscodeByteRangeRequests. - * @type {boolean} - * @memberof DeviceProfile - */ - 'IgnoreTranscodeByteRangeRequests'?: boolean; - /** - * Gets or sets the XmlRootAttributes. - * @type {Array} - * @memberof DeviceProfile - */ - 'XmlRootAttributes'?: Array; /** * Gets or sets the direct play profiles. * @type {Array} @@ -249,12 +84,6 @@ export interface DeviceProfile { * @memberof DeviceProfile */ 'CodecProfiles'?: Array; - /** - * Gets or sets the ResponseProfiles. - * @type {Array} - * @memberof DeviceProfile - */ - 'ResponseProfiles'?: Array; /** * Gets or sets the subtitle profiles. * @type {Array} 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..ca7207282 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,175 @@ 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 MJPEG encoding is enabled. + * @type {boolean} + * @memberof EncodingOptions + */ + 'AllowMjpegEncoding'?: 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/external-id-media-type.ts b/src/generated-client/models/external-id-media-type.ts index 2fe7d574d..a18e9f71b 100644 --- a/src/generated-client/models/external-id-media-type.ts +++ b/src/generated-client/models/external-id-media-type.ts @@ -31,7 +31,8 @@ export const ExternalIdMediaType = { ReleaseGroup: 'ReleaseGroup', Season: 'Season', Series: 'Series', - Track: 'Track' + Track: 'Track', + Book: 'Book' } as const; export type ExternalIdMediaType = typeof ExternalIdMediaType[keyof typeof ExternalIdMediaType]; 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/get-programs-dto.ts b/src/generated-client/models/get-programs-dto.ts index ea5ac00c6..1cb941098 100644 --- a/src/generated-client/models/get-programs-dto.ts +++ b/src/generated-client/models/get-programs-dto.ts @@ -14,6 +14,7 @@ import { ImageType } from './image-type'; import { ItemFields } from './item-fields'; +import { ItemSortBy } from './item-sort-by'; import { SortOrder } from './sort-order'; /** @@ -114,10 +115,10 @@ export interface GetProgramsDto { 'Limit'?: number | null; /** * Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate. Optional. - * @type {Array} + * @type {Array} * @memberof GetProgramsDto */ - 'SortBy'?: Array; + 'SortBy'?: Array; /** * Gets or sets sort Order - Ascending,Descending. * @type {Array} 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/hardware-encoding-type.ts b/src/generated-client/models/hardware-encoding-type.ts index 2b785d933..af4d112b5 100644 --- a/src/generated-client/models/hardware-encoding-type.ts +++ b/src/generated-client/models/hardware-encoding-type.ts @@ -25,7 +25,8 @@ export const HardwareEncodingType = { Nvenc: 'NVENC', V4L2M2M: 'V4L2M2M', Vaapi: 'VAAPI', - VideoToolBox: 'VideoToolBox' + VideoToolBox: 'VideoToolBox', + Rkmpp: 'RKMPP' } as const; export type HardwareEncodingType = typeof HardwareEncodingType[keyof typeof HardwareEncodingType]; 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..3e00b79ce 100644 --- a/src/generated-client/models/index.ts +++ b/src/generated-client/models/index.ts @@ -1,14 +1,16 @@ 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'; -export * from './architecture'; export * from './artist-info'; export * from './artist-info-remote-search-query'; +export * from './audio-spatial-format'; export * from './authenticate-user-by-name'; export * from './authentication-info'; export * from './authentication-info-query-result'; @@ -26,6 +28,7 @@ export * from './box-set-info'; export * from './box-set-info-remote-search-query'; export * from './branding-options'; export * from './buffer-request-dto'; +export * from './cast-receiver-application'; export * from './channel-features'; export * from './channel-item-sort-field'; export * from './channel-mapping-options-dto'; @@ -39,11 +42,11 @@ export * from './client-log-document-response-dto'; export * from './codec-profile'; export * from './codec-type'; export * from './collection-creation-result'; +export * from './collection-type'; export * from './collection-type-options'; export * from './config-image-types'; export * from './configuration-page-info'; export * from './container-profile'; -export * from './control-response'; export * from './country-info'; export * from './create-playlist-dto'; export * from './create-user-by-name'; @@ -51,18 +54,15 @@ export * from './culture-dto'; export * from './day-of-week'; export * from './day-pattern'; export * from './default-directory-browser-info-dto'; -export * from './device-identification'; export * from './device-info'; export * from './device-info-query-result'; export * from './device-options'; export * from './device-options-dto'; export * from './device-profile'; -export * from './device-profile-info'; -export * from './device-profile-type'; 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'; @@ -71,44 +71,51 @@ export * from './end-point-info'; export * from './external-id-info'; export * from './external-id-media-type'; export * from './external-url'; -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'; -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'; export * from './item-fields'; export * from './item-filter'; +export * from './item-sort-by'; 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 +131,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'; @@ -133,6 +143,7 @@ export * from './media-source-info'; export * from './media-source-type'; export * from './media-stream'; export * from './media-stream-type'; +export * from './media-type'; export * from './media-update-info-dto'; export * from './media-update-info-path-dto'; export * from './media-url'; @@ -153,41 +164,48 @@ 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 './process-priority-class'; export * from './profile-condition'; export * from './profile-condition-type'; export * from './profile-condition-value'; @@ -204,6 +222,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'; @@ -211,24 +230,34 @@ export * from './remote-subtitle-info'; 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 +268,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 +284,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'; @@ -261,6 +296,9 @@ export * from './transcode-seek-info'; export * from './transcoding-info'; export * from './transcoding-profile'; export * from './transport-stream-timestamp'; +export * from './trickplay-info'; +export * from './trickplay-options'; +export * from './trickplay-scan-behavior'; export * from './tuner-channel-mapping'; export * from './tuner-host-info'; export * from './type-options'; @@ -268,18 +306,25 @@ export * from './unrated-item'; export * from './update-library-options-dto'; export * from './update-media-path-request-dto'; export * from './update-user-easy-password'; +export * from './update-user-item-data-dto'; 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/item-fields.ts b/src/generated-client/models/item-fields.ts index 83deeab38..bde07107c 100644 --- a/src/generated-client/models/item-fields.ts +++ b/src/generated-client/models/item-fields.ts @@ -25,6 +25,7 @@ export const ItemFields = { CanDownload: 'CanDownload', ChannelInfo: 'ChannelInfo', Chapters: 'Chapters', + Trickplay: 'Trickplay', ChildCount: 'ChildCount', CumulativeRunTimeTicks: 'CumulativeRunTimeTicks', CustomRating: 'CustomRating', @@ -55,8 +56,6 @@ export const ItemFields = { SortName: 'SortName', SpecialEpisodeNumbers: 'SpecialEpisodeNumbers', Studios: 'Studios', - BasicSyncInfo: 'BasicSyncInfo', - SyncInfo: 'SyncInfo', Taglines: 'Taglines', Tags: 'Tags', RemoteTrailers: 'RemoteTrailers', diff --git a/src/generated-client/models/item-sort-by.ts b/src/generated-client/models/item-sort-by.ts new file mode 100644 index 000000000..4a7e03a53 --- /dev/null +++ b/src/generated-client/models/item-sort-by.ts @@ -0,0 +1,60 @@ +/* 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/. + */ + + + +/** + * These represent sort orders. + * @export + * @enum {string} + */ + +export const ItemSortBy = { + Default: 'Default', + AiredEpisodeOrder: 'AiredEpisodeOrder', + Album: 'Album', + AlbumArtist: 'AlbumArtist', + Artist: 'Artist', + DateCreated: 'DateCreated', + OfficialRating: 'OfficialRating', + DatePlayed: 'DatePlayed', + PremiereDate: 'PremiereDate', + StartDate: 'StartDate', + SortName: 'SortName', + Name: 'Name', + Random: 'Random', + Runtime: 'Runtime', + CommunityRating: 'CommunityRating', + ProductionYear: 'ProductionYear', + PlayCount: 'PlayCount', + CriticRating: 'CriticRating', + IsFolder: 'IsFolder', + IsUnplayed: 'IsUnplayed', + IsPlayed: 'IsPlayed', + SeriesSortName: 'SeriesSortName', + VideoBitRate: 'VideoBitRate', + AirTime: 'AirTime', + Studio: 'Studio', + IsFavoriteOrLiked: 'IsFavoriteOrLiked', + DateLastContentAdded: 'DateLastContentAdded', + SeriesDatePlayed: 'SeriesDatePlayed', + ParentIndexNumber: 'ParentIndexNumber', + IndexNumber: 'IndexNumber', + SimilarityScore: 'SimilarityScore', + SearchScore: 'SearchScore' +} as const; + +export type ItemSortBy = typeof ItemSortBy[keyof typeof ItemSortBy]; + + + 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..88428361a 100644 --- a/src/generated-client/models/library-options.ts +++ b/src/generated-client/models/library-options.ts @@ -34,6 +34,18 @@ export interface LibraryOptions { * @memberof LibraryOptions */ 'EnableRealtimeMonitor'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'EnableLUFSScan'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'UseReplayGainTags'?: boolean; /** * * @type {boolean} @@ -46,6 +58,18 @@ export interface LibraryOptions { * @memberof LibraryOptions */ 'ExtractChapterImagesDuringLibraryScan'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'EnableTrickplayImageExtraction'?: boolean; + /** + * + * @type {boolean} + * @memberof LibraryOptions + */ + 'ExtractTrickplayImagesDuringLibraryScan'?: boolean; /** * * @type {Array} @@ -77,6 +101,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..d6ce97719 100644 --- a/src/generated-client/models/media-stream.ts +++ b/src/generated-client/models/media-stream.ts @@ -12,8 +12,11 @@ */ +import { AudioSpatialFormat } from './audio-spatial-format'; 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,23 +139,29 @@ 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} * @memberof MediaStream */ 'VideoDoViTitle'?: string | null; + /** + * + * @type {AudioSpatialFormat} + * @memberof MediaStream + */ + 'AudioSpatialFormat'?: AudioSpatialFormat; /** * * @type {string} @@ -177,6 +186,12 @@ export interface MediaStream { * @memberof MediaStream */ 'LocalizedExternal'?: string | null; + /** + * + * @type {string} + * @memberof MediaStream + */ + 'LocalizedHearingImpaired'?: string | null; /** * * @type {string} @@ -255,6 +270,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/media-type.ts b/src/generated-client/models/media-type.ts new file mode 100644 index 000000000..0addb4fdd --- /dev/null +++ b/src/generated-client/models/media-type.ts @@ -0,0 +1,33 @@ +/* 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/. + */ + + + +/** + * Media types. + * @export + * @enum {string} + */ + +export const MediaType = { + Unknown: 'Unknown', + Video: 'Video', + Audio: 'Audio', + Photo: 'Photo', + Book: 'Book' +} as const; + +export type MediaType = typeof MediaType[keyof typeof MediaType]; + + + diff --git a/src/generated-client/models/metadata-editor-info.ts b/src/generated-client/models/metadata-editor-info.ts index a2f702533..a416877d5 100644 --- a/src/generated-client/models/metadata-editor-info.ts +++ b/src/generated-client/models/metadata-editor-info.ts @@ -12,6 +12,7 @@ */ +import { CollectionType } from './collection-type'; import { CountryInfo } from './country-info'; import { CultureDto } from './culture-dto'; import { ExternalIdInfo } from './external-id-info'; @@ -50,10 +51,10 @@ export interface MetadataEditorInfo { 'ExternalIdInfos'?: Array; /** * - * @type {string} + * @type {CollectionType} * @memberof MetadataEditorInfo */ - 'ContentType'?: string | null; + 'ContentType'?: CollectionType; /** * * @type {Array} diff --git a/src/generated-client/models/network-configuration.ts b/src/generated-client/models/network-configuration.ts index a8f302f24..1599a63b2 100644 --- a/src/generated-client/models/network-configuration.ts +++ b/src/generated-client/models/network-configuration.ts @@ -14,53 +14,17 @@ /** - * Defines the Jellyfin.Networking.Configuration.NetworkConfiguration. + * Defines the MediaBrowser.Common.Net.NetworkConfiguration. * @export * @interface NetworkConfiguration */ export interface NetworkConfiguration { - /** - * Gets or sets a value indicating whether the server should force connections over HTTPS. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'RequireHttps'?: boolean; - /** - * Gets or sets the filesystem path of an X.509 certificate to use for SSL. - * @type {string} - * @memberof NetworkConfiguration - */ - 'CertificatePath'?: string; - /** - * Gets or sets the password required to access the X.509 certificate data in the file specified by Jellyfin.Networking.Configuration.NetworkConfiguration.CertificatePath. - * @type {string} - * @memberof 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. - * @type {number} - * @memberof NetworkConfiguration - */ - 'PublicHttpsPort'?: number; - /** - * Gets or sets the HTTP server port number. - * @type {number} - * @memberof NetworkConfiguration - */ - 'HttpServerPortNumber'?: number; - /** - * Gets or sets the HTTPS server port number. - * @type {number} - * @memberof NetworkConfiguration - */ - 'HttpsPortNumber'?: number; /** * Gets or sets a value indicating whether to use HTTPS. * @type {boolean} @@ -68,160 +32,130 @@ export interface NetworkConfiguration { */ 'EnableHttps'?: boolean; /** - * Gets or sets the public mapped port. - * @type {number} - * @memberof NetworkConfiguration - */ - 'PublicPort'?: 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 the server should force connections over HTTPS. * @type {boolean} * @memberof NetworkConfiguration */ - 'UPnPCreateHttpPortMap'?: boolean; + 'RequireHttps'?: boolean; /** - * Gets or sets the UDPPortRange. + * Gets or sets the filesystem path of an X.509 certificate to use for SSL. * @type {string} * @memberof NetworkConfiguration */ - 'UDPPortRange'?: string; - /** - * Gets or sets a value indicating whether gets or sets IPV6 capability. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableIPV6'?: boolean; - /** - * Gets or sets a value indicating whether gets or sets IPV4 capability. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableIPV4'?: 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. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'EnableSSDPTracing'?: boolean; + 'CertificatePath'?: string; /** - * 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. + * Gets or sets the password required to access the X.509 certificate data in the file specified by MediaBrowser.Common.Net.NetworkConfiguration.CertificatePath. * @type {string} * @memberof NetworkConfiguration */ - 'SSDPTracingFilter'?: string; + 'CertificatePassword'?: string; /** - * Gets or sets the number of times SSDP UDP messages are sent. + * Gets or sets the internal HTTP server port. * @type {number} * @memberof NetworkConfiguration */ - 'UDPSendCount'?: number; + 'InternalHttpPort'?: number; /** - * Gets or sets the delay between each groups of SSDP messages (in ms). + * Gets or sets the internal HTTPS server port. * @type {number} * @memberof NetworkConfiguration */ - 'UDPSendDelay'?: number; - /** - * Gets or sets a value indicating whether address names that match Jellyfin.Networking.Configuration.NetworkConfiguration.VirtualInterfaceNames should be Ignore for the purposes of binding. - * @type {boolean} - * @memberof NetworkConfiguration - */ - 'IgnoreVirtualInterfaces'?: boolean; + 'InternalHttpsPort'?: number; /** - * Gets or sets a value indicating the interfaces that should be ignored. The list can be comma separated. . - * @type {string} + * Gets or sets the public HTTP port. + * @type {number} * @memberof NetworkConfiguration */ - 'VirtualInterfaceNames'?: string; + 'PublicHttpPort'?: number; /** - * Gets or sets the time (in seconds) between the pings of SSDP gateway monitor. + * Gets or sets the public HTTPS port. * @type {number} * @memberof NetworkConfiguration */ - 'GatewayMonitorPeriod'?: number; + 'PublicHttpsPort'?: number; /** - * Gets a value indicating whether multi-socket binding is available. + * Gets or sets a value indicating whether Autodiscovery is enabled. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnableMultiSocketBinding'?: boolean; + 'AutoDiscovery'?: boolean; /** - * 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 to enable automatic port forwarding. * @type {boolean} * @memberof NetworkConfiguration */ - 'TrustAllIP6Interfaces'?: boolean; + 'EnableUPnP'?: boolean; /** - * Gets or sets the ports that HDHomerun uses. - * @type {string} + * Gets or sets a value indicating whether IPv6 is enabled. + * @type {boolean} * @memberof NetworkConfiguration */ - 'HDHomerunPortRange'?: string; + 'EnableIPv4'?: boolean; /** - * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. - * @type {Array} + * Gets or sets a value indicating whether IPv6 is enabled. + * @type {boolean} * @memberof NetworkConfiguration */ - 'PublishedServerUriBySubnet'?: Array; + 'EnableIPv6'?: boolean; /** - * Gets or sets a value indicating whether Autodiscovery tracing is enabled. + * Gets or sets a value indicating whether access from outside of the LAN is permitted. * @type {boolean} * @memberof NetworkConfiguration */ - 'AutoDiscoveryTracing'?: boolean; + 'EnableRemoteAccess'?: boolean; /** - * Gets or sets a value indicating whether Autodiscovery is enabled. - * @type {boolean} + * Gets or sets the subnets that are deemed to make up the LAN. + * @type {Array} * @memberof NetworkConfiguration */ - 'AutoDiscovery'?: boolean; + 'LocalNetworkSubnets'?: Array; /** - * Gets or sets the filter for remote IP connectivity. Used in conjuntion with . + * Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. * @type {Array} * @memberof NetworkConfiguration */ - 'RemoteIPFilter'?: Array; + 'LocalNetworkAddresses'?: Array; /** - * Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist. - * @type {boolean} + * Gets or sets the known proxies. + * @type {Array} * @memberof NetworkConfiguration */ - 'IsRemoteIPFilterBlacklist'?: boolean; + 'KnownProxies'?: Array; /** - * Gets or sets a value indicating whether to enable automatic port forwarding. + * Gets or sets a value indicating whether address names that match MediaBrowser.Common.Net.NetworkConfiguration.VirtualInterfaceNames should be ignored for the purposes of binding. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnableUPnP'?: boolean; + 'IgnoreVirtualInterfaces'?: boolean; /** - * Gets or sets a value indicating whether access outside of the LAN is permitted. - * @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 */ - 'EnableRemoteAccess'?: boolean; + 'VirtualInterfaceNames'?: Array; /** - * Gets or sets the subnets that are deemed to make up the LAN. - * @type {Array} + * Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. + * @type {boolean} * @memberof NetworkConfiguration */ - 'LocalNetworkSubnets'?: Array; + 'EnablePublishedServerUriByRequest'?: boolean; /** - * Gets or sets the interface addresses which Jellyfin will bind to. If empty, all interfaces will be used. + * Gets or sets the PublishedServerUriBySubnet Gets or sets PublishedServerUri to advertise for specific subnets. * @type {Array} * @memberof NetworkConfiguration */ - 'LocalNetworkAddresses'?: Array; + 'PublishedServerUriBySubnet'?: Array; /** - * Gets or sets the known proxies. If the proxy is a network, it\'s added to the KnownNetworks. + * Gets or sets the filter for remote IP connectivity. Used in conjunction with . * @type {Array} * @memberof NetworkConfiguration */ - 'KnownProxies'?: Array; + 'RemoteIPFilter'?: Array; /** - * Gets or sets a value indicating whether the published server uri is based on information in HTTP requests. + * Gets or sets a value indicating whether contains a blacklist or a whitelist. Default is a whitelist. * @type {boolean} * @memberof NetworkConfiguration */ - 'EnablePublishedServerUriByRequest'?: boolean; + 'IsRemoteIPFilterBlacklist'?: 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..4c5f02603 --- /dev/null +++ b/src/generated-client/models/person-kind.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/. + */ + + + +/** + * 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', + Penciller: 'Penciller', + Inker: 'Inker', + Colorist: 'Colorist', + Letterer: 'Letterer', + CoverArtist: 'CoverArtist', + Editor: 'Editor', + Translator: 'Translator' +} 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/problem-details.ts b/src/generated-client/models/problem-details.ts index 2ed290a7a..1b32ca9f4 100644 --- a/src/generated-client/models/problem-details.ts +++ b/src/generated-client/models/problem-details.ts @@ -26,30 +26,30 @@ export interface ProblemDetails { * @type {string} * @memberof ProblemDetails */ - 'type'?: string | null; + 'Type'?: string | null; /** * * @type {string} * @memberof ProblemDetails */ - 'title'?: string | null; + 'Title'?: string | null; /** * * @type {number} * @memberof ProblemDetails */ - 'status'?: number | null; + 'Status'?: number | null; /** * * @type {string} * @memberof ProblemDetails */ - 'detail'?: string | null; + 'Detail'?: string | null; /** * * @type {string} * @memberof ProblemDetails */ - 'instance'?: string | null; + 'Instance'?: string | null; } diff --git a/src/generated-client/models/process-priority-class.ts b/src/generated-client/models/process-priority-class.ts new file mode 100644 index 000000000..9439f50f5 --- /dev/null +++ b/src/generated-client/models/process-priority-class.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/. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ProcessPriorityClass = { + Normal: 'Normal', + Idle: 'Idle', + High: 'High', + RealTime: 'RealTime', + BelowNormal: 'BelowNormal', + AboveNormal: 'AboveNormal' +} as const; + +export type ProcessPriorityClass = typeof ProcessPriorityClass[keyof typeof ProcessPriorityClass]; + + + 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..db5793aae 100644 --- a/src/generated-client/models/search-hint.ts +++ b/src/generated-client/models/search-hint.ts @@ -12,6 +12,8 @@ */ +import { BaseItemKind } from './base-item-kind'; +import { MediaType } from './media-type'; /** * Class SearchHintResult. @@ -23,10 +25,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 +39,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 +95,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 */ @@ -110,19 +113,19 @@ export interface SearchHint { */ 'RunTimeTicks'?: number | null; /** - * Gets or sets the type of the media. - * @type {string} + * + * @type {MediaType} * @memberof SearchHint */ - 'MediaType'?: string | null; + 'MediaType'?: MediaType; /** - * + * 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 +137,7 @@ export interface SearchHint { */ 'Series'?: string | null; /** - * + * Gets or sets the status. * @type {string} * @memberof SearchHint */ @@ -146,11 +149,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 +165,7 @@ export interface SearchHint { * @type {Array} * @memberof SearchHint */ - 'Artists'?: Array | null; + 'Artists'?: Array; /** * Gets or sets the song count. * @type {number} @@ -180,7 +183,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..55935ace2 100644 --- a/src/generated-client/models/server-configuration.ts +++ b/src/generated-client/models/server-configuration.ts @@ -12,11 +12,14 @@ */ +import { CastReceiverApplication } from './cast-receiver-application'; +import { ImageResolution } from './image-resolution'; import { ImageSavingConvention } from './image-saving-convention'; import { MetadataOptions } from './metadata-options'; import { NameValuePair } from './name-value-pair'; import { PathSubstitution } from './path-substitution'; import { RepositoryInfo } from './repository-info'; +import { TrickplayOptions } from './trickplay-options'; /** * Represents the server configuration. @@ -162,12 +165,24 @@ export interface ServerConfiguration { * @memberof ServerConfiguration */ 'MaxAudiobookResume'?: number; + /** + * Gets or sets the threshold in minutes after a inactive session gets closed automatically. If set to 0 the check for inactive sessions gets disabled. + * @type {number} + * @memberof ServerConfiguration + */ + 'InactiveSessionThreshold'?: number; /** * Gets or sets the delay in seconds that we will wait after a file system change to try and discover what has been added/removed Some delay is necessary with some items because their creation is not atomic. It involves the creation of several different directories and files. * @type {number} * @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 +327,35 @@ 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; + /** + * Gets or sets the list of cast receiver applications. + * @type {Array} + * @memberof ServerConfiguration + */ + 'CastReceiverApplications'?: Array; + /** + * + * @type {TrickplayOptions} + * @memberof ServerConfiguration + */ + 'TrickplayOptions'?: TrickplayOptions; } 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/session-info.ts b/src/generated-client/models/session-info.ts index 6b6e4caaf..86523ee35 100644 --- a/src/generated-client/models/session-info.ts +++ b/src/generated-client/models/session-info.ts @@ -16,6 +16,7 @@ import { BaseItem } from './base-item'; import { BaseItemDto } from './base-item-dto'; import { ClientCapabilities } from './client-capabilities'; import { GeneralCommandType } from './general-command-type'; +import { MediaType } from './media-type'; import { PlayerStateInfo } from './player-state-info'; import { QueueItem } from './queue-item'; import { SessionUserInfo } from './session-user-info'; @@ -53,10 +54,10 @@ export interface SessionInfo { 'RemoteEndPoint'?: string | null; /** * Gets the playable media types. - * @type {Array} + * @type {Array} * @memberof SessionInfo */ - 'PlayableMediaTypes'?: Array | null; + 'PlayableMediaTypes'?: Array | null; /** * Gets or sets the id. * @type {string} @@ -93,6 +94,12 @@ export interface SessionInfo { * @memberof SessionInfo */ 'LastPlaybackCheckIn'?: string; + /** + * Gets or sets the last paused date. + * @type {string} + * @memberof SessionInfo + */ + 'LastPausedDate'?: string | null; /** * Gets or sets the name of the device. * @type {string} 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..804cde5e3 100644 --- a/src/generated-client/models/system-info.ts +++ b/src/generated-client/models/system-info.ts @@ -12,8 +12,7 @@ */ -import { Architecture } from './architecture'; -import { FFmpegLocation } from './ffmpeg-location'; +import { CastReceiverApplication } from './cast-receiver-application'; import { InstallationInfo } from './installation-info'; /** @@ -50,6 +49,7 @@ export interface SystemInfo { * Gets or sets the operating system. * @type {string} * @memberof SystemInfo + * @deprecated */ 'OperatingSystem'?: string | null; /** @@ -68,6 +68,7 @@ export interface SystemInfo { * Gets or sets the display name of the operating system. * @type {string} * @memberof SystemInfo + * @deprecated */ 'OperatingSystemDisplayName'?: string | null; /** @@ -110,12 +111,14 @@ export interface SystemInfo { * Gets or sets a value indicating whether this instance can self restart. * @type {boolean} * @memberof SystemInfo + * @deprecated */ 'CanSelfRestart'?: boolean; /** * * @type {boolean} * @memberof SystemInfo + * @deprecated */ 'CanLaunchWebBrowser'?: boolean; /** @@ -160,6 +163,12 @@ export interface SystemInfo { * @memberof SystemInfo */ 'TranscodingTempPath'?: string | null; + /** + * Gets or sets the list of cast receiver applications. + * @type {Array} + * @memberof SystemInfo + */ + 'CastReceiverApplications'?: Array | null; /** * Gets or sets a value indicating whether this instance has update available. * @type {boolean} @@ -169,15 +178,17 @@ export interface SystemInfo { 'HasUpdateAvailable'?: boolean; /** * - * @type {FFmpegLocation} + * @type {string} * @memberof SystemInfo + * @deprecated */ - 'EncoderLocation'?: FFmpegLocation; + 'EncoderLocation'?: string | null; /** * - * @type {Architecture} + * @type {string} * @memberof SystemInfo + * @deprecated */ - 'SystemArchitecture'?: Architecture; + 'SystemArchitecture'?: string | null; } 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/transcoding-info.ts b/src/generated-client/models/transcoding-info.ts index cfe26993c..97dd4aa80 100644 --- a/src/generated-client/models/transcoding-info.ts +++ b/src/generated-client/models/transcoding-info.ts @@ -98,6 +98,12 @@ export interface TranscodingInfo { * @type {Array} * @memberof TranscodingInfo */ - 'TranscodeReasons'?: Array; + 'TranscodeReasons'?: TranscodingInfoTranscodeReasonsEnum; } +export const TranscodingInfoTranscodeReasonsEnum = { +} as const; + +export type TranscodingInfoTranscodeReasonsEnum = typeof TranscodingInfoTranscodeReasonsEnum[keyof typeof TranscodingInfoTranscodeReasonsEnum]; + + diff --git a/src/generated-client/models/trickplay-info.ts b/src/generated-client/models/trickplay-info.ts new file mode 100644 index 000000000..777c60a0f --- /dev/null +++ b/src/generated-client/models/trickplay-info.ts @@ -0,0 +1,65 @@ +/* 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 entity representing the metadata for a group of trickplay tiles. + * @export + * @interface TrickplayInfo + */ +export interface TrickplayInfo { + /** + * Gets or sets width of an individual thumbnail. + * @type {number} + * @memberof TrickplayInfo + */ + 'Width'?: number; + /** + * Gets or sets height of an individual thumbnail. + * @type {number} + * @memberof TrickplayInfo + */ + 'Height'?: number; + /** + * Gets or sets amount of thumbnails per row. + * @type {number} + * @memberof TrickplayInfo + */ + 'TileWidth'?: number; + /** + * Gets or sets amount of thumbnails per column. + * @type {number} + * @memberof TrickplayInfo + */ + 'TileHeight'?: number; + /** + * Gets or sets total amount of non-black thumbnails. + * @type {number} + * @memberof TrickplayInfo + */ + 'ThumbnailCount'?: number; + /** + * Gets or sets interval in milliseconds between each trickplay thumbnail. + * @type {number} + * @memberof TrickplayInfo + */ + 'Interval'?: number; + /** + * Gets or sets peak bandwith usage in bits per second. + * @type {number} + * @memberof TrickplayInfo + */ + 'Bandwidth'?: number; +} + diff --git a/src/generated-client/models/trickplay-options.ts b/src/generated-client/models/trickplay-options.ts new file mode 100644 index 000000000..3dcc9eaa0 --- /dev/null +++ b/src/generated-client/models/trickplay-options.ts @@ -0,0 +1,85 @@ +/* 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 { ProcessPriorityClass } from './process-priority-class'; +import { TrickplayScanBehavior } from './trickplay-scan-behavior'; + +/** + * Class TrickplayOptions. + * @export + * @interface TrickplayOptions + */ +export interface TrickplayOptions { + /** + * Gets or sets a value indicating whether or not to use HW acceleration. + * @type {boolean} + * @memberof TrickplayOptions + */ + 'EnableHwAcceleration'?: boolean; + /** + * + * @type {TrickplayScanBehavior} + * @memberof TrickplayOptions + */ + 'ScanBehavior'?: TrickplayScanBehavior; + /** + * + * @type {ProcessPriorityClass} + * @memberof TrickplayOptions + */ + 'ProcessPriority'?: ProcessPriorityClass; + /** + * Gets or sets the interval, in ms, between each new trickplay image. + * @type {number} + * @memberof TrickplayOptions + */ + 'Interval'?: number; + /** + * Gets or sets the target width resolutions, in px, to generates preview images for. + * @type {Array} + * @memberof TrickplayOptions + */ + 'WidthResolutions'?: Array; + /** + * Gets or sets number of tile images to allow in X dimension. + * @type {number} + * @memberof TrickplayOptions + */ + 'TileWidth'?: number; + /** + * Gets or sets number of tile images to allow in Y dimension. + * @type {number} + * @memberof TrickplayOptions + */ + 'TileHeight'?: number; + /** + * Gets or sets the ffmpeg output quality level. + * @type {number} + * @memberof TrickplayOptions + */ + 'Qscale'?: number; + /** + * Gets or sets the jpeg quality to use for image tiles. + * @type {number} + * @memberof TrickplayOptions + */ + 'JpegQuality'?: number; + /** + * Gets or sets the number of threads to be used by ffmpeg. + * @type {number} + * @memberof TrickplayOptions + */ + 'ProcessThreads'?: number; +} + diff --git a/src/generated-client/models/trickplay-scan-behavior.ts b/src/generated-client/models/trickplay-scan-behavior.ts new file mode 100644 index 000000000..47c00e22c --- /dev/null +++ b/src/generated-client/models/trickplay-scan-behavior.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/. + */ + + + +/** + * Enum TrickplayScanBehavior. + * @export + * @enum {string} + */ + +export const TrickplayScanBehavior = { + Blocking: 'Blocking', + NonBlocking: 'NonBlocking' +} as const; + +export type TrickplayScanBehavior = typeof TrickplayScanBehavior[keyof typeof TrickplayScanBehavior]; + + + 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/update-user-item-data-dto.ts b/src/generated-client/models/update-user-item-data-dto.ts new file mode 100644 index 000000000..8e562edc7 --- /dev/null +++ b/src/generated-client/models/update-user-item-data-dto.ts @@ -0,0 +1,89 @@ +/* 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/. + */ + + + +/** + * This is used by the api to get information about a item user data. + * @export + * @interface UpdateUserItemDataDto + */ +export interface UpdateUserItemDataDto { + /** + * Gets or sets the rating. + * @type {number} + * @memberof UpdateUserItemDataDto + */ + 'Rating'?: number | null; + /** + * Gets or sets the played percentage. + * @type {number} + * @memberof UpdateUserItemDataDto + */ + 'PlayedPercentage'?: number | null; + /** + * Gets or sets the unplayed item count. + * @type {number} + * @memberof UpdateUserItemDataDto + */ + 'UnplayedItemCount'?: number | null; + /** + * Gets or sets the playback position ticks. + * @type {number} + * @memberof UpdateUserItemDataDto + */ + 'PlaybackPositionTicks'?: number | null; + /** + * Gets or sets the play count. + * @type {number} + * @memberof UpdateUserItemDataDto + */ + 'PlayCount'?: number | null; + /** + * Gets or sets a value indicating whether this instance is favorite. + * @type {boolean} + * @memberof UpdateUserItemDataDto + */ + 'IsFavorite'?: boolean | null; + /** + * Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes. + * @type {boolean} + * @memberof UpdateUserItemDataDto + */ + 'Likes'?: boolean | null; + /** + * Gets or sets the last played date. + * @type {string} + * @memberof UpdateUserItemDataDto + */ + 'LastPlayedDate'?: string | null; + /** + * Gets or sets a value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played. + * @type {boolean} + * @memberof UpdateUserItemDataDto + */ + 'Played'?: boolean | null; + /** + * Gets or sets the key. + * @type {string} + * @memberof UpdateUserItemDataDto + */ + 'Key'?: string | null; + /** + * Gets or sets the item identifier. + * @type {string} + * @memberof UpdateUserItemDataDto + */ + 'ItemId'?: string | null; +} + 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-configuration.ts b/src/generated-client/models/user-configuration.ts index e6ed28e2c..cdd35d768 100644 --- a/src/generated-client/models/user-configuration.ts +++ b/src/generated-client/models/user-configuration.ts @@ -110,5 +110,11 @@ export interface UserConfiguration { * @memberof UserConfiguration */ 'EnableNextEpisodeAutoPlay'?: boolean; + /** + * Gets or sets the id of the selected cast receiver. + * @type {string} + * @memberof UserConfiguration + */ + 'CastReceiverId'?: string | null; } 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..26454eb72 100644 --- a/src/generated-client/models/user-policy.ts +++ b/src/generated-client/models/user-policy.ts @@ -34,6 +34,18 @@ 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 can manage subtitles. + * @type {boolean} + * @memberof UserPolicy + */ + 'EnableSubtitleManagement'?: boolean; /** * Gets or sets a value indicating whether this instance is disabled. * @type {boolean} @@ -52,6 +64,12 @@ export interface UserPolicy { * @memberof UserPolicy */ 'BlockedTags'?: Array | null; + /** + * + * @type {Array} + * @memberof UserPolicy + */ + 'AllowedTags'?: Array | null; /** * * @type {boolean} @@ -243,13 +261,13 @@ export interface UserPolicy { * @type {string} * @memberof UserPolicy */ - 'AuthenticationProviderId'?: string | null; + 'AuthenticationProviderId': string; /** * * @type {string} * @memberof UserPolicy */ - 'PasswordResetProviderId'?: string | null; + 'PasswordResetProviderId': string; /** * * @type {SyncPlayUserAccessType} 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 6cb88957a..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.13'; +export const API_VERSION = '10.9.0'; /** The minimum supported server version. */ export const MINIMUM_VERSION = '10.8.1';