@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,985 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { Configuration } from '../configuration';
|
|
13
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { BaseItemKind } from '../models';
|
|
15
|
+
import { ClientCapabilitiesDto } from '../models';
|
|
16
|
+
import { GeneralCommand } from '../models';
|
|
17
|
+
import { GeneralCommandType } from '../models';
|
|
18
|
+
import { MessageCommand } from '../models';
|
|
19
|
+
import { NameIdPair } from '../models';
|
|
20
|
+
import { PlayCommand } from '../models';
|
|
21
|
+
import { PlaystateCommand } from '../models';
|
|
22
|
+
import { SessionInfo } from '../models';
|
|
23
|
+
/**
|
|
24
|
+
* SessionApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export declare const SessionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @summary Adds an additional user to a session.
|
|
31
|
+
* @param {string} sessionId The session id.
|
|
32
|
+
* @param {string} userId The user id.
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
addUserToSession: (sessionId: string, userId: string, options?: any) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary Instructs a session to browse to an item or view.
|
|
40
|
+
* @param {string} sessionId The session Id.
|
|
41
|
+
* @param {BaseItemKind} itemType The type of item to browse to.
|
|
42
|
+
* @param {string} itemId The Id of the item.
|
|
43
|
+
* @param {string} itemName The name of the item.
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
displayContent: (sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: any) => Promise<RequestArgs>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @summary Get all auth providers.
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
getAuthProviders: (options?: any) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @summary Get all password reset providers.
|
|
58
|
+
* @param {*} [options] Override http request option.
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
*/
|
|
61
|
+
getPasswordResetProviders: (options?: any) => Promise<RequestArgs>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @summary Gets a list of sessions.
|
|
65
|
+
* @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
|
|
66
|
+
* @param {string} [deviceId] Filter by device Id.
|
|
67
|
+
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getSessions: (controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: any) => Promise<RequestArgs>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @summary Instructs a session to play an item.
|
|
75
|
+
* @param {string} sessionId The session id.
|
|
76
|
+
* @param {PlayCommand} playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.
|
|
77
|
+
* @param {Array<string>} itemIds The ids of the items to play, comma delimited.
|
|
78
|
+
* @param {number} [startPositionTicks] The starting position of the first item.
|
|
79
|
+
* @param {string} [mediaSourceId] Optional. The media source id.
|
|
80
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
|
|
81
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
|
|
82
|
+
* @param {number} [startIndex] Optional. The start index.
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
play: (sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: any) => Promise<RequestArgs>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Updates capabilities for a device.
|
|
90
|
+
* @param {string} [id] The session id.
|
|
91
|
+
* @param {Array<string>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
92
|
+
* @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
|
|
93
|
+
* @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
|
|
94
|
+
* @param {boolean} [supportsSync] Determines whether sync is supported.
|
|
95
|
+
* @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
postCapabilities: (id?: string, playableMediaTypes?: Array<string>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options?: any) => Promise<RequestArgs>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary Updates capabilities for a device.
|
|
103
|
+
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
|
104
|
+
* @param {string} [id] The session id.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
postFullCapabilities: (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any) => Promise<RequestArgs>;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @summary Removes an additional user from a session.
|
|
112
|
+
* @param {string} sessionId The session id.
|
|
113
|
+
* @param {string} userId The user id.
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
removeUserFromSession: (sessionId: string, userId: string, options?: any) => Promise<RequestArgs>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary Reports that a session has ended.
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
reportSessionEnded: (options?: any) => Promise<RequestArgs>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @summary Reports that a session is viewing an item.
|
|
128
|
+
* @param {string} itemId The item id.
|
|
129
|
+
* @param {string} [sessionId] The session id.
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
reportViewing: (itemId: string, sessionId?: string, options?: any) => Promise<RequestArgs>;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @summary Issues a full general command to a client.
|
|
137
|
+
* @param {string} sessionId The session id.
|
|
138
|
+
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
sendFullGeneralCommand: (sessionId: string, generalCommand: GeneralCommand, options?: any) => Promise<RequestArgs>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @summary Issues a general command to a client.
|
|
146
|
+
* @param {string} sessionId The session id.
|
|
147
|
+
* @param {GeneralCommandType} command The command to send.
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
sendGeneralCommand: (sessionId: string, command: GeneralCommandType, options?: any) => Promise<RequestArgs>;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @summary Issues a command to a client to display a message to the user.
|
|
155
|
+
* @param {string} sessionId The session id.
|
|
156
|
+
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
sendMessageCommand: (sessionId: string, messageCommand: MessageCommand, options?: any) => Promise<RequestArgs>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary Issues a playstate command to a client.
|
|
164
|
+
* @param {string} sessionId The session id.
|
|
165
|
+
* @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
|
|
166
|
+
* @param {number} [seekPositionTicks] The optional position ticks.
|
|
167
|
+
* @param {string} [controllingUserId] The optional controlling user id.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
sendPlaystateCommand: (sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: any) => Promise<RequestArgs>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Issues a system command to a client.
|
|
175
|
+
* @param {string} sessionId The session id.
|
|
176
|
+
* @param {GeneralCommandType} command The command to send.
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
sendSystemCommand: (sessionId: string, command: GeneralCommandType, options?: any) => Promise<RequestArgs>;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* SessionApi - functional programming interface
|
|
184
|
+
* @export
|
|
185
|
+
*/
|
|
186
|
+
export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary Adds an additional user to a session.
|
|
190
|
+
* @param {string} sessionId The session id.
|
|
191
|
+
* @param {string} userId The user id.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
addUserToSession(sessionId: string, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @summary Instructs a session to browse to an item or view.
|
|
199
|
+
* @param {string} sessionId The session Id.
|
|
200
|
+
* @param {BaseItemKind} itemType The type of item to browse to.
|
|
201
|
+
* @param {string} itemId The Id of the item.
|
|
202
|
+
* @param {string} itemName The name of the item.
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @summary Get all auth providers.
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
getAuthProviders(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @summary Get all password reset providers.
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
getPasswordResetProviders(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @summary Gets a list of sessions.
|
|
224
|
+
* @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
|
|
225
|
+
* @param {string} [deviceId] Filter by device Id.
|
|
226
|
+
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfo>>>;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @summary Instructs a session to play an item.
|
|
234
|
+
* @param {string} sessionId The session id.
|
|
235
|
+
* @param {PlayCommand} playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.
|
|
236
|
+
* @param {Array<string>} itemIds The ids of the items to play, comma delimited.
|
|
237
|
+
* @param {number} [startPositionTicks] The starting position of the first item.
|
|
238
|
+
* @param {string} [mediaSourceId] Optional. The media source id.
|
|
239
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
|
|
240
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
|
|
241
|
+
* @param {number} [startIndex] Optional. The start index.
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Updates capabilities for a device.
|
|
249
|
+
* @param {string} [id] The session id.
|
|
250
|
+
* @param {Array<string>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
251
|
+
* @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
|
|
252
|
+
* @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
|
|
253
|
+
* @param {boolean} [supportsSync] Determines whether sync is supported.
|
|
254
|
+
* @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
postCapabilities(id?: string, playableMediaTypes?: Array<string>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @summary Updates capabilities for a device.
|
|
262
|
+
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
|
263
|
+
* @param {string} [id] The session id.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @summary Removes an additional user from a session.
|
|
271
|
+
* @param {string} sessionId The session id.
|
|
272
|
+
* @param {string} userId The user id.
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
removeUserFromSession(sessionId: string, userId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @summary Reports that a session has ended.
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
reportSessionEnded(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @summary Reports that a session is viewing an item.
|
|
287
|
+
* @param {string} itemId The item id.
|
|
288
|
+
* @param {string} [sessionId] The session id.
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
reportViewing(itemId: string, sessionId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @summary Issues a full general command to a client.
|
|
296
|
+
* @param {string} sessionId The session id.
|
|
297
|
+
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
*/
|
|
301
|
+
sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @summary Issues a general command to a client.
|
|
305
|
+
* @param {string} sessionId The session id.
|
|
306
|
+
* @param {GeneralCommandType} command The command to send.
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @summary Issues a command to a client to display a message to the user.
|
|
314
|
+
* @param {string} sessionId The session id.
|
|
315
|
+
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
316
|
+
* @param {*} [options] Override http request option.
|
|
317
|
+
* @throws {RequiredError}
|
|
318
|
+
*/
|
|
319
|
+
sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @summary Issues a playstate command to a client.
|
|
323
|
+
* @param {string} sessionId The session id.
|
|
324
|
+
* @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
|
|
325
|
+
* @param {number} [seekPositionTicks] The optional position ticks.
|
|
326
|
+
* @param {string} [controllingUserId] The optional controlling user id.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
*/
|
|
330
|
+
sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Issues a system command to a client.
|
|
334
|
+
* @param {string} sessionId The session id.
|
|
335
|
+
* @param {GeneralCommandType} command The command to send.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
*/
|
|
339
|
+
sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* SessionApi - factory interface
|
|
343
|
+
* @export
|
|
344
|
+
*/
|
|
345
|
+
export declare const SessionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
346
|
+
/**
|
|
347
|
+
*
|
|
348
|
+
* @summary Adds an additional user to a session.
|
|
349
|
+
* @param {string} sessionId The session id.
|
|
350
|
+
* @param {string} userId The user id.
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
addUserToSession(sessionId: string, userId: string, options?: any): AxiosPromise<void>;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @summary Instructs a session to browse to an item or view.
|
|
358
|
+
* @param {string} sessionId The session Id.
|
|
359
|
+
* @param {BaseItemKind} itemType The type of item to browse to.
|
|
360
|
+
* @param {string} itemId The Id of the item.
|
|
361
|
+
* @param {string} itemName The name of the item.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: any): AxiosPromise<void>;
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @summary Get all auth providers.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
getAuthProviders(options?: any): AxiosPromise<Array<NameIdPair>>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Get all password reset providers.
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
getPasswordResetProviders(options?: any): AxiosPromise<Array<NameIdPair>>;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @summary Gets a list of sessions.
|
|
383
|
+
* @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
|
|
384
|
+
* @param {string} [deviceId] Filter by device Id.
|
|
385
|
+
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: any): AxiosPromise<Array<SessionInfo>>;
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @summary Instructs a session to play an item.
|
|
393
|
+
* @param {string} sessionId The session id.
|
|
394
|
+
* @param {PlayCommand} playCommand The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.
|
|
395
|
+
* @param {Array<string>} itemIds The ids of the items to play, comma delimited.
|
|
396
|
+
* @param {number} [startPositionTicks] The starting position of the first item.
|
|
397
|
+
* @param {string} [mediaSourceId] Optional. The media source id.
|
|
398
|
+
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
|
|
399
|
+
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
|
|
400
|
+
* @param {number} [startIndex] Optional. The start index.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: any): AxiosPromise<void>;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @summary Updates capabilities for a device.
|
|
408
|
+
* @param {string} [id] The session id.
|
|
409
|
+
* @param {Array<string>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
410
|
+
* @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
|
|
411
|
+
* @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
|
|
412
|
+
* @param {boolean} [supportsSync] Determines whether sync is supported.
|
|
413
|
+
* @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
postCapabilities(id?: string, playableMediaTypes?: Array<string>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsSync?: boolean, supportsPersistentIdentifier?: boolean, options?: any): AxiosPromise<void>;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @summary Updates capabilities for a device.
|
|
421
|
+
* @param {ClientCapabilitiesDto} clientCapabilitiesDto The MediaBrowser.Model.Session.ClientCapabilities.
|
|
422
|
+
* @param {string} [id] The session id.
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: any): AxiosPromise<void>;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @summary Removes an additional user from a session.
|
|
430
|
+
* @param {string} sessionId The session id.
|
|
431
|
+
* @param {string} userId The user id.
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
removeUserFromSession(sessionId: string, userId: string, options?: any): AxiosPromise<void>;
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @summary Reports that a session has ended.
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
*/
|
|
442
|
+
reportSessionEnded(options?: any): AxiosPromise<void>;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @summary Reports that a session is viewing an item.
|
|
446
|
+
* @param {string} itemId The item id.
|
|
447
|
+
* @param {string} [sessionId] The session id.
|
|
448
|
+
* @param {*} [options] Override http request option.
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
*/
|
|
451
|
+
reportViewing(itemId: string, sessionId?: string, options?: any): AxiosPromise<void>;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @summary Issues a full general command to a client.
|
|
455
|
+
* @param {string} sessionId The session id.
|
|
456
|
+
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: any): AxiosPromise<void>;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @summary Issues a general command to a client.
|
|
464
|
+
* @param {string} sessionId The session id.
|
|
465
|
+
* @param {GeneralCommandType} command The command to send.
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: any): AxiosPromise<void>;
|
|
470
|
+
/**
|
|
471
|
+
*
|
|
472
|
+
* @summary Issues a command to a client to display a message to the user.
|
|
473
|
+
* @param {string} sessionId The session id.
|
|
474
|
+
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: any): AxiosPromise<void>;
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @summary Issues a playstate command to a client.
|
|
482
|
+
* @param {string} sessionId The session id.
|
|
483
|
+
* @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
|
|
484
|
+
* @param {number} [seekPositionTicks] The optional position ticks.
|
|
485
|
+
* @param {string} [controllingUserId] The optional controlling user id.
|
|
486
|
+
* @param {*} [options] Override http request option.
|
|
487
|
+
* @throws {RequiredError}
|
|
488
|
+
*/
|
|
489
|
+
sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: any): AxiosPromise<void>;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @summary Issues a system command to a client.
|
|
493
|
+
* @param {string} sessionId The session id.
|
|
494
|
+
* @param {GeneralCommandType} command The command to send.
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: any): AxiosPromise<void>;
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* Request parameters for addUserToSession operation in SessionApi.
|
|
502
|
+
* @export
|
|
503
|
+
* @interface SessionApiAddUserToSessionRequest
|
|
504
|
+
*/
|
|
505
|
+
export interface SessionApiAddUserToSessionRequest {
|
|
506
|
+
/**
|
|
507
|
+
* The session id.
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof SessionApiAddUserToSession
|
|
510
|
+
*/
|
|
511
|
+
readonly sessionId: string;
|
|
512
|
+
/**
|
|
513
|
+
* The user id.
|
|
514
|
+
* @type {string}
|
|
515
|
+
* @memberof SessionApiAddUserToSession
|
|
516
|
+
*/
|
|
517
|
+
readonly userId: string;
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* Request parameters for displayContent operation in SessionApi.
|
|
521
|
+
* @export
|
|
522
|
+
* @interface SessionApiDisplayContentRequest
|
|
523
|
+
*/
|
|
524
|
+
export interface SessionApiDisplayContentRequest {
|
|
525
|
+
/**
|
|
526
|
+
* The session Id.
|
|
527
|
+
* @type {string}
|
|
528
|
+
* @memberof SessionApiDisplayContent
|
|
529
|
+
*/
|
|
530
|
+
readonly sessionId: string;
|
|
531
|
+
/**
|
|
532
|
+
* The type of item to browse to.
|
|
533
|
+
* @type {BaseItemKind}
|
|
534
|
+
* @memberof SessionApiDisplayContent
|
|
535
|
+
*/
|
|
536
|
+
readonly itemType: BaseItemKind;
|
|
537
|
+
/**
|
|
538
|
+
* The Id of the item.
|
|
539
|
+
* @type {string}
|
|
540
|
+
* @memberof SessionApiDisplayContent
|
|
541
|
+
*/
|
|
542
|
+
readonly itemId: string;
|
|
543
|
+
/**
|
|
544
|
+
* The name of the item.
|
|
545
|
+
* @type {string}
|
|
546
|
+
* @memberof SessionApiDisplayContent
|
|
547
|
+
*/
|
|
548
|
+
readonly itemName: string;
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Request parameters for getSessions operation in SessionApi.
|
|
552
|
+
* @export
|
|
553
|
+
* @interface SessionApiGetSessionsRequest
|
|
554
|
+
*/
|
|
555
|
+
export interface SessionApiGetSessionsRequest {
|
|
556
|
+
/**
|
|
557
|
+
* Filter by sessions that a given user is allowed to remote control.
|
|
558
|
+
* @type {string}
|
|
559
|
+
* @memberof SessionApiGetSessions
|
|
560
|
+
*/
|
|
561
|
+
readonly controllableByUserId?: string;
|
|
562
|
+
/**
|
|
563
|
+
* Filter by device Id.
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof SessionApiGetSessions
|
|
566
|
+
*/
|
|
567
|
+
readonly deviceId?: string;
|
|
568
|
+
/**
|
|
569
|
+
* Optional. Filter by sessions that were active in the last n seconds.
|
|
570
|
+
* @type {number}
|
|
571
|
+
* @memberof SessionApiGetSessions
|
|
572
|
+
*/
|
|
573
|
+
readonly activeWithinSeconds?: number;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Request parameters for play operation in SessionApi.
|
|
577
|
+
* @export
|
|
578
|
+
* @interface SessionApiPlayRequest
|
|
579
|
+
*/
|
|
580
|
+
export interface SessionApiPlayRequest {
|
|
581
|
+
/**
|
|
582
|
+
* The session id.
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof SessionApiPlay
|
|
585
|
+
*/
|
|
586
|
+
readonly sessionId: string;
|
|
587
|
+
/**
|
|
588
|
+
* The type of play command to issue (PlayNow, PlayNext, PlayLast). Clients who have not yet implemented play next and play last may play now.
|
|
589
|
+
* @type {PlayCommand}
|
|
590
|
+
* @memberof SessionApiPlay
|
|
591
|
+
*/
|
|
592
|
+
readonly playCommand: PlayCommand;
|
|
593
|
+
/**
|
|
594
|
+
* The ids of the items to play, comma delimited.
|
|
595
|
+
* @type {Array<string>}
|
|
596
|
+
* @memberof SessionApiPlay
|
|
597
|
+
*/
|
|
598
|
+
readonly itemIds: Array<string>;
|
|
599
|
+
/**
|
|
600
|
+
* The starting position of the first item.
|
|
601
|
+
* @type {number}
|
|
602
|
+
* @memberof SessionApiPlay
|
|
603
|
+
*/
|
|
604
|
+
readonly startPositionTicks?: number;
|
|
605
|
+
/**
|
|
606
|
+
* Optional. The media source id.
|
|
607
|
+
* @type {string}
|
|
608
|
+
* @memberof SessionApiPlay
|
|
609
|
+
*/
|
|
610
|
+
readonly mediaSourceId?: string;
|
|
611
|
+
/**
|
|
612
|
+
* Optional. The index of the audio stream to play.
|
|
613
|
+
* @type {number}
|
|
614
|
+
* @memberof SessionApiPlay
|
|
615
|
+
*/
|
|
616
|
+
readonly audioStreamIndex?: number;
|
|
617
|
+
/**
|
|
618
|
+
* Optional. The index of the subtitle stream to play.
|
|
619
|
+
* @type {number}
|
|
620
|
+
* @memberof SessionApiPlay
|
|
621
|
+
*/
|
|
622
|
+
readonly subtitleStreamIndex?: number;
|
|
623
|
+
/**
|
|
624
|
+
* Optional. The start index.
|
|
625
|
+
* @type {number}
|
|
626
|
+
* @memberof SessionApiPlay
|
|
627
|
+
*/
|
|
628
|
+
readonly startIndex?: number;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Request parameters for postCapabilities operation in SessionApi.
|
|
632
|
+
* @export
|
|
633
|
+
* @interface SessionApiPostCapabilitiesRequest
|
|
634
|
+
*/
|
|
635
|
+
export interface SessionApiPostCapabilitiesRequest {
|
|
636
|
+
/**
|
|
637
|
+
* The session id.
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof SessionApiPostCapabilities
|
|
640
|
+
*/
|
|
641
|
+
readonly id?: string;
|
|
642
|
+
/**
|
|
643
|
+
* A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
644
|
+
* @type {Array<string>}
|
|
645
|
+
* @memberof SessionApiPostCapabilities
|
|
646
|
+
*/
|
|
647
|
+
readonly playableMediaTypes?: Array<string>;
|
|
648
|
+
/**
|
|
649
|
+
* A list of supported remote control commands, comma delimited.
|
|
650
|
+
* @type {Array<GeneralCommandType>}
|
|
651
|
+
* @memberof SessionApiPostCapabilities
|
|
652
|
+
*/
|
|
653
|
+
readonly supportedCommands?: Array<GeneralCommandType>;
|
|
654
|
+
/**
|
|
655
|
+
* Determines whether media can be played remotely..
|
|
656
|
+
* @type {boolean}
|
|
657
|
+
* @memberof SessionApiPostCapabilities
|
|
658
|
+
*/
|
|
659
|
+
readonly supportsMediaControl?: boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Determines whether sync is supported.
|
|
662
|
+
* @type {boolean}
|
|
663
|
+
* @memberof SessionApiPostCapabilities
|
|
664
|
+
*/
|
|
665
|
+
readonly supportsSync?: boolean;
|
|
666
|
+
/**
|
|
667
|
+
* Determines whether the device supports a unique identifier.
|
|
668
|
+
* @type {boolean}
|
|
669
|
+
* @memberof SessionApiPostCapabilities
|
|
670
|
+
*/
|
|
671
|
+
readonly supportsPersistentIdentifier?: boolean;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Request parameters for postFullCapabilities operation in SessionApi.
|
|
675
|
+
* @export
|
|
676
|
+
* @interface SessionApiPostFullCapabilitiesRequest
|
|
677
|
+
*/
|
|
678
|
+
export interface SessionApiPostFullCapabilitiesRequest {
|
|
679
|
+
/**
|
|
680
|
+
* The MediaBrowser.Model.Session.ClientCapabilities.
|
|
681
|
+
* @type {ClientCapabilitiesDto}
|
|
682
|
+
* @memberof SessionApiPostFullCapabilities
|
|
683
|
+
*/
|
|
684
|
+
readonly clientCapabilitiesDto: ClientCapabilitiesDto;
|
|
685
|
+
/**
|
|
686
|
+
* The session id.
|
|
687
|
+
* @type {string}
|
|
688
|
+
* @memberof SessionApiPostFullCapabilities
|
|
689
|
+
*/
|
|
690
|
+
readonly id?: string;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Request parameters for removeUserFromSession operation in SessionApi.
|
|
694
|
+
* @export
|
|
695
|
+
* @interface SessionApiRemoveUserFromSessionRequest
|
|
696
|
+
*/
|
|
697
|
+
export interface SessionApiRemoveUserFromSessionRequest {
|
|
698
|
+
/**
|
|
699
|
+
* The session id.
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof SessionApiRemoveUserFromSession
|
|
702
|
+
*/
|
|
703
|
+
readonly sessionId: string;
|
|
704
|
+
/**
|
|
705
|
+
* The user id.
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof SessionApiRemoveUserFromSession
|
|
708
|
+
*/
|
|
709
|
+
readonly userId: string;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* Request parameters for reportViewing operation in SessionApi.
|
|
713
|
+
* @export
|
|
714
|
+
* @interface SessionApiReportViewingRequest
|
|
715
|
+
*/
|
|
716
|
+
export interface SessionApiReportViewingRequest {
|
|
717
|
+
/**
|
|
718
|
+
* The item id.
|
|
719
|
+
* @type {string}
|
|
720
|
+
* @memberof SessionApiReportViewing
|
|
721
|
+
*/
|
|
722
|
+
readonly itemId: string;
|
|
723
|
+
/**
|
|
724
|
+
* The session id.
|
|
725
|
+
* @type {string}
|
|
726
|
+
* @memberof SessionApiReportViewing
|
|
727
|
+
*/
|
|
728
|
+
readonly sessionId?: string;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Request parameters for sendFullGeneralCommand operation in SessionApi.
|
|
732
|
+
* @export
|
|
733
|
+
* @interface SessionApiSendFullGeneralCommandRequest
|
|
734
|
+
*/
|
|
735
|
+
export interface SessionApiSendFullGeneralCommandRequest {
|
|
736
|
+
/**
|
|
737
|
+
* The session id.
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof SessionApiSendFullGeneralCommand
|
|
740
|
+
*/
|
|
741
|
+
readonly sessionId: string;
|
|
742
|
+
/**
|
|
743
|
+
* The MediaBrowser.Model.Session.GeneralCommand.
|
|
744
|
+
* @type {GeneralCommand}
|
|
745
|
+
* @memberof SessionApiSendFullGeneralCommand
|
|
746
|
+
*/
|
|
747
|
+
readonly generalCommand: GeneralCommand;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Request parameters for sendGeneralCommand operation in SessionApi.
|
|
751
|
+
* @export
|
|
752
|
+
* @interface SessionApiSendGeneralCommandRequest
|
|
753
|
+
*/
|
|
754
|
+
export interface SessionApiSendGeneralCommandRequest {
|
|
755
|
+
/**
|
|
756
|
+
* The session id.
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @memberof SessionApiSendGeneralCommand
|
|
759
|
+
*/
|
|
760
|
+
readonly sessionId: string;
|
|
761
|
+
/**
|
|
762
|
+
* The command to send.
|
|
763
|
+
* @type {GeneralCommandType}
|
|
764
|
+
* @memberof SessionApiSendGeneralCommand
|
|
765
|
+
*/
|
|
766
|
+
readonly command: GeneralCommandType;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Request parameters for sendMessageCommand operation in SessionApi.
|
|
770
|
+
* @export
|
|
771
|
+
* @interface SessionApiSendMessageCommandRequest
|
|
772
|
+
*/
|
|
773
|
+
export interface SessionApiSendMessageCommandRequest {
|
|
774
|
+
/**
|
|
775
|
+
* The session id.
|
|
776
|
+
* @type {string}
|
|
777
|
+
* @memberof SessionApiSendMessageCommand
|
|
778
|
+
*/
|
|
779
|
+
readonly sessionId: string;
|
|
780
|
+
/**
|
|
781
|
+
* The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
782
|
+
* @type {MessageCommand}
|
|
783
|
+
* @memberof SessionApiSendMessageCommand
|
|
784
|
+
*/
|
|
785
|
+
readonly messageCommand: MessageCommand;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Request parameters for sendPlaystateCommand operation in SessionApi.
|
|
789
|
+
* @export
|
|
790
|
+
* @interface SessionApiSendPlaystateCommandRequest
|
|
791
|
+
*/
|
|
792
|
+
export interface SessionApiSendPlaystateCommandRequest {
|
|
793
|
+
/**
|
|
794
|
+
* The session id.
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @memberof SessionApiSendPlaystateCommand
|
|
797
|
+
*/
|
|
798
|
+
readonly sessionId: string;
|
|
799
|
+
/**
|
|
800
|
+
* The MediaBrowser.Model.Session.PlaystateCommand.
|
|
801
|
+
* @type {PlaystateCommand}
|
|
802
|
+
* @memberof SessionApiSendPlaystateCommand
|
|
803
|
+
*/
|
|
804
|
+
readonly command: PlaystateCommand;
|
|
805
|
+
/**
|
|
806
|
+
* The optional position ticks.
|
|
807
|
+
* @type {number}
|
|
808
|
+
* @memberof SessionApiSendPlaystateCommand
|
|
809
|
+
*/
|
|
810
|
+
readonly seekPositionTicks?: number;
|
|
811
|
+
/**
|
|
812
|
+
* The optional controlling user id.
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof SessionApiSendPlaystateCommand
|
|
815
|
+
*/
|
|
816
|
+
readonly controllingUserId?: string;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Request parameters for sendSystemCommand operation in SessionApi.
|
|
820
|
+
* @export
|
|
821
|
+
* @interface SessionApiSendSystemCommandRequest
|
|
822
|
+
*/
|
|
823
|
+
export interface SessionApiSendSystemCommandRequest {
|
|
824
|
+
/**
|
|
825
|
+
* The session id.
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof SessionApiSendSystemCommand
|
|
828
|
+
*/
|
|
829
|
+
readonly sessionId: string;
|
|
830
|
+
/**
|
|
831
|
+
* The command to send.
|
|
832
|
+
* @type {GeneralCommandType}
|
|
833
|
+
* @memberof SessionApiSendSystemCommand
|
|
834
|
+
*/
|
|
835
|
+
readonly command: GeneralCommandType;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* SessionApi - object-oriented interface
|
|
839
|
+
* @export
|
|
840
|
+
* @class SessionApi
|
|
841
|
+
* @extends {BaseAPI}
|
|
842
|
+
*/
|
|
843
|
+
export declare class SessionApi extends BaseAPI {
|
|
844
|
+
/**
|
|
845
|
+
*
|
|
846
|
+
* @summary Adds an additional user to a session.
|
|
847
|
+
* @param {SessionApiAddUserToSessionRequest} requestParameters Request parameters.
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
* @memberof SessionApi
|
|
851
|
+
*/
|
|
852
|
+
addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
853
|
+
/**
|
|
854
|
+
*
|
|
855
|
+
* @summary Instructs a session to browse to an item or view.
|
|
856
|
+
* @param {SessionApiDisplayContentRequest} requestParameters Request parameters.
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
* @memberof SessionApi
|
|
860
|
+
*/
|
|
861
|
+
displayContent(requestParameters: SessionApiDisplayContentRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @summary Get all auth providers.
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
* @memberof SessionApi
|
|
868
|
+
*/
|
|
869
|
+
getAuthProviders(options?: any): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
|
|
870
|
+
/**
|
|
871
|
+
*
|
|
872
|
+
* @summary Get all password reset providers.
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
* @memberof SessionApi
|
|
876
|
+
*/
|
|
877
|
+
getPasswordResetProviders(options?: any): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @summary Gets a list of sessions.
|
|
881
|
+
* @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
* @memberof SessionApi
|
|
885
|
+
*/
|
|
886
|
+
getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: any): Promise<import("axios").AxiosResponse<SessionInfo[], any>>;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @summary Instructs a session to play an item.
|
|
890
|
+
* @param {SessionApiPlayRequest} requestParameters Request parameters.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof SessionApi
|
|
894
|
+
*/
|
|
895
|
+
play(requestParameters: SessionApiPlayRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @summary Updates capabilities for a device.
|
|
899
|
+
* @param {SessionApiPostCapabilitiesRequest} requestParameters Request parameters.
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
* @memberof SessionApi
|
|
903
|
+
*/
|
|
904
|
+
postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @summary Updates capabilities for a device.
|
|
908
|
+
* @param {SessionApiPostFullCapabilitiesRequest} requestParameters Request parameters.
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
* @memberof SessionApi
|
|
912
|
+
*/
|
|
913
|
+
postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @summary Removes an additional user from a session.
|
|
917
|
+
* @param {SessionApiRemoveUserFromSessionRequest} requestParameters Request parameters.
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
* @memberof SessionApi
|
|
921
|
+
*/
|
|
922
|
+
removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @summary Reports that a session has ended.
|
|
926
|
+
* @param {*} [options] Override http request option.
|
|
927
|
+
* @throws {RequiredError}
|
|
928
|
+
* @memberof SessionApi
|
|
929
|
+
*/
|
|
930
|
+
reportSessionEnded(options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @summary Reports that a session is viewing an item.
|
|
934
|
+
* @param {SessionApiReportViewingRequest} requestParameters Request parameters.
|
|
935
|
+
* @param {*} [options] Override http request option.
|
|
936
|
+
* @throws {RequiredError}
|
|
937
|
+
* @memberof SessionApi
|
|
938
|
+
*/
|
|
939
|
+
reportViewing(requestParameters: SessionApiReportViewingRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @summary Issues a full general command to a client.
|
|
943
|
+
* @param {SessionApiSendFullGeneralCommandRequest} requestParameters Request parameters.
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
* @memberof SessionApi
|
|
947
|
+
*/
|
|
948
|
+
sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @summary Issues a general command to a client.
|
|
952
|
+
* @param {SessionApiSendGeneralCommandRequest} requestParameters Request parameters.
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
* @memberof SessionApi
|
|
956
|
+
*/
|
|
957
|
+
sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @summary Issues a command to a client to display a message to the user.
|
|
961
|
+
* @param {SessionApiSendMessageCommandRequest} requestParameters Request parameters.
|
|
962
|
+
* @param {*} [options] Override http request option.
|
|
963
|
+
* @throws {RequiredError}
|
|
964
|
+
* @memberof SessionApi
|
|
965
|
+
*/
|
|
966
|
+
sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @summary Issues a playstate command to a client.
|
|
970
|
+
* @param {SessionApiSendPlaystateCommandRequest} requestParameters Request parameters.
|
|
971
|
+
* @param {*} [options] Override http request option.
|
|
972
|
+
* @throws {RequiredError}
|
|
973
|
+
* @memberof SessionApi
|
|
974
|
+
*/
|
|
975
|
+
sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @summary Issues a system command to a client.
|
|
979
|
+
* @param {SessionApiSendSystemCommandRequest} requestParameters Request parameters.
|
|
980
|
+
* @param {*} [options] Override http request option.
|
|
981
|
+
* @throws {RequiredError}
|
|
982
|
+
* @memberof SessionApi
|
|
983
|
+
*/
|
|
984
|
+
sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: any): Promise<import("axios").AxiosResponse<void, any>>;
|
|
985
|
+
}
|