@jellyfin/sdk 0.7.0 → 0.8.1
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 +23 -9
- package/lib/api.d.ts +4 -4
- package/lib/api.js +38 -68
- package/lib/discovery/discovery-service.d.ts +3 -1
- package/lib/discovery/discovery-service.js +27 -68
- package/lib/discovery/index.js +3 -18
- package/lib/discovery/recommended-server-discovery.d.ts +3 -1
- package/lib/discovery/recommended-server-discovery.js +56 -102
- package/lib/generated-client/api/activity-log-api.d.ts +4 -4
- package/lib/generated-client/api/activity-log-api.js +58 -165
- package/lib/generated-client/api/api-key-api.d.ts +10 -10
- package/lib/generated-client/api/api-key-api.js +112 -254
- package/lib/generated-client/api/artists-api.d.ts +10 -10
- package/lib/generated-client/api/artists-api.js +302 -446
- package/lib/generated-client/api/audio-api.d.ts +13 -13
- package/lib/generated-client/api/audio-api.js +714 -850
- package/lib/generated-client/api/branding-api.d.ts +10 -10
- package/lib/generated-client/api/branding-api.js +98 -222
- package/lib/generated-client/api/channels-api.d.ts +16 -16
- package/lib/generated-client/api/channels-api.js +230 -410
- package/lib/generated-client/api/client-log-api.d.ts +4 -4
- package/lib/generated-client/api/client-log-api.js +46 -153
- package/lib/generated-client/api/collection-api.d.ts +10 -10
- package/lib/generated-client/api/collection-api.js +132 -275
- package/lib/generated-client/api/configuration-api.d.ts +19 -19
- package/lib/generated-client/api/configuration-api.js +212 -408
- package/lib/generated-client/api/dashboard-api.d.ts +7 -7
- package/lib/generated-client/api/dashboard-api.js +78 -198
- package/lib/generated-client/api/devices-api.d.ts +16 -16
- package/lib/generated-client/api/devices-api.js +194 -373
- package/lib/generated-client/api/display-preferences-api.d.ts +7 -7
- package/lib/generated-client/api/display-preferences-api.js +104 -228
- package/lib/generated-client/api/dlna-api.d.ts +19 -19
- package/lib/generated-client/api/dlna-api.js +207 -404
- package/lib/generated-client/api/dlna-server-api.d.ts +49 -49
- package/lib/generated-client/api/dlna-server-api.js +545 -921
- package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -28
- package/lib/generated-client/api/dynamic-hls-api.js +1686 -1936
- package/lib/generated-client/api/environment-api.d.ts +19 -19
- package/lib/generated-client/api/environment-api.js +214 -410
- package/lib/generated-client/api/filter-api.d.ts +7 -7
- package/lib/generated-client/api/filter-api.js +116 -242
- package/lib/generated-client/api/genres-api.d.ts +7 -7
- package/lib/generated-client/api/genres-api.js +134 -259
- package/lib/generated-client/api/hls-segment-api.d.ts +16 -16
- package/lib/generated-client/api/hls-segment-api.js +198 -358
- package/lib/generated-client/api/image-api.d.ts +124 -124
- package/lib/generated-client/api/image-api.js +2914 -3568
- package/lib/generated-client/api/image-by-name-api.d.ts +19 -19
- package/lib/generated-client/api/image-by-name-api.js +206 -384
- package/lib/generated-client/api/instant-mix-api.d.ts +25 -25
- package/lib/generated-client/api/instant-mix-api.js +450 -682
- package/lib/generated-client/api/item-lookup-api.d.ts +34 -34
- package/lib/generated-client/api/item-lookup-api.js +393 -679
- package/lib/generated-client/api/item-refresh-api.d.ts +4 -4
- package/lib/generated-client/api/item-refresh-api.js +59 -165
- package/lib/generated-client/api/item-update-api.d.ts +10 -10
- package/lib/generated-client/api/item-update-api.js +120 -262
- package/lib/generated-client/api/items-api.d.ts +10 -10
- package/lib/generated-client/api/items-api.js +675 -818
- package/lib/generated-client/api/library-api.d.ts +76 -76
- package/lib/generated-client/api/library-api.js +939 -1485
- package/lib/generated-client/api/library-structure-api.d.ts +25 -25
- package/lib/generated-client/api/library-structure-api.js +305 -542
- package/lib/generated-client/api/live-tv-api.d.ts +124 -124
- package/lib/generated-client/api/live-tv-api.js +1674 -2509
- package/lib/generated-client/api/localization-api.d.ts +13 -13
- package/lib/generated-client/api/localization-api.js +134 -294
- package/lib/generated-client/api/media-info-api.d.ts +16 -16
- package/lib/generated-client/api/media-info-api.js +262 -442
- package/lib/generated-client/api/movies-api.d.ts +4 -4
- package/lib/generated-client/api/movies-api.js +59 -166
- package/lib/generated-client/api/music-genres-api.d.ts +7 -7
- package/lib/generated-client/api/music-genres-api.js +134 -259
- package/lib/generated-client/api/notifications-api.d.ts +22 -22
- package/lib/generated-client/api/notifications-api.js +240 -454
- package/lib/generated-client/api/package-api.d.ts +19 -19
- package/lib/generated-client/api/package-api.js +219 -415
- package/lib/generated-client/api/persons-api.d.ts +7 -7
- package/lib/generated-client/api/persons-api.js +119 -244
- package/lib/generated-client/api/playlists-api.d.ts +16 -16
- package/lib/generated-client/api/playlists-api.js +231 -410
- package/lib/generated-client/api/playstate-api.d.ts +28 -28
- package/lib/generated-client/api/playstate-api.js +399 -652
- package/lib/generated-client/api/plugins-api.d.ts +28 -28
- package/lib/generated-client/api/plugins-api.js +320 -570
- package/lib/generated-client/api/quick-connect-api.d.ts +13 -13
- package/lib/generated-client/api/quick-connect-api.js +138 -280
- package/lib/generated-client/api/remote-image-api.d.ts +10 -10
- package/lib/generated-client/api/remote-image-api.js +136 -278
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +16 -16
- package/lib/generated-client/api/scheduled-tasks-api.js +186 -365
- package/lib/generated-client/api/search-api.d.ts +4 -4
- package/lib/generated-client/api/search-api.js +100 -206
- package/lib/generated-client/api/session-api.d.ts +49 -49
- package/lib/generated-client/api/session-api.js +632 -1010
- package/lib/generated-client/api/startup-api.d.ts +22 -22
- package/lib/generated-client/api/startup-api.js +234 -449
- package/lib/generated-client/api/studios-api.d.ts +7 -7
- package/lib/generated-client/api/studios-api.js +131 -256
- package/lib/generated-client/api/subtitle-api.d.ts +31 -31
- package/lib/generated-client/api/subtitle-api.js +433 -689
- package/lib/generated-client/api/suggestions-api.d.ts +4 -4
- package/lib/generated-client/api/suggestions-api.js +62 -168
- package/lib/generated-client/api/sync-play-api.d.ts +64 -64
- package/lib/generated-client/api/sync-play-api.js +708 -1174
- package/lib/generated-client/api/system-api.d.ts +31 -31
- package/lib/generated-client/api/system-api.js +313 -563
- package/lib/generated-client/api/time-sync-api.d.ts +4 -4
- package/lib/generated-client/api/time-sync-api.js +42 -142
- package/lib/generated-client/api/tmdb-api.d.ts +4 -4
- package/lib/generated-client/api/tmdb-api.js +44 -150
- package/lib/generated-client/api/trailers-api.d.ts +4 -4
- package/lib/generated-client/api/trailers-api.js +304 -411
- package/lib/generated-client/api/tv-shows-api.d.ts +13 -13
- package/lib/generated-client/api/tv-shows-api.js +280 -442
- package/lib/generated-client/api/universal-audio-api.d.ts +7 -7
- package/lib/generated-client/api/universal-audio-api.js +182 -306
- package/lib/generated-client/api/user-api.d.ts +49 -49
- package/lib/generated-client/api/user-api.js +560 -901
- package/lib/generated-client/api/user-library-api.d.ts +31 -31
- package/lib/generated-client/api/user-library-api.js +401 -669
- package/lib/generated-client/api/user-views-api.d.ts +7 -7
- package/lib/generated-client/api/user-views-api.js +89 -213
- package/lib/generated-client/api/video-attachments-api.d.ts +4 -4
- package/lib/generated-client/api/video-attachments-api.js +51 -151
- package/lib/generated-client/api/videos-api.d.ts +22 -22
- package/lib/generated-client/api/videos-api.js +842 -1032
- package/lib/generated-client/api/years-api.d.ts +7 -7
- package/lib/generated-client/api/years-api.js +125 -250
- package/lib/generated-client/base.d.ts +2 -2
- package/lib/generated-client/base.js +14 -64
- package/lib/generated-client/common.d.ts +2 -2
- package/lib/generated-client/common.js +28 -184
- package/lib/generated-client/configuration.js +8 -12
- package/lib/generated-client/index.js +136 -31
- package/lib/generated-client/models/access-schedule.d.ts +5 -5
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry.d.ts +10 -10
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/admin-notification-dto.d.ts +4 -4
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/album-info.d.ts +14 -14
- package/lib/generated-client/models/all-theme-media-result.d.ts +3 -3
- package/lib/generated-client/models/architecture.d.ts +9 -8
- package/lib/generated-client/models/architecture.js +10 -12
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/artist-info.d.ts +12 -12
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-info.d.ts +12 -12
- package/lib/generated-client/models/authentication-result.d.ts +4 -4
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +13 -13
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +151 -151
- package/lib/generated-client/models/base-item-kind.d.ts +40 -39
- package/lib/generated-client/models/base-item-kind.js +41 -43
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -13
- package/lib/generated-client/models/base-item-person.d.ts +6 -6
- package/lib/generated-client/models/base-item.d.ts +11 -11
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/book-info.d.ts +12 -12
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/box-set-info.d.ts +11 -11
- package/lib/generated-client/models/branding-options.d.ts +3 -3
- package/lib/generated-client/models/buffer-request-dto.d.ts +4 -4
- package/lib/generated-client/models/channel-features.d.ts +12 -12
- package/lib/generated-client/models/channel-item-sort-field.d.ts +10 -9
- package/lib/generated-client/models/channel-item-sort-field.js +11 -13
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +4 -4
- package/lib/generated-client/models/channel-media-content-type.d.ts +11 -10
- package/lib/generated-client/models/channel-media-content-type.js +12 -14
- package/lib/generated-client/models/channel-media-type.d.ts +6 -5
- package/lib/generated-client/models/channel-media-type.js +7 -9
- package/lib/generated-client/models/channel-type.d.ts +5 -4
- package/lib/generated-client/models/channel-type.js +6 -8
- package/lib/generated-client/models/chapter-info.d.ts +5 -5
- package/lib/generated-client/models/client-capabilities-dto.d.ts +10 -10
- package/lib/generated-client/models/client-capabilities.d.ts +10 -10
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +1 -1
- package/lib/generated-client/models/codec-profile.d.ts +5 -5
- package/lib/generated-client/models/codec-type.d.ts +6 -5
- package/lib/generated-client/models/codec-type.js +7 -9
- package/lib/generated-client/models/collection-creation-result.d.ts +1 -1
- package/lib/generated-client/models/collection-type-options.d.ts +11 -10
- package/lib/generated-client/models/collection-type-options.js +12 -14
- package/lib/generated-client/models/config-image-types.d.ts +7 -7
- package/lib/generated-client/models/configuration-page-info.d.ts +6 -6
- package/lib/generated-client/models/container-profile.d.ts +3 -3
- package/lib/generated-client/models/control-response.d.ts +3 -3
- package/lib/generated-client/models/country-info.d.ts +4 -4
- package/lib/generated-client/models/create-playlist-dto.d.ts +4 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +2 -2
- package/lib/generated-client/models/culture-dto.d.ts +5 -5
- package/lib/generated-client/models/day-of-week.d.ts +10 -9
- package/lib/generated-client/models/day-of-week.js +11 -13
- package/lib/generated-client/models/day-pattern.d.ts +6 -5
- package/lib/generated-client/models/day-pattern.js +7 -9
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +1 -1
- package/lib/generated-client/models/device-identification.d.ts +9 -9
- package/lib/generated-client/models/device-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/device-info.d.ts +10 -10
- package/lib/generated-client/models/device-options-dto.d.ts +3 -3
- package/lib/generated-client/models/device-options.d.ts +3 -3
- package/lib/generated-client/models/device-profile-info.d.ts +3 -3
- package/lib/generated-client/models/device-profile-type.d.ts +5 -4
- package/lib/generated-client/models/device-profile-type.js +6 -8
- package/lib/generated-client/models/device-profile.d.ts +39 -39
- package/lib/generated-client/models/direct-play-profile.d.ts +4 -4
- package/lib/generated-client/models/display-preferences-dto.d.ts +14 -14
- package/lib/generated-client/models/dlna-options.d.ts +11 -11
- package/lib/generated-client/models/dlna-profile-type.d.ts +7 -6
- package/lib/generated-client/models/dlna-profile-type.js +8 -10
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +13 -12
- package/lib/generated-client/models/dynamic-day-of-week.js +14 -16
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +7 -6
- package/lib/generated-client/models/embedded-subtitle-options.js +8 -10
- package/lib/generated-client/models/encoding-context.d.ts +5 -4
- package/lib/generated-client/models/encoding-context.js +6 -8
- package/lib/generated-client/models/encoding-options.d.ts +38 -38
- package/lib/generated-client/models/end-point-info.d.ts +2 -2
- package/lib/generated-client/models/external-id-info.d.ts +4 -4
- package/lib/generated-client/models/external-id-media-type.d.ts +15 -14
- package/lib/generated-client/models/external-id-media-type.js +16 -18
- package/lib/generated-client/models/external-url.d.ts +2 -2
- package/lib/generated-client/models/ffmpeg-location.d.ts +7 -6
- package/lib/generated-client/models/ffmpeg-location.js +8 -10
- package/lib/generated-client/models/file-system-entry-info.d.ts +3 -3
- package/lib/generated-client/models/file-system-entry-type.d.ts +7 -6
- package/lib/generated-client/models/file-system-entry-type.js +8 -10
- package/lib/generated-client/models/font-file.d.ts +4 -4
- package/lib/generated-client/models/forgot-password-action.d.ts +6 -5
- package/lib/generated-client/models/forgot-password-action.js +7 -9
- package/lib/generated-client/models/forgot-password-dto.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +3 -3
- package/lib/generated-client/models/general-command-type.d.ts +45 -44
- package/lib/generated-client/models/general-command-type.js +46 -48
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +27 -27
- package/lib/generated-client/models/group-info-dto.d.ts +5 -5
- package/lib/generated-client/models/group-queue-mode.d.ts +5 -4
- package/lib/generated-client/models/group-queue-mode.js +6 -8
- package/lib/generated-client/models/group-repeat-mode.d.ts +6 -5
- package/lib/generated-client/models/group-repeat-mode.js +7 -9
- package/lib/generated-client/models/group-shuffle-mode.d.ts +5 -4
- package/lib/generated-client/models/group-shuffle-mode.js +6 -8
- package/lib/generated-client/models/group-state-type.d.ts +7 -6
- package/lib/generated-client/models/group-state-type.js +8 -10
- package/lib/generated-client/models/group-update-type.d.ts +14 -13
- package/lib/generated-client/models/group-update-type.js +15 -17
- package/lib/generated-client/models/guide-info.d.ts +2 -2
- package/lib/generated-client/models/hardware-encoding-type.d.ts +9 -8
- package/lib/generated-client/models/hardware-encoding-type.js +10 -12
- package/lib/generated-client/models/header-match-type.d.ts +6 -5
- package/lib/generated-client/models/header-match-type.js +7 -9
- package/lib/generated-client/models/http-header-info.d.ts +3 -3
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +1 -1
- package/lib/generated-client/models/image-by-name-info.d.ts +5 -5
- package/lib/generated-client/models/image-format.d.ts +8 -7
- package/lib/generated-client/models/image-format.js +9 -11
- package/lib/generated-client/models/image-info.d.ts +8 -8
- package/lib/generated-client/models/image-option.d.ts +3 -3
- package/lib/generated-client/models/image-orientation.d.ts +11 -10
- package/lib/generated-client/models/image-orientation.js +12 -14
- package/lib/generated-client/models/image-provider-info.d.ts +2 -2
- package/lib/generated-client/models/image-saving-convention.d.ts +5 -4
- package/lib/generated-client/models/image-saving-convention.js +6 -8
- package/lib/generated-client/models/image-type.d.ts +16 -15
- package/lib/generated-client/models/image-type.js +17 -19
- package/lib/generated-client/models/index.d.ts +1 -0
- package/lib/generated-client/models/index.js +74 -300
- package/lib/generated-client/models/installation-info.d.ts +7 -7
- package/lib/generated-client/models/iplugin.d.ts +7 -7
- package/lib/generated-client/models/iso-type.d.ts +5 -4
- package/lib/generated-client/models/iso-type.js +6 -8
- package/lib/generated-client/models/item-counts.d.ts +12 -12
- package/lib/generated-client/models/item-fields.d.ts +64 -63
- package/lib/generated-client/models/item-fields.js +65 -67
- package/lib/generated-client/models/item-filter.d.ts +12 -11
- package/lib/generated-client/models/item-filter.js +13 -15
- package/lib/generated-client/models/join-group-request-dto.d.ts +1 -1
- package/lib/generated-client/models/keep-until.d.ts +7 -6
- package/lib/generated-client/models/keep-until.js +8 -10
- package/lib/generated-client/models/library-option-info-dto.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +4 -4
- package/lib/generated-client/models/library-options.d.ts +27 -27
- package/lib/generated-client/models/library-type-options-dto.d.ts +5 -5
- package/lib/generated-client/models/library-update-info.d.ts +7 -7
- package/lib/generated-client/models/listings-provider-info.d.ts +18 -18
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +3 -3
- package/lib/generated-client/models/live-tv-options.d.ts +13 -13
- package/lib/generated-client/models/live-tv-service-info.d.ts +8 -8
- package/lib/generated-client/models/live-tv-service-status.d.ts +5 -4
- package/lib/generated-client/models/live-tv-service-status.js +6 -8
- package/lib/generated-client/models/localization-option.d.ts +2 -2
- package/lib/generated-client/models/location-type.d.ts +7 -6
- package/lib/generated-client/models/location-type.js +8 -10
- package/lib/generated-client/models/log-file.d.ts +4 -4
- package/lib/generated-client/models/log-level.d.ts +10 -9
- package/lib/generated-client/models/log-level.js +11 -13
- package/lib/generated-client/models/media-attachment.d.ts +7 -7
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +3 -3
- package/lib/generated-client/models/media-path-info.d.ts +2 -2
- package/lib/generated-client/models/media-protocol.d.ts +10 -9
- package/lib/generated-client/models/media-protocol.js +11 -13
- package/lib/generated-client/models/media-source-info.d.ts +42 -42
- package/lib/generated-client/models/media-source-type.d.ts +6 -5
- package/lib/generated-client/models/media-source-type.js +7 -9
- package/lib/generated-client/models/media-stream-type.d.ts +8 -6
- package/lib/generated-client/models/media-stream-type.js +9 -10
- package/lib/generated-client/models/media-stream.d.ts +58 -58
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +2 -2
- package/lib/generated-client/models/media-url.d.ts +2 -2
- package/lib/generated-client/models/message-command.d.ts +3 -3
- package/lib/generated-client/models/metadata-configuration.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/metadata-field.d.ts +12 -11
- package/lib/generated-client/models/metadata-field.js +13 -15
- package/lib/generated-client/models/metadata-options.d.ts +7 -7
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +7 -6
- package/lib/generated-client/models/metadata-refresh-mode.js +8 -10
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +2 -2
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/movie-info.d.ts +11 -11
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/music-video-info.d.ts +12 -12
- package/lib/generated-client/models/name-guid-pair.d.ts +2 -2
- package/lib/generated-client/models/name-id-pair.d.ts +2 -2
- package/lib/generated-client/models/name-value-pair.d.ts +2 -2
- package/lib/generated-client/models/network-configuration.d.ts +34 -34
- package/lib/generated-client/models/new-group-request-dto.d.ts +1 -1
- package/lib/generated-client/models/next-item-request-dto.d.ts +1 -1
- package/lib/generated-client/models/notification-dto.d.ts +8 -8
- package/lib/generated-client/models/notification-level.d.ts +6 -5
- package/lib/generated-client/models/notification-level.js +7 -9
- package/lib/generated-client/models/notification-option.d.ts +6 -6
- package/lib/generated-client/models/notification-options.d.ts +1 -1
- package/lib/generated-client/models/notification-result-dto.d.ts +2 -2
- package/lib/generated-client/models/notification-type-info.d.ts +5 -5
- package/lib/generated-client/models/notifications-summary-dto.d.ts +2 -2
- package/lib/generated-client/models/object-group-update.d.ts +3 -3
- package/lib/generated-client/models/open-live-stream-dto.d.ts +13 -13
- package/lib/generated-client/models/package-info.d.ts +8 -8
- package/lib/generated-client/models/parental-rating.d.ts +2 -2
- package/lib/generated-client/models/path-substitution.d.ts +2 -2
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/person-lookup-info.d.ts +11 -11
- package/lib/generated-client/models/pin-redeem-result.d.ts +2 -2
- package/lib/generated-client/models/ping-request-dto.d.ts +1 -1
- package/lib/generated-client/models/play-access.d.ts +5 -4
- package/lib/generated-client/models/play-access.js +6 -8
- package/lib/generated-client/models/play-command.d.ts +8 -7
- package/lib/generated-client/models/play-command.js +9 -11
- package/lib/generated-client/models/play-method.d.ts +6 -5
- package/lib/generated-client/models/play-method.js +7 -9
- package/lib/generated-client/models/play-request-dto.d.ts +3 -3
- package/lib/generated-client/models/play-request.d.ts +8 -8
- package/lib/generated-client/models/playback-error-code.d.ts +6 -5
- package/lib/generated-client/models/playback-error-code.js +7 -9
- package/lib/generated-client/models/playback-info-dto.d.ts +15 -15
- package/lib/generated-client/models/playback-info-response.d.ts +3 -3
- package/lib/generated-client/models/playback-progress-info.d.ts +20 -20
- package/lib/generated-client/models/playback-start-info.d.ts +20 -20
- package/lib/generated-client/models/playback-stop-info.d.ts +11 -11
- package/lib/generated-client/models/player-state-info.d.ts +11 -11
- package/lib/generated-client/models/playlist-creation-result.d.ts +1 -1
- package/lib/generated-client/models/playstate-command.d.ts +12 -11
- package/lib/generated-client/models/playstate-command.js +13 -15
- package/lib/generated-client/models/playstate-request.d.ts +3 -3
- package/lib/generated-client/models/plugin-info.d.ts +8 -8
- package/lib/generated-client/models/plugin-status.d.ts +10 -9
- package/lib/generated-client/models/plugin-status.js +11 -13
- package/lib/generated-client/models/previous-item-request-dto.d.ts +1 -1
- package/lib/generated-client/models/problem-details.d.ts +5 -5
- package/lib/generated-client/models/profile-condition-type.d.ts +8 -7
- package/lib/generated-client/models/profile-condition-type.js +9 -11
- package/lib/generated-client/models/profile-condition-value.d.ts +27 -26
- package/lib/generated-client/models/profile-condition-value.js +28 -30
- package/lib/generated-client/models/profile-condition.d.ts +4 -4
- package/lib/generated-client/models/program-audio.d.ts +9 -8
- package/lib/generated-client/models/program-audio.js +10 -12
- package/lib/generated-client/models/public-system-info.d.ts +7 -7
- package/lib/generated-client/models/query-filters-legacy.d.ts +4 -4
- package/lib/generated-client/models/query-filters.d.ts +2 -2
- package/lib/generated-client/models/queue-item.d.ts +2 -2
- package/lib/generated-client/models/queue-request-dto.d.ts +2 -2
- package/lib/generated-client/models/quick-connect-dto.d.ts +1 -1
- package/lib/generated-client/models/quick-connect-result.d.ts +8 -8
- package/lib/generated-client/models/rating-type.d.ts +5 -4
- package/lib/generated-client/models/rating-type.js +6 -8
- package/lib/generated-client/models/ready-request-dto.d.ts +4 -4
- package/lib/generated-client/models/recommendation-dto.d.ts +4 -4
- package/lib/generated-client/models/recommendation-type.d.ts +9 -8
- package/lib/generated-client/models/recommendation-type.js +10 -12
- package/lib/generated-client/models/recording-status.d.ts +10 -9
- package/lib/generated-client/models/recording-status.js +11 -13
- package/lib/generated-client/models/remote-image-info.d.ts +10 -10
- package/lib/generated-client/models/remote-image-result.d.ts +3 -3
- package/lib/generated-client/models/remote-search-result.d.ts +12 -12
- package/lib/generated-client/models/remote-subtitle-info.d.ts +11 -11
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +3 -3
- package/lib/generated-client/models/repeat-mode.d.ts +6 -5
- package/lib/generated-client/models/repeat-mode.js +7 -9
- package/lib/generated-client/models/repository-info.d.ts +3 -3
- package/lib/generated-client/models/response-profile.d.ts +7 -7
- package/lib/generated-client/models/scroll-direction.d.ts +5 -4
- package/lib/generated-client/models/scroll-direction.js +6 -8
- package/lib/generated-client/models/search-hint-result.d.ts +2 -2
- package/lib/generated-client/models/search-hint.d.ts +29 -29
- package/lib/generated-client/models/seek-request-dto.d.ts +1 -1
- package/lib/generated-client/models/send-command-type.d.ts +7 -6
- package/lib/generated-client/models/send-command-type.js +8 -10
- package/lib/generated-client/models/send-command.d.ts +6 -6
- package/lib/generated-client/models/send-to-user-type.d.ts +6 -5
- package/lib/generated-client/models/send-to-user-type.js +7 -9
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/series-info.d.ts +11 -11
- package/lib/generated-client/models/series-status.d.ts +5 -4
- package/lib/generated-client/models/series-status.js +6 -8
- 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 +35 -35
- package/lib/generated-client/models/server-configuration.d.ts +48 -48
- package/lib/generated-client/models/server-discovery-info.d.ts +4 -4
- package/lib/generated-client/models/session-info.d.ts +29 -29
- package/lib/generated-client/models/session-message-type.d.ts +37 -36
- package/lib/generated-client/models/session-message-type.js +38 -40
- package/lib/generated-client/models/session-user-info.d.ts +2 -2
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +3 -3
- package/lib/generated-client/models/set-playlist-item-request-dto.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 +14 -14
- package/lib/generated-client/models/sort-order.d.ts +5 -4
- package/lib/generated-client/models/sort-order.js +6 -8
- package/lib/generated-client/models/special-view-option-dto.d.ts +2 -2
- package/lib/generated-client/models/startup-configuration-dto.d.ts +3 -3
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +2 -2
- package/lib/generated-client/models/startup-user-dto.d.ts +2 -2
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +8 -7
- package/lib/generated-client/models/subtitle-delivery-method.js +9 -11
- package/lib/generated-client/models/subtitle-options.d.ts +9 -9
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +8 -7
- package/lib/generated-client/models/subtitle-playback-mode.js +9 -11
- package/lib/generated-client/models/subtitle-profile.d.ts +5 -5
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +6 -5
- package/lib/generated-client/models/sync-play-user-access-type.js +7 -9
- package/lib/generated-client/models/system-info.d.ts +26 -26
- package/lib/generated-client/models/task-completion-status.d.ts +7 -6
- package/lib/generated-client/models/task-completion-status.js +8 -10
- package/lib/generated-client/models/task-info.d.ts +10 -10
- package/lib/generated-client/models/task-result.d.ts +8 -8
- package/lib/generated-client/models/task-state.d.ts +6 -5
- package/lib/generated-client/models/task-state.js +7 -9
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -5
- package/lib/generated-client/models/theme-media-result.d.ts +4 -4
- package/lib/generated-client/models/timer-event-info.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 +28 -28
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/trailer-info.d.ts +11 -11
- package/lib/generated-client/models/transcode-reason.d.ts +43 -0
- package/lib/generated-client/models/transcode-reason.js +46 -0
- package/lib/generated-client/models/transcode-seek-info.d.ts +5 -4
- package/lib/generated-client/models/transcode-seek-info.js +6 -8
- package/lib/generated-client/models/transcoding-info.d.ts +15 -45
- package/lib/generated-client/models/transcoding-profile.d.ts +16 -16
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +6 -5
- package/lib/generated-client/models/transport-stream-timestamp.js +7 -9
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +4 -4
- package/lib/generated-client/models/tuner-host-info.d.ts +11 -11
- package/lib/generated-client/models/type-options.d.ts +6 -6
- package/lib/generated-client/models/unrated-item.d.ts +12 -11
- package/lib/generated-client/models/unrated-item.js +13 -15
- package/lib/generated-client/models/update-library-options-dto.d.ts +2 -2
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +2 -2
- package/lib/generated-client/models/update-user-easy-password.d.ts +3 -3
- package/lib/generated-client/models/update-user-password.d.ts +4 -4
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +4 -4
- package/lib/generated-client/models/user-configuration.d.ts +15 -15
- package/lib/generated-client/models/user-dto.d.ts +14 -14
- package/lib/generated-client/models/user-item-data-dto.d.ts +11 -11
- package/lib/generated-client/models/user-policy.d.ts +39 -39
- package/lib/generated-client/models/utc-time-response.d.ts +2 -2
- package/lib/generated-client/models/validate-path-dto.d.ts +3 -3
- package/lib/generated-client/models/version-info.d.ts +9 -9
- package/lib/generated-client/models/video-type.d.ts +7 -6
- package/lib/generated-client/models/video-type.js +8 -10
- package/lib/generated-client/models/video3-dformat.d.ts +8 -7
- package/lib/generated-client/models/video3-dformat.js +9 -11
- package/lib/generated-client/models/virtual-folder-info.d.ts +8 -8
- package/lib/generated-client/models/wake-on-lan-info.d.ts +2 -2
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +5 -5
- package/lib/generated-client/models/xml-attribute.d.ts +2 -2
- package/lib/index.js +9 -39
- package/lib/jellyfin.d.ts +5 -7
- package/lib/jellyfin.js +12 -18
- package/lib/models/api/image-request-parameters.d.ts +1 -1
- package/lib/models/api/index.js +1 -23
- package/lib/models/api/item-sort-by.js +3 -4
- package/lib/models/index.js +2 -25
- package/lib/models/recommended-server-info.d.ts +2 -2
- package/lib/models/recommended-server-info.js +3 -4
- package/lib/models/recommended-server-issue.js +31 -77
- package/lib/node_modules/tslib/tslib.es6.js +26 -0
- package/lib/utils/address-candidates.js +30 -30
- package/lib/utils/api/activity-log-api.d.ts +1 -1
- package/lib/utils/api/activity-log-api.js +5 -6
- package/lib/utils/api/api-key-api.d.ts +1 -1
- package/lib/utils/api/api-key-api.js +5 -6
- package/lib/utils/api/artists-api.d.ts +1 -1
- package/lib/utils/api/artists-api.js +5 -6
- package/lib/utils/api/audio-api.d.ts +1 -1
- package/lib/utils/api/audio-api.js +5 -6
- package/lib/utils/api/branding-api.d.ts +1 -1
- package/lib/utils/api/branding-api.js +5 -6
- package/lib/utils/api/channels-api.d.ts +1 -1
- package/lib/utils/api/channels-api.js +5 -6
- package/lib/utils/api/client-log-api.d.ts +1 -1
- package/lib/utils/api/client-log-api.js +5 -6
- package/lib/utils/api/collection-api.d.ts +1 -1
- package/lib/utils/api/collection-api.js +5 -6
- package/lib/utils/api/configuration-api.d.ts +1 -1
- package/lib/utils/api/configuration-api.js +5 -6
- package/lib/utils/api/dashboard-api.d.ts +1 -1
- package/lib/utils/api/dashboard-api.js +5 -6
- package/lib/utils/api/devices-api.d.ts +1 -1
- package/lib/utils/api/devices-api.js +5 -6
- package/lib/utils/api/display-preferences-api.d.ts +1 -1
- package/lib/utils/api/display-preferences-api.js +5 -6
- package/lib/utils/api/dlna-api.d.ts +1 -1
- package/lib/utils/api/dlna-api.js +5 -6
- package/lib/utils/api/dlna-server-api.d.ts +1 -1
- package/lib/utils/api/dlna-server-api.js +5 -6
- package/lib/utils/api/dynamic-hls-api.d.ts +1 -1
- package/lib/utils/api/dynamic-hls-api.js +5 -6
- package/lib/utils/api/environment-api.d.ts +1 -1
- package/lib/utils/api/environment-api.js +5 -6
- package/lib/utils/api/filter-api.d.ts +1 -1
- package/lib/utils/api/filter-api.js +5 -6
- package/lib/utils/api/genres-api.d.ts +1 -1
- package/lib/utils/api/genres-api.js +5 -6
- package/lib/utils/api/hls-segment-api.d.ts +1 -1
- package/lib/utils/api/hls-segment-api.js +5 -6
- package/lib/utils/api/image-api.d.ts +1 -1
- package/lib/utils/api/image-api.js +5 -6
- package/lib/utils/api/image-by-name-api.d.ts +1 -1
- package/lib/utils/api/image-by-name-api.js +5 -6
- package/lib/utils/api/index.d.ts +66 -0
- package/lib/utils/api/index.js +61 -0
- package/lib/utils/api/instant-mix-api.d.ts +1 -1
- package/lib/utils/api/instant-mix-api.js +5 -6
- package/lib/utils/api/item-lookup-api.d.ts +1 -1
- package/lib/utils/api/item-lookup-api.js +5 -6
- package/lib/utils/api/item-refresh-api.d.ts +1 -1
- package/lib/utils/api/item-refresh-api.js +5 -6
- package/lib/utils/api/item-update-api.d.ts +1 -1
- package/lib/utils/api/item-update-api.js +5 -6
- package/lib/utils/api/items-api.d.ts +1 -1
- package/lib/utils/api/items-api.js +5 -6
- package/lib/utils/api/library-api.d.ts +1 -1
- package/lib/utils/api/library-api.js +5 -6
- package/lib/utils/api/library-structure-api.d.ts +1 -1
- package/lib/utils/api/library-structure-api.js +5 -6
- package/lib/utils/api/live-tv-api.d.ts +1 -1
- package/lib/utils/api/live-tv-api.js +5 -6
- package/lib/utils/api/localization-api.d.ts +1 -1
- package/lib/utils/api/localization-api.js +5 -6
- package/lib/utils/api/media-info-api.d.ts +1 -1
- package/lib/utils/api/media-info-api.js +5 -6
- package/lib/utils/api/movies-api.d.ts +1 -1
- package/lib/utils/api/movies-api.js +5 -6
- package/lib/utils/api/music-genres-api.d.ts +1 -1
- package/lib/utils/api/music-genres-api.js +5 -6
- package/lib/utils/api/notifications-api.d.ts +1 -1
- package/lib/utils/api/notifications-api.js +5 -6
- package/lib/utils/api/package-api.d.ts +1 -1
- package/lib/utils/api/package-api.js +5 -6
- package/lib/utils/api/persons-api.d.ts +1 -1
- package/lib/utils/api/persons-api.js +5 -6
- package/lib/utils/api/playlists-api.d.ts +1 -1
- package/lib/utils/api/playlists-api.js +5 -6
- package/lib/utils/api/playstate-api.d.ts +1 -1
- package/lib/utils/api/playstate-api.js +5 -6
- package/lib/utils/api/plugins-api.d.ts +1 -1
- package/lib/utils/api/plugins-api.js +5 -6
- package/lib/utils/api/quick-connect-api.d.ts +1 -1
- package/lib/utils/api/quick-connect-api.js +5 -6
- package/lib/utils/api/remote-image-api.d.ts +1 -1
- package/lib/utils/api/remote-image-api.js +5 -6
- package/lib/utils/api/scheduled-tasks-api.d.ts +1 -1
- package/lib/utils/api/scheduled-tasks-api.js +5 -6
- package/lib/utils/api/search-api.d.ts +1 -1
- package/lib/utils/api/search-api.js +5 -6
- package/lib/utils/api/session-api.d.ts +1 -1
- package/lib/utils/api/session-api.js +5 -6
- package/lib/utils/api/startup-api.d.ts +1 -1
- package/lib/utils/api/startup-api.js +5 -6
- package/lib/utils/api/studios-api.d.ts +1 -1
- package/lib/utils/api/studios-api.js +5 -6
- package/lib/utils/api/subtitle-api.d.ts +1 -1
- package/lib/utils/api/subtitle-api.js +5 -6
- package/lib/utils/api/suggestions-api.d.ts +1 -1
- package/lib/utils/api/suggestions-api.js +5 -6
- package/lib/utils/api/sync-play-api.d.ts +1 -1
- package/lib/utils/api/sync-play-api.js +5 -6
- package/lib/utils/api/system-api.d.ts +1 -1
- package/lib/utils/api/system-api.js +5 -6
- package/lib/utils/api/time-sync-api.d.ts +1 -1
- package/lib/utils/api/time-sync-api.js +5 -6
- package/lib/utils/api/tmdb-api.d.ts +1 -1
- package/lib/utils/api/tmdb-api.js +5 -6
- package/lib/utils/api/trailers-api.d.ts +1 -1
- package/lib/utils/api/trailers-api.js +5 -6
- package/lib/utils/api/tv-shows-api.d.ts +1 -1
- package/lib/utils/api/tv-shows-api.js +5 -6
- package/lib/utils/api/universal-audio-api.d.ts +1 -1
- package/lib/utils/api/universal-audio-api.js +5 -6
- package/lib/utils/api/user-api.d.ts +1 -1
- package/lib/utils/api/user-api.js +5 -6
- package/lib/utils/api/user-library-api.d.ts +1 -1
- package/lib/utils/api/user-library-api.js +5 -6
- package/lib/utils/api/user-views-api.d.ts +1 -1
- package/lib/utils/api/user-views-api.js +5 -6
- package/lib/utils/api/video-attachments-api.d.ts +1 -1
- package/lib/utils/api/video-attachments-api.js +5 -6
- package/lib/utils/api/videos-api.d.ts +1 -1
- package/lib/utils/api/videos-api.js +5 -6
- package/lib/utils/api/years-api.d.ts +1 -1
- package/lib/utils/api/years-api.js +5 -6
- package/lib/utils/authentication.d.ts +1 -1
- package/lib/utils/authentication.js +8 -11
- package/lib/utils/browser-profiles.d.ts +1 -1
- package/lib/utils/browser-profiles.js +11 -12
- package/lib/utils/index.js +6 -20
- package/lib/utils/url/constants.d.ts +13 -0
- package/lib/utils/url/constants.js +15 -0
- package/lib/utils/{url.d.ts → url/index.d.ts} +2 -8
- package/lib/utils/url/index.js +41 -0
- package/lib/utils/{normalize-url.js → url/normalize-url.js} +16 -16
- package/lib/{models/api/image-request-parameters.js → versions.d.ts} +4 -2
- package/lib/{models/client-info.js → versions.js} +6 -2
- package/package.json +21 -17
- package/.gitattributes +0 -5
- package/lib/generated-client/api.js +0 -89
- package/lib/generated-client/models/access-schedule.js +0 -14
- package/lib/generated-client/models/activity-log-entry-query-result.js +0 -14
- package/lib/generated-client/models/activity-log-entry.js +0 -14
- package/lib/generated-client/models/add-virtual-folder-dto.js +0 -14
- package/lib/generated-client/models/admin-notification-dto.js +0 -14
- package/lib/generated-client/models/album-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/album-info.js +0 -14
- package/lib/generated-client/models/all-theme-media-result.js +0 -14
- package/lib/generated-client/models/artist-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/artist-info.js +0 -14
- package/lib/generated-client/models/authenticate-user-by-name.js +0 -14
- package/lib/generated-client/models/authentication-info-query-result.js +0 -14
- package/lib/generated-client/models/authentication-info.js +0 -14
- package/lib/generated-client/models/authentication-result.js +0 -14
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +0 -14
- package/lib/generated-client/models/base-item-dto-query-result.js +0 -14
- package/lib/generated-client/models/base-item-dto.js +0 -14
- package/lib/generated-client/models/base-item-person-image-blur-hashes.js +0 -14
- package/lib/generated-client/models/base-item-person.js +0 -14
- package/lib/generated-client/models/base-item.js +0 -14
- package/lib/generated-client/models/book-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/book-info.js +0 -14
- package/lib/generated-client/models/box-set-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/box-set-info.js +0 -14
- package/lib/generated-client/models/branding-options.js +0 -14
- package/lib/generated-client/models/buffer-request-dto.js +0 -14
- package/lib/generated-client/models/channel-features.js +0 -14
- package/lib/generated-client/models/channel-mapping-options-dto.js +0 -14
- package/lib/generated-client/models/chapter-info.js +0 -14
- package/lib/generated-client/models/client-capabilities-dto.js +0 -14
- package/lib/generated-client/models/client-capabilities.js +0 -14
- package/lib/generated-client/models/client-log-document-response-dto.js +0 -14
- package/lib/generated-client/models/codec-profile.js +0 -14
- package/lib/generated-client/models/collection-creation-result.js +0 -14
- package/lib/generated-client/models/config-image-types.js +0 -14
- package/lib/generated-client/models/configuration-page-info.js +0 -14
- package/lib/generated-client/models/container-profile.js +0 -14
- package/lib/generated-client/models/control-response.js +0 -14
- package/lib/generated-client/models/country-info.js +0 -14
- package/lib/generated-client/models/create-playlist-dto.js +0 -14
- package/lib/generated-client/models/create-user-by-name.js +0 -14
- package/lib/generated-client/models/culture-dto.js +0 -14
- package/lib/generated-client/models/default-directory-browser-info-dto.js +0 -14
- package/lib/generated-client/models/device-identification.js +0 -14
- package/lib/generated-client/models/device-info-query-result.js +0 -14
- package/lib/generated-client/models/device-info.js +0 -14
- package/lib/generated-client/models/device-options-dto.js +0 -14
- package/lib/generated-client/models/device-options.js +0 -14
- package/lib/generated-client/models/device-profile-info.js +0 -14
- package/lib/generated-client/models/device-profile.js +0 -14
- package/lib/generated-client/models/direct-play-profile.js +0 -14
- package/lib/generated-client/models/display-preferences-dto.js +0 -14
- package/lib/generated-client/models/dlna-options.js +0 -14
- package/lib/generated-client/models/encoding-options.js +0 -14
- package/lib/generated-client/models/end-point-info.js +0 -14
- package/lib/generated-client/models/external-id-info.js +0 -14
- package/lib/generated-client/models/external-url.js +0 -14
- package/lib/generated-client/models/file-system-entry-info.js +0 -14
- package/lib/generated-client/models/font-file.js +0 -14
- package/lib/generated-client/models/forgot-password-dto.js +0 -14
- package/lib/generated-client/models/forgot-password-pin-dto.js +0 -14
- package/lib/generated-client/models/forgot-password-result.js +0 -14
- package/lib/generated-client/models/general-command.js +0 -14
- package/lib/generated-client/models/get-programs-dto.js +0 -14
- package/lib/generated-client/models/group-info-dto.js +0 -14
- package/lib/generated-client/models/guide-info.js +0 -14
- package/lib/generated-client/models/http-header-info.js +0 -14
- package/lib/generated-client/models/ignore-wait-request-dto.js +0 -14
- package/lib/generated-client/models/image-by-name-info.js +0 -14
- package/lib/generated-client/models/image-info.js +0 -14
- package/lib/generated-client/models/image-option.js +0 -14
- package/lib/generated-client/models/image-provider-info.js +0 -14
- package/lib/generated-client/models/installation-info.js +0 -14
- package/lib/generated-client/models/iplugin.js +0 -14
- package/lib/generated-client/models/item-counts.js +0 -14
- package/lib/generated-client/models/join-group-request-dto.js +0 -14
- package/lib/generated-client/models/library-option-info-dto.js +0 -14
- package/lib/generated-client/models/library-options-result-dto.js +0 -14
- package/lib/generated-client/models/library-options.js +0 -14
- package/lib/generated-client/models/library-type-options-dto.js +0 -14
- package/lib/generated-client/models/library-update-info.js +0 -14
- package/lib/generated-client/models/listings-provider-info.js +0 -14
- package/lib/generated-client/models/live-stream-response.js +0 -14
- package/lib/generated-client/models/live-tv-info.js +0 -14
- package/lib/generated-client/models/live-tv-options.js +0 -14
- package/lib/generated-client/models/live-tv-service-info.js +0 -14
- package/lib/generated-client/models/localization-option.js +0 -14
- package/lib/generated-client/models/log-file.js +0 -14
- package/lib/generated-client/models/media-attachment.js +0 -14
- package/lib/generated-client/models/media-encoder-path-dto.js +0 -14
- package/lib/generated-client/models/media-path-dto.js +0 -14
- package/lib/generated-client/models/media-path-info.js +0 -14
- package/lib/generated-client/models/media-source-info.js +0 -14
- package/lib/generated-client/models/media-stream.js +0 -14
- package/lib/generated-client/models/media-update-info-dto.js +0 -14
- package/lib/generated-client/models/media-update-info-path-dto.js +0 -14
- package/lib/generated-client/models/media-url.js +0 -14
- package/lib/generated-client/models/message-command.js +0 -14
- package/lib/generated-client/models/metadata-configuration.js +0 -14
- package/lib/generated-client/models/metadata-editor-info.js +0 -14
- package/lib/generated-client/models/metadata-options.js +0 -14
- package/lib/generated-client/models/move-playlist-item-request-dto.js +0 -14
- package/lib/generated-client/models/movie-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/movie-info.js +0 -14
- package/lib/generated-client/models/music-video-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/music-video-info.js +0 -14
- package/lib/generated-client/models/name-guid-pair.js +0 -14
- package/lib/generated-client/models/name-id-pair.js +0 -14
- package/lib/generated-client/models/name-value-pair.js +0 -14
- package/lib/generated-client/models/network-configuration.js +0 -14
- package/lib/generated-client/models/new-group-request-dto.js +0 -14
- package/lib/generated-client/models/next-item-request-dto.js +0 -14
- package/lib/generated-client/models/notification-dto.js +0 -14
- package/lib/generated-client/models/notification-option.js +0 -14
- package/lib/generated-client/models/notification-options.js +0 -14
- package/lib/generated-client/models/notification-result-dto.js +0 -14
- package/lib/generated-client/models/notification-type-info.js +0 -14
- package/lib/generated-client/models/notifications-summary-dto.js +0 -14
- package/lib/generated-client/models/object-group-update.js +0 -14
- package/lib/generated-client/models/open-live-stream-dto.js +0 -14
- package/lib/generated-client/models/package-info.js +0 -14
- package/lib/generated-client/models/parental-rating.js +0 -14
- package/lib/generated-client/models/path-substitution.js +0 -14
- package/lib/generated-client/models/person-lookup-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/person-lookup-info.js +0 -14
- package/lib/generated-client/models/pin-redeem-result.js +0 -14
- package/lib/generated-client/models/ping-request-dto.js +0 -14
- package/lib/generated-client/models/play-request-dto.js +0 -14
- package/lib/generated-client/models/play-request.js +0 -14
- package/lib/generated-client/models/playback-info-dto.js +0 -14
- package/lib/generated-client/models/playback-info-response.js +0 -14
- package/lib/generated-client/models/playback-progress-info.js +0 -14
- package/lib/generated-client/models/playback-start-info.js +0 -14
- package/lib/generated-client/models/playback-stop-info.js +0 -14
- package/lib/generated-client/models/player-state-info.js +0 -14
- package/lib/generated-client/models/playlist-creation-result.js +0 -14
- package/lib/generated-client/models/playstate-request.js +0 -14
- package/lib/generated-client/models/plugin-info.js +0 -14
- package/lib/generated-client/models/previous-item-request-dto.js +0 -14
- package/lib/generated-client/models/problem-details.js +0 -14
- package/lib/generated-client/models/profile-condition.js +0 -14
- package/lib/generated-client/models/public-system-info.js +0 -14
- package/lib/generated-client/models/query-filters-legacy.js +0 -14
- package/lib/generated-client/models/query-filters.js +0 -14
- package/lib/generated-client/models/queue-item.js +0 -14
- package/lib/generated-client/models/queue-request-dto.js +0 -14
- package/lib/generated-client/models/quick-connect-dto.js +0 -14
- package/lib/generated-client/models/quick-connect-result.js +0 -14
- package/lib/generated-client/models/ready-request-dto.js +0 -14
- package/lib/generated-client/models/recommendation-dto.js +0 -14
- package/lib/generated-client/models/remote-image-info.js +0 -14
- package/lib/generated-client/models/remote-image-result.js +0 -14
- package/lib/generated-client/models/remote-search-result.js +0 -14
- package/lib/generated-client/models/remote-subtitle-info.js +0 -14
- package/lib/generated-client/models/remove-from-playlist-request-dto.js +0 -14
- package/lib/generated-client/models/repository-info.js +0 -14
- package/lib/generated-client/models/response-profile.js +0 -14
- package/lib/generated-client/models/search-hint-result.js +0 -14
- package/lib/generated-client/models/search-hint.js +0 -14
- package/lib/generated-client/models/seek-request-dto.js +0 -14
- package/lib/generated-client/models/send-command.js +0 -14
- package/lib/generated-client/models/series-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/series-info.js +0 -14
- package/lib/generated-client/models/series-timer-info-dto-query-result.js +0 -14
- package/lib/generated-client/models/series-timer-info-dto.js +0 -14
- package/lib/generated-client/models/server-configuration.js +0 -14
- package/lib/generated-client/models/server-discovery-info.js +0 -14
- package/lib/generated-client/models/session-info.js +0 -14
- package/lib/generated-client/models/session-user-info.js +0 -14
- package/lib/generated-client/models/set-channel-mapping-dto.js +0 -14
- package/lib/generated-client/models/set-playlist-item-request-dto.js +0 -14
- package/lib/generated-client/models/set-repeat-mode-request-dto.js +0 -14
- package/lib/generated-client/models/set-shuffle-mode-request-dto.js +0 -14
- package/lib/generated-client/models/song-info.js +0 -14
- package/lib/generated-client/models/special-view-option-dto.js +0 -14
- package/lib/generated-client/models/startup-configuration-dto.js +0 -14
- package/lib/generated-client/models/startup-remote-access-dto.js +0 -14
- package/lib/generated-client/models/startup-user-dto.js +0 -14
- package/lib/generated-client/models/subtitle-options.js +0 -14
- package/lib/generated-client/models/subtitle-profile.js +0 -14
- package/lib/generated-client/models/system-info.js +0 -14
- package/lib/generated-client/models/task-info.js +0 -14
- package/lib/generated-client/models/task-result.js +0 -14
- package/lib/generated-client/models/task-trigger-info.js +0 -14
- package/lib/generated-client/models/theme-media-result.js +0 -14
- package/lib/generated-client/models/timer-event-info.js +0 -14
- package/lib/generated-client/models/timer-info-dto-query-result.js +0 -14
- package/lib/generated-client/models/timer-info-dto.js +0 -14
- package/lib/generated-client/models/trailer-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/trailer-info.js +0 -14
- package/lib/generated-client/models/transcoding-info.js +0 -47
- package/lib/generated-client/models/transcoding-profile.js +0 -14
- package/lib/generated-client/models/tuner-channel-mapping.js +0 -14
- package/lib/generated-client/models/tuner-host-info.js +0 -14
- package/lib/generated-client/models/type-options.js +0 -14
- package/lib/generated-client/models/update-library-options-dto.js +0 -14
- package/lib/generated-client/models/update-media-path-request-dto.js +0 -14
- package/lib/generated-client/models/update-user-easy-password.js +0 -14
- package/lib/generated-client/models/update-user-password.js +0 -14
- package/lib/generated-client/models/upload-subtitle-dto.js +0 -14
- package/lib/generated-client/models/user-configuration.js +0 -14
- package/lib/generated-client/models/user-dto.js +0 -14
- package/lib/generated-client/models/user-item-data-dto.js +0 -14
- package/lib/generated-client/models/user-policy.js +0 -14
- package/lib/generated-client/models/utc-time-response.js +0 -14
- package/lib/generated-client/models/validate-path-dto.js +0 -14
- package/lib/generated-client/models/version-info.js +0 -14
- package/lib/generated-client/models/virtual-folder-info.js +0 -14
- package/lib/generated-client/models/wake-on-lan-info.js +0 -14
- package/lib/generated-client/models/xbmc-metadata-options.js +0 -14
- package/lib/generated-client/models/xml-attribute.js +0 -14
- package/lib/models/device-info.js +0 -7
- package/lib/utils/url.js +0 -54
- package/openapi-templates/licenseInfo.mustache +0 -10
- package/tsconfig.json +0 -25
- /package/lib/utils/{normalize-url.d.ts → url/normalize-url.d.ts} +0 -0
|
@@ -1,95 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import globalAxios from 'axios';
|
|
3
|
+
import { assertParamExists, DUMMY_BASE_URL, setSearchParams, toPathString, serializeDataIfNeeded, setApiKeyToObject, createRequestFunction } from '../common.js';
|
|
4
|
+
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
|
+
|
|
2
6
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6
|
-
* Do not edit the class manually.
|
|
7
|
-
*
|
|
8
|
-
* Jellyfin API
|
|
9
|
-
*
|
|
10
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
11
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
12
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
13
|
-
*/
|
|
14
|
-
var __extends = (this && this.__extends) || (function () {
|
|
15
|
-
var extendStatics = function (d, b) {
|
|
16
|
-
extendStatics = Object.setPrototypeOf ||
|
|
17
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
-
return extendStatics(d, b);
|
|
20
|
-
};
|
|
21
|
-
return function (d, b) {
|
|
22
|
-
if (typeof b !== "function" && b !== null)
|
|
23
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
-
extendStatics(d, b);
|
|
25
|
-
function __() { this.constructor = d; }
|
|
26
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
-
};
|
|
28
|
-
})();
|
|
29
|
-
var __assign = (this && this.__assign) || function () {
|
|
30
|
-
__assign = Object.assign || function(t) {
|
|
31
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
32
|
-
s = arguments[i];
|
|
33
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
34
|
-
t[p] = s[p];
|
|
35
|
-
}
|
|
36
|
-
return t;
|
|
37
|
-
};
|
|
38
|
-
return __assign.apply(this, arguments);
|
|
39
|
-
};
|
|
40
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
41
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
42
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
43
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
44
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
45
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
46
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
50
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
-
function step(op) {
|
|
54
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
-
while (_) try {
|
|
56
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
-
switch (op[0]) {
|
|
59
|
-
case 0: case 1: t = op; break;
|
|
60
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
-
default:
|
|
64
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
-
if (t[2]) _.ops.pop();
|
|
69
|
-
_.trys.pop(); continue;
|
|
70
|
-
}
|
|
71
|
-
op = body.call(thisArg, _);
|
|
72
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
77
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
78
|
-
};
|
|
79
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = void 0;
|
|
81
|
-
var axios_1 = __importDefault(require("axios"));
|
|
82
|
-
// Some imports not used depending on template conditions
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
var common_1 = require("../common");
|
|
85
|
-
// @ts-ignore
|
|
86
|
-
var base_1 = require("../base");
|
|
87
7
|
/**
|
|
88
8
|
* UserApi - axios parameter creator
|
|
89
9
|
* @export
|
|
90
10
|
*/
|
|
91
|
-
|
|
92
|
-
var _this = this;
|
|
11
|
+
const UserApiAxiosParamCreator = function (configuration) {
|
|
93
12
|
return {
|
|
94
13
|
/**
|
|
95
14
|
*
|
|
@@ -100,40 +19,36 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
100
19
|
* @param {*} [options] Override http request option.
|
|
101
20
|
* @throws {RequiredError}
|
|
102
21
|
*/
|
|
103
|
-
authenticateUser:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}];
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
},
|
|
22
|
+
authenticateUser: (userId, pw, password, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
// verify required parameter 'userId' is not null or undefined
|
|
24
|
+
assertParamExists('authenticateUser', 'userId', userId);
|
|
25
|
+
// verify required parameter 'pw' is not null or undefined
|
|
26
|
+
assertParamExists('authenticateUser', 'pw', pw);
|
|
27
|
+
const localVarPath = `/Users/{userId}/Authenticate`
|
|
28
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
29
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31
|
+
let baseOptions;
|
|
32
|
+
if (configuration) {
|
|
33
|
+
baseOptions = configuration.baseOptions;
|
|
34
|
+
}
|
|
35
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36
|
+
const localVarHeaderParameter = {};
|
|
37
|
+
const localVarQueryParameter = {};
|
|
38
|
+
if (pw !== undefined) {
|
|
39
|
+
localVarQueryParameter['pw'] = pw;
|
|
40
|
+
}
|
|
41
|
+
if (password !== undefined) {
|
|
42
|
+
localVarQueryParameter['password'] = password;
|
|
43
|
+
}
|
|
44
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
47
|
+
return {
|
|
48
|
+
url: toPathString(localVarUrlObj),
|
|
49
|
+
options: localVarRequestOptions,
|
|
50
|
+
};
|
|
51
|
+
}),
|
|
137
52
|
/**
|
|
138
53
|
*
|
|
139
54
|
* @summary Authenticates a user by name.
|
|
@@ -141,33 +56,29 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
141
56
|
* @param {*} [options] Override http request option.
|
|
142
57
|
* @throws {RequiredError}
|
|
143
58
|
*/
|
|
144
|
-
authenticateUserByName:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}];
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
},
|
|
59
|
+
authenticateUserByName: (authenticateUserByName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
// verify required parameter 'authenticateUserByName' is not null or undefined
|
|
61
|
+
assertParamExists('authenticateUserByName', 'authenticateUserByName', authenticateUserByName);
|
|
62
|
+
const localVarPath = `/Users/AuthenticateByName`;
|
|
63
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
64
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
65
|
+
let baseOptions;
|
|
66
|
+
if (configuration) {
|
|
67
|
+
baseOptions = configuration.baseOptions;
|
|
68
|
+
}
|
|
69
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
70
|
+
const localVarHeaderParameter = {};
|
|
71
|
+
const localVarQueryParameter = {};
|
|
72
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
76
|
+
localVarRequestOptions.data = serializeDataIfNeeded(authenticateUserByName, localVarRequestOptions, configuration);
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
}),
|
|
171
82
|
/**
|
|
172
83
|
*
|
|
173
84
|
* @summary Authenticates a user with quick connect.
|
|
@@ -175,33 +86,29 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
175
86
|
* @param {*} [options] Override http request option.
|
|
176
87
|
* @throws {RequiredError}
|
|
177
88
|
*/
|
|
178
|
-
authenticateWithQuickConnect:
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}];
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
},
|
|
89
|
+
authenticateWithQuickConnect: (quickConnectDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
// verify required parameter 'quickConnectDto' is not null or undefined
|
|
91
|
+
assertParamExists('authenticateWithQuickConnect', 'quickConnectDto', quickConnectDto);
|
|
92
|
+
const localVarPath = `/Users/AuthenticateWithQuickConnect`;
|
|
93
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
95
|
+
let baseOptions;
|
|
96
|
+
if (configuration) {
|
|
97
|
+
baseOptions = configuration.baseOptions;
|
|
98
|
+
}
|
|
99
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
100
|
+
const localVarHeaderParameter = {};
|
|
101
|
+
const localVarQueryParameter = {};
|
|
102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
103
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
104
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
105
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
106
|
+
localVarRequestOptions.data = serializeDataIfNeeded(quickConnectDto, localVarRequestOptions, configuration);
|
|
107
|
+
return {
|
|
108
|
+
url: toPathString(localVarUrlObj),
|
|
109
|
+
options: localVarRequestOptions,
|
|
110
|
+
};
|
|
111
|
+
}),
|
|
205
112
|
/**
|
|
206
113
|
*
|
|
207
114
|
* @summary Creates a user.
|
|
@@ -209,41 +116,31 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
209
116
|
* @param {*} [options] Override http request option.
|
|
210
117
|
* @throws {RequiredError}
|
|
211
118
|
*/
|
|
212
|
-
createUserByName:
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
238
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createUserByName, localVarRequestOptions, configuration);
|
|
239
|
-
return [2 /*return*/, {
|
|
240
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
241
|
-
options: localVarRequestOptions,
|
|
242
|
-
}];
|
|
243
|
-
}
|
|
244
|
-
});
|
|
245
|
-
});
|
|
246
|
-
},
|
|
119
|
+
createUserByName: (createUserByName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
// verify required parameter 'createUserByName' is not null or undefined
|
|
121
|
+
assertParamExists('createUserByName', 'createUserByName', createUserByName);
|
|
122
|
+
const localVarPath = `/Users/New`;
|
|
123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
124
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
125
|
+
let baseOptions;
|
|
126
|
+
if (configuration) {
|
|
127
|
+
baseOptions = configuration.baseOptions;
|
|
128
|
+
}
|
|
129
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
130
|
+
const localVarHeaderParameter = {};
|
|
131
|
+
const localVarQueryParameter = {};
|
|
132
|
+
// authentication CustomAuthentication required
|
|
133
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
134
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
138
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createUserByName, localVarRequestOptions, configuration);
|
|
139
|
+
return {
|
|
140
|
+
url: toPathString(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
}),
|
|
247
144
|
/**
|
|
248
145
|
*
|
|
249
146
|
* @summary Deletes a user.
|
|
@@ -251,40 +148,30 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
251
148
|
* @param {*} [options] Override http request option.
|
|
252
149
|
* @throws {RequiredError}
|
|
253
150
|
*/
|
|
254
|
-
deleteUser:
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
280
|
-
return [2 /*return*/, {
|
|
281
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
282
|
-
options: localVarRequestOptions,
|
|
283
|
-
}];
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
});
|
|
287
|
-
},
|
|
151
|
+
deleteUser: (userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
// verify required parameter 'userId' is not null or undefined
|
|
153
|
+
assertParamExists('deleteUser', 'userId', userId);
|
|
154
|
+
const localVarPath = `/Users/{userId}`
|
|
155
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
156
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
157
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
158
|
+
let baseOptions;
|
|
159
|
+
if (configuration) {
|
|
160
|
+
baseOptions = configuration.baseOptions;
|
|
161
|
+
}
|
|
162
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
163
|
+
const localVarHeaderParameter = {};
|
|
164
|
+
const localVarQueryParameter = {};
|
|
165
|
+
// authentication CustomAuthentication required
|
|
166
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
170
|
+
return {
|
|
171
|
+
url: toPathString(localVarUrlObj),
|
|
172
|
+
options: localVarRequestOptions,
|
|
173
|
+
};
|
|
174
|
+
}),
|
|
288
175
|
/**
|
|
289
176
|
*
|
|
290
177
|
* @summary Initiates the forgot password process for a local user.
|
|
@@ -292,33 +179,29 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
292
179
|
* @param {*} [options] Override http request option.
|
|
293
180
|
* @throws {RequiredError}
|
|
294
181
|
*/
|
|
295
|
-
forgotPassword:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}];
|
|
319
|
-
});
|
|
320
|
-
});
|
|
321
|
-
},
|
|
182
|
+
forgotPassword: (forgotPasswordDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
183
|
+
// verify required parameter 'forgotPasswordDto' is not null or undefined
|
|
184
|
+
assertParamExists('forgotPassword', 'forgotPasswordDto', forgotPasswordDto);
|
|
185
|
+
const localVarPath = `/Users/ForgotPassword`;
|
|
186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
188
|
+
let baseOptions;
|
|
189
|
+
if (configuration) {
|
|
190
|
+
baseOptions = configuration.baseOptions;
|
|
191
|
+
}
|
|
192
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
193
|
+
const localVarHeaderParameter = {};
|
|
194
|
+
const localVarQueryParameter = {};
|
|
195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordDto, localVarRequestOptions, configuration);
|
|
200
|
+
return {
|
|
201
|
+
url: toPathString(localVarUrlObj),
|
|
202
|
+
options: localVarRequestOptions,
|
|
203
|
+
};
|
|
204
|
+
}),
|
|
322
205
|
/**
|
|
323
206
|
*
|
|
324
207
|
* @summary Redeems a forgot password pin.
|
|
@@ -326,99 +209,81 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
326
209
|
* @param {*} [options] Override http request option.
|
|
327
210
|
* @throws {RequiredError}
|
|
328
211
|
*/
|
|
329
|
-
forgotPasswordPin:
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}];
|
|
353
|
-
});
|
|
354
|
-
});
|
|
355
|
-
},
|
|
212
|
+
forgotPasswordPin: (forgotPasswordPinDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
// verify required parameter 'forgotPasswordPinDto' is not null or undefined
|
|
214
|
+
assertParamExists('forgotPasswordPin', 'forgotPasswordPinDto', forgotPasswordPinDto);
|
|
215
|
+
const localVarPath = `/Users/ForgotPassword/Pin`;
|
|
216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
218
|
+
let baseOptions;
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
}
|
|
222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
223
|
+
const localVarHeaderParameter = {};
|
|
224
|
+
const localVarQueryParameter = {};
|
|
225
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
229
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPinDto, localVarRequestOptions, configuration);
|
|
230
|
+
return {
|
|
231
|
+
url: toPathString(localVarUrlObj),
|
|
232
|
+
options: localVarRequestOptions,
|
|
233
|
+
};
|
|
234
|
+
}),
|
|
356
235
|
/**
|
|
357
236
|
*
|
|
358
237
|
* @summary Gets the user based on auth token.
|
|
359
238
|
* @param {*} [options] Override http request option.
|
|
360
239
|
* @throws {RequiredError}
|
|
361
240
|
*/
|
|
362
|
-
getCurrentUser: function (
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
384
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
385
|
-
return [2 /*return*/, {
|
|
386
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
387
|
-
options: localVarRequestOptions,
|
|
388
|
-
}];
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
});
|
|
392
|
-
},
|
|
241
|
+
getCurrentUser: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
242
|
+
const localVarPath = `/Users/Me`;
|
|
243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
244
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
245
|
+
let baseOptions;
|
|
246
|
+
if (configuration) {
|
|
247
|
+
baseOptions = configuration.baseOptions;
|
|
248
|
+
}
|
|
249
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
250
|
+
const localVarHeaderParameter = {};
|
|
251
|
+
const localVarQueryParameter = {};
|
|
252
|
+
// authentication CustomAuthentication required
|
|
253
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
254
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
255
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
256
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
257
|
+
return {
|
|
258
|
+
url: toPathString(localVarUrlObj),
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
}),
|
|
393
262
|
/**
|
|
394
263
|
*
|
|
395
264
|
* @summary Gets a list of publicly visible users for display on a login screen.
|
|
396
265
|
* @param {*} [options] Override http request option.
|
|
397
266
|
* @throws {RequiredError}
|
|
398
267
|
*/
|
|
399
|
-
getPublicUsers: function (
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}];
|
|
419
|
-
});
|
|
420
|
-
});
|
|
421
|
-
},
|
|
268
|
+
getPublicUsers: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
const localVarPath = `/Users/Public`;
|
|
270
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
271
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
272
|
+
let baseOptions;
|
|
273
|
+
if (configuration) {
|
|
274
|
+
baseOptions = configuration.baseOptions;
|
|
275
|
+
}
|
|
276
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
277
|
+
const localVarHeaderParameter = {};
|
|
278
|
+
const localVarQueryParameter = {};
|
|
279
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
280
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
281
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
282
|
+
return {
|
|
283
|
+
url: toPathString(localVarUrlObj),
|
|
284
|
+
options: localVarRequestOptions,
|
|
285
|
+
};
|
|
286
|
+
}),
|
|
422
287
|
/**
|
|
423
288
|
*
|
|
424
289
|
* @summary Gets a user by Id.
|
|
@@ -426,40 +291,30 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
426
291
|
* @param {*} [options] Override http request option.
|
|
427
292
|
* @throws {RequiredError}
|
|
428
293
|
*/
|
|
429
|
-
getUserById:
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
454
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
455
|
-
return [2 /*return*/, {
|
|
456
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
457
|
-
options: localVarRequestOptions,
|
|
458
|
-
}];
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
});
|
|
462
|
-
},
|
|
294
|
+
getUserById: (userId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
// verify required parameter 'userId' is not null or undefined
|
|
296
|
+
assertParamExists('getUserById', 'userId', userId);
|
|
297
|
+
const localVarPath = `/Users/{userId}`
|
|
298
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
299
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
300
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
301
|
+
let baseOptions;
|
|
302
|
+
if (configuration) {
|
|
303
|
+
baseOptions = configuration.baseOptions;
|
|
304
|
+
}
|
|
305
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
306
|
+
const localVarHeaderParameter = {};
|
|
307
|
+
const localVarQueryParameter = {};
|
|
308
|
+
// authentication CustomAuthentication required
|
|
309
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
310
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
311
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
312
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
313
|
+
return {
|
|
314
|
+
url: toPathString(localVarUrlObj),
|
|
315
|
+
options: localVarRequestOptions,
|
|
316
|
+
};
|
|
317
|
+
}),
|
|
463
318
|
/**
|
|
464
319
|
*
|
|
465
320
|
* @summary Gets a list of users.
|
|
@@ -468,43 +323,33 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
468
323
|
* @param {*} [options] Override http request option.
|
|
469
324
|
* @throws {RequiredError}
|
|
470
325
|
*/
|
|
471
|
-
getUsers:
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
499
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
500
|
-
return [2 /*return*/, {
|
|
501
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
502
|
-
options: localVarRequestOptions,
|
|
503
|
-
}];
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
});
|
|
507
|
-
},
|
|
326
|
+
getUsers: (isHidden, isDisabled, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
327
|
+
const localVarPath = `/Users`;
|
|
328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
330
|
+
let baseOptions;
|
|
331
|
+
if (configuration) {
|
|
332
|
+
baseOptions = configuration.baseOptions;
|
|
333
|
+
}
|
|
334
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
335
|
+
const localVarHeaderParameter = {};
|
|
336
|
+
const localVarQueryParameter = {};
|
|
337
|
+
// authentication CustomAuthentication required
|
|
338
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
339
|
+
if (isHidden !== undefined) {
|
|
340
|
+
localVarQueryParameter['isHidden'] = isHidden;
|
|
341
|
+
}
|
|
342
|
+
if (isDisabled !== undefined) {
|
|
343
|
+
localVarQueryParameter['isDisabled'] = isDisabled;
|
|
344
|
+
}
|
|
345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
348
|
+
return {
|
|
349
|
+
url: toPathString(localVarUrlObj),
|
|
350
|
+
options: localVarRequestOptions,
|
|
351
|
+
};
|
|
352
|
+
}),
|
|
508
353
|
/**
|
|
509
354
|
*
|
|
510
355
|
* @summary Updates a user.
|
|
@@ -513,44 +358,34 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
513
358
|
* @param {*} [options] Override http request option.
|
|
514
359
|
* @throws {RequiredError}
|
|
515
360
|
*/
|
|
516
|
-
updateUser:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
545
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userDto, localVarRequestOptions, configuration);
|
|
546
|
-
return [2 /*return*/, {
|
|
547
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
548
|
-
options: localVarRequestOptions,
|
|
549
|
-
}];
|
|
550
|
-
}
|
|
551
|
-
});
|
|
552
|
-
});
|
|
553
|
-
},
|
|
361
|
+
updateUser: (userId, userDto, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
// verify required parameter 'userId' is not null or undefined
|
|
363
|
+
assertParamExists('updateUser', 'userId', userId);
|
|
364
|
+
// verify required parameter 'userDto' is not null or undefined
|
|
365
|
+
assertParamExists('updateUser', 'userDto', userDto);
|
|
366
|
+
const localVarPath = `/Users/{userId}`
|
|
367
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
368
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
369
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
370
|
+
let baseOptions;
|
|
371
|
+
if (configuration) {
|
|
372
|
+
baseOptions = configuration.baseOptions;
|
|
373
|
+
}
|
|
374
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
375
|
+
const localVarHeaderParameter = {};
|
|
376
|
+
const localVarQueryParameter = {};
|
|
377
|
+
// authentication CustomAuthentication required
|
|
378
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
379
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
380
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
383
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userDto, localVarRequestOptions, configuration);
|
|
384
|
+
return {
|
|
385
|
+
url: toPathString(localVarUrlObj),
|
|
386
|
+
options: localVarRequestOptions,
|
|
387
|
+
};
|
|
388
|
+
}),
|
|
554
389
|
/**
|
|
555
390
|
*
|
|
556
391
|
* @summary Updates a user configuration.
|
|
@@ -559,44 +394,34 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
559
394
|
* @param {*} [options] Override http request option.
|
|
560
395
|
* @throws {RequiredError}
|
|
561
396
|
*/
|
|
562
|
-
updateUserConfiguration:
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
591
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userConfiguration, localVarRequestOptions, configuration);
|
|
592
|
-
return [2 /*return*/, {
|
|
593
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
594
|
-
options: localVarRequestOptions,
|
|
595
|
-
}];
|
|
596
|
-
}
|
|
597
|
-
});
|
|
598
|
-
});
|
|
599
|
-
},
|
|
397
|
+
updateUserConfiguration: (userId, userConfiguration, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
// verify required parameter 'userId' is not null or undefined
|
|
399
|
+
assertParamExists('updateUserConfiguration', 'userId', userId);
|
|
400
|
+
// verify required parameter 'userConfiguration' is not null or undefined
|
|
401
|
+
assertParamExists('updateUserConfiguration', 'userConfiguration', userConfiguration);
|
|
402
|
+
const localVarPath = `/Users/{userId}/Configuration`
|
|
403
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
405
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
406
|
+
let baseOptions;
|
|
407
|
+
if (configuration) {
|
|
408
|
+
baseOptions = configuration.baseOptions;
|
|
409
|
+
}
|
|
410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
411
|
+
const localVarHeaderParameter = {};
|
|
412
|
+
const localVarQueryParameter = {};
|
|
413
|
+
// authentication CustomAuthentication required
|
|
414
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
415
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
416
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
419
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userConfiguration, localVarRequestOptions, configuration);
|
|
420
|
+
return {
|
|
421
|
+
url: toPathString(localVarUrlObj),
|
|
422
|
+
options: localVarRequestOptions,
|
|
423
|
+
};
|
|
424
|
+
}),
|
|
600
425
|
/**
|
|
601
426
|
*
|
|
602
427
|
* @summary Updates a user\'s easy password.
|
|
@@ -605,44 +430,34 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
605
430
|
* @param {*} [options] Override http request option.
|
|
606
431
|
* @throws {RequiredError}
|
|
607
432
|
*/
|
|
608
|
-
updateUserEasyPassword:
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
637
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserEasyPassword, localVarRequestOptions, configuration);
|
|
638
|
-
return [2 /*return*/, {
|
|
639
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
640
|
-
options: localVarRequestOptions,
|
|
641
|
-
}];
|
|
642
|
-
}
|
|
643
|
-
});
|
|
644
|
-
});
|
|
645
|
-
},
|
|
433
|
+
updateUserEasyPassword: (userId, updateUserEasyPassword, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
// verify required parameter 'userId' is not null or undefined
|
|
435
|
+
assertParamExists('updateUserEasyPassword', 'userId', userId);
|
|
436
|
+
// verify required parameter 'updateUserEasyPassword' is not null or undefined
|
|
437
|
+
assertParamExists('updateUserEasyPassword', 'updateUserEasyPassword', updateUserEasyPassword);
|
|
438
|
+
const localVarPath = `/Users/{userId}/EasyPassword`
|
|
439
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
442
|
+
let baseOptions;
|
|
443
|
+
if (configuration) {
|
|
444
|
+
baseOptions = configuration.baseOptions;
|
|
445
|
+
}
|
|
446
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
447
|
+
const localVarHeaderParameter = {};
|
|
448
|
+
const localVarQueryParameter = {};
|
|
449
|
+
// authentication CustomAuthentication required
|
|
450
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
451
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
452
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
453
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
454
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
455
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserEasyPassword, localVarRequestOptions, configuration);
|
|
456
|
+
return {
|
|
457
|
+
url: toPathString(localVarUrlObj),
|
|
458
|
+
options: localVarRequestOptions,
|
|
459
|
+
};
|
|
460
|
+
}),
|
|
646
461
|
/**
|
|
647
462
|
*
|
|
648
463
|
* @summary Updates a user\'s password.
|
|
@@ -651,44 +466,34 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
651
466
|
* @param {*} [options] Override http request option.
|
|
652
467
|
* @throws {RequiredError}
|
|
653
468
|
*/
|
|
654
|
-
updateUserPassword:
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
683
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserPassword, localVarRequestOptions, configuration);
|
|
684
|
-
return [2 /*return*/, {
|
|
685
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
686
|
-
options: localVarRequestOptions,
|
|
687
|
-
}];
|
|
688
|
-
}
|
|
689
|
-
});
|
|
690
|
-
});
|
|
691
|
-
},
|
|
469
|
+
updateUserPassword: (userId, updateUserPassword, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
470
|
+
// verify required parameter 'userId' is not null or undefined
|
|
471
|
+
assertParamExists('updateUserPassword', 'userId', userId);
|
|
472
|
+
// verify required parameter 'updateUserPassword' is not null or undefined
|
|
473
|
+
assertParamExists('updateUserPassword', 'updateUserPassword', updateUserPassword);
|
|
474
|
+
const localVarPath = `/Users/{userId}/Password`
|
|
475
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
476
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
477
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
478
|
+
let baseOptions;
|
|
479
|
+
if (configuration) {
|
|
480
|
+
baseOptions = configuration.baseOptions;
|
|
481
|
+
}
|
|
482
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
483
|
+
const localVarHeaderParameter = {};
|
|
484
|
+
const localVarQueryParameter = {};
|
|
485
|
+
// authentication CustomAuthentication required
|
|
486
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
487
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
488
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
490
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
491
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserPassword, localVarRequestOptions, configuration);
|
|
492
|
+
return {
|
|
493
|
+
url: toPathString(localVarUrlObj),
|
|
494
|
+
options: localVarRequestOptions,
|
|
495
|
+
};
|
|
496
|
+
}),
|
|
692
497
|
/**
|
|
693
498
|
*
|
|
694
499
|
* @summary Updates a user policy.
|
|
@@ -697,53 +502,42 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
697
502
|
* @param {*} [options] Override http request option.
|
|
698
503
|
* @throws {RequiredError}
|
|
699
504
|
*/
|
|
700
|
-
updateUserPolicy:
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
729
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(userPolicy, localVarRequestOptions, configuration);
|
|
730
|
-
return [2 /*return*/, {
|
|
731
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
732
|
-
options: localVarRequestOptions,
|
|
733
|
-
}];
|
|
734
|
-
}
|
|
735
|
-
});
|
|
736
|
-
});
|
|
737
|
-
},
|
|
505
|
+
updateUserPolicy: (userId, userPolicy, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
506
|
+
// verify required parameter 'userId' is not null or undefined
|
|
507
|
+
assertParamExists('updateUserPolicy', 'userId', userId);
|
|
508
|
+
// verify required parameter 'userPolicy' is not null or undefined
|
|
509
|
+
assertParamExists('updateUserPolicy', 'userPolicy', userPolicy);
|
|
510
|
+
const localVarPath = `/Users/{userId}/Policy`
|
|
511
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
512
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
513
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
514
|
+
let baseOptions;
|
|
515
|
+
if (configuration) {
|
|
516
|
+
baseOptions = configuration.baseOptions;
|
|
517
|
+
}
|
|
518
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
519
|
+
const localVarHeaderParameter = {};
|
|
520
|
+
const localVarQueryParameter = {};
|
|
521
|
+
// authentication CustomAuthentication required
|
|
522
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
523
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
526
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
527
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userPolicy, localVarRequestOptions, configuration);
|
|
528
|
+
return {
|
|
529
|
+
url: toPathString(localVarUrlObj),
|
|
530
|
+
options: localVarRequestOptions,
|
|
531
|
+
};
|
|
532
|
+
}),
|
|
738
533
|
};
|
|
739
534
|
};
|
|
740
|
-
exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
|
|
741
535
|
/**
|
|
742
536
|
* UserApi - functional programming interface
|
|
743
537
|
* @export
|
|
744
538
|
*/
|
|
745
|
-
|
|
746
|
-
|
|
539
|
+
const UserApiFp = function (configuration) {
|
|
540
|
+
const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration);
|
|
747
541
|
return {
|
|
748
542
|
/**
|
|
749
543
|
*
|
|
@@ -754,17 +548,10 @@ var UserApiFp = function (configuration) {
|
|
|
754
548
|
* @param {*} [options] Override http request option.
|
|
755
549
|
* @throws {RequiredError}
|
|
756
550
|
*/
|
|
757
|
-
authenticateUser
|
|
758
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
759
|
-
|
|
760
|
-
return
|
|
761
|
-
switch (_a.label) {
|
|
762
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateUser(userId, pw, password, options)];
|
|
763
|
-
case 1:
|
|
764
|
-
localVarAxiosArgs = _a.sent();
|
|
765
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
766
|
-
}
|
|
767
|
-
});
|
|
551
|
+
authenticateUser(userId, pw, password, options) {
|
|
552
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
553
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authenticateUser(userId, pw, password, options);
|
|
554
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
768
555
|
});
|
|
769
556
|
},
|
|
770
557
|
/**
|
|
@@ -774,17 +561,10 @@ var UserApiFp = function (configuration) {
|
|
|
774
561
|
* @param {*} [options] Override http request option.
|
|
775
562
|
* @throws {RequiredError}
|
|
776
563
|
*/
|
|
777
|
-
authenticateUserByName
|
|
778
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
779
|
-
|
|
780
|
-
return
|
|
781
|
-
switch (_a.label) {
|
|
782
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateUserByName(authenticateUserByName, options)];
|
|
783
|
-
case 1:
|
|
784
|
-
localVarAxiosArgs = _a.sent();
|
|
785
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
786
|
-
}
|
|
787
|
-
});
|
|
564
|
+
authenticateUserByName(authenticateUserByName, options) {
|
|
565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
566
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authenticateUserByName(authenticateUserByName, options);
|
|
567
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
788
568
|
});
|
|
789
569
|
},
|
|
790
570
|
/**
|
|
@@ -794,17 +574,10 @@ var UserApiFp = function (configuration) {
|
|
|
794
574
|
* @param {*} [options] Override http request option.
|
|
795
575
|
* @throws {RequiredError}
|
|
796
576
|
*/
|
|
797
|
-
authenticateWithQuickConnect
|
|
798
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
799
|
-
|
|
800
|
-
return
|
|
801
|
-
switch (_a.label) {
|
|
802
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateWithQuickConnect(quickConnectDto, options)];
|
|
803
|
-
case 1:
|
|
804
|
-
localVarAxiosArgs = _a.sent();
|
|
805
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
806
|
-
}
|
|
807
|
-
});
|
|
577
|
+
authenticateWithQuickConnect(quickConnectDto, options) {
|
|
578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
579
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authenticateWithQuickConnect(quickConnectDto, options);
|
|
580
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
808
581
|
});
|
|
809
582
|
},
|
|
810
583
|
/**
|
|
@@ -814,17 +587,10 @@ var UserApiFp = function (configuration) {
|
|
|
814
587
|
* @param {*} [options] Override http request option.
|
|
815
588
|
* @throws {RequiredError}
|
|
816
589
|
*/
|
|
817
|
-
createUserByName
|
|
818
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
819
|
-
|
|
820
|
-
return
|
|
821
|
-
switch (_a.label) {
|
|
822
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createUserByName(createUserByName, options)];
|
|
823
|
-
case 1:
|
|
824
|
-
localVarAxiosArgs = _a.sent();
|
|
825
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
826
|
-
}
|
|
827
|
-
});
|
|
590
|
+
createUserByName(createUserByName, options) {
|
|
591
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
592
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createUserByName(createUserByName, options);
|
|
593
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
594
|
});
|
|
829
595
|
},
|
|
830
596
|
/**
|
|
@@ -834,17 +600,10 @@ var UserApiFp = function (configuration) {
|
|
|
834
600
|
* @param {*} [options] Override http request option.
|
|
835
601
|
* @throws {RequiredError}
|
|
836
602
|
*/
|
|
837
|
-
deleteUser
|
|
838
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
839
|
-
|
|
840
|
-
return
|
|
841
|
-
switch (_a.label) {
|
|
842
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUser(userId, options)];
|
|
843
|
-
case 1:
|
|
844
|
-
localVarAxiosArgs = _a.sent();
|
|
845
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
846
|
-
}
|
|
847
|
-
});
|
|
603
|
+
deleteUser(userId, options) {
|
|
604
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
605
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUser(userId, options);
|
|
606
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
848
607
|
});
|
|
849
608
|
},
|
|
850
609
|
/**
|
|
@@ -854,17 +613,10 @@ var UserApiFp = function (configuration) {
|
|
|
854
613
|
* @param {*} [options] Override http request option.
|
|
855
614
|
* @throws {RequiredError}
|
|
856
615
|
*/
|
|
857
|
-
forgotPassword
|
|
858
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
859
|
-
|
|
860
|
-
return
|
|
861
|
-
switch (_a.label) {
|
|
862
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.forgotPassword(forgotPasswordDto, options)];
|
|
863
|
-
case 1:
|
|
864
|
-
localVarAxiosArgs = _a.sent();
|
|
865
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
866
|
-
}
|
|
867
|
-
});
|
|
616
|
+
forgotPassword(forgotPasswordDto, options) {
|
|
617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
618
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.forgotPassword(forgotPasswordDto, options);
|
|
619
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
868
620
|
});
|
|
869
621
|
},
|
|
870
622
|
/**
|
|
@@ -874,17 +626,10 @@ var UserApiFp = function (configuration) {
|
|
|
874
626
|
* @param {*} [options] Override http request option.
|
|
875
627
|
* @throws {RequiredError}
|
|
876
628
|
*/
|
|
877
|
-
forgotPasswordPin
|
|
878
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
879
|
-
|
|
880
|
-
return
|
|
881
|
-
switch (_a.label) {
|
|
882
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.forgotPasswordPin(forgotPasswordPinDto, options)];
|
|
883
|
-
case 1:
|
|
884
|
-
localVarAxiosArgs = _a.sent();
|
|
885
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
886
|
-
}
|
|
887
|
-
});
|
|
629
|
+
forgotPasswordPin(forgotPasswordPinDto, options) {
|
|
630
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
631
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.forgotPasswordPin(forgotPasswordPinDto, options);
|
|
632
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
888
633
|
});
|
|
889
634
|
},
|
|
890
635
|
/**
|
|
@@ -893,17 +638,10 @@ var UserApiFp = function (configuration) {
|
|
|
893
638
|
* @param {*} [options] Override http request option.
|
|
894
639
|
* @throws {RequiredError}
|
|
895
640
|
*/
|
|
896
|
-
getCurrentUser
|
|
897
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
898
|
-
|
|
899
|
-
return
|
|
900
|
-
switch (_a.label) {
|
|
901
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCurrentUser(options)];
|
|
902
|
-
case 1:
|
|
903
|
-
localVarAxiosArgs = _a.sent();
|
|
904
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
905
|
-
}
|
|
906
|
-
});
|
|
641
|
+
getCurrentUser(options) {
|
|
642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCurrentUser(options);
|
|
644
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
907
645
|
});
|
|
908
646
|
},
|
|
909
647
|
/**
|
|
@@ -912,17 +650,10 @@ var UserApiFp = function (configuration) {
|
|
|
912
650
|
* @param {*} [options] Override http request option.
|
|
913
651
|
* @throws {RequiredError}
|
|
914
652
|
*/
|
|
915
|
-
getPublicUsers
|
|
916
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
917
|
-
|
|
918
|
-
return
|
|
919
|
-
switch (_a.label) {
|
|
920
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicUsers(options)];
|
|
921
|
-
case 1:
|
|
922
|
-
localVarAxiosArgs = _a.sent();
|
|
923
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
924
|
-
}
|
|
925
|
-
});
|
|
653
|
+
getPublicUsers(options) {
|
|
654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPublicUsers(options);
|
|
656
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
926
657
|
});
|
|
927
658
|
},
|
|
928
659
|
/**
|
|
@@ -932,17 +663,10 @@ var UserApiFp = function (configuration) {
|
|
|
932
663
|
* @param {*} [options] Override http request option.
|
|
933
664
|
* @throws {RequiredError}
|
|
934
665
|
*/
|
|
935
|
-
getUserById
|
|
936
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
-
|
|
938
|
-
return
|
|
939
|
-
switch (_a.label) {
|
|
940
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserById(userId, options)];
|
|
941
|
-
case 1:
|
|
942
|
-
localVarAxiosArgs = _a.sent();
|
|
943
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
944
|
-
}
|
|
945
|
-
});
|
|
666
|
+
getUserById(userId, options) {
|
|
667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
668
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserById(userId, options);
|
|
669
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
946
670
|
});
|
|
947
671
|
},
|
|
948
672
|
/**
|
|
@@ -953,17 +677,10 @@ var UserApiFp = function (configuration) {
|
|
|
953
677
|
* @param {*} [options] Override http request option.
|
|
954
678
|
* @throws {RequiredError}
|
|
955
679
|
*/
|
|
956
|
-
getUsers
|
|
957
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
958
|
-
|
|
959
|
-
return
|
|
960
|
-
switch (_a.label) {
|
|
961
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUsers(isHidden, isDisabled, options)];
|
|
962
|
-
case 1:
|
|
963
|
-
localVarAxiosArgs = _a.sent();
|
|
964
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
965
|
-
}
|
|
966
|
-
});
|
|
680
|
+
getUsers(isHidden, isDisabled, options) {
|
|
681
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
682
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUsers(isHidden, isDisabled, options);
|
|
683
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
967
684
|
});
|
|
968
685
|
},
|
|
969
686
|
/**
|
|
@@ -974,17 +691,10 @@ var UserApiFp = function (configuration) {
|
|
|
974
691
|
* @param {*} [options] Override http request option.
|
|
975
692
|
* @throws {RequiredError}
|
|
976
693
|
*/
|
|
977
|
-
updateUser
|
|
978
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
979
|
-
|
|
980
|
-
return
|
|
981
|
-
switch (_a.label) {
|
|
982
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUser(userId, userDto, options)];
|
|
983
|
-
case 1:
|
|
984
|
-
localVarAxiosArgs = _a.sent();
|
|
985
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
986
|
-
}
|
|
987
|
-
});
|
|
694
|
+
updateUser(userId, userDto, options) {
|
|
695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUser(userId, userDto, options);
|
|
697
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
988
698
|
});
|
|
989
699
|
},
|
|
990
700
|
/**
|
|
@@ -995,17 +705,10 @@ var UserApiFp = function (configuration) {
|
|
|
995
705
|
* @param {*} [options] Override http request option.
|
|
996
706
|
* @throws {RequiredError}
|
|
997
707
|
*/
|
|
998
|
-
updateUserConfiguration
|
|
999
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1000
|
-
|
|
1001
|
-
return
|
|
1002
|
-
switch (_a.label) {
|
|
1003
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserConfiguration(userId, userConfiguration, options)];
|
|
1004
|
-
case 1:
|
|
1005
|
-
localVarAxiosArgs = _a.sent();
|
|
1006
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1007
|
-
}
|
|
1008
|
-
});
|
|
708
|
+
updateUserConfiguration(userId, userConfiguration, options) {
|
|
709
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
710
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserConfiguration(userId, userConfiguration, options);
|
|
711
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1009
712
|
});
|
|
1010
713
|
},
|
|
1011
714
|
/**
|
|
@@ -1016,17 +719,10 @@ var UserApiFp = function (configuration) {
|
|
|
1016
719
|
* @param {*} [options] Override http request option.
|
|
1017
720
|
* @throws {RequiredError}
|
|
1018
721
|
*/
|
|
1019
|
-
updateUserEasyPassword
|
|
1020
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1021
|
-
|
|
1022
|
-
return
|
|
1023
|
-
switch (_a.label) {
|
|
1024
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserEasyPassword(userId, updateUserEasyPassword, options)];
|
|
1025
|
-
case 1:
|
|
1026
|
-
localVarAxiosArgs = _a.sent();
|
|
1027
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1028
|
-
}
|
|
1029
|
-
});
|
|
722
|
+
updateUserEasyPassword(userId, updateUserEasyPassword, options) {
|
|
723
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserEasyPassword(userId, updateUserEasyPassword, options);
|
|
725
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1030
726
|
});
|
|
1031
727
|
},
|
|
1032
728
|
/**
|
|
@@ -1037,17 +733,10 @@ var UserApiFp = function (configuration) {
|
|
|
1037
733
|
* @param {*} [options] Override http request option.
|
|
1038
734
|
* @throws {RequiredError}
|
|
1039
735
|
*/
|
|
1040
|
-
updateUserPassword
|
|
1041
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1042
|
-
|
|
1043
|
-
return
|
|
1044
|
-
switch (_a.label) {
|
|
1045
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserPassword(userId, updateUserPassword, options)];
|
|
1046
|
-
case 1:
|
|
1047
|
-
localVarAxiosArgs = _a.sent();
|
|
1048
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1049
|
-
}
|
|
1050
|
-
});
|
|
736
|
+
updateUserPassword(userId, updateUserPassword, options) {
|
|
737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
738
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserPassword(userId, updateUserPassword, options);
|
|
739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1051
740
|
});
|
|
1052
741
|
},
|
|
1053
742
|
/**
|
|
@@ -1058,28 +747,20 @@ var UserApiFp = function (configuration) {
|
|
|
1058
747
|
* @param {*} [options] Override http request option.
|
|
1059
748
|
* @throws {RequiredError}
|
|
1060
749
|
*/
|
|
1061
|
-
updateUserPolicy
|
|
1062
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1063
|
-
|
|
1064
|
-
return
|
|
1065
|
-
switch (_a.label) {
|
|
1066
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserPolicy(userId, userPolicy, options)];
|
|
1067
|
-
case 1:
|
|
1068
|
-
localVarAxiosArgs = _a.sent();
|
|
1069
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1070
|
-
}
|
|
1071
|
-
});
|
|
750
|
+
updateUserPolicy(userId, userPolicy, options) {
|
|
751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
752
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateUserPolicy(userId, userPolicy, options);
|
|
753
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1072
754
|
});
|
|
1073
755
|
},
|
|
1074
756
|
};
|
|
1075
757
|
};
|
|
1076
|
-
exports.UserApiFp = UserApiFp;
|
|
1077
758
|
/**
|
|
1078
759
|
* UserApi - factory interface
|
|
1079
760
|
* @export
|
|
1080
761
|
*/
|
|
1081
|
-
|
|
1082
|
-
|
|
762
|
+
const UserApiFactory = function (configuration, basePath, axios) {
|
|
763
|
+
const localVarFp = UserApiFp(configuration);
|
|
1083
764
|
return {
|
|
1084
765
|
/**
|
|
1085
766
|
*
|
|
@@ -1090,8 +771,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1090
771
|
* @param {*} [options] Override http request option.
|
|
1091
772
|
* @throws {RequiredError}
|
|
1092
773
|
*/
|
|
1093
|
-
authenticateUser
|
|
1094
|
-
return localVarFp.authenticateUser(userId, pw, password, options).then(
|
|
774
|
+
authenticateUser(userId, pw, password, options) {
|
|
775
|
+
return localVarFp.authenticateUser(userId, pw, password, options).then((request) => request(axios, basePath));
|
|
1095
776
|
},
|
|
1096
777
|
/**
|
|
1097
778
|
*
|
|
@@ -1100,8 +781,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1100
781
|
* @param {*} [options] Override http request option.
|
|
1101
782
|
* @throws {RequiredError}
|
|
1102
783
|
*/
|
|
1103
|
-
authenticateUserByName
|
|
1104
|
-
return localVarFp.authenticateUserByName(authenticateUserByName, options).then(
|
|
784
|
+
authenticateUserByName(authenticateUserByName, options) {
|
|
785
|
+
return localVarFp.authenticateUserByName(authenticateUserByName, options).then((request) => request(axios, basePath));
|
|
1105
786
|
},
|
|
1106
787
|
/**
|
|
1107
788
|
*
|
|
@@ -1110,8 +791,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1110
791
|
* @param {*} [options] Override http request option.
|
|
1111
792
|
* @throws {RequiredError}
|
|
1112
793
|
*/
|
|
1113
|
-
authenticateWithQuickConnect
|
|
1114
|
-
return localVarFp.authenticateWithQuickConnect(quickConnectDto, options).then(
|
|
794
|
+
authenticateWithQuickConnect(quickConnectDto, options) {
|
|
795
|
+
return localVarFp.authenticateWithQuickConnect(quickConnectDto, options).then((request) => request(axios, basePath));
|
|
1115
796
|
},
|
|
1116
797
|
/**
|
|
1117
798
|
*
|
|
@@ -1120,8 +801,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1120
801
|
* @param {*} [options] Override http request option.
|
|
1121
802
|
* @throws {RequiredError}
|
|
1122
803
|
*/
|
|
1123
|
-
createUserByName
|
|
1124
|
-
return localVarFp.createUserByName(createUserByName, options).then(
|
|
804
|
+
createUserByName(createUserByName, options) {
|
|
805
|
+
return localVarFp.createUserByName(createUserByName, options).then((request) => request(axios, basePath));
|
|
1125
806
|
},
|
|
1126
807
|
/**
|
|
1127
808
|
*
|
|
@@ -1130,8 +811,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1130
811
|
* @param {*} [options] Override http request option.
|
|
1131
812
|
* @throws {RequiredError}
|
|
1132
813
|
*/
|
|
1133
|
-
deleteUser
|
|
1134
|
-
return localVarFp.deleteUser(userId, options).then(
|
|
814
|
+
deleteUser(userId, options) {
|
|
815
|
+
return localVarFp.deleteUser(userId, options).then((request) => request(axios, basePath));
|
|
1135
816
|
},
|
|
1136
817
|
/**
|
|
1137
818
|
*
|
|
@@ -1140,8 +821,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1140
821
|
* @param {*} [options] Override http request option.
|
|
1141
822
|
* @throws {RequiredError}
|
|
1142
823
|
*/
|
|
1143
|
-
forgotPassword
|
|
1144
|
-
return localVarFp.forgotPassword(forgotPasswordDto, options).then(
|
|
824
|
+
forgotPassword(forgotPasswordDto, options) {
|
|
825
|
+
return localVarFp.forgotPassword(forgotPasswordDto, options).then((request) => request(axios, basePath));
|
|
1145
826
|
},
|
|
1146
827
|
/**
|
|
1147
828
|
*
|
|
@@ -1150,8 +831,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1150
831
|
* @param {*} [options] Override http request option.
|
|
1151
832
|
* @throws {RequiredError}
|
|
1152
833
|
*/
|
|
1153
|
-
forgotPasswordPin
|
|
1154
|
-
return localVarFp.forgotPasswordPin(forgotPasswordPinDto, options).then(
|
|
834
|
+
forgotPasswordPin(forgotPasswordPinDto, options) {
|
|
835
|
+
return localVarFp.forgotPasswordPin(forgotPasswordPinDto, options).then((request) => request(axios, basePath));
|
|
1155
836
|
},
|
|
1156
837
|
/**
|
|
1157
838
|
*
|
|
@@ -1159,8 +840,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1159
840
|
* @param {*} [options] Override http request option.
|
|
1160
841
|
* @throws {RequiredError}
|
|
1161
842
|
*/
|
|
1162
|
-
getCurrentUser
|
|
1163
|
-
return localVarFp.getCurrentUser(options).then(
|
|
843
|
+
getCurrentUser(options) {
|
|
844
|
+
return localVarFp.getCurrentUser(options).then((request) => request(axios, basePath));
|
|
1164
845
|
},
|
|
1165
846
|
/**
|
|
1166
847
|
*
|
|
@@ -1168,8 +849,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1168
849
|
* @param {*} [options] Override http request option.
|
|
1169
850
|
* @throws {RequiredError}
|
|
1170
851
|
*/
|
|
1171
|
-
getPublicUsers
|
|
1172
|
-
return localVarFp.getPublicUsers(options).then(
|
|
852
|
+
getPublicUsers(options) {
|
|
853
|
+
return localVarFp.getPublicUsers(options).then((request) => request(axios, basePath));
|
|
1173
854
|
},
|
|
1174
855
|
/**
|
|
1175
856
|
*
|
|
@@ -1178,8 +859,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1178
859
|
* @param {*} [options] Override http request option.
|
|
1179
860
|
* @throws {RequiredError}
|
|
1180
861
|
*/
|
|
1181
|
-
getUserById
|
|
1182
|
-
return localVarFp.getUserById(userId, options).then(
|
|
862
|
+
getUserById(userId, options) {
|
|
863
|
+
return localVarFp.getUserById(userId, options).then((request) => request(axios, basePath));
|
|
1183
864
|
},
|
|
1184
865
|
/**
|
|
1185
866
|
*
|
|
@@ -1189,8 +870,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1189
870
|
* @param {*} [options] Override http request option.
|
|
1190
871
|
* @throws {RequiredError}
|
|
1191
872
|
*/
|
|
1192
|
-
getUsers
|
|
1193
|
-
return localVarFp.getUsers(isHidden, isDisabled, options).then(
|
|
873
|
+
getUsers(isHidden, isDisabled, options) {
|
|
874
|
+
return localVarFp.getUsers(isHidden, isDisabled, options).then((request) => request(axios, basePath));
|
|
1194
875
|
},
|
|
1195
876
|
/**
|
|
1196
877
|
*
|
|
@@ -1200,8 +881,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1200
881
|
* @param {*} [options] Override http request option.
|
|
1201
882
|
* @throws {RequiredError}
|
|
1202
883
|
*/
|
|
1203
|
-
updateUser
|
|
1204
|
-
return localVarFp.updateUser(userId, userDto, options).then(
|
|
884
|
+
updateUser(userId, userDto, options) {
|
|
885
|
+
return localVarFp.updateUser(userId, userDto, options).then((request) => request(axios, basePath));
|
|
1205
886
|
},
|
|
1206
887
|
/**
|
|
1207
888
|
*
|
|
@@ -1211,8 +892,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1211
892
|
* @param {*} [options] Override http request option.
|
|
1212
893
|
* @throws {RequiredError}
|
|
1213
894
|
*/
|
|
1214
|
-
updateUserConfiguration
|
|
1215
|
-
return localVarFp.updateUserConfiguration(userId, userConfiguration, options).then(
|
|
895
|
+
updateUserConfiguration(userId, userConfiguration, options) {
|
|
896
|
+
return localVarFp.updateUserConfiguration(userId, userConfiguration, options).then((request) => request(axios, basePath));
|
|
1216
897
|
},
|
|
1217
898
|
/**
|
|
1218
899
|
*
|
|
@@ -1222,8 +903,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1222
903
|
* @param {*} [options] Override http request option.
|
|
1223
904
|
* @throws {RequiredError}
|
|
1224
905
|
*/
|
|
1225
|
-
updateUserEasyPassword
|
|
1226
|
-
return localVarFp.updateUserEasyPassword(userId, updateUserEasyPassword, options).then(
|
|
906
|
+
updateUserEasyPassword(userId, updateUserEasyPassword, options) {
|
|
907
|
+
return localVarFp.updateUserEasyPassword(userId, updateUserEasyPassword, options).then((request) => request(axios, basePath));
|
|
1227
908
|
},
|
|
1228
909
|
/**
|
|
1229
910
|
*
|
|
@@ -1233,8 +914,8 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1233
914
|
* @param {*} [options] Override http request option.
|
|
1234
915
|
* @throws {RequiredError}
|
|
1235
916
|
*/
|
|
1236
|
-
updateUserPassword
|
|
1237
|
-
return localVarFp.updateUserPassword(userId, updateUserPassword, options).then(
|
|
917
|
+
updateUserPassword(userId, updateUserPassword, options) {
|
|
918
|
+
return localVarFp.updateUserPassword(userId, updateUserPassword, options).then((request) => request(axios, basePath));
|
|
1238
919
|
},
|
|
1239
920
|
/**
|
|
1240
921
|
*
|
|
@@ -1244,23 +925,18 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
1244
925
|
* @param {*} [options] Override http request option.
|
|
1245
926
|
* @throws {RequiredError}
|
|
1246
927
|
*/
|
|
1247
|
-
updateUserPolicy
|
|
1248
|
-
return localVarFp.updateUserPolicy(userId, userPolicy, options).then(
|
|
928
|
+
updateUserPolicy(userId, userPolicy, options) {
|
|
929
|
+
return localVarFp.updateUserPolicy(userId, userPolicy, options).then((request) => request(axios, basePath));
|
|
1249
930
|
},
|
|
1250
931
|
};
|
|
1251
932
|
};
|
|
1252
|
-
exports.UserApiFactory = UserApiFactory;
|
|
1253
933
|
/**
|
|
1254
934
|
* UserApi - object-oriented interface
|
|
1255
935
|
* @export
|
|
1256
936
|
* @class UserApi
|
|
1257
937
|
* @extends {BaseAPI}
|
|
1258
938
|
*/
|
|
1259
|
-
|
|
1260
|
-
__extends(UserApi, _super);
|
|
1261
|
-
function UserApi() {
|
|
1262
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1263
|
-
}
|
|
939
|
+
class UserApi extends BaseAPI {
|
|
1264
940
|
/**
|
|
1265
941
|
*
|
|
1266
942
|
* @summary Authenticates a user.
|
|
@@ -1269,10 +945,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1269
945
|
* @throws {RequiredError}
|
|
1270
946
|
* @memberof UserApi
|
|
1271
947
|
*/
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
};
|
|
948
|
+
authenticateUser(requestParameters, options) {
|
|
949
|
+
return UserApiFp(this.configuration).authenticateUser(requestParameters.userId, requestParameters.pw, requestParameters.password, options).then((request) => request(this.axios, this.basePath));
|
|
950
|
+
}
|
|
1276
951
|
/**
|
|
1277
952
|
*
|
|
1278
953
|
* @summary Authenticates a user by name.
|
|
@@ -1281,10 +956,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1281
956
|
* @throws {RequiredError}
|
|
1282
957
|
* @memberof UserApi
|
|
1283
958
|
*/
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
};
|
|
959
|
+
authenticateUserByName(requestParameters, options) {
|
|
960
|
+
return UserApiFp(this.configuration).authenticateUserByName(requestParameters.authenticateUserByName, options).then((request) => request(this.axios, this.basePath));
|
|
961
|
+
}
|
|
1288
962
|
/**
|
|
1289
963
|
*
|
|
1290
964
|
* @summary Authenticates a user with quick connect.
|
|
@@ -1293,10 +967,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1293
967
|
* @throws {RequiredError}
|
|
1294
968
|
* @memberof UserApi
|
|
1295
969
|
*/
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
};
|
|
970
|
+
authenticateWithQuickConnect(requestParameters, options) {
|
|
971
|
+
return UserApiFp(this.configuration).authenticateWithQuickConnect(requestParameters.quickConnectDto, options).then((request) => request(this.axios, this.basePath));
|
|
972
|
+
}
|
|
1300
973
|
/**
|
|
1301
974
|
*
|
|
1302
975
|
* @summary Creates a user.
|
|
@@ -1305,10 +978,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1305
978
|
* @throws {RequiredError}
|
|
1306
979
|
* @memberof UserApi
|
|
1307
980
|
*/
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
};
|
|
981
|
+
createUserByName(requestParameters, options) {
|
|
982
|
+
return UserApiFp(this.configuration).createUserByName(requestParameters.createUserByName, options).then((request) => request(this.axios, this.basePath));
|
|
983
|
+
}
|
|
1312
984
|
/**
|
|
1313
985
|
*
|
|
1314
986
|
* @summary Deletes a user.
|
|
@@ -1317,10 +989,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1317
989
|
* @throws {RequiredError}
|
|
1318
990
|
* @memberof UserApi
|
|
1319
991
|
*/
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
};
|
|
992
|
+
deleteUser(requestParameters, options) {
|
|
993
|
+
return UserApiFp(this.configuration).deleteUser(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
994
|
+
}
|
|
1324
995
|
/**
|
|
1325
996
|
*
|
|
1326
997
|
* @summary Initiates the forgot password process for a local user.
|
|
@@ -1329,10 +1000,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1329
1000
|
* @throws {RequiredError}
|
|
1330
1001
|
* @memberof UserApi
|
|
1331
1002
|
*/
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
};
|
|
1003
|
+
forgotPassword(requestParameters, options) {
|
|
1004
|
+
return UserApiFp(this.configuration).forgotPassword(requestParameters.forgotPasswordDto, options).then((request) => request(this.axios, this.basePath));
|
|
1005
|
+
}
|
|
1336
1006
|
/**
|
|
1337
1007
|
*
|
|
1338
1008
|
* @summary Redeems a forgot password pin.
|
|
@@ -1341,10 +1011,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1341
1011
|
* @throws {RequiredError}
|
|
1342
1012
|
* @memberof UserApi
|
|
1343
1013
|
*/
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
};
|
|
1014
|
+
forgotPasswordPin(requestParameters, options) {
|
|
1015
|
+
return UserApiFp(this.configuration).forgotPasswordPin(requestParameters.forgotPasswordPinDto, options).then((request) => request(this.axios, this.basePath));
|
|
1016
|
+
}
|
|
1348
1017
|
/**
|
|
1349
1018
|
*
|
|
1350
1019
|
* @summary Gets the user based on auth token.
|
|
@@ -1352,10 +1021,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1352
1021
|
* @throws {RequiredError}
|
|
1353
1022
|
* @memberof UserApi
|
|
1354
1023
|
*/
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
};
|
|
1024
|
+
getCurrentUser(options) {
|
|
1025
|
+
return UserApiFp(this.configuration).getCurrentUser(options).then((request) => request(this.axios, this.basePath));
|
|
1026
|
+
}
|
|
1359
1027
|
/**
|
|
1360
1028
|
*
|
|
1361
1029
|
* @summary Gets a list of publicly visible users for display on a login screen.
|
|
@@ -1363,10 +1031,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1363
1031
|
* @throws {RequiredError}
|
|
1364
1032
|
* @memberof UserApi
|
|
1365
1033
|
*/
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
};
|
|
1034
|
+
getPublicUsers(options) {
|
|
1035
|
+
return UserApiFp(this.configuration).getPublicUsers(options).then((request) => request(this.axios, this.basePath));
|
|
1036
|
+
}
|
|
1370
1037
|
/**
|
|
1371
1038
|
*
|
|
1372
1039
|
* @summary Gets a user by Id.
|
|
@@ -1375,10 +1042,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1375
1042
|
* @throws {RequiredError}
|
|
1376
1043
|
* @memberof UserApi
|
|
1377
1044
|
*/
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
};
|
|
1045
|
+
getUserById(requestParameters, options) {
|
|
1046
|
+
return UserApiFp(this.configuration).getUserById(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
1047
|
+
}
|
|
1382
1048
|
/**
|
|
1383
1049
|
*
|
|
1384
1050
|
* @summary Gets a list of users.
|
|
@@ -1387,11 +1053,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1387
1053
|
* @throws {RequiredError}
|
|
1388
1054
|
* @memberof UserApi
|
|
1389
1055
|
*/
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
return (0, exports.UserApiFp)(this.configuration).getUsers(requestParameters.isHidden, requestParameters.isDisabled, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1394
|
-
};
|
|
1056
|
+
getUsers(requestParameters = {}, options) {
|
|
1057
|
+
return UserApiFp(this.configuration).getUsers(requestParameters.isHidden, requestParameters.isDisabled, options).then((request) => request(this.axios, this.basePath));
|
|
1058
|
+
}
|
|
1395
1059
|
/**
|
|
1396
1060
|
*
|
|
1397
1061
|
* @summary Updates a user.
|
|
@@ -1400,10 +1064,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1400
1064
|
* @throws {RequiredError}
|
|
1401
1065
|
* @memberof UserApi
|
|
1402
1066
|
*/
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
};
|
|
1067
|
+
updateUser(requestParameters, options) {
|
|
1068
|
+
return UserApiFp(this.configuration).updateUser(requestParameters.userId, requestParameters.userDto, options).then((request) => request(this.axios, this.basePath));
|
|
1069
|
+
}
|
|
1407
1070
|
/**
|
|
1408
1071
|
*
|
|
1409
1072
|
* @summary Updates a user configuration.
|
|
@@ -1412,10 +1075,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1412
1075
|
* @throws {RequiredError}
|
|
1413
1076
|
* @memberof UserApi
|
|
1414
1077
|
*/
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
};
|
|
1078
|
+
updateUserConfiguration(requestParameters, options) {
|
|
1079
|
+
return UserApiFp(this.configuration).updateUserConfiguration(requestParameters.userId, requestParameters.userConfiguration, options).then((request) => request(this.axios, this.basePath));
|
|
1080
|
+
}
|
|
1419
1081
|
/**
|
|
1420
1082
|
*
|
|
1421
1083
|
* @summary Updates a user\'s easy password.
|
|
@@ -1424,10 +1086,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1424
1086
|
* @throws {RequiredError}
|
|
1425
1087
|
* @memberof UserApi
|
|
1426
1088
|
*/
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
};
|
|
1089
|
+
updateUserEasyPassword(requestParameters, options) {
|
|
1090
|
+
return UserApiFp(this.configuration).updateUserEasyPassword(requestParameters.userId, requestParameters.updateUserEasyPassword, options).then((request) => request(this.axios, this.basePath));
|
|
1091
|
+
}
|
|
1431
1092
|
/**
|
|
1432
1093
|
*
|
|
1433
1094
|
* @summary Updates a user\'s password.
|
|
@@ -1436,10 +1097,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1436
1097
|
* @throws {RequiredError}
|
|
1437
1098
|
* @memberof UserApi
|
|
1438
1099
|
*/
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
};
|
|
1100
|
+
updateUserPassword(requestParameters, options) {
|
|
1101
|
+
return UserApiFp(this.configuration).updateUserPassword(requestParameters.userId, requestParameters.updateUserPassword, options).then((request) => request(this.axios, this.basePath));
|
|
1102
|
+
}
|
|
1443
1103
|
/**
|
|
1444
1104
|
*
|
|
1445
1105
|
* @summary Updates a user policy.
|
|
@@ -1448,10 +1108,9 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
1448
1108
|
* @throws {RequiredError}
|
|
1449
1109
|
* @memberof UserApi
|
|
1450
1110
|
*/
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
}
|
|
1457
|
-
exports.UserApi = UserApi;
|
|
1111
|
+
updateUserPolicy(requestParameters, options) {
|
|
1112
|
+
return UserApiFp(this.configuration).updateUserPolicy(requestParameters.userId, requestParameters.userPolicy, options).then((request) => request(this.axios, this.basePath));
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
export { UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp };
|