@jellyfin/sdk 0.0.0-unstable.202212091849
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +5 -0
- package/LICENSE +373 -0
- package/README.md +153 -0
- package/lib/api.d.ts +42 -0
- package/lib/api.js +70 -0
- package/lib/discovery/discovery-service.d.ts +41 -0
- package/lib/discovery/discovery-service.js +76 -0
- package/lib/discovery/index.d.ts +7 -0
- package/lib/discovery/index.js +7 -0
- package/lib/discovery/recommended-server-discovery.d.ts +23 -0
- package/lib/discovery/recommended-server-discovery.js +110 -0
- package/lib/generated-client/api/activity-log-api.d.ts +113 -0
- package/lib/generated-client/api/activity-log-api.js +146 -0
- package/lib/generated-client/api/api-key-api.d.ts +161 -0
- package/lib/generated-client/api/api-key-api.js +251 -0
- package/lib/generated-client/api/artists-api.d.ts +751 -0
- package/lib/generated-client/api/artists-api.js +634 -0
- package/lib/generated-client/api/audio-api.d.ts +1985 -0
- package/lib/generated-client/api/audio-api.js +1465 -0
- package/lib/generated-client/api/branding-api.d.ts +127 -0
- package/lib/generated-client/api/branding-api.js +229 -0
- package/lib/generated-client/api/channels-api.d.ts +419 -0
- package/lib/generated-client/api/channels-api.js +487 -0
- package/lib/generated-client/api/client-log-api.d.ts +86 -0
- package/lib/generated-client/api/client-log-api.js +125 -0
- package/lib/generated-client/api/collection-api.d.ts +223 -0
- package/lib/generated-client/api/collection-api.js +290 -0
- package/lib/generated-client/api/configuration-api.d.ts +293 -0
- package/lib/generated-client/api/configuration-api.js +446 -0
- package/lib/generated-client/api/dashboard-api.d.ts +132 -0
- package/lib/generated-client/api/dashboard-api.js +189 -0
- package/lib/generated-client/api/devices-api.d.ts +291 -0
- package/lib/generated-client/api/devices-api.js +407 -0
- package/lib/generated-client/api/display-preferences-api.d.ts +177 -0
- package/lib/generated-client/api/display-preferences-api.js +230 -0
- package/lib/generated-client/api/dlna-api.d.ts +292 -0
- package/lib/generated-client/api/dlna-api.js +441 -0
- package/lib/generated-client/api/dlna-server-api.d.ts +784 -0
- package/lib/generated-client/api/dlna-server-api.js +1107 -0
- package/lib/generated-client/api/dynamic-hls-api.d.ts +4604 -0
- package/lib/generated-client/api/dynamic-hls-api.js +3380 -0
- package/lib/generated-client/api/environment-api.d.ts +289 -0
- package/lib/generated-client/api/environment-api.js +451 -0
- package/lib/generated-client/api/filter-api.d.ts +242 -0
- package/lib/generated-client/api/filter-api.js +263 -0
- package/lib/generated-client/api/genres-api.d.ts +299 -0
- package/lib/generated-client/api/genres-api.js +299 -0
- package/lib/generated-client/api/hls-segment-api.d.ts +332 -0
- package/lib/generated-client/api/hls-segment-api.js +426 -0
- package/lib/generated-client/api/image-api.d.ts +6744 -0
- package/lib/generated-client/api/image-api.js +5880 -0
- package/lib/generated-client/api/image-by-name-api.d.ts +292 -0
- package/lib/generated-client/api/image-by-name-api.js +442 -0
- package/lib/generated-client/api/instant-mix-api.d.ts +918 -0
- package/lib/generated-client/api/instant-mix-api.js +925 -0
- package/lib/generated-client/api/item-lookup-api.d.ts +574 -0
- package/lib/generated-client/api/item-lookup-api.js +798 -0
- package/lib/generated-client/api/item-refresh-api.d.ts +122 -0
- package/lib/generated-client/api/item-refresh-api.js +150 -0
- package/lib/generated-client/api/item-update-api.d.ts +197 -0
- package/lib/generated-client/api/item-update-api.js +269 -0
- package/lib/generated-client/api/items-api.d.ts +1824 -0
- package/lib/generated-client/api/items-api.js +1364 -0
- package/lib/generated-client/api/library-api.d.ts +1482 -0
- package/lib/generated-client/api/library-api.js +1887 -0
- package/lib/generated-client/api/library-structure-api.d.ts +486 -0
- package/lib/generated-client/api/library-structure-api.js +634 -0
- package/lib/generated-client/api/live-tv-api.d.ts +2844 -0
- package/lib/generated-client/api/live-tv-api.js +3349 -0
- package/lib/generated-client/api/localization-api.d.ts +159 -0
- package/lib/generated-client/api/localization-api.js +293 -0
- package/lib/generated-client/api/media-info-api.d.ts +516 -0
- package/lib/generated-client/api/media-info-api.js +550 -0
- package/lib/generated-client/api/movies-api.d.ts +123 -0
- package/lib/generated-client/api/movies-api.js +150 -0
- package/lib/generated-client/api/music-genres-api.d.ts +303 -0
- package/lib/generated-client/api/music-genres-api.js +303 -0
- package/lib/generated-client/api/notifications-api.d.ts +332 -0
- package/lib/generated-client/api/notifications-api.js +503 -0
- package/lib/generated-client/api/package-api.d.ts +319 -0
- package/lib/generated-client/api/package-api.js +462 -0
- package/lib/generated-client/api/persons-api.d.ts +253 -0
- package/lib/generated-client/api/persons-api.js +269 -0
- package/lib/generated-client/api/playlists-api.d.ts +427 -0
- package/lib/generated-client/api/playlists-api.js +489 -0
- package/lib/generated-client/api/playstate-api.d.ts +720 -0
- package/lib/generated-client/api/playstate-api.js +821 -0
- package/lib/generated-client/api/plugins-api.d.ts +477 -0
- package/lib/generated-client/api/plugins-api.js +667 -0
- package/lib/generated-client/api/quick-connect-api.d.ts +199 -0
- package/lib/generated-client/api/quick-connect-api.js +311 -0
- package/lib/generated-client/api/remote-image-api.d.ts +243 -0
- package/lib/generated-client/api/remote-image-api.js +300 -0
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +289 -0
- package/lib/generated-client/api/scheduled-tasks-api.js +399 -0
- package/lib/generated-client/api/search-api.d.ts +240 -0
- package/lib/generated-client/api/search-api.js +230 -0
- package/lib/generated-client/api/session-api.d.ts +985 -0
- package/lib/generated-client/api/session-api.js +1263 -0
- package/lib/generated-client/api/startup-api.d.ts +296 -0
- package/lib/generated-client/api/startup-api.js +489 -0
- package/lib/generated-client/api/studios-api.d.ts +289 -0
- package/lib/generated-client/api/studios-api.js +293 -0
- package/lib/generated-client/api/subtitle-api.d.ts +764 -0
- package/lib/generated-client/api/subtitle-api.js +889 -0
- package/lib/generated-client/api/suggestions-api.d.ts +132 -0
- package/lib/generated-client/api/suggestions-api.js +156 -0
- package/lib/generated-client/api/sync-play-api.d.ts +937 -0
- package/lib/generated-client/api/sync-play-api.js +1407 -0
- package/lib/generated-client/api/system-api.d.ts +355 -0
- package/lib/generated-client/api/system-api.js +648 -0
- package/lib/generated-client/api/time-sync-api.d.ts +69 -0
- package/lib/generated-client/api/time-sync-api.js +117 -0
- package/lib/generated-client/api/tmdb-api.d.ts +69 -0
- package/lib/generated-client/api/tmdb-api.js +119 -0
- package/lib/generated-client/api/trailers-api.d.ts +841 -0
- package/lib/generated-client/api/trailers-api.js +632 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +622 -0
- package/lib/generated-client/api/tv-shows-api.js +587 -0
- package/lib/generated-client/api/universal-audio-api.d.ts +437 -0
- package/lib/generated-client/api/universal-audio-api.js +395 -0
- package/lib/generated-client/api/user-api.d.ts +826 -0
- package/lib/generated-client/api/user-api.js +1135 -0
- package/lib/generated-client/api/user-library-api.d.ts +732 -0
- package/lib/generated-client/api/user-library-api.js +896 -0
- package/lib/generated-client/api/user-views-api.d.ts +160 -0
- package/lib/generated-client/api/user-views-api.js +209 -0
- package/lib/generated-client/api/video-attachments-api.d.ts +103 -0
- package/lib/generated-client/api/video-attachments-api.js +136 -0
- package/lib/generated-client/api/videos-api.d.ts +2205 -0
- package/lib/generated-client/api/videos-api.js +1716 -0
- package/lib/generated-client/api/years-api.d.ts +272 -0
- package/lib/generated-client/api/years-api.js +281 -0
- package/lib/generated-client/api.d.ts +71 -0
- package/lib/generated-client/api.js +73 -0
- package/lib/generated-client/base.d.ts +54 -0
- package/lib/generated-client/base.js +55 -0
- package/lib/generated-client/common.d.ts +64 -0
- package/lib/generated-client/common.js +139 -0
- package/lib/generated-client/configuration.d.ts +82 -0
- package/lib/generated-client/configuration.js +37 -0
- package/lib/generated-client/index.d.ts +13 -0
- package/lib/generated-client/index.js +15 -0
- package/lib/generated-client/models/access-schedule.d.ts +48 -0
- package/lib/generated-client/models/access-schedule.js +13 -0
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +36 -0
- package/lib/generated-client/models/activity-log-entry-query-result.js +13 -0
- package/lib/generated-client/models/activity-log-entry.d.ts +79 -0
- package/lib/generated-client/models/activity-log-entry.js +13 -0
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +24 -0
- package/lib/generated-client/models/add-virtual-folder-dto.js +13 -0
- package/lib/generated-client/models/admin-notification-dto.d.ts +42 -0
- package/lib/generated-client/models/admin-notification-dto.js +13 -0
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/album-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/album-info.d.ts +106 -0
- package/lib/generated-client/models/album-info.js +13 -0
- package/lib/generated-client/models/all-theme-media-result.d.ts +36 -0
- package/lib/generated-client/models/all-theme-media-result.js +13 -0
- package/lib/generated-client/models/architecture.d.ts +27 -0
- package/lib/generated-client/models/architecture.js +28 -0
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/artist-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/artist-info.d.ts +92 -0
- package/lib/generated-client/models/artist-info.js +13 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +36 -0
- package/lib/generated-client/models/authenticate-user-by-name.js +13 -0
- package/lib/generated-client/models/authentication-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/authentication-info-query-result.js +13 -0
- package/lib/generated-client/models/authentication-info.d.ts +89 -0
- package/lib/generated-client/models/authentication-info.js +13 -0
- package/lib/generated-client/models/authentication-result.d.ts +43 -0
- package/lib/generated-client/models/authentication-result.js +13 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +13 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/base-item-dto-query-result.js +13 -0
- package/lib/generated-client/models/base-item-dto.d.ts +953 -0
- package/lib/generated-client/models/base-item-dto.js +13 -0
- package/lib/generated-client/models/base-item-kind.d.ts +55 -0
- package/lib/generated-client/models/base-item-kind.js +56 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.js +13 -0
- package/lib/generated-client/models/base-item-person.d.ts +54 -0
- package/lib/generated-client/models/base-item-person.js +13 -0
- package/lib/generated-client/models/base-item.d.ts +84 -0
- package/lib/generated-client/models/base-item.js +13 -0
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/book-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/book-info.d.ts +91 -0
- package/lib/generated-client/models/book-info.js +13 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/box-set-info.d.ts +85 -0
- package/lib/generated-client/models/box-set-info.js +13 -0
- package/lib/generated-client/models/branding-options.d.ts +35 -0
- package/lib/generated-client/models/branding-options.js +13 -0
- package/lib/generated-client/models/buffer-request-dto.d.ts +41 -0
- package/lib/generated-client/models/buffer-request-dto.js +13 -0
- package/lib/generated-client/models/channel-features.d.ts +92 -0
- package/lib/generated-client/models/channel-features.js +13 -0
- package/lib/generated-client/models/channel-item-sort-field.d.ts +25 -0
- package/lib/generated-client/models/channel-item-sort-field.js +26 -0
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +44 -0
- package/lib/generated-client/models/channel-mapping-options-dto.js +13 -0
- package/lib/generated-client/models/channel-media-content-type.d.ts +26 -0
- package/lib/generated-client/models/channel-media-content-type.js +27 -0
- package/lib/generated-client/models/channel-media-type.d.ts +21 -0
- package/lib/generated-client/models/channel-media-type.js +22 -0
- package/lib/generated-client/models/channel-type.d.ts +20 -0
- package/lib/generated-client/models/channel-type.js +21 -0
- package/lib/generated-client/models/chapter-info.d.ts +47 -0
- package/lib/generated-client/models/chapter-info.js +13 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities-dto.js +13 -0
- package/lib/generated-client/models/client-capabilities.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities.js +13 -0
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +23 -0
- package/lib/generated-client/models/client-log-document-response-dto.js +13 -0
- package/lib/generated-client/models/codec-profile.d.ts +49 -0
- package/lib/generated-client/models/codec-profile.js +13 -0
- package/lib/generated-client/models/codec-type.d.ts +21 -0
- package/lib/generated-client/models/codec-type.js +22 -0
- package/lib/generated-client/models/collection-creation-result.d.ts +23 -0
- package/lib/generated-client/models/collection-creation-result.js +13 -0
- package/lib/generated-client/models/collection-type-options.d.ts +26 -0
- package/lib/generated-client/models/collection-type-options.js +27 -0
- package/lib/generated-client/models/config-image-types.d.ts +59 -0
- package/lib/generated-client/models/config-image-types.js +13 -0
- package/lib/generated-client/models/configuration-page-info.d.ts +53 -0
- package/lib/generated-client/models/configuration-page-info.js +13 -0
- package/lib/generated-client/models/container-profile.d.ts +37 -0
- package/lib/generated-client/models/container-profile.js +13 -0
- package/lib/generated-client/models/control-response.d.ts +37 -0
- package/lib/generated-client/models/control-response.js +13 -0
- package/lib/generated-client/models/country-info.d.ts +41 -0
- package/lib/generated-client/models/country-info.js +13 -0
- package/lib/generated-client/models/create-playlist-dto.d.ts +41 -0
- package/lib/generated-client/models/create-playlist-dto.js +13 -0
- package/lib/generated-client/models/create-user-by-name.d.ts +29 -0
- package/lib/generated-client/models/create-user-by-name.js +13 -0
- package/lib/generated-client/models/culture-dto.d.ts +47 -0
- package/lib/generated-client/models/culture-dto.js +13 -0
- package/lib/generated-client/models/day-of-week.d.ts +25 -0
- package/lib/generated-client/models/day-of-week.js +26 -0
- package/lib/generated-client/models/day-pattern.d.ts +21 -0
- package/lib/generated-client/models/day-pattern.js +22 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +23 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.js +13 -0
- package/lib/generated-client/models/device-identification.d.ts +72 -0
- package/lib/generated-client/models/device-identification.js +13 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-query-result.js +13 -0
- package/lib/generated-client/models/device-info.d.ts +78 -0
- package/lib/generated-client/models/device-info.js +13 -0
- package/lib/generated-client/models/device-options-dto.d.ts +35 -0
- package/lib/generated-client/models/device-options-dto.js +13 -0
- package/lib/generated-client/models/device-options.d.ts +35 -0
- package/lib/generated-client/models/device-options.js +13 -0
- package/lib/generated-client/models/device-profile-info.d.ts +36 -0
- package/lib/generated-client/models/device-profile-info.js +13 -0
- package/lib/generated-client/models/device-profile-type.d.ts +20 -0
- package/lib/generated-client/models/device-profile-type.js +21 -0
- package/lib/generated-client/models/device-profile.d.ts +259 -0
- package/lib/generated-client/models/device-profile.js +13 -0
- package/lib/generated-client/models/direct-play-profile.d.ts +42 -0
- package/lib/generated-client/models/direct-play-profile.js +13 -0
- package/lib/generated-client/models/display-preferences-dto.d.ts +105 -0
- package/lib/generated-client/models/display-preferences-dto.js +13 -0
- package/lib/generated-client/models/dlna-options.d.ts +83 -0
- package/lib/generated-client/models/dlna-options.js +13 -0
- package/lib/generated-client/models/dlna-profile-type.d.ts +22 -0
- package/lib/generated-client/models/dlna-profile-type.js +23 -0
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +28 -0
- package/lib/generated-client/models/dynamic-day-of-week.js +29 -0
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +22 -0
- package/lib/generated-client/models/embedded-subtitle-options.js +23 -0
- package/lib/generated-client/models/encoding-context.d.ts +20 -0
- package/lib/generated-client/models/encoding-context.js +21 -0
- package/lib/generated-client/models/encoding-options.d.ts +245 -0
- package/lib/generated-client/models/encoding-options.js +13 -0
- package/lib/generated-client/models/end-point-info.d.ts +29 -0
- package/lib/generated-client/models/end-point-info.js +13 -0
- package/lib/generated-client/models/external-id-info.d.ts +42 -0
- package/lib/generated-client/models/external-id-info.js +13 -0
- package/lib/generated-client/models/external-id-media-type.d.ts +30 -0
- package/lib/generated-client/models/external-id-media-type.js +31 -0
- package/lib/generated-client/models/external-url.d.ts +29 -0
- package/lib/generated-client/models/external-url.js +13 -0
- package/lib/generated-client/models/ffmpeg-location.d.ts +22 -0
- package/lib/generated-client/models/ffmpeg-location.js +23 -0
- package/lib/generated-client/models/file-system-entry-info.d.ts +36 -0
- package/lib/generated-client/models/file-system-entry-info.js +13 -0
- package/lib/generated-client/models/file-system-entry-type.d.ts +22 -0
- package/lib/generated-client/models/file-system-entry-type.js +23 -0
- package/lib/generated-client/models/font-file.d.ts +41 -0
- package/lib/generated-client/models/font-file.js +13 -0
- package/lib/generated-client/models/forgot-password-action.d.ts +21 -0
- package/lib/generated-client/models/forgot-password-action.js +22 -0
- package/lib/generated-client/models/forgot-password-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-dto.js +13 -0
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-pin-dto.js +13 -0
- package/lib/generated-client/models/forgot-password-result.d.ts +36 -0
- package/lib/generated-client/models/forgot-password-result.js +13 -0
- package/lib/generated-client/models/general-command-type.d.ts +60 -0
- package/lib/generated-client/models/general-command-type.js +61 -0
- package/lib/generated-client/models/general-command.d.ts +38 -0
- package/lib/generated-client/models/general-command.js +13 -0
- package/lib/generated-client/models/get-programs-dto.d.ts +182 -0
- package/lib/generated-client/models/get-programs-dto.js +13 -0
- package/lib/generated-client/models/group-info-dto.d.ts +48 -0
- package/lib/generated-client/models/group-info-dto.js +13 -0
- package/lib/generated-client/models/group-queue-mode.d.ts +20 -0
- package/lib/generated-client/models/group-queue-mode.js +21 -0
- package/lib/generated-client/models/group-repeat-mode.d.ts +21 -0
- package/lib/generated-client/models/group-repeat-mode.js +22 -0
- package/lib/generated-client/models/group-shuffle-mode.d.ts +20 -0
- package/lib/generated-client/models/group-shuffle-mode.js +21 -0
- package/lib/generated-client/models/group-state-type.d.ts +22 -0
- package/lib/generated-client/models/group-state-type.js +23 -0
- package/lib/generated-client/models/group-update-type.d.ts +29 -0
- package/lib/generated-client/models/group-update-type.js +30 -0
- package/lib/generated-client/models/guide-info.d.ts +29 -0
- package/lib/generated-client/models/guide-info.js +13 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +24 -0
- package/lib/generated-client/models/hardware-encoding-type.js +25 -0
- package/lib/generated-client/models/header-match-type.d.ts +21 -0
- package/lib/generated-client/models/header-match-type.js +22 -0
- package/lib/generated-client/models/http-header-info.d.ts +36 -0
- package/lib/generated-client/models/http-header-info.js +13 -0
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ignore-wait-request-dto.js +13 -0
- package/lib/generated-client/models/image-by-name-info.d.ts +47 -0
- package/lib/generated-client/models/image-by-name-info.js +13 -0
- package/lib/generated-client/models/image-format.d.ts +23 -0
- package/lib/generated-client/models/image-format.js +24 -0
- package/lib/generated-client/models/image-info.d.ts +66 -0
- package/lib/generated-client/models/image-info.js +13 -0
- package/lib/generated-client/models/image-option.d.ts +36 -0
- package/lib/generated-client/models/image-option.js +13 -0
- package/lib/generated-client/models/image-orientation.d.ts +26 -0
- package/lib/generated-client/models/image-orientation.js +27 -0
- package/lib/generated-client/models/image-provider-info.d.ts +30 -0
- package/lib/generated-client/models/image-provider-info.js +13 -0
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/image-resolution.js +28 -0
- package/lib/generated-client/models/image-saving-convention.d.ts +20 -0
- package/lib/generated-client/models/image-saving-convention.js +21 -0
- package/lib/generated-client/models/image-type.d.ts +31 -0
- package/lib/generated-client/models/image-type.js +32 -0
- package/lib/generated-client/models/index.d.ts +289 -0
- package/lib/generated-client/models/index.js +289 -0
- package/lib/generated-client/models/installation-info.d.ts +60 -0
- package/lib/generated-client/models/installation-info.js +13 -0
- package/lib/generated-client/models/iplugin.d.ts +59 -0
- package/lib/generated-client/models/iplugin.js +13 -0
- package/lib/generated-client/models/iso-type.d.ts +20 -0
- package/lib/generated-client/models/iso-type.js +21 -0
- package/lib/generated-client/models/item-counts.d.ts +89 -0
- package/lib/generated-client/models/item-counts.js +13 -0
- package/lib/generated-client/models/item-fields.d.ts +79 -0
- package/lib/generated-client/models/item-fields.js +80 -0
- package/lib/generated-client/models/item-filter.d.ts +27 -0
- package/lib/generated-client/models/item-filter.js +28 -0
- package/lib/generated-client/models/join-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/join-group-request-dto.js +13 -0
- package/lib/generated-client/models/keep-until.d.ts +22 -0
- package/lib/generated-client/models/keep-until.js +23 -0
- package/lib/generated-client/models/library-option-info-dto.d.ts +29 -0
- package/lib/generated-client/models/library-option-info-dto.js +13 -0
- package/lib/generated-client/models/library-options-result-dto.d.ts +43 -0
- package/lib/generated-client/models/library-options-result-dto.js +13 -0
- package/lib/generated-client/models/library-options.d.ts +183 -0
- package/lib/generated-client/models/library-options.js +13 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +50 -0
- package/lib/generated-client/models/library-type-options-dto.js +13 -0
- package/lib/generated-client/models/library-update-info.d.ts +59 -0
- package/lib/generated-client/models/library-update-info.js +13 -0
- package/lib/generated-client/models/listings-provider-info.d.ts +126 -0
- package/lib/generated-client/models/listings-provider-info.js +13 -0
- package/lib/generated-client/models/live-stream-response.d.ts +24 -0
- package/lib/generated-client/models/live-stream-response.js +13 -0
- package/lib/generated-client/models/live-tv-info.d.ts +36 -0
- package/lib/generated-client/models/live-tv-info.js +13 -0
- package/lib/generated-client/models/live-tv-options.d.ts +97 -0
- package/lib/generated-client/models/live-tv-options.js +13 -0
- package/lib/generated-client/models/live-tv-service-info.d.ts +66 -0
- package/lib/generated-client/models/live-tv-service-info.js +13 -0
- package/lib/generated-client/models/live-tv-service-status.d.ts +20 -0
- package/lib/generated-client/models/live-tv-service-status.js +21 -0
- package/lib/generated-client/models/localization-option.d.ts +29 -0
- package/lib/generated-client/models/localization-option.js +13 -0
- package/lib/generated-client/models/location-type.d.ts +22 -0
- package/lib/generated-client/models/location-type.js +23 -0
- package/lib/generated-client/models/log-file.d.ts +41 -0
- package/lib/generated-client/models/log-file.js +13 -0
- package/lib/generated-client/models/log-level.d.ts +25 -0
- package/lib/generated-client/models/log-level.js +26 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-line.js +13 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +71 -0
- package/lib/generated-client/models/lyric-metadata.js +13 -0
- package/lib/generated-client/models/lyric-response.d.ts +31 -0
- package/lib/generated-client/models/lyric-response.js +13 -0
- package/lib/generated-client/models/media-attachment.d.ts +59 -0
- package/lib/generated-client/models/media-attachment.js +13 -0
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-encoder-path-dto.js +13 -0
- package/lib/generated-client/models/media-path-dto.d.ts +36 -0
- package/lib/generated-client/models/media-path-dto.js +13 -0
- package/lib/generated-client/models/media-path-info.d.ts +29 -0
- package/lib/generated-client/models/media-path-info.js +13 -0
- package/lib/generated-client/models/media-protocol.d.ts +25 -0
- package/lib/generated-client/models/media-protocol.js +26 -0
- package/lib/generated-client/models/media-source-info.d.ts +279 -0
- package/lib/generated-client/models/media-source-info.js +13 -0
- package/lib/generated-client/models/media-source-type.d.ts +21 -0
- package/lib/generated-client/models/media-source-type.js +22 -0
- package/lib/generated-client/models/media-stream-type.d.ts +23 -0
- package/lib/generated-client/models/media-stream-type.js +24 -0
- package/lib/generated-client/models/media-stream.d.ts +379 -0
- package/lib/generated-client/models/media-stream.js +13 -0
- package/lib/generated-client/models/media-update-info-dto.d.ts +24 -0
- package/lib/generated-client/models/media-update-info-dto.js +13 -0
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-update-info-path-dto.js +13 -0
- package/lib/generated-client/models/media-url.d.ts +29 -0
- package/lib/generated-client/models/media-url.js +13 -0
- package/lib/generated-client/models/message-command.d.ts +35 -0
- package/lib/generated-client/models/message-command.js +13 -0
- package/lib/generated-client/models/metadata-configuration.d.ts +23 -0
- package/lib/generated-client/models/metadata-configuration.js +13 -0
- package/lib/generated-client/models/metadata-editor-info.d.ts +58 -0
- package/lib/generated-client/models/metadata-editor-info.js +13 -0
- package/lib/generated-client/models/metadata-field.d.ts +27 -0
- package/lib/generated-client/models/metadata-field.js +28 -0
- package/lib/generated-client/models/metadata-options.d.ts +59 -0
- package/lib/generated-client/models/metadata-options.js +13 -0
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +22 -0
- package/lib/generated-client/models/metadata-refresh-mode.js +23 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +29 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.js +13 -0
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/movie-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/movie-info.d.ts +85 -0
- package/lib/generated-client/models/movie-info.js +13 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/music-video-info.d.ts +91 -0
- package/lib/generated-client/models/music-video-info.js +13 -0
- package/lib/generated-client/models/name-guid-pair.d.ts +29 -0
- package/lib/generated-client/models/name-guid-pair.js +13 -0
- package/lib/generated-client/models/name-id-pair.d.ts +29 -0
- package/lib/generated-client/models/name-id-pair.js +13 -0
- package/lib/generated-client/models/name-value-pair.d.ts +29 -0
- package/lib/generated-client/models/name-value-pair.js +13 -0
- package/lib/generated-client/models/network-configuration.d.ts +221 -0
- package/lib/generated-client/models/network-configuration.js +13 -0
- package/lib/generated-client/models/new-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/new-group-request-dto.js +13 -0
- package/lib/generated-client/models/next-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/next-item-request-dto.js +13 -0
- package/lib/generated-client/models/notification-dto.d.ts +66 -0
- package/lib/generated-client/models/notification-dto.js +13 -0
- package/lib/generated-client/models/notification-level.d.ts +21 -0
- package/lib/generated-client/models/notification-level.js +22 -0
- package/lib/generated-client/models/notification-option.d.ts +54 -0
- package/lib/generated-client/models/notification-option.js +13 -0
- package/lib/generated-client/models/notification-options.d.ts +24 -0
- package/lib/generated-client/models/notification-options.js +13 -0
- package/lib/generated-client/models/notification-result-dto.d.ts +30 -0
- package/lib/generated-client/models/notification-result-dto.js +13 -0
- package/lib/generated-client/models/notification-type-info.d.ts +47 -0
- package/lib/generated-client/models/notification-type-info.js +13 -0
- package/lib/generated-client/models/notifications-summary-dto.d.ts +30 -0
- package/lib/generated-client/models/notifications-summary-dto.js +13 -0
- package/lib/generated-client/models/object-group-update.d.ts +36 -0
- package/lib/generated-client/models/object-group-update.js +13 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +97 -0
- package/lib/generated-client/models/open-live-stream-dto.js +13 -0
- package/lib/generated-client/models/package-info.d.ts +66 -0
- package/lib/generated-client/models/package-info.js +13 -0
- package/lib/generated-client/models/parental-rating.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.js +13 -0
- package/lib/generated-client/models/path-substitution.d.ts +29 -0
- package/lib/generated-client/models/path-substitution.js +13 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/person-lookup-info.d.ts +85 -0
- package/lib/generated-client/models/person-lookup-info.js +13 -0
- package/lib/generated-client/models/pin-redeem-result.d.ts +29 -0
- package/lib/generated-client/models/pin-redeem-result.js +13 -0
- package/lib/generated-client/models/ping-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ping-request-dto.js +13 -0
- package/lib/generated-client/models/play-access.d.ts +20 -0
- package/lib/generated-client/models/play-access.js +21 -0
- package/lib/generated-client/models/play-command.d.ts +23 -0
- package/lib/generated-client/models/play-command.js +24 -0
- package/lib/generated-client/models/play-method.d.ts +21 -0
- package/lib/generated-client/models/play-method.js +22 -0
- package/lib/generated-client/models/play-request-dto.d.ts +35 -0
- package/lib/generated-client/models/play-request-dto.js +13 -0
- package/lib/generated-client/models/play-request.d.ts +66 -0
- package/lib/generated-client/models/play-request.js +13 -0
- package/lib/generated-client/models/playback-error-code.d.ts +21 -0
- package/lib/generated-client/models/playback-error-code.js +22 -0
- package/lib/generated-client/models/playback-info-dto.d.ts +108 -0
- package/lib/generated-client/models/playback-info-dto.js +13 -0
- package/lib/generated-client/models/playback-info-response.d.ts +37 -0
- package/lib/generated-client/models/playback-info-response.js +13 -0
- package/lib/generated-client/models/playback-progress-info.d.ts +141 -0
- package/lib/generated-client/models/playback-progress-info.js +13 -0
- package/lib/generated-client/models/playback-start-info.d.ts +141 -0
- package/lib/generated-client/models/playback-start-info.js +13 -0
- package/lib/generated-client/models/playback-stop-info.d.ts +85 -0
- package/lib/generated-client/models/playback-stop-info.js +13 -0
- package/lib/generated-client/models/player-state-info.d.ts +85 -0
- package/lib/generated-client/models/player-state-info.js +13 -0
- package/lib/generated-client/models/playlist-creation-result.d.ts +23 -0
- package/lib/generated-client/models/playlist-creation-result.js +13 -0
- package/lib/generated-client/models/playstate-command.d.ts +27 -0
- package/lib/generated-client/models/playstate-command.js +28 -0
- package/lib/generated-client/models/playstate-request.d.ts +36 -0
- package/lib/generated-client/models/playstate-request.js +13 -0
- package/lib/generated-client/models/plugin-info.d.ts +66 -0
- package/lib/generated-client/models/plugin-info.js +13 -0
- package/lib/generated-client/models/plugin-status.d.ts +25 -0
- package/lib/generated-client/models/plugin-status.js +26 -0
- package/lib/generated-client/models/previous-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/previous-item-request-dto.js +13 -0
- package/lib/generated-client/models/problem-details.d.ts +48 -0
- package/lib/generated-client/models/problem-details.js +13 -0
- package/lib/generated-client/models/profile-condition-type.d.ts +23 -0
- package/lib/generated-client/models/profile-condition-type.js +24 -0
- package/lib/generated-client/models/profile-condition-value.d.ts +42 -0
- package/lib/generated-client/models/profile-condition-value.js +43 -0
- package/lib/generated-client/models/profile-condition.d.ts +43 -0
- package/lib/generated-client/models/profile-condition.js +13 -0
- package/lib/generated-client/models/program-audio.d.ts +24 -0
- package/lib/generated-client/models/program-audio.js +25 -0
- package/lib/generated-client/models/public-system-info.d.ts +59 -0
- package/lib/generated-client/models/public-system-info.js +13 -0
- package/lib/generated-client/models/query-filters-legacy.d.ts +41 -0
- package/lib/generated-client/models/query-filters-legacy.js +13 -0
- package/lib/generated-client/models/query-filters.d.ts +30 -0
- package/lib/generated-client/models/query-filters.js +13 -0
- package/lib/generated-client/models/queue-item.d.ts +29 -0
- package/lib/generated-client/models/queue-item.js +13 -0
- package/lib/generated-client/models/queue-request-dto.d.ts +30 -0
- package/lib/generated-client/models/queue-request-dto.js +13 -0
- package/lib/generated-client/models/quick-connect-dto.d.ts +23 -0
- package/lib/generated-client/models/quick-connect-dto.js +13 -0
- package/lib/generated-client/models/quick-connect-result.d.ts +65 -0
- package/lib/generated-client/models/quick-connect-result.js +13 -0
- package/lib/generated-client/models/rating-type.d.ts +20 -0
- package/lib/generated-client/models/rating-type.js +21 -0
- package/lib/generated-client/models/ready-request-dto.d.ts +41 -0
- package/lib/generated-client/models/ready-request-dto.js +13 -0
- package/lib/generated-client/models/recommendation-dto.d.ts +43 -0
- package/lib/generated-client/models/recommendation-dto.js +13 -0
- package/lib/generated-client/models/recommendation-type.d.ts +24 -0
- package/lib/generated-client/models/recommendation-type.js +25 -0
- package/lib/generated-client/models/recording-status.d.ts +25 -0
- package/lib/generated-client/models/recording-status.js +26 -0
- package/lib/generated-client/models/remote-image-info.d.ts +79 -0
- package/lib/generated-client/models/remote-image-info.js +13 -0
- package/lib/generated-client/models/remote-image-result.d.ts +36 -0
- package/lib/generated-client/models/remote-image-result.js +13 -0
- package/lib/generated-client/models/remote-search-result.d.ts +91 -0
- package/lib/generated-client/models/remote-search-result.js +13 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +83 -0
- package/lib/generated-client/models/remote-subtitle-info.js +13 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +35 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.js +13 -0
- package/lib/generated-client/models/repeat-mode.d.ts +21 -0
- package/lib/generated-client/models/repeat-mode.js +22 -0
- package/lib/generated-client/models/repository-info.d.ts +35 -0
- package/lib/generated-client/models/repository-info.js +13 -0
- package/lib/generated-client/models/response-profile.d.ts +61 -0
- package/lib/generated-client/models/response-profile.js +13 -0
- package/lib/generated-client/models/scroll-direction.d.ts +20 -0
- package/lib/generated-client/models/scroll-direction.js +21 -0
- package/lib/generated-client/models/search-hint-result.d.ts +30 -0
- package/lib/generated-client/models/search-hint-result.js +13 -0
- package/lib/generated-client/models/search-hint.d.ts +193 -0
- package/lib/generated-client/models/search-hint.js +13 -0
- package/lib/generated-client/models/seek-request-dto.d.ts +23 -0
- package/lib/generated-client/models/seek-request-dto.js +13 -0
- package/lib/generated-client/models/send-command-type.d.ts +22 -0
- package/lib/generated-client/models/send-command-type.js +23 -0
- package/lib/generated-client/models/send-command.d.ts +54 -0
- package/lib/generated-client/models/send-command.js +13 -0
- package/lib/generated-client/models/send-to-user-type.d.ts +21 -0
- package/lib/generated-client/models/send-to-user-type.js +22 -0
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/series-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/series-info.d.ts +85 -0
- package/lib/generated-client/models/series-info.js +13 -0
- package/lib/generated-client/models/series-status.d.ts +21 -0
- package/lib/generated-client/models/series-status.js +22 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.js +13 -0
- package/lib/generated-client/models/series-timer-info-dto.d.ts +232 -0
- package/lib/generated-client/models/series-timer-info-dto.js +13 -0
- package/lib/generated-client/models/server-configuration.d.ts +329 -0
- package/lib/generated-client/models/server-configuration.js +13 -0
- package/lib/generated-client/models/server-discovery-info.d.ts +41 -0
- package/lib/generated-client/models/server-discovery-info.js +13 -0
- package/lib/generated-client/models/session-info.d.ts +199 -0
- package/lib/generated-client/models/session-info.js +13 -0
- package/lib/generated-client/models/session-message-type.d.ts +52 -0
- package/lib/generated-client/models/session-message-type.js +53 -0
- package/lib/generated-client/models/session-user-info.d.ts +29 -0
- package/lib/generated-client/models/session-user-info.js +13 -0
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +35 -0
- package/lib/generated-client/models/set-channel-mapping-dto.js +13 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.js +13 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.js +13 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.js +13 -0
- package/lib/generated-client/models/song-info.d.ts +103 -0
- package/lib/generated-client/models/song-info.js +13 -0
- package/lib/generated-client/models/sort-order.d.ts +20 -0
- package/lib/generated-client/models/sort-order.js +21 -0
- package/lib/generated-client/models/special-view-option-dto.d.ts +29 -0
- package/lib/generated-client/models/special-view-option-dto.js +13 -0
- package/lib/generated-client/models/startup-configuration-dto.d.ts +35 -0
- package/lib/generated-client/models/startup-configuration-dto.js +13 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-remote-access-dto.js +13 -0
- package/lib/generated-client/models/startup-user-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-user-dto.js +13 -0
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +23 -0
- package/lib/generated-client/models/subtitle-delivery-method.js +24 -0
- package/lib/generated-client/models/subtitle-options.d.ts +71 -0
- package/lib/generated-client/models/subtitle-options.js +13 -0
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +23 -0
- package/lib/generated-client/models/subtitle-playback-mode.js +24 -0
- package/lib/generated-client/models/subtitle-profile.d.ts +48 -0
- package/lib/generated-client/models/subtitle-profile.js +13 -0
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +21 -0
- package/lib/generated-client/models/sync-play-user-access-type.js +22 -0
- package/lib/generated-client/models/system-info.d.ts +177 -0
- package/lib/generated-client/models/system-info.js +13 -0
- package/lib/generated-client/models/task-completion-status.d.ts +22 -0
- package/lib/generated-client/models/task-completion-status.js +23 -0
- package/lib/generated-client/models/task-info.d.ts +80 -0
- package/lib/generated-client/models/task-info.js +13 -0
- package/lib/generated-client/models/task-result.d.ts +66 -0
- package/lib/generated-client/models/task-result.js +13 -0
- package/lib/generated-client/models/task-state.d.ts +21 -0
- package/lib/generated-client/models/task-state.js +22 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +48 -0
- package/lib/generated-client/models/task-trigger-info.js +13 -0
- package/lib/generated-client/models/theme-media-result.d.ts +42 -0
- package/lib/generated-client/models/theme-media-result.js +13 -0
- package/lib/generated-client/models/timer-event-info.d.ts +29 -0
- package/lib/generated-client/models/timer-event-info.js +13 -0
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/timer-info-dto-query-result.js +13 -0
- package/lib/generated-client/models/timer-info-dto.d.ts +188 -0
- package/lib/generated-client/models/timer-info-dto.js +13 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.js +13 -0
- package/lib/generated-client/models/trailer-info.d.ts +85 -0
- package/lib/generated-client/models/trailer-info.js +13 -0
- package/lib/generated-client/models/transcode-reason.d.ts +43 -0
- package/lib/generated-client/models/transcode-reason.js +44 -0
- package/lib/generated-client/models/transcode-seek-info.d.ts +20 -0
- package/lib/generated-client/models/transcode-seek-info.js +21 -0
- package/lib/generated-client/models/transcoding-info.d.ts +97 -0
- package/lib/generated-client/models/transcoding-info.js +13 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +117 -0
- package/lib/generated-client/models/transcoding-profile.js +13 -0
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +21 -0
- package/lib/generated-client/models/transport-stream-timestamp.js +22 -0
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +41 -0
- package/lib/generated-client/models/tuner-channel-mapping.js +13 -0
- package/lib/generated-client/models/tuner-host-info.d.ts +89 -0
- package/lib/generated-client/models/tuner-host-info.js +13 -0
- package/lib/generated-client/models/type-options.d.ts +54 -0
- package/lib/generated-client/models/type-options.js +13 -0
- package/lib/generated-client/models/unrated-item.d.ts +27 -0
- package/lib/generated-client/models/unrated-item.js +28 -0
- package/lib/generated-client/models/update-library-options-dto.d.ts +30 -0
- package/lib/generated-client/models/update-library-options-dto.js +13 -0
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +30 -0
- package/lib/generated-client/models/update-media-path-request-dto.js +13 -0
- package/lib/generated-client/models/update-user-easy-password.d.ts +35 -0
- package/lib/generated-client/models/update-user-easy-password.js +13 -0
- package/lib/generated-client/models/update-user-password.d.ts +41 -0
- package/lib/generated-client/models/update-user-password.js +13 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +41 -0
- package/lib/generated-client/models/upload-subtitle-dto.js +13 -0
- package/lib/generated-client/models/user-configuration.d.ts +108 -0
- package/lib/generated-client/models/user-configuration.js +13 -0
- package/lib/generated-client/models/user-dto.d.ts +103 -0
- package/lib/generated-client/models/user-dto.js +13 -0
- package/lib/generated-client/models/user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/user-item-data-dto.js +13 -0
- package/lib/generated-client/models/user-policy.d.ts +254 -0
- package/lib/generated-client/models/user-policy.js +13 -0
- package/lib/generated-client/models/utc-time-response.d.ts +29 -0
- package/lib/generated-client/models/utc-time-response.js +13 -0
- package/lib/generated-client/models/validate-path-dto.d.ts +35 -0
- package/lib/generated-client/models/validate-path-dto.js +13 -0
- package/lib/generated-client/models/version-info.d.ts +71 -0
- package/lib/generated-client/models/version-info.js +13 -0
- package/lib/generated-client/models/video-type.d.ts +22 -0
- package/lib/generated-client/models/video-type.js +23 -0
- package/lib/generated-client/models/video3-dformat.d.ts +23 -0
- package/lib/generated-client/models/video3-dformat.js +24 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +67 -0
- package/lib/generated-client/models/virtual-folder-info.js +13 -0
- package/lib/generated-client/models/wake-on-lan-info.d.ts +29 -0
- package/lib/generated-client/models/wake-on-lan-info.js +13 -0
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +47 -0
- package/lib/generated-client/models/xbmc-metadata-options.js +13 -0
- package/lib/generated-client/models/xml-attribute.d.ts +29 -0
- package/lib/generated-client/models/xml-attribute.js +13 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +12 -0
- package/lib/jellyfin.d.ts +33 -0
- package/lib/jellyfin.js +29 -0
- package/lib/models/api/image-request-parameters.d.ts +29 -0
- package/lib/models/api/image-request-parameters.js +6 -0
- package/lib/models/api/index.d.ts +7 -0
- package/lib/models/api/index.js +7 -0
- package/lib/models/api/item-sort-by.d.ts +40 -0
- package/lib/models/api/item-sort-by.js +41 -0
- package/lib/models/client-info.d.ts +12 -0
- package/lib/models/client-info.js +6 -0
- package/lib/models/device-info.d.ts +12 -0
- package/lib/models/device-info.js +6 -0
- package/lib/models/index.d.ts +9 -0
- package/lib/models/index.js +9 -0
- package/lib/models/recommended-server-info.d.ts +22 -0
- package/lib/models/recommended-server-info.js +13 -0
- package/lib/models/recommended-server-issue.d.ts +48 -0
- package/lib/models/recommended-server-issue.js +55 -0
- package/lib/utils/address-candidates.d.ts +16 -0
- package/lib/utils/address-candidates.js +81 -0
- package/lib/utils/api/activity-log-api.d.ts +8 -0
- package/lib/utils/api/activity-log-api.js +9 -0
- package/lib/utils/api/api-key-api.d.ts +8 -0
- package/lib/utils/api/api-key-api.js +9 -0
- package/lib/utils/api/artists-api.d.ts +8 -0
- package/lib/utils/api/artists-api.js +9 -0
- package/lib/utils/api/audio-api.d.ts +8 -0
- package/lib/utils/api/audio-api.js +9 -0
- package/lib/utils/api/branding-api.d.ts +8 -0
- package/lib/utils/api/branding-api.js +9 -0
- package/lib/utils/api/channels-api.d.ts +8 -0
- package/lib/utils/api/channels-api.js +9 -0
- package/lib/utils/api/client-log-api.d.ts +8 -0
- package/lib/utils/api/client-log-api.js +9 -0
- package/lib/utils/api/collection-api.d.ts +8 -0
- package/lib/utils/api/collection-api.js +9 -0
- package/lib/utils/api/configuration-api.d.ts +8 -0
- package/lib/utils/api/configuration-api.js +9 -0
- package/lib/utils/api/dashboard-api.d.ts +8 -0
- package/lib/utils/api/dashboard-api.js +9 -0
- package/lib/utils/api/devices-api.d.ts +8 -0
- package/lib/utils/api/devices-api.js +9 -0
- package/lib/utils/api/display-preferences-api.d.ts +8 -0
- package/lib/utils/api/display-preferences-api.js +9 -0
- package/lib/utils/api/dlna-api.d.ts +8 -0
- package/lib/utils/api/dlna-api.js +9 -0
- package/lib/utils/api/dlna-server-api.d.ts +8 -0
- package/lib/utils/api/dlna-server-api.js +9 -0
- package/lib/utils/api/dynamic-hls-api.d.ts +8 -0
- package/lib/utils/api/dynamic-hls-api.js +9 -0
- package/lib/utils/api/environment-api.d.ts +8 -0
- package/lib/utils/api/environment-api.js +9 -0
- package/lib/utils/api/filter-api.d.ts +8 -0
- package/lib/utils/api/filter-api.js +9 -0
- package/lib/utils/api/genres-api.d.ts +8 -0
- package/lib/utils/api/genres-api.js +9 -0
- package/lib/utils/api/hls-segment-api.d.ts +8 -0
- package/lib/utils/api/hls-segment-api.js +9 -0
- package/lib/utils/api/image-api.d.ts +8 -0
- package/lib/utils/api/image-api.js +9 -0
- package/lib/utils/api/image-by-name-api.d.ts +8 -0
- package/lib/utils/api/image-by-name-api.js +9 -0
- package/lib/utils/api/instant-mix-api.d.ts +8 -0
- package/lib/utils/api/instant-mix-api.js +9 -0
- package/lib/utils/api/item-lookup-api.d.ts +8 -0
- package/lib/utils/api/item-lookup-api.js +9 -0
- package/lib/utils/api/item-refresh-api.d.ts +8 -0
- package/lib/utils/api/item-refresh-api.js +9 -0
- package/lib/utils/api/item-update-api.d.ts +8 -0
- package/lib/utils/api/item-update-api.js +9 -0
- package/lib/utils/api/items-api.d.ts +8 -0
- package/lib/utils/api/items-api.js +9 -0
- package/lib/utils/api/library-api.d.ts +8 -0
- package/lib/utils/api/library-api.js +9 -0
- package/lib/utils/api/library-structure-api.d.ts +8 -0
- package/lib/utils/api/library-structure-api.js +9 -0
- package/lib/utils/api/live-tv-api.d.ts +8 -0
- package/lib/utils/api/live-tv-api.js +9 -0
- package/lib/utils/api/localization-api.d.ts +8 -0
- package/lib/utils/api/localization-api.js +9 -0
- package/lib/utils/api/media-info-api.d.ts +8 -0
- package/lib/utils/api/media-info-api.js +9 -0
- package/lib/utils/api/movies-api.d.ts +8 -0
- package/lib/utils/api/movies-api.js +9 -0
- package/lib/utils/api/music-genres-api.d.ts +8 -0
- package/lib/utils/api/music-genres-api.js +9 -0
- package/lib/utils/api/notifications-api.d.ts +8 -0
- package/lib/utils/api/notifications-api.js +9 -0
- package/lib/utils/api/package-api.d.ts +8 -0
- package/lib/utils/api/package-api.js +9 -0
- package/lib/utils/api/persons-api.d.ts +8 -0
- package/lib/utils/api/persons-api.js +9 -0
- package/lib/utils/api/playlists-api.d.ts +8 -0
- package/lib/utils/api/playlists-api.js +9 -0
- package/lib/utils/api/playstate-api.d.ts +8 -0
- package/lib/utils/api/playstate-api.js +9 -0
- package/lib/utils/api/plugins-api.d.ts +8 -0
- package/lib/utils/api/plugins-api.js +9 -0
- package/lib/utils/api/quick-connect-api.d.ts +8 -0
- package/lib/utils/api/quick-connect-api.js +9 -0
- package/lib/utils/api/remote-image-api.d.ts +8 -0
- package/lib/utils/api/remote-image-api.js +9 -0
- package/lib/utils/api/scheduled-tasks-api.d.ts +8 -0
- package/lib/utils/api/scheduled-tasks-api.js +9 -0
- package/lib/utils/api/search-api.d.ts +8 -0
- package/lib/utils/api/search-api.js +9 -0
- package/lib/utils/api/session-api.d.ts +8 -0
- package/lib/utils/api/session-api.js +9 -0
- package/lib/utils/api/startup-api.d.ts +8 -0
- package/lib/utils/api/startup-api.js +9 -0
- package/lib/utils/api/studios-api.d.ts +8 -0
- package/lib/utils/api/studios-api.js +9 -0
- package/lib/utils/api/subtitle-api.d.ts +8 -0
- package/lib/utils/api/subtitle-api.js +9 -0
- package/lib/utils/api/suggestions-api.d.ts +8 -0
- package/lib/utils/api/suggestions-api.js +9 -0
- package/lib/utils/api/sync-play-api.d.ts +8 -0
- package/lib/utils/api/sync-play-api.js +9 -0
- package/lib/utils/api/system-api.d.ts +8 -0
- package/lib/utils/api/system-api.js +9 -0
- package/lib/utils/api/time-sync-api.d.ts +8 -0
- package/lib/utils/api/time-sync-api.js +9 -0
- package/lib/utils/api/tmdb-api.d.ts +8 -0
- package/lib/utils/api/tmdb-api.js +9 -0
- package/lib/utils/api/trailers-api.d.ts +8 -0
- package/lib/utils/api/trailers-api.js +9 -0
- package/lib/utils/api/tv-shows-api.d.ts +8 -0
- package/lib/utils/api/tv-shows-api.js +9 -0
- package/lib/utils/api/universal-audio-api.d.ts +8 -0
- package/lib/utils/api/universal-audio-api.js +9 -0
- package/lib/utils/api/user-api.d.ts +8 -0
- package/lib/utils/api/user-api.js +9 -0
- package/lib/utils/api/user-library-api.d.ts +8 -0
- package/lib/utils/api/user-library-api.js +9 -0
- package/lib/utils/api/user-views-api.d.ts +8 -0
- package/lib/utils/api/user-views-api.js +9 -0
- package/lib/utils/api/video-attachments-api.d.ts +8 -0
- package/lib/utils/api/video-attachments-api.js +9 -0
- package/lib/utils/api/videos-api.d.ts +8 -0
- package/lib/utils/api/videos-api.js +9 -0
- package/lib/utils/api/years-api.d.ts +8 -0
- package/lib/utils/api/years-api.js +9 -0
- package/lib/utils/authentication.d.ts +10 -0
- package/lib/utils/authentication.js +13 -0
- package/lib/utils/browser-profiles.d.ts +25 -0
- package/lib/utils/browser-profiles.js +40 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +9 -0
- package/lib/utils/normalize-url.d.ts +20 -0
- package/lib/utils/normalize-url.js +93 -0
- package/lib/utils/url.d.ts +31 -0
- package/lib/utils/url.js +45 -0
- package/openapi-templates/licenseInfo.mustache +10 -0
- package/package.json +45 -0
- package/tsconfig.json +27 -0
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5
|
+
* Do not edit the class manually.
|
|
6
|
+
*
|
|
7
|
+
* Jellyfin API
|
|
8
|
+
*
|
|
9
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
10
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
11
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
12
|
+
*/
|
|
13
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
import globalAxios from 'axios';
|
|
23
|
+
// Some imports not used depending on template conditions
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { BASE_PATH, BaseAPI } from '../base';
|
|
28
|
+
/**
|
|
29
|
+
* TvShowsApi - axios parameter creator
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const TvShowsApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Gets episodes for a tv season.
|
|
37
|
+
* @param {string} seriesId The series id.
|
|
38
|
+
* @param {string} [userId] The user id.
|
|
39
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
40
|
+
* @param {number} [season] Optional filter by season number.
|
|
41
|
+
* @param {string} [seasonId] Optional. Filter by season id.
|
|
42
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
43
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
44
|
+
* @param {string} [startItemId] Optional. Skip through the list until a given item is found.
|
|
45
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
46
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
47
|
+
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
48
|
+
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
49
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
50
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
51
|
+
* @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.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
getEpisodes: (seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
57
|
+
assertParamExists('getEpisodes', 'seriesId', seriesId);
|
|
58
|
+
const localVarPath = `/Shows/{seriesId}/Episodes`
|
|
59
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
60
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62
|
+
let baseOptions;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
}
|
|
66
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
67
|
+
const localVarHeaderParameter = {};
|
|
68
|
+
const localVarQueryParameter = {};
|
|
69
|
+
// authentication CustomAuthentication required
|
|
70
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
71
|
+
if (userId !== undefined) {
|
|
72
|
+
localVarQueryParameter['userId'] = userId;
|
|
73
|
+
}
|
|
74
|
+
if (fields) {
|
|
75
|
+
localVarQueryParameter['fields'] = fields;
|
|
76
|
+
}
|
|
77
|
+
if (season !== undefined) {
|
|
78
|
+
localVarQueryParameter['season'] = season;
|
|
79
|
+
}
|
|
80
|
+
if (seasonId !== undefined) {
|
|
81
|
+
localVarQueryParameter['seasonId'] = seasonId;
|
|
82
|
+
}
|
|
83
|
+
if (isMissing !== undefined) {
|
|
84
|
+
localVarQueryParameter['isMissing'] = isMissing;
|
|
85
|
+
}
|
|
86
|
+
if (adjacentTo !== undefined) {
|
|
87
|
+
localVarQueryParameter['adjacentTo'] = adjacentTo;
|
|
88
|
+
}
|
|
89
|
+
if (startItemId !== undefined) {
|
|
90
|
+
localVarQueryParameter['startItemId'] = startItemId;
|
|
91
|
+
}
|
|
92
|
+
if (startIndex !== undefined) {
|
|
93
|
+
localVarQueryParameter['startIndex'] = startIndex;
|
|
94
|
+
}
|
|
95
|
+
if (limit !== undefined) {
|
|
96
|
+
localVarQueryParameter['limit'] = limit;
|
|
97
|
+
}
|
|
98
|
+
if (enableImages !== undefined) {
|
|
99
|
+
localVarQueryParameter['enableImages'] = enableImages;
|
|
100
|
+
}
|
|
101
|
+
if (imageTypeLimit !== undefined) {
|
|
102
|
+
localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
|
|
103
|
+
}
|
|
104
|
+
if (enableImageTypes) {
|
|
105
|
+
localVarQueryParameter['enableImageTypes'] = enableImageTypes;
|
|
106
|
+
}
|
|
107
|
+
if (enableUserData !== undefined) {
|
|
108
|
+
localVarQueryParameter['enableUserData'] = enableUserData;
|
|
109
|
+
}
|
|
110
|
+
if (sortBy !== undefined) {
|
|
111
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
112
|
+
}
|
|
113
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
116
|
+
return {
|
|
117
|
+
url: toPathString(localVarUrlObj),
|
|
118
|
+
options: localVarRequestOptions,
|
|
119
|
+
};
|
|
120
|
+
}),
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Gets a list of next up episodes.
|
|
124
|
+
* @param {string} [userId] The user id of the user to get the next up episodes for.
|
|
125
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
126
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
127
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
128
|
+
* @param {string} [seriesId] Optional. Filter by series id.
|
|
129
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
130
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
131
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
132
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
133
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
134
|
+
* @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section.
|
|
135
|
+
* @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true.
|
|
136
|
+
* @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up.
|
|
137
|
+
* @param {boolean} [enableRewatching] Whether to include watched episode in next up results.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
getNextUp: (userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const localVarPath = `/Shows/NextUp`;
|
|
143
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
150
|
+
const localVarHeaderParameter = {};
|
|
151
|
+
const localVarQueryParameter = {};
|
|
152
|
+
// authentication CustomAuthentication required
|
|
153
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
154
|
+
if (userId !== undefined) {
|
|
155
|
+
localVarQueryParameter['userId'] = userId;
|
|
156
|
+
}
|
|
157
|
+
if (startIndex !== undefined) {
|
|
158
|
+
localVarQueryParameter['startIndex'] = startIndex;
|
|
159
|
+
}
|
|
160
|
+
if (limit !== undefined) {
|
|
161
|
+
localVarQueryParameter['limit'] = limit;
|
|
162
|
+
}
|
|
163
|
+
if (fields) {
|
|
164
|
+
localVarQueryParameter['fields'] = fields;
|
|
165
|
+
}
|
|
166
|
+
if (seriesId !== undefined) {
|
|
167
|
+
localVarQueryParameter['seriesId'] = seriesId;
|
|
168
|
+
}
|
|
169
|
+
if (parentId !== undefined) {
|
|
170
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
171
|
+
}
|
|
172
|
+
if (enableImages !== undefined) {
|
|
173
|
+
localVarQueryParameter['enableImages'] = enableImages;
|
|
174
|
+
}
|
|
175
|
+
if (imageTypeLimit !== undefined) {
|
|
176
|
+
localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
|
|
177
|
+
}
|
|
178
|
+
if (enableImageTypes) {
|
|
179
|
+
localVarQueryParameter['enableImageTypes'] = enableImageTypes;
|
|
180
|
+
}
|
|
181
|
+
if (enableUserData !== undefined) {
|
|
182
|
+
localVarQueryParameter['enableUserData'] = enableUserData;
|
|
183
|
+
}
|
|
184
|
+
if (nextUpDateCutoff !== undefined) {
|
|
185
|
+
localVarQueryParameter['nextUpDateCutoff'] = (nextUpDateCutoff instanceof Date) ?
|
|
186
|
+
nextUpDateCutoff.toISOString() :
|
|
187
|
+
nextUpDateCutoff;
|
|
188
|
+
}
|
|
189
|
+
if (enableTotalRecordCount !== undefined) {
|
|
190
|
+
localVarQueryParameter['enableTotalRecordCount'] = enableTotalRecordCount;
|
|
191
|
+
}
|
|
192
|
+
if (disableFirstEpisode !== undefined) {
|
|
193
|
+
localVarQueryParameter['disableFirstEpisode'] = disableFirstEpisode;
|
|
194
|
+
}
|
|
195
|
+
if (enableRewatching !== undefined) {
|
|
196
|
+
localVarQueryParameter['enableRewatching'] = enableRewatching;
|
|
197
|
+
}
|
|
198
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
201
|
+
return {
|
|
202
|
+
url: toPathString(localVarUrlObj),
|
|
203
|
+
options: localVarRequestOptions,
|
|
204
|
+
};
|
|
205
|
+
}),
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @summary Gets seasons for a tv series.
|
|
209
|
+
* @param {string} seriesId The series id.
|
|
210
|
+
* @param {string} [userId] The user id.
|
|
211
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
212
|
+
* @param {boolean} [isSpecialSeason] Optional. Filter by special season.
|
|
213
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
214
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
215
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
216
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
217
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
218
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
getSeasons: (seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
// verify required parameter 'seriesId' is not null or undefined
|
|
224
|
+
assertParamExists('getSeasons', 'seriesId', seriesId);
|
|
225
|
+
const localVarPath = `/Shows/{seriesId}/Seasons`
|
|
226
|
+
.replace(`{${"seriesId"}}`, encodeURIComponent(String(seriesId)));
|
|
227
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
228
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
229
|
+
let baseOptions;
|
|
230
|
+
if (configuration) {
|
|
231
|
+
baseOptions = configuration.baseOptions;
|
|
232
|
+
}
|
|
233
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
234
|
+
const localVarHeaderParameter = {};
|
|
235
|
+
const localVarQueryParameter = {};
|
|
236
|
+
// authentication CustomAuthentication required
|
|
237
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
238
|
+
if (userId !== undefined) {
|
|
239
|
+
localVarQueryParameter['userId'] = userId;
|
|
240
|
+
}
|
|
241
|
+
if (fields) {
|
|
242
|
+
localVarQueryParameter['fields'] = fields;
|
|
243
|
+
}
|
|
244
|
+
if (isSpecialSeason !== undefined) {
|
|
245
|
+
localVarQueryParameter['isSpecialSeason'] = isSpecialSeason;
|
|
246
|
+
}
|
|
247
|
+
if (isMissing !== undefined) {
|
|
248
|
+
localVarQueryParameter['isMissing'] = isMissing;
|
|
249
|
+
}
|
|
250
|
+
if (adjacentTo !== undefined) {
|
|
251
|
+
localVarQueryParameter['adjacentTo'] = adjacentTo;
|
|
252
|
+
}
|
|
253
|
+
if (enableImages !== undefined) {
|
|
254
|
+
localVarQueryParameter['enableImages'] = enableImages;
|
|
255
|
+
}
|
|
256
|
+
if (imageTypeLimit !== undefined) {
|
|
257
|
+
localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
|
|
258
|
+
}
|
|
259
|
+
if (enableImageTypes) {
|
|
260
|
+
localVarQueryParameter['enableImageTypes'] = enableImageTypes;
|
|
261
|
+
}
|
|
262
|
+
if (enableUserData !== undefined) {
|
|
263
|
+
localVarQueryParameter['enableUserData'] = enableUserData;
|
|
264
|
+
}
|
|
265
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
267
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
268
|
+
return {
|
|
269
|
+
url: toPathString(localVarUrlObj),
|
|
270
|
+
options: localVarRequestOptions,
|
|
271
|
+
};
|
|
272
|
+
}),
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @summary Gets a list of upcoming episodes.
|
|
276
|
+
* @param {string} [userId] The user id of the user to get the upcoming episodes for.
|
|
277
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
278
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
279
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
280
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
281
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
282
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
283
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
284
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
getUpcomingEpisodes: (userId, startIndex, limit, fields, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
289
|
+
const localVarPath = `/Shows/Upcoming`;
|
|
290
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
292
|
+
let baseOptions;
|
|
293
|
+
if (configuration) {
|
|
294
|
+
baseOptions = configuration.baseOptions;
|
|
295
|
+
}
|
|
296
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
297
|
+
const localVarHeaderParameter = {};
|
|
298
|
+
const localVarQueryParameter = {};
|
|
299
|
+
// authentication CustomAuthentication required
|
|
300
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
301
|
+
if (userId !== undefined) {
|
|
302
|
+
localVarQueryParameter['userId'] = userId;
|
|
303
|
+
}
|
|
304
|
+
if (startIndex !== undefined) {
|
|
305
|
+
localVarQueryParameter['startIndex'] = startIndex;
|
|
306
|
+
}
|
|
307
|
+
if (limit !== undefined) {
|
|
308
|
+
localVarQueryParameter['limit'] = limit;
|
|
309
|
+
}
|
|
310
|
+
if (fields) {
|
|
311
|
+
localVarQueryParameter['fields'] = fields;
|
|
312
|
+
}
|
|
313
|
+
if (parentId !== undefined) {
|
|
314
|
+
localVarQueryParameter['parentId'] = parentId;
|
|
315
|
+
}
|
|
316
|
+
if (enableImages !== undefined) {
|
|
317
|
+
localVarQueryParameter['enableImages'] = enableImages;
|
|
318
|
+
}
|
|
319
|
+
if (imageTypeLimit !== undefined) {
|
|
320
|
+
localVarQueryParameter['imageTypeLimit'] = imageTypeLimit;
|
|
321
|
+
}
|
|
322
|
+
if (enableImageTypes) {
|
|
323
|
+
localVarQueryParameter['enableImageTypes'] = enableImageTypes;
|
|
324
|
+
}
|
|
325
|
+
if (enableUserData !== undefined) {
|
|
326
|
+
localVarQueryParameter['enableUserData'] = enableUserData;
|
|
327
|
+
}
|
|
328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
330
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
331
|
+
return {
|
|
332
|
+
url: toPathString(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
};
|
|
335
|
+
}),
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* TvShowsApi - functional programming interface
|
|
340
|
+
* @export
|
|
341
|
+
*/
|
|
342
|
+
export const TvShowsApiFp = function (configuration) {
|
|
343
|
+
const localVarAxiosParamCreator = TvShowsApiAxiosParamCreator(configuration);
|
|
344
|
+
return {
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @summary Gets episodes for a tv season.
|
|
348
|
+
* @param {string} seriesId The series id.
|
|
349
|
+
* @param {string} [userId] The user id.
|
|
350
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
351
|
+
* @param {number} [season] Optional filter by season number.
|
|
352
|
+
* @param {string} [seasonId] Optional. Filter by season id.
|
|
353
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
354
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
355
|
+
* @param {string} [startItemId] Optional. Skip through the list until a given item is found.
|
|
356
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
357
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
358
|
+
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
359
|
+
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
360
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
361
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
362
|
+
* @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.
|
|
363
|
+
* @param {*} [options] Override http request option.
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options);
|
|
369
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
|
+
});
|
|
371
|
+
},
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @summary Gets a list of next up episodes.
|
|
375
|
+
* @param {string} [userId] The user id of the user to get the next up episodes for.
|
|
376
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
377
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
378
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
379
|
+
* @param {string} [seriesId] Optional. Filter by series id.
|
|
380
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
381
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
382
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
383
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
384
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
385
|
+
* @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section.
|
|
386
|
+
* @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true.
|
|
387
|
+
* @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up.
|
|
388
|
+
* @param {boolean} [enableRewatching] Whether to include watched episode in next up results.
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options) {
|
|
393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
394
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options);
|
|
395
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
|
+
});
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @summary Gets seasons for a tv series.
|
|
401
|
+
* @param {string} seriesId The series id.
|
|
402
|
+
* @param {string} [userId] The user id.
|
|
403
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
404
|
+
* @param {boolean} [isSpecialSeason] Optional. Filter by special season.
|
|
405
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
406
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
407
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
408
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
409
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
410
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
getSeasons(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options) {
|
|
415
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
416
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeasons(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options);
|
|
417
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
418
|
+
});
|
|
419
|
+
},
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @summary Gets a list of upcoming episodes.
|
|
423
|
+
* @param {string} [userId] The user id of the user to get the upcoming episodes for.
|
|
424
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
425
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
426
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
427
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
428
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
429
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
430
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
431
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
getUpcomingEpisodes(userId, startIndex, limit, fields, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options) {
|
|
436
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
437
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUpcomingEpisodes(userId, startIndex, limit, fields, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options);
|
|
438
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
|
+
});
|
|
440
|
+
},
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* TvShowsApi - factory interface
|
|
445
|
+
* @export
|
|
446
|
+
*/
|
|
447
|
+
export const TvShowsApiFactory = function (configuration, basePath, axios) {
|
|
448
|
+
const localVarFp = TvShowsApiFp(configuration);
|
|
449
|
+
return {
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @summary Gets episodes for a tv season.
|
|
453
|
+
* @param {string} seriesId The series id.
|
|
454
|
+
* @param {string} [userId] The user id.
|
|
455
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
456
|
+
* @param {number} [season] Optional filter by season number.
|
|
457
|
+
* @param {string} [seasonId] Optional. Filter by season id.
|
|
458
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
459
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
460
|
+
* @param {string} [startItemId] Optional. Skip through the list until a given item is found.
|
|
461
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
462
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
463
|
+
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
464
|
+
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
465
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
466
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
467
|
+
* @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.
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
*/
|
|
471
|
+
getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options) {
|
|
472
|
+
return localVarFp.getEpisodes(seriesId, userId, fields, season, seasonId, isMissing, adjacentTo, startItemId, startIndex, limit, enableImages, imageTypeLimit, enableImageTypes, enableUserData, sortBy, options).then((request) => request(axios, basePath));
|
|
473
|
+
},
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @summary Gets a list of next up episodes.
|
|
477
|
+
* @param {string} [userId] The user id of the user to get the next up episodes for.
|
|
478
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
479
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
480
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
481
|
+
* @param {string} [seriesId] Optional. Filter by series id.
|
|
482
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
483
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
484
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
485
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
486
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
487
|
+
* @param {string} [nextUpDateCutoff] Optional. Starting date of shows to show in Next Up section.
|
|
488
|
+
* @param {boolean} [enableTotalRecordCount] Whether to enable the total records count. Defaults to true.
|
|
489
|
+
* @param {boolean} [disableFirstEpisode] Whether to disable sending the first episode in a series as next up.
|
|
490
|
+
* @param {boolean} [enableRewatching] Whether to include watched episode in next up results.
|
|
491
|
+
* @param {*} [options] Override http request option.
|
|
492
|
+
* @throws {RequiredError}
|
|
493
|
+
*/
|
|
494
|
+
getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options) {
|
|
495
|
+
return localVarFp.getNextUp(userId, startIndex, limit, fields, seriesId, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, nextUpDateCutoff, enableTotalRecordCount, disableFirstEpisode, enableRewatching, options).then((request) => request(axios, basePath));
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @summary Gets seasons for a tv series.
|
|
500
|
+
* @param {string} seriesId The series id.
|
|
501
|
+
* @param {string} [userId] The user id.
|
|
502
|
+
* @param {Array<ItemFields>} [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, TrailerUrls.
|
|
503
|
+
* @param {boolean} [isSpecialSeason] Optional. Filter by special season.
|
|
504
|
+
* @param {boolean} [isMissing] Optional. Filter by items that are missing episodes or not.
|
|
505
|
+
* @param {string} [adjacentTo] Optional. Return items that are siblings of a supplied item.
|
|
506
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
507
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
508
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
509
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
getSeasons(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options) {
|
|
514
|
+
return localVarFp.getSeasons(seriesId, userId, fields, isSpecialSeason, isMissing, adjacentTo, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options).then((request) => request(axios, basePath));
|
|
515
|
+
},
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @summary Gets a list of upcoming episodes.
|
|
519
|
+
* @param {string} [userId] The user id of the user to get the upcoming episodes for.
|
|
520
|
+
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
521
|
+
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
522
|
+
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
523
|
+
* @param {string} [parentId] Optional. Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
524
|
+
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
525
|
+
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
526
|
+
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
527
|
+
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
getUpcomingEpisodes(userId, startIndex, limit, fields, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options) {
|
|
532
|
+
return localVarFp.getUpcomingEpisodes(userId, startIndex, limit, fields, parentId, enableImages, imageTypeLimit, enableImageTypes, enableUserData, options).then((request) => request(axios, basePath));
|
|
533
|
+
},
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* TvShowsApi - object-oriented interface
|
|
538
|
+
* @export
|
|
539
|
+
* @class TvShowsApi
|
|
540
|
+
* @extends {BaseAPI}
|
|
541
|
+
*/
|
|
542
|
+
export class TvShowsApi extends BaseAPI {
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @summary Gets episodes for a tv season.
|
|
546
|
+
* @param {TvShowsApiGetEpisodesRequest} requestParameters Request parameters.
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
* @memberof TvShowsApi
|
|
550
|
+
*/
|
|
551
|
+
getEpisodes(requestParameters, options) {
|
|
552
|
+
return TvShowsApiFp(this.configuration).getEpisodes(requestParameters.seriesId, requestParameters.userId, requestParameters.fields, requestParameters.season, requestParameters.seasonId, requestParameters.isMissing, requestParameters.adjacentTo, requestParameters.startItemId, requestParameters.startIndex, requestParameters.limit, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, requestParameters.sortBy, options).then((request) => request(this.axios, this.basePath));
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @summary Gets a list of next up episodes.
|
|
557
|
+
* @param {TvShowsApiGetNextUpRequest} requestParameters Request parameters.
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
* @memberof TvShowsApi
|
|
561
|
+
*/
|
|
562
|
+
getNextUp(requestParameters = {}, options) {
|
|
563
|
+
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));
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @summary Gets seasons for a tv series.
|
|
568
|
+
* @param {TvShowsApiGetSeasonsRequest} requestParameters Request parameters.
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
* @memberof TvShowsApi
|
|
572
|
+
*/
|
|
573
|
+
getSeasons(requestParameters, options) {
|
|
574
|
+
return TvShowsApiFp(this.configuration).getSeasons(requestParameters.seriesId, requestParameters.userId, requestParameters.fields, requestParameters.isSpecialSeason, requestParameters.isMissing, requestParameters.adjacentTo, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, options).then((request) => request(this.axios, this.basePath));
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @summary Gets a list of upcoming episodes.
|
|
579
|
+
* @param {TvShowsApiGetUpcomingEpisodesRequest} requestParameters Request parameters.
|
|
580
|
+
* @param {*} [options] Override http request option.
|
|
581
|
+
* @throws {RequiredError}
|
|
582
|
+
* @memberof TvShowsApi
|
|
583
|
+
*/
|
|
584
|
+
getUpcomingEpisodes(requestParameters = {}, options) {
|
|
585
|
+
return TvShowsApiFp(this.configuration).getUpcomingEpisodes(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.fields, requestParameters.parentId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, options).then((request) => request(this.axios, this.basePath));
|
|
586
|
+
}
|
|
587
|
+
}
|