@jellyfin/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { DefaultDirectoryBrowserInfoDto } from '../models';
|
|
15
|
-
import { FileSystemEntryInfo } from '../models';
|
|
16
|
-
import { ValidatePathDto } 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 { DefaultDirectoryBrowserInfoDto } from '../models';
|
|
15
|
+
import type { FileSystemEntryInfo } from '../models';
|
|
16
|
+
import type { ValidatePathDto } from '../models';
|
|
17
17
|
/**
|
|
18
18
|
* EnvironmentApi - axios parameter creator
|
|
19
19
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
getDefaultDirectoryBrowser: (options?:
|
|
28
|
+
getDefaultDirectoryBrowser: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Gets the contents of a given directory in the file system.
|
|
@@ -35,14 +35,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
getDirectoryContents: (path: string, includeFiles?: boolean, includeDirectories?: boolean, options?:
|
|
38
|
+
getDirectoryContents: (path: string, includeFiles?: boolean, includeDirectories?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Gets available drives from the server\'s file system.
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getDrives: (options?:
|
|
45
|
+
getDrives: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @summary Gets network paths.
|
|
@@ -50,7 +50,7 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
50
50
|
* @deprecated
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getNetworkShares: (options?:
|
|
53
|
+
getNetworkShares: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @summary Gets the parent path of a given path.
|
|
@@ -58,7 +58,7 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
61
|
-
getParentPath: (path: string, options?:
|
|
61
|
+
getParentPath: (path: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @summary Validates path.
|
|
@@ -66,7 +66,7 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
validatePath: (validatePathDto: ValidatePathDto, options?:
|
|
69
|
+
validatePath: (validatePathDto: ValidatePathDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
72
|
* EnvironmentApi - functional programming interface
|
|
@@ -79,7 +79,7 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
getDefaultDirectoryBrowser(options?:
|
|
82
|
+
getDefaultDirectoryBrowser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DefaultDirectoryBrowserInfoDto>>;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @summary Gets the contents of a given directory in the file system.
|
|
@@ -89,14 +89,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
getDirectoryContents(path: string, includeFiles?: boolean, includeDirectories?: boolean, options?:
|
|
92
|
+
getDirectoryContents(path: string, includeFiles?: boolean, includeDirectories?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileSystemEntryInfo>>>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @summary Gets available drives from the server\'s file system.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
getDrives(options?:
|
|
99
|
+
getDrives(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileSystemEntryInfo>>>;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @summary Gets network paths.
|
|
@@ -104,7 +104,7 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
104
104
|
* @deprecated
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
getNetworkShares(options?:
|
|
107
|
+
getNetworkShares(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FileSystemEntryInfo>>>;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @summary Gets the parent path of a given path.
|
|
@@ -112,7 +112,7 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
getParentPath(path: string, options?:
|
|
115
|
+
getParentPath(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
118
|
* @summary Validates path.
|
|
@@ -120,7 +120,7 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
validatePath(validatePathDto: ValidatePathDto, options?:
|
|
123
|
+
validatePath(validatePathDto: ValidatePathDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
126
|
* EnvironmentApi - factory interface
|
|
@@ -133,24 +133,22 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
136
|
-
getDefaultDirectoryBrowser(options?:
|
|
136
|
+
getDefaultDirectoryBrowser(options?: RawAxiosRequestConfig): AxiosPromise<DefaultDirectoryBrowserInfoDto>;
|
|
137
137
|
/**
|
|
138
138
|
*
|
|
139
139
|
* @summary Gets the contents of a given directory in the file system.
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {boolean} [includeFiles] An optional filter to include or exclude files from the results. true/false.
|
|
142
|
-
* @param {boolean} [includeDirectories] An optional filter to include or exclude folders from the results. true/false.
|
|
140
|
+
* @param {EnvironmentApiGetDirectoryContentsRequest} requestParameters Request parameters.
|
|
143
141
|
* @param {*} [options] Override http request option.
|
|
144
142
|
* @throws {RequiredError}
|
|
145
143
|
*/
|
|
146
|
-
getDirectoryContents(
|
|
144
|
+
getDirectoryContents(requestParameters: EnvironmentApiGetDirectoryContentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<FileSystemEntryInfo>>;
|
|
147
145
|
/**
|
|
148
146
|
*
|
|
149
147
|
* @summary Gets available drives from the server\'s file system.
|
|
150
148
|
* @param {*} [options] Override http request option.
|
|
151
149
|
* @throws {RequiredError}
|
|
152
150
|
*/
|
|
153
|
-
getDrives(options?:
|
|
151
|
+
getDrives(options?: RawAxiosRequestConfig): AxiosPromise<Array<FileSystemEntryInfo>>;
|
|
154
152
|
/**
|
|
155
153
|
*
|
|
156
154
|
* @summary Gets network paths.
|
|
@@ -158,23 +156,23 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
158
156
|
* @deprecated
|
|
159
157
|
* @throws {RequiredError}
|
|
160
158
|
*/
|
|
161
|
-
getNetworkShares(options?:
|
|
159
|
+
getNetworkShares(options?: RawAxiosRequestConfig): AxiosPromise<Array<FileSystemEntryInfo>>;
|
|
162
160
|
/**
|
|
163
161
|
*
|
|
164
162
|
* @summary Gets the parent path of a given path.
|
|
165
|
-
* @param {
|
|
163
|
+
* @param {EnvironmentApiGetParentPathRequest} requestParameters Request parameters.
|
|
166
164
|
* @param {*} [options] Override http request option.
|
|
167
165
|
* @throws {RequiredError}
|
|
168
166
|
*/
|
|
169
|
-
getParentPath(
|
|
167
|
+
getParentPath(requestParameters: EnvironmentApiGetParentPathRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
170
168
|
/**
|
|
171
169
|
*
|
|
172
170
|
* @summary Validates path.
|
|
173
|
-
* @param {
|
|
171
|
+
* @param {EnvironmentApiValidatePathRequest} requestParameters Request parameters.
|
|
174
172
|
* @param {*} [options] Override http request option.
|
|
175
173
|
* @throws {RequiredError}
|
|
176
174
|
*/
|
|
177
|
-
validatePath(
|
|
175
|
+
validatePath(requestParameters: EnvironmentApiValidatePathRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
178
176
|
};
|
|
179
177
|
/**
|
|
180
178
|
* Request parameters for getDirectoryContents operation in EnvironmentApi.
|
|
@@ -241,7 +239,7 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
241
239
|
* @throws {RequiredError}
|
|
242
240
|
* @memberof EnvironmentApi
|
|
243
241
|
*/
|
|
244
|
-
getDefaultDirectoryBrowser(options?:
|
|
242
|
+
getDefaultDirectoryBrowser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DefaultDirectoryBrowserInfoDto, any>>;
|
|
245
243
|
/**
|
|
246
244
|
*
|
|
247
245
|
* @summary Gets the contents of a given directory in the file system.
|
|
@@ -250,7 +248,7 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
250
248
|
* @throws {RequiredError}
|
|
251
249
|
* @memberof EnvironmentApi
|
|
252
250
|
*/
|
|
253
|
-
getDirectoryContents(requestParameters: EnvironmentApiGetDirectoryContentsRequest, options?:
|
|
251
|
+
getDirectoryContents(requestParameters: EnvironmentApiGetDirectoryContentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileSystemEntryInfo[], any>>;
|
|
254
252
|
/**
|
|
255
253
|
*
|
|
256
254
|
* @summary Gets available drives from the server\'s file system.
|
|
@@ -258,7 +256,7 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
258
256
|
* @throws {RequiredError}
|
|
259
257
|
* @memberof EnvironmentApi
|
|
260
258
|
*/
|
|
261
|
-
getDrives(options?:
|
|
259
|
+
getDrives(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileSystemEntryInfo[], any>>;
|
|
262
260
|
/**
|
|
263
261
|
*
|
|
264
262
|
* @summary Gets network paths.
|
|
@@ -267,7 +265,7 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
267
265
|
* @throws {RequiredError}
|
|
268
266
|
* @memberof EnvironmentApi
|
|
269
267
|
*/
|
|
270
|
-
getNetworkShares(options?:
|
|
268
|
+
getNetworkShares(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileSystemEntryInfo[], any>>;
|
|
271
269
|
/**
|
|
272
270
|
*
|
|
273
271
|
* @summary Gets the parent path of a given path.
|
|
@@ -276,7 +274,7 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
276
274
|
* @throws {RequiredError}
|
|
277
275
|
* @memberof EnvironmentApi
|
|
278
276
|
*/
|
|
279
|
-
getParentPath(requestParameters: EnvironmentApiGetParentPathRequest, options?:
|
|
277
|
+
getParentPath(requestParameters: EnvironmentApiGetParentPathRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
280
278
|
/**
|
|
281
279
|
*
|
|
282
280
|
* @summary Validates path.
|
|
@@ -285,5 +283,5 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
285
283
|
* @throws {RequiredError}
|
|
286
284
|
* @memberof EnvironmentApi
|
|
287
285
|
*/
|
|
288
|
-
validatePath(requestParameters: EnvironmentApiValidatePathRequest, options?:
|
|
286
|
+
validatePath(requestParameters: EnvironmentApiValidatePathRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
289
287
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, serializeDataIfNeeded, 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 */
|
|
@@ -27,7 +26,7 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
getDefaultDirectoryBrowser:
|
|
29
|
+
getDefaultDirectoryBrowser: async (options = {}) => {
|
|
31
30
|
const localVarPath = `/Environment/DefaultDirectoryBrowser`;
|
|
32
31
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33
32
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35,19 +34,19 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
if (configuration) {
|
|
36
35
|
baseOptions = configuration.baseOptions;
|
|
37
36
|
}
|
|
38
|
-
const localVarRequestOptions =
|
|
37
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
39
38
|
const localVarHeaderParameter = {};
|
|
40
39
|
const localVarQueryParameter = {};
|
|
41
40
|
// authentication CustomAuthentication required
|
|
42
|
-
|
|
41
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
43
42
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
44
43
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45
|
-
localVarRequestOptions.headers =
|
|
44
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
46
45
|
return {
|
|
47
46
|
url: toPathString(localVarUrlObj),
|
|
48
47
|
options: localVarRequestOptions,
|
|
49
48
|
};
|
|
50
|
-
}
|
|
49
|
+
},
|
|
51
50
|
/**
|
|
52
51
|
*
|
|
53
52
|
* @summary Gets the contents of a given directory in the file system.
|
|
@@ -57,7 +56,7 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
57
56
|
* @param {*} [options] Override http request option.
|
|
58
57
|
* @throws {RequiredError}
|
|
59
58
|
*/
|
|
60
|
-
getDirectoryContents:
|
|
59
|
+
getDirectoryContents: async (path, includeFiles, includeDirectories, options = {}) => {
|
|
61
60
|
// verify required parameter 'path' is not null or undefined
|
|
62
61
|
assertParamExists('getDirectoryContents', 'path', path);
|
|
63
62
|
const localVarPath = `/Environment/DirectoryContents`;
|
|
@@ -67,11 +66,11 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
67
66
|
if (configuration) {
|
|
68
67
|
baseOptions = configuration.baseOptions;
|
|
69
68
|
}
|
|
70
|
-
const localVarRequestOptions =
|
|
69
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
71
70
|
const localVarHeaderParameter = {};
|
|
72
71
|
const localVarQueryParameter = {};
|
|
73
72
|
// authentication CustomAuthentication required
|
|
74
|
-
|
|
73
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
75
74
|
if (path !== undefined) {
|
|
76
75
|
localVarQueryParameter['path'] = path;
|
|
77
76
|
}
|
|
@@ -83,19 +82,19 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
83
82
|
}
|
|
84
83
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
84
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
-
localVarRequestOptions.headers =
|
|
85
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
87
86
|
return {
|
|
88
87
|
url: toPathString(localVarUrlObj),
|
|
89
88
|
options: localVarRequestOptions,
|
|
90
89
|
};
|
|
91
|
-
}
|
|
90
|
+
},
|
|
92
91
|
/**
|
|
93
92
|
*
|
|
94
93
|
* @summary Gets available drives from the server\'s file system.
|
|
95
94
|
* @param {*} [options] Override http request option.
|
|
96
95
|
* @throws {RequiredError}
|
|
97
96
|
*/
|
|
98
|
-
getDrives:
|
|
97
|
+
getDrives: async (options = {}) => {
|
|
99
98
|
const localVarPath = `/Environment/Drives`;
|
|
100
99
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -103,19 +102,19 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
103
102
|
if (configuration) {
|
|
104
103
|
baseOptions = configuration.baseOptions;
|
|
105
104
|
}
|
|
106
|
-
const localVarRequestOptions =
|
|
105
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
107
106
|
const localVarHeaderParameter = {};
|
|
108
107
|
const localVarQueryParameter = {};
|
|
109
108
|
// authentication CustomAuthentication required
|
|
110
|
-
|
|
109
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
111
110
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
112
111
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
|
-
localVarRequestOptions.headers =
|
|
112
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
114
113
|
return {
|
|
115
114
|
url: toPathString(localVarUrlObj),
|
|
116
115
|
options: localVarRequestOptions,
|
|
117
116
|
};
|
|
118
|
-
}
|
|
117
|
+
},
|
|
119
118
|
/**
|
|
120
119
|
*
|
|
121
120
|
* @summary Gets network paths.
|
|
@@ -123,7 +122,7 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
123
122
|
* @deprecated
|
|
124
123
|
* @throws {RequiredError}
|
|
125
124
|
*/
|
|
126
|
-
getNetworkShares:
|
|
125
|
+
getNetworkShares: async (options = {}) => {
|
|
127
126
|
const localVarPath = `/Environment/NetworkShares`;
|
|
128
127
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
128
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -131,19 +130,19 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
131
130
|
if (configuration) {
|
|
132
131
|
baseOptions = configuration.baseOptions;
|
|
133
132
|
}
|
|
134
|
-
const localVarRequestOptions =
|
|
133
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
135
134
|
const localVarHeaderParameter = {};
|
|
136
135
|
const localVarQueryParameter = {};
|
|
137
136
|
// authentication CustomAuthentication required
|
|
138
|
-
|
|
137
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
139
138
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
-
localVarRequestOptions.headers =
|
|
140
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
142
141
|
return {
|
|
143
142
|
url: toPathString(localVarUrlObj),
|
|
144
143
|
options: localVarRequestOptions,
|
|
145
144
|
};
|
|
146
|
-
}
|
|
145
|
+
},
|
|
147
146
|
/**
|
|
148
147
|
*
|
|
149
148
|
* @summary Gets the parent path of a given path.
|
|
@@ -151,7 +150,7 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
151
150
|
* @param {*} [options] Override http request option.
|
|
152
151
|
* @throws {RequiredError}
|
|
153
152
|
*/
|
|
154
|
-
getParentPath:
|
|
153
|
+
getParentPath: async (path, options = {}) => {
|
|
155
154
|
// verify required parameter 'path' is not null or undefined
|
|
156
155
|
assertParamExists('getParentPath', 'path', path);
|
|
157
156
|
const localVarPath = `/Environment/ParentPath`;
|
|
@@ -161,22 +160,22 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
161
160
|
if (configuration) {
|
|
162
161
|
baseOptions = configuration.baseOptions;
|
|
163
162
|
}
|
|
164
|
-
const localVarRequestOptions =
|
|
163
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
165
164
|
const localVarHeaderParameter = {};
|
|
166
165
|
const localVarQueryParameter = {};
|
|
167
166
|
// authentication CustomAuthentication required
|
|
168
|
-
|
|
167
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
169
168
|
if (path !== undefined) {
|
|
170
169
|
localVarQueryParameter['path'] = path;
|
|
171
170
|
}
|
|
172
171
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
172
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
-
localVarRequestOptions.headers =
|
|
173
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
175
174
|
return {
|
|
176
175
|
url: toPathString(localVarUrlObj),
|
|
177
176
|
options: localVarRequestOptions,
|
|
178
177
|
};
|
|
179
|
-
}
|
|
178
|
+
},
|
|
180
179
|
/**
|
|
181
180
|
*
|
|
182
181
|
* @summary Validates path.
|
|
@@ -184,7 +183,7 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
184
183
|
* @param {*} [options] Override http request option.
|
|
185
184
|
* @throws {RequiredError}
|
|
186
185
|
*/
|
|
187
|
-
validatePath:
|
|
186
|
+
validatePath: async (validatePathDto, options = {}) => {
|
|
188
187
|
// verify required parameter 'validatePathDto' is not null or undefined
|
|
189
188
|
assertParamExists('validatePath', 'validatePathDto', validatePathDto);
|
|
190
189
|
const localVarPath = `/Environment/ValidatePath`;
|
|
@@ -194,21 +193,21 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
194
193
|
if (configuration) {
|
|
195
194
|
baseOptions = configuration.baseOptions;
|
|
196
195
|
}
|
|
197
|
-
const localVarRequestOptions =
|
|
196
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
198
197
|
const localVarHeaderParameter = {};
|
|
199
198
|
const localVarQueryParameter = {};
|
|
200
199
|
// authentication CustomAuthentication required
|
|
201
|
-
|
|
200
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
202
201
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
203
202
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
204
203
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
205
|
-
localVarRequestOptions.headers =
|
|
204
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
206
205
|
localVarRequestOptions.data = serializeDataIfNeeded(validatePathDto, localVarRequestOptions, configuration);
|
|
207
206
|
return {
|
|
208
207
|
url: toPathString(localVarUrlObj),
|
|
209
208
|
options: localVarRequestOptions,
|
|
210
209
|
};
|
|
211
|
-
}
|
|
210
|
+
},
|
|
212
211
|
};
|
|
213
212
|
};
|
|
214
213
|
/**
|
|
@@ -224,11 +223,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
224
223
|
* @param {*} [options] Override http request option.
|
|
225
224
|
* @throws {RequiredError}
|
|
226
225
|
*/
|
|
227
|
-
getDefaultDirectoryBrowser(options) {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
226
|
+
async getDefaultDirectoryBrowser(options) {
|
|
227
|
+
var _a, _b, _c;
|
|
228
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultDirectoryBrowser(options);
|
|
229
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
230
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.getDefaultDirectoryBrowser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
231
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
232
232
|
},
|
|
233
233
|
/**
|
|
234
234
|
*
|
|
@@ -239,11 +239,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
241
241
|
*/
|
|
242
|
-
getDirectoryContents(path, includeFiles, includeDirectories, options) {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
242
|
+
async getDirectoryContents(path, includeFiles, includeDirectories, options) {
|
|
243
|
+
var _a, _b, _c;
|
|
244
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDirectoryContents(path, includeFiles, includeDirectories, options);
|
|
245
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.getDirectoryContents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
247
248
|
},
|
|
248
249
|
/**
|
|
249
250
|
*
|
|
@@ -251,11 +252,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
251
252
|
* @param {*} [options] Override http request option.
|
|
252
253
|
* @throws {RequiredError}
|
|
253
254
|
*/
|
|
254
|
-
getDrives(options) {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
async getDrives(options) {
|
|
256
|
+
var _a, _b, _c;
|
|
257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDrives(options);
|
|
258
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
259
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.getDrives']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
260
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
259
261
|
},
|
|
260
262
|
/**
|
|
261
263
|
*
|
|
@@ -264,11 +266,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
264
266
|
* @deprecated
|
|
265
267
|
* @throws {RequiredError}
|
|
266
268
|
*/
|
|
267
|
-
getNetworkShares(options) {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
async getNetworkShares(options) {
|
|
270
|
+
var _a, _b, _c;
|
|
271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNetworkShares(options);
|
|
272
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
273
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.getNetworkShares']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
274
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
272
275
|
},
|
|
273
276
|
/**
|
|
274
277
|
*
|
|
@@ -277,11 +280,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
277
280
|
* @param {*} [options] Override http request option.
|
|
278
281
|
* @throws {RequiredError}
|
|
279
282
|
*/
|
|
280
|
-
getParentPath(path, options) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
async getParentPath(path, options) {
|
|
284
|
+
var _a, _b, _c;
|
|
285
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getParentPath(path, options);
|
|
286
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
287
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.getParentPath']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
288
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
285
289
|
},
|
|
286
290
|
/**
|
|
287
291
|
*
|
|
@@ -290,11 +294,12 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
290
294
|
* @param {*} [options] Override http request option.
|
|
291
295
|
* @throws {RequiredError}
|
|
292
296
|
*/
|
|
293
|
-
validatePath(validatePathDto, options) {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
297
|
+
async validatePath(validatePathDto, options) {
|
|
298
|
+
var _a, _b, _c;
|
|
299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.validatePath(validatePathDto, options);
|
|
300
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
301
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.validatePath']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
298
303
|
},
|
|
299
304
|
};
|
|
300
305
|
};
|
|
@@ -317,14 +322,12 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
317
322
|
/**
|
|
318
323
|
*
|
|
319
324
|
* @summary Gets the contents of a given directory in the file system.
|
|
320
|
-
* @param {
|
|
321
|
-
* @param {boolean} [includeFiles] An optional filter to include or exclude files from the results. true/false.
|
|
322
|
-
* @param {boolean} [includeDirectories] An optional filter to include or exclude folders from the results. true/false.
|
|
325
|
+
* @param {EnvironmentApiGetDirectoryContentsRequest} requestParameters Request parameters.
|
|
323
326
|
* @param {*} [options] Override http request option.
|
|
324
327
|
* @throws {RequiredError}
|
|
325
328
|
*/
|
|
326
|
-
getDirectoryContents(
|
|
327
|
-
return localVarFp.getDirectoryContents(path, includeFiles, includeDirectories, options).then((request) => request(axios, basePath));
|
|
329
|
+
getDirectoryContents(requestParameters, options) {
|
|
330
|
+
return localVarFp.getDirectoryContents(requestParameters.path, requestParameters.includeFiles, requestParameters.includeDirectories, options).then((request) => request(axios, basePath));
|
|
328
331
|
},
|
|
329
332
|
/**
|
|
330
333
|
*
|
|
@@ -348,22 +351,22 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
348
351
|
/**
|
|
349
352
|
*
|
|
350
353
|
* @summary Gets the parent path of a given path.
|
|
351
|
-
* @param {
|
|
354
|
+
* @param {EnvironmentApiGetParentPathRequest} requestParameters Request parameters.
|
|
352
355
|
* @param {*} [options] Override http request option.
|
|
353
356
|
* @throws {RequiredError}
|
|
354
357
|
*/
|
|
355
|
-
getParentPath(
|
|
356
|
-
return localVarFp.getParentPath(path, options).then((request) => request(axios, basePath));
|
|
358
|
+
getParentPath(requestParameters, options) {
|
|
359
|
+
return localVarFp.getParentPath(requestParameters.path, options).then((request) => request(axios, basePath));
|
|
357
360
|
},
|
|
358
361
|
/**
|
|
359
362
|
*
|
|
360
363
|
* @summary Validates path.
|
|
361
|
-
* @param {
|
|
364
|
+
* @param {EnvironmentApiValidatePathRequest} requestParameters Request parameters.
|
|
362
365
|
* @param {*} [options] Override http request option.
|
|
363
366
|
* @throws {RequiredError}
|
|
364
367
|
*/
|
|
365
|
-
validatePath(
|
|
366
|
-
return localVarFp.validatePath(validatePathDto, options).then((request) => request(axios, basePath));
|
|
368
|
+
validatePath(requestParameters, options) {
|
|
369
|
+
return localVarFp.validatePath(requestParameters.validatePathDto, options).then((request) => request(axios, basePath));
|
|
367
370
|
},
|
|
368
371
|
};
|
|
369
372
|
};
|