@jellyfin/sdk 0.10.0 → 0.12.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/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +35 -19
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +24 -13
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +30 -63
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +94 -57
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +16 -25
- package/lib/generated-client/api.d.ts +2 -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 +4 -4
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +11 -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/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- 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/branding-options-dto.d.ts +35 -0
- 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/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- 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 +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- 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-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +29 -6
- 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 +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- 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/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- 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 +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- 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/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- 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/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -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 +8 -2
- 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-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- 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-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +29 -23
- 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/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- 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-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- 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-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- 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 +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -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-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -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 +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- 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/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { BaseItemDto } from '../models';
|
|
15
|
-
import { BaseItemDtoQueryResult } from '../models';
|
|
16
|
-
import { BaseItemKind } from '../models';
|
|
17
|
-
import { ImageType } from '../models';
|
|
18
|
-
import { ItemFields } from '../models';
|
|
19
|
-
import { ItemSortBy } from '../models';
|
|
20
|
-
import { SortOrder } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { BaseItemDto } from '../models';
|
|
15
|
+
import type { BaseItemDtoQueryResult } from '../models';
|
|
16
|
+
import type { BaseItemKind } from '../models';
|
|
17
|
+
import type { ImageType } from '../models';
|
|
18
|
+
import type { ItemFields } from '../models';
|
|
19
|
+
import type { ItemSortBy } from '../models';
|
|
20
|
+
import type { SortOrder } from '../models';
|
|
21
21
|
/**
|
|
22
22
|
* GenresApi - axios parameter creator
|
|
23
23
|
* @export
|
|
@@ -31,7 +31,7 @@ export declare const GenresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
getGenre: (genreName: string, userId?: string, options?:
|
|
34
|
+
getGenre: (genreName: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Gets all genres from a given item, folder, or the entire library.
|
|
@@ -56,7 +56,7 @@ export declare const GenresApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
59
|
+
getGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* GenresApi - functional programming interface
|
|
@@ -71,7 +71,7 @@ export declare const GenresApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
getGenre(genreName: string, userId?: string, options?:
|
|
74
|
+
getGenre(genreName: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto>>;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @summary Gets all genres from a given item, folder, or the entire library.
|
|
@@ -96,7 +96,7 @@ export declare const GenresApiFp: (configuration?: Configuration) => {
|
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
99
|
+
getGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* GenresApi - factory interface
|
|
@@ -106,37 +106,19 @@ export declare const GenresApiFactory: (configuration?: Configuration, basePath?
|
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @summary Gets a genre, by name.
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {string} [userId] The user id.
|
|
109
|
+
* @param {GenresApiGetGenreRequest} requestParameters Request parameters.
|
|
111
110
|
* @param {*} [options] Override http request option.
|
|
112
111
|
* @throws {RequiredError}
|
|
113
112
|
*/
|
|
114
|
-
getGenre(
|
|
113
|
+
getGenre(requestParameters: GenresApiGetGenreRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDto>;
|
|
115
114
|
/**
|
|
116
115
|
*
|
|
117
116
|
* @summary Gets all genres from a given item, folder, or the entire library.
|
|
118
|
-
* @param {
|
|
119
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
120
|
-
* @param {string} [searchTerm] The search term.
|
|
121
|
-
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
122
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
123
|
-
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
|
|
124
|
-
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited.
|
|
125
|
-
* @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
|
|
126
|
-
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
127
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
128
|
-
* @param {string} [userId] User id.
|
|
129
|
-
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
130
|
-
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
131
|
-
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
132
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
133
|
-
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
134
|
-
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
135
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
117
|
+
* @param {GenresApiGetGenresRequest} requestParameters Request parameters.
|
|
136
118
|
* @param {*} [options] Override http request option.
|
|
137
119
|
* @throws {RequiredError}
|
|
138
120
|
*/
|
|
139
|
-
getGenres(
|
|
121
|
+
getGenres(requestParameters?: GenresApiGetGenresRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
140
122
|
};
|
|
141
123
|
/**
|
|
142
124
|
* Request parameters for getGenre operation in GenresApi.
|
|
@@ -287,7 +269,7 @@ export declare class GenresApi extends BaseAPI {
|
|
|
287
269
|
* @throws {RequiredError}
|
|
288
270
|
* @memberof GenresApi
|
|
289
271
|
*/
|
|
290
|
-
getGenre(requestParameters: GenresApiGetGenreRequest, options?:
|
|
272
|
+
getGenre(requestParameters: GenresApiGetGenreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
291
273
|
/**
|
|
292
274
|
*
|
|
293
275
|
* @summary Gets all genres from a given item, folder, or the entire library.
|
|
@@ -296,5 +278,5 @@ export declare class GenresApi extends BaseAPI {
|
|
|
296
278
|
* @throws {RequiredError}
|
|
297
279
|
* @memberof GenresApi
|
|
298
280
|
*/
|
|
299
|
-
getGenres(requestParameters?: GenresApiGetGenresRequest, options?:
|
|
281
|
+
getGenres(requestParameters?: GenresApiGetGenresRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
300
282
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import {
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -172,8 +172,11 @@ const GenresApiFp = function (configuration) {
|
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
174
|
async getGenre(genreName, userId, options) {
|
|
175
|
+
var _a, _b, _c;
|
|
175
176
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenre(genreName, userId, options);
|
|
176
|
-
|
|
177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['GenresApi.getGenre']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
179
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
177
180
|
},
|
|
178
181
|
/**
|
|
179
182
|
*
|
|
@@ -200,8 +203,11 @@ const GenresApiFp = function (configuration) {
|
|
|
200
203
|
* @throws {RequiredError}
|
|
201
204
|
*/
|
|
202
205
|
async getGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options) {
|
|
206
|
+
var _a, _b, _c;
|
|
203
207
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options);
|
|
204
|
-
|
|
208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
209
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['GenresApi.getGenres']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
205
211
|
},
|
|
206
212
|
};
|
|
207
213
|
};
|
|
@@ -215,40 +221,22 @@ const GenresApiFactory = function (configuration, basePath, axios) {
|
|
|
215
221
|
/**
|
|
216
222
|
*
|
|
217
223
|
* @summary Gets a genre, by name.
|
|
218
|
-
* @param {
|
|
219
|
-
* @param {string} [userId] The user id.
|
|
224
|
+
* @param {GenresApiGetGenreRequest} requestParameters Request parameters.
|
|
220
225
|
* @param {*} [options] Override http request option.
|
|
221
226
|
* @throws {RequiredError}
|
|
222
227
|
*/
|
|
223
|
-
getGenre(
|
|
224
|
-
return localVarFp.getGenre(genreName, userId, options).then((request) => request(axios, basePath));
|
|
228
|
+
getGenre(requestParameters, options) {
|
|
229
|
+
return localVarFp.getGenre(requestParameters.genreName, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
225
230
|
},
|
|
226
231
|
/**
|
|
227
232
|
*
|
|
228
233
|
* @summary Gets all genres from a given item, folder, or the entire library.
|
|
229
|
-
* @param {
|
|
230
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
231
|
-
* @param {string} [searchTerm] The search term.
|
|
232
|
-
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
233
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
234
|
-
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
|
|
235
|
-
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited.
|
|
236
|
-
* @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
|
|
237
|
-
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
238
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
239
|
-
* @param {string} [userId] User id.
|
|
240
|
-
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
241
|
-
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
242
|
-
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
243
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
244
|
-
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
245
|
-
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
246
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
234
|
+
* @param {GenresApiGetGenresRequest} requestParameters Request parameters.
|
|
247
235
|
* @param {*} [options] Override http request option.
|
|
248
236
|
* @throws {RequiredError}
|
|
249
237
|
*/
|
|
250
|
-
getGenres(
|
|
251
|
-
return localVarFp.getGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
238
|
+
getGenres(requestParameters = {}, options) {
|
|
239
|
+
return localVarFp.getGenres(requestParameters.startIndex, requestParameters.limit, requestParameters.searchTerm, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.isFavorite, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.userId, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.enableImages, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
252
240
|
},
|
|
253
241
|
};
|
|
254
242
|
};
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { assertParamExists, DUMMY_BASE_URL, setSearchParams, toPathString,
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -219,8 +219,11 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
219
219
|
* @throws {RequiredError}
|
|
220
220
|
*/
|
|
221
221
|
async getHlsAudioSegmentLegacyAac(itemId, segmentId, options) {
|
|
222
|
+
var _a, _b, _c;
|
|
222
223
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegmentLegacyAac(itemId, segmentId, options);
|
|
223
|
-
|
|
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);
|
|
224
227
|
},
|
|
225
228
|
/**
|
|
226
229
|
*
|
|
@@ -231,8 +234,11 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
231
234
|
* @throws {RequiredError}
|
|
232
235
|
*/
|
|
233
236
|
async getHlsAudioSegmentLegacyMp3(itemId, segmentId, options) {
|
|
237
|
+
var _a, _b, _c;
|
|
234
238
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegmentLegacyMp3(itemId, segmentId, options);
|
|
235
|
-
|
|
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);
|
|
236
242
|
},
|
|
237
243
|
/**
|
|
238
244
|
*
|
|
@@ -243,8 +249,11 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
243
249
|
* @throws {RequiredError}
|
|
244
250
|
*/
|
|
245
251
|
async getHlsPlaylistLegacy(itemId, playlistId, options) {
|
|
252
|
+
var _a, _b, _c;
|
|
246
253
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsPlaylistLegacy(itemId, playlistId, options);
|
|
247
|
-
|
|
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);
|
|
248
257
|
},
|
|
249
258
|
/**
|
|
250
259
|
*
|
|
@@ -257,8 +266,11 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
257
266
|
* @throws {RequiredError}
|
|
258
267
|
*/
|
|
259
268
|
async getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options) {
|
|
269
|
+
var _a, _b, _c;
|
|
260
270
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsVideoSegmentLegacy(itemId, playlistId, segmentId, segmentContainer, options);
|
|
261
|
-
|
|
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);
|
|
262
274
|
},
|
|
263
275
|
/**
|
|
264
276
|
*
|
|
@@ -269,8 +281,11 @@ const HlsSegmentApiFp = function (configuration) {
|
|
|
269
281
|
* @throws {RequiredError}
|
|
270
282
|
*/
|
|
271
283
|
async stopEncodingProcess(deviceId, playSessionId, options) {
|
|
284
|
+
var _a, _b, _c;
|
|
272
285
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopEncodingProcess(deviceId, playSessionId, options);
|
|
273
|
-
|
|
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);
|
|
274
289
|
},
|
|
275
290
|
};
|
|
276
291
|
};
|
|
@@ -284,59 +299,52 @@ const HlsSegmentApiFactory = function (configuration, basePath, axios) {
|
|
|
284
299
|
/**
|
|
285
300
|
*
|
|
286
301
|
* @summary Gets the specified audio segment for an audio item.
|
|
287
|
-
* @param {
|
|
288
|
-
* @param {string} segmentId The segment id.
|
|
302
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyAacRequest} requestParameters Request parameters.
|
|
289
303
|
* @param {*} [options] Override http request option.
|
|
290
304
|
* @throws {RequiredError}
|
|
291
305
|
*/
|
|
292
|
-
getHlsAudioSegmentLegacyAac(
|
|
293
|
-
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));
|
|
294
308
|
},
|
|
295
309
|
/**
|
|
296
310
|
*
|
|
297
311
|
* @summary Gets the specified audio segment for an audio item.
|
|
298
|
-
* @param {
|
|
299
|
-
* @param {string} segmentId The segment id.
|
|
312
|
+
* @param {HlsSegmentApiGetHlsAudioSegmentLegacyMp3Request} requestParameters Request parameters.
|
|
300
313
|
* @param {*} [options] Override http request option.
|
|
301
314
|
* @throws {RequiredError}
|
|
302
315
|
*/
|
|
303
|
-
getHlsAudioSegmentLegacyMp3(
|
|
304
|
-
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));
|
|
305
318
|
},
|
|
306
319
|
/**
|
|
307
320
|
*
|
|
308
321
|
* @summary Gets a hls video playlist.
|
|
309
|
-
* @param {
|
|
310
|
-
* @param {string} playlistId The playlist id.
|
|
322
|
+
* @param {HlsSegmentApiGetHlsPlaylistLegacyRequest} requestParameters Request parameters.
|
|
311
323
|
* @param {*} [options] Override http request option.
|
|
312
324
|
* @throws {RequiredError}
|
|
313
325
|
*/
|
|
314
|
-
getHlsPlaylistLegacy(
|
|
315
|
-
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));
|
|
316
328
|
},
|
|
317
329
|
/**
|
|
318
330
|
*
|
|
319
331
|
* @summary Gets a hls video segment.
|
|
320
|
-
* @param {
|
|
321
|
-
* @param {string} playlistId The playlist id.
|
|
322
|
-
* @param {string} segmentId The segment id.
|
|
323
|
-
* @param {string} segmentContainer The segment container.
|
|
332
|
+
* @param {HlsSegmentApiGetHlsVideoSegmentLegacyRequest} requestParameters Request parameters.
|
|
324
333
|
* @param {*} [options] Override http request option.
|
|
325
334
|
* @throws {RequiredError}
|
|
326
335
|
*/
|
|
327
|
-
getHlsVideoSegmentLegacy(
|
|
328
|
-
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));
|
|
329
338
|
},
|
|
330
339
|
/**
|
|
331
340
|
*
|
|
332
341
|
* @summary Stops an active encoding.
|
|
333
|
-
* @param {
|
|
334
|
-
* @param {string} playSessionId The play session id.
|
|
342
|
+
* @param {HlsSegmentApiStopEncodingProcessRequest} requestParameters Request parameters.
|
|
335
343
|
* @param {*} [options] Override http request option.
|
|
336
344
|
* @throws {RequiredError}
|
|
337
345
|
*/
|
|
338
|
-
stopEncodingProcess(
|
|
339
|
-
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));
|
|
340
348
|
},
|
|
341
349
|
};
|
|
342
350
|
};
|