@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
|
@@ -8,9 +8,9 @@
|
|
|
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';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
14
|
/**
|
|
15
15
|
* HlsSegmentApi - axios parameter creator
|
|
16
16
|
* @export
|
|
@@ -24,7 +24,7 @@ export declare const HlsSegmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
getHlsAudioSegmentLegacyAac: (itemId: string, segmentId: string, options?:
|
|
27
|
+
getHlsAudioSegmentLegacyAac: (itemId: string, segmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @summary Gets the specified audio segment for an audio item.
|
|
@@ -33,7 +33,7 @@ export declare const HlsSegmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
33
33
|
* @param {*} [options] Override http request option.
|
|
34
34
|
* @throws {RequiredError}
|
|
35
35
|
*/
|
|
36
|
-
getHlsAudioSegmentLegacyMp3: (itemId: string, segmentId: string, options?:
|
|
36
|
+
getHlsAudioSegmentLegacyMp3: (itemId: string, segmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @summary Gets a hls video playlist.
|
|
@@ -42,7 +42,7 @@ export declare const HlsSegmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getHlsPlaylistLegacy: (itemId: string, playlistId: string, options?:
|
|
45
|
+
getHlsPlaylistLegacy: (itemId: string, playlistId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @summary Gets a hls video segment.
|
|
@@ -53,7 +53,7 @@ export declare const HlsSegmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
54
54
|
* @throws {RequiredError}
|
|
55
55
|
*/
|
|
56
|
-
getHlsVideoSegmentLegacy: (itemId: string, playlistId: string, segmentId: string, segmentContainer: string, options?:
|
|
56
|
+
getHlsVideoSegmentLegacy: (itemId: string, playlistId: string, segmentId: string, segmentContainer: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @summary Stops an active encoding.
|
|
@@ -62,7 +62,7 @@ export declare const HlsSegmentApiAxiosParamCreator: (configuration?: Configurat
|
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
stopEncodingProcess: (deviceId: string, playSessionId: string, options?:
|
|
65
|
+
stopEncodingProcess: (deviceId: string, playSessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* HlsSegmentApi - functional programming interface
|
|
@@ -77,7 +77,7 @@ export declare const HlsSegmentApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
getHlsAudioSegmentLegacyAac(itemId: string, segmentId: string, options?:
|
|
80
|
+
getHlsAudioSegmentLegacyAac(itemId: string, segmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @summary Gets the specified audio segment for an audio item.
|
|
@@ -86,7 +86,7 @@ export declare const HlsSegmentApiFp: (configuration?: Configuration) => {
|
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
getHlsAudioSegmentLegacyMp3(itemId: string, segmentId: string, options?:
|
|
89
|
+
getHlsAudioSegmentLegacyMp3(itemId: string, segmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @summary Gets a hls video playlist.
|
|
@@ -95,7 +95,7 @@ export declare const HlsSegmentApiFp: (configuration?: Configuration) => {
|
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
*/
|
|
98
|
-
getHlsPlaylistLegacy(itemId: string, playlistId: string, options?:
|
|
98
|
+
getHlsPlaylistLegacy(itemId: string, playlistId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
101
|
* @summary Gets a hls video segment.
|
|
@@ -106,7 +106,7 @@ export declare const HlsSegmentApiFp: (configuration?: Configuration) => {
|
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
getHlsVideoSegmentLegacy(itemId: string, playlistId: string, segmentId: string, segmentContainer: string, options?:
|
|
109
|
+
getHlsVideoSegmentLegacy(itemId: string, playlistId: string, segmentId: string, segmentContainer: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
110
110
|
/**
|
|
111
111
|
*
|
|
112
112
|
* @summary Stops an active encoding.
|
|
@@ -115,7 +115,7 @@ export declare const HlsSegmentApiFp: (configuration?: Configuration) => {
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
stopEncodingProcess(deviceId: string, playSessionId: string, options?:
|
|
118
|
+
stopEncodingProcess(deviceId: string, playSessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
121
|
* HlsSegmentApi - factory interface
|
|
@@ -125,50 +125,43 @@ export declare const HlsSegmentApiFactory: (configuration?: Configuration, baseP
|
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
* @summary Gets the specified audio segment for an audio item.
|
|
128
|
-
* @param {
|
|
129
|
-
* @param {string} segmentId The segment id.
|
|
128
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest} requestParameters Request parameters.
|
|
130
129
|
* @param {*} [options] Override http request option.
|
|
131
130
|
* @throws {RequiredError}
|
|
132
131
|
*/
|
|
133
|
-
getHlsAudioSegmentLegacyAac(
|
|
132
|
+
getHlsAudioSegmentLegacyAac(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
134
133
|
/**
|
|
135
134
|
*
|
|
136
135
|
* @summary Gets the specified audio segment for an audio item.
|
|
137
|
-
* @param {
|
|
138
|
-
* @param {string} segmentId The segment id.
|
|
136
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request} requestParameters Request parameters.
|
|
139
137
|
* @param {*} [options] Override http request option.
|
|
140
138
|
* @throws {RequiredError}
|
|
141
139
|
*/
|
|
142
|
-
getHlsAudioSegmentLegacyMp3(
|
|
140
|
+
getHlsAudioSegmentLegacyMp3(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
143
141
|
/**
|
|
144
142
|
*
|
|
145
143
|
* @summary Gets a hls video playlist.
|
|
146
|
-
* @param {
|
|
147
|
-
* @param {string} playlistId The playlist id.
|
|
144
|
+
* @param {HlsSegmentApiGetHlsPlaylistLegacyRequest} requestParameters Request parameters.
|
|
148
145
|
* @param {*} [options] Override http request option.
|
|
149
146
|
* @throws {RequiredError}
|
|
150
147
|
*/
|
|
151
|
-
getHlsPlaylistLegacy(
|
|
148
|
+
getHlsPlaylistLegacy(requestParameters: HlsSegmentApiGetHlsPlaylistLegacyRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
152
149
|
/**
|
|
153
150
|
*
|
|
154
151
|
* @summary Gets a hls video segment.
|
|
155
|
-
* @param {
|
|
156
|
-
* @param {string} playlistId The playlist id.
|
|
157
|
-
* @param {string} segmentId The segment id.
|
|
158
|
-
* @param {string} segmentContainer The segment container.
|
|
152
|
+
* @param {HlsSegmentApiGetHlsVideoSegmentLegacyRequest} requestParameters Request parameters.
|
|
159
153
|
* @param {*} [options] Override http request option.
|
|
160
154
|
* @throws {RequiredError}
|
|
161
155
|
*/
|
|
162
|
-
getHlsVideoSegmentLegacy(
|
|
156
|
+
getHlsVideoSegmentLegacy(requestParameters: HlsSegmentApiGetHlsVideoSegmentLegacyRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
163
157
|
/**
|
|
164
158
|
*
|
|
165
159
|
* @summary Stops an active encoding.
|
|
166
|
-
* @param {
|
|
167
|
-
* @param {string} playSessionId The play session id.
|
|
160
|
+
* @param {HlsSegmentApiStopEncodingProcessRequest} requestParameters Request parameters.
|
|
168
161
|
* @param {*} [options] Override http request option.
|
|
169
162
|
* @throws {RequiredError}
|
|
170
163
|
*/
|
|
171
|
-
stopEncodingProcess(
|
|
164
|
+
stopEncodingProcess(requestParameters: HlsSegmentApiStopEncodingProcessRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
172
165
|
};
|
|
173
166
|
/**
|
|
174
167
|
* Request parameters for getHlsAudioSegmentLegacyAac operation in HlsSegmentApi.
|
|
@@ -292,7 +285,7 @@ export declare class HlsSegmentApi extends BaseAPI {
|
|
|
292
285
|
* @throws {RequiredError}
|
|
293
286
|
* @memberof HlsSegmentApi
|
|
294
287
|
*/
|
|
295
|
-
getHlsAudioSegmentLegacyAac(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest, options?:
|
|
288
|
+
getHlsAudioSegmentLegacyAac(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
296
289
|
/**
|
|
297
290
|
*
|
|
298
291
|
* @summary Gets the specified audio segment for an audio item.
|
|
@@ -301,7 +294,7 @@ export declare class HlsSegmentApi extends BaseAPI {
|
|
|
301
294
|
* @throws {RequiredError}
|
|
302
295
|
* @memberof HlsSegmentApi
|
|
303
296
|
*/
|
|
304
|
-
getHlsAudioSegmentLegacyMp3(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request, options?:
|
|
297
|
+
getHlsAudioSegmentLegacyMp3(requestParameters: HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
305
298
|
/**
|
|
306
299
|
*
|
|
307
300
|
* @summary Gets a hls video playlist.
|
|
@@ -310,7 +303,7 @@ export declare class HlsSegmentApi extends BaseAPI {
|
|
|
310
303
|
* @throws {RequiredError}
|
|
311
304
|
* @memberof HlsSegmentApi
|
|
312
305
|
*/
|
|
313
|
-
getHlsPlaylistLegacy(requestParameters: HlsSegmentApiGetHlsPlaylistLegacyRequest, options?:
|
|
306
|
+
getHlsPlaylistLegacy(requestParameters: HlsSegmentApiGetHlsPlaylistLegacyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
314
307
|
/**
|
|
315
308
|
*
|
|
316
309
|
* @summary Gets a hls video segment.
|
|
@@ -319,7 +312,7 @@ export declare class HlsSegmentApi extends BaseAPI {
|
|
|
319
312
|
* @throws {RequiredError}
|
|
320
313
|
* @memberof HlsSegmentApi
|
|
321
314
|
*/
|
|
322
|
-
getHlsVideoSegmentLegacy(requestParameters: HlsSegmentApiGetHlsVideoSegmentLegacyRequest, options?:
|
|
315
|
+
getHlsVideoSegmentLegacy(requestParameters: HlsSegmentApiGetHlsVideoSegmentLegacyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
323
316
|
/**
|
|
324
317
|
*
|
|
325
318
|
* @summary Stops an active encoding.
|
|
@@ -328,5 +321,5 @@ export declare class HlsSegmentApi extends BaseAPI {
|
|
|
328
321
|
* @throws {RequiredError}
|
|
329
322
|
* @memberof HlsSegmentApi
|
|
330
323
|
*/
|
|
331
|
-
stopEncodingProcess(requestParameters: HlsSegmentApiStopEncodingProcessRequest, options?:
|
|
324
|
+
stopEncodingProcess(requestParameters: HlsSegmentApiStopEncodingProcessRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
332
325
|
}
|
|
@@ -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, setSearchParams, toPathString, setApiKeyToObject, 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 HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
getHlsAudioSegmentLegacyAac:
|
|
31
|
+
getHlsAudioSegmentLegacyAac: async (itemId, segmentId, options = {}) => {
|
|
33
32
|
// verify required parameter 'itemId' is not null or undefined
|
|
34
33
|
assertParamExists('getHlsAudioSegmentLegacyAac', 'itemId', itemId);
|
|
35
34
|
// verify required parameter 'segmentId' is not null or undefined
|
|
@@ -43,17 +42,17 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
43
42
|
if (configuration) {
|
|
44
43
|
baseOptions = configuration.baseOptions;
|
|
45
44
|
}
|
|
46
|
-
const localVarRequestOptions =
|
|
45
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
47
46
|
const localVarHeaderParameter = {};
|
|
48
47
|
const localVarQueryParameter = {};
|
|
49
48
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50
49
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51
|
-
localVarRequestOptions.headers =
|
|
50
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
52
51
|
return {
|
|
53
52
|
url: toPathString(localVarUrlObj),
|
|
54
53
|
options: localVarRequestOptions,
|
|
55
54
|
};
|
|
56
|
-
}
|
|
55
|
+
},
|
|
57
56
|
/**
|
|
58
57
|
*
|
|
59
58
|
* @summary Gets the specified audio segment for an audio item.
|
|
@@ -62,7 +61,7 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
62
61
|
* @param {*} [options] Override http request option.
|
|
63
62
|
* @throws {RequiredError}
|
|
64
63
|
*/
|
|
65
|
-
getHlsAudioSegmentLegacyMp3:
|
|
64
|
+
getHlsAudioSegmentLegacyMp3: async (itemId, segmentId, options = {}) => {
|
|
66
65
|
// verify required parameter 'itemId' is not null or undefined
|
|
67
66
|
assertParamExists('getHlsAudioSegmentLegacyMp3', 'itemId', itemId);
|
|
68
67
|
// verify required parameter 'segmentId' is not null or undefined
|
|
@@ -76,17 +75,17 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
76
75
|
if (configuration) {
|
|
77
76
|
baseOptions = configuration.baseOptions;
|
|
78
77
|
}
|
|
79
|
-
const localVarRequestOptions =
|
|
78
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
80
79
|
const localVarHeaderParameter = {};
|
|
81
80
|
const localVarQueryParameter = {};
|
|
82
81
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
82
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
-
localVarRequestOptions.headers =
|
|
83
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
85
84
|
return {
|
|
86
85
|
url: toPathString(localVarUrlObj),
|
|
87
86
|
options: localVarRequestOptions,
|
|
88
87
|
};
|
|
89
|
-
}
|
|
88
|
+
},
|
|
90
89
|
/**
|
|
91
90
|
*
|
|
92
91
|
* @summary Gets a hls video playlist.
|
|
@@ -95,7 +94,7 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
95
94
|
* @param {*} [options] Override http request option.
|
|
96
95
|
* @throws {RequiredError}
|
|
97
96
|
*/
|
|
98
|
-
getHlsPlaylistLegacy:
|
|
97
|
+
getHlsPlaylistLegacy: async (itemId, playlistId, options = {}) => {
|
|
99
98
|
// verify required parameter 'itemId' is not null or undefined
|
|
100
99
|
assertParamExists('getHlsPlaylistLegacy', 'itemId', itemId);
|
|
101
100
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -109,19 +108,19 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
109
108
|
if (configuration) {
|
|
110
109
|
baseOptions = configuration.baseOptions;
|
|
111
110
|
}
|
|
112
|
-
const localVarRequestOptions =
|
|
111
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
113
112
|
const localVarHeaderParameter = {};
|
|
114
113
|
const localVarQueryParameter = {};
|
|
115
114
|
// authentication CustomAuthentication required
|
|
116
|
-
|
|
115
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
117
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
118
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
119
|
-
localVarRequestOptions.headers =
|
|
118
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
120
119
|
return {
|
|
121
120
|
url: toPathString(localVarUrlObj),
|
|
122
121
|
options: localVarRequestOptions,
|
|
123
122
|
};
|
|
124
|
-
}
|
|
123
|
+
},
|
|
125
124
|
/**
|
|
126
125
|
*
|
|
127
126
|
* @summary Gets a hls video segment.
|
|
@@ -132,7 +131,7 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
132
131
|
* @param {*} [options] Override http request option.
|
|
133
132
|
* @throws {RequiredError}
|
|
134
133
|
*/
|
|
135
|
-
getHlsVideoSegmentLegacy:
|
|
134
|
+
getHlsVideoSegmentLegacy: async (itemId, playlistId, segmentId, segmentContainer, options = {}) => {
|
|
136
135
|
// verify required parameter 'itemId' is not null or undefined
|
|
137
136
|
assertParamExists('getHlsVideoSegmentLegacy', 'itemId', itemId);
|
|
138
137
|
// verify required parameter 'playlistId' is not null or undefined
|
|
@@ -152,17 +151,17 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
152
151
|
if (configuration) {
|
|
153
152
|
baseOptions = configuration.baseOptions;
|
|
154
153
|
}
|
|
155
|
-
const localVarRequestOptions =
|
|
154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
156
155
|
const localVarHeaderParameter = {};
|
|
157
156
|
const localVarQueryParameter = {};
|
|
158
157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
159
158
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
160
|
-
localVarRequestOptions.headers =
|
|
159
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
161
160
|
return {
|
|
162
161
|
url: toPathString(localVarUrlObj),
|
|
163
162
|
options: localVarRequestOptions,
|
|
164
163
|
};
|
|
165
|
-
}
|
|
164
|
+
},
|
|
166
165
|
/**
|
|
167
166
|
*
|
|
168
167
|
* @summary Stops an active encoding.
|
|
@@ -171,7 +170,7 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
171
170
|
* @param {*} [options] Override http request option.
|
|
172
171
|
* @throws {RequiredError}
|
|
173
172
|
*/
|
|
174
|
-
stopEncodingProcess:
|
|
173
|
+
stopEncodingProcess: async (deviceId, playSessionId, options = {}) => {
|
|
175
174
|
// verify required parameter 'deviceId' is not null or undefined
|
|
176
175
|
assertParamExists('stopEncodingProcess', 'deviceId', deviceId);
|
|
177
176
|
// verify required parameter 'playSessionId' is not null or undefined
|
|
@@ -183,11 +182,11 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
183
182
|
if (configuration) {
|
|
184
183
|
baseOptions = configuration.baseOptions;
|
|
185
184
|
}
|
|
186
|
-
const localVarRequestOptions =
|
|
185
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
187
186
|
const localVarHeaderParameter = {};
|
|
188
187
|
const localVarQueryParameter = {};
|
|
189
188
|
// authentication CustomAuthentication required
|
|
190
|
-
|
|
189
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
191
190
|
if (deviceId !== undefined) {
|
|
192
191
|
localVarQueryParameter['deviceId'] = deviceId;
|
|
193
192
|
}
|
|
@@ -196,12 +195,12 @@ const HlsSegmentApiAxiosParamCreator = function (configuration) {
|
|
|
196
195
|
}
|
|
197
196
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
-
localVarRequestOptions.headers =
|
|
198
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
200
199
|
return {
|
|
201
200
|
url: toPathString(localVarUrlObj),
|
|
202
201
|
options: localVarRequestOptions,
|
|
203
202
|
};
|
|
204
|
-
}
|
|
203
|
+
},
|
|
205
204
|
};
|
|
206
205
|
};
|
|
207
206
|
/**
|
|
@@ -219,11 +218,12 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
219
218
|
* @param {*} [options] Override http request option.
|
|
220
219
|
* @throws {RequiredError}
|
|
221
220
|
*/
|
|
222
|
-
getHlsAudioSegmentLegacyAac(itemId, segmentId, options) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
221
|
+
async getHlsAudioSegmentLegacyAac(itemId, segmentId, options) {
|
|
222
|
+
var _a, _b, _c;
|
|
223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegmentLegacyAac(itemId, segmentId, options);
|
|
224
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
225
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HlsSegmentApi.getHlsAudioSegmentLegacyAac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
227
227
|
},
|
|
228
228
|
/**
|
|
229
229
|
*
|
|
@@ -233,11 +233,12 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
getHlsAudioSegmentLegacyMp3(itemId, segmentId, options) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
236
|
+
async getHlsAudioSegmentLegacyMp3(itemId, segmentId, options) {
|
|
237
|
+
var _a, _b, _c;
|
|
238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegmentLegacyMp3(itemId, segmentId, options);
|
|
239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
240
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HlsSegmentApi.getHlsAudioSegmentLegacyMp3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
241
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
241
242
|
},
|
|
242
243
|
/**
|
|
243
244
|
*
|
|
@@ -247,11 +248,12 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
*/
|
|
250
|
-
getHlsPlaylistLegacy(itemId, playlistId, options) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
async getHlsPlaylistLegacy(itemId, playlistId, options) {
|
|
252
|
+
var _a, _b, _c;
|
|
253
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsPlaylistLegacy(itemId, playlistId, options);
|
|
254
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
255
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HlsSegmentApi.getHlsPlaylistLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
256
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
255
257
|
},
|
|
256
258
|
/**
|
|
257
259
|
*
|
|
@@ -263,11 +265,12 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
263
265
|
* @param {*} [options] Override http request option.
|
|
264
266
|
* @throws {RequiredError}
|
|
265
267
|
*/
|
|
266
|
-
getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options) {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
async getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options) {
|
|
269
|
+
var _a, _b, _c;
|
|
270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options);
|
|
271
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
272
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HlsSegmentApi.getHlsVideoSegmentLegacy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
273
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
271
274
|
},
|
|
272
275
|
/**
|
|
273
276
|
*
|
|
@@ -277,11 +280,12 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
277
280
|
* @param {*} [options] Override http request option.
|
|
278
281
|
* @throws {RequiredError}
|
|
279
282
|
*/
|
|
280
|
-
stopEncodingProcess(deviceId, playSessionId, options) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
async stopEncodingProcess(deviceId, playSessionId, options) {
|
|
284
|
+
var _a, _b, _c;
|
|
285
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopEncodingProcess(deviceId, playSessionId, options);
|
|
286
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
287
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HlsSegmentApi.stopEncodingProcess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
288
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
285
289
|
},
|
|
286
290
|
};
|
|
287
291
|
};
|
|
@@ -295,59 +299,52 @@ const HlsSegmentApiFactory = function (configuration, basePath, axios) {
|
|
|
295
299
|
/**
|
|
296
300
|
*
|
|
297
301
|
* @summary Gets the specified audio segment for an audio item.
|
|
298
|
-
* @param {
|
|
299
|
-
* @param {string} segmentId The segment id.
|
|
302
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest} requestParameters Request parameters.
|
|
300
303
|
* @param {*} [options] Override http request option.
|
|
301
304
|
* @throws {RequiredError}
|
|
302
305
|
*/
|
|
303
|
-
getHlsAudioSegmentLegacyAac(
|
|
304
|
-
return localVarFp.getHlsAudioSegmentLegacyAac(itemId, segmentId, options).then((request) => request(axios, basePath));
|
|
306
|
+
getHlsAudioSegmentLegacyAac(requestParameters, options) {
|
|
307
|
+
return localVarFp.getHlsAudioSegmentLegacyAac(requestParameters.itemId, requestParameters.segmentId, options).then((request) => request(axios, basePath));
|
|
305
308
|
},
|
|
306
309
|
/**
|
|
307
310
|
*
|
|
308
311
|
* @summary Gets the specified audio segment for an audio item.
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {string} segmentId The segment id.
|
|
312
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request} requestParameters Request parameters.
|
|
311
313
|
* @param {*} [options] Override http request option.
|
|
312
314
|
* @throws {RequiredError}
|
|
313
315
|
*/
|
|
314
|
-
getHlsAudioSegmentLegacyMp3(
|
|
315
|
-
return localVarFp.getHlsAudioSegmentLegacyMp3(itemId, segmentId, options).then((request) => request(axios, basePath));
|
|
316
|
+
getHlsAudioSegmentLegacyMp3(requestParameters, options) {
|
|
317
|
+
return localVarFp.getHlsAudioSegmentLegacyMp3(requestParameters.itemId, requestParameters.segmentId, options).then((request) => request(axios, basePath));
|
|
316
318
|
},
|
|
317
319
|
/**
|
|
318
320
|
*
|
|
319
321
|
* @summary Gets a hls video playlist.
|
|
320
|
-
* @param {
|
|
321
|
-
* @param {string} playlistId The playlist id.
|
|
322
|
+
* @param {HlsSegmentApiGetHlsPlaylistLegacyRequest} requestParameters Request parameters.
|
|
322
323
|
* @param {*} [options] Override http request option.
|
|
323
324
|
* @throws {RequiredError}
|
|
324
325
|
*/
|
|
325
|
-
getHlsPlaylistLegacy(
|
|
326
|
-
return localVarFp.getHlsPlaylistLegacy(itemId, playlistId, options).then((request) => request(axios, basePath));
|
|
326
|
+
getHlsPlaylistLegacy(requestParameters, options) {
|
|
327
|
+
return localVarFp.getHlsPlaylistLegacy(requestParameters.itemId, requestParameters.playlistId, options).then((request) => request(axios, basePath));
|
|
327
328
|
},
|
|
328
329
|
/**
|
|
329
330
|
*
|
|
330
331
|
* @summary Gets a hls video segment.
|
|
331
|
-
* @param {
|
|
332
|
-
* @param {string} playlistId The playlist id.
|
|
333
|
-
* @param {string} segmentId The segment id.
|
|
334
|
-
* @param {string} segmentContainer The segment container.
|
|
332
|
+
* @param {HlsSegmentApiGetHlsVideoSegmentLegacyRequest} requestParameters Request parameters.
|
|
335
333
|
* @param {*} [options] Override http request option.
|
|
336
334
|
* @throws {RequiredError}
|
|
337
335
|
*/
|
|
338
|
-
getHlsVideoSegmentLegacy(
|
|
339
|
-
return localVarFp.getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options).then((request) => request(axios, basePath));
|
|
336
|
+
getHlsVideoSegmentLegacy(requestParameters, options) {
|
|
337
|
+
return localVarFp.getHlsVideoSegmentLegacy(requestParameters.itemId, requestParameters.playlistId, requestParameters.segmentId, requestParameters.segmentContainer, options).then((request) => request(axios, basePath));
|
|
340
338
|
},
|
|
341
339
|
/**
|
|
342
340
|
*
|
|
343
341
|
* @summary Stops an active encoding.
|
|
344
|
-
* @param {
|
|
345
|
-
* @param {string} playSessionId The play session id.
|
|
342
|
+
* @param {HlsSegmentApiStopEncodingProcessRequest} requestParameters Request parameters.
|
|
346
343
|
* @param {*} [options] Override http request option.
|
|
347
344
|
* @throws {RequiredError}
|
|
348
345
|
*/
|
|
349
|
-
stopEncodingProcess(
|
|
350
|
-
return localVarFp.stopEncodingProcess(deviceId, playSessionId, options).then((request) => request(axios, basePath));
|
|
346
|
+
stopEncodingProcess(requestParameters, options) {
|
|
347
|
+
return localVarFp.stopEncodingProcess(requestParameters.deviceId, requestParameters.playSessionId, options).then((request) => request(axios, basePath));
|
|
351
348
|
},
|
|
352
349
|
};
|
|
353
350
|
};
|