@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
|
@@ -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 PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
30
29
|
* @throws {RequiredError}
|
|
31
30
|
*/
|
|
32
|
-
disablePlugin:
|
|
31
|
+
disablePlugin: async (pluginId, version, options = {}) => {
|
|
33
32
|
// verify required parameter 'pluginId' is not null or undefined
|
|
34
33
|
assertParamExists('disablePlugin', 'pluginId', pluginId);
|
|
35
34
|
// verify required parameter 'version' is not null or undefined
|
|
@@ -43,19 +42,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
43
42
|
if (configuration) {
|
|
44
43
|
baseOptions = configuration.baseOptions;
|
|
45
44
|
}
|
|
46
|
-
const localVarRequestOptions =
|
|
45
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
47
46
|
const localVarHeaderParameter = {};
|
|
48
47
|
const localVarQueryParameter = {};
|
|
49
48
|
// authentication CustomAuthentication required
|
|
50
|
-
|
|
49
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
51
50
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
|
-
localVarRequestOptions.headers =
|
|
52
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
54
53
|
return {
|
|
55
54
|
url: toPathString(localVarUrlObj),
|
|
56
55
|
options: localVarRequestOptions,
|
|
57
56
|
};
|
|
58
|
-
}
|
|
57
|
+
},
|
|
59
58
|
/**
|
|
60
59
|
*
|
|
61
60
|
* @summary Enables a disabled plugin.
|
|
@@ -64,7 +63,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
64
63
|
* @param {*} [options] Override http request option.
|
|
65
64
|
* @throws {RequiredError}
|
|
66
65
|
*/
|
|
67
|
-
enablePlugin:
|
|
66
|
+
enablePlugin: async (pluginId, version, options = {}) => {
|
|
68
67
|
// verify required parameter 'pluginId' is not null or undefined
|
|
69
68
|
assertParamExists('enablePlugin', 'pluginId', pluginId);
|
|
70
69
|
// verify required parameter 'version' is not null or undefined
|
|
@@ -78,19 +77,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
78
77
|
if (configuration) {
|
|
79
78
|
baseOptions = configuration.baseOptions;
|
|
80
79
|
}
|
|
81
|
-
const localVarRequestOptions =
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
82
81
|
const localVarHeaderParameter = {};
|
|
83
82
|
const localVarQueryParameter = {};
|
|
84
83
|
// authentication CustomAuthentication required
|
|
85
|
-
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
86
85
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
86
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
-
localVarRequestOptions.headers =
|
|
87
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
88
|
return {
|
|
90
89
|
url: toPathString(localVarUrlObj),
|
|
91
90
|
options: localVarRequestOptions,
|
|
92
91
|
};
|
|
93
|
-
}
|
|
92
|
+
},
|
|
94
93
|
/**
|
|
95
94
|
*
|
|
96
95
|
* @summary Gets plugin configuration.
|
|
@@ -98,7 +97,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
98
97
|
* @param {*} [options] Override http request option.
|
|
99
98
|
* @throws {RequiredError}
|
|
100
99
|
*/
|
|
101
|
-
getPluginConfiguration:
|
|
100
|
+
getPluginConfiguration: async (pluginId, options = {}) => {
|
|
102
101
|
// verify required parameter 'pluginId' is not null or undefined
|
|
103
102
|
assertParamExists('getPluginConfiguration', 'pluginId', pluginId);
|
|
104
103
|
const localVarPath = `/Plugins/{pluginId}/Configuration`
|
|
@@ -109,19 +108,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
109
108
|
if (configuration) {
|
|
110
109
|
baseOptions = configuration.baseOptions;
|
|
111
110
|
}
|
|
112
|
-
const localVarRequestOptions =
|
|
111
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
113
112
|
const localVarHeaderParameter = {};
|
|
114
113
|
const localVarQueryParameter = {};
|
|
115
114
|
// authentication CustomAuthentication required
|
|
116
|
-
|
|
115
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
117
116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
118
117
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
119
|
-
localVarRequestOptions.headers =
|
|
118
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
120
119
|
return {
|
|
121
120
|
url: toPathString(localVarUrlObj),
|
|
122
121
|
options: localVarRequestOptions,
|
|
123
122
|
};
|
|
124
|
-
}
|
|
123
|
+
},
|
|
125
124
|
/**
|
|
126
125
|
*
|
|
127
126
|
* @summary Gets a plugin\'s image.
|
|
@@ -130,7 +129,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
130
129
|
* @param {*} [options] Override http request option.
|
|
131
130
|
* @throws {RequiredError}
|
|
132
131
|
*/
|
|
133
|
-
getPluginImage:
|
|
132
|
+
getPluginImage: async (pluginId, version, options = {}) => {
|
|
134
133
|
// verify required parameter 'pluginId' is not null or undefined
|
|
135
134
|
assertParamExists('getPluginImage', 'pluginId', pluginId);
|
|
136
135
|
// verify required parameter 'version' is not null or undefined
|
|
@@ -144,19 +143,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
144
143
|
if (configuration) {
|
|
145
144
|
baseOptions = configuration.baseOptions;
|
|
146
145
|
}
|
|
147
|
-
const localVarRequestOptions =
|
|
146
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
148
147
|
const localVarHeaderParameter = {};
|
|
149
148
|
const localVarQueryParameter = {};
|
|
150
149
|
// authentication CustomAuthentication required
|
|
151
|
-
|
|
150
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
152
151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
|
-
localVarRequestOptions.headers =
|
|
153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
155
154
|
return {
|
|
156
155
|
url: toPathString(localVarUrlObj),
|
|
157
156
|
options: localVarRequestOptions,
|
|
158
157
|
};
|
|
159
|
-
}
|
|
158
|
+
},
|
|
160
159
|
/**
|
|
161
160
|
*
|
|
162
161
|
* @summary Gets a plugin\'s manifest.
|
|
@@ -164,7 +163,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
164
163
|
* @param {*} [options] Override http request option.
|
|
165
164
|
* @throws {RequiredError}
|
|
166
165
|
*/
|
|
167
|
-
getPluginManifest:
|
|
166
|
+
getPluginManifest: async (pluginId, options = {}) => {
|
|
168
167
|
// verify required parameter 'pluginId' is not null or undefined
|
|
169
168
|
assertParamExists('getPluginManifest', 'pluginId', pluginId);
|
|
170
169
|
const localVarPath = `/Plugins/{pluginId}/Manifest`
|
|
@@ -175,26 +174,26 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
175
174
|
if (configuration) {
|
|
176
175
|
baseOptions = configuration.baseOptions;
|
|
177
176
|
}
|
|
178
|
-
const localVarRequestOptions =
|
|
177
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
179
178
|
const localVarHeaderParameter = {};
|
|
180
179
|
const localVarQueryParameter = {};
|
|
181
180
|
// authentication CustomAuthentication required
|
|
182
|
-
|
|
181
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
183
182
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
184
183
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
185
|
-
localVarRequestOptions.headers =
|
|
184
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
186
185
|
return {
|
|
187
186
|
url: toPathString(localVarUrlObj),
|
|
188
187
|
options: localVarRequestOptions,
|
|
189
188
|
};
|
|
190
|
-
}
|
|
189
|
+
},
|
|
191
190
|
/**
|
|
192
191
|
*
|
|
193
192
|
* @summary Gets a list of currently installed plugins.
|
|
194
193
|
* @param {*} [options] Override http request option.
|
|
195
194
|
* @throws {RequiredError}
|
|
196
195
|
*/
|
|
197
|
-
getPlugins:
|
|
196
|
+
getPlugins: async (options = {}) => {
|
|
198
197
|
const localVarPath = `/Plugins`;
|
|
199
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -202,19 +201,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
202
201
|
if (configuration) {
|
|
203
202
|
baseOptions = configuration.baseOptions;
|
|
204
203
|
}
|
|
205
|
-
const localVarRequestOptions =
|
|
204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
206
205
|
const localVarHeaderParameter = {};
|
|
207
206
|
const localVarQueryParameter = {};
|
|
208
207
|
// authentication CustomAuthentication required
|
|
209
|
-
|
|
208
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
210
209
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
211
210
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
212
|
-
localVarRequestOptions.headers =
|
|
211
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
213
212
|
return {
|
|
214
213
|
url: toPathString(localVarUrlObj),
|
|
215
214
|
options: localVarRequestOptions,
|
|
216
215
|
};
|
|
217
|
-
}
|
|
216
|
+
},
|
|
218
217
|
/**
|
|
219
218
|
*
|
|
220
219
|
* @summary Uninstalls a plugin.
|
|
@@ -223,7 +222,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
223
222
|
* @deprecated
|
|
224
223
|
* @throws {RequiredError}
|
|
225
224
|
*/
|
|
226
|
-
uninstallPlugin:
|
|
225
|
+
uninstallPlugin: async (pluginId, options = {}) => {
|
|
227
226
|
// verify required parameter 'pluginId' is not null or undefined
|
|
228
227
|
assertParamExists('uninstallPlugin', 'pluginId', pluginId);
|
|
229
228
|
const localVarPath = `/Plugins/{pluginId}`
|
|
@@ -234,19 +233,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
234
233
|
if (configuration) {
|
|
235
234
|
baseOptions = configuration.baseOptions;
|
|
236
235
|
}
|
|
237
|
-
const localVarRequestOptions =
|
|
236
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
238
237
|
const localVarHeaderParameter = {};
|
|
239
238
|
const localVarQueryParameter = {};
|
|
240
239
|
// authentication CustomAuthentication required
|
|
241
|
-
|
|
240
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
242
241
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
243
242
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
|
-
localVarRequestOptions.headers =
|
|
243
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
245
244
|
return {
|
|
246
245
|
url: toPathString(localVarUrlObj),
|
|
247
246
|
options: localVarRequestOptions,
|
|
248
247
|
};
|
|
249
|
-
}
|
|
248
|
+
},
|
|
250
249
|
/**
|
|
251
250
|
*
|
|
252
251
|
* @summary Uninstalls a plugin by version.
|
|
@@ -255,7 +254,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
255
254
|
* @param {*} [options] Override http request option.
|
|
256
255
|
* @throws {RequiredError}
|
|
257
256
|
*/
|
|
258
|
-
uninstallPluginByVersion:
|
|
257
|
+
uninstallPluginByVersion: async (pluginId, version, options = {}) => {
|
|
259
258
|
// verify required parameter 'pluginId' is not null or undefined
|
|
260
259
|
assertParamExists('uninstallPluginByVersion', 'pluginId', pluginId);
|
|
261
260
|
// verify required parameter 'version' is not null or undefined
|
|
@@ -269,19 +268,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
269
268
|
if (configuration) {
|
|
270
269
|
baseOptions = configuration.baseOptions;
|
|
271
270
|
}
|
|
272
|
-
const localVarRequestOptions =
|
|
271
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
273
272
|
const localVarHeaderParameter = {};
|
|
274
273
|
const localVarQueryParameter = {};
|
|
275
274
|
// authentication CustomAuthentication required
|
|
276
|
-
|
|
275
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
277
276
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
278
277
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
|
-
localVarRequestOptions.headers =
|
|
278
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
280
279
|
return {
|
|
281
280
|
url: toPathString(localVarUrlObj),
|
|
282
281
|
options: localVarRequestOptions,
|
|
283
282
|
};
|
|
284
|
-
}
|
|
283
|
+
},
|
|
285
284
|
/**
|
|
286
285
|
* Accepts plugin configuration as JSON body.
|
|
287
286
|
* @summary Updates plugin configuration.
|
|
@@ -289,7 +288,7 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
289
288
|
* @param {*} [options] Override http request option.
|
|
290
289
|
* @throws {RequiredError}
|
|
291
290
|
*/
|
|
292
|
-
updatePluginConfiguration:
|
|
291
|
+
updatePluginConfiguration: async (pluginId, options = {}) => {
|
|
293
292
|
// verify required parameter 'pluginId' is not null or undefined
|
|
294
293
|
assertParamExists('updatePluginConfiguration', 'pluginId', pluginId);
|
|
295
294
|
const localVarPath = `/Plugins/{pluginId}/Configuration`
|
|
@@ -300,19 +299,19 @@ const PluginsApiAxiosParamCreator = function (configuration) {
|
|
|
300
299
|
if (configuration) {
|
|
301
300
|
baseOptions = configuration.baseOptions;
|
|
302
301
|
}
|
|
303
|
-
const localVarRequestOptions =
|
|
302
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
304
303
|
const localVarHeaderParameter = {};
|
|
305
304
|
const localVarQueryParameter = {};
|
|
306
305
|
// authentication CustomAuthentication required
|
|
307
|
-
|
|
306
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
308
307
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
309
308
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
310
|
-
localVarRequestOptions.headers =
|
|
309
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
311
310
|
return {
|
|
312
311
|
url: toPathString(localVarUrlObj),
|
|
313
312
|
options: localVarRequestOptions,
|
|
314
313
|
};
|
|
315
|
-
}
|
|
314
|
+
},
|
|
316
315
|
};
|
|
317
316
|
};
|
|
318
317
|
/**
|
|
@@ -330,11 +329,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
330
329
|
* @param {*} [options] Override http request option.
|
|
331
330
|
* @throws {RequiredError}
|
|
332
331
|
*/
|
|
333
|
-
disablePlugin(pluginId, version, options) {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
332
|
+
async disablePlugin(pluginId, version, options) {
|
|
333
|
+
var _a, _b, _c;
|
|
334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.disablePlugin(pluginId, version, options);
|
|
335
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
336
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.disablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
340
|
*
|
|
@@ -344,11 +344,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
346
346
|
*/
|
|
347
|
-
enablePlugin(pluginId, version, options) {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
347
|
+
async enablePlugin(pluginId, version, options) {
|
|
348
|
+
var _a, _b, _c;
|
|
349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.enablePlugin(pluginId, version, options);
|
|
350
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
351
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.enablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
352
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
352
353
|
},
|
|
353
354
|
/**
|
|
354
355
|
*
|
|
@@ -357,11 +358,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
357
358
|
* @param {*} [options] Override http request option.
|
|
358
359
|
* @throws {RequiredError}
|
|
359
360
|
*/
|
|
360
|
-
getPluginConfiguration(pluginId, options) {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
361
|
+
async getPluginConfiguration(pluginId, options) {
|
|
362
|
+
var _a, _b, _c;
|
|
363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginConfiguration(pluginId, options);
|
|
364
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
365
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
365
367
|
},
|
|
366
368
|
/**
|
|
367
369
|
*
|
|
@@ -371,11 +373,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
371
373
|
* @param {*} [options] Override http request option.
|
|
372
374
|
* @throws {RequiredError}
|
|
373
375
|
*/
|
|
374
|
-
getPluginImage(pluginId, version, options) {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
376
|
+
async getPluginImage(pluginId, version, options) {
|
|
377
|
+
var _a, _b, _c;
|
|
378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginImage(pluginId, version, options);
|
|
379
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
380
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
381
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
379
382
|
},
|
|
380
383
|
/**
|
|
381
384
|
*
|
|
@@ -384,11 +387,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
384
387
|
* @param {*} [options] Override http request option.
|
|
385
388
|
* @throws {RequiredError}
|
|
386
389
|
*/
|
|
387
|
-
getPluginManifest(pluginId, options) {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
async getPluginManifest(pluginId, options) {
|
|
391
|
+
var _a, _b, _c;
|
|
392
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginManifest(pluginId, options);
|
|
393
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
394
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
395
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
392
396
|
},
|
|
393
397
|
/**
|
|
394
398
|
*
|
|
@@ -396,11 +400,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
396
400
|
* @param {*} [options] Override http request option.
|
|
397
401
|
* @throws {RequiredError}
|
|
398
402
|
*/
|
|
399
|
-
getPlugins(options) {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
403
|
+
async getPlugins(options) {
|
|
404
|
+
var _a, _b, _c;
|
|
405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlugins(options);
|
|
406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
407
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPlugins']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
408
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
404
409
|
},
|
|
405
410
|
/**
|
|
406
411
|
*
|
|
@@ -410,11 +415,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
410
415
|
* @deprecated
|
|
411
416
|
* @throws {RequiredError}
|
|
412
417
|
*/
|
|
413
|
-
uninstallPlugin(pluginId, options) {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
+
async uninstallPlugin(pluginId, options) {
|
|
419
|
+
var _a, _b, _c;
|
|
420
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPlugin(pluginId, options);
|
|
421
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
422
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
423
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
418
424
|
},
|
|
419
425
|
/**
|
|
420
426
|
*
|
|
@@ -424,11 +430,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
424
430
|
* @param {*} [options] Override http request option.
|
|
425
431
|
* @throws {RequiredError}
|
|
426
432
|
*/
|
|
427
|
-
uninstallPluginByVersion(pluginId, version, options) {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
433
|
+
async uninstallPluginByVersion(pluginId, version, options) {
|
|
434
|
+
var _a, _b, _c;
|
|
435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options);
|
|
436
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPluginByVersion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
432
439
|
},
|
|
433
440
|
/**
|
|
434
441
|
* Accepts plugin configuration as JSON body.
|
|
@@ -437,11 +444,12 @@ const PluginsApiFp = function (configuration) {
|
|
|
437
444
|
* @param {*} [options] Override http request option.
|
|
438
445
|
* @throws {RequiredError}
|
|
439
446
|
*/
|
|
440
|
-
updatePluginConfiguration(pluginId, options) {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
447
|
+
async updatePluginConfiguration(pluginId, options) {
|
|
448
|
+
var _a, _b, _c;
|
|
449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options);
|
|
450
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
451
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.updatePluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
445
453
|
},
|
|
446
454
|
};
|
|
447
455
|
};
|
|
@@ -455,55 +463,52 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
455
463
|
/**
|
|
456
464
|
*
|
|
457
465
|
* @summary Disable a plugin.
|
|
458
|
-
* @param {
|
|
459
|
-
* @param {string} version Plugin version.
|
|
466
|
+
* @param {PluginsApiDisablePluginRequest} requestParameters Request parameters.
|
|
460
467
|
* @param {*} [options] Override http request option.
|
|
461
468
|
* @throws {RequiredError}
|
|
462
469
|
*/
|
|
463
|
-
disablePlugin(
|
|
464
|
-
return localVarFp.disablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
|
|
470
|
+
disablePlugin(requestParameters, options) {
|
|
471
|
+
return localVarFp.disablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
465
472
|
},
|
|
466
473
|
/**
|
|
467
474
|
*
|
|
468
475
|
* @summary Enables a disabled plugin.
|
|
469
|
-
* @param {
|
|
470
|
-
* @param {string} version Plugin version.
|
|
476
|
+
* @param {PluginsApiEnablePluginRequest} requestParameters Request parameters.
|
|
471
477
|
* @param {*} [options] Override http request option.
|
|
472
478
|
* @throws {RequiredError}
|
|
473
479
|
*/
|
|
474
|
-
enablePlugin(
|
|
475
|
-
return localVarFp.enablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
|
|
480
|
+
enablePlugin(requestParameters, options) {
|
|
481
|
+
return localVarFp.enablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
476
482
|
},
|
|
477
483
|
/**
|
|
478
484
|
*
|
|
479
485
|
* @summary Gets plugin configuration.
|
|
480
|
-
* @param {
|
|
486
|
+
* @param {PluginsApiGetPluginConfigurationRequest} requestParameters Request parameters.
|
|
481
487
|
* @param {*} [options] Override http request option.
|
|
482
488
|
* @throws {RequiredError}
|
|
483
489
|
*/
|
|
484
|
-
getPluginConfiguration(
|
|
485
|
-
return localVarFp.getPluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
|
|
490
|
+
getPluginConfiguration(requestParameters, options) {
|
|
491
|
+
return localVarFp.getPluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
486
492
|
},
|
|
487
493
|
/**
|
|
488
494
|
*
|
|
489
495
|
* @summary Gets a plugin\'s image.
|
|
490
|
-
* @param {
|
|
491
|
-
* @param {string} version Plugin version.
|
|
496
|
+
* @param {PluginsApiGetPluginImageRequest} requestParameters Request parameters.
|
|
492
497
|
* @param {*} [options] Override http request option.
|
|
493
498
|
* @throws {RequiredError}
|
|
494
499
|
*/
|
|
495
|
-
getPluginImage(
|
|
496
|
-
return localVarFp.getPluginImage(pluginId, version, options).then((request) => request(axios, basePath));
|
|
500
|
+
getPluginImage(requestParameters, options) {
|
|
501
|
+
return localVarFp.getPluginImage(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
497
502
|
},
|
|
498
503
|
/**
|
|
499
504
|
*
|
|
500
505
|
* @summary Gets a plugin\'s manifest.
|
|
501
|
-
* @param {
|
|
506
|
+
* @param {PluginsApiGetPluginManifestRequest} requestParameters Request parameters.
|
|
502
507
|
* @param {*} [options] Override http request option.
|
|
503
508
|
* @throws {RequiredError}
|
|
504
509
|
*/
|
|
505
|
-
getPluginManifest(
|
|
506
|
-
return localVarFp.getPluginManifest(pluginId, options).then((request) => request(axios, basePath));
|
|
510
|
+
getPluginManifest(requestParameters, options) {
|
|
511
|
+
return localVarFp.getPluginManifest(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
507
512
|
},
|
|
508
513
|
/**
|
|
509
514
|
*
|
|
@@ -517,34 +522,33 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
517
522
|
/**
|
|
518
523
|
*
|
|
519
524
|
* @summary Uninstalls a plugin.
|
|
520
|
-
* @param {
|
|
525
|
+
* @param {PluginsApiUninstallPluginRequest} requestParameters Request parameters.
|
|
521
526
|
* @param {*} [options] Override http request option.
|
|
522
527
|
* @deprecated
|
|
523
528
|
* @throws {RequiredError}
|
|
524
529
|
*/
|
|
525
|
-
uninstallPlugin(
|
|
526
|
-
return localVarFp.uninstallPlugin(pluginId, options).then((request) => request(axios, basePath));
|
|
530
|
+
uninstallPlugin(requestParameters, options) {
|
|
531
|
+
return localVarFp.uninstallPlugin(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
527
532
|
},
|
|
528
533
|
/**
|
|
529
534
|
*
|
|
530
535
|
* @summary Uninstalls a plugin by version.
|
|
531
|
-
* @param {
|
|
532
|
-
* @param {string} version Plugin version.
|
|
536
|
+
* @param {PluginsApiUninstallPluginByVersionRequest} requestParameters Request parameters.
|
|
533
537
|
* @param {*} [options] Override http request option.
|
|
534
538
|
* @throws {RequiredError}
|
|
535
539
|
*/
|
|
536
|
-
uninstallPluginByVersion(
|
|
537
|
-
return localVarFp.uninstallPluginByVersion(pluginId, version, options).then((request) => request(axios, basePath));
|
|
540
|
+
uninstallPluginByVersion(requestParameters, options) {
|
|
541
|
+
return localVarFp.uninstallPluginByVersion(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
538
542
|
},
|
|
539
543
|
/**
|
|
540
544
|
* Accepts plugin configuration as JSON body.
|
|
541
545
|
* @summary Updates plugin configuration.
|
|
542
|
-
* @param {
|
|
546
|
+
* @param {PluginsApiUpdatePluginConfigurationRequest} requestParameters Request parameters.
|
|
543
547
|
* @param {*} [options] Override http request option.
|
|
544
548
|
* @throws {RequiredError}
|
|
545
549
|
*/
|
|
546
|
-
updatePluginConfiguration(
|
|
547
|
-
return localVarFp.updatePluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
|
|
550
|
+
updatePluginConfiguration(requestParameters, options) {
|
|
551
|
+
return localVarFp.updatePluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
548
552
|
},
|
|
549
553
|
};
|
|
550
554
|
};
|