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