@jellyfin/sdk 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setSearchParams, serializeDataIfNeeded, toPathString, setApiKeyToObject, 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 */
|
|
@@ -28,7 +27,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
28
27
|
* @param {*} [options] Override http request option.
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
|
-
authenticateUserByName:
|
|
30
|
+
authenticateUserByName: async (authenticateUserByName, options = {}) => {
|
|
32
31
|
// verify required parameter 'authenticateUserByName' is not null or undefined
|
|
33
32
|
assertParamExists('authenticateUserByName', 'authenticateUserByName', authenticateUserByName);
|
|
34
33
|
const localVarPath = `/Users/AuthenticateByName`;
|
|
@@ -38,19 +37,19 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
38
37
|
if (configuration) {
|
|
39
38
|
baseOptions = configuration.baseOptions;
|
|
40
39
|
}
|
|
41
|
-
const localVarRequestOptions =
|
|
40
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42
41
|
const localVarHeaderParameter = {};
|
|
43
42
|
const localVarQueryParameter = {};
|
|
44
43
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45
44
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46
45
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47
|
-
localVarRequestOptions.headers =
|
|
46
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
48
47
|
localVarRequestOptions.data = serializeDataIfNeeded(authenticateUserByName, localVarRequestOptions, configuration);
|
|
49
48
|
return {
|
|
50
49
|
url: toPathString(localVarUrlObj),
|
|
51
50
|
options: localVarRequestOptions,
|
|
52
51
|
};
|
|
53
|
-
}
|
|
52
|
+
},
|
|
54
53
|
/**
|
|
55
54
|
*
|
|
56
55
|
* @summary Authenticates a user with quick connect.
|
|
@@ -58,7 +57,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
58
57
|
* @param {*} [options] Override http request option.
|
|
59
58
|
* @throws {RequiredError}
|
|
60
59
|
*/
|
|
61
|
-
authenticateWithQuickConnect:
|
|
60
|
+
authenticateWithQuickConnect: async (quickConnectDto, options = {}) => {
|
|
62
61
|
// verify required parameter 'quickConnectDto' is not null or undefined
|
|
63
62
|
assertParamExists('authenticateWithQuickConnect', 'quickConnectDto', quickConnectDto);
|
|
64
63
|
const localVarPath = `/Users/AuthenticateWithQuickConnect`;
|
|
@@ -68,19 +67,19 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
68
67
|
if (configuration) {
|
|
69
68
|
baseOptions = configuration.baseOptions;
|
|
70
69
|
}
|
|
71
|
-
const localVarRequestOptions =
|
|
70
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
72
71
|
const localVarHeaderParameter = {};
|
|
73
72
|
const localVarQueryParameter = {};
|
|
74
73
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
75
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
-
localVarRequestOptions.headers =
|
|
76
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
78
77
|
localVarRequestOptions.data = serializeDataIfNeeded(quickConnectDto, localVarRequestOptions, configuration);
|
|
79
78
|
return {
|
|
80
79
|
url: toPathString(localVarUrlObj),
|
|
81
80
|
options: localVarRequestOptions,
|
|
82
81
|
};
|
|
83
|
-
}
|
|
82
|
+
},
|
|
84
83
|
/**
|
|
85
84
|
*
|
|
86
85
|
* @summary Creates a user.
|
|
@@ -88,7 +87,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
88
87
|
* @param {*} [options] Override http request option.
|
|
89
88
|
* @throws {RequiredError}
|
|
90
89
|
*/
|
|
91
|
-
createUserByName:
|
|
90
|
+
createUserByName: async (createUserByName, options = {}) => {
|
|
92
91
|
// verify required parameter 'createUserByName' is not null or undefined
|
|
93
92
|
assertParamExists('createUserByName', 'createUserByName', createUserByName);
|
|
94
93
|
const localVarPath = `/Users/New`;
|
|
@@ -98,21 +97,21 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
98
97
|
if (configuration) {
|
|
99
98
|
baseOptions = configuration.baseOptions;
|
|
100
99
|
}
|
|
101
|
-
const localVarRequestOptions =
|
|
100
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
102
101
|
const localVarHeaderParameter = {};
|
|
103
102
|
const localVarQueryParameter = {};
|
|
104
103
|
// authentication CustomAuthentication required
|
|
105
|
-
|
|
104
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
106
105
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
107
106
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
-
localVarRequestOptions.headers =
|
|
108
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
110
109
|
localVarRequestOptions.data = serializeDataIfNeeded(createUserByName, localVarRequestOptions, configuration);
|
|
111
110
|
return {
|
|
112
111
|
url: toPathString(localVarUrlObj),
|
|
113
112
|
options: localVarRequestOptions,
|
|
114
113
|
};
|
|
115
|
-
}
|
|
114
|
+
},
|
|
116
115
|
/**
|
|
117
116
|
*
|
|
118
117
|
* @summary Deletes a user.
|
|
@@ -120,7 +119,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
120
119
|
* @param {*} [options] Override http request option.
|
|
121
120
|
* @throws {RequiredError}
|
|
122
121
|
*/
|
|
123
|
-
deleteUser:
|
|
122
|
+
deleteUser: async (userId, options = {}) => {
|
|
124
123
|
// verify required parameter 'userId' is not null or undefined
|
|
125
124
|
assertParamExists('deleteUser', 'userId', userId);
|
|
126
125
|
const localVarPath = `/Users/{userId}`
|
|
@@ -131,19 +130,19 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
131
130
|
if (configuration) {
|
|
132
131
|
baseOptions = configuration.baseOptions;
|
|
133
132
|
}
|
|
134
|
-
const localVarRequestOptions =
|
|
133
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
135
134
|
const localVarHeaderParameter = {};
|
|
136
135
|
const localVarQueryParameter = {};
|
|
137
136
|
// authentication CustomAuthentication required
|
|
138
|
-
|
|
137
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
139
138
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
-
localVarRequestOptions.headers =
|
|
140
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
142
141
|
return {
|
|
143
142
|
url: toPathString(localVarUrlObj),
|
|
144
143
|
options: localVarRequestOptions,
|
|
145
144
|
};
|
|
146
|
-
}
|
|
145
|
+
},
|
|
147
146
|
/**
|
|
148
147
|
*
|
|
149
148
|
* @summary Initiates the forgot password process for a local user.
|
|
@@ -151,7 +150,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
151
150
|
* @param {*} [options] Override http request option.
|
|
152
151
|
* @throws {RequiredError}
|
|
153
152
|
*/
|
|
154
|
-
forgotPassword:
|
|
153
|
+
forgotPassword: async (forgotPasswordDto, options = {}) => {
|
|
155
154
|
// verify required parameter 'forgotPasswordDto' is not null or undefined
|
|
156
155
|
assertParamExists('forgotPassword', 'forgotPasswordDto', forgotPasswordDto);
|
|
157
156
|
const localVarPath = `/Users/ForgotPassword`;
|
|
@@ -161,19 +160,19 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
161
160
|
if (configuration) {
|
|
162
161
|
baseOptions = configuration.baseOptions;
|
|
163
162
|
}
|
|
164
|
-
const localVarRequestOptions =
|
|
163
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
165
164
|
const localVarHeaderParameter = {};
|
|
166
165
|
const localVarQueryParameter = {};
|
|
167
166
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
168
167
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
169
168
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
170
|
-
localVarRequestOptions.headers =
|
|
169
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
171
170
|
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordDto, localVarRequestOptions, configuration);
|
|
172
171
|
return {
|
|
173
172
|
url: toPathString(localVarUrlObj),
|
|
174
173
|
options: localVarRequestOptions,
|
|
175
174
|
};
|
|
176
|
-
}
|
|
175
|
+
},
|
|
177
176
|
/**
|
|
178
177
|
*
|
|
179
178
|
* @summary Redeems a forgot password pin.
|
|
@@ -181,7 +180,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
181
180
|
* @param {*} [options] Override http request option.
|
|
182
181
|
* @throws {RequiredError}
|
|
183
182
|
*/
|
|
184
|
-
forgotPasswordPin:
|
|
183
|
+
forgotPasswordPin: async (forgotPasswordPinDto, options = {}) => {
|
|
185
184
|
// verify required parameter 'forgotPasswordPinDto' is not null or undefined
|
|
186
185
|
assertParamExists('forgotPasswordPin', 'forgotPasswordPinDto', forgotPasswordPinDto);
|
|
187
186
|
const localVarPath = `/Users/ForgotPassword/Pin`;
|
|
@@ -191,26 +190,26 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
191
190
|
if (configuration) {
|
|
192
191
|
baseOptions = configuration.baseOptions;
|
|
193
192
|
}
|
|
194
|
-
const localVarRequestOptions =
|
|
193
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
195
194
|
const localVarHeaderParameter = {};
|
|
196
195
|
const localVarQueryParameter = {};
|
|
197
196
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
198
197
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
199
198
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
-
localVarRequestOptions.headers =
|
|
199
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
201
200
|
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPinDto, localVarRequestOptions, configuration);
|
|
202
201
|
return {
|
|
203
202
|
url: toPathString(localVarUrlObj),
|
|
204
203
|
options: localVarRequestOptions,
|
|
205
204
|
};
|
|
206
|
-
}
|
|
205
|
+
},
|
|
207
206
|
/**
|
|
208
207
|
*
|
|
209
208
|
* @summary Gets the user based on auth token.
|
|
210
209
|
* @param {*} [options] Override http request option.
|
|
211
210
|
* @throws {RequiredError}
|
|
212
211
|
*/
|
|
213
|
-
getCurrentUser:
|
|
212
|
+
getCurrentUser: async (options = {}) => {
|
|
214
213
|
const localVarPath = `/Users/Me`;
|
|
215
214
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
216
215
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -218,26 +217,26 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
218
217
|
if (configuration) {
|
|
219
218
|
baseOptions = configuration.baseOptions;
|
|
220
219
|
}
|
|
221
|
-
const localVarRequestOptions =
|
|
220
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
222
221
|
const localVarHeaderParameter = {};
|
|
223
222
|
const localVarQueryParameter = {};
|
|
224
223
|
// authentication CustomAuthentication required
|
|
225
|
-
|
|
224
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
226
225
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
227
226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
-
localVarRequestOptions.headers =
|
|
227
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
229
228
|
return {
|
|
230
229
|
url: toPathString(localVarUrlObj),
|
|
231
230
|
options: localVarRequestOptions,
|
|
232
231
|
};
|
|
233
|
-
}
|
|
232
|
+
},
|
|
234
233
|
/**
|
|
235
234
|
*
|
|
236
235
|
* @summary Gets a list of publicly visible users for display on a login screen.
|
|
237
236
|
* @param {*} [options] Override http request option.
|
|
238
237
|
* @throws {RequiredError}
|
|
239
238
|
*/
|
|
240
|
-
getPublicUsers:
|
|
239
|
+
getPublicUsers: async (options = {}) => {
|
|
241
240
|
const localVarPath = `/Users/Public`;
|
|
242
241
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
242
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -245,17 +244,17 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
245
244
|
if (configuration) {
|
|
246
245
|
baseOptions = configuration.baseOptions;
|
|
247
246
|
}
|
|
248
|
-
const localVarRequestOptions =
|
|
247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
249
248
|
const localVarHeaderParameter = {};
|
|
250
249
|
const localVarQueryParameter = {};
|
|
251
250
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
252
251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
|
-
localVarRequestOptions.headers =
|
|
252
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
254
253
|
return {
|
|
255
254
|
url: toPathString(localVarUrlObj),
|
|
256
255
|
options: localVarRequestOptions,
|
|
257
256
|
};
|
|
258
|
-
}
|
|
257
|
+
},
|
|
259
258
|
/**
|
|
260
259
|
*
|
|
261
260
|
* @summary Gets a user by Id.
|
|
@@ -263,7 +262,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
263
262
|
* @param {*} [options] Override http request option.
|
|
264
263
|
* @throws {RequiredError}
|
|
265
264
|
*/
|
|
266
|
-
getUserById:
|
|
265
|
+
getUserById: async (userId, options = {}) => {
|
|
267
266
|
// verify required parameter 'userId' is not null or undefined
|
|
268
267
|
assertParamExists('getUserById', 'userId', userId);
|
|
269
268
|
const localVarPath = `/Users/{userId}`
|
|
@@ -274,19 +273,19 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
274
273
|
if (configuration) {
|
|
275
274
|
baseOptions = configuration.baseOptions;
|
|
276
275
|
}
|
|
277
|
-
const localVarRequestOptions =
|
|
276
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
278
277
|
const localVarHeaderParameter = {};
|
|
279
278
|
const localVarQueryParameter = {};
|
|
280
279
|
// authentication CustomAuthentication required
|
|
281
|
-
|
|
280
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
282
281
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
282
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
|
-
localVarRequestOptions.headers =
|
|
283
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
285
284
|
return {
|
|
286
285
|
url: toPathString(localVarUrlObj),
|
|
287
286
|
options: localVarRequestOptions,
|
|
288
287
|
};
|
|
289
|
-
}
|
|
288
|
+
},
|
|
290
289
|
/**
|
|
291
290
|
*
|
|
292
291
|
* @summary Gets a list of users.
|
|
@@ -295,7 +294,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
295
294
|
* @param {*} [options] Override http request option.
|
|
296
295
|
* @throws {RequiredError}
|
|
297
296
|
*/
|
|
298
|
-
getUsers:
|
|
297
|
+
getUsers: async (isHidden, isDisabled, options = {}) => {
|
|
299
298
|
const localVarPath = `/Users`;
|
|
300
299
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
301
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -303,11 +302,11 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
303
302
|
if (configuration) {
|
|
304
303
|
baseOptions = configuration.baseOptions;
|
|
305
304
|
}
|
|
306
|
-
const localVarRequestOptions =
|
|
305
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
307
306
|
const localVarHeaderParameter = {};
|
|
308
307
|
const localVarQueryParameter = {};
|
|
309
308
|
// authentication CustomAuthentication required
|
|
310
|
-
|
|
309
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
311
310
|
if (isHidden !== undefined) {
|
|
312
311
|
localVarQueryParameter['isHidden'] = isHidden;
|
|
313
312
|
}
|
|
@@ -316,12 +315,12 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
316
315
|
}
|
|
317
316
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
318
317
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
319
|
-
localVarRequestOptions.headers =
|
|
318
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
320
319
|
return {
|
|
321
320
|
url: toPathString(localVarUrlObj),
|
|
322
321
|
options: localVarRequestOptions,
|
|
323
322
|
};
|
|
324
|
-
}
|
|
323
|
+
},
|
|
325
324
|
/**
|
|
326
325
|
*
|
|
327
326
|
* @summary Updates a user.
|
|
@@ -330,7 +329,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
330
329
|
* @param {*} [options] Override http request option.
|
|
331
330
|
* @throws {RequiredError}
|
|
332
331
|
*/
|
|
333
|
-
updateUser:
|
|
332
|
+
updateUser: async (userDto, userId, options = {}) => {
|
|
334
333
|
// verify required parameter 'userDto' is not null or undefined
|
|
335
334
|
assertParamExists('updateUser', 'userDto', userDto);
|
|
336
335
|
const localVarPath = `/Users`;
|
|
@@ -340,24 +339,24 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
340
339
|
if (configuration) {
|
|
341
340
|
baseOptions = configuration.baseOptions;
|
|
342
341
|
}
|
|
343
|
-
const localVarRequestOptions =
|
|
342
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
344
343
|
const localVarHeaderParameter = {};
|
|
345
344
|
const localVarQueryParameter = {};
|
|
346
345
|
// authentication CustomAuthentication required
|
|
347
|
-
|
|
346
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
348
347
|
if (userId !== undefined) {
|
|
349
348
|
localVarQueryParameter['userId'] = userId;
|
|
350
349
|
}
|
|
351
350
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
352
351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
353
352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
|
-
localVarRequestOptions.headers =
|
|
353
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
355
354
|
localVarRequestOptions.data = serializeDataIfNeeded(userDto, localVarRequestOptions, configuration);
|
|
356
355
|
return {
|
|
357
356
|
url: toPathString(localVarUrlObj),
|
|
358
357
|
options: localVarRequestOptions,
|
|
359
358
|
};
|
|
360
|
-
}
|
|
359
|
+
},
|
|
361
360
|
/**
|
|
362
361
|
*
|
|
363
362
|
* @summary Updates a user configuration.
|
|
@@ -366,7 +365,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
366
365
|
* @param {*} [options] Override http request option.
|
|
367
366
|
* @throws {RequiredError}
|
|
368
367
|
*/
|
|
369
|
-
updateUserConfiguration:
|
|
368
|
+
updateUserConfiguration: async (userConfiguration, userId, options = {}) => {
|
|
370
369
|
// verify required parameter 'userConfiguration' is not null or undefined
|
|
371
370
|
assertParamExists('updateUserConfiguration', 'userConfiguration', userConfiguration);
|
|
372
371
|
const localVarPath = `/Users/Configuration`;
|
|
@@ -376,24 +375,24 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
376
375
|
if (configuration) {
|
|
377
376
|
baseOptions = configuration.baseOptions;
|
|
378
377
|
}
|
|
379
|
-
const localVarRequestOptions =
|
|
378
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
380
379
|
const localVarHeaderParameter = {};
|
|
381
380
|
const localVarQueryParameter = {};
|
|
382
381
|
// authentication CustomAuthentication required
|
|
383
|
-
|
|
382
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
384
383
|
if (userId !== undefined) {
|
|
385
384
|
localVarQueryParameter['userId'] = userId;
|
|
386
385
|
}
|
|
387
386
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
388
387
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
388
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
-
localVarRequestOptions.headers =
|
|
389
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
391
390
|
localVarRequestOptions.data = serializeDataIfNeeded(userConfiguration, localVarRequestOptions, configuration);
|
|
392
391
|
return {
|
|
393
392
|
url: toPathString(localVarUrlObj),
|
|
394
393
|
options: localVarRequestOptions,
|
|
395
394
|
};
|
|
396
|
-
}
|
|
395
|
+
},
|
|
397
396
|
/**
|
|
398
397
|
*
|
|
399
398
|
* @summary Updates a user\'s password.
|
|
@@ -402,7 +401,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
402
401
|
* @param {*} [options] Override http request option.
|
|
403
402
|
* @throws {RequiredError}
|
|
404
403
|
*/
|
|
405
|
-
updateUserPassword:
|
|
404
|
+
updateUserPassword: async (updateUserPassword, userId, options = {}) => {
|
|
406
405
|
// verify required parameter 'updateUserPassword' is not null or undefined
|
|
407
406
|
assertParamExists('updateUserPassword', 'updateUserPassword', updateUserPassword);
|
|
408
407
|
const localVarPath = `/Users/Password`;
|
|
@@ -412,24 +411,24 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
412
411
|
if (configuration) {
|
|
413
412
|
baseOptions = configuration.baseOptions;
|
|
414
413
|
}
|
|
415
|
-
const localVarRequestOptions =
|
|
414
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
416
415
|
const localVarHeaderParameter = {};
|
|
417
416
|
const localVarQueryParameter = {};
|
|
418
417
|
// authentication CustomAuthentication required
|
|
419
|
-
|
|
418
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
420
419
|
if (userId !== undefined) {
|
|
421
420
|
localVarQueryParameter['userId'] = userId;
|
|
422
421
|
}
|
|
423
422
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
424
423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
425
424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
426
|
-
localVarRequestOptions.headers =
|
|
425
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
427
426
|
localVarRequestOptions.data = serializeDataIfNeeded(updateUserPassword, localVarRequestOptions, configuration);
|
|
428
427
|
return {
|
|
429
428
|
url: toPathString(localVarUrlObj),
|
|
430
429
|
options: localVarRequestOptions,
|
|
431
430
|
};
|
|
432
|
-
}
|
|
431
|
+
},
|
|
433
432
|
/**
|
|
434
433
|
*
|
|
435
434
|
* @summary Updates a user policy.
|
|
@@ -438,7 +437,7 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
438
437
|
* @param {*} [options] Override http request option.
|
|
439
438
|
* @throws {RequiredError}
|
|
440
439
|
*/
|
|
441
|
-
updateUserPolicy:
|
|
440
|
+
updateUserPolicy: async (userId, userPolicy, options = {}) => {
|
|
442
441
|
// verify required parameter 'userId' is not null or undefined
|
|
443
442
|
assertParamExists('updateUserPolicy', 'userId', userId);
|
|
444
443
|
// verify required parameter 'userPolicy' is not null or undefined
|
|
@@ -451,21 +450,21 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
451
450
|
if (configuration) {
|
|
452
451
|
baseOptions = configuration.baseOptions;
|
|
453
452
|
}
|
|
454
|
-
const localVarRequestOptions =
|
|
453
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
455
454
|
const localVarHeaderParameter = {};
|
|
456
455
|
const localVarQueryParameter = {};
|
|
457
456
|
// authentication CustomAuthentication required
|
|
458
|
-
|
|
457
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
459
458
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
460
459
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
461
460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
462
|
-
localVarRequestOptions.headers =
|
|
461
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
463
462
|
localVarRequestOptions.data = serializeDataIfNeeded(userPolicy, localVarRequestOptions, configuration);
|
|
464
463
|
return {
|
|
465
464
|
url: toPathString(localVarUrlObj),
|
|
466
465
|
options: localVarRequestOptions,
|
|
467
466
|
};
|
|
468
|
-
}
|
|
467
|
+
},
|
|
469
468
|
};
|
|
470
469
|
};
|
|
471
470
|
/**
|
|
@@ -482,11 +481,12 @@ const UserApiFp = function (configuration) {
|
|
|
482
481
|
* @param {*} [options] Override http request option.
|
|
483
482
|
* @throws {RequiredError}
|
|
484
483
|
*/
|
|
485
|
-
authenticateUserByName(authenticateUserByName, options) {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
484
|
+
async authenticateUserByName(authenticateUserByName, options) {
|
|
485
|
+
var _a, _b, _c;
|
|
486
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUserByName(authenticateUserByName, options);
|
|
487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
488
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.authenticateUserByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
489
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
490
490
|
},
|
|
491
491
|
/**
|
|
492
492
|
*
|
|
@@ -495,11 +495,12 @@ const UserApiFp = function (configuration) {
|
|
|
495
495
|
* @param {*} [options] Override http request option.
|
|
496
496
|
* @throws {RequiredError}
|
|
497
497
|
*/
|
|
498
|
-
authenticateWithQuickConnect(quickConnectDto, options) {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
498
|
+
async authenticateWithQuickConnect(quickConnectDto, options) {
|
|
499
|
+
var _a, _b, _c;
|
|
500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateWithQuickConnect(quickConnectDto, options);
|
|
501
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
502
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.authenticateWithQuickConnect']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
503
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
503
504
|
},
|
|
504
505
|
/**
|
|
505
506
|
*
|
|
@@ -508,11 +509,12 @@ const UserApiFp = function (configuration) {
|
|
|
508
509
|
* @param {*} [options] Override http request option.
|
|
509
510
|
* @throws {RequiredError}
|
|
510
511
|
*/
|
|
511
|
-
createUserByName(createUserByName, options) {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
512
|
+
async createUserByName(createUserByName, options) {
|
|
513
|
+
var _a, _b, _c;
|
|
514
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserByName(createUserByName, options);
|
|
515
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
516
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.createUserByName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
516
518
|
},
|
|
517
519
|
/**
|
|
518
520
|
*
|
|
@@ -521,11 +523,12 @@ const UserApiFp = function (configuration) {
|
|
|
521
523
|
* @param {*} [options] Override http request option.
|
|
522
524
|
* @throws {RequiredError}
|
|
523
525
|
*/
|
|
524
|
-
deleteUser(userId, options) {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
526
|
+
async deleteUser(userId, options) {
|
|
527
|
+
var _a, _b, _c;
|
|
528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userId, options);
|
|
529
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
530
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.deleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
531
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
532
|
},
|
|
530
533
|
/**
|
|
531
534
|
*
|
|
@@ -534,11 +537,12 @@ const UserApiFp = function (configuration) {
|
|
|
534
537
|
* @param {*} [options] Override http request option.
|
|
535
538
|
* @throws {RequiredError}
|
|
536
539
|
*/
|
|
537
|
-
forgotPassword(forgotPasswordDto, options) {
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
540
|
+
async forgotPassword(forgotPasswordDto, options) {
|
|
541
|
+
var _a, _b, _c;
|
|
542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPassword(forgotPasswordDto, options);
|
|
543
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.forgotPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
542
546
|
},
|
|
543
547
|
/**
|
|
544
548
|
*
|
|
@@ -547,11 +551,12 @@ const UserApiFp = function (configuration) {
|
|
|
547
551
|
* @param {*} [options] Override http request option.
|
|
548
552
|
* @throws {RequiredError}
|
|
549
553
|
*/
|
|
550
|
-
forgotPasswordPin(forgotPasswordPinDto, options) {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
554
|
+
async forgotPasswordPin(forgotPasswordPinDto, options) {
|
|
555
|
+
var _a, _b, _c;
|
|
556
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPasswordPin(forgotPasswordPinDto, options);
|
|
557
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
558
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.forgotPasswordPin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
559
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
555
560
|
},
|
|
556
561
|
/**
|
|
557
562
|
*
|
|
@@ -559,11 +564,12 @@ const UserApiFp = function (configuration) {
|
|
|
559
564
|
* @param {*} [options] Override http request option.
|
|
560
565
|
* @throws {RequiredError}
|
|
561
566
|
*/
|
|
562
|
-
getCurrentUser(options) {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
+
async getCurrentUser(options) {
|
|
568
|
+
var _a, _b, _c;
|
|
569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUser(options);
|
|
570
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
571
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.getCurrentUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
572
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
567
573
|
},
|
|
568
574
|
/**
|
|
569
575
|
*
|
|
@@ -571,11 +577,12 @@ const UserApiFp = function (configuration) {
|
|
|
571
577
|
* @param {*} [options] Override http request option.
|
|
572
578
|
* @throws {RequiredError}
|
|
573
579
|
*/
|
|
574
|
-
getPublicUsers(options) {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
580
|
+
async getPublicUsers(options) {
|
|
581
|
+
var _a, _b, _c;
|
|
582
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicUsers(options);
|
|
583
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
584
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.getPublicUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
585
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
579
586
|
},
|
|
580
587
|
/**
|
|
581
588
|
*
|
|
@@ -584,11 +591,12 @@ const UserApiFp = function (configuration) {
|
|
|
584
591
|
* @param {*} [options] Override http request option.
|
|
585
592
|
* @throws {RequiredError}
|
|
586
593
|
*/
|
|
587
|
-
getUserById(userId, options) {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
594
|
+
async getUserById(userId, options) {
|
|
595
|
+
var _a, _b, _c;
|
|
596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserById(userId, options);
|
|
597
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
598
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.getUserById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
599
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
592
600
|
},
|
|
593
601
|
/**
|
|
594
602
|
*
|
|
@@ -598,11 +606,12 @@ const UserApiFp = function (configuration) {
|
|
|
598
606
|
* @param {*} [options] Override http request option.
|
|
599
607
|
* @throws {RequiredError}
|
|
600
608
|
*/
|
|
601
|
-
getUsers(isHidden, isDisabled, options) {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
609
|
+
async getUsers(isHidden, isDisabled, options) {
|
|
610
|
+
var _a, _b, _c;
|
|
611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(isHidden, isDisabled, options);
|
|
612
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
613
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.getUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
614
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
606
615
|
},
|
|
607
616
|
/**
|
|
608
617
|
*
|
|
@@ -612,11 +621,12 @@ const UserApiFp = function (configuration) {
|
|
|
612
621
|
* @param {*} [options] Override http request option.
|
|
613
622
|
* @throws {RequiredError}
|
|
614
623
|
*/
|
|
615
|
-
updateUser(userDto, userId, options) {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
624
|
+
async updateUser(userDto, userId, options) {
|
|
625
|
+
var _a, _b, _c;
|
|
626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userDto, userId, options);
|
|
627
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
628
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.updateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
629
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
630
|
},
|
|
621
631
|
/**
|
|
622
632
|
*
|
|
@@ -626,11 +636,12 @@ const UserApiFp = function (configuration) {
|
|
|
626
636
|
* @param {*} [options] Override http request option.
|
|
627
637
|
* @throws {RequiredError}
|
|
628
638
|
*/
|
|
629
|
-
updateUserConfiguration(userConfiguration, userId, options) {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
639
|
+
async updateUserConfiguration(userConfiguration, userId, options) {
|
|
640
|
+
var _a, _b, _c;
|
|
641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserConfiguration(userConfiguration, userId, options);
|
|
642
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
643
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.updateUserConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
644
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
634
645
|
},
|
|
635
646
|
/**
|
|
636
647
|
*
|
|
@@ -640,11 +651,12 @@ const UserApiFp = function (configuration) {
|
|
|
640
651
|
* @param {*} [options] Override http request option.
|
|
641
652
|
* @throws {RequiredError}
|
|
642
653
|
*/
|
|
643
|
-
updateUserPassword(updateUserPassword, userId, options) {
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
654
|
+
async updateUserPassword(updateUserPassword, userId, options) {
|
|
655
|
+
var _a, _b, _c;
|
|
656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPassword(updateUserPassword, userId, options);
|
|
657
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
658
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.updateUserPassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
659
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
648
660
|
},
|
|
649
661
|
/**
|
|
650
662
|
*
|
|
@@ -654,11 +666,12 @@ const UserApiFp = function (configuration) {
|
|
|
654
666
|
* @param {*} [options] Override http request option.
|
|
655
667
|
* @throws {RequiredError}
|
|
656
668
|
*/
|
|
657
|
-
updateUserPolicy(userId, userPolicy, options) {
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
669
|
+
async updateUserPolicy(userId, userPolicy, options) {
|
|
670
|
+
var _a, _b, _c;
|
|
671
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPolicy(userId, userPolicy, options);
|
|
672
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
673
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UserApi.updateUserPolicy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
674
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
662
675
|
},
|
|
663
676
|
};
|
|
664
677
|
};
|
|
@@ -672,62 +685,62 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
672
685
|
/**
|
|
673
686
|
*
|
|
674
687
|
* @summary Authenticates a user by name.
|
|
675
|
-
* @param {
|
|
688
|
+
* @param {UserApiAuthenticateUserByNameRequest} requestParameters Request parameters.
|
|
676
689
|
* @param {*} [options] Override http request option.
|
|
677
690
|
* @throws {RequiredError}
|
|
678
691
|
*/
|
|
679
|
-
authenticateUserByName(
|
|
680
|
-
return localVarFp.authenticateUserByName(authenticateUserByName, options).then((request) => request(axios, basePath));
|
|
692
|
+
authenticateUserByName(requestParameters, options) {
|
|
693
|
+
return localVarFp.authenticateUserByName(requestParameters.authenticateUserByName, options).then((request) => request(axios, basePath));
|
|
681
694
|
},
|
|
682
695
|
/**
|
|
683
696
|
*
|
|
684
697
|
* @summary Authenticates a user with quick connect.
|
|
685
|
-
* @param {
|
|
698
|
+
* @param {UserApiAuthenticateWithQuickConnectRequest} requestParameters Request parameters.
|
|
686
699
|
* @param {*} [options] Override http request option.
|
|
687
700
|
* @throws {RequiredError}
|
|
688
701
|
*/
|
|
689
|
-
authenticateWithQuickConnect(
|
|
690
|
-
return localVarFp.authenticateWithQuickConnect(quickConnectDto, options).then((request) => request(axios, basePath));
|
|
702
|
+
authenticateWithQuickConnect(requestParameters, options) {
|
|
703
|
+
return localVarFp.authenticateWithQuickConnect(requestParameters.quickConnectDto, options).then((request) => request(axios, basePath));
|
|
691
704
|
},
|
|
692
705
|
/**
|
|
693
706
|
*
|
|
694
707
|
* @summary Creates a user.
|
|
695
|
-
* @param {
|
|
708
|
+
* @param {UserApiCreateUserByNameRequest} requestParameters Request parameters.
|
|
696
709
|
* @param {*} [options] Override http request option.
|
|
697
710
|
* @throws {RequiredError}
|
|
698
711
|
*/
|
|
699
|
-
createUserByName(
|
|
700
|
-
return localVarFp.createUserByName(createUserByName, options).then((request) => request(axios, basePath));
|
|
712
|
+
createUserByName(requestParameters, options) {
|
|
713
|
+
return localVarFp.createUserByName(requestParameters.createUserByName, options).then((request) => request(axios, basePath));
|
|
701
714
|
},
|
|
702
715
|
/**
|
|
703
716
|
*
|
|
704
717
|
* @summary Deletes a user.
|
|
705
|
-
* @param {
|
|
718
|
+
* @param {UserApiDeleteUserRequest} requestParameters Request parameters.
|
|
706
719
|
* @param {*} [options] Override http request option.
|
|
707
720
|
* @throws {RequiredError}
|
|
708
721
|
*/
|
|
709
|
-
deleteUser(
|
|
710
|
-
return localVarFp.deleteUser(userId, options).then((request) => request(axios, basePath));
|
|
722
|
+
deleteUser(requestParameters, options) {
|
|
723
|
+
return localVarFp.deleteUser(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
711
724
|
},
|
|
712
725
|
/**
|
|
713
726
|
*
|
|
714
727
|
* @summary Initiates the forgot password process for a local user.
|
|
715
|
-
* @param {
|
|
728
|
+
* @param {UserApiForgotPasswordRequest} requestParameters Request parameters.
|
|
716
729
|
* @param {*} [options] Override http request option.
|
|
717
730
|
* @throws {RequiredError}
|
|
718
731
|
*/
|
|
719
|
-
forgotPassword(
|
|
720
|
-
return localVarFp.forgotPassword(forgotPasswordDto, options).then((request) => request(axios, basePath));
|
|
732
|
+
forgotPassword(requestParameters, options) {
|
|
733
|
+
return localVarFp.forgotPassword(requestParameters.forgotPasswordDto, options).then((request) => request(axios, basePath));
|
|
721
734
|
},
|
|
722
735
|
/**
|
|
723
736
|
*
|
|
724
737
|
* @summary Redeems a forgot password pin.
|
|
725
|
-
* @param {
|
|
738
|
+
* @param {UserApiForgotPasswordPinRequest} requestParameters Request parameters.
|
|
726
739
|
* @param {*} [options] Override http request option.
|
|
727
740
|
* @throws {RequiredError}
|
|
728
741
|
*/
|
|
729
|
-
forgotPasswordPin(
|
|
730
|
-
return localVarFp.forgotPasswordPin(forgotPasswordPinDto, options).then((request) => request(axios, basePath));
|
|
742
|
+
forgotPasswordPin(requestParameters, options) {
|
|
743
|
+
return localVarFp.forgotPasswordPin(requestParameters.forgotPasswordPinDto, options).then((request) => request(axios, basePath));
|
|
731
744
|
},
|
|
732
745
|
/**
|
|
733
746
|
*
|
|
@@ -750,67 +763,62 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
750
763
|
/**
|
|
751
764
|
*
|
|
752
765
|
* @summary Gets a user by Id.
|
|
753
|
-
* @param {
|
|
766
|
+
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
|
754
767
|
* @param {*} [options] Override http request option.
|
|
755
768
|
* @throws {RequiredError}
|
|
756
769
|
*/
|
|
757
|
-
getUserById(
|
|
758
|
-
return localVarFp.getUserById(userId, options).then((request) => request(axios, basePath));
|
|
770
|
+
getUserById(requestParameters, options) {
|
|
771
|
+
return localVarFp.getUserById(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
759
772
|
},
|
|
760
773
|
/**
|
|
761
774
|
*
|
|
762
775
|
* @summary Gets a list of users.
|
|
763
|
-
* @param {
|
|
764
|
-
* @param {boolean} [isDisabled] Optional filter by IsDisabled=true or false.
|
|
776
|
+
* @param {UserApiGetUsersRequest} requestParameters Request parameters.
|
|
765
777
|
* @param {*} [options] Override http request option.
|
|
766
778
|
* @throws {RequiredError}
|
|
767
779
|
*/
|
|
768
|
-
getUsers(
|
|
769
|
-
return localVarFp.getUsers(isHidden, isDisabled, options).then((request) => request(axios, basePath));
|
|
780
|
+
getUsers(requestParameters = {}, options) {
|
|
781
|
+
return localVarFp.getUsers(requestParameters.isHidden, requestParameters.isDisabled, options).then((request) => request(axios, basePath));
|
|
770
782
|
},
|
|
771
783
|
/**
|
|
772
784
|
*
|
|
773
785
|
* @summary Updates a user.
|
|
774
|
-
* @param {
|
|
775
|
-
* @param {string} [userId] The user id.
|
|
786
|
+
* @param {UserApiUpdateUserRequest} requestParameters Request parameters.
|
|
776
787
|
* @param {*} [options] Override http request option.
|
|
777
788
|
* @throws {RequiredError}
|
|
778
789
|
*/
|
|
779
|
-
updateUser(
|
|
780
|
-
return localVarFp.updateUser(userDto, userId, options).then((request) => request(axios, basePath));
|
|
790
|
+
updateUser(requestParameters, options) {
|
|
791
|
+
return localVarFp.updateUser(requestParameters.userDto, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
781
792
|
},
|
|
782
793
|
/**
|
|
783
794
|
*
|
|
784
795
|
* @summary Updates a user configuration.
|
|
785
|
-
* @param {
|
|
786
|
-
* @param {string} [userId] The user id.
|
|
796
|
+
* @param {UserApiUpdateUserConfigurationRequest} requestParameters Request parameters.
|
|
787
797
|
* @param {*} [options] Override http request option.
|
|
788
798
|
* @throws {RequiredError}
|
|
789
799
|
*/
|
|
790
|
-
updateUserConfiguration(
|
|
791
|
-
return localVarFp.updateUserConfiguration(userConfiguration, userId, options).then((request) => request(axios, basePath));
|
|
800
|
+
updateUserConfiguration(requestParameters, options) {
|
|
801
|
+
return localVarFp.updateUserConfiguration(requestParameters.userConfiguration, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
792
802
|
},
|
|
793
803
|
/**
|
|
794
804
|
*
|
|
795
805
|
* @summary Updates a user\'s password.
|
|
796
|
-
* @param {
|
|
797
|
-
* @param {string} [userId] The user id.
|
|
806
|
+
* @param {UserApiUpdateUserPasswordRequest} requestParameters Request parameters.
|
|
798
807
|
* @param {*} [options] Override http request option.
|
|
799
808
|
* @throws {RequiredError}
|
|
800
809
|
*/
|
|
801
|
-
updateUserPassword(
|
|
802
|
-
return localVarFp.updateUserPassword(updateUserPassword, userId, options).then((request) => request(axios, basePath));
|
|
810
|
+
updateUserPassword(requestParameters, options) {
|
|
811
|
+
return localVarFp.updateUserPassword(requestParameters.updateUserPassword, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
803
812
|
},
|
|
804
813
|
/**
|
|
805
814
|
*
|
|
806
815
|
* @summary Updates a user policy.
|
|
807
|
-
* @param {
|
|
808
|
-
* @param {UserPolicy} userPolicy The new user policy.
|
|
816
|
+
* @param {UserApiUpdateUserPolicyRequest} requestParameters Request parameters.
|
|
809
817
|
* @param {*} [options] Override http request option.
|
|
810
818
|
* @throws {RequiredError}
|
|
811
819
|
*/
|
|
812
|
-
updateUserPolicy(
|
|
813
|
-
return localVarFp.updateUserPolicy(userId, userPolicy, options).then((request) => request(axios, basePath));
|
|
820
|
+
updateUserPolicy(requestParameters, options) {
|
|
821
|
+
return localVarFp.updateUserPolicy(requestParameters.userId, requestParameters.userPolicy, options).then((request) => request(axios, basePath));
|
|
814
822
|
},
|
|
815
823
|
};
|
|
816
824
|
};
|