@jellyfin/sdk 0.10.0 → 0.11.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/README.md +5 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +93 -245
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +30 -16
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +15 -9
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +36 -22
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +15 -14
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +34 -18
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +15 -27
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +36 -28
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +269 -596
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +8 -9
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +38 -122
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +212 -142
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +273 -258
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +45 -30
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +45 -52
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +15 -27
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +37 -23
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +15 -22
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +137 -63
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +64 -63
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +23 -12
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +38 -17
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +15 -26
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +68 -69
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +133 -70
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +44 -14
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +29 -62
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +93 -56
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +15 -24
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
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 { MediaType } from '../models';
|
|
19
|
-
import { MessageCommand } from '../models';
|
|
20
|
-
import { NameIdPair } from '../models';
|
|
21
|
-
import { PlayCommand } from '../models';
|
|
22
|
-
import { PlaystateCommand } from '../models';
|
|
23
|
-
import {
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { BaseItemKind } from '../models';
|
|
15
|
+
import type { ClientCapabilitiesDto } from '../models';
|
|
16
|
+
import type { GeneralCommand } from '../models';
|
|
17
|
+
import type { GeneralCommandType } from '../models';
|
|
18
|
+
import type { MediaType } from '../models';
|
|
19
|
+
import type { MessageCommand } from '../models';
|
|
20
|
+
import type { NameIdPair } from '../models';
|
|
21
|
+
import type { PlayCommand } from '../models';
|
|
22
|
+
import type { PlaystateCommand } from '../models';
|
|
23
|
+
import type { SessionInfoDto } from '../models';
|
|
24
24
|
/**
|
|
25
25
|
* SessionApi - axios parameter creator
|
|
26
26
|
* @export
|
|
@@ -34,7 +34,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
addUserToSession: (sessionId: string, userId: string, options?:
|
|
37
|
+
addUserToSession: (sessionId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Instructs a session to browse to an item or view.
|
|
@@ -45,21 +45,21 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
displayContent: (sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?:
|
|
48
|
+
displayContent: (sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @summary Get all auth providers.
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
55
|
-
getAuthProviders: (options?:
|
|
55
|
+
getAuthProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @summary Get all password reset providers.
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
getPasswordResetProviders: (options?:
|
|
62
|
+
getPasswordResetProviders: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @summary Gets a list of sessions.
|
|
@@ -69,7 +69,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
getSessions: (controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?:
|
|
72
|
+
getSessions: (controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @summary Instructs a session to play an item.
|
|
@@ -84,7 +84,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
play: (sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?:
|
|
87
|
+
play: (sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @summary Updates capabilities for a device.
|
|
@@ -96,7 +96,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
postCapabilities: (id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?:
|
|
99
|
+
postCapabilities: (id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @summary Updates capabilities for a device.
|
|
@@ -105,7 +105,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
postFullCapabilities: (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?:
|
|
108
|
+
postFullCapabilities: (clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @summary Removes an additional user from a session.
|
|
@@ -114,14 +114,14 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
removeUserFromSession: (sessionId: string, userId: string, options?:
|
|
117
|
+
removeUserFromSession: (sessionId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
120
|
* @summary Reports that a session has ended.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
reportSessionEnded: (options?:
|
|
124
|
+
reportSessionEnded: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
* @summary Reports that a session is viewing an item.
|
|
@@ -130,7 +130,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
133
|
-
reportViewing: (itemId: string, sessionId?: string, options?:
|
|
133
|
+
reportViewing: (itemId: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
136
|
* @summary Issues a full general command to a client.
|
|
@@ -139,7 +139,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
139
139
|
* @param {*} [options] Override http request option.
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
142
|
-
sendFullGeneralCommand: (sessionId: string, generalCommand: GeneralCommand, options?:
|
|
142
|
+
sendFullGeneralCommand: (sessionId: string, generalCommand: GeneralCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
143
|
/**
|
|
144
144
|
*
|
|
145
145
|
* @summary Issues a general command to a client.
|
|
@@ -148,7 +148,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
sendGeneralCommand: (sessionId: string, command: GeneralCommandType, options?:
|
|
151
|
+
sendGeneralCommand: (sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @summary Issues a command to a client to display a message to the user.
|
|
@@ -157,7 +157,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
sendMessageCommand: (sessionId: string, messageCommand: MessageCommand, options?:
|
|
160
|
+
sendMessageCommand: (sessionId: string, messageCommand: MessageCommand, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @summary Issues a playstate command to a client.
|
|
@@ -168,7 +168,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
171
|
-
sendPlaystateCommand: (sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?:
|
|
171
|
+
sendPlaystateCommand: (sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
172
172
|
/**
|
|
173
173
|
*
|
|
174
174
|
* @summary Issues a system command to a client.
|
|
@@ -177,7 +177,7 @@ export declare const SessionApiAxiosParamCreator: (configuration?: Configuration
|
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
178
178
|
* @throws {RequiredError}
|
|
179
179
|
*/
|
|
180
|
-
sendSystemCommand: (sessionId: string, command: GeneralCommandType, options?:
|
|
180
|
+
sendSystemCommand: (sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
181
181
|
};
|
|
182
182
|
/**
|
|
183
183
|
* SessionApi - functional programming interface
|
|
@@ -192,7 +192,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
195
|
-
addUserToSession(sessionId: string, userId: string, options?:
|
|
195
|
+
addUserToSession(sessionId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
196
196
|
/**
|
|
197
197
|
*
|
|
198
198
|
* @summary Instructs a session to browse to an item or view.
|
|
@@ -203,21 +203,21 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
205
|
*/
|
|
206
|
-
displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?:
|
|
206
|
+
displayContent(sessionId: string, itemType: BaseItemKind, itemId: string, itemName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
207
207
|
/**
|
|
208
208
|
*
|
|
209
209
|
* @summary Get all auth providers.
|
|
210
210
|
* @param {*} [options] Override http request option.
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
*/
|
|
213
|
-
getAuthProviders(options?:
|
|
213
|
+
getAuthProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
|
|
214
214
|
/**
|
|
215
215
|
*
|
|
216
216
|
* @summary Get all password reset providers.
|
|
217
217
|
* @param {*} [options] Override http request option.
|
|
218
218
|
* @throws {RequiredError}
|
|
219
219
|
*/
|
|
220
|
-
getPasswordResetProviders(options?:
|
|
220
|
+
getPasswordResetProviders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NameIdPair>>>;
|
|
221
221
|
/**
|
|
222
222
|
*
|
|
223
223
|
* @summary Gets a list of sessions.
|
|
@@ -227,7 +227,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
230
|
-
getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?:
|
|
230
|
+
getSessions(controllableByUserId?: string, deviceId?: string, activeWithinSeconds?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SessionInfoDto>>>;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
233
|
* @summary Instructs a session to play an item.
|
|
@@ -242,7 +242,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
243
243
|
* @throws {RequiredError}
|
|
244
244
|
*/
|
|
245
|
-
play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?:
|
|
245
|
+
play(sessionId: string, playCommand: PlayCommand, itemIds: Array<string>, startPositionTicks?: number, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, startIndex?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
246
246
|
/**
|
|
247
247
|
*
|
|
248
248
|
* @summary Updates capabilities for a device.
|
|
@@ -254,7 +254,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
254
254
|
* @param {*} [options] Override http request option.
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
*/
|
|
257
|
-
postCapabilities(id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?:
|
|
257
|
+
postCapabilities(id?: string, playableMediaTypes?: Array<MediaType>, supportedCommands?: Array<GeneralCommandType>, supportsMediaControl?: boolean, supportsPersistentIdentifier?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
258
258
|
/**
|
|
259
259
|
*
|
|
260
260
|
* @summary Updates capabilities for a device.
|
|
@@ -263,7 +263,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
263
263
|
* @param {*} [options] Override http request option.
|
|
264
264
|
* @throws {RequiredError}
|
|
265
265
|
*/
|
|
266
|
-
postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?:
|
|
266
|
+
postFullCapabilities(clientCapabilitiesDto: ClientCapabilitiesDto, id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
267
267
|
/**
|
|
268
268
|
*
|
|
269
269
|
* @summary Removes an additional user from a session.
|
|
@@ -272,14 +272,14 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
removeUserFromSession(sessionId: string, userId: string, options?:
|
|
275
|
+
removeUserFromSession(sessionId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
278
|
* @summary Reports that a session has ended.
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
reportSessionEnded(options?:
|
|
282
|
+
reportSessionEnded(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
283
283
|
/**
|
|
284
284
|
*
|
|
285
285
|
* @summary Reports that a session is viewing an item.
|
|
@@ -288,7 +288,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
288
288
|
* @param {*} [options] Override http request option.
|
|
289
289
|
* @throws {RequiredError}
|
|
290
290
|
*/
|
|
291
|
-
reportViewing(itemId: string, sessionId?: string, options?:
|
|
291
|
+
reportViewing(itemId: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
292
292
|
/**
|
|
293
293
|
*
|
|
294
294
|
* @summary Issues a full general command to a client.
|
|
@@ -297,7 +297,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
297
297
|
* @param {*} [options] Override http request option.
|
|
298
298
|
* @throws {RequiredError}
|
|
299
299
|
*/
|
|
300
|
-
sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?:
|
|
300
|
+
sendFullGeneralCommand(sessionId: string, generalCommand: GeneralCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
301
301
|
/**
|
|
302
302
|
*
|
|
303
303
|
* @summary Issues a general command to a client.
|
|
@@ -306,7 +306,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
306
306
|
* @param {*} [options] Override http request option.
|
|
307
307
|
* @throws {RequiredError}
|
|
308
308
|
*/
|
|
309
|
-
sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?:
|
|
309
|
+
sendGeneralCommand(sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
310
310
|
/**
|
|
311
311
|
*
|
|
312
312
|
* @summary Issues a command to a client to display a message to the user.
|
|
@@ -315,7 +315,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?:
|
|
318
|
+
sendMessageCommand(sessionId: string, messageCommand: MessageCommand, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
319
319
|
/**
|
|
320
320
|
*
|
|
321
321
|
* @summary Issues a playstate command to a client.
|
|
@@ -326,7 +326,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
*/
|
|
329
|
-
sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?:
|
|
329
|
+
sendPlaystateCommand(sessionId: string, command: PlaystateCommand, seekPositionTicks?: number, controllingUserId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
330
330
|
/**
|
|
331
331
|
*
|
|
332
332
|
* @summary Issues a system command to a client.
|
|
@@ -335,7 +335,7 @@ export declare const SessionApiFp: (configuration?: Configuration) => {
|
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
sendSystemCommand(sessionId: string, command: GeneralCommandType, options?:
|
|
338
|
+
sendSystemCommand(sessionId: string, command: GeneralCommandType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
339
339
|
};
|
|
340
340
|
/**
|
|
341
341
|
* SessionApi - factory interface
|
|
@@ -345,155 +345,128 @@ export declare const SessionApiFactory: (configuration?: Configuration, basePath
|
|
|
345
345
|
/**
|
|
346
346
|
*
|
|
347
347
|
* @summary Adds an additional user to a session.
|
|
348
|
-
* @param {
|
|
349
|
-
* @param {string} userId The user id.
|
|
348
|
+
* @param {SessionApiAddUserToSessionRequest} requestParameters Request parameters.
|
|
350
349
|
* @param {*} [options] Override http request option.
|
|
351
350
|
* @throws {RequiredError}
|
|
352
351
|
*/
|
|
353
|
-
addUserToSession(
|
|
352
|
+
addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
354
353
|
/**
|
|
355
354
|
*
|
|
356
355
|
* @summary Instructs a session to browse to an item or view.
|
|
357
|
-
* @param {
|
|
358
|
-
* @param {BaseItemKind} itemType The type of item to browse to.
|
|
359
|
-
* @param {string} itemId The Id of the item.
|
|
360
|
-
* @param {string} itemName The name of the item.
|
|
356
|
+
* @param {SessionApiDisplayContentRequest} requestParameters Request parameters.
|
|
361
357
|
* @param {*} [options] Override http request option.
|
|
362
358
|
* @throws {RequiredError}
|
|
363
359
|
*/
|
|
364
|
-
displayContent(
|
|
360
|
+
displayContent(requestParameters: SessionApiDisplayContentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
365
361
|
/**
|
|
366
362
|
*
|
|
367
363
|
* @summary Get all auth providers.
|
|
368
364
|
* @param {*} [options] Override http request option.
|
|
369
365
|
* @throws {RequiredError}
|
|
370
366
|
*/
|
|
371
|
-
getAuthProviders(options?:
|
|
367
|
+
getAuthProviders(options?: RawAxiosRequestConfig): AxiosPromise<Array<NameIdPair>>;
|
|
372
368
|
/**
|
|
373
369
|
*
|
|
374
370
|
* @summary Get all password reset providers.
|
|
375
371
|
* @param {*} [options] Override http request option.
|
|
376
372
|
* @throws {RequiredError}
|
|
377
373
|
*/
|
|
378
|
-
getPasswordResetProviders(options?:
|
|
374
|
+
getPasswordResetProviders(options?: RawAxiosRequestConfig): AxiosPromise<Array<NameIdPair>>;
|
|
379
375
|
/**
|
|
380
376
|
*
|
|
381
377
|
* @summary Gets a list of sessions.
|
|
382
|
-
* @param {
|
|
383
|
-
* @param {string} [deviceId] Filter by device Id.
|
|
384
|
-
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
378
|
+
* @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
|
|
385
379
|
* @param {*} [options] Override http request option.
|
|
386
380
|
* @throws {RequiredError}
|
|
387
381
|
*/
|
|
388
|
-
getSessions(
|
|
382
|
+
getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SessionInfoDto>>;
|
|
389
383
|
/**
|
|
390
384
|
*
|
|
391
385
|
* @summary Instructs a session to play an item.
|
|
392
|
-
* @param {
|
|
393
|
-
* @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.
|
|
394
|
-
* @param {Array<string>} itemIds The ids of the items to play, comma delimited.
|
|
395
|
-
* @param {number} [startPositionTicks] The starting position of the first item.
|
|
396
|
-
* @param {string} [mediaSourceId] Optional. The media source id.
|
|
397
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
|
|
398
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
|
|
399
|
-
* @param {number} [startIndex] Optional. The start index.
|
|
386
|
+
* @param {SessionApiPlayRequest} requestParameters Request parameters.
|
|
400
387
|
* @param {*} [options] Override http request option.
|
|
401
388
|
* @throws {RequiredError}
|
|
402
389
|
*/
|
|
403
|
-
play(
|
|
390
|
+
play(requestParameters: SessionApiPlayRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
404
391
|
/**
|
|
405
392
|
*
|
|
406
393
|
* @summary Updates capabilities for a device.
|
|
407
|
-
* @param {
|
|
408
|
-
* @param {Array<MediaType>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
409
|
-
* @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
|
|
410
|
-
* @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
|
|
411
|
-
* @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
|
|
394
|
+
* @param {SessionApiPostCapabilitiesRequest} requestParameters Request parameters.
|
|
412
395
|
* @param {*} [options] Override http request option.
|
|
413
396
|
* @throws {RequiredError}
|
|
414
397
|
*/
|
|
415
|
-
postCapabilities(
|
|
398
|
+
postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
416
399
|
/**
|
|
417
400
|
*
|
|
418
401
|
* @summary Updates capabilities for a device.
|
|
419
|
-
* @param {
|
|
420
|
-
* @param {string} [id] The session id.
|
|
402
|
+
* @param {SessionApiPostFullCapabilitiesRequest} requestParameters Request parameters.
|
|
421
403
|
* @param {*} [options] Override http request option.
|
|
422
404
|
* @throws {RequiredError}
|
|
423
405
|
*/
|
|
424
|
-
postFullCapabilities(
|
|
406
|
+
postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
425
407
|
/**
|
|
426
408
|
*
|
|
427
409
|
* @summary Removes an additional user from a session.
|
|
428
|
-
* @param {
|
|
429
|
-
* @param {string} userId The user id.
|
|
410
|
+
* @param {SessionApiRemoveUserFromSessionRequest} requestParameters Request parameters.
|
|
430
411
|
* @param {*} [options] Override http request option.
|
|
431
412
|
* @throws {RequiredError}
|
|
432
413
|
*/
|
|
433
|
-
removeUserFromSession(
|
|
414
|
+
removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
434
415
|
/**
|
|
435
416
|
*
|
|
436
417
|
* @summary Reports that a session has ended.
|
|
437
418
|
* @param {*} [options] Override http request option.
|
|
438
419
|
* @throws {RequiredError}
|
|
439
420
|
*/
|
|
440
|
-
reportSessionEnded(options?:
|
|
421
|
+
reportSessionEnded(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
441
422
|
/**
|
|
442
423
|
*
|
|
443
424
|
* @summary Reports that a session is viewing an item.
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {string} [sessionId] The session id.
|
|
425
|
+
* @param {SessionApiReportViewingRequest} requestParameters Request parameters.
|
|
446
426
|
* @param {*} [options] Override http request option.
|
|
447
427
|
* @throws {RequiredError}
|
|
448
428
|
*/
|
|
449
|
-
reportViewing(
|
|
429
|
+
reportViewing(requestParameters: SessionApiReportViewingRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
450
430
|
/**
|
|
451
431
|
*
|
|
452
432
|
* @summary Issues a full general command to a client.
|
|
453
|
-
* @param {
|
|
454
|
-
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
|
433
|
+
* @param {SessionApiSendFullGeneralCommandRequest} requestParameters Request parameters.
|
|
455
434
|
* @param {*} [options] Override http request option.
|
|
456
435
|
* @throws {RequiredError}
|
|
457
436
|
*/
|
|
458
|
-
sendFullGeneralCommand(
|
|
437
|
+
sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
459
438
|
/**
|
|
460
439
|
*
|
|
461
440
|
* @summary Issues a general command to a client.
|
|
462
|
-
* @param {
|
|
463
|
-
* @param {GeneralCommandType} command The command to send.
|
|
441
|
+
* @param {SessionApiSendGeneralCommandRequest} requestParameters Request parameters.
|
|
464
442
|
* @param {*} [options] Override http request option.
|
|
465
443
|
* @throws {RequiredError}
|
|
466
444
|
*/
|
|
467
|
-
sendGeneralCommand(
|
|
445
|
+
sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
468
446
|
/**
|
|
469
447
|
*
|
|
470
448
|
* @summary Issues a command to a client to display a message to the user.
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
449
|
+
* @param {SessionApiSendMessageCommandRequest} requestParameters Request parameters.
|
|
473
450
|
* @param {*} [options] Override http request option.
|
|
474
451
|
* @throws {RequiredError}
|
|
475
452
|
*/
|
|
476
|
-
sendMessageCommand(
|
|
453
|
+
sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
477
454
|
/**
|
|
478
455
|
*
|
|
479
456
|
* @summary Issues a playstate command to a client.
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
|
|
482
|
-
* @param {number} [seekPositionTicks] The optional position ticks.
|
|
483
|
-
* @param {string} [controllingUserId] The optional controlling user id.
|
|
457
|
+
* @param {SessionApiSendPlaystateCommandRequest} requestParameters Request parameters.
|
|
484
458
|
* @param {*} [options] Override http request option.
|
|
485
459
|
* @throws {RequiredError}
|
|
486
460
|
*/
|
|
487
|
-
sendPlaystateCommand(
|
|
461
|
+
sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
488
462
|
/**
|
|
489
463
|
*
|
|
490
464
|
* @summary Issues a system command to a client.
|
|
491
|
-
* @param {
|
|
492
|
-
* @param {GeneralCommandType} command The command to send.
|
|
465
|
+
* @param {SessionApiSendSystemCommandRequest} requestParameters Request parameters.
|
|
493
466
|
* @param {*} [options] Override http request option.
|
|
494
467
|
* @throws {RequiredError}
|
|
495
468
|
*/
|
|
496
|
-
sendSystemCommand(
|
|
469
|
+
sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
497
470
|
};
|
|
498
471
|
/**
|
|
499
472
|
* Request parameters for addUserToSession operation in SessionApi.
|
|
@@ -841,7 +814,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
841
814
|
* @throws {RequiredError}
|
|
842
815
|
* @memberof SessionApi
|
|
843
816
|
*/
|
|
844
|
-
addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?:
|
|
817
|
+
addUserToSession(requestParameters: SessionApiAddUserToSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
845
818
|
/**
|
|
846
819
|
*
|
|
847
820
|
* @summary Instructs a session to browse to an item or view.
|
|
@@ -850,7 +823,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
850
823
|
* @throws {RequiredError}
|
|
851
824
|
* @memberof SessionApi
|
|
852
825
|
*/
|
|
853
|
-
displayContent(requestParameters: SessionApiDisplayContentRequest, options?:
|
|
826
|
+
displayContent(requestParameters: SessionApiDisplayContentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
854
827
|
/**
|
|
855
828
|
*
|
|
856
829
|
* @summary Get all auth providers.
|
|
@@ -858,7 +831,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
858
831
|
* @throws {RequiredError}
|
|
859
832
|
* @memberof SessionApi
|
|
860
833
|
*/
|
|
861
|
-
getAuthProviders(options?:
|
|
834
|
+
getAuthProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
|
|
862
835
|
/**
|
|
863
836
|
*
|
|
864
837
|
* @summary Get all password reset providers.
|
|
@@ -866,7 +839,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
866
839
|
* @throws {RequiredError}
|
|
867
840
|
* @memberof SessionApi
|
|
868
841
|
*/
|
|
869
|
-
getPasswordResetProviders(options?:
|
|
842
|
+
getPasswordResetProviders(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
|
|
870
843
|
/**
|
|
871
844
|
*
|
|
872
845
|
* @summary Gets a list of sessions.
|
|
@@ -875,7 +848,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
875
848
|
* @throws {RequiredError}
|
|
876
849
|
* @memberof SessionApi
|
|
877
850
|
*/
|
|
878
|
-
getSessions(requestParameters?: SessionApiGetSessionsRequest, options?:
|
|
851
|
+
getSessions(requestParameters?: SessionApiGetSessionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionInfoDto[], any>>;
|
|
879
852
|
/**
|
|
880
853
|
*
|
|
881
854
|
* @summary Instructs a session to play an item.
|
|
@@ -884,7 +857,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
884
857
|
* @throws {RequiredError}
|
|
885
858
|
* @memberof SessionApi
|
|
886
859
|
*/
|
|
887
|
-
play(requestParameters: SessionApiPlayRequest, options?:
|
|
860
|
+
play(requestParameters: SessionApiPlayRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
888
861
|
/**
|
|
889
862
|
*
|
|
890
863
|
* @summary Updates capabilities for a device.
|
|
@@ -893,7 +866,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
893
866
|
* @throws {RequiredError}
|
|
894
867
|
* @memberof SessionApi
|
|
895
868
|
*/
|
|
896
|
-
postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?:
|
|
869
|
+
postCapabilities(requestParameters?: SessionApiPostCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
897
870
|
/**
|
|
898
871
|
*
|
|
899
872
|
* @summary Updates capabilities for a device.
|
|
@@ -902,7 +875,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
902
875
|
* @throws {RequiredError}
|
|
903
876
|
* @memberof SessionApi
|
|
904
877
|
*/
|
|
905
|
-
postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?:
|
|
878
|
+
postFullCapabilities(requestParameters: SessionApiPostFullCapabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
906
879
|
/**
|
|
907
880
|
*
|
|
908
881
|
* @summary Removes an additional user from a session.
|
|
@@ -911,7 +884,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
911
884
|
* @throws {RequiredError}
|
|
912
885
|
* @memberof SessionApi
|
|
913
886
|
*/
|
|
914
|
-
removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?:
|
|
887
|
+
removeUserFromSession(requestParameters: SessionApiRemoveUserFromSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
915
888
|
/**
|
|
916
889
|
*
|
|
917
890
|
* @summary Reports that a session has ended.
|
|
@@ -919,7 +892,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
919
892
|
* @throws {RequiredError}
|
|
920
893
|
* @memberof SessionApi
|
|
921
894
|
*/
|
|
922
|
-
reportSessionEnded(options?:
|
|
895
|
+
reportSessionEnded(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
923
896
|
/**
|
|
924
897
|
*
|
|
925
898
|
* @summary Reports that a session is viewing an item.
|
|
@@ -928,7 +901,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
928
901
|
* @throws {RequiredError}
|
|
929
902
|
* @memberof SessionApi
|
|
930
903
|
*/
|
|
931
|
-
reportViewing(requestParameters: SessionApiReportViewingRequest, options?:
|
|
904
|
+
reportViewing(requestParameters: SessionApiReportViewingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
932
905
|
/**
|
|
933
906
|
*
|
|
934
907
|
* @summary Issues a full general command to a client.
|
|
@@ -937,7 +910,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
937
910
|
* @throws {RequiredError}
|
|
938
911
|
* @memberof SessionApi
|
|
939
912
|
*/
|
|
940
|
-
sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?:
|
|
913
|
+
sendFullGeneralCommand(requestParameters: SessionApiSendFullGeneralCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
941
914
|
/**
|
|
942
915
|
*
|
|
943
916
|
* @summary Issues a general command to a client.
|
|
@@ -946,7 +919,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
946
919
|
* @throws {RequiredError}
|
|
947
920
|
* @memberof SessionApi
|
|
948
921
|
*/
|
|
949
|
-
sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?:
|
|
922
|
+
sendGeneralCommand(requestParameters: SessionApiSendGeneralCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
950
923
|
/**
|
|
951
924
|
*
|
|
952
925
|
* @summary Issues a command to a client to display a message to the user.
|
|
@@ -955,7 +928,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
955
928
|
* @throws {RequiredError}
|
|
956
929
|
* @memberof SessionApi
|
|
957
930
|
*/
|
|
958
|
-
sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?:
|
|
931
|
+
sendMessageCommand(requestParameters: SessionApiSendMessageCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
959
932
|
/**
|
|
960
933
|
*
|
|
961
934
|
* @summary Issues a playstate command to a client.
|
|
@@ -964,7 +937,7 @@ export declare class SessionApi extends BaseAPI {
|
|
|
964
937
|
* @throws {RequiredError}
|
|
965
938
|
* @memberof SessionApi
|
|
966
939
|
*/
|
|
967
|
-
sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?:
|
|
940
|
+
sendPlaystateCommand(requestParameters: SessionApiSendPlaystateCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
968
941
|
/**
|
|
969
942
|
*
|
|
970
943
|
* @summary Issues a system command to a client.
|
|
@@ -973,5 +946,5 @@ export declare class SessionApi extends BaseAPI {
|
|
|
973
946
|
* @throws {RequiredError}
|
|
974
947
|
* @memberof SessionApi
|
|
975
948
|
*/
|
|
976
|
-
sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?:
|
|
949
|
+
sendSystemCommand(requestParameters: SessionApiSendSystemCommandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
977
950
|
}
|