@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 { CollectionCreationResult } 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 { CollectionCreationResult } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* CollectionApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
addToCollection: (collectionId: string, ids: Array<string>, options?:
|
|
28
|
+
addToCollection: (collectionId: string, ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Creates a new collection.
|
|
@@ -36,7 +36,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
createCollection: (name?: string, ids?: Array<string>, parentId?: string, isLocked?: boolean, options?:
|
|
39
|
+
createCollection: (name?: string, ids?: Array<string>, parentId?: string, isLocked?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @summary Removes items from a collection.
|
|
@@ -45,7 +45,7 @@ export declare const CollectionApiAxiosParamCreator: (configuration?: Configurat
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
removeFromCollection: (collectionId: string, ids: Array<string>, options?:
|
|
48
|
+
removeFromCollection: (collectionId: string, ids: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* CollectionApi - functional programming interface
|
|
@@ -60,7 +60,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
addToCollection(collectionId: string, ids: Array<string>, options?:
|
|
63
|
+
addToCollection(collectionId: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @summary Creates a new collection.
|
|
@@ -71,7 +71,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
createCollection(name?: string, ids?: Array<string>, parentId?: string, isLocked?: boolean, options?:
|
|
74
|
+
createCollection(name?: string, ids?: Array<string>, parentId?: string, isLocked?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionCreationResult>>;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @summary Removes items from a collection.
|
|
@@ -80,7 +80,7 @@ export declare const CollectionApiFp: (configuration?: Configuration) => {
|
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
|
-
removeFromCollection(collectionId: string, ids: Array<string>, options?:
|
|
83
|
+
removeFromCollection(collectionId: string, ids: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
86
|
* CollectionApi - factory interface
|
|
@@ -90,32 +90,27 @@ export declare const CollectionApiFactory: (configuration?: Configuration, baseP
|
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @summary Adds items to a collection.
|
|
93
|
-
* @param {
|
|
94
|
-
* @param {Array<string>} ids Item ids, comma delimited.
|
|
93
|
+
* @param {CollectionApiAddToCollectionRequest} requestParameters Request parameters.
|
|
95
94
|
* @param {*} [options] Override http request option.
|
|
96
95
|
* @throws {RequiredError}
|
|
97
96
|
*/
|
|
98
|
-
addToCollection(
|
|
97
|
+
addToCollection(requestParameters: CollectionApiAddToCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
99
98
|
/**
|
|
100
99
|
*
|
|
101
100
|
* @summary Creates a new collection.
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {Array<string>} [ids] Item Ids to add to the collection.
|
|
104
|
-
* @param {string} [parentId] Optional. Create the collection within a specific folder.
|
|
105
|
-
* @param {boolean} [isLocked] Whether or not to lock the new collection.
|
|
101
|
+
* @param {CollectionApiCreateCollectionRequest} requestParameters Request parameters.
|
|
106
102
|
* @param {*} [options] Override http request option.
|
|
107
103
|
* @throws {RequiredError}
|
|
108
104
|
*/
|
|
109
|
-
createCollection(
|
|
105
|
+
createCollection(requestParameters?: CollectionApiCreateCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionCreationResult>;
|
|
110
106
|
/**
|
|
111
107
|
*
|
|
112
108
|
* @summary Removes items from a collection.
|
|
113
|
-
* @param {
|
|
114
|
-
* @param {Array<string>} ids Item ids, comma delimited.
|
|
109
|
+
* @param {CollectionApiRemoveFromCollectionRequest} requestParameters Request parameters.
|
|
115
110
|
* @param {*} [options] Override http request option.
|
|
116
111
|
* @throws {RequiredError}
|
|
117
112
|
*/
|
|
118
|
-
removeFromCollection(
|
|
113
|
+
removeFromCollection(requestParameters: CollectionApiRemoveFromCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
119
114
|
};
|
|
120
115
|
/**
|
|
121
116
|
* Request parameters for addToCollection operation in CollectionApi.
|
|
@@ -201,7 +196,7 @@ export declare class CollectionApi extends BaseAPI {
|
|
|
201
196
|
* @throws {RequiredError}
|
|
202
197
|
* @memberof CollectionApi
|
|
203
198
|
*/
|
|
204
|
-
addToCollection(requestParameters: CollectionApiAddToCollectionRequest, options?:
|
|
199
|
+
addToCollection(requestParameters: CollectionApiAddToCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
205
200
|
/**
|
|
206
201
|
*
|
|
207
202
|
* @summary Creates a new collection.
|
|
@@ -210,7 +205,7 @@ export declare class CollectionApi extends BaseAPI {
|
|
|
210
205
|
* @throws {RequiredError}
|
|
211
206
|
* @memberof CollectionApi
|
|
212
207
|
*/
|
|
213
|
-
createCollection(requestParameters?: CollectionApiCreateCollectionRequest, options?:
|
|
208
|
+
createCollection(requestParameters?: CollectionApiCreateCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CollectionCreationResult, any>>;
|
|
214
209
|
/**
|
|
215
210
|
*
|
|
216
211
|
* @summary Removes items from a collection.
|
|
@@ -219,5 +214,5 @@ export declare class CollectionApi extends BaseAPI {
|
|
|
219
214
|
* @throws {RequiredError}
|
|
220
215
|
* @memberof CollectionApi
|
|
221
216
|
*/
|
|
222
|
-
removeFromCollection(requestParameters: CollectionApiRemoveFromCollectionRequest, options?:
|
|
217
|
+
removeFromCollection(requestParameters: CollectionApiRemoveFromCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
223
218
|
}
|
|
@@ -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 CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
addToCollection:
|
|
31
|
+
addToCollection: async (collectionId, ids, options = {}) => {
|
|
33
32
|
// verify required parameter 'collectionId' is not null or undefined
|
|
34
33
|
assertParamExists('addToCollection', 'collectionId', collectionId);
|
|
35
34
|
// verify required parameter 'ids' is not null or undefined
|
|
@@ -42,22 +41,22 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
42
41
|
if (configuration) {
|
|
43
42
|
baseOptions = configuration.baseOptions;
|
|
44
43
|
}
|
|
45
|
-
const localVarRequestOptions =
|
|
44
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
46
45
|
const localVarHeaderParameter = {};
|
|
47
46
|
const localVarQueryParameter = {};
|
|
48
47
|
// authentication CustomAuthentication required
|
|
49
|
-
|
|
48
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
50
49
|
if (ids) {
|
|
51
50
|
localVarQueryParameter['ids'] = ids;
|
|
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 Creates a new collection.
|
|
@@ -68,7 +67,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
68
67
|
* @param {*} [options] Override http request option.
|
|
69
68
|
* @throws {RequiredError}
|
|
70
69
|
*/
|
|
71
|
-
createCollection:
|
|
70
|
+
createCollection: async (name, ids, parentId, isLocked, options = {}) => {
|
|
72
71
|
const localVarPath = `/Collections`;
|
|
73
72
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
73
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -76,11 +75,11 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
76
75
|
if (configuration) {
|
|
77
76
|
baseOptions = configuration.baseOptions;
|
|
78
77
|
}
|
|
79
|
-
const localVarRequestOptions =
|
|
78
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
80
79
|
const localVarHeaderParameter = {};
|
|
81
80
|
const localVarQueryParameter = {};
|
|
82
81
|
// authentication CustomAuthentication required
|
|
83
|
-
|
|
82
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
84
83
|
if (name !== undefined) {
|
|
85
84
|
localVarQueryParameter['name'] = name;
|
|
86
85
|
}
|
|
@@ -95,12 +94,12 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
95
94
|
}
|
|
96
95
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
96
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
-
localVarRequestOptions.headers =
|
|
97
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
99
98
|
return {
|
|
100
99
|
url: toPathString(localVarUrlObj),
|
|
101
100
|
options: localVarRequestOptions,
|
|
102
101
|
};
|
|
103
|
-
}
|
|
102
|
+
},
|
|
104
103
|
/**
|
|
105
104
|
*
|
|
106
105
|
* @summary Removes items from a collection.
|
|
@@ -109,7 +108,7 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
109
108
|
* @param {*} [options] Override http request option.
|
|
110
109
|
* @throws {RequiredError}
|
|
111
110
|
*/
|
|
112
|
-
removeFromCollection:
|
|
111
|
+
removeFromCollection: async (collectionId, ids, options = {}) => {
|
|
113
112
|
// verify required parameter 'collectionId' is not null or undefined
|
|
114
113
|
assertParamExists('removeFromCollection', 'collectionId', collectionId);
|
|
115
114
|
// verify required parameter 'ids' is not null or undefined
|
|
@@ -122,22 +121,22 @@ const CollectionApiAxiosParamCreator = function (configuration) {
|
|
|
122
121
|
if (configuration) {
|
|
123
122
|
baseOptions = configuration.baseOptions;
|
|
124
123
|
}
|
|
125
|
-
const localVarRequestOptions =
|
|
124
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
126
125
|
const localVarHeaderParameter = {};
|
|
127
126
|
const localVarQueryParameter = {};
|
|
128
127
|
// authentication CustomAuthentication required
|
|
129
|
-
|
|
128
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
130
129
|
if (ids) {
|
|
131
130
|
localVarQueryParameter['ids'] = ids;
|
|
132
131
|
}
|
|
133
132
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
134
133
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
135
|
-
localVarRequestOptions.headers =
|
|
134
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
136
135
|
return {
|
|
137
136
|
url: toPathString(localVarUrlObj),
|
|
138
137
|
options: localVarRequestOptions,
|
|
139
138
|
};
|
|
140
|
-
}
|
|
139
|
+
},
|
|
141
140
|
};
|
|
142
141
|
};
|
|
143
142
|
/**
|
|
@@ -155,11 +154,12 @@ const CollectionApiFp = function (configuration) {
|
|
|
155
154
|
* @param {*} [options] Override http request option.
|
|
156
155
|
* @throws {RequiredError}
|
|
157
156
|
*/
|
|
158
|
-
addToCollection(collectionId, ids, options) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
async addToCollection(collectionId, ids, options) {
|
|
158
|
+
var _a, _b, _c;
|
|
159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addToCollection(collectionId, ids, options);
|
|
160
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
161
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionApi.addToCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
162
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
163
163
|
},
|
|
164
164
|
/**
|
|
165
165
|
*
|
|
@@ -171,11 +171,12 @@ const CollectionApiFp = function (configuration) {
|
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
|
-
createCollection(name, ids, parentId, isLocked, options) {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
174
|
+
async createCollection(name, ids, parentId, isLocked, options) {
|
|
175
|
+
var _a, _b, _c;
|
|
176
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCollection(name, ids, parentId, isLocked, options);
|
|
177
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
178
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionApi.createCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
179
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
179
180
|
},
|
|
180
181
|
/**
|
|
181
182
|
*
|
|
@@ -185,11 +186,12 @@ const CollectionApiFp = function (configuration) {
|
|
|
185
186
|
* @param {*} [options] Override http request option.
|
|
186
187
|
* @throws {RequiredError}
|
|
187
188
|
*/
|
|
188
|
-
removeFromCollection(collectionId, ids, options) {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
189
|
+
async removeFromCollection(collectionId, ids, options) {
|
|
190
|
+
var _a, _b, _c;
|
|
191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeFromCollection(collectionId, ids, options);
|
|
192
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
193
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionApi.removeFromCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
194
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
193
195
|
},
|
|
194
196
|
};
|
|
195
197
|
};
|
|
@@ -203,37 +205,32 @@ const CollectionApiFactory = function (configuration, basePath, axios) {
|
|
|
203
205
|
/**
|
|
204
206
|
*
|
|
205
207
|
* @summary Adds items to a collection.
|
|
206
|
-
* @param {
|
|
207
|
-
* @param {Array<string>} ids Item ids, comma delimited.
|
|
208
|
+
* @param {CollectionApiAddToCollectionRequest} requestParameters Request parameters.
|
|
208
209
|
* @param {*} [options] Override http request option.
|
|
209
210
|
* @throws {RequiredError}
|
|
210
211
|
*/
|
|
211
|
-
addToCollection(
|
|
212
|
-
return localVarFp.addToCollection(collectionId, ids, options).then((request) => request(axios, basePath));
|
|
212
|
+
addToCollection(requestParameters, options) {
|
|
213
|
+
return localVarFp.addToCollection(requestParameters.collectionId, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
213
214
|
},
|
|
214
215
|
/**
|
|
215
216
|
*
|
|
216
217
|
* @summary Creates a new collection.
|
|
217
|
-
* @param {
|
|
218
|
-
* @param {Array<string>} [ids] Item Ids to add to the collection.
|
|
219
|
-
* @param {string} [parentId] Optional. Create the collection within a specific folder.
|
|
220
|
-
* @param {boolean} [isLocked] Whether or not to lock the new collection.
|
|
218
|
+
* @param {CollectionApiCreateCollectionRequest} requestParameters Request parameters.
|
|
221
219
|
* @param {*} [options] Override http request option.
|
|
222
220
|
* @throws {RequiredError}
|
|
223
221
|
*/
|
|
224
|
-
createCollection(
|
|
225
|
-
return localVarFp.createCollection(name, ids, parentId, isLocked, options).then((request) => request(axios, basePath));
|
|
222
|
+
createCollection(requestParameters = {}, options) {
|
|
223
|
+
return localVarFp.createCollection(requestParameters.name, requestParameters.ids, requestParameters.parentId, requestParameters.isLocked, options).then((request) => request(axios, basePath));
|
|
226
224
|
},
|
|
227
225
|
/**
|
|
228
226
|
*
|
|
229
227
|
* @summary Removes items from a collection.
|
|
230
|
-
* @param {
|
|
231
|
-
* @param {Array<string>} ids Item ids, comma delimited.
|
|
228
|
+
* @param {CollectionApiRemoveFromCollectionRequest} requestParameters Request parameters.
|
|
232
229
|
* @param {*} [options] Override http request option.
|
|
233
230
|
* @throws {RequiredError}
|
|
234
231
|
*/
|
|
235
|
-
removeFromCollection(
|
|
236
|
-
return localVarFp.removeFromCollection(collectionId, ids, options).then((request) => request(axios, basePath));
|
|
232
|
+
removeFromCollection(requestParameters, options) {
|
|
233
|
+
return localVarFp.removeFromCollection(requestParameters.collectionId, requestParameters.ids, options).then((request) => request(axios, basePath));
|
|
237
234
|
},
|
|
238
235
|
};
|
|
239
236
|
};
|
|
@@ -8,11 +8,11 @@
|
|
|
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 { MetadataOptions } from '../models';
|
|
15
|
-
import { ServerConfiguration } 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 { MetadataOptions } from '../models';
|
|
15
|
+
import type { ServerConfiguration } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* ConfigurationApi - axios parameter creator
|
|
18
18
|
* @export
|
|
@@ -24,14 +24,14 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
getConfiguration: (options?:
|
|
27
|
+
getConfiguration: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @summary Gets a default MetadataOptions object.
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
getDefaultMetadataOptions: (options?:
|
|
34
|
+
getDefaultMetadataOptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Gets a named configuration.
|
|
@@ -39,7 +39,7 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
getNamedConfiguration: (key: string, options?:
|
|
42
|
+
getNamedConfiguration: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @summary Updates application configuration.
|
|
@@ -47,7 +47,7 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
48
48
|
* @throws {RequiredError}
|
|
49
49
|
*/
|
|
50
|
-
updateConfiguration: (serverConfiguration: ServerConfiguration, options?:
|
|
50
|
+
updateConfiguration: (serverConfiguration: ServerConfiguration, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @summary Updates named configuration.
|
|
@@ -56,7 +56,7 @@ export declare const ConfigurationApiAxiosParamCreator: (configuration?: Configu
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
updateNamedConfiguration: (key: string, body: any, options?:
|
|
59
|
+
updateNamedConfiguration: (key: string, body: any, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* ConfigurationApi - functional programming interface
|
|
@@ -69,14 +69,14 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
|
69
69
|
* @param {*} [options] Override http request option.
|
|
70
70
|
* @throws {RequiredError}
|
|
71
71
|
*/
|
|
72
|
-
getConfiguration(options?:
|
|
72
|
+
getConfiguration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServerConfiguration>>;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @summary Gets a default MetadataOptions object.
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
getDefaultMetadataOptions(options?:
|
|
79
|
+
getDefaultMetadataOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetadataOptions>>;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @summary Gets a named configuration.
|
|
@@ -84,7 +84,7 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
getNamedConfiguration(key: string, options?:
|
|
87
|
+
getNamedConfiguration(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @summary Updates application configuration.
|
|
@@ -92,7 +92,7 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
updateConfiguration(serverConfiguration: ServerConfiguration, options?:
|
|
95
|
+
updateConfiguration(serverConfiguration: ServerConfiguration, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @summary Updates named configuration.
|
|
@@ -101,7 +101,7 @@ export declare const ConfigurationApiFp: (configuration?: Configuration) => {
|
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
updateNamedConfiguration(key: string, body: any, options?:
|
|
104
|
+
updateNamedConfiguration(key: string, body: any, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
105
105
|
};
|
|
106
106
|
/**
|
|
107
107
|
* ConfigurationApi - factory interface
|
|
@@ -114,39 +114,38 @@ export declare const ConfigurationApiFactory: (configuration?: Configuration, ba
|
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
*/
|
|
117
|
-
getConfiguration(options?:
|
|
117
|
+
getConfiguration(options?: RawAxiosRequestConfig): AxiosPromise<ServerConfiguration>;
|
|
118
118
|
/**
|
|
119
119
|
*
|
|
120
120
|
* @summary Gets a default MetadataOptions object.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
getDefaultMetadataOptions(options?:
|
|
124
|
+
getDefaultMetadataOptions(options?: RawAxiosRequestConfig): AxiosPromise<MetadataOptions>;
|
|
125
125
|
/**
|
|
126
126
|
*
|
|
127
127
|
* @summary Gets a named configuration.
|
|
128
|
-
* @param {
|
|
128
|
+
* @param {ConfigurationApiGetNamedConfigurationRequest} requestParameters Request parameters.
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
getNamedConfiguration(
|
|
132
|
+
getNamedConfiguration(requestParameters: ConfigurationApiGetNamedConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @summary Updates application configuration.
|
|
136
|
-
* @param {
|
|
136
|
+
* @param {ConfigurationApiUpdateConfigurationRequest} requestParameters Request parameters.
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
updateConfiguration(
|
|
140
|
+
updateConfiguration(requestParameters: ConfigurationApiUpdateConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
143
|
* @summary Updates named configuration.
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {any} body Configuration.
|
|
144
|
+
* @param {ConfigurationApiUpdateNamedConfigurationRequest} requestParameters Request parameters.
|
|
146
145
|
* @param {*} [options] Override http request option.
|
|
147
146
|
* @throws {RequiredError}
|
|
148
147
|
*/
|
|
149
|
-
updateNamedConfiguration(
|
|
148
|
+
updateNamedConfiguration(requestParameters: ConfigurationApiUpdateNamedConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
150
149
|
};
|
|
151
150
|
/**
|
|
152
151
|
* Request parameters for getNamedConfiguration operation in ConfigurationApi.
|
|
@@ -207,7 +206,7 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
|
207
206
|
* @throws {RequiredError}
|
|
208
207
|
* @memberof ConfigurationApi
|
|
209
208
|
*/
|
|
210
|
-
getConfiguration(options?:
|
|
209
|
+
getConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServerConfiguration, any>>;
|
|
211
210
|
/**
|
|
212
211
|
*
|
|
213
212
|
* @summary Gets a default MetadataOptions object.
|
|
@@ -215,7 +214,7 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
|
215
214
|
* @throws {RequiredError}
|
|
216
215
|
* @memberof ConfigurationApi
|
|
217
216
|
*/
|
|
218
|
-
getDefaultMetadataOptions(options?:
|
|
217
|
+
getDefaultMetadataOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetadataOptions, any>>;
|
|
219
218
|
/**
|
|
220
219
|
*
|
|
221
220
|
* @summary Gets a named configuration.
|
|
@@ -224,7 +223,7 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
|
224
223
|
* @throws {RequiredError}
|
|
225
224
|
* @memberof ConfigurationApi
|
|
226
225
|
*/
|
|
227
|
-
getNamedConfiguration(requestParameters: ConfigurationApiGetNamedConfigurationRequest, options?:
|
|
226
|
+
getNamedConfiguration(requestParameters: ConfigurationApiGetNamedConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
228
227
|
/**
|
|
229
228
|
*
|
|
230
229
|
* @summary Updates application configuration.
|
|
@@ -233,7 +232,7 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
|
233
232
|
* @throws {RequiredError}
|
|
234
233
|
* @memberof ConfigurationApi
|
|
235
234
|
*/
|
|
236
|
-
updateConfiguration(requestParameters: ConfigurationApiUpdateConfigurationRequest, options?:
|
|
235
|
+
updateConfiguration(requestParameters: ConfigurationApiUpdateConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
237
236
|
/**
|
|
238
237
|
*
|
|
239
238
|
* @summary Updates named configuration.
|
|
@@ -242,5 +241,5 @@ export declare class ConfigurationApi extends BaseAPI {
|
|
|
242
241
|
* @throws {RequiredError}
|
|
243
242
|
* @memberof ConfigurationApi
|
|
244
243
|
*/
|
|
245
|
-
updateNamedConfiguration(requestParameters: ConfigurationApiUpdateNamedConfigurationRequest, options?:
|
|
244
|
+
updateNamedConfiguration(requestParameters: ConfigurationApiUpdateNamedConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
246
245
|
}
|