@jellyfin/sdk 0.10.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 +5 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +93 -245
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +30 -16
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +15 -9
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +36 -22
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +15 -14
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +34 -18
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +15 -27
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +36 -28
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +269 -596
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +8 -9
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +38 -122
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +212 -142
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +273 -258
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +45 -30
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +45 -52
- 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 +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +15 -27
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +37 -23
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +15 -22
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +137 -63
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +64 -63
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +23 -12
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +38 -17
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +15 -26
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +68 -69
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +133 -70
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +44 -14
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +29 -62
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +93 -56
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +15 -24
- 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 +23 -14
- 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 +2 -2
- 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/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
|
@@ -8,14 +8,14 @@
|
|
|
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 { EndPointInfo } from '../models';
|
|
15
|
-
import { LogFile } from '../models';
|
|
16
|
-
import { PublicSystemInfo } from '../models';
|
|
17
|
-
import { SystemInfo } from '../models';
|
|
18
|
-
import { WakeOnLanInfo } 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 { EndPointInfo } from '../models';
|
|
15
|
+
import type { LogFile } from '../models';
|
|
16
|
+
import type { PublicSystemInfo } from '../models';
|
|
17
|
+
import type { SystemInfo } from '../models';
|
|
18
|
+
import type { WakeOnLanInfo } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* SystemApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -27,7 +27,7 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
getEndpointInfo: (options?:
|
|
30
|
+
getEndpointInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @summary Gets a log file.
|
|
@@ -35,35 +35,35 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
getLogFile: (name: string, options?:
|
|
38
|
+
getLogFile: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @summary Pings the system.
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getPingSystem: (options?:
|
|
45
|
+
getPingSystem: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @summary Gets public information about the server.
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
getPublicSystemInfo: (options?:
|
|
52
|
+
getPublicSystemInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @summary Gets a list of available server log files.
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getServerLogs: (options?:
|
|
59
|
+
getServerLogs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @summary Gets information about the server.
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
getSystemInfo: (options?:
|
|
66
|
+
getSystemInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @summary Gets wake on lan information.
|
|
@@ -71,28 +71,28 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
71
71
|
* @deprecated
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
|
-
getWakeOnLanInfo: (options?:
|
|
74
|
+
getWakeOnLanInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @summary Pings the system.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
postPingSystem: (options?:
|
|
81
|
+
postPingSystem: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @summary Restarts the application.
|
|
85
85
|
* @param {*} [options] Override http request option.
|
|
86
86
|
* @throws {RequiredError}
|
|
87
87
|
*/
|
|
88
|
-
restartApplication: (options?:
|
|
88
|
+
restartApplication: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
91
|
* @summary Shuts down the application.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
shutdownApplication: (options?:
|
|
95
|
+
shutdownApplication: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* SystemApi - functional programming interface
|
|
@@ -105,7 +105,7 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
getEndpointInfo(options?:
|
|
108
|
+
getEndpointInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EndPointInfo>>;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
111
|
* @summary Gets a log file.
|
|
@@ -113,35 +113,35 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
|
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
116
|
-
getLogFile(name: string, options?:
|
|
116
|
+
getLogFile(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
117
117
|
/**
|
|
118
118
|
*
|
|
119
119
|
* @summary Pings the system.
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
getPingSystem(options?:
|
|
123
|
+
getPingSystem(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @summary Gets public information about the server.
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
130
|
-
getPublicSystemInfo(options?:
|
|
130
|
+
getPublicSystemInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PublicSystemInfo>>;
|
|
131
131
|
/**
|
|
132
132
|
*
|
|
133
133
|
* @summary Gets a list of available server log files.
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
137
|
-
getServerLogs(options?:
|
|
137
|
+
getServerLogs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LogFile>>>;
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
140
140
|
* @summary Gets information about the server.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
getSystemInfo(options?:
|
|
144
|
+
getSystemInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SystemInfo>>;
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @summary Gets wake on lan information.
|
|
@@ -149,28 +149,28 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
|
|
|
149
149
|
* @deprecated
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
getWakeOnLanInfo(options?:
|
|
152
|
+
getWakeOnLanInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WakeOnLanInfo>>>;
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
155
155
|
* @summary Pings the system.
|
|
156
156
|
* @param {*} [options] Override http request option.
|
|
157
157
|
* @throws {RequiredError}
|
|
158
158
|
*/
|
|
159
|
-
postPingSystem(options?:
|
|
159
|
+
postPingSystem(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
160
160
|
/**
|
|
161
161
|
*
|
|
162
162
|
* @summary Restarts the application.
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
164
164
|
* @throws {RequiredError}
|
|
165
165
|
*/
|
|
166
|
-
restartApplication(options?:
|
|
166
|
+
restartApplication(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
167
167
|
/**
|
|
168
168
|
*
|
|
169
169
|
* @summary Shuts down the application.
|
|
170
170
|
* @param {*} [options] Override http request option.
|
|
171
171
|
* @throws {RequiredError}
|
|
172
172
|
*/
|
|
173
|
-
shutdownApplication(options?:
|
|
173
|
+
shutdownApplication(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
174
174
|
};
|
|
175
175
|
/**
|
|
176
176
|
* SystemApi - factory interface
|
|
@@ -183,43 +183,43 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
|
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
getEndpointInfo(options?:
|
|
186
|
+
getEndpointInfo(options?: RawAxiosRequestConfig): AxiosPromise<EndPointInfo>;
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
189
|
* @summary Gets a log file.
|
|
190
|
-
* @param {
|
|
190
|
+
* @param {SystemApiGetLogFileRequest} requestParameters Request parameters.
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
getLogFile(
|
|
194
|
+
getLogFile(requestParameters: SystemApiGetLogFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
195
195
|
/**
|
|
196
196
|
*
|
|
197
197
|
* @summary Pings the system.
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
201
|
-
getPingSystem(options?:
|
|
201
|
+
getPingSystem(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
202
202
|
/**
|
|
203
203
|
*
|
|
204
204
|
* @summary Gets public information about the server.
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
207
207
|
*/
|
|
208
|
-
getPublicSystemInfo(options?:
|
|
208
|
+
getPublicSystemInfo(options?: RawAxiosRequestConfig): AxiosPromise<PublicSystemInfo>;
|
|
209
209
|
/**
|
|
210
210
|
*
|
|
211
211
|
* @summary Gets a list of available server log files.
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
215
|
-
getServerLogs(options?:
|
|
215
|
+
getServerLogs(options?: RawAxiosRequestConfig): AxiosPromise<Array<LogFile>>;
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @summary Gets information about the server.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
getSystemInfo(options?:
|
|
222
|
+
getSystemInfo(options?: RawAxiosRequestConfig): AxiosPromise<SystemInfo>;
|
|
223
223
|
/**
|
|
224
224
|
*
|
|
225
225
|
* @summary Gets wake on lan information.
|
|
@@ -227,28 +227,28 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
|
|
|
227
227
|
* @deprecated
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
230
|
-
getWakeOnLanInfo(options?:
|
|
230
|
+
getWakeOnLanInfo(options?: RawAxiosRequestConfig): AxiosPromise<Array<WakeOnLanInfo>>;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
233
|
* @summary Pings the system.
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
*/
|
|
237
|
-
postPingSystem(options?:
|
|
237
|
+
postPingSystem(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
238
238
|
/**
|
|
239
239
|
*
|
|
240
240
|
* @summary Restarts the application.
|
|
241
241
|
* @param {*} [options] Override http request option.
|
|
242
242
|
* @throws {RequiredError}
|
|
243
243
|
*/
|
|
244
|
-
restartApplication(options?:
|
|
244
|
+
restartApplication(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
245
245
|
/**
|
|
246
246
|
*
|
|
247
247
|
* @summary Shuts down the application.
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
251
|
-
shutdownApplication(options?:
|
|
251
|
+
shutdownApplication(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
252
252
|
};
|
|
253
253
|
/**
|
|
254
254
|
* Request parameters for getLogFile operation in SystemApi.
|
|
@@ -277,7 +277,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
277
277
|
* @throws {RequiredError}
|
|
278
278
|
* @memberof SystemApi
|
|
279
279
|
*/
|
|
280
|
-
getEndpointInfo(options?:
|
|
280
|
+
getEndpointInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EndPointInfo, any>>;
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @summary Gets a log file.
|
|
@@ -286,7 +286,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
* @memberof SystemApi
|
|
288
288
|
*/
|
|
289
|
-
getLogFile(requestParameters: SystemApiGetLogFileRequest, options?:
|
|
289
|
+
getLogFile(requestParameters: SystemApiGetLogFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
290
290
|
/**
|
|
291
291
|
*
|
|
292
292
|
* @summary Pings the system.
|
|
@@ -294,7 +294,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
294
294
|
* @throws {RequiredError}
|
|
295
295
|
* @memberof SystemApi
|
|
296
296
|
*/
|
|
297
|
-
getPingSystem(options?:
|
|
297
|
+
getPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
298
298
|
/**
|
|
299
299
|
*
|
|
300
300
|
* @summary Gets public information about the server.
|
|
@@ -302,7 +302,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
302
302
|
* @throws {RequiredError}
|
|
303
303
|
* @memberof SystemApi
|
|
304
304
|
*/
|
|
305
|
-
getPublicSystemInfo(options?:
|
|
305
|
+
getPublicSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSystemInfo, any>>;
|
|
306
306
|
/**
|
|
307
307
|
*
|
|
308
308
|
* @summary Gets a list of available server log files.
|
|
@@ -310,7 +310,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
310
310
|
* @throws {RequiredError}
|
|
311
311
|
* @memberof SystemApi
|
|
312
312
|
*/
|
|
313
|
-
getServerLogs(options?:
|
|
313
|
+
getServerLogs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogFile[], any>>;
|
|
314
314
|
/**
|
|
315
315
|
*
|
|
316
316
|
* @summary Gets information about the server.
|
|
@@ -318,7 +318,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
318
318
|
* @throws {RequiredError}
|
|
319
319
|
* @memberof SystemApi
|
|
320
320
|
*/
|
|
321
|
-
getSystemInfo(options?:
|
|
321
|
+
getSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SystemInfo, any>>;
|
|
322
322
|
/**
|
|
323
323
|
*
|
|
324
324
|
* @summary Gets wake on lan information.
|
|
@@ -327,7 +327,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
* @memberof SystemApi
|
|
329
329
|
*/
|
|
330
|
-
getWakeOnLanInfo(options?:
|
|
330
|
+
getWakeOnLanInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WakeOnLanInfo[], any>>;
|
|
331
331
|
/**
|
|
332
332
|
*
|
|
333
333
|
* @summary Pings the system.
|
|
@@ -335,7 +335,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
335
335
|
* @throws {RequiredError}
|
|
336
336
|
* @memberof SystemApi
|
|
337
337
|
*/
|
|
338
|
-
postPingSystem(options?:
|
|
338
|
+
postPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
339
339
|
/**
|
|
340
340
|
*
|
|
341
341
|
* @summary Restarts the application.
|
|
@@ -343,7 +343,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
* @memberof SystemApi
|
|
345
345
|
*/
|
|
346
|
-
restartApplication(options?:
|
|
346
|
+
restartApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
347
347
|
/**
|
|
348
348
|
*
|
|
349
349
|
* @summary Shuts down the application.
|
|
@@ -351,5 +351,5 @@ export declare class SystemApi extends BaseAPI {
|
|
|
351
351
|
* @throws {RequiredError}
|
|
352
352
|
* @memberof SystemApi
|
|
353
353
|
*/
|
|
354
|
-
shutdownApplication(options?:
|
|
354
|
+
shutdownApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
355
355
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -307,8 +307,11 @@ const SystemApiFp = function (configuration) {
|
|
|
307
307
|
* @throws {RequiredError}
|
|
308
308
|
*/
|
|
309
309
|
async getEndpointInfo(options) {
|
|
310
|
+
var _a, _b, _c;
|
|
310
311
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEndpointInfo(options);
|
|
311
|
-
|
|
312
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
313
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getEndpointInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
314
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
312
315
|
},
|
|
313
316
|
/**
|
|
314
317
|
*
|
|
@@ -318,8 +321,11 @@ const SystemApiFp = function (configuration) {
|
|
|
318
321
|
* @throws {RequiredError}
|
|
319
322
|
*/
|
|
320
323
|
async getLogFile(name, options) {
|
|
324
|
+
var _a, _b, _c;
|
|
321
325
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getLogFile(name, options);
|
|
322
|
-
|
|
326
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
327
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getLogFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
328
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
323
329
|
},
|
|
324
330
|
/**
|
|
325
331
|
*
|
|
@@ -328,8 +334,11 @@ const SystemApiFp = function (configuration) {
|
|
|
328
334
|
* @throws {RequiredError}
|
|
329
335
|
*/
|
|
330
336
|
async getPingSystem(options) {
|
|
337
|
+
var _a, _b, _c;
|
|
331
338
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPingSystem(options);
|
|
332
|
-
|
|
339
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
340
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getPingSystem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
341
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
333
342
|
},
|
|
334
343
|
/**
|
|
335
344
|
*
|
|
@@ -338,8 +347,11 @@ const SystemApiFp = function (configuration) {
|
|
|
338
347
|
* @throws {RequiredError}
|
|
339
348
|
*/
|
|
340
349
|
async getPublicSystemInfo(options) {
|
|
350
|
+
var _a, _b, _c;
|
|
341
351
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicSystemInfo(options);
|
|
342
|
-
|
|
352
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
353
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getPublicSystemInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
354
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
343
355
|
},
|
|
344
356
|
/**
|
|
345
357
|
*
|
|
@@ -348,8 +360,11 @@ const SystemApiFp = function (configuration) {
|
|
|
348
360
|
* @throws {RequiredError}
|
|
349
361
|
*/
|
|
350
362
|
async getServerLogs(options) {
|
|
363
|
+
var _a, _b, _c;
|
|
351
364
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getServerLogs(options);
|
|
352
|
-
|
|
365
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
366
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getServerLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
367
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
353
368
|
},
|
|
354
369
|
/**
|
|
355
370
|
*
|
|
@@ -358,8 +373,11 @@ const SystemApiFp = function (configuration) {
|
|
|
358
373
|
* @throws {RequiredError}
|
|
359
374
|
*/
|
|
360
375
|
async getSystemInfo(options) {
|
|
376
|
+
var _a, _b, _c;
|
|
361
377
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemInfo(options);
|
|
362
|
-
|
|
378
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
379
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getSystemInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
380
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
363
381
|
},
|
|
364
382
|
/**
|
|
365
383
|
*
|
|
@@ -369,8 +387,11 @@ const SystemApiFp = function (configuration) {
|
|
|
369
387
|
* @throws {RequiredError}
|
|
370
388
|
*/
|
|
371
389
|
async getWakeOnLanInfo(options) {
|
|
390
|
+
var _a, _b, _c;
|
|
372
391
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getWakeOnLanInfo(options);
|
|
373
|
-
|
|
392
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
393
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getWakeOnLanInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
374
395
|
},
|
|
375
396
|
/**
|
|
376
397
|
*
|
|
@@ -379,8 +400,11 @@ const SystemApiFp = function (configuration) {
|
|
|
379
400
|
* @throws {RequiredError}
|
|
380
401
|
*/
|
|
381
402
|
async postPingSystem(options) {
|
|
403
|
+
var _a, _b, _c;
|
|
382
404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.postPingSystem(options);
|
|
383
|
-
|
|
405
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
406
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.postPingSystem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
384
408
|
},
|
|
385
409
|
/**
|
|
386
410
|
*
|
|
@@ -389,8 +413,11 @@ const SystemApiFp = function (configuration) {
|
|
|
389
413
|
* @throws {RequiredError}
|
|
390
414
|
*/
|
|
391
415
|
async restartApplication(options) {
|
|
416
|
+
var _a, _b, _c;
|
|
392
417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.restartApplication(options);
|
|
393
|
-
|
|
418
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
419
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.restartApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
394
421
|
},
|
|
395
422
|
/**
|
|
396
423
|
*
|
|
@@ -399,8 +426,11 @@ const SystemApiFp = function (configuration) {
|
|
|
399
426
|
* @throws {RequiredError}
|
|
400
427
|
*/
|
|
401
428
|
async shutdownApplication(options) {
|
|
429
|
+
var _a, _b, _c;
|
|
402
430
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shutdownApplication(options);
|
|
403
|
-
|
|
431
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
432
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.shutdownApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
404
434
|
},
|
|
405
435
|
};
|
|
406
436
|
};
|
|
@@ -423,12 +453,12 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
423
453
|
/**
|
|
424
454
|
*
|
|
425
455
|
* @summary Gets a log file.
|
|
426
|
-
* @param {
|
|
456
|
+
* @param {SystemApiGetLogFileRequest} requestParameters Request parameters.
|
|
427
457
|
* @param {*} [options] Override http request option.
|
|
428
458
|
* @throws {RequiredError}
|
|
429
459
|
*/
|
|
430
|
-
getLogFile(
|
|
431
|
-
return localVarFp.getLogFile(name, options).then((request) => request(axios, basePath));
|
|
460
|
+
getLogFile(requestParameters, options) {
|
|
461
|
+
return localVarFp.getLogFile(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
432
462
|
},
|
|
433
463
|
/**
|
|
434
464
|
*
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { UtcTimeResponse } 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 { UtcTimeResponse } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* TimeSyncApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -23,7 +23,7 @@ export declare const TimeSyncApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
getUtcTime: (options?:
|
|
26
|
+
getUtcTime: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* TimeSyncApi - functional programming interface
|
|
@@ -36,7 +36,7 @@ export declare const TimeSyncApiFp: (configuration?: Configuration) => {
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
getUtcTime(options?:
|
|
39
|
+
getUtcTime(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UtcTimeResponse>>;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* TimeSyncApi - factory interface
|
|
@@ -49,7 +49,7 @@ export declare const TimeSyncApiFactory: (configuration?: Configuration, basePat
|
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
getUtcTime(options?:
|
|
52
|
+
getUtcTime(options?: RawAxiosRequestConfig): AxiosPromise<UtcTimeResponse>;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* TimeSyncApi - object-oriented interface
|
|
@@ -65,5 +65,5 @@ export declare class TimeSyncApi extends BaseAPI {
|
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
* @memberof TimeSyncApi
|
|
67
67
|
*/
|
|
68
|
-
getUtcTime(options?:
|
|
68
|
+
getUtcTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any>>;
|
|
69
69
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -61,8 +61,11 @@ const TimeSyncApiFp = function (configuration) {
|
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
63
|
async getUtcTime(options) {
|
|
64
|
+
var _a, _b, _c;
|
|
64
65
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUtcTime(options);
|
|
65
|
-
|
|
66
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
67
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TimeSyncApi.getUtcTime']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
68
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66
69
|
},
|
|
67
70
|
};
|
|
68
71
|
};
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { ConfigImageTypes } 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 { ConfigImageTypes } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* TmdbApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -23,7 +23,7 @@ export declare const TmdbApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
tmdbClientConfiguration: (options?:
|
|
26
|
+
tmdbClientConfiguration: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* TmdbApi - functional programming interface
|
|
@@ -36,7 +36,7 @@ export declare const TmdbApiFp: (configuration?: Configuration) => {
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
tmdbClientConfiguration(options?:
|
|
39
|
+
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigImageTypes>>;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* TmdbApi - factory interface
|
|
@@ -49,7 +49,7 @@ export declare const TmdbApiFactory: (configuration?: Configuration, basePath?:
|
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
tmdbClientConfiguration(options?:
|
|
52
|
+
tmdbClientConfiguration(options?: RawAxiosRequestConfig): AxiosPromise<ConfigImageTypes>;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* TmdbApi - object-oriented interface
|
|
@@ -65,5 +65,5 @@ export declare class TmdbApi extends BaseAPI {
|
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
* @memberof TmdbApi
|
|
67
67
|
*/
|
|
68
|
-
tmdbClientConfiguration(options?:
|
|
68
|
+
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigImageTypes, any>>;
|
|
69
69
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -63,8 +63,11 @@ const TmdbApiFp = function (configuration) {
|
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
65
|
async tmdbClientConfiguration(options) {
|
|
66
|
+
var _a, _b, _c;
|
|
66
67
|
const localVarAxiosArgs = await localVarAxiosParamCreator.tmdbClientConfiguration(options);
|
|
67
|
-
|
|
68
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
69
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TmdbApi.tmdbClientConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
70
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68
71
|
},
|
|
69
72
|
};
|
|
70
73
|
};
|