@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,12 +8,12 @@
|
|
|
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 { BaseItemDtoQueryResult } from '../models';
|
|
15
|
-
import { CollectionType } from '../models';
|
|
16
|
-
import { SpecialViewOptionDto } 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 { BaseItemDtoQueryResult } from '../models';
|
|
15
|
+
import type { CollectionType } from '../models';
|
|
16
|
+
import type { SpecialViewOptionDto } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* UserViewsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -26,7 +26,7 @@ export declare const UserViewsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
getGroupingOptions: (userId?: string, options?:
|
|
29
|
+
getGroupingOptions: (userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @summary Get user views.
|
|
@@ -37,7 +37,7 @@ export declare const UserViewsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
getUserViews: (userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?:
|
|
40
|
+
getUserViews: (userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* UserViewsApi - functional programming interface
|
|
@@ -51,7 +51,7 @@ export declare const UserViewsApiFp: (configuration?: Configuration) => {
|
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
getGroupingOptions(userId?: string, options?:
|
|
54
|
+
getGroupingOptions(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SpecialViewOptionDto>>>;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @summary Get user views.
|
|
@@ -62,7 +62,7 @@ export declare const UserViewsApiFp: (configuration?: Configuration) => {
|
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
getUserViews(userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?:
|
|
65
|
+
getUserViews(userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* UserViewsApi - factory interface
|
|
@@ -72,22 +72,19 @@ export declare const UserViewsApiFactory: (configuration?: Configuration, basePa
|
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @summary Get user view grouping options.
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {UserViewsApiGetGroupingOptionsRequest} requestParameters Request parameters.
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
getGroupingOptions(
|
|
79
|
+
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SpecialViewOptionDto>>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @summary Get user views.
|
|
83
|
-
* @param {
|
|
84
|
-
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
85
|
-
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
86
|
-
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
83
|
+
* @param {UserViewsApiGetUserViewsRequest} requestParameters Request parameters.
|
|
87
84
|
* @param {*} [options] Override http request option.
|
|
88
85
|
* @throws {RequiredError}
|
|
89
86
|
*/
|
|
90
|
-
getUserViews(
|
|
87
|
+
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
91
88
|
};
|
|
92
89
|
/**
|
|
93
90
|
* Request parameters for getGroupingOptions operation in UserViewsApi.
|
|
@@ -148,7 +145,7 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
148
145
|
* @throws {RequiredError}
|
|
149
146
|
* @memberof UserViewsApi
|
|
150
147
|
*/
|
|
151
|
-
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?:
|
|
148
|
+
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialViewOptionDto[], any>>;
|
|
152
149
|
/**
|
|
153
150
|
*
|
|
154
151
|
* @summary Get user views.
|
|
@@ -157,5 +154,5 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
157
154
|
* @throws {RequiredError}
|
|
158
155
|
* @memberof UserViewsApi
|
|
159
156
|
*/
|
|
160
|
-
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?:
|
|
157
|
+
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
161
158
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, 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 */
|
|
@@ -28,7 +27,7 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
28
27
|
* @param {*} [options] Override http request option.
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
|
-
getGroupingOptions:
|
|
30
|
+
getGroupingOptions: async (userId, options = {}) => {
|
|
32
31
|
const localVarPath = `/UserViews/GroupingOptions`;
|
|
33
32
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34
33
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -36,22 +35,22 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
36
35
|
if (configuration) {
|
|
37
36
|
baseOptions = configuration.baseOptions;
|
|
38
37
|
}
|
|
39
|
-
const localVarRequestOptions =
|
|
38
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
40
39
|
const localVarHeaderParameter = {};
|
|
41
40
|
const localVarQueryParameter = {};
|
|
42
41
|
// authentication CustomAuthentication required
|
|
43
|
-
|
|
42
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
44
43
|
if (userId !== undefined) {
|
|
45
44
|
localVarQueryParameter['userId'] = userId;
|
|
46
45
|
}
|
|
47
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49
|
-
localVarRequestOptions.headers =
|
|
48
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
50
49
|
return {
|
|
51
50
|
url: toPathString(localVarUrlObj),
|
|
52
51
|
options: localVarRequestOptions,
|
|
53
52
|
};
|
|
54
|
-
}
|
|
53
|
+
},
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary Get user views.
|
|
@@ -62,7 +61,7 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
62
61
|
* @param {*} [options] Override http request option.
|
|
63
62
|
* @throws {RequiredError}
|
|
64
63
|
*/
|
|
65
|
-
getUserViews:
|
|
64
|
+
getUserViews: async (userId, includeExternalContent, presetViews, includeHidden, options = {}) => {
|
|
66
65
|
const localVarPath = `/UserViews`;
|
|
67
66
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68
67
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -70,11 +69,11 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
if (configuration) {
|
|
71
70
|
baseOptions = configuration.baseOptions;
|
|
72
71
|
}
|
|
73
|
-
const localVarRequestOptions =
|
|
72
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
74
73
|
const localVarHeaderParameter = {};
|
|
75
74
|
const localVarQueryParameter = {};
|
|
76
75
|
// authentication CustomAuthentication required
|
|
77
|
-
|
|
76
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
78
77
|
if (userId !== undefined) {
|
|
79
78
|
localVarQueryParameter['userId'] = userId;
|
|
80
79
|
}
|
|
@@ -89,12 +88,12 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
89
88
|
}
|
|
90
89
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
90
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
-
localVarRequestOptions.headers =
|
|
91
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
93
92
|
return {
|
|
94
93
|
url: toPathString(localVarUrlObj),
|
|
95
94
|
options: localVarRequestOptions,
|
|
96
95
|
};
|
|
97
|
-
}
|
|
96
|
+
},
|
|
98
97
|
};
|
|
99
98
|
};
|
|
100
99
|
/**
|
|
@@ -111,11 +110,12 @@ const UserViewsApiFp = function (configuration) {
|
|
|
111
110
|
* @param {*} [options] Override http request option.
|
|
112
111
|
* @throws {RequiredError}
|
|
113
112
|
*/
|
|
114
|
-
getGroupingOptions(userId, options) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
async getGroupingOptions(userId, options) {
|
|
114
|
+
var _a, _b, _c;
|
|
115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGroupingOptions(userId, options);
|
|
116
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
117
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserViewsApi.getGroupingOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
119
119
|
},
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
@@ -127,11 +127,12 @@ const UserViewsApiFp = function (configuration) {
|
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
130
|
-
getUserViews(userId, includeExternalContent, presetViews, includeHidden, options) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
async getUserViews(userId, includeExternalContent, presetViews, includeHidden, options) {
|
|
131
|
+
var _a, _b, _c;
|
|
132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserViews(userId, includeExternalContent, presetViews, includeHidden, options);
|
|
133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
134
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserViewsApi.getUserViews']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
135
136
|
},
|
|
136
137
|
};
|
|
137
138
|
};
|
|
@@ -145,25 +146,22 @@ const UserViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
145
146
|
/**
|
|
146
147
|
*
|
|
147
148
|
* @summary Get user view grouping options.
|
|
148
|
-
* @param {
|
|
149
|
+
* @param {UserViewsApiGetGroupingOptionsRequest} requestParameters Request parameters.
|
|
149
150
|
* @param {*} [options] Override http request option.
|
|
150
151
|
* @throws {RequiredError}
|
|
151
152
|
*/
|
|
152
|
-
getGroupingOptions(
|
|
153
|
-
return localVarFp.getGroupingOptions(userId, options).then((request) => request(axios, basePath));
|
|
153
|
+
getGroupingOptions(requestParameters = {}, options) {
|
|
154
|
+
return localVarFp.getGroupingOptions(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
154
155
|
},
|
|
155
156
|
/**
|
|
156
157
|
*
|
|
157
158
|
* @summary Get user views.
|
|
158
|
-
* @param {
|
|
159
|
-
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
160
|
-
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
161
|
-
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
159
|
+
* @param {UserViewsApiGetUserViewsRequest} requestParameters Request parameters.
|
|
162
160
|
* @param {*} [options] Override http request option.
|
|
163
161
|
* @throws {RequiredError}
|
|
164
162
|
*/
|
|
165
|
-
getUserViews(
|
|
166
|
-
return localVarFp.getUserViews(userId, includeExternalContent, presetViews, includeHidden, options).then((request) => request(axios, basePath));
|
|
163
|
+
getUserViews(requestParameters = {}, options) {
|
|
164
|
+
return localVarFp.getUserViews(requestParameters.userId, requestParameters.includeExternalContent, requestParameters.presetViews, requestParameters.includeHidden, options).then((request) => request(axios, basePath));
|
|
167
165
|
},
|
|
168
166
|
};
|
|
169
167
|
};
|
|
@@ -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
|
* VideoAttachmentsApi - axios parameter creator
|
|
16
16
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const VideoAttachmentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
getAttachment: (videoId: string, mediaSourceId: string, index: number, options?:
|
|
28
|
+
getAttachment: (videoId: string, mediaSourceId: string, index: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* VideoAttachmentsApi - functional programming interface
|
|
@@ -41,7 +41,7 @@ export declare const VideoAttachmentsApiFp: (configuration?: Configuration) => {
|
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
getAttachment(videoId: string, mediaSourceId: string, index: number, options?:
|
|
44
|
+
getAttachment(videoId: string, mediaSourceId: string, index: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* VideoAttachmentsApi - factory interface
|
|
@@ -51,13 +51,11 @@ export declare const VideoAttachmentsApiFactory: (configuration?: Configuration,
|
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @summary Get video attachment.
|
|
54
|
-
* @param {
|
|
55
|
-
* @param {string} mediaSourceId Media Source ID.
|
|
56
|
-
* @param {number} index Attachment Index.
|
|
54
|
+
* @param {VideoAttachmentsApiGetAttachmentRequest} requestParameters Request parameters.
|
|
57
55
|
* @param {*} [options] Override http request option.
|
|
58
56
|
* @throws {RequiredError}
|
|
59
57
|
*/
|
|
60
|
-
getAttachment(
|
|
58
|
+
getAttachment(requestParameters: VideoAttachmentsApiGetAttachmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
61
59
|
};
|
|
62
60
|
/**
|
|
63
61
|
* Request parameters for getAttachment operation in VideoAttachmentsApi.
|
|
@@ -99,5 +97,5 @@ export declare class VideoAttachmentsApi extends BaseAPI {
|
|
|
99
97
|
* @throws {RequiredError}
|
|
100
98
|
* @memberof VideoAttachmentsApi
|
|
101
99
|
*/
|
|
102
|
-
getAttachment(requestParameters: VideoAttachmentsApiGetAttachmentRequest, options?:
|
|
100
|
+
getAttachment(requestParameters: VideoAttachmentsApiGetAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
103
101
|
}
|
|
@@ -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, 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 */
|
|
@@ -30,7 +29,7 @@ const VideoAttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
30
29
|
* @param {*} [options] Override http request option.
|
|
31
30
|
* @throws {RequiredError}
|
|
32
31
|
*/
|
|
33
|
-
getAttachment:
|
|
32
|
+
getAttachment: async (videoId, mediaSourceId, index, options = {}) => {
|
|
34
33
|
// verify required parameter 'videoId' is not null or undefined
|
|
35
34
|
assertParamExists('getAttachment', 'videoId', videoId);
|
|
36
35
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -47,17 +46,17 @@ const VideoAttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
47
46
|
if (configuration) {
|
|
48
47
|
baseOptions = configuration.baseOptions;
|
|
49
48
|
}
|
|
50
|
-
const localVarRequestOptions =
|
|
49
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
51
50
|
const localVarHeaderParameter = {};
|
|
52
51
|
const localVarQueryParameter = {};
|
|
53
52
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
54
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
55
|
-
localVarRequestOptions.headers =
|
|
54
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
56
55
|
return {
|
|
57
56
|
url: toPathString(localVarUrlObj),
|
|
58
57
|
options: localVarRequestOptions,
|
|
59
58
|
};
|
|
60
|
-
}
|
|
59
|
+
},
|
|
61
60
|
};
|
|
62
61
|
};
|
|
63
62
|
/**
|
|
@@ -76,11 +75,12 @@ const VideoAttachmentsApiFp = function (configuration) {
|
|
|
76
75
|
* @param {*} [options] Override http request option.
|
|
77
76
|
* @throws {RequiredError}
|
|
78
77
|
*/
|
|
79
|
-
getAttachment(videoId, mediaSourceId, index, options) {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
async getAttachment(videoId, mediaSourceId, index, options) {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAttachment(videoId, mediaSourceId, index, options);
|
|
81
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
82
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['VideoAttachmentsApi.getAttachment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
83
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
84
84
|
},
|
|
85
85
|
};
|
|
86
86
|
};
|
|
@@ -94,14 +94,12 @@ const VideoAttachmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @summary Get video attachment.
|
|
97
|
-
* @param {
|
|
98
|
-
* @param {string} mediaSourceId Media Source ID.
|
|
99
|
-
* @param {number} index Attachment Index.
|
|
97
|
+
* @param {VideoAttachmentsApiGetAttachmentRequest} requestParameters Request parameters.
|
|
100
98
|
* @param {*} [options] Override http request option.
|
|
101
99
|
* @throws {RequiredError}
|
|
102
100
|
*/
|
|
103
|
-
getAttachment(
|
|
104
|
-
return localVarFp.getAttachment(videoId, mediaSourceId, index, options).then((request) => request(axios, basePath));
|
|
101
|
+
getAttachment(requestParameters, options) {
|
|
102
|
+
return localVarFp.getAttachment(requestParameters.videoId, requestParameters.mediaSourceId, requestParameters.index, options).then((request) => request(axios, basePath));
|
|
105
103
|
},
|
|
106
104
|
};
|
|
107
105
|
};
|