@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,10 +8,10 @@
|
|
|
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 { QuickConnectResult } 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 { QuickConnectResult } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* QuickConnectApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -25,14 +25,14 @@ export declare const QuickConnectApiAxiosParamCreator: (configuration?: Configur
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
authorizeQuickConnect: (code: string, userId?: string, options?:
|
|
28
|
+
authorizeQuickConnect: (code: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Gets the current quick connect state.
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
35
|
-
getQuickConnectEnabled: (options?:
|
|
35
|
+
getQuickConnectEnabled: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @summary Attempts to retrieve authentication information.
|
|
@@ -40,14 +40,14 @@ export declare const QuickConnectApiAxiosParamCreator: (configuration?: Configur
|
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
|
-
getQuickConnectState: (secret: string, options?:
|
|
43
|
+
getQuickConnectState: (secret: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @summary Initiate a new quick connect request.
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
49
49
|
*/
|
|
50
|
-
initiateQuickConnect: (options?:
|
|
50
|
+
initiateQuickConnect: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* QuickConnectApi - functional programming interface
|
|
@@ -62,14 +62,14 @@ export declare const QuickConnectApiFp: (configuration?: Configuration) => {
|
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
authorizeQuickConnect(code: string, userId?: string, options?:
|
|
65
|
+
authorizeQuickConnect(code: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @summary Gets the current quick connect state.
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
getQuickConnectEnabled(options?:
|
|
72
|
+
getQuickConnectEnabled(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @summary Attempts to retrieve authentication information.
|
|
@@ -77,14 +77,14 @@ export declare const QuickConnectApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
getQuickConnectState(secret: string, options?:
|
|
80
|
+
getQuickConnectState(secret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickConnectResult>>;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @summary Initiate a new quick connect request.
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
initiateQuickConnect(options?:
|
|
87
|
+
initiateQuickConnect(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuickConnectResult>>;
|
|
88
88
|
};
|
|
89
89
|
/**
|
|
90
90
|
* QuickConnectApi - factory interface
|
|
@@ -94,34 +94,33 @@ export declare const QuickConnectApiFactory: (configuration?: Configuration, bas
|
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @summary Authorizes a pending quick connect request.
|
|
97
|
-
* @param {
|
|
98
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
97
|
+
* @param {QuickConnectApiAuthorizeQuickConnectRequest} requestParameters Request parameters.
|
|
99
98
|
* @param {*} [options] Override http request option.
|
|
100
99
|
* @throws {RequiredError}
|
|
101
100
|
*/
|
|
102
|
-
authorizeQuickConnect(
|
|
101
|
+
authorizeQuickConnect(requestParameters: QuickConnectApiAuthorizeQuickConnectRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
103
102
|
/**
|
|
104
103
|
*
|
|
105
104
|
* @summary Gets the current quick connect state.
|
|
106
105
|
* @param {*} [options] Override http request option.
|
|
107
106
|
* @throws {RequiredError}
|
|
108
107
|
*/
|
|
109
|
-
getQuickConnectEnabled(options?:
|
|
108
|
+
getQuickConnectEnabled(options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
|
|
110
109
|
/**
|
|
111
110
|
*
|
|
112
111
|
* @summary Attempts to retrieve authentication information.
|
|
113
|
-
* @param {
|
|
112
|
+
* @param {QuickConnectApiGetQuickConnectStateRequest} requestParameters Request parameters.
|
|
114
113
|
* @param {*} [options] Override http request option.
|
|
115
114
|
* @throws {RequiredError}
|
|
116
115
|
*/
|
|
117
|
-
getQuickConnectState(
|
|
116
|
+
getQuickConnectState(requestParameters: QuickConnectApiGetQuickConnectStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<QuickConnectResult>;
|
|
118
117
|
/**
|
|
119
118
|
*
|
|
120
119
|
* @summary Initiate a new quick connect request.
|
|
121
120
|
* @param {*} [options] Override http request option.
|
|
122
121
|
* @throws {RequiredError}
|
|
123
122
|
*/
|
|
124
|
-
initiateQuickConnect(options?:
|
|
123
|
+
initiateQuickConnect(options?: RawAxiosRequestConfig): AxiosPromise<QuickConnectResult>;
|
|
125
124
|
};
|
|
126
125
|
/**
|
|
127
126
|
* Request parameters for authorizeQuickConnect operation in QuickConnectApi.
|
|
@@ -170,7 +169,7 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
170
169
|
* @throws {RequiredError}
|
|
171
170
|
* @memberof QuickConnectApi
|
|
172
171
|
*/
|
|
173
|
-
authorizeQuickConnect(requestParameters: QuickConnectApiAuthorizeQuickConnectRequest, options?:
|
|
172
|
+
authorizeQuickConnect(requestParameters: QuickConnectApiAuthorizeQuickConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
174
173
|
/**
|
|
175
174
|
*
|
|
176
175
|
* @summary Gets the current quick connect state.
|
|
@@ -178,7 +177,7 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
178
177
|
* @throws {RequiredError}
|
|
179
178
|
* @memberof QuickConnectApi
|
|
180
179
|
*/
|
|
181
|
-
getQuickConnectEnabled(options?:
|
|
180
|
+
getQuickConnectEnabled(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
182
181
|
/**
|
|
183
182
|
*
|
|
184
183
|
* @summary Attempts to retrieve authentication information.
|
|
@@ -187,7 +186,7 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
187
186
|
* @throws {RequiredError}
|
|
188
187
|
* @memberof QuickConnectApi
|
|
189
188
|
*/
|
|
190
|
-
getQuickConnectState(requestParameters: QuickConnectApiGetQuickConnectStateRequest, options?:
|
|
189
|
+
getQuickConnectState(requestParameters: QuickConnectApiGetQuickConnectStateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickConnectResult, any>>;
|
|
191
190
|
/**
|
|
192
191
|
*
|
|
193
192
|
* @summary Initiate a new quick connect request.
|
|
@@ -195,5 +194,5 @@ export declare class QuickConnectApi extends BaseAPI {
|
|
|
195
194
|
* @throws {RequiredError}
|
|
196
195
|
* @memberof QuickConnectApi
|
|
197
196
|
*/
|
|
198
|
-
initiateQuickConnect(options?:
|
|
197
|
+
initiateQuickConnect(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QuickConnectResult, any>>;
|
|
199
198
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -29,7 +28,7 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
authorizeQuickConnect:
|
|
31
|
+
authorizeQuickConnect: async (code, userId, options = {}) => {
|
|
33
32
|
// verify required parameter 'code' is not null or undefined
|
|
34
33
|
assertParamExists('authorizeQuickConnect', 'code', code);
|
|
35
34
|
const localVarPath = `/QuickConnect/Authorize`;
|
|
@@ -39,11 +38,11 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
39
38
|
if (configuration) {
|
|
40
39
|
baseOptions = configuration.baseOptions;
|
|
41
40
|
}
|
|
42
|
-
const localVarRequestOptions =
|
|
41
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43
42
|
const localVarHeaderParameter = {};
|
|
44
43
|
const localVarQueryParameter = {};
|
|
45
44
|
// authentication CustomAuthentication required
|
|
46
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47
46
|
if (code !== undefined) {
|
|
48
47
|
localVarQueryParameter['code'] = code;
|
|
49
48
|
}
|
|
@@ -52,19 +51,19 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
52
51
|
}
|
|
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
|
* @summary Gets the current quick connect state.
|
|
64
63
|
* @param {*} [options] Override http request option.
|
|
65
64
|
* @throws {RequiredError}
|
|
66
65
|
*/
|
|
67
|
-
getQuickConnectEnabled:
|
|
66
|
+
getQuickConnectEnabled: async (options = {}) => {
|
|
68
67
|
const localVarPath = `/QuickConnect/Enabled`;
|
|
69
68
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
69
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -72,17 +71,17 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
72
71
|
if (configuration) {
|
|
73
72
|
baseOptions = configuration.baseOptions;
|
|
74
73
|
}
|
|
75
|
-
const localVarRequestOptions =
|
|
74
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
76
75
|
const localVarHeaderParameter = {};
|
|
77
76
|
const localVarQueryParameter = {};
|
|
78
77
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
78
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
-
localVarRequestOptions.headers =
|
|
79
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
81
80
|
return {
|
|
82
81
|
url: toPathString(localVarUrlObj),
|
|
83
82
|
options: localVarRequestOptions,
|
|
84
83
|
};
|
|
85
|
-
}
|
|
84
|
+
},
|
|
86
85
|
/**
|
|
87
86
|
*
|
|
88
87
|
* @summary Attempts to retrieve authentication information.
|
|
@@ -90,7 +89,7 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
90
89
|
* @param {*} [options] Override http request option.
|
|
91
90
|
* @throws {RequiredError}
|
|
92
91
|
*/
|
|
93
|
-
getQuickConnectState:
|
|
92
|
+
getQuickConnectState: async (secret, options = {}) => {
|
|
94
93
|
// verify required parameter 'secret' is not null or undefined
|
|
95
94
|
assertParamExists('getQuickConnectState', 'secret', secret);
|
|
96
95
|
const localVarPath = `/QuickConnect/Connect`;
|
|
@@ -100,7 +99,7 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
100
99
|
if (configuration) {
|
|
101
100
|
baseOptions = configuration.baseOptions;
|
|
102
101
|
}
|
|
103
|
-
const localVarRequestOptions =
|
|
102
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
104
103
|
const localVarHeaderParameter = {};
|
|
105
104
|
const localVarQueryParameter = {};
|
|
106
105
|
if (secret !== undefined) {
|
|
@@ -108,19 +107,19 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
108
107
|
}
|
|
109
108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
110
109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
111
|
-
localVarRequestOptions.headers =
|
|
110
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
112
111
|
return {
|
|
113
112
|
url: toPathString(localVarUrlObj),
|
|
114
113
|
options: localVarRequestOptions,
|
|
115
114
|
};
|
|
116
|
-
}
|
|
115
|
+
},
|
|
117
116
|
/**
|
|
118
117
|
*
|
|
119
118
|
* @summary Initiate a new quick connect request.
|
|
120
119
|
* @param {*} [options] Override http request option.
|
|
121
120
|
* @throws {RequiredError}
|
|
122
121
|
*/
|
|
123
|
-
initiateQuickConnect:
|
|
122
|
+
initiateQuickConnect: async (options = {}) => {
|
|
124
123
|
const localVarPath = `/QuickConnect/Initiate`;
|
|
125
124
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
126
125
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -128,17 +127,17 @@ const QuickConnectApiAxiosParamCreator = function (configuration) {
|
|
|
128
127
|
if (configuration) {
|
|
129
128
|
baseOptions = configuration.baseOptions;
|
|
130
129
|
}
|
|
131
|
-
const localVarRequestOptions =
|
|
130
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
132
131
|
const localVarHeaderParameter = {};
|
|
133
132
|
const localVarQueryParameter = {};
|
|
134
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
-
localVarRequestOptions.headers =
|
|
135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
137
136
|
return {
|
|
138
137
|
url: toPathString(localVarUrlObj),
|
|
139
138
|
options: localVarRequestOptions,
|
|
140
139
|
};
|
|
141
|
-
}
|
|
140
|
+
},
|
|
142
141
|
};
|
|
143
142
|
};
|
|
144
143
|
/**
|
|
@@ -156,11 +155,12 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
156
155
|
* @param {*} [options] Override http request option.
|
|
157
156
|
* @throws {RequiredError}
|
|
158
157
|
*/
|
|
159
|
-
authorizeQuickConnect(code, userId, options) {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
158
|
+
async authorizeQuickConnect(code, userId, options) {
|
|
159
|
+
var _a, _b, _c;
|
|
160
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authorizeQuickConnect(code, userId, options);
|
|
161
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
162
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuickConnectApi.authorizeQuickConnect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
163
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
164
164
|
},
|
|
165
165
|
/**
|
|
166
166
|
*
|
|
@@ -168,11 +168,12 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
171
|
-
getQuickConnectEnabled(options) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
async getQuickConnectEnabled(options) {
|
|
172
|
+
var _a, _b, _c;
|
|
173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickConnectEnabled(options);
|
|
174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
175
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuickConnectApi.getQuickConnectEnabled']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
176
177
|
},
|
|
177
178
|
/**
|
|
178
179
|
*
|
|
@@ -181,11 +182,12 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
181
182
|
* @param {*} [options] Override http request option.
|
|
182
183
|
* @throws {RequiredError}
|
|
183
184
|
*/
|
|
184
|
-
getQuickConnectState(secret, options) {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
async getQuickConnectState(secret, options) {
|
|
186
|
+
var _a, _b, _c;
|
|
187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getQuickConnectState(secret, options);
|
|
188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
189
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuickConnectApi.getQuickConnectState']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
189
191
|
},
|
|
190
192
|
/**
|
|
191
193
|
*
|
|
@@ -193,11 +195,12 @@ const QuickConnectApiFp = function (configuration) {
|
|
|
193
195
|
* @param {*} [options] Override http request option.
|
|
194
196
|
* @throws {RequiredError}
|
|
195
197
|
*/
|
|
196
|
-
initiateQuickConnect(options) {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
async initiateQuickConnect(options) {
|
|
199
|
+
var _a, _b, _c;
|
|
200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.initiateQuickConnect(options);
|
|
201
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
202
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuickConnectApi.initiateQuickConnect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
201
204
|
},
|
|
202
205
|
};
|
|
203
206
|
};
|
|
@@ -211,13 +214,12 @@ const QuickConnectApiFactory = function (configuration, basePath, axios) {
|
|
|
211
214
|
/**
|
|
212
215
|
*
|
|
213
216
|
* @summary Authorizes a pending quick connect request.
|
|
214
|
-
* @param {
|
|
215
|
-
* @param {string} [userId] The user the authorize. Access to the requested user is required.
|
|
217
|
+
* @param {QuickConnectApiAuthorizeQuickConnectRequest} requestParameters Request parameters.
|
|
216
218
|
* @param {*} [options] Override http request option.
|
|
217
219
|
* @throws {RequiredError}
|
|
218
220
|
*/
|
|
219
|
-
authorizeQuickConnect(
|
|
220
|
-
return localVarFp.authorizeQuickConnect(code, userId, options).then((request) => request(axios, basePath));
|
|
221
|
+
authorizeQuickConnect(requestParameters, options) {
|
|
222
|
+
return localVarFp.authorizeQuickConnect(requestParameters.code, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
221
223
|
},
|
|
222
224
|
/**
|
|
223
225
|
*
|
|
@@ -231,12 +233,12 @@ const QuickConnectApiFactory = function (configuration, basePath, axios) {
|
|
|
231
233
|
/**
|
|
232
234
|
*
|
|
233
235
|
* @summary Attempts to retrieve authentication information.
|
|
234
|
-
* @param {
|
|
236
|
+
* @param {QuickConnectApiGetQuickConnectStateRequest} requestParameters Request parameters.
|
|
235
237
|
* @param {*} [options] Override http request option.
|
|
236
238
|
* @throws {RequiredError}
|
|
237
239
|
*/
|
|
238
|
-
getQuickConnectState(
|
|
239
|
-
return localVarFp.getQuickConnectState(secret, options).then((request) => request(axios, basePath));
|
|
240
|
+
getQuickConnectState(requestParameters, options) {
|
|
241
|
+
return localVarFp.getQuickConnectState(requestParameters.secret, options).then((request) => request(axios, basePath));
|
|
240
242
|
},
|
|
241
243
|
/**
|
|
242
244
|
*
|
|
@@ -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 { ImageProviderInfo } from '../models';
|
|
15
|
-
import { ImageType } from '../models';
|
|
16
|
-
import { RemoteImageResult } 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 { ImageProviderInfo } from '../models';
|
|
15
|
+
import type { ImageType } from '../models';
|
|
16
|
+
import type { RemoteImageResult } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* RemoteImageApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -28,7 +28,7 @@ export declare const RemoteImageApiAxiosParamCreator: (configuration?: Configura
|
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
30
30
|
*/
|
|
31
|
-
downloadRemoteImage: (itemId: string, type: ImageType, imageUrl?: string, options?:
|
|
31
|
+
downloadRemoteImage: (itemId: string, type: ImageType, imageUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary Gets available remote image providers for an item.
|
|
@@ -36,7 +36,7 @@ export declare const RemoteImageApiAxiosParamCreator: (configuration?: Configura
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
getRemoteImageProviders: (itemId: string, options?:
|
|
39
|
+
getRemoteImageProviders: (itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @summary Gets available remote images for an item.
|
|
@@ -49,7 +49,7 @@ export declare const RemoteImageApiAxiosParamCreator: (configuration?: Configura
|
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
getRemoteImages: (itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?:
|
|
52
|
+
getRemoteImages: (itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* RemoteImageApi - functional programming interface
|
|
@@ -65,7 +65,7 @@ export declare const RemoteImageApiFp: (configuration?: Configuration) => {
|
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
downloadRemoteImage(itemId: string, type: ImageType, imageUrl?: string, options?:
|
|
68
|
+
downloadRemoteImage(itemId: string, type: ImageType, imageUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @summary Gets available remote image providers for an item.
|
|
@@ -73,7 +73,7 @@ export declare const RemoteImageApiFp: (configuration?: Configuration) => {
|
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
getRemoteImageProviders(itemId: string, options?:
|
|
76
|
+
getRemoteImageProviders(itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ImageProviderInfo>>>;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @summary Gets available remote images for an item.
|
|
@@ -86,7 +86,7 @@ export declare const RemoteImageApiFp: (configuration?: Configuration) => {
|
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
getRemoteImages(itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?:
|
|
89
|
+
getRemoteImages(itemId: string, type?: ImageType, startIndex?: number, limit?: number, providerName?: string, includeAllLanguages?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RemoteImageResult>>;
|
|
90
90
|
};
|
|
91
91
|
/**
|
|
92
92
|
* RemoteImageApi - factory interface
|
|
@@ -96,34 +96,27 @@ export declare const RemoteImageApiFactory: (configuration?: Configuration, base
|
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @summary Downloads a remote image for an item.
|
|
99
|
-
* @param {
|
|
100
|
-
* @param {ImageType} type The image type.
|
|
101
|
-
* @param {string} [imageUrl] The image url.
|
|
99
|
+
* @param {RemoteImageApiDownloadRemoteImageRequest} requestParameters Request parameters.
|
|
102
100
|
* @param {*} [options] Override http request option.
|
|
103
101
|
* @throws {RequiredError}
|
|
104
102
|
*/
|
|
105
|
-
downloadRemoteImage(
|
|
103
|
+
downloadRemoteImage(requestParameters: RemoteImageApiDownloadRemoteImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
106
104
|
/**
|
|
107
105
|
*
|
|
108
106
|
* @summary Gets available remote image providers for an item.
|
|
109
|
-
* @param {
|
|
107
|
+
* @param {RemoteImageApiGetRemoteImageProvidersRequest} requestParameters Request parameters.
|
|
110
108
|
* @param {*} [options] Override http request option.
|
|
111
109
|
* @throws {RequiredError}
|
|
112
110
|
*/
|
|
113
|
-
getRemoteImageProviders(
|
|
111
|
+
getRemoteImageProviders(requestParameters: RemoteImageApiGetRemoteImageProvidersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ImageProviderInfo>>;
|
|
114
112
|
/**
|
|
115
113
|
*
|
|
116
114
|
* @summary Gets available remote images for an item.
|
|
117
|
-
* @param {
|
|
118
|
-
* @param {ImageType} [type] The image type.
|
|
119
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
120
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
121
|
-
* @param {string} [providerName] Optional. The image provider to use.
|
|
122
|
-
* @param {boolean} [includeAllLanguages] Optional. Include all languages.
|
|
115
|
+
* @param {RemoteImageApiGetRemoteImagesRequest} requestParameters Request parameters.
|
|
123
116
|
* @param {*} [options] Override http request option.
|
|
124
117
|
* @throws {RequiredError}
|
|
125
118
|
*/
|
|
126
|
-
getRemoteImages(
|
|
119
|
+
getRemoteImages(requestParameters: RemoteImageApiGetRemoteImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RemoteImageResult>;
|
|
127
120
|
};
|
|
128
121
|
/**
|
|
129
122
|
* Request parameters for downloadRemoteImage operation in RemoteImageApi.
|
|
@@ -221,7 +214,7 @@ export declare class RemoteImageApi extends BaseAPI {
|
|
|
221
214
|
* @throws {RequiredError}
|
|
222
215
|
* @memberof RemoteImageApi
|
|
223
216
|
*/
|
|
224
|
-
downloadRemoteImage(requestParameters: RemoteImageApiDownloadRemoteImageRequest, options?:
|
|
217
|
+
downloadRemoteImage(requestParameters: RemoteImageApiDownloadRemoteImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
225
218
|
/**
|
|
226
219
|
*
|
|
227
220
|
* @summary Gets available remote image providers for an item.
|
|
@@ -230,7 +223,7 @@ export declare class RemoteImageApi extends BaseAPI {
|
|
|
230
223
|
* @throws {RequiredError}
|
|
231
224
|
* @memberof RemoteImageApi
|
|
232
225
|
*/
|
|
233
|
-
getRemoteImageProviders(requestParameters: RemoteImageApiGetRemoteImageProvidersRequest, options?:
|
|
226
|
+
getRemoteImageProviders(requestParameters: RemoteImageApiGetRemoteImageProvidersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageProviderInfo[], any>>;
|
|
234
227
|
/**
|
|
235
228
|
*
|
|
236
229
|
* @summary Gets available remote images for an item.
|
|
@@ -239,5 +232,5 @@ export declare class RemoteImageApi extends BaseAPI {
|
|
|
239
232
|
* @throws {RequiredError}
|
|
240
233
|
* @memberof RemoteImageApi
|
|
241
234
|
*/
|
|
242
|
-
getRemoteImages(requestParameters: RemoteImageApiGetRemoteImagesRequest, options?:
|
|
235
|
+
getRemoteImages(requestParameters: RemoteImageApiGetRemoteImagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteImageResult, any>>;
|
|
243
236
|
}
|