@jellyfin/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { 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 StartupApiAxiosParamCreator = function (configuration) {
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
completeWizard:
|
|
29
|
+
completeWizard: async (options = {}) => {
|
|
31
30
|
const localVarPath = `/Startup/Complete`;
|
|
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,26 +34,26 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
if (configuration) {
|
|
36
35
|
baseOptions = configuration.baseOptions;
|
|
37
36
|
}
|
|
38
|
-
const localVarRequestOptions =
|
|
37
|
+
const localVarRequestOptions = { method: 'POST', ...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 first user.
|
|
54
53
|
* @param {*} [options] Override http request option.
|
|
55
54
|
* @throws {RequiredError}
|
|
56
55
|
*/
|
|
57
|
-
getFirstUser:
|
|
56
|
+
getFirstUser: async (options = {}) => {
|
|
58
57
|
const localVarPath = `/Startup/User`;
|
|
59
58
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
59
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -62,26 +61,26 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
62
61
|
if (configuration) {
|
|
63
62
|
baseOptions = configuration.baseOptions;
|
|
64
63
|
}
|
|
65
|
-
const localVarRequestOptions =
|
|
64
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
66
65
|
const localVarHeaderParameter = {};
|
|
67
66
|
const localVarQueryParameter = {};
|
|
68
67
|
// authentication CustomAuthentication required
|
|
69
|
-
|
|
68
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
70
69
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
71
70
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
-
localVarRequestOptions.headers =
|
|
71
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
73
72
|
return {
|
|
74
73
|
url: toPathString(localVarUrlObj),
|
|
75
74
|
options: localVarRequestOptions,
|
|
76
75
|
};
|
|
77
|
-
}
|
|
76
|
+
},
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @summary Gets the first user.
|
|
81
80
|
* @param {*} [options] Override http request option.
|
|
82
81
|
* @throws {RequiredError}
|
|
83
82
|
*/
|
|
84
|
-
getFirstUser2:
|
|
83
|
+
getFirstUser2: async (options = {}) => {
|
|
85
84
|
const localVarPath = `/Startup/FirstUser`;
|
|
86
85
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
86
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -89,26 +88,26 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
89
88
|
if (configuration) {
|
|
90
89
|
baseOptions = configuration.baseOptions;
|
|
91
90
|
}
|
|
92
|
-
const localVarRequestOptions =
|
|
91
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
93
92
|
const localVarHeaderParameter = {};
|
|
94
93
|
const localVarQueryParameter = {};
|
|
95
94
|
// authentication CustomAuthentication required
|
|
96
|
-
|
|
95
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
97
96
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
98
97
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
99
|
-
localVarRequestOptions.headers =
|
|
98
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
100
99
|
return {
|
|
101
100
|
url: toPathString(localVarUrlObj),
|
|
102
101
|
options: localVarRequestOptions,
|
|
103
102
|
};
|
|
104
|
-
}
|
|
103
|
+
},
|
|
105
104
|
/**
|
|
106
105
|
*
|
|
107
106
|
* @summary Gets the initial startup wizard configuration.
|
|
108
107
|
* @param {*} [options] Override http request option.
|
|
109
108
|
* @throws {RequiredError}
|
|
110
109
|
*/
|
|
111
|
-
getStartupConfiguration:
|
|
110
|
+
getStartupConfiguration: async (options = {}) => {
|
|
112
111
|
const localVarPath = `/Startup/Configuration`;
|
|
113
112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
114
113
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -116,19 +115,19 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
116
115
|
if (configuration) {
|
|
117
116
|
baseOptions = configuration.baseOptions;
|
|
118
117
|
}
|
|
119
|
-
const localVarRequestOptions =
|
|
118
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
120
119
|
const localVarHeaderParameter = {};
|
|
121
120
|
const localVarQueryParameter = {};
|
|
122
121
|
// authentication CustomAuthentication required
|
|
123
|
-
|
|
122
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
124
123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
-
localVarRequestOptions.headers =
|
|
125
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
127
126
|
return {
|
|
128
127
|
url: toPathString(localVarUrlObj),
|
|
129
128
|
options: localVarRequestOptions,
|
|
130
129
|
};
|
|
131
|
-
}
|
|
130
|
+
},
|
|
132
131
|
/**
|
|
133
132
|
*
|
|
134
133
|
* @summary Sets remote access and UPnP.
|
|
@@ -136,7 +135,7 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
136
135
|
* @param {*} [options] Override http request option.
|
|
137
136
|
* @throws {RequiredError}
|
|
138
137
|
*/
|
|
139
|
-
setRemoteAccess:
|
|
138
|
+
setRemoteAccess: async (startupRemoteAccessDto, options = {}) => {
|
|
140
139
|
// verify required parameter 'startupRemoteAccessDto' is not null or undefined
|
|
141
140
|
assertParamExists('setRemoteAccess', 'startupRemoteAccessDto', startupRemoteAccessDto);
|
|
142
141
|
const localVarPath = `/Startup/RemoteAccess`;
|
|
@@ -146,21 +145,21 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
146
145
|
if (configuration) {
|
|
147
146
|
baseOptions = configuration.baseOptions;
|
|
148
147
|
}
|
|
149
|
-
const localVarRequestOptions =
|
|
148
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
150
149
|
const localVarHeaderParameter = {};
|
|
151
150
|
const localVarQueryParameter = {};
|
|
152
151
|
// authentication CustomAuthentication required
|
|
153
|
-
|
|
152
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
154
153
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
155
154
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
156
155
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
|
-
localVarRequestOptions.headers =
|
|
156
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
158
157
|
localVarRequestOptions.data = serializeDataIfNeeded(startupRemoteAccessDto, localVarRequestOptions, configuration);
|
|
159
158
|
return {
|
|
160
159
|
url: toPathString(localVarUrlObj),
|
|
161
160
|
options: localVarRequestOptions,
|
|
162
161
|
};
|
|
163
|
-
}
|
|
162
|
+
},
|
|
164
163
|
/**
|
|
165
164
|
*
|
|
166
165
|
* @summary Sets the initial startup wizard configuration.
|
|
@@ -168,7 +167,7 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
168
167
|
* @param {*} [options] Override http request option.
|
|
169
168
|
* @throws {RequiredError}
|
|
170
169
|
*/
|
|
171
|
-
updateInitialConfiguration:
|
|
170
|
+
updateInitialConfiguration: async (startupConfigurationDto, options = {}) => {
|
|
172
171
|
// verify required parameter 'startupConfigurationDto' is not null or undefined
|
|
173
172
|
assertParamExists('updateInitialConfiguration', 'startupConfigurationDto', startupConfigurationDto);
|
|
174
173
|
const localVarPath = `/Startup/Configuration`;
|
|
@@ -178,21 +177,21 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
178
177
|
if (configuration) {
|
|
179
178
|
baseOptions = configuration.baseOptions;
|
|
180
179
|
}
|
|
181
|
-
const localVarRequestOptions =
|
|
180
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
182
181
|
const localVarHeaderParameter = {};
|
|
183
182
|
const localVarQueryParameter = {};
|
|
184
183
|
// authentication CustomAuthentication required
|
|
185
|
-
|
|
184
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
186
185
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
187
186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
|
-
localVarRequestOptions.headers =
|
|
188
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
190
189
|
localVarRequestOptions.data = serializeDataIfNeeded(startupConfigurationDto, localVarRequestOptions, configuration);
|
|
191
190
|
return {
|
|
192
191
|
url: toPathString(localVarUrlObj),
|
|
193
192
|
options: localVarRequestOptions,
|
|
194
193
|
};
|
|
195
|
-
}
|
|
194
|
+
},
|
|
196
195
|
/**
|
|
197
196
|
*
|
|
198
197
|
* @summary Sets the user name and password.
|
|
@@ -200,7 +199,7 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
200
199
|
* @param {*} [options] Override http request option.
|
|
201
200
|
* @throws {RequiredError}
|
|
202
201
|
*/
|
|
203
|
-
updateStartupUser:
|
|
202
|
+
updateStartupUser: async (startupUserDto, options = {}) => {
|
|
204
203
|
const localVarPath = `/Startup/User`;
|
|
205
204
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -208,21 +207,21 @@ const StartupApiAxiosParamCreator = function (configuration) {
|
|
|
208
207
|
if (configuration) {
|
|
209
208
|
baseOptions = configuration.baseOptions;
|
|
210
209
|
}
|
|
211
|
-
const localVarRequestOptions =
|
|
210
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
212
211
|
const localVarHeaderParameter = {};
|
|
213
212
|
const localVarQueryParameter = {};
|
|
214
213
|
// authentication CustomAuthentication required
|
|
215
|
-
|
|
214
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
216
215
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
217
216
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
218
217
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
219
|
-
localVarRequestOptions.headers =
|
|
218
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
220
219
|
localVarRequestOptions.data = serializeDataIfNeeded(startupUserDto, localVarRequestOptions, configuration);
|
|
221
220
|
return {
|
|
222
221
|
url: toPathString(localVarUrlObj),
|
|
223
222
|
options: localVarRequestOptions,
|
|
224
223
|
};
|
|
225
|
-
}
|
|
224
|
+
},
|
|
226
225
|
};
|
|
227
226
|
};
|
|
228
227
|
/**
|
|
@@ -238,11 +237,12 @@ const StartupApiFp = function (configuration) {
|
|
|
238
237
|
* @param {*} [options] Override http request option.
|
|
239
238
|
* @throws {RequiredError}
|
|
240
239
|
*/
|
|
241
|
-
completeWizard(options) {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
240
|
+
async completeWizard(options) {
|
|
241
|
+
var _a, _b, _c;
|
|
242
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.completeWizard(options);
|
|
243
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
244
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.completeWizard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
245
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
246
246
|
},
|
|
247
247
|
/**
|
|
248
248
|
*
|
|
@@ -250,11 +250,12 @@ const StartupApiFp = function (configuration) {
|
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
253
|
-
getFirstUser(options) {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
253
|
+
async getFirstUser(options) {
|
|
254
|
+
var _a, _b, _c;
|
|
255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFirstUser(options);
|
|
256
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
257
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.getFirstUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
258
259
|
},
|
|
259
260
|
/**
|
|
260
261
|
*
|
|
@@ -262,11 +263,12 @@ const StartupApiFp = function (configuration) {
|
|
|
262
263
|
* @param {*} [options] Override http request option.
|
|
263
264
|
* @throws {RequiredError}
|
|
264
265
|
*/
|
|
265
|
-
getFirstUser2(options) {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
266
|
+
async getFirstUser2(options) {
|
|
267
|
+
var _a, _b, _c;
|
|
268
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getFirstUser2(options);
|
|
269
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
270
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.getFirstUser2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
270
272
|
},
|
|
271
273
|
/**
|
|
272
274
|
*
|
|
@@ -274,11 +276,12 @@ const StartupApiFp = function (configuration) {
|
|
|
274
276
|
* @param {*} [options] Override http request option.
|
|
275
277
|
* @throws {RequiredError}
|
|
276
278
|
*/
|
|
277
|
-
getStartupConfiguration(options) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
async getStartupConfiguration(options) {
|
|
280
|
+
var _a, _b, _c;
|
|
281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStartupConfiguration(options);
|
|
282
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
283
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.getStartupConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
284
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
282
285
|
},
|
|
283
286
|
/**
|
|
284
287
|
*
|
|
@@ -287,11 +290,12 @@ const StartupApiFp = function (configuration) {
|
|
|
287
290
|
* @param {*} [options] Override http request option.
|
|
288
291
|
* @throws {RequiredError}
|
|
289
292
|
*/
|
|
290
|
-
setRemoteAccess(startupRemoteAccessDto, options) {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
async setRemoteAccess(startupRemoteAccessDto, options) {
|
|
294
|
+
var _a, _b, _c;
|
|
295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setRemoteAccess(startupRemoteAccessDto, options);
|
|
296
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
297
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.setRemoteAccess']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
298
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
295
299
|
},
|
|
296
300
|
/**
|
|
297
301
|
*
|
|
@@ -300,11 +304,12 @@ const StartupApiFp = function (configuration) {
|
|
|
300
304
|
* @param {*} [options] Override http request option.
|
|
301
305
|
* @throws {RequiredError}
|
|
302
306
|
*/
|
|
303
|
-
updateInitialConfiguration(startupConfigurationDto, options) {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
307
|
+
async updateInitialConfiguration(startupConfigurationDto, options) {
|
|
308
|
+
var _a, _b, _c;
|
|
309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateInitialConfiguration(startupConfigurationDto, options);
|
|
310
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
311
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.updateInitialConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
312
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
308
313
|
},
|
|
309
314
|
/**
|
|
310
315
|
*
|
|
@@ -313,11 +318,12 @@ const StartupApiFp = function (configuration) {
|
|
|
313
318
|
* @param {*} [options] Override http request option.
|
|
314
319
|
* @throws {RequiredError}
|
|
315
320
|
*/
|
|
316
|
-
updateStartupUser(startupUserDto, options) {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
+
async updateStartupUser(startupUserDto, options) {
|
|
322
|
+
var _a, _b, _c;
|
|
323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateStartupUser(startupUserDto, options);
|
|
324
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
325
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StartupApi.updateStartupUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
321
327
|
},
|
|
322
328
|
};
|
|
323
329
|
};
|
|
@@ -367,32 +373,32 @@ const StartupApiFactory = function (configuration, basePath, axios) {
|
|
|
367
373
|
/**
|
|
368
374
|
*
|
|
369
375
|
* @summary Sets remote access and UPnP.
|
|
370
|
-
* @param {
|
|
376
|
+
* @param {StartupApiSetRemoteAccessRequest} requestParameters Request parameters.
|
|
371
377
|
* @param {*} [options] Override http request option.
|
|
372
378
|
* @throws {RequiredError}
|
|
373
379
|
*/
|
|
374
|
-
setRemoteAccess(
|
|
375
|
-
return localVarFp.setRemoteAccess(startupRemoteAccessDto, options).then((request) => request(axios, basePath));
|
|
380
|
+
setRemoteAccess(requestParameters, options) {
|
|
381
|
+
return localVarFp.setRemoteAccess(requestParameters.startupRemoteAccessDto, options).then((request) => request(axios, basePath));
|
|
376
382
|
},
|
|
377
383
|
/**
|
|
378
384
|
*
|
|
379
385
|
* @summary Sets the initial startup wizard configuration.
|
|
380
|
-
* @param {
|
|
386
|
+
* @param {StartupApiUpdateInitialConfigurationRequest} requestParameters Request parameters.
|
|
381
387
|
* @param {*} [options] Override http request option.
|
|
382
388
|
* @throws {RequiredError}
|
|
383
389
|
*/
|
|
384
|
-
updateInitialConfiguration(
|
|
385
|
-
return localVarFp.updateInitialConfiguration(startupConfigurationDto, options).then((request) => request(axios, basePath));
|
|
390
|
+
updateInitialConfiguration(requestParameters, options) {
|
|
391
|
+
return localVarFp.updateInitialConfiguration(requestParameters.startupConfigurationDto, options).then((request) => request(axios, basePath));
|
|
386
392
|
},
|
|
387
393
|
/**
|
|
388
394
|
*
|
|
389
395
|
* @summary Sets the user name and password.
|
|
390
|
-
* @param {
|
|
396
|
+
* @param {StartupApiUpdateStartupUserRequest} requestParameters Request parameters.
|
|
391
397
|
* @param {*} [options] Override http request option.
|
|
392
398
|
* @throws {RequiredError}
|
|
393
399
|
*/
|
|
394
|
-
updateStartupUser(
|
|
395
|
-
return localVarFp.updateStartupUser(startupUserDto, options).then((request) => request(axios, basePath));
|
|
400
|
+
updateStartupUser(requestParameters = {}, options) {
|
|
401
|
+
return localVarFp.updateStartupUser(requestParameters.startupUserDto, options).then((request) => request(axios, basePath));
|
|
396
402
|
},
|
|
397
403
|
};
|
|
398
404
|
};
|
|
@@ -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 { BaseItemDto } from '../models';
|
|
15
|
-
import { BaseItemDtoQueryResult } from '../models';
|
|
16
|
-
import { BaseItemKind } from '../models';
|
|
17
|
-
import { ImageType } from '../models';
|
|
18
|
-
import { ItemFields } 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 { BaseItemDto } from '../models';
|
|
15
|
+
import type { BaseItemDtoQueryResult } from '../models';
|
|
16
|
+
import type { BaseItemKind } from '../models';
|
|
17
|
+
import type { ImageType } from '../models';
|
|
18
|
+
import type { ItemFields } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* StudiosApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -29,7 +29,7 @@ export declare const StudiosApiAxiosParamCreator: (configuration?: Configuration
|
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
|
-
getStudio: (name: string, userId?: string, options?:
|
|
32
|
+
getStudio: (name: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @summary Gets all studios from a given item, folder, or the entire library.
|
|
@@ -53,7 +53,7 @@ export declare const StudiosApiAxiosParamCreator: (configuration?: Configuration
|
|
|
53
53
|
* @param {*} [options] Override http request option.
|
|
54
54
|
* @throws {RequiredError}
|
|
55
55
|
*/
|
|
56
|
-
getStudios: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
56
|
+
getStudios: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* StudiosApi - functional programming interface
|
|
@@ -68,7 +68,7 @@ export declare const StudiosApiFp: (configuration?: Configuration) => {
|
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
getStudio(name: string, userId?: string, options?:
|
|
71
|
+
getStudio(name: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto>>;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @summary Gets all studios from a given item, folder, or the entire library.
|
|
@@ -92,7 +92,7 @@ export declare const StudiosApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
getStudios(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
95
|
+
getStudios(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* StudiosApi - factory interface
|
|
@@ -102,36 +102,19 @@ export declare const StudiosApiFactory: (configuration?: Configuration, basePath
|
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @summary Gets a studio by name.
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
105
|
+
* @param {StudiosApiGetStudioRequest} requestParameters Request parameters.
|
|
107
106
|
* @param {*} [options] Override http request option.
|
|
108
107
|
* @throws {RequiredError}
|
|
109
108
|
*/
|
|
110
|
-
getStudio(
|
|
109
|
+
getStudio(requestParameters: StudiosApiGetStudioRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDto>;
|
|
111
110
|
/**
|
|
112
111
|
*
|
|
113
112
|
* @summary Gets all studios from a given item, folder, or the entire library.
|
|
114
|
-
* @param {
|
|
115
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
116
|
-
* @param {string} [searchTerm] Optional. Search term.
|
|
117
|
-
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
118
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
119
|
-
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
|
|
120
|
-
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
|
|
121
|
-
* @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
|
|
122
|
-
* @param {boolean} [enableUserData] Optional, include user data.
|
|
123
|
-
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
124
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
125
|
-
* @param {string} [userId] User id.
|
|
126
|
-
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
127
|
-
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
128
|
-
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
129
|
-
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
130
|
-
* @param {boolean} [enableTotalRecordCount] Total record count.
|
|
113
|
+
* @param {StudiosApiGetStudiosRequest} requestParameters Request parameters.
|
|
131
114
|
* @param {*} [options] Override http request option.
|
|
132
115
|
* @throws {RequiredError}
|
|
133
116
|
*/
|
|
134
|
-
getStudios(
|
|
117
|
+
getStudios(requestParameters?: StudiosApiGetStudiosRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
135
118
|
};
|
|
136
119
|
/**
|
|
137
120
|
* Request parameters for getStudio operation in StudiosApi.
|
|
@@ -276,7 +259,7 @@ export declare class StudiosApi extends BaseAPI {
|
|
|
276
259
|
* @throws {RequiredError}
|
|
277
260
|
* @memberof StudiosApi
|
|
278
261
|
*/
|
|
279
|
-
getStudio(requestParameters: StudiosApiGetStudioRequest, options?:
|
|
262
|
+
getStudio(requestParameters: StudiosApiGetStudioRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
280
263
|
/**
|
|
281
264
|
*
|
|
282
265
|
* @summary Gets all studios from a given item, folder, or the entire library.
|
|
@@ -285,5 +268,5 @@ export declare class StudiosApi extends BaseAPI {
|
|
|
285
268
|
* @throws {RequiredError}
|
|
286
269
|
* @memberof StudiosApi
|
|
287
270
|
*/
|
|
288
|
-
getStudios(requestParameters?: StudiosApiGetStudiosRequest, options?:
|
|
271
|
+
getStudios(requestParameters?: StudiosApiGetStudiosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
289
272
|
}
|