@jellyfin/sdk 0.9.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 +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- 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 +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- 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 +30 -24
- 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 +3 -3
- 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/image-urls-api.js +16 -4
- 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
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, serializeDataIfNeeded, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -29,7 +28,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
addUserToSession:
|
|
31
|
+
addUserToSession: async (sessionId, userId, options = {}) => {
|
|
33
32
|
// verify required parameter 'sessionId' is not null or undefined
|
|
34
33
|
assertParamExists('addUserToSession', 'sessionId', sessionId);
|
|
35
34
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -43,19 +42,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
43
42
|
if (configuration) {
|
|
44
43
|
baseOptions = configuration.baseOptions;
|
|
45
44
|
}
|
|
46
|
-
const localVarRequestOptions =
|
|
45
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
47
46
|
const localVarHeaderParameter = {};
|
|
48
47
|
const localVarQueryParameter = {};
|
|
49
48
|
// authentication CustomAuthentication required
|
|
50
|
-
|
|
49
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
51
50
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
|
-
localVarRequestOptions.headers =
|
|
52
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
54
53
|
return {
|
|
55
54
|
url: toPathString(localVarUrlObj),
|
|
56
55
|
options: localVarRequestOptions,
|
|
57
56
|
};
|
|
58
|
-
}
|
|
57
|
+
},
|
|
59
58
|
/**
|
|
60
59
|
*
|
|
61
60
|
* @summary Instructs a session to browse to an item or view.
|
|
@@ -66,7 +65,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
66
65
|
* @param {*} [options] Override http request option.
|
|
67
66
|
* @throws {RequiredError}
|
|
68
67
|
*/
|
|
69
|
-
displayContent:
|
|
68
|
+
displayContent: async (sessionId, itemType, itemId, itemName, options = {}) => {
|
|
70
69
|
// verify required parameter 'sessionId' is not null or undefined
|
|
71
70
|
assertParamExists('displayContent', 'sessionId', sessionId);
|
|
72
71
|
// verify required parameter 'itemType' is not null or undefined
|
|
@@ -83,11 +82,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
83
82
|
if (configuration) {
|
|
84
83
|
baseOptions = configuration.baseOptions;
|
|
85
84
|
}
|
|
86
|
-
const localVarRequestOptions =
|
|
85
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
87
86
|
const localVarHeaderParameter = {};
|
|
88
87
|
const localVarQueryParameter = {};
|
|
89
88
|
// authentication CustomAuthentication required
|
|
90
|
-
|
|
89
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
91
90
|
if (itemType !== undefined) {
|
|
92
91
|
localVarQueryParameter['itemType'] = itemType;
|
|
93
92
|
}
|
|
@@ -99,19 +98,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
99
98
|
}
|
|
100
99
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
100
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
|
-
localVarRequestOptions.headers =
|
|
101
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
103
102
|
return {
|
|
104
103
|
url: toPathString(localVarUrlObj),
|
|
105
104
|
options: localVarRequestOptions,
|
|
106
105
|
};
|
|
107
|
-
}
|
|
106
|
+
},
|
|
108
107
|
/**
|
|
109
108
|
*
|
|
110
109
|
* @summary Get all auth providers.
|
|
111
110
|
* @param {*} [options] Override http request option.
|
|
112
111
|
* @throws {RequiredError}
|
|
113
112
|
*/
|
|
114
|
-
getAuthProviders:
|
|
113
|
+
getAuthProviders: async (options = {}) => {
|
|
115
114
|
const localVarPath = `/Auth/Providers`;
|
|
116
115
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
116
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -119,26 +118,26 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
119
118
|
if (configuration) {
|
|
120
119
|
baseOptions = configuration.baseOptions;
|
|
121
120
|
}
|
|
122
|
-
const localVarRequestOptions =
|
|
121
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
123
122
|
const localVarHeaderParameter = {};
|
|
124
123
|
const localVarQueryParameter = {};
|
|
125
124
|
// authentication CustomAuthentication required
|
|
126
|
-
|
|
125
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
127
126
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
-
localVarRequestOptions.headers =
|
|
128
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
130
129
|
return {
|
|
131
130
|
url: toPathString(localVarUrlObj),
|
|
132
131
|
options: localVarRequestOptions,
|
|
133
132
|
};
|
|
134
|
-
}
|
|
133
|
+
},
|
|
135
134
|
/**
|
|
136
135
|
*
|
|
137
136
|
* @summary Get all password reset providers.
|
|
138
137
|
* @param {*} [options] Override http request option.
|
|
139
138
|
* @throws {RequiredError}
|
|
140
139
|
*/
|
|
141
|
-
getPasswordResetProviders:
|
|
140
|
+
getPasswordResetProviders: async (options = {}) => {
|
|
142
141
|
const localVarPath = `/Auth/PasswordResetProviders`;
|
|
143
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -146,19 +145,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
146
145
|
if (configuration) {
|
|
147
146
|
baseOptions = configuration.baseOptions;
|
|
148
147
|
}
|
|
149
|
-
const localVarRequestOptions =
|
|
148
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
150
149
|
const localVarHeaderParameter = {};
|
|
151
150
|
const localVarQueryParameter = {};
|
|
152
151
|
// authentication CustomAuthentication required
|
|
153
|
-
|
|
152
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
154
153
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
-
localVarRequestOptions.headers =
|
|
155
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
157
156
|
return {
|
|
158
157
|
url: toPathString(localVarUrlObj),
|
|
159
158
|
options: localVarRequestOptions,
|
|
160
159
|
};
|
|
161
|
-
}
|
|
160
|
+
},
|
|
162
161
|
/**
|
|
163
162
|
*
|
|
164
163
|
* @summary Gets a list of sessions.
|
|
@@ -168,7 +167,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
168
167
|
* @param {*} [options] Override http request option.
|
|
169
168
|
* @throws {RequiredError}
|
|
170
169
|
*/
|
|
171
|
-
getSessions:
|
|
170
|
+
getSessions: async (controllableByUserId, deviceId, activeWithinSeconds, options = {}) => {
|
|
172
171
|
const localVarPath = `/Sessions`;
|
|
173
172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
174
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -176,11 +175,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
176
175
|
if (configuration) {
|
|
177
176
|
baseOptions = configuration.baseOptions;
|
|
178
177
|
}
|
|
179
|
-
const localVarRequestOptions =
|
|
178
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
180
179
|
const localVarHeaderParameter = {};
|
|
181
180
|
const localVarQueryParameter = {};
|
|
182
181
|
// authentication CustomAuthentication required
|
|
183
|
-
|
|
182
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
184
183
|
if (controllableByUserId !== undefined) {
|
|
185
184
|
localVarQueryParameter['controllableByUserId'] = controllableByUserId;
|
|
186
185
|
}
|
|
@@ -192,12 +191,12 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
192
191
|
}
|
|
193
192
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
194
193
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
-
localVarRequestOptions.headers =
|
|
194
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
196
195
|
return {
|
|
197
196
|
url: toPathString(localVarUrlObj),
|
|
198
197
|
options: localVarRequestOptions,
|
|
199
198
|
};
|
|
200
|
-
}
|
|
199
|
+
},
|
|
201
200
|
/**
|
|
202
201
|
*
|
|
203
202
|
* @summary Instructs a session to play an item.
|
|
@@ -212,7 +211,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
212
211
|
* @param {*} [options] Override http request option.
|
|
213
212
|
* @throws {RequiredError}
|
|
214
213
|
*/
|
|
215
|
-
play:
|
|
214
|
+
play: async (sessionId, playCommand, itemIds, startPositionTicks, mediaSourceId, audioStreamIndex, subtitleStreamIndex, startIndex, options = {}) => {
|
|
216
215
|
// verify required parameter 'sessionId' is not null or undefined
|
|
217
216
|
assertParamExists('play', 'sessionId', sessionId);
|
|
218
217
|
// verify required parameter 'playCommand' is not null or undefined
|
|
@@ -227,11 +226,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
227
226
|
if (configuration) {
|
|
228
227
|
baseOptions = configuration.baseOptions;
|
|
229
228
|
}
|
|
230
|
-
const localVarRequestOptions =
|
|
229
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
231
230
|
const localVarHeaderParameter = {};
|
|
232
231
|
const localVarQueryParameter = {};
|
|
233
232
|
// authentication CustomAuthentication required
|
|
234
|
-
|
|
233
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
235
234
|
if (playCommand !== undefined) {
|
|
236
235
|
localVarQueryParameter['playCommand'] = playCommand;
|
|
237
236
|
}
|
|
@@ -255,12 +254,12 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
255
254
|
}
|
|
256
255
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers =
|
|
257
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
259
258
|
return {
|
|
260
259
|
url: toPathString(localVarUrlObj),
|
|
261
260
|
options: localVarRequestOptions,
|
|
262
261
|
};
|
|
263
|
-
}
|
|
262
|
+
},
|
|
264
263
|
/**
|
|
265
264
|
*
|
|
266
265
|
* @summary Updates capabilities for a device.
|
|
@@ -272,7 +271,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
272
271
|
* @param {*} [options] Override http request option.
|
|
273
272
|
* @throws {RequiredError}
|
|
274
273
|
*/
|
|
275
|
-
postCapabilities:
|
|
274
|
+
postCapabilities: async (id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options = {}) => {
|
|
276
275
|
const localVarPath = `/Sessions/Capabilities`;
|
|
277
276
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
278
277
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -280,11 +279,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
280
279
|
if (configuration) {
|
|
281
280
|
baseOptions = configuration.baseOptions;
|
|
282
281
|
}
|
|
283
|
-
const localVarRequestOptions =
|
|
282
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
284
283
|
const localVarHeaderParameter = {};
|
|
285
284
|
const localVarQueryParameter = {};
|
|
286
285
|
// authentication CustomAuthentication required
|
|
287
|
-
|
|
286
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
288
287
|
if (id !== undefined) {
|
|
289
288
|
localVarQueryParameter['id'] = id;
|
|
290
289
|
}
|
|
@@ -302,12 +301,12 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
302
301
|
}
|
|
303
302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers =
|
|
304
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
305
|
return {
|
|
307
306
|
url: toPathString(localVarUrlObj),
|
|
308
307
|
options: localVarRequestOptions,
|
|
309
308
|
};
|
|
310
|
-
}
|
|
309
|
+
},
|
|
311
310
|
/**
|
|
312
311
|
*
|
|
313
312
|
* @summary Updates capabilities for a device.
|
|
@@ -316,7 +315,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
316
315
|
* @param {*} [options] Override http request option.
|
|
317
316
|
* @throws {RequiredError}
|
|
318
317
|
*/
|
|
319
|
-
postFullCapabilities:
|
|
318
|
+
postFullCapabilities: async (clientCapabilitiesDto, id, options = {}) => {
|
|
320
319
|
// verify required parameter 'clientCapabilitiesDto' is not null or undefined
|
|
321
320
|
assertParamExists('postFullCapabilities', 'clientCapabilitiesDto', clientCapabilitiesDto);
|
|
322
321
|
const localVarPath = `/Sessions/Capabilities/Full`;
|
|
@@ -326,24 +325,24 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
326
325
|
if (configuration) {
|
|
327
326
|
baseOptions = configuration.baseOptions;
|
|
328
327
|
}
|
|
329
|
-
const localVarRequestOptions =
|
|
328
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
330
329
|
const localVarHeaderParameter = {};
|
|
331
330
|
const localVarQueryParameter = {};
|
|
332
331
|
// authentication CustomAuthentication required
|
|
333
|
-
|
|
332
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
334
333
|
if (id !== undefined) {
|
|
335
334
|
localVarQueryParameter['id'] = id;
|
|
336
335
|
}
|
|
337
336
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
338
337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
339
338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
|
-
localVarRequestOptions.headers =
|
|
339
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
341
340
|
localVarRequestOptions.data = serializeDataIfNeeded(clientCapabilitiesDto, localVarRequestOptions, configuration);
|
|
342
341
|
return {
|
|
343
342
|
url: toPathString(localVarUrlObj),
|
|
344
343
|
options: localVarRequestOptions,
|
|
345
344
|
};
|
|
346
|
-
}
|
|
345
|
+
},
|
|
347
346
|
/**
|
|
348
347
|
*
|
|
349
348
|
* @summary Removes an additional user from a session.
|
|
@@ -352,7 +351,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
352
351
|
* @param {*} [options] Override http request option.
|
|
353
352
|
* @throws {RequiredError}
|
|
354
353
|
*/
|
|
355
|
-
removeUserFromSession:
|
|
354
|
+
removeUserFromSession: async (sessionId, userId, options = {}) => {
|
|
356
355
|
// verify required parameter 'sessionId' is not null or undefined
|
|
357
356
|
assertParamExists('removeUserFromSession', 'sessionId', sessionId);
|
|
358
357
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -366,26 +365,26 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
366
365
|
if (configuration) {
|
|
367
366
|
baseOptions = configuration.baseOptions;
|
|
368
367
|
}
|
|
369
|
-
const localVarRequestOptions =
|
|
368
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
370
369
|
const localVarHeaderParameter = {};
|
|
371
370
|
const localVarQueryParameter = {};
|
|
372
371
|
// authentication CustomAuthentication required
|
|
373
|
-
|
|
372
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
374
373
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
375
374
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
376
|
-
localVarRequestOptions.headers =
|
|
375
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
377
376
|
return {
|
|
378
377
|
url: toPathString(localVarUrlObj),
|
|
379
378
|
options: localVarRequestOptions,
|
|
380
379
|
};
|
|
381
|
-
}
|
|
380
|
+
},
|
|
382
381
|
/**
|
|
383
382
|
*
|
|
384
383
|
* @summary Reports that a session has ended.
|
|
385
384
|
* @param {*} [options] Override http request option.
|
|
386
385
|
* @throws {RequiredError}
|
|
387
386
|
*/
|
|
388
|
-
reportSessionEnded:
|
|
387
|
+
reportSessionEnded: async (options = {}) => {
|
|
389
388
|
const localVarPath = `/Sessions/Logout`;
|
|
390
389
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
391
390
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -393,19 +392,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
393
392
|
if (configuration) {
|
|
394
393
|
baseOptions = configuration.baseOptions;
|
|
395
394
|
}
|
|
396
|
-
const localVarRequestOptions =
|
|
395
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
397
396
|
const localVarHeaderParameter = {};
|
|
398
397
|
const localVarQueryParameter = {};
|
|
399
398
|
// authentication CustomAuthentication required
|
|
400
|
-
|
|
399
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
401
400
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
402
401
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
403
|
-
localVarRequestOptions.headers =
|
|
402
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
404
403
|
return {
|
|
405
404
|
url: toPathString(localVarUrlObj),
|
|
406
405
|
options: localVarRequestOptions,
|
|
407
406
|
};
|
|
408
|
-
}
|
|
407
|
+
},
|
|
409
408
|
/**
|
|
410
409
|
*
|
|
411
410
|
* @summary Reports that a session is viewing an item.
|
|
@@ -414,7 +413,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
414
413
|
* @param {*} [options] Override http request option.
|
|
415
414
|
* @throws {RequiredError}
|
|
416
415
|
*/
|
|
417
|
-
reportViewing:
|
|
416
|
+
reportViewing: async (itemId, sessionId, options = {}) => {
|
|
418
417
|
// verify required parameter 'itemId' is not null or undefined
|
|
419
418
|
assertParamExists('reportViewing', 'itemId', itemId);
|
|
420
419
|
const localVarPath = `/Sessions/Viewing`;
|
|
@@ -424,11 +423,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
424
423
|
if (configuration) {
|
|
425
424
|
baseOptions = configuration.baseOptions;
|
|
426
425
|
}
|
|
427
|
-
const localVarRequestOptions =
|
|
426
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
428
427
|
const localVarHeaderParameter = {};
|
|
429
428
|
const localVarQueryParameter = {};
|
|
430
429
|
// authentication CustomAuthentication required
|
|
431
|
-
|
|
430
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
432
431
|
if (sessionId !== undefined) {
|
|
433
432
|
localVarQueryParameter['sessionId'] = sessionId;
|
|
434
433
|
}
|
|
@@ -437,12 +436,12 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
437
436
|
}
|
|
438
437
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
439
438
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
440
|
-
localVarRequestOptions.headers =
|
|
439
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
441
440
|
return {
|
|
442
441
|
url: toPathString(localVarUrlObj),
|
|
443
442
|
options: localVarRequestOptions,
|
|
444
443
|
};
|
|
445
|
-
}
|
|
444
|
+
},
|
|
446
445
|
/**
|
|
447
446
|
*
|
|
448
447
|
* @summary Issues a full general command to a client.
|
|
@@ -451,7 +450,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
451
450
|
* @param {*} [options] Override http request option.
|
|
452
451
|
* @throws {RequiredError}
|
|
453
452
|
*/
|
|
454
|
-
sendFullGeneralCommand:
|
|
453
|
+
sendFullGeneralCommand: async (sessionId, generalCommand, options = {}) => {
|
|
455
454
|
// verify required parameter 'sessionId' is not null or undefined
|
|
456
455
|
assertParamExists('sendFullGeneralCommand', 'sessionId', sessionId);
|
|
457
456
|
// verify required parameter 'generalCommand' is not null or undefined
|
|
@@ -464,21 +463,21 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
464
463
|
if (configuration) {
|
|
465
464
|
baseOptions = configuration.baseOptions;
|
|
466
465
|
}
|
|
467
|
-
const localVarRequestOptions =
|
|
466
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
468
467
|
const localVarHeaderParameter = {};
|
|
469
468
|
const localVarQueryParameter = {};
|
|
470
469
|
// authentication CustomAuthentication required
|
|
471
|
-
|
|
470
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
472
471
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
473
472
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
474
473
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
|
-
localVarRequestOptions.headers =
|
|
474
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
476
475
|
localVarRequestOptions.data = serializeDataIfNeeded(generalCommand, localVarRequestOptions, configuration);
|
|
477
476
|
return {
|
|
478
477
|
url: toPathString(localVarUrlObj),
|
|
479
478
|
options: localVarRequestOptions,
|
|
480
479
|
};
|
|
481
|
-
}
|
|
480
|
+
},
|
|
482
481
|
/**
|
|
483
482
|
*
|
|
484
483
|
* @summary Issues a general command to a client.
|
|
@@ -487,7 +486,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
487
486
|
* @param {*} [options] Override http request option.
|
|
488
487
|
* @throws {RequiredError}
|
|
489
488
|
*/
|
|
490
|
-
sendGeneralCommand:
|
|
489
|
+
sendGeneralCommand: async (sessionId, command, options = {}) => {
|
|
491
490
|
// verify required parameter 'sessionId' is not null or undefined
|
|
492
491
|
assertParamExists('sendGeneralCommand', 'sessionId', sessionId);
|
|
493
492
|
// verify required parameter 'command' is not null or undefined
|
|
@@ -501,19 +500,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
501
500
|
if (configuration) {
|
|
502
501
|
baseOptions = configuration.baseOptions;
|
|
503
502
|
}
|
|
504
|
-
const localVarRequestOptions =
|
|
503
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
505
504
|
const localVarHeaderParameter = {};
|
|
506
505
|
const localVarQueryParameter = {};
|
|
507
506
|
// authentication CustomAuthentication required
|
|
508
|
-
|
|
507
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
509
508
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
510
509
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
511
|
-
localVarRequestOptions.headers =
|
|
510
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
512
511
|
return {
|
|
513
512
|
url: toPathString(localVarUrlObj),
|
|
514
513
|
options: localVarRequestOptions,
|
|
515
514
|
};
|
|
516
|
-
}
|
|
515
|
+
},
|
|
517
516
|
/**
|
|
518
517
|
*
|
|
519
518
|
* @summary Issues a command to a client to display a message to the user.
|
|
@@ -522,7 +521,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
522
521
|
* @param {*} [options] Override http request option.
|
|
523
522
|
* @throws {RequiredError}
|
|
524
523
|
*/
|
|
525
|
-
sendMessageCommand:
|
|
524
|
+
sendMessageCommand: async (sessionId, messageCommand, options = {}) => {
|
|
526
525
|
// verify required parameter 'sessionId' is not null or undefined
|
|
527
526
|
assertParamExists('sendMessageCommand', 'sessionId', sessionId);
|
|
528
527
|
// verify required parameter 'messageCommand' is not null or undefined
|
|
@@ -535,21 +534,21 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
535
534
|
if (configuration) {
|
|
536
535
|
baseOptions = configuration.baseOptions;
|
|
537
536
|
}
|
|
538
|
-
const localVarRequestOptions =
|
|
537
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
539
538
|
const localVarHeaderParameter = {};
|
|
540
539
|
const localVarQueryParameter = {};
|
|
541
540
|
// authentication CustomAuthentication required
|
|
542
|
-
|
|
541
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
543
542
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
544
543
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
545
544
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
|
-
localVarRequestOptions.headers =
|
|
545
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
547
546
|
localVarRequestOptions.data = serializeDataIfNeeded(messageCommand, localVarRequestOptions, configuration);
|
|
548
547
|
return {
|
|
549
548
|
url: toPathString(localVarUrlObj),
|
|
550
549
|
options: localVarRequestOptions,
|
|
551
550
|
};
|
|
552
|
-
}
|
|
551
|
+
},
|
|
553
552
|
/**
|
|
554
553
|
*
|
|
555
554
|
* @summary Issues a playstate command to a client.
|
|
@@ -560,7 +559,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
560
559
|
* @param {*} [options] Override http request option.
|
|
561
560
|
* @throws {RequiredError}
|
|
562
561
|
*/
|
|
563
|
-
sendPlaystateCommand:
|
|
562
|
+
sendPlaystateCommand: async (sessionId, command, seekPositionTicks, controllingUserId, options = {}) => {
|
|
564
563
|
// verify required parameter 'sessionId' is not null or undefined
|
|
565
564
|
assertParamExists('sendPlaystateCommand', 'sessionId', sessionId);
|
|
566
565
|
// verify required parameter 'command' is not null or undefined
|
|
@@ -574,11 +573,11 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
574
573
|
if (configuration) {
|
|
575
574
|
baseOptions = configuration.baseOptions;
|
|
576
575
|
}
|
|
577
|
-
const localVarRequestOptions =
|
|
576
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
578
577
|
const localVarHeaderParameter = {};
|
|
579
578
|
const localVarQueryParameter = {};
|
|
580
579
|
// authentication CustomAuthentication required
|
|
581
|
-
|
|
580
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
582
581
|
if (seekPositionTicks !== undefined) {
|
|
583
582
|
localVarQueryParameter['seekPositionTicks'] = seekPositionTicks;
|
|
584
583
|
}
|
|
@@ -587,12 +586,12 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
587
586
|
}
|
|
588
587
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
589
588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
|
-
localVarRequestOptions.headers =
|
|
589
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
591
590
|
return {
|
|
592
591
|
url: toPathString(localVarUrlObj),
|
|
593
592
|
options: localVarRequestOptions,
|
|
594
593
|
};
|
|
595
|
-
}
|
|
594
|
+
},
|
|
596
595
|
/**
|
|
597
596
|
*
|
|
598
597
|
* @summary Issues a system command to a client.
|
|
@@ -601,7 +600,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
601
600
|
* @param {*} [options] Override http request option.
|
|
602
601
|
* @throws {RequiredError}
|
|
603
602
|
*/
|
|
604
|
-
sendSystemCommand:
|
|
603
|
+
sendSystemCommand: async (sessionId, command, options = {}) => {
|
|
605
604
|
// verify required parameter 'sessionId' is not null or undefined
|
|
606
605
|
assertParamExists('sendSystemCommand', 'sessionId', sessionId);
|
|
607
606
|
// verify required parameter 'command' is not null or undefined
|
|
@@ -615,19 +614,19 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
615
614
|
if (configuration) {
|
|
616
615
|
baseOptions = configuration.baseOptions;
|
|
617
616
|
}
|
|
618
|
-
const localVarRequestOptions =
|
|
617
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
619
618
|
const localVarHeaderParameter = {};
|
|
620
619
|
const localVarQueryParameter = {};
|
|
621
620
|
// authentication CustomAuthentication required
|
|
622
|
-
|
|
621
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
623
622
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
624
623
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
625
|
-
localVarRequestOptions.headers =
|
|
624
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
626
625
|
return {
|
|
627
626
|
url: toPathString(localVarUrlObj),
|
|
628
627
|
options: localVarRequestOptions,
|
|
629
628
|
};
|
|
630
|
-
}
|
|
629
|
+
},
|
|
631
630
|
};
|
|
632
631
|
};
|
|
633
632
|
/**
|
|
@@ -645,11 +644,12 @@ const SessionApiFp = function (configuration) {
|
|
|
645
644
|
* @param {*} [options] Override http request option.
|
|
646
645
|
* @throws {RequiredError}
|
|
647
646
|
*/
|
|
648
|
-
addUserToSession(sessionId, userId, options) {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
647
|
+
async addUserToSession(sessionId, userId, options) {
|
|
648
|
+
var _a, _b, _c;
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addUserToSession(sessionId, userId, options);
|
|
650
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
651
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.addUserToSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
652
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
653
653
|
},
|
|
654
654
|
/**
|
|
655
655
|
*
|
|
@@ -661,11 +661,12 @@ const SessionApiFp = function (configuration) {
|
|
|
661
661
|
* @param {*} [options] Override http request option.
|
|
662
662
|
* @throws {RequiredError}
|
|
663
663
|
*/
|
|
664
|
-
displayContent(sessionId, itemType, itemId, itemName, options) {
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
664
|
+
async displayContent(sessionId, itemType, itemId, itemName, options) {
|
|
665
|
+
var _a, _b, _c;
|
|
666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.displayContent(sessionId, itemType, itemId, itemName, options);
|
|
667
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
668
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.displayContent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
669
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
669
670
|
},
|
|
670
671
|
/**
|
|
671
672
|
*
|
|
@@ -673,11 +674,12 @@ const SessionApiFp = function (configuration) {
|
|
|
673
674
|
* @param {*} [options] Override http request option.
|
|
674
675
|
* @throws {RequiredError}
|
|
675
676
|
*/
|
|
676
|
-
getAuthProviders(options) {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
677
|
+
async getAuthProviders(options) {
|
|
678
|
+
var _a, _b, _c;
|
|
679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAuthProviders(options);
|
|
680
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
681
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.getAuthProviders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
681
683
|
},
|
|
682
684
|
/**
|
|
683
685
|
*
|
|
@@ -685,11 +687,12 @@ const SessionApiFp = function (configuration) {
|
|
|
685
687
|
* @param {*} [options] Override http request option.
|
|
686
688
|
* @throws {RequiredError}
|
|
687
689
|
*/
|
|
688
|
-
getPasswordResetProviders(options) {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
690
|
+
async getPasswordResetProviders(options) {
|
|
691
|
+
var _a, _b, _c;
|
|
692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPasswordResetProviders(options);
|
|
693
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
694
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.getPasswordResetProviders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
693
696
|
},
|
|
694
697
|
/**
|
|
695
698
|
*
|
|
@@ -700,11 +703,12 @@ const SessionApiFp = function (configuration) {
|
|
|
700
703
|
* @param {*} [options] Override http request option.
|
|
701
704
|
* @throws {RequiredError}
|
|
702
705
|
*/
|
|
703
|
-
getSessions(controllableByUserId, deviceId, activeWithinSeconds, options) {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
706
|
+
async getSessions(controllableByUserId, deviceId, activeWithinSeconds, options) {
|
|
707
|
+
var _a, _b, _c;
|
|
708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessions(controllableByUserId, deviceId, activeWithinSeconds, options);
|
|
709
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
710
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.getSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
708
712
|
},
|
|
709
713
|
/**
|
|
710
714
|
*
|
|
@@ -720,11 +724,12 @@ const SessionApiFp = function (configuration) {
|
|
|
720
724
|
* @param {*} [options] Override http request option.
|
|
721
725
|
* @throws {RequiredError}
|
|
722
726
|
*/
|
|
723
|
-
play(sessionId, playCommand, itemIds, startPositionTicks, mediaSourceId, audioStreamIndex, subtitleStreamIndex, startIndex, options) {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
727
|
+
async play(sessionId, playCommand, itemIds, startPositionTicks, mediaSourceId, audioStreamIndex, subtitleStreamIndex, startIndex, options) {
|
|
728
|
+
var _a, _b, _c;
|
|
729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.play(sessionId, playCommand, itemIds, startPositionTicks, mediaSourceId, audioStreamIndex, subtitleStreamIndex, startIndex, options);
|
|
730
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
731
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.play']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
732
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
728
733
|
},
|
|
729
734
|
/**
|
|
730
735
|
*
|
|
@@ -737,11 +742,12 @@ const SessionApiFp = function (configuration) {
|
|
|
737
742
|
* @param {*} [options] Override http request option.
|
|
738
743
|
* @throws {RequiredError}
|
|
739
744
|
*/
|
|
740
|
-
postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options) {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
+
async postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options) {
|
|
746
|
+
var _a, _b, _c;
|
|
747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options);
|
|
748
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
749
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.postCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
750
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
745
751
|
},
|
|
746
752
|
/**
|
|
747
753
|
*
|
|
@@ -751,11 +757,12 @@ const SessionApiFp = function (configuration) {
|
|
|
751
757
|
* @param {*} [options] Override http request option.
|
|
752
758
|
* @throws {RequiredError}
|
|
753
759
|
*/
|
|
754
|
-
postFullCapabilities(clientCapabilitiesDto, id, options) {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
760
|
+
async postFullCapabilities(clientCapabilitiesDto, id, options) {
|
|
761
|
+
var _a, _b, _c;
|
|
762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postFullCapabilities(clientCapabilitiesDto, id, options);
|
|
763
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
764
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.postFullCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
765
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
759
766
|
},
|
|
760
767
|
/**
|
|
761
768
|
*
|
|
@@ -765,11 +772,12 @@ const SessionApiFp = function (configuration) {
|
|
|
765
772
|
* @param {*} [options] Override http request option.
|
|
766
773
|
* @throws {RequiredError}
|
|
767
774
|
*/
|
|
768
|
-
removeUserFromSession(sessionId, userId, options) {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
775
|
+
async removeUserFromSession(sessionId, userId, options) {
|
|
776
|
+
var _a, _b, _c;
|
|
777
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeUserFromSession(sessionId, userId, options);
|
|
778
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
779
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.removeUserFromSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
780
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
773
781
|
},
|
|
774
782
|
/**
|
|
775
783
|
*
|
|
@@ -777,11 +785,12 @@ const SessionApiFp = function (configuration) {
|
|
|
777
785
|
* @param {*} [options] Override http request option.
|
|
778
786
|
* @throws {RequiredError}
|
|
779
787
|
*/
|
|
780
|
-
reportSessionEnded(options) {
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
788
|
+
async reportSessionEnded(options) {
|
|
789
|
+
var _a, _b, _c;
|
|
790
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reportSessionEnded(options);
|
|
791
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
792
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.reportSessionEnded']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
793
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
785
794
|
},
|
|
786
795
|
/**
|
|
787
796
|
*
|
|
@@ -791,11 +800,12 @@ const SessionApiFp = function (configuration) {
|
|
|
791
800
|
* @param {*} [options] Override http request option.
|
|
792
801
|
* @throws {RequiredError}
|
|
793
802
|
*/
|
|
794
|
-
reportViewing(itemId, sessionId, options) {
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
803
|
+
async reportViewing(itemId, sessionId, options) {
|
|
804
|
+
var _a, _b, _c;
|
|
805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reportViewing(itemId, sessionId, options);
|
|
806
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
807
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.reportViewing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
808
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
799
809
|
},
|
|
800
810
|
/**
|
|
801
811
|
*
|
|
@@ -805,11 +815,12 @@ const SessionApiFp = function (configuration) {
|
|
|
805
815
|
* @param {*} [options] Override http request option.
|
|
806
816
|
* @throws {RequiredError}
|
|
807
817
|
*/
|
|
808
|
-
sendFullGeneralCommand(sessionId, generalCommand, options) {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
818
|
+
async sendFullGeneralCommand(sessionId, generalCommand, options) {
|
|
819
|
+
var _a, _b, _c;
|
|
820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendFullGeneralCommand(sessionId, generalCommand, options);
|
|
821
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
822
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.sendFullGeneralCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
823
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
813
824
|
},
|
|
814
825
|
/**
|
|
815
826
|
*
|
|
@@ -819,11 +830,12 @@ const SessionApiFp = function (configuration) {
|
|
|
819
830
|
* @param {*} [options] Override http request option.
|
|
820
831
|
* @throws {RequiredError}
|
|
821
832
|
*/
|
|
822
|
-
sendGeneralCommand(sessionId, command, options) {
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
833
|
+
async sendGeneralCommand(sessionId, command, options) {
|
|
834
|
+
var _a, _b, _c;
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendGeneralCommand(sessionId, command, options);
|
|
836
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
837
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.sendGeneralCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
838
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
827
839
|
},
|
|
828
840
|
/**
|
|
829
841
|
*
|
|
@@ -833,11 +845,12 @@ const SessionApiFp = function (configuration) {
|
|
|
833
845
|
* @param {*} [options] Override http request option.
|
|
834
846
|
* @throws {RequiredError}
|
|
835
847
|
*/
|
|
836
|
-
sendMessageCommand(sessionId, messageCommand, options) {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
848
|
+
async sendMessageCommand(sessionId, messageCommand, options) {
|
|
849
|
+
var _a, _b, _c;
|
|
850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendMessageCommand(sessionId, messageCommand, options);
|
|
851
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
852
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.sendMessageCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
853
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
841
854
|
},
|
|
842
855
|
/**
|
|
843
856
|
*
|
|
@@ -849,11 +862,12 @@ const SessionApiFp = function (configuration) {
|
|
|
849
862
|
* @param {*} [options] Override http request option.
|
|
850
863
|
* @throws {RequiredError}
|
|
851
864
|
*/
|
|
852
|
-
sendPlaystateCommand(sessionId, command, seekPositionTicks, controllingUserId, options) {
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
865
|
+
async sendPlaystateCommand(sessionId, command, seekPositionTicks, controllingUserId, options) {
|
|
866
|
+
var _a, _b, _c;
|
|
867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendPlaystateCommand(sessionId, command, seekPositionTicks, controllingUserId, options);
|
|
868
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
869
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.sendPlaystateCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
857
871
|
},
|
|
858
872
|
/**
|
|
859
873
|
*
|
|
@@ -863,11 +877,12 @@ const SessionApiFp = function (configuration) {
|
|
|
863
877
|
* @param {*} [options] Override http request option.
|
|
864
878
|
* @throws {RequiredError}
|
|
865
879
|
*/
|
|
866
|
-
sendSystemCommand(sessionId, command, options) {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
880
|
+
async sendSystemCommand(sessionId, command, options) {
|
|
881
|
+
var _a, _b, _c;
|
|
882
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendSystemCommand(sessionId, command, options);
|
|
883
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
884
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.sendSystemCommand']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
885
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
871
886
|
},
|
|
872
887
|
};
|
|
873
888
|
};
|
|
@@ -881,26 +896,22 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
881
896
|
/**
|
|
882
897
|
*
|
|
883
898
|
* @summary Adds an additional user to a session.
|
|
884
|
-
* @param {
|
|
885
|
-
* @param {string} userId The user id.
|
|
899
|
+
* @param {SessionApiAddUserToSessionRequest} requestParameters Request parameters.
|
|
886
900
|
* @param {*} [options] Override http request option.
|
|
887
901
|
* @throws {RequiredError}
|
|
888
902
|
*/
|
|
889
|
-
addUserToSession(
|
|
890
|
-
return localVarFp.addUserToSession(sessionId, userId, options).then((request) => request(axios, basePath));
|
|
903
|
+
addUserToSession(requestParameters, options) {
|
|
904
|
+
return localVarFp.addUserToSession(requestParameters.sessionId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
891
905
|
},
|
|
892
906
|
/**
|
|
893
907
|
*
|
|
894
908
|
* @summary Instructs a session to browse to an item or view.
|
|
895
|
-
* @param {
|
|
896
|
-
* @param {BaseItemKind} itemType The type of item to browse to.
|
|
897
|
-
* @param {string} itemId The Id of the item.
|
|
898
|
-
* @param {string} itemName The name of the item.
|
|
909
|
+
* @param {SessionApiDisplayContentRequest} requestParameters Request parameters.
|
|
899
910
|
* @param {*} [options] Override http request option.
|
|
900
911
|
* @throws {RequiredError}
|
|
901
912
|
*/
|
|
902
|
-
displayContent(
|
|
903
|
-
return localVarFp.displayContent(sessionId, itemType, itemId, itemName, options).then((request) => request(axios, basePath));
|
|
913
|
+
displayContent(requestParameters, options) {
|
|
914
|
+
return localVarFp.displayContent(requestParameters.sessionId, requestParameters.itemType, requestParameters.itemId, requestParameters.itemName, options).then((request) => request(axios, basePath));
|
|
904
915
|
},
|
|
905
916
|
/**
|
|
906
917
|
*
|
|
@@ -923,67 +934,52 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
923
934
|
/**
|
|
924
935
|
*
|
|
925
936
|
* @summary Gets a list of sessions.
|
|
926
|
-
* @param {
|
|
927
|
-
* @param {string} [deviceId] Filter by device Id.
|
|
928
|
-
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
937
|
+
* @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
|
|
929
938
|
* @param {*} [options] Override http request option.
|
|
930
939
|
* @throws {RequiredError}
|
|
931
940
|
*/
|
|
932
|
-
getSessions(
|
|
933
|
-
return localVarFp.getSessions(controllableByUserId, deviceId, activeWithinSeconds, options).then((request) => request(axios, basePath));
|
|
941
|
+
getSessions(requestParameters = {}, options) {
|
|
942
|
+
return localVarFp.getSessions(requestParameters.controllableByUserId, requestParameters.deviceId, requestParameters.activeWithinSeconds, options).then((request) => request(axios, basePath));
|
|
934
943
|
},
|
|
935
944
|
/**
|
|
936
945
|
*
|
|
937
946
|
* @summary Instructs a session to play an item.
|
|
938
|
-
* @param {
|
|
939
|
-
* @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.
|
|
940
|
-
* @param {Array<string>} itemIds The ids of the items to play, comma delimited.
|
|
941
|
-
* @param {number} [startPositionTicks] The starting position of the first item.
|
|
942
|
-
* @param {string} [mediaSourceId] Optional. The media source id.
|
|
943
|
-
* @param {number} [audioStreamIndex] Optional. The index of the audio stream to play.
|
|
944
|
-
* @param {number} [subtitleStreamIndex] Optional. The index of the subtitle stream to play.
|
|
945
|
-
* @param {number} [startIndex] Optional. The start index.
|
|
947
|
+
* @param {SessionApiPlayRequest} requestParameters Request parameters.
|
|
946
948
|
* @param {*} [options] Override http request option.
|
|
947
949
|
* @throws {RequiredError}
|
|
948
950
|
*/
|
|
949
|
-
play(
|
|
950
|
-
return localVarFp.play(sessionId, playCommand, itemIds, startPositionTicks, mediaSourceId, audioStreamIndex, subtitleStreamIndex, startIndex, options).then((request) => request(axios, basePath));
|
|
951
|
+
play(requestParameters, options) {
|
|
952
|
+
return localVarFp.play(requestParameters.sessionId, requestParameters.playCommand, requestParameters.itemIds, requestParameters.startPositionTicks, requestParameters.mediaSourceId, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.startIndex, options).then((request) => request(axios, basePath));
|
|
951
953
|
},
|
|
952
954
|
/**
|
|
953
955
|
*
|
|
954
956
|
* @summary Updates capabilities for a device.
|
|
955
|
-
* @param {
|
|
956
|
-
* @param {Array<MediaType>} [playableMediaTypes] A list of playable media types, comma delimited. Audio, Video, Book, Photo.
|
|
957
|
-
* @param {Array<GeneralCommandType>} [supportedCommands] A list of supported remote control commands, comma delimited.
|
|
958
|
-
* @param {boolean} [supportsMediaControl] Determines whether media can be played remotely..
|
|
959
|
-
* @param {boolean} [supportsPersistentIdentifier] Determines whether the device supports a unique identifier.
|
|
957
|
+
* @param {SessionApiPostCapabilitiesRequest} requestParameters Request parameters.
|
|
960
958
|
* @param {*} [options] Override http request option.
|
|
961
959
|
* @throws {RequiredError}
|
|
962
960
|
*/
|
|
963
|
-
postCapabilities(
|
|
964
|
-
return localVarFp.postCapabilities(id, playableMediaTypes, supportedCommands, supportsMediaControl, supportsPersistentIdentifier, options).then((request) => request(axios, basePath));
|
|
961
|
+
postCapabilities(requestParameters = {}, options) {
|
|
962
|
+
return localVarFp.postCapabilities(requestParameters.id, requestParameters.playableMediaTypes, requestParameters.supportedCommands, requestParameters.supportsMediaControl, requestParameters.supportsPersistentIdentifier, options).then((request) => request(axios, basePath));
|
|
965
963
|
},
|
|
966
964
|
/**
|
|
967
965
|
*
|
|
968
966
|
* @summary Updates capabilities for a device.
|
|
969
|
-
* @param {
|
|
970
|
-
* @param {string} [id] The session id.
|
|
967
|
+
* @param {SessionApiPostFullCapabilitiesRequest} requestParameters Request parameters.
|
|
971
968
|
* @param {*} [options] Override http request option.
|
|
972
969
|
* @throws {RequiredError}
|
|
973
970
|
*/
|
|
974
|
-
postFullCapabilities(
|
|
975
|
-
return localVarFp.postFullCapabilities(clientCapabilitiesDto, id, options).then((request) => request(axios, basePath));
|
|
971
|
+
postFullCapabilities(requestParameters, options) {
|
|
972
|
+
return localVarFp.postFullCapabilities(requestParameters.clientCapabilitiesDto, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
976
973
|
},
|
|
977
974
|
/**
|
|
978
975
|
*
|
|
979
976
|
* @summary Removes an additional user from a session.
|
|
980
|
-
* @param {
|
|
981
|
-
* @param {string} userId The user id.
|
|
977
|
+
* @param {SessionApiRemoveUserFromSessionRequest} requestParameters Request parameters.
|
|
982
978
|
* @param {*} [options] Override http request option.
|
|
983
979
|
* @throws {RequiredError}
|
|
984
980
|
*/
|
|
985
|
-
removeUserFromSession(
|
|
986
|
-
return localVarFp.removeUserFromSession(sessionId, userId, options).then((request) => request(axios, basePath));
|
|
981
|
+
removeUserFromSession(requestParameters, options) {
|
|
982
|
+
return localVarFp.removeUserFromSession(requestParameters.sessionId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
987
983
|
},
|
|
988
984
|
/**
|
|
989
985
|
*
|
|
@@ -997,70 +993,62 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
997
993
|
/**
|
|
998
994
|
*
|
|
999
995
|
* @summary Reports that a session is viewing an item.
|
|
1000
|
-
* @param {
|
|
1001
|
-
* @param {string} [sessionId] The session id.
|
|
996
|
+
* @param {SessionApiReportViewingRequest} requestParameters Request parameters.
|
|
1002
997
|
* @param {*} [options] Override http request option.
|
|
1003
998
|
* @throws {RequiredError}
|
|
1004
999
|
*/
|
|
1005
|
-
reportViewing(
|
|
1006
|
-
return localVarFp.reportViewing(itemId, sessionId, options).then((request) => request(axios, basePath));
|
|
1000
|
+
reportViewing(requestParameters, options) {
|
|
1001
|
+
return localVarFp.reportViewing(requestParameters.itemId, requestParameters.sessionId, options).then((request) => request(axios, basePath));
|
|
1007
1002
|
},
|
|
1008
1003
|
/**
|
|
1009
1004
|
*
|
|
1010
1005
|
* @summary Issues a full general command to a client.
|
|
1011
|
-
* @param {
|
|
1012
|
-
* @param {GeneralCommand} generalCommand The MediaBrowser.Model.Session.GeneralCommand.
|
|
1006
|
+
* @param {SessionApiSendFullGeneralCommandRequest} requestParameters Request parameters.
|
|
1013
1007
|
* @param {*} [options] Override http request option.
|
|
1014
1008
|
* @throws {RequiredError}
|
|
1015
1009
|
*/
|
|
1016
|
-
sendFullGeneralCommand(
|
|
1017
|
-
return localVarFp.sendFullGeneralCommand(sessionId, generalCommand, options).then((request) => request(axios, basePath));
|
|
1010
|
+
sendFullGeneralCommand(requestParameters, options) {
|
|
1011
|
+
return localVarFp.sendFullGeneralCommand(requestParameters.sessionId, requestParameters.generalCommand, options).then((request) => request(axios, basePath));
|
|
1018
1012
|
},
|
|
1019
1013
|
/**
|
|
1020
1014
|
*
|
|
1021
1015
|
* @summary Issues a general command to a client.
|
|
1022
|
-
* @param {
|
|
1023
|
-
* @param {GeneralCommandType} command The command to send.
|
|
1016
|
+
* @param {SessionApiSendGeneralCommandRequest} requestParameters Request parameters.
|
|
1024
1017
|
* @param {*} [options] Override http request option.
|
|
1025
1018
|
* @throws {RequiredError}
|
|
1026
1019
|
*/
|
|
1027
|
-
sendGeneralCommand(
|
|
1028
|
-
return localVarFp.sendGeneralCommand(sessionId, command, options).then((request) => request(axios, basePath));
|
|
1020
|
+
sendGeneralCommand(requestParameters, options) {
|
|
1021
|
+
return localVarFp.sendGeneralCommand(requestParameters.sessionId, requestParameters.command, options).then((request) => request(axios, basePath));
|
|
1029
1022
|
},
|
|
1030
1023
|
/**
|
|
1031
1024
|
*
|
|
1032
1025
|
* @summary Issues a command to a client to display a message to the user.
|
|
1033
|
-
* @param {
|
|
1034
|
-
* @param {MessageCommand} messageCommand The MediaBrowser.Model.Session.MessageCommand object containing Header, Message Text, and TimeoutMs.
|
|
1026
|
+
* @param {SessionApiSendMessageCommandRequest} requestParameters Request parameters.
|
|
1035
1027
|
* @param {*} [options] Override http request option.
|
|
1036
1028
|
* @throws {RequiredError}
|
|
1037
1029
|
*/
|
|
1038
|
-
sendMessageCommand(
|
|
1039
|
-
return localVarFp.sendMessageCommand(sessionId, messageCommand, options).then((request) => request(axios, basePath));
|
|
1030
|
+
sendMessageCommand(requestParameters, options) {
|
|
1031
|
+
return localVarFp.sendMessageCommand(requestParameters.sessionId, requestParameters.messageCommand, options).then((request) => request(axios, basePath));
|
|
1040
1032
|
},
|
|
1041
1033
|
/**
|
|
1042
1034
|
*
|
|
1043
1035
|
* @summary Issues a playstate command to a client.
|
|
1044
|
-
* @param {
|
|
1045
|
-
* @param {PlaystateCommand} command The MediaBrowser.Model.Session.PlaystateCommand.
|
|
1046
|
-
* @param {number} [seekPositionTicks] The optional position ticks.
|
|
1047
|
-
* @param {string} [controllingUserId] The optional controlling user id.
|
|
1036
|
+
* @param {SessionApiSendPlaystateCommandRequest} requestParameters Request parameters.
|
|
1048
1037
|
* @param {*} [options] Override http request option.
|
|
1049
1038
|
* @throws {RequiredError}
|
|
1050
1039
|
*/
|
|
1051
|
-
sendPlaystateCommand(
|
|
1052
|
-
return localVarFp.sendPlaystateCommand(sessionId, command, seekPositionTicks, controllingUserId, options).then((request) => request(axios, basePath));
|
|
1040
|
+
sendPlaystateCommand(requestParameters, options) {
|
|
1041
|
+
return localVarFp.sendPlaystateCommand(requestParameters.sessionId, requestParameters.command, requestParameters.seekPositionTicks, requestParameters.controllingUserId, options).then((request) => request(axios, basePath));
|
|
1053
1042
|
},
|
|
1054
1043
|
/**
|
|
1055
1044
|
*
|
|
1056
1045
|
* @summary Issues a system command to a client.
|
|
1057
|
-
* @param {
|
|
1058
|
-
* @param {GeneralCommandType} command The command to send.
|
|
1046
|
+
* @param {SessionApiSendSystemCommandRequest} requestParameters Request parameters.
|
|
1059
1047
|
* @param {*} [options] Override http request option.
|
|
1060
1048
|
* @throws {RequiredError}
|
|
1061
1049
|
*/
|
|
1062
|
-
sendSystemCommand(
|
|
1063
|
-
return localVarFp.sendSystemCommand(sessionId, command, options).then((request) => request(axios, basePath));
|
|
1050
|
+
sendSystemCommand(requestParameters, options) {
|
|
1051
|
+
return localVarFp.sendSystemCommand(requestParameters.sessionId, requestParameters.command, options).then((request) => request(axios, basePath));
|
|
1064
1052
|
},
|
|
1065
1053
|
};
|
|
1066
1054
|
};
|