@jellyfin/sdk 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +93 -245
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +30 -16
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +15 -9
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +36 -22
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +15 -14
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +34 -18
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +15 -27
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +36 -28
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +269 -596
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +8 -9
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +38 -122
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +212 -142
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +273 -258
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +45 -30
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +45 -52
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +15 -27
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +37 -23
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +15 -22
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +137 -63
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +64 -63
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +23 -12
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +38 -17
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +15 -26
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +68 -69
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +133 -70
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +44 -14
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +29 -62
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +93 -56
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +15 -24
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setSearchParams, serializeDataIfNeeded, toPathString, setApiKeyToObject, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -482,8 +482,11 @@ const UserApiFp = function (configuration) {
|
|
|
482
482
|
* @throws {RequiredError}
|
|
483
483
|
*/
|
|
484
484
|
async authenticateUserByName(authenticateUserByName, options) {
|
|
485
|
+
var _a, _b, _c;
|
|
485
486
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateUserByName(authenticateUserByName, options);
|
|
486
|
-
|
|
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);
|
|
487
490
|
},
|
|
488
491
|
/**
|
|
489
492
|
*
|
|
@@ -493,8 +496,11 @@ const UserApiFp = function (configuration) {
|
|
|
493
496
|
* @throws {RequiredError}
|
|
494
497
|
*/
|
|
495
498
|
async authenticateWithQuickConnect(quickConnectDto, options) {
|
|
499
|
+
var _a, _b, _c;
|
|
496
500
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authenticateWithQuickConnect(quickConnectDto, options);
|
|
497
|
-
|
|
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);
|
|
498
504
|
},
|
|
499
505
|
/**
|
|
500
506
|
*
|
|
@@ -504,8 +510,11 @@ const UserApiFp = function (configuration) {
|
|
|
504
510
|
* @throws {RequiredError}
|
|
505
511
|
*/
|
|
506
512
|
async createUserByName(createUserByName, options) {
|
|
513
|
+
var _a, _b, _c;
|
|
507
514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserByName(createUserByName, options);
|
|
508
|
-
|
|
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);
|
|
509
518
|
},
|
|
510
519
|
/**
|
|
511
520
|
*
|
|
@@ -515,8 +524,11 @@ const UserApiFp = function (configuration) {
|
|
|
515
524
|
* @throws {RequiredError}
|
|
516
525
|
*/
|
|
517
526
|
async deleteUser(userId, options) {
|
|
527
|
+
var _a, _b, _c;
|
|
518
528
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userId, options);
|
|
519
|
-
|
|
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);
|
|
520
532
|
},
|
|
521
533
|
/**
|
|
522
534
|
*
|
|
@@ -526,8 +538,11 @@ const UserApiFp = function (configuration) {
|
|
|
526
538
|
* @throws {RequiredError}
|
|
527
539
|
*/
|
|
528
540
|
async forgotPassword(forgotPasswordDto, options) {
|
|
541
|
+
var _a, _b, _c;
|
|
529
542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPassword(forgotPasswordDto, options);
|
|
530
|
-
|
|
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);
|
|
531
546
|
},
|
|
532
547
|
/**
|
|
533
548
|
*
|
|
@@ -537,8 +552,11 @@ const UserApiFp = function (configuration) {
|
|
|
537
552
|
* @throws {RequiredError}
|
|
538
553
|
*/
|
|
539
554
|
async forgotPasswordPin(forgotPasswordPinDto, options) {
|
|
555
|
+
var _a, _b, _c;
|
|
540
556
|
const localVarAxiosArgs = await localVarAxiosParamCreator.forgotPasswordPin(forgotPasswordPinDto, options);
|
|
541
|
-
|
|
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);
|
|
542
560
|
},
|
|
543
561
|
/**
|
|
544
562
|
*
|
|
@@ -547,8 +565,11 @@ const UserApiFp = function (configuration) {
|
|
|
547
565
|
* @throws {RequiredError}
|
|
548
566
|
*/
|
|
549
567
|
async getCurrentUser(options) {
|
|
568
|
+
var _a, _b, _c;
|
|
550
569
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUser(options);
|
|
551
|
-
|
|
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);
|
|
552
573
|
},
|
|
553
574
|
/**
|
|
554
575
|
*
|
|
@@ -557,8 +578,11 @@ const UserApiFp = function (configuration) {
|
|
|
557
578
|
* @throws {RequiredError}
|
|
558
579
|
*/
|
|
559
580
|
async getPublicUsers(options) {
|
|
581
|
+
var _a, _b, _c;
|
|
560
582
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPublicUsers(options);
|
|
561
|
-
|
|
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);
|
|
562
586
|
},
|
|
563
587
|
/**
|
|
564
588
|
*
|
|
@@ -568,8 +592,11 @@ const UserApiFp = function (configuration) {
|
|
|
568
592
|
* @throws {RequiredError}
|
|
569
593
|
*/
|
|
570
594
|
async getUserById(userId, options) {
|
|
595
|
+
var _a, _b, _c;
|
|
571
596
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserById(userId, options);
|
|
572
|
-
|
|
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);
|
|
573
600
|
},
|
|
574
601
|
/**
|
|
575
602
|
*
|
|
@@ -580,8 +607,11 @@ const UserApiFp = function (configuration) {
|
|
|
580
607
|
* @throws {RequiredError}
|
|
581
608
|
*/
|
|
582
609
|
async getUsers(isHidden, isDisabled, options) {
|
|
610
|
+
var _a, _b, _c;
|
|
583
611
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(isHidden, isDisabled, options);
|
|
584
|
-
|
|
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);
|
|
585
615
|
},
|
|
586
616
|
/**
|
|
587
617
|
*
|
|
@@ -592,8 +622,11 @@ const UserApiFp = function (configuration) {
|
|
|
592
622
|
* @throws {RequiredError}
|
|
593
623
|
*/
|
|
594
624
|
async updateUser(userDto, userId, options) {
|
|
625
|
+
var _a, _b, _c;
|
|
595
626
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userDto, userId, options);
|
|
596
|
-
|
|
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);
|
|
597
630
|
},
|
|
598
631
|
/**
|
|
599
632
|
*
|
|
@@ -604,8 +637,11 @@ const UserApiFp = function (configuration) {
|
|
|
604
637
|
* @throws {RequiredError}
|
|
605
638
|
*/
|
|
606
639
|
async updateUserConfiguration(userConfiguration, userId, options) {
|
|
640
|
+
var _a, _b, _c;
|
|
607
641
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserConfiguration(userConfiguration, userId, options);
|
|
608
|
-
|
|
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);
|
|
609
645
|
},
|
|
610
646
|
/**
|
|
611
647
|
*
|
|
@@ -616,8 +652,11 @@ const UserApiFp = function (configuration) {
|
|
|
616
652
|
* @throws {RequiredError}
|
|
617
653
|
*/
|
|
618
654
|
async updateUserPassword(updateUserPassword, userId, options) {
|
|
655
|
+
var _a, _b, _c;
|
|
619
656
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPassword(updateUserPassword, userId, options);
|
|
620
|
-
|
|
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);
|
|
621
660
|
},
|
|
622
661
|
/**
|
|
623
662
|
*
|
|
@@ -628,8 +667,11 @@ const UserApiFp = function (configuration) {
|
|
|
628
667
|
* @throws {RequiredError}
|
|
629
668
|
*/
|
|
630
669
|
async updateUserPolicy(userId, userPolicy, options) {
|
|
670
|
+
var _a, _b, _c;
|
|
631
671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPolicy(userId, userPolicy, options);
|
|
632
|
-
|
|
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);
|
|
633
675
|
},
|
|
634
676
|
};
|
|
635
677
|
};
|
|
@@ -643,62 +685,62 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
643
685
|
/**
|
|
644
686
|
*
|
|
645
687
|
* @summary Authenticates a user by name.
|
|
646
|
-
* @param {
|
|
688
|
+
* @param {UserApiAuthenticateUserByNameRequest} requestParameters Request parameters.
|
|
647
689
|
* @param {*} [options] Override http request option.
|
|
648
690
|
* @throws {RequiredError}
|
|
649
691
|
*/
|
|
650
|
-
authenticateUserByName(
|
|
651
|
-
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));
|
|
652
694
|
},
|
|
653
695
|
/**
|
|
654
696
|
*
|
|
655
697
|
* @summary Authenticates a user with quick connect.
|
|
656
|
-
* @param {
|
|
698
|
+
* @param {UserApiAuthenticateWithQuickConnectRequest} requestParameters Request parameters.
|
|
657
699
|
* @param {*} [options] Override http request option.
|
|
658
700
|
* @throws {RequiredError}
|
|
659
701
|
*/
|
|
660
|
-
authenticateWithQuickConnect(
|
|
661
|
-
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));
|
|
662
704
|
},
|
|
663
705
|
/**
|
|
664
706
|
*
|
|
665
707
|
* @summary Creates a user.
|
|
666
|
-
* @param {
|
|
708
|
+
* @param {UserApiCreateUserByNameRequest} requestParameters Request parameters.
|
|
667
709
|
* @param {*} [options] Override http request option.
|
|
668
710
|
* @throws {RequiredError}
|
|
669
711
|
*/
|
|
670
|
-
createUserByName(
|
|
671
|
-
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));
|
|
672
714
|
},
|
|
673
715
|
/**
|
|
674
716
|
*
|
|
675
717
|
* @summary Deletes a user.
|
|
676
|
-
* @param {
|
|
718
|
+
* @param {UserApiDeleteUserRequest} requestParameters Request parameters.
|
|
677
719
|
* @param {*} [options] Override http request option.
|
|
678
720
|
* @throws {RequiredError}
|
|
679
721
|
*/
|
|
680
|
-
deleteUser(
|
|
681
|
-
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));
|
|
682
724
|
},
|
|
683
725
|
/**
|
|
684
726
|
*
|
|
685
727
|
* @summary Initiates the forgot password process for a local user.
|
|
686
|
-
* @param {
|
|
728
|
+
* @param {UserApiForgotPasswordRequest} requestParameters Request parameters.
|
|
687
729
|
* @param {*} [options] Override http request option.
|
|
688
730
|
* @throws {RequiredError}
|
|
689
731
|
*/
|
|
690
|
-
forgotPassword(
|
|
691
|
-
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));
|
|
692
734
|
},
|
|
693
735
|
/**
|
|
694
736
|
*
|
|
695
737
|
* @summary Redeems a forgot password pin.
|
|
696
|
-
* @param {
|
|
738
|
+
* @param {UserApiForgotPasswordPinRequest} requestParameters Request parameters.
|
|
697
739
|
* @param {*} [options] Override http request option.
|
|
698
740
|
* @throws {RequiredError}
|
|
699
741
|
*/
|
|
700
|
-
forgotPasswordPin(
|
|
701
|
-
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));
|
|
702
744
|
},
|
|
703
745
|
/**
|
|
704
746
|
*
|
|
@@ -721,67 +763,62 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
721
763
|
/**
|
|
722
764
|
*
|
|
723
765
|
* @summary Gets a user by Id.
|
|
724
|
-
* @param {
|
|
766
|
+
* @param {UserApiGetUserByIdRequest} requestParameters Request parameters.
|
|
725
767
|
* @param {*} [options] Override http request option.
|
|
726
768
|
* @throws {RequiredError}
|
|
727
769
|
*/
|
|
728
|
-
getUserById(
|
|
729
|
-
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));
|
|
730
772
|
},
|
|
731
773
|
/**
|
|
732
774
|
*
|
|
733
775
|
* @summary Gets a list of users.
|
|
734
|
-
* @param {
|
|
735
|
-
* @param {boolean} [isDisabled] Optional filter by IsDisabled=true or false.
|
|
776
|
+
* @param {UserApiGetUsersRequest} requestParameters Request parameters.
|
|
736
777
|
* @param {*} [options] Override http request option.
|
|
737
778
|
* @throws {RequiredError}
|
|
738
779
|
*/
|
|
739
|
-
getUsers(
|
|
740
|
-
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));
|
|
741
782
|
},
|
|
742
783
|
/**
|
|
743
784
|
*
|
|
744
785
|
* @summary Updates a user.
|
|
745
|
-
* @param {
|
|
746
|
-
* @param {string} [userId] The user id.
|
|
786
|
+
* @param {UserApiUpdateUserRequest} requestParameters Request parameters.
|
|
747
787
|
* @param {*} [options] Override http request option.
|
|
748
788
|
* @throws {RequiredError}
|
|
749
789
|
*/
|
|
750
|
-
updateUser(
|
|
751
|
-
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));
|
|
752
792
|
},
|
|
753
793
|
/**
|
|
754
794
|
*
|
|
755
795
|
* @summary Updates a user configuration.
|
|
756
|
-
* @param {
|
|
757
|
-
* @param {string} [userId] The user id.
|
|
796
|
+
* @param {UserApiUpdateUserConfigurationRequest} requestParameters Request parameters.
|
|
758
797
|
* @param {*} [options] Override http request option.
|
|
759
798
|
* @throws {RequiredError}
|
|
760
799
|
*/
|
|
761
|
-
updateUserConfiguration(
|
|
762
|
-
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));
|
|
763
802
|
},
|
|
764
803
|
/**
|
|
765
804
|
*
|
|
766
805
|
* @summary Updates a user\'s password.
|
|
767
|
-
* @param {
|
|
768
|
-
* @param {string} [userId] The user id.
|
|
806
|
+
* @param {UserApiUpdateUserPasswordRequest} requestParameters Request parameters.
|
|
769
807
|
* @param {*} [options] Override http request option.
|
|
770
808
|
* @throws {RequiredError}
|
|
771
809
|
*/
|
|
772
|
-
updateUserPassword(
|
|
773
|
-
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));
|
|
774
812
|
},
|
|
775
813
|
/**
|
|
776
814
|
*
|
|
777
815
|
* @summary Updates a user policy.
|
|
778
|
-
* @param {
|
|
779
|
-
* @param {UserPolicy} userPolicy The new user policy.
|
|
816
|
+
* @param {UserApiUpdateUserPolicyRequest} requestParameters Request parameters.
|
|
780
817
|
* @param {*} [options] Override http request option.
|
|
781
818
|
* @throws {RequiredError}
|
|
782
819
|
*/
|
|
783
|
-
updateUserPolicy(
|
|
784
|
-
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));
|
|
785
822
|
},
|
|
786
823
|
};
|
|
787
824
|
};
|