@jellyfin/sdk 0.12.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -0
- package/.openapi-generator-ignore +2 -0
- package/CHANGELOG.md +40 -3
- package/README.md +55 -32
- package/eslint.config.mjs +118 -0
- package/lib/api.d.ts +33 -9
- package/lib/api.js +88 -26
- package/lib/constants.d.ts +11 -0
- package/lib/constants.js +13 -0
- package/lib/generated-client/api/{artists-api.d.ts → artist-api.d.ts} +38 -173
- package/lib/generated-client/api/{artists-api.js → artist-api.js} +39 -33
- package/lib/generated-client/api/audio-api.d.ts +295 -450
- package/lib/generated-client/api/audio-api.js +332 -64
- package/lib/generated-client/api/authentication-api.d.ts +517 -0
- package/lib/generated-client/api/authentication-api.js +870 -0
- package/lib/generated-client/api/backup-api.d.ts +0 -22
- package/lib/generated-client/api/backup-api.js +5 -11
- package/lib/generated-client/api/branding-api.d.ts +0 -9
- package/lib/generated-client/api/branding-api.js +4 -10
- package/lib/generated-client/api/{channels-api.d.ts → channel-api.d.ts} +32 -95
- package/lib/generated-client/api/{channels-api.js → channel-api.js} +35 -41
- package/lib/generated-client/api/collection-api.d.ts +0 -31
- package/lib/generated-client/api/collection-api.js +4 -10
- package/lib/generated-client/api/{devices-api.d.ts → device-api.d.ts} +48 -81
- package/lib/generated-client/api/{devices-api.js → device-api.js} +46 -54
- package/lib/generated-client/api/{display-preferences-api.d.ts → display-preference-api.d.ts} +20 -46
- package/lib/generated-client/api/{display-preferences-api.js → display-preference-api.js} +22 -28
- package/lib/generated-client/api/environment-api.d.ts +0 -60
- package/lib/generated-client/api/environment-api.js +6 -75
- package/lib/generated-client/api/filter-api.d.ts +0 -40
- package/lib/generated-client/api/filter-api.js +3 -9
- package/lib/generated-client/api/{genres-api.d.ts → genre-api.d.ts} +20 -72
- package/lib/generated-client/api/{genres-api.js → genre-api.js} +22 -28
- package/lib/generated-client/api/image-api.d.ts +4 -1007
- package/lib/generated-client/api/image-api.js +42 -48
- package/lib/generated-client/api/instant-mix-api.d.ts +8 -245
- package/lib/generated-client/api/instant-mix-api.js +16 -121
- package/lib/generated-client/api/item-lookup-api.d.ts +0 -65
- package/lib/generated-client/api/item-lookup-api.js +12 -18
- package/lib/generated-client/api/item-update-api.d.ts +0 -25
- package/lib/generated-client/api/item-update-api.js +4 -10
- package/lib/generated-client/api/library-api.d.ts +1239 -327
- package/lib/generated-client/api/library-api.js +1307 -95
- package/lib/generated-client/api/library-structure-api.d.ts +0 -62
- package/lib/generated-client/api/library-structure-api.js +9 -15
- package/lib/generated-client/api/live-tv-api.d.ts +0 -622
- package/lib/generated-client/api/live-tv-api.js +39 -320
- package/lib/generated-client/api/localization-api.d.ts +0 -10
- package/lib/generated-client/api/localization-api.js +5 -11
- package/lib/generated-client/api/{lyrics-api.d.ts → lyric-api.d.ts} +44 -89
- package/lib/generated-client/api/{lyrics-api.js → lyric-api.js} +42 -48
- package/lib/generated-client/api/media-info-api.d.ts +4 -91
- package/lib/generated-client/api/media-info-api.js +10 -16
- package/lib/generated-client/api/{media-segments-api.d.ts → media-segment-api.d.ts} +14 -27
- package/lib/generated-client/api/{media-segments-api.js → media-segment-api.js} +17 -23
- package/lib/generated-client/api/{movies-api.d.ts → movie-api.d.ts} +14 -33
- package/lib/generated-client/api/{movies-api.js → movie-api.js} +17 -23
- package/lib/generated-client/api/music-genre-api.d.ts +85 -0
- package/lib/generated-client/api/music-genre-api.js +121 -0
- package/lib/generated-client/api/{persons-api.d.ts → person-api.d.ts} +52 -64
- package/lib/generated-client/api/{persons-api.js → person-api.js} +51 -32
- package/lib/generated-client/api/{playlists-api.d.ts → playlist-api.d.ts} +86 -185
- package/lib/generated-client/api/{playlists-api.js → playlist-api.js} +80 -81
- package/lib/generated-client/api/plugin-api.d.ts +743 -0
- package/lib/generated-client/api/plugin-api.js +1186 -0
- package/lib/generated-client/api/remote-image-api.d.ts +0 -35
- package/lib/generated-client/api/remote-image-api.js +4 -10
- package/lib/generated-client/api/{scheduled-tasks-api.d.ts → scheduled-task-api.d.ts} +38 -73
- package/lib/generated-client/api/{scheduled-tasks-api.js → scheduled-task-api.js} +37 -43
- package/lib/generated-client/api/search-api.d.ts +0 -45
- package/lib/generated-client/api/search-api.js +2 -8
- package/lib/generated-client/api/session-api.d.ts +163 -181
- package/lib/generated-client/api/session-api.js +262 -123
- package/lib/generated-client/api/{tv-shows-api.d.ts → show-api.d.ts} +34 -156
- package/lib/generated-client/api/{tv-shows-api.js → show-api.js} +36 -47
- package/lib/generated-client/api/startup-api.d.ts +20 -25
- package/lib/generated-client/api/startup-api.js +28 -14
- package/lib/generated-client/api/{studios-api.d.ts → studio-api.d.ts} +20 -70
- package/lib/generated-client/api/{studios-api.js → studio-api.js} +22 -28
- package/lib/generated-client/api/subtitle-api.d.ts +0 -114
- package/lib/generated-client/api/subtitle-api.js +11 -17
- package/lib/generated-client/api/{suggestions-api.d.ts → suggestion-api.d.ts} +14 -35
- package/lib/generated-client/api/{suggestions-api.js → suggestion-api.js} +17 -23
- package/lib/generated-client/api/sync-play-api.d.ts +0 -96
- package/lib/generated-client/api/sync-play-api.js +23 -29
- package/lib/generated-client/api/system-api.d.ts +420 -20
- package/lib/generated-client/api/system-api.js +659 -18
- package/lib/generated-client/api/{trailers-api.d.ts → trailer-api.d.ts} +32 -193
- package/lib/generated-client/api/{trailers-api.js → trailer-api.js} +35 -27
- package/lib/generated-client/api/{trickplay-api.d.ts → trick-play-api.d.ts} +20 -46
- package/lib/generated-client/api/{trickplay-api.js → trick-play-api.js} +22 -28
- package/lib/generated-client/api/user-api.d.ts +0 -249
- package/lib/generated-client/api/user-api.js +11 -277
- package/lib/generated-client/api/user-data-api.d.ts +429 -0
- package/lib/generated-client/api/{user-library-api.js → user-data-api.js} +149 -324
- package/lib/generated-client/api/{user-views-api.d.ts → user-view-api.d.ts} +20 -42
- package/lib/generated-client/api/{user-views-api.js → user-view-api.js} +22 -28
- package/lib/generated-client/api/{videos-api.d.ts → video-api.d.ts} +111 -533
- package/lib/generated-client/api/{videos-api.js → video-api.js} +141 -101
- package/lib/generated-client/api/{years-api.d.ts → year-api.d.ts} +20 -66
- package/lib/generated-client/api/{years-api.js → year-api.js} +22 -28
- package/lib/generated-client/api.d.ts +23 -38
- package/lib/generated-client/base.d.ts +0 -24
- package/lib/generated-client/base.js +0 -15
- package/lib/generated-client/common.d.ts +4 -35
- package/lib/generated-client/common.js +15 -26
- package/lib/generated-client/configuration.d.ts +24 -17
- package/lib/generated-client/configuration.js +8 -2
- package/lib/generated-client/index.js +25 -39
- package/lib/generated-client/models/access-schedule.d.ts +0 -15
- package/lib/generated-client/models/activity-log-entry-message.d.ts +0 -11
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +0 -8
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -10
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +0 -7
- package/lib/generated-client/models/activity-log-entry.d.ts +0 -25
- package/lib/generated-client/models/activity-log-sort-by.d.ts +23 -0
- package/lib/generated-client/models/{architecture.d.ts → activity-log-sort-by.js} +13 -11
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +0 -7
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/album-info.d.ts +1 -49
- package/lib/generated-client/models/all-theme-media-result.d.ts +0 -20
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/artist-info.d.ts +0 -44
- package/lib/generated-client/models/audio-spatial-format.d.ts +0 -2
- package/lib/generated-client/models/audio-spatial-format.js +0 -2
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -6
- package/lib/generated-client/models/authentication-info-query-result.d.ts +0 -8
- package/lib/generated-client/models/authentication-info.d.ts +0 -35
- package/lib/generated-client/models/authentication-result.d.ts +0 -16
- package/lib/generated-client/models/backup-manifest-dto.d.ts +5 -20
- package/lib/generated-client/models/backup-options-dto.d.ts +0 -10
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +1 -5
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +14 -81
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/base-item-dto.d.ts +6 -456
- package/lib/generated-client/models/base-item-kind.d.ts +0 -2
- package/lib/generated-client/models/base-item-kind.js +0 -2
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -80
- package/lib/generated-client/models/base-item-person.d.ts +0 -20
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/book-info.d.ts +2 -40
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/box-set-info.d.ts +1 -37
- package/lib/generated-client/models/branding-options-dto.d.ts +1 -9
- package/lib/generated-client/models/buffer-request-dto.d.ts +0 -10
- package/lib/generated-client/models/cast-receiver-application.d.ts +2 -8
- package/lib/generated-client/models/channel-features.d.ts +0 -29
- package/lib/generated-client/models/channel-item-sort-field.d.ts +0 -5
- package/lib/generated-client/models/channel-item-sort-field.js +0 -5
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +2 -12
- package/lib/generated-client/models/channel-media-content-type.d.ts +0 -5
- package/lib/generated-client/models/channel-media-content-type.js +0 -5
- package/lib/generated-client/models/channel-media-type.d.ts +0 -5
- package/lib/generated-client/models/channel-media-type.js +0 -5
- package/lib/generated-client/models/channel-type.d.ts +0 -2
- package/lib/generated-client/models/channel-type.js +0 -2
- package/lib/generated-client/models/chapter-info.d.ts +0 -18
- package/lib/generated-client/models/client-capabilities-dto.d.ts +0 -19
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +0 -4
- package/lib/generated-client/models/codec-profile.d.ts +0 -17
- package/lib/generated-client/models/codec-type.d.ts +1 -3
- package/lib/generated-client/models/codec-type.js +1 -3
- package/lib/generated-client/models/collection-creation-result.d.ts +0 -10
- package/lib/generated-client/models/collection-type-options.d.ts +0 -2
- package/lib/generated-client/models/collection-type-options.js +0 -2
- package/lib/generated-client/models/collection-type.d.ts +0 -2
- package/lib/generated-client/models/collection-type.js +0 -2
- package/lib/generated-client/models/configuration-page-info.d.ts +0 -14
- package/lib/generated-client/models/container-profile.d.ts +0 -13
- package/lib/generated-client/models/country-info.d.ts +0 -10
- package/lib/generated-client/models/create-playlist-dto.d.ts +1 -18
- package/lib/generated-client/models/create-user-by-name.d.ts +0 -6
- package/lib/generated-client/models/culture-dto.d.ts +0 -15
- package/lib/generated-client/models/custom-database-option.d.ts +2 -8
- package/lib/generated-client/models/custom-database-options.d.ts +3 -13
- package/lib/generated-client/models/database-configuration-options.d.ts +1 -15
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +0 -2
- package/lib/generated-client/models/database-locking-behavior-types.js +0 -2
- package/lib/generated-client/models/day-of-week.d.ts +0 -5
- package/lib/generated-client/models/day-of-week.js +0 -5
- package/lib/generated-client/models/day-pattern.d.ts +1 -3
- package/lib/generated-client/models/day-pattern.js +1 -3
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +0 -4
- package/lib/generated-client/models/deinterlace-method.d.ts +0 -2
- package/lib/generated-client/models/deinterlace-method.js +0 -2
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/device-info-dto.d.ts +0 -27
- package/lib/generated-client/models/device-options-dto.d.ts +0 -8
- package/lib/generated-client/models/device-profile.d.ts +1 -25
- package/lib/generated-client/models/direct-play-profile.d.ts +0 -13
- package/lib/generated-client/models/display-preferences-dto.d.ts +0 -36
- package/lib/generated-client/models/dlna-profile-type.d.ts +0 -5
- package/lib/generated-client/models/dlna-profile-type.js +0 -5
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +0 -2
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +0 -2
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +0 -2
- package/lib/generated-client/models/dynamic-day-of-week.js +0 -2
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +0 -2
- package/lib/generated-client/models/embedded-subtitle-options.js +0 -2
- package/lib/generated-client/models/encoder-preset.d.ts +0 -2
- package/lib/generated-client/models/encoder-preset.js +0 -2
- package/lib/generated-client/models/encoding-context.d.ts +1 -3
- package/lib/generated-client/models/encoding-context.js +1 -3
- package/lib/generated-client/models/encoding-options.d.ts +6 -117
- package/lib/generated-client/models/end-point-info.d.ts +0 -15
- package/lib/generated-client/models/external-id-info.d.ts +0 -11
- package/lib/generated-client/models/external-id-media-type.d.ts +0 -2
- package/lib/generated-client/models/external-id-media-type.js +0 -2
- package/lib/generated-client/models/external-url.d.ts +0 -9
- package/lib/generated-client/models/extra-type.d.ts +0 -5
- package/lib/generated-client/models/extra-type.js +0 -5
- package/lib/generated-client/models/file-system-entry-info.d.ts +0 -11
- package/lib/generated-client/models/file-system-entry-type.d.ts +0 -2
- package/lib/generated-client/models/file-system-entry-type.js +0 -2
- package/lib/generated-client/models/folder-storage-dto.d.ts +1 -13
- package/lib/generated-client/models/font-file.d.ts +0 -10
- package/lib/generated-client/models/force-keep-alive-message.d.ts +0 -11
- package/lib/generated-client/models/forgot-password-action.d.ts +0 -5
- package/lib/generated-client/models/forgot-password-action.js +0 -5
- package/lib/generated-client/models/forgot-password-dto.d.ts +0 -4
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +0 -4
- package/lib/generated-client/models/forgot-password-result.d.ts +0 -14
- package/lib/generated-client/models/general-command-message.d.ts +0 -14
- package/lib/generated-client/models/general-command-type.d.ts +0 -2
- package/lib/generated-client/models/general-command-type.js +0 -2
- package/lib/generated-client/models/general-command.d.ts +1 -21
- package/lib/generated-client/models/get-programs-dto.d.ts +0 -56
- package/lib/generated-client/models/group-info-dto.d.ts +0 -15
- package/lib/generated-client/models/group-queue-mode.d.ts +0 -2
- package/lib/generated-client/models/group-queue-mode.js +0 -2
- package/lib/generated-client/models/group-repeat-mode.d.ts +0 -2
- package/lib/generated-client/models/group-repeat-mode.js +0 -2
- package/lib/generated-client/models/group-shuffle-mode.d.ts +0 -2
- package/lib/generated-client/models/group-shuffle-mode.js +0 -2
- package/lib/generated-client/models/group-state-type.d.ts +0 -2
- package/lib/generated-client/models/group-state-type.js +0 -2
- package/lib/generated-client/models/group-state-update.d.ts +0 -12
- package/lib/generated-client/models/group-update-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +0 -1
- package/lib/generated-client/models/guide-info.d.ts +0 -9
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +0 -2
- package/lib/generated-client/models/hardware-acceleration-type.js +0 -2
- package/lib/generated-client/models/{notification-level.d.ts → hls-audio-seek-strategy.d.ts} +5 -8
- package/lib/generated-client/models/{transcoding-info.js → hls-audio-seek-strategy.js} +8 -2
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +0 -4
- package/lib/generated-client/models/image-format.d.ts +0 -2
- package/lib/generated-client/models/image-format.js +0 -2
- package/lib/generated-client/models/image-info.d.ts +0 -21
- package/lib/generated-client/models/image-option.d.ts +0 -14
- package/lib/generated-client/models/image-orientation.d.ts +0 -5
- package/lib/generated-client/models/image-orientation.js +0 -5
- package/lib/generated-client/models/image-provider-info.d.ts +0 -6
- package/lib/generated-client/models/image-resolution.d.ts +0 -2
- package/lib/generated-client/models/image-resolution.js +0 -2
- package/lib/generated-client/models/image-saving-convention.d.ts +1 -3
- package/lib/generated-client/models/image-saving-convention.js +1 -3
- package/lib/generated-client/models/image-type.d.ts +0 -2
- package/lib/generated-client/models/image-type.js +0 -2
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +0 -7
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/index.d.ts +2 -2
- package/lib/generated-client/models/index.js +2 -1
- package/lib/generated-client/models/installation-info.d.ts +0 -19
- package/lib/generated-client/models/iplugin.d.ts +0 -16
- package/lib/generated-client/models/iso-type.d.ts +0 -2
- package/lib/generated-client/models/iso-type.js +0 -2
- package/lib/generated-client/models/item-counts.d.ts +0 -26
- package/lib/generated-client/models/item-fields.d.ts +0 -2
- package/lib/generated-client/models/item-fields.js +0 -2
- package/lib/generated-client/models/item-filter.d.ts +0 -2
- package/lib/generated-client/models/item-filter.js +0 -2
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +0 -2
- package/lib/generated-client/models/join-group-request-dto.d.ts +0 -4
- package/lib/generated-client/models/keep-until.d.ts +0 -5
- package/lib/generated-client/models/keep-until.js +0 -5
- package/lib/generated-client/models/library-changed-message.d.ts +0 -14
- package/lib/generated-client/models/library-option-info-dto.d.ts +0 -6
- package/lib/generated-client/models/library-options-result-dto.d.ts +0 -14
- package/lib/generated-client/models/library-options.d.ts +0 -207
- package/lib/generated-client/models/library-storage-dto.d.ts +3 -11
- package/lib/generated-client/models/library-type-options-dto.d.ts +4 -12
- package/lib/generated-client/models/library-update-info.d.ts +0 -22
- package/lib/generated-client/models/listings-provider-info.d.ts +0 -95
- package/lib/generated-client/models/live-stream-response.d.ts +0 -10
- package/lib/generated-client/models/live-tv-info.d.ts +0 -11
- package/lib/generated-client/models/live-tv-options.d.ts +0 -80
- package/lib/generated-client/models/live-tv-service-info.d.ts +0 -24
- package/lib/generated-client/models/live-tv-service-status.d.ts +1 -3
- package/lib/generated-client/models/live-tv-service-status.js +1 -3
- package/lib/generated-client/models/localization-option.d.ts +0 -15
- package/lib/generated-client/models/location-type.d.ts +0 -2
- package/lib/generated-client/models/location-type.js +0 -2
- package/lib/generated-client/models/log-file.d.ts +1 -14
- package/lib/generated-client/models/log-level.d.ts +0 -5
- package/lib/generated-client/models/log-level.js +0 -5
- package/lib/generated-client/models/lyric-dto.d.ts +0 -9
- package/lib/generated-client/models/lyric-line-cue.d.ts +0 -10
- package/lib/generated-client/models/lyric-line.d.ts +0 -8
- package/lib/generated-client/models/lyric-metadata.d.ts +0 -22
- package/lib/generated-client/models/media-attachment.d.ts +0 -16
- package/lib/generated-client/models/media-path-dto.d.ts +0 -11
- package/lib/generated-client/models/media-path-info.d.ts +0 -10
- package/lib/generated-client/models/media-protocol.d.ts +0 -5
- package/lib/generated-client/models/media-protocol.js +0 -5
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/media-segment-dto.d.ts +0 -15
- package/lib/generated-client/models/media-segment-type.d.ts +0 -2
- package/lib/generated-client/models/media-segment-type.js +0 -2
- package/lib/generated-client/models/media-source-info.d.ts +1 -228
- package/lib/generated-client/models/media-source-type.d.ts +1 -3
- package/lib/generated-client/models/media-source-type.js +1 -3
- package/lib/generated-client/models/media-stream-protocol.d.ts +1 -3
- package/lib/generated-client/models/media-stream-protocol.js +1 -3
- package/lib/generated-client/models/media-stream-type.d.ts +0 -2
- package/lib/generated-client/models/media-stream-type.js +0 -2
- package/lib/generated-client/models/media-stream.d.ts +7 -176
- package/lib/generated-client/models/media-type.d.ts +0 -2
- package/lib/generated-client/models/media-type.js +0 -2
- package/lib/generated-client/models/media-update-info-dto.d.ts +0 -4
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +1 -7
- package/lib/generated-client/models/media-url.d.ts +0 -15
- package/lib/generated-client/models/message-command.d.ts +4 -12
- package/lib/generated-client/models/metadata-configuration.d.ts +0 -10
- package/lib/generated-client/models/metadata-editor-info.d.ts +0 -17
- package/lib/generated-client/models/metadata-field.d.ts +0 -2
- package/lib/generated-client/models/metadata-field.js +0 -2
- package/lib/generated-client/models/metadata-options.d.ts +0 -37
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +0 -5
- package/lib/generated-client/models/metadata-refresh-mode.js +0 -5
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +0 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/movie-info.d.ts +1 -37
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/music-video-info.d.ts +0 -44
- package/lib/generated-client/models/name-guid-pair.d.ts +0 -15
- package/lib/generated-client/models/name-id-pair.d.ts +0 -9
- package/lib/generated-client/models/name-value-pair.d.ts +0 -9
- package/lib/generated-client/models/network-configuration.d.ts +1 -49
- package/lib/generated-client/models/new-group-request-dto.d.ts +0 -4
- package/lib/generated-client/models/next-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/open-live-stream-dto.d.ts +0 -33
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +0 -9
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/package-info.d.ts +1 -19
- package/lib/generated-client/models/parental-rating-score.d.ts +0 -6
- package/lib/generated-client/models/parental-rating.d.ts +0 -11
- package/lib/generated-client/models/path-substitution.d.ts +0 -6
- package/lib/generated-client/models/person-kind.d.ts +1 -2
- package/lib/generated-client/models/person-kind.js +2 -3
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/person-lookup-info.d.ts +1 -37
- package/lib/generated-client/models/pin-redeem-result.d.ts +0 -9
- package/lib/generated-client/models/ping-request-dto.d.ts +0 -4
- package/lib/generated-client/models/play-access.d.ts +1 -3
- package/lib/generated-client/models/play-access.js +1 -3
- package/lib/generated-client/models/play-command.d.ts +0 -2
- package/lib/generated-client/models/play-command.js +0 -2
- package/lib/generated-client/models/play-message.d.ts +0 -14
- package/lib/generated-client/models/play-method.d.ts +1 -3
- package/lib/generated-client/models/play-method.js +1 -3
- package/lib/generated-client/models/play-queue-update-reason.d.ts +0 -2
- package/lib/generated-client/models/play-queue-update-reason.js +0 -2
- package/lib/generated-client/models/play-queue-update.d.ts +0 -27
- package/lib/generated-client/models/play-request-dto.d.ts +0 -8
- package/lib/generated-client/models/play-request.d.ts +0 -33
- package/lib/generated-client/models/playback-error-code.d.ts +1 -3
- package/lib/generated-client/models/playback-error-code.js +1 -3
- package/lib/generated-client/models/playback-info-dto.d.ts +0 -37
- package/lib/generated-client/models/playback-info-response.d.ts +0 -11
- package/lib/generated-client/models/playback-order.d.ts +0 -2
- package/lib/generated-client/models/playback-order.js +0 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +0 -71
- package/lib/generated-client/models/playback-request-type.d.ts +0 -2
- package/lib/generated-client/models/playback-request-type.js +0 -2
- package/lib/generated-client/models/playback-start-info.d.ts +0 -71
- package/lib/generated-client/models/playback-stop-info.d.ts +0 -36
- package/lib/generated-client/models/player-state-info.d.ts +0 -38
- package/lib/generated-client/models/playlist-creation-result.d.ts +0 -10
- package/lib/generated-client/models/playlist-dto.d.ts +2 -10
- package/lib/generated-client/models/playlist-user-permissions.d.ts +0 -6
- package/lib/generated-client/models/playstate-command.d.ts +0 -2
- package/lib/generated-client/models/playstate-command.js +0 -2
- package/lib/generated-client/models/playstate-message.d.ts +0 -14
- package/lib/generated-client/models/playstate-request.d.ts +2 -13
- package/lib/generated-client/models/plugin-info.d.ts +0 -21
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installing-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-status.d.ts +0 -2
- package/lib/generated-client/models/plugin-status.js +0 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +0 -14
- package/lib/generated-client/models/previous-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/problem-details.d.ts +0 -30
- package/lib/generated-client/models/process-priority-class.d.ts +0 -5
- package/lib/generated-client/models/process-priority-class.js +0 -5
- package/lib/generated-client/models/profile-condition-type.d.ts +0 -5
- package/lib/generated-client/models/profile-condition-type.js +0 -5
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -5
- package/lib/generated-client/models/profile-condition-value.js +2 -6
- package/lib/generated-client/models/profile-condition.d.ts +0 -25
- package/lib/generated-client/models/program-audio.d.ts +0 -5
- package/lib/generated-client/models/program-audio.js +0 -5
- package/lib/generated-client/models/public-system-info.d.ts +0 -19
- package/lib/generated-client/models/query-filters-legacy.d.ts +0 -25
- package/lib/generated-client/models/query-filters.d.ts +3 -15
- package/lib/generated-client/models/queue-item.d.ts +3 -9
- package/lib/generated-client/models/queue-request-dto.d.ts +0 -9
- package/lib/generated-client/models/quick-connect-dto.d.ts +0 -4
- package/lib/generated-client/models/quick-connect-result.d.ts +0 -18
- package/lib/generated-client/models/rating-type.d.ts +1 -3
- package/lib/generated-client/models/rating-type.js +1 -3
- package/lib/generated-client/models/ready-request-dto.d.ts +0 -10
- package/lib/generated-client/models/recommendation-dto.d.ts +0 -25
- package/lib/generated-client/models/recommendation-type.d.ts +0 -5
- package/lib/generated-client/models/recommendation-type.js +0 -5
- package/lib/generated-client/models/recording-status.d.ts +0 -5
- package/lib/generated-client/models/recording-status.js +0 -5
- package/lib/generated-client/models/refresh-progress-message.d.ts +0 -11
- package/lib/generated-client/models/remote-image-info.d.ts +0 -28
- package/lib/generated-client/models/remote-image-result.d.ts +0 -8
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +3 -14
- package/lib/generated-client/models/remote-search-result.d.ts +3 -59
- package/lib/generated-client/models/remote-subtitle-info.d.ts +0 -85
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +0 -8
- package/lib/generated-client/models/repeat-mode.d.ts +1 -3
- package/lib/generated-client/models/repeat-mode.js +1 -3
- package/lib/generated-client/models/repository-info.d.ts +0 -8
- package/lib/generated-client/models/restart-required-message.d.ts +0 -9
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +0 -14
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +0 -11
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -10
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +0 -7
- package/lib/generated-client/models/scroll-direction.d.ts +0 -2
- package/lib/generated-client/models/scroll-direction.js +0 -2
- package/lib/generated-client/models/search-hint-result.d.ts +0 -6
- package/lib/generated-client/models/search-hint.d.ts +0 -66
- package/lib/generated-client/models/seek-request-dto.d.ts +0 -4
- package/lib/generated-client/models/send-command-type.d.ts +0 -2
- package/lib/generated-client/models/send-command-type.js +0 -2
- package/lib/generated-client/models/send-command.d.ts +0 -17
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/series-info.d.ts +1 -37
- package/lib/generated-client/models/series-status.d.ts +0 -2
- package/lib/generated-client/models/series-status.js +0 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/series-timer-created-message.d.ts +0 -14
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/series-timer-info-dto.d.ts +1 -91
- package/lib/generated-client/models/server-configuration.d.ts +3 -180
- package/lib/generated-client/models/server-discovery-info.d.ts +0 -10
- package/lib/generated-client/models/server-restarting-message.d.ts +0 -9
- package/lib/generated-client/models/server-shutting-down-message.d.ts +0 -9
- package/lib/generated-client/models/session-info-dto.d.ts +1 -80
- package/lib/generated-client/models/session-message-type.d.ts +0 -2
- package/lib/generated-client/models/session-message-type.js +0 -2
- package/lib/generated-client/models/session-user-info.d.ts +0 -6
- package/lib/generated-client/models/sessions-message.d.ts +0 -11
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -10
- package/lib/generated-client/models/sessions-stop-message.d.ts +0 -7
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +0 -8
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +0 -7
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +0 -7
- package/lib/generated-client/models/song-info.d.ts +0 -54
- package/lib/generated-client/models/sort-order.d.ts +0 -2
- package/lib/generated-client/models/sort-order.js +0 -2
- package/lib/generated-client/models/special-view-option-dto.d.ts +0 -6
- package/lib/generated-client/models/startup-configuration-dto.d.ts +0 -10
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +0 -11
- package/lib/generated-client/models/startup-user-dto.d.ts +0 -6
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +0 -2
- package/lib/generated-client/models/subtitle-delivery-method.js +0 -2
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +0 -2
- package/lib/generated-client/models/subtitle-playback-mode.js +0 -2
- package/lib/generated-client/models/subtitle-profile.d.ts +0 -15
- package/lib/generated-client/models/sync-play-command-message.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +0 -14
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-queue-item.d.ts +0 -6
- package/lib/generated-client/models/sync-play-state-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +0 -2
- package/lib/generated-client/models/sync-play-user-access-type.js +0 -2
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +0 -14
- package/lib/generated-client/models/system-info.d.ts +0 -62
- package/lib/generated-client/models/system-storage-dto.d.ts +8 -47
- package/lib/generated-client/models/task-completion-status.d.ts +0 -2
- package/lib/generated-client/models/task-completion-status.js +0 -2
- package/lib/generated-client/models/task-info.d.ts +0 -28
- package/lib/generated-client/models/task-result.d.ts +0 -21
- package/lib/generated-client/models/task-state.d.ts +0 -2
- package/lib/generated-client/models/task-state.js +0 -2
- package/lib/generated-client/models/task-trigger-info-type.d.ts +0 -2
- package/lib/generated-client/models/task-trigger-info-type.js +0 -2
- package/lib/generated-client/models/task-trigger-info.d.ts +0 -18
- package/lib/generated-client/models/theme-media-result.d.ts +0 -10
- package/lib/generated-client/models/timer-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/timer-created-message.d.ts +0 -14
- package/lib/generated-client/models/timer-event-info.d.ts +0 -15
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/timer-info-dto.d.ts +0 -76
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-algorithm.js +0 -2
- package/lib/generated-client/models/tonemapping-mode.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-mode.js +0 -2
- package/lib/generated-client/models/tonemapping-range.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-range.js +0 -2
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/trailer-info.d.ts +1 -37
- package/lib/generated-client/models/transcode-reason.d.ts +1 -5
- package/lib/generated-client/models/transcode-reason.js +2 -6
- package/lib/generated-client/models/transcode-seek-info.d.ts +1 -3
- package/lib/generated-client/models/transcode-seek-info.js +1 -3
- package/lib/generated-client/models/transcoding-info.d.ts +2 -34
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -50
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +1 -3
- package/lib/generated-client/models/transport-stream-timestamp.js +1 -3
- package/lib/generated-client/models/trickplay-info-dto.d.ts +0 -16
- package/lib/generated-client/models/trickplay-options.d.ts +1 -33
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +0 -2
- package/lib/generated-client/models/trickplay-scan-behavior.js +0 -2
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +0 -25
- package/lib/generated-client/models/tuner-host-info.d.ts +0 -85
- package/lib/generated-client/models/type-options.d.ts +2 -35
- package/lib/generated-client/models/unrated-item.d.ts +0 -2
- package/lib/generated-client/models/unrated-item.js +0 -2
- package/lib/generated-client/models/update-library-options-dto.d.ts +0 -9
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +0 -9
- package/lib/generated-client/models/update-playlist-dto.d.ts +0 -10
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +0 -4
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +0 -24
- package/lib/generated-client/models/update-user-password.d.ts +0 -10
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +0 -12
- package/lib/generated-client/models/user-configuration.d.ts +0 -70
- package/lib/generated-client/models/user-data-change-info.d.ts +1 -7
- package/lib/generated-client/models/user-data-changed-message.d.ts +0 -14
- package/lib/generated-client/models/user-deleted-message.d.ts +0 -11
- package/lib/generated-client/models/user-dto.d.ts +6 -40
- package/lib/generated-client/models/user-item-data-dto.d.ts +1 -25
- package/lib/generated-client/models/user-policy.d.ts +0 -201
- package/lib/generated-client/models/user-updated-message.d.ts +0 -14
- package/lib/generated-client/models/utc-time-response.d.ts +0 -6
- package/lib/generated-client/models/validate-path-dto.d.ts +0 -8
- package/lib/generated-client/models/version-info.d.ts +0 -20
- package/lib/generated-client/models/video-range-type.d.ts +0 -2
- package/lib/generated-client/models/video-range-type.js +0 -2
- package/lib/generated-client/models/video-range.d.ts +0 -2
- package/lib/generated-client/models/video-range.js +0 -2
- package/lib/generated-client/models/video-type.d.ts +0 -2
- package/lib/generated-client/models/video-type.js +0 -2
- package/lib/generated-client/models/video3-dformat.d.ts +0 -5
- package/lib/generated-client/models/video3-dformat.js +0 -5
- package/lib/generated-client/models/virtual-folder-info.d.ts +0 -30
- package/lib/generated-client/models/web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +0 -30
- package/lib/index.js +1 -1
- package/lib/models/api/image-request-parameters.d.ts +1 -1
- package/lib/models/device-info.d.ts +1 -0
- package/lib/utils/api/{videos-api.d.ts → artist-api.d.ts} +2 -2
- package/lib/utils/api/{movies-api.js → artist-api.js} +4 -4
- package/lib/utils/api/authentication-api.d.ts +8 -0
- package/lib/utils/api/authentication-api.js +35 -0
- package/lib/utils/api/{tmdb-api.d.ts → backup-api.d.ts} +2 -2
- package/lib/utils/api/backup-api.js +13 -0
- package/lib/utils/api/{artists-api.d.ts → channel-api.d.ts} +2 -2
- package/lib/utils/api/{artists-api.js → channel-api.js} +4 -4
- package/lib/utils/api/{movies-api.d.ts → device-api.d.ts} +2 -2
- package/lib/utils/api/{lyrics-api.js → device-api.js} +4 -4
- package/lib/utils/api/display-preference-api.d.ts +8 -0
- package/lib/utils/api/display-preference-api.js +12 -0
- package/lib/utils/api/{items-api.d.ts → genre-api.d.ts} +2 -2
- package/lib/utils/api/{items-api.js → genre-api.js} +4 -4
- package/lib/utils/api/index.d.ts +24 -38
- package/lib/utils/api/index.js +24 -38
- package/lib/utils/api/library-api.d.ts +14 -2
- package/lib/utils/api/library-api.js +17 -1
- package/lib/utils/api/{years-api.d.ts → lyric-api.d.ts} +2 -2
- package/lib/utils/api/{years-api.js → lyric-api.js} +4 -4
- package/lib/utils/api/{activity-log-api.d.ts → media-segment-api.d.ts} +2 -2
- package/lib/utils/api/{quick-connect-api.js → media-segment-api.js} +4 -4
- package/lib/utils/api/movie-api.d.ts +8 -0
- package/lib/utils/api/movie-api.js +12 -0
- package/lib/utils/api/{dynamic-hls-api.d.ts → music-genre-api.d.ts} +2 -2
- package/lib/utils/api/{dynamic-hls-api.js → music-genre-api.js} +4 -4
- package/lib/utils/api/{genres-api.d.ts → person-api.d.ts} +2 -2
- package/lib/utils/api/{genres-api.js → person-api.js} +4 -4
- package/lib/utils/api/{trailers-api.d.ts → playlist-api.d.ts} +2 -2
- package/lib/utils/api/{channels-api.js → playlist-api.js} +4 -4
- package/lib/utils/api/{lyrics-api.d.ts → plugin-api.d.ts} +2 -2
- package/lib/utils/api/{videos-api.js → plugin-api.js} +4 -4
- package/lib/utils/api/scheduled-task-api.d.ts +8 -0
- package/lib/utils/api/{configuration-api.js → scheduled-task-api.js} +4 -4
- package/lib/utils/api/session-api.js +18 -1
- package/lib/utils/api/show-api.d.ts +8 -0
- package/lib/utils/api/{tmdb-api.js → show-api.js} +4 -4
- package/lib/utils/api/studio-api.d.ts +8 -0
- package/lib/utils/api/studio-api.js +12 -0
- package/lib/utils/api/{hls-segment-api.d.ts → suggestion-api.d.ts} +2 -2
- package/lib/utils/api/{hls-segment-api.js → suggestion-api.js} +4 -4
- package/lib/utils/api/{package-api.d.ts → trailer-api.d.ts} +2 -2
- package/lib/utils/api/{devices-api.js → trailer-api.js} +4 -4
- package/lib/utils/api/{dashboard-api.d.ts → trick-play-api.d.ts} +2 -2
- package/lib/utils/api/{dashboard-api.js → trick-play-api.js} +4 -4
- package/lib/utils/api/{api-key-api.d.ts → user-data-api.d.ts} +2 -2
- package/lib/utils/api/{time-sync-api.js → user-data-api.js} +4 -4
- package/lib/utils/api/{channels-api.d.ts → user-view-api.d.ts} +2 -2
- package/lib/utils/api/{trailers-api.js → user-view-api.js} +4 -4
- package/lib/utils/api/video-api.d.ts +8 -0
- package/lib/utils/api/video-api.js +12 -0
- package/lib/utils/api/year-api.d.ts +8 -0
- package/lib/utils/api/year-api.js +12 -0
- package/lib/utils/index.js +2 -2
- package/lib/utils/url/index.d.ts +1 -0
- package/lib/utils/url/index.js +4 -1
- package/lib/utils/versioning.d.ts +12 -1
- package/lib/utils/versioning.js +44 -13
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/lib/websocket/constants.d.ts +24 -0
- package/lib/websocket/constants.js +42 -0
- package/lib/websocket/index.d.ts +8 -0
- package/lib/websocket/index.js +3 -0
- package/lib/{utils/api/client-log-api.d.ts → websocket/models.d.ts} +6 -3
- package/lib/websocket/models.js +16 -0
- package/lib/websocket/types.d.ts +37 -0
- package/lib/websocket/types.js +42 -0
- package/lib/websocket/websocket-service.d.ts +142 -0
- package/lib/websocket/websocket-service.js +296 -0
- package/package.json +20 -16
- package/lib/generated-client/api/activity-log-api.d.ts +0 -110
- package/lib/generated-client/api/activity-log-api.js +0 -135
- package/lib/generated-client/api/api-key-api.d.ts +0 -161
- package/lib/generated-client/api/api-key-api.js +0 -245
- package/lib/generated-client/api/client-log-api.d.ts +0 -86
- package/lib/generated-client/api/client-log-api.js +0 -117
- package/lib/generated-client/api/configuration-api.d.ts +0 -292
- package/lib/generated-client/api/configuration-api.js +0 -442
- package/lib/generated-client/api/dashboard-api.d.ts +0 -132
- package/lib/generated-client/api/dashboard-api.js +0 -182
- package/lib/generated-client/api/dlna-api.d.ts +0 -292
- package/lib/generated-client/api/dlna-server-api.d.ts +0 -784
- package/lib/generated-client/api/dynamic-hls-api.d.ts +0 -4261
- package/lib/generated-client/api/dynamic-hls-api.js +0 -3025
- package/lib/generated-client/api/hls-segment-api.d.ts +0 -325
- package/lib/generated-client/api/hls-segment-api.js +0 -415
- package/lib/generated-client/api/image-by-name-api.d.ts +0 -292
- package/lib/generated-client/api/item-refresh-api.d.ts +0 -126
- package/lib/generated-client/api/item-refresh-api.js +0 -143
- package/lib/generated-client/api/items-api.d.ts +0 -1052
- package/lib/generated-client/api/items-api.js +0 -835
- package/lib/generated-client/api/music-genres-api.d.ts +0 -286
- package/lib/generated-client/api/music-genres-api.js +0 -278
- package/lib/generated-client/api/notifications-api.d.ts +0 -332
- package/lib/generated-client/api/package-api.d.ts +0 -315
- package/lib/generated-client/api/package-api.js +0 -455
- package/lib/generated-client/api/playstate-api.d.ts +0 -679
- package/lib/generated-client/api/playstate-api.js +0 -789
- package/lib/generated-client/api/plugins-api.d.ts +0 -473
- package/lib/generated-client/api/plugins-api.js +0 -663
- package/lib/generated-client/api/quick-connect-api.d.ts +0 -198
- package/lib/generated-client/api/quick-connect-api.js +0 -305
- package/lib/generated-client/api/time-sync-api.d.ts +0 -69
- package/lib/generated-client/api/time-sync-api.js +0 -109
- package/lib/generated-client/api/tmdb-api.d.ts +0 -69
- package/lib/generated-client/api/tmdb-api.js +0 -111
- package/lib/generated-client/api/universal-audio-api.d.ts +0 -420
- package/lib/generated-client/api/universal-audio-api.js +0 -364
- package/lib/generated-client/api/user-library-api.d.ts +0 -657
- package/lib/generated-client/api/video-attachments-api.d.ts +0 -101
- package/lib/generated-client/api/video-attachments-api.js +0 -126
- package/lib/generated-client/models/admin-notification-dto.d.ts +0 -42
- package/lib/generated-client/models/base-item.d.ts +0 -84
- package/lib/generated-client/models/branding-options.d.ts +0 -35
- package/lib/generated-client/models/client-capabilities.d.ts +0 -76
- package/lib/generated-client/models/config-image-types.d.ts +0 -59
- package/lib/generated-client/models/control-response.d.ts +0 -37
- package/lib/generated-client/models/device-identification.d.ts +0 -72
- package/lib/generated-client/models/device-info-query-result.d.ts +0 -36
- package/lib/generated-client/models/device-info.d.ts +0 -84
- package/lib/generated-client/models/device-options.d.ts +0 -35
- package/lib/generated-client/models/device-profile-info.d.ts +0 -36
- package/lib/generated-client/models/device-profile-type.d.ts +0 -20
- package/lib/generated-client/models/dlna-options.d.ts +0 -83
- package/lib/generated-client/models/ffmpeg-location.d.ts +0 -22
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +0 -37
- package/lib/generated-client/models/group-state-update-group-update.d.ts +0 -37
- package/lib/generated-client/models/hardware-encoding-type.d.ts +0 -25
- package/lib/generated-client/models/header-match-type.d.ts +0 -21
- package/lib/generated-client/models/http-header-info.d.ts +0 -36
- package/lib/generated-client/models/image-by-name-info.d.ts +0 -47
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +0 -29
- package/lib/generated-client/models/notification-dto.d.ts +0 -66
- package/lib/generated-client/models/notification-option.d.ts +0 -54
- package/lib/generated-client/models/notification-options.d.ts +0 -24
- package/lib/generated-client/models/notification-result-dto.d.ts +0 -30
- package/lib/generated-client/models/notification-type-info.d.ts +0 -47
- package/lib/generated-client/models/notifications-summary-dto.d.ts +0 -30
- package/lib/generated-client/models/object-group-update.d.ts +0 -36
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +0 -37
- package/lib/generated-client/models/response-profile.d.ts +0 -61
- package/lib/generated-client/models/send-to-user-type.d.ts +0 -21
- package/lib/generated-client/models/session-info.d.ts +0 -199
- package/lib/generated-client/models/string-group-update.d.ts +0 -36
- package/lib/generated-client/models/subtitle-options.d.ts +0 -71
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +0 -37
- package/lib/generated-client/models/trickplay-info.d.ts +0 -65
- package/lib/generated-client/models/update-user-easy-password.d.ts +0 -35
- package/lib/generated-client/models/wake-on-lan-info.d.ts +0 -29
- package/lib/generated-client/models/xml-attribute.d.ts +0 -29
- package/lib/utils/api/activity-log-api.js +0 -12
- package/lib/utils/api/api-key-api.js +0 -12
- package/lib/utils/api/client-log-api.js +0 -12
- package/lib/utils/api/configuration-api.d.ts +0 -8
- package/lib/utils/api/devices-api.d.ts +0 -8
- package/lib/utils/api/display-preferences-api.d.ts +0 -8
- package/lib/utils/api/display-preferences-api.js +0 -12
- package/lib/utils/api/item-refresh-api.d.ts +0 -8
- package/lib/utils/api/item-refresh-api.js +0 -12
- package/lib/utils/api/media-segments-api.d.ts +0 -8
- package/lib/utils/api/media-segments-api.js +0 -12
- package/lib/utils/api/music-genres-api.d.ts +0 -8
- package/lib/utils/api/music-genres-api.js +0 -12
- package/lib/utils/api/package-api.js +0 -12
- package/lib/utils/api/persons-api.d.ts +0 -8
- package/lib/utils/api/persons-api.js +0 -12
- package/lib/utils/api/playlists-api.d.ts +0 -8
- package/lib/utils/api/playlists-api.js +0 -12
- package/lib/utils/api/playstate-api.d.ts +0 -8
- package/lib/utils/api/playstate-api.js +0 -12
- package/lib/utils/api/plugins-api.d.ts +0 -8
- package/lib/utils/api/plugins-api.js +0 -12
- package/lib/utils/api/quick-connect-api.d.ts +0 -8
- package/lib/utils/api/scheduled-tasks-api.d.ts +0 -8
- package/lib/utils/api/scheduled-tasks-api.js +0 -12
- package/lib/utils/api/studios-api.d.ts +0 -8
- package/lib/utils/api/studios-api.js +0 -12
- package/lib/utils/api/suggestions-api.d.ts +0 -8
- package/lib/utils/api/suggestions-api.js +0 -12
- package/lib/utils/api/time-sync-api.d.ts +0 -8
- package/lib/utils/api/trickplay-api.d.ts +0 -8
- package/lib/utils/api/trickplay-api.js +0 -12
- package/lib/utils/api/tv-shows-api.d.ts +0 -8
- package/lib/utils/api/tv-shows-api.js +0 -12
- package/lib/utils/api/universal-audio-api.d.ts +0 -8
- package/lib/utils/api/universal-audio-api.js +0 -12
- package/lib/utils/api/user-library-api.d.ts +0 -8
- package/lib/utils/api/user-library-api.js +0 -12
- package/lib/utils/api/user-views-api.d.ts +0 -8
- package/lib/utils/api/user-views-api.js +0 -12
- package/lib/utils/api/video-attachments-api.d.ts +0 -8
- package/lib/utils/api/video-attachments-api.js +0 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
3
|
-
import {
|
|
2
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
+
import { BaseAPI, operationServerMap, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -16,10 +16,65 @@ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* SystemApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
19
|
*/
|
|
21
20
|
const SystemApiAxiosParamCreator = function (configuration) {
|
|
22
21
|
return {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary Gets application configuration.
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
getConfiguration: async (options = {}) => {
|
|
29
|
+
const localVarPath = `/System/Configuration`;
|
|
30
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32
|
+
let baseOptions;
|
|
33
|
+
if (configuration) {
|
|
34
|
+
baseOptions = configuration.baseOptions;
|
|
35
|
+
}
|
|
36
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
37
|
+
const localVarHeaderParameter = {};
|
|
38
|
+
const localVarQueryParameter = {};
|
|
39
|
+
// authentication CustomAuthentication required
|
|
40
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
41
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
42
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
45
|
+
return {
|
|
46
|
+
url: toPathString(localVarUrlObj),
|
|
47
|
+
options: localVarRequestOptions,
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Gets a default MetadataOptions object.
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
getDefaultMetadataOptions: async (options = {}) => {
|
|
57
|
+
const localVarPath = `/System/Configuration/MetadataOptions/Default`;
|
|
58
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
|
+
let baseOptions;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
}
|
|
64
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
65
|
+
const localVarHeaderParameter = {};
|
|
66
|
+
const localVarQueryParameter = {};
|
|
67
|
+
// authentication CustomAuthentication required
|
|
68
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
69
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
70
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
71
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
23
78
|
/**
|
|
24
79
|
*
|
|
25
80
|
* @summary Gets information about the request endpoint.
|
|
@@ -39,6 +94,95 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
39
94
|
const localVarQueryParameter = {};
|
|
40
95
|
// authentication CustomAuthentication required
|
|
41
96
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
97
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
98
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
+
return {
|
|
102
|
+
url: toPathString(localVarUrlObj),
|
|
103
|
+
options: localVarRequestOptions,
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @summary Gets activity log entries.
|
|
109
|
+
* @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
|
|
110
|
+
* @param {number} [limit] The maximum number of records to return.
|
|
111
|
+
* @param {string} [minDate] The minimum date.
|
|
112
|
+
* @param {string} [maxDate] The maximum date.
|
|
113
|
+
* @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
|
|
114
|
+
* @param {string} [name] Filter by name.
|
|
115
|
+
* @param {string} [overview] Filter by overview.
|
|
116
|
+
* @param {string} [shortOverview] Filter by short overview.
|
|
117
|
+
* @param {string} [type] Filter by type.
|
|
118
|
+
* @param {string} [itemId] Filter by item id.
|
|
119
|
+
* @param {string} [username] Filter by username.
|
|
120
|
+
* @param {LogLevel} [severity] Filter by log severity.
|
|
121
|
+
* @param {Array<ActivityLogSortBy>} [sortBy] Specify one or more sort orders. Format: SortBy=Name,Type.
|
|
122
|
+
* @param {Array<SortOrder>} [sortOrder] Sort Order..
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
getLogEntries: async (startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options = {}) => {
|
|
127
|
+
const localVarPath = `/System/ActivityLog/Entries`;
|
|
128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
129
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
130
|
+
let baseOptions;
|
|
131
|
+
if (configuration) {
|
|
132
|
+
baseOptions = configuration.baseOptions;
|
|
133
|
+
}
|
|
134
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
135
|
+
const localVarHeaderParameter = {};
|
|
136
|
+
const localVarQueryParameter = {};
|
|
137
|
+
// authentication CustomAuthentication required
|
|
138
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
139
|
+
if (startIndex !== undefined) {
|
|
140
|
+
localVarQueryParameter['startIndex'] = startIndex;
|
|
141
|
+
}
|
|
142
|
+
if (limit !== undefined) {
|
|
143
|
+
localVarQueryParameter['limit'] = limit;
|
|
144
|
+
}
|
|
145
|
+
if (minDate !== undefined) {
|
|
146
|
+
localVarQueryParameter['minDate'] = (minDate instanceof Date) ?
|
|
147
|
+
minDate.toISOString() :
|
|
148
|
+
minDate;
|
|
149
|
+
}
|
|
150
|
+
if (maxDate !== undefined) {
|
|
151
|
+
localVarQueryParameter['maxDate'] = (maxDate instanceof Date) ?
|
|
152
|
+
maxDate.toISOString() :
|
|
153
|
+
maxDate;
|
|
154
|
+
}
|
|
155
|
+
if (hasUserId !== undefined) {
|
|
156
|
+
localVarQueryParameter['hasUserId'] = hasUserId;
|
|
157
|
+
}
|
|
158
|
+
if (name !== undefined) {
|
|
159
|
+
localVarQueryParameter['name'] = name;
|
|
160
|
+
}
|
|
161
|
+
if (overview !== undefined) {
|
|
162
|
+
localVarQueryParameter['overview'] = overview;
|
|
163
|
+
}
|
|
164
|
+
if (shortOverview !== undefined) {
|
|
165
|
+
localVarQueryParameter['shortOverview'] = shortOverview;
|
|
166
|
+
}
|
|
167
|
+
if (type !== undefined) {
|
|
168
|
+
localVarQueryParameter['type'] = type;
|
|
169
|
+
}
|
|
170
|
+
if (itemId !== undefined) {
|
|
171
|
+
localVarQueryParameter['itemId'] = itemId;
|
|
172
|
+
}
|
|
173
|
+
if (username !== undefined) {
|
|
174
|
+
localVarQueryParameter['username'] = username;
|
|
175
|
+
}
|
|
176
|
+
if (severity !== undefined) {
|
|
177
|
+
localVarQueryParameter['severity'] = severity;
|
|
178
|
+
}
|
|
179
|
+
if (sortBy) {
|
|
180
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
181
|
+
}
|
|
182
|
+
if (sortOrder) {
|
|
183
|
+
localVarQueryParameter['sortOrder'] = sortOrder;
|
|
184
|
+
}
|
|
185
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
42
186
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43
187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
44
188
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -72,6 +216,39 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
72
216
|
if (name !== undefined) {
|
|
73
217
|
localVarQueryParameter['name'] = name;
|
|
74
218
|
}
|
|
219
|
+
localVarHeaderParameter['Accept'] = 'text/plain,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
223
|
+
return {
|
|
224
|
+
url: toPathString(localVarUrlObj),
|
|
225
|
+
options: localVarRequestOptions,
|
|
226
|
+
};
|
|
227
|
+
},
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @summary Gets a named configuration.
|
|
231
|
+
* @param {string} key Configuration key.
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
getNamedConfiguration: async (key, options = {}) => {
|
|
236
|
+
// verify required parameter 'key' is not null or undefined
|
|
237
|
+
assertParamExists('getNamedConfiguration', 'key', key);
|
|
238
|
+
const localVarPath = `/System/Configuration/{key}`
|
|
239
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
242
|
+
let baseOptions;
|
|
243
|
+
if (configuration) {
|
|
244
|
+
baseOptions = configuration.baseOptions;
|
|
245
|
+
}
|
|
246
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
247
|
+
const localVarHeaderParameter = {};
|
|
248
|
+
const localVarQueryParameter = {};
|
|
249
|
+
// authentication CustomAuthentication required
|
|
250
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
251
|
+
localVarHeaderParameter['Accept'] = 'application/json,text/html';
|
|
75
252
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
254
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -97,6 +274,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
97
274
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
98
275
|
const localVarHeaderParameter = {};
|
|
99
276
|
const localVarQueryParameter = {};
|
|
277
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
100
278
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
101
279
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
102
280
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -122,6 +300,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
122
300
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
123
301
|
const localVarHeaderParameter = {};
|
|
124
302
|
const localVarQueryParameter = {};
|
|
303
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
125
304
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
305
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
306
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -149,6 +328,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
149
328
|
const localVarQueryParameter = {};
|
|
150
329
|
// authentication CustomAuthentication required
|
|
151
330
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
331
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
152
332
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
153
333
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
334
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -176,6 +356,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
176
356
|
const localVarQueryParameter = {};
|
|
177
357
|
// authentication CustomAuthentication required
|
|
178
358
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
359
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
179
360
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
180
361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
362
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -203,9 +384,67 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
203
384
|
const localVarQueryParameter = {};
|
|
204
385
|
// authentication CustomAuthentication required
|
|
205
386
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
387
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
388
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
391
|
+
return {
|
|
392
|
+
url: toPathString(localVarUrlObj),
|
|
393
|
+
options: localVarRequestOptions,
|
|
394
|
+
};
|
|
395
|
+
},
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @summary Gets the current UTC time.
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
getUtcTime: async (options = {}) => {
|
|
403
|
+
const localVarPath = `/GetUtcTime`;
|
|
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 = { method: 'GET', ...baseOptions, ...options };
|
|
411
|
+
const localVarHeaderParameter = {};
|
|
412
|
+
const localVarQueryParameter = {};
|
|
413
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
417
|
+
return {
|
|
418
|
+
url: toPathString(localVarUrlObj),
|
|
419
|
+
options: localVarRequestOptions,
|
|
420
|
+
};
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary Upload a document.
|
|
425
|
+
* @param {File} [body]
|
|
426
|
+
* @param {*} [options] Override http request option.
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
*/
|
|
429
|
+
logFile: async (body, options = {}) => {
|
|
430
|
+
const localVarPath = `/ClientLog/Document`;
|
|
431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
433
|
+
let baseOptions;
|
|
434
|
+
if (configuration) {
|
|
435
|
+
baseOptions = configuration.baseOptions;
|
|
436
|
+
}
|
|
437
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
438
|
+
const localVarHeaderParameter = {};
|
|
439
|
+
const localVarQueryParameter = {};
|
|
440
|
+
// authentication CustomAuthentication required
|
|
441
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
442
|
+
localVarHeaderParameter['Content-Type'] = 'text/plain';
|
|
443
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
206
444
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
207
445
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
446
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
447
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
209
448
|
return {
|
|
210
449
|
url: toPathString(localVarUrlObj),
|
|
211
450
|
options: localVarRequestOptions,
|
|
@@ -228,6 +467,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
228
467
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
229
468
|
const localVarHeaderParameter = {};
|
|
230
469
|
const localVarQueryParameter = {};
|
|
470
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
231
471
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
232
472
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
473
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -255,6 +495,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
255
495
|
const localVarQueryParameter = {};
|
|
256
496
|
// authentication CustomAuthentication required
|
|
257
497
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
498
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
258
499
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
259
500
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
501
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -282,6 +523,7 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
282
523
|
const localVarQueryParameter = {};
|
|
283
524
|
// authentication CustomAuthentication required
|
|
284
525
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
526
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
285
527
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
286
528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
529
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -290,15 +532,143 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
290
532
|
options: localVarRequestOptions,
|
|
291
533
|
};
|
|
292
534
|
},
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @summary Updates branding configuration.
|
|
538
|
+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
updateBrandingConfiguration: async (brandingOptionsDto, options = {}) => {
|
|
543
|
+
// verify required parameter 'brandingOptionsDto' is not null or undefined
|
|
544
|
+
assertParamExists('updateBrandingConfiguration', 'brandingOptionsDto', brandingOptionsDto);
|
|
545
|
+
const localVarPath = `/System/Configuration/Branding`;
|
|
546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
548
|
+
let baseOptions;
|
|
549
|
+
if (configuration) {
|
|
550
|
+
baseOptions = configuration.baseOptions;
|
|
551
|
+
}
|
|
552
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
553
|
+
const localVarHeaderParameter = {};
|
|
554
|
+
const localVarQueryParameter = {};
|
|
555
|
+
// authentication CustomAuthentication required
|
|
556
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
557
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
558
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
559
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
560
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
561
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
562
|
+
localVarRequestOptions.data = serializeDataIfNeeded(brandingOptionsDto, localVarRequestOptions, configuration);
|
|
563
|
+
return {
|
|
564
|
+
url: toPathString(localVarUrlObj),
|
|
565
|
+
options: localVarRequestOptions,
|
|
566
|
+
};
|
|
567
|
+
},
|
|
568
|
+
/**
|
|
569
|
+
*
|
|
570
|
+
* @summary Updates application configuration.
|
|
571
|
+
* @param {ServerConfiguration} serverConfiguration Configuration.
|
|
572
|
+
* @param {*} [options] Override http request option.
|
|
573
|
+
* @throws {RequiredError}
|
|
574
|
+
*/
|
|
575
|
+
updateConfiguration: async (serverConfiguration, options = {}) => {
|
|
576
|
+
// verify required parameter 'serverConfiguration' is not null or undefined
|
|
577
|
+
assertParamExists('updateConfiguration', 'serverConfiguration', serverConfiguration);
|
|
578
|
+
const localVarPath = `/System/Configuration`;
|
|
579
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
580
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
581
|
+
let baseOptions;
|
|
582
|
+
if (configuration) {
|
|
583
|
+
baseOptions = configuration.baseOptions;
|
|
584
|
+
}
|
|
585
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
586
|
+
const localVarHeaderParameter = {};
|
|
587
|
+
const localVarQueryParameter = {};
|
|
588
|
+
// authentication CustomAuthentication required
|
|
589
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
590
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
591
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
595
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serverConfiguration, localVarRequestOptions, configuration);
|
|
596
|
+
return {
|
|
597
|
+
url: toPathString(localVarUrlObj),
|
|
598
|
+
options: localVarRequestOptions,
|
|
599
|
+
};
|
|
600
|
+
},
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @summary Updates named configuration.
|
|
604
|
+
* @param {string} key Configuration key.
|
|
605
|
+
* @param {any} body Configuration.
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
updateNamedConfiguration: async (key, body, options = {}) => {
|
|
610
|
+
// verify required parameter 'key' is not null or undefined
|
|
611
|
+
assertParamExists('updateNamedConfiguration', 'key', key);
|
|
612
|
+
// verify required parameter 'body' is not null or undefined
|
|
613
|
+
assertParamExists('updateNamedConfiguration', 'body', body);
|
|
614
|
+
const localVarPath = `/System/Configuration/{key}`
|
|
615
|
+
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
618
|
+
let baseOptions;
|
|
619
|
+
if (configuration) {
|
|
620
|
+
baseOptions = configuration.baseOptions;
|
|
621
|
+
}
|
|
622
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
623
|
+
const localVarHeaderParameter = {};
|
|
624
|
+
const localVarQueryParameter = {};
|
|
625
|
+
// authentication CustomAuthentication required
|
|
626
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
627
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
628
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
629
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
630
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
631
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
632
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
|
|
633
|
+
return {
|
|
634
|
+
url: toPathString(localVarUrlObj),
|
|
635
|
+
options: localVarRequestOptions,
|
|
636
|
+
};
|
|
637
|
+
},
|
|
293
638
|
};
|
|
294
639
|
};
|
|
295
640
|
/**
|
|
296
641
|
* SystemApi - functional programming interface
|
|
297
|
-
* @export
|
|
298
642
|
*/
|
|
299
643
|
const SystemApiFp = function (configuration) {
|
|
300
644
|
const localVarAxiosParamCreator = SystemApiAxiosParamCreator(configuration);
|
|
301
645
|
return {
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @summary Gets application configuration.
|
|
649
|
+
* @param {*} [options] Override http request option.
|
|
650
|
+
* @throws {RequiredError}
|
|
651
|
+
*/
|
|
652
|
+
async getConfiguration(options) {
|
|
653
|
+
var _a, _b, _c;
|
|
654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfiguration(options);
|
|
655
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
656
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
657
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
658
|
+
},
|
|
659
|
+
/**
|
|
660
|
+
*
|
|
661
|
+
* @summary Gets a default MetadataOptions object.
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
async getDefaultMetadataOptions(options) {
|
|
666
|
+
var _a, _b, _c;
|
|
667
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultMetadataOptions(options);
|
|
668
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
669
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getDefaultMetadataOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
670
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
671
|
+
},
|
|
302
672
|
/**
|
|
303
673
|
*
|
|
304
674
|
* @summary Gets information about the request endpoint.
|
|
@@ -312,6 +682,33 @@ const SystemApiFp = function (configuration) {
|
|
|
312
682
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getEndpointInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
313
683
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
314
684
|
},
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @summary Gets activity log entries.
|
|
688
|
+
* @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
|
|
689
|
+
* @param {number} [limit] The maximum number of records to return.
|
|
690
|
+
* @param {string} [minDate] The minimum date.
|
|
691
|
+
* @param {string} [maxDate] The maximum date.
|
|
692
|
+
* @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
|
|
693
|
+
* @param {string} [name] Filter by name.
|
|
694
|
+
* @param {string} [overview] Filter by overview.
|
|
695
|
+
* @param {string} [shortOverview] Filter by short overview.
|
|
696
|
+
* @param {string} [type] Filter by type.
|
|
697
|
+
* @param {string} [itemId] Filter by item id.
|
|
698
|
+
* @param {string} [username] Filter by username.
|
|
699
|
+
* @param {LogLevel} [severity] Filter by log severity.
|
|
700
|
+
* @param {Array<ActivityLogSortBy>} [sortBy] Specify one or more sort orders. Format: SortBy=Name,Type.
|
|
701
|
+
* @param {Array<SortOrder>} [sortOrder] Sort Order..
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
*/
|
|
705
|
+
async getLogEntries(startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options) {
|
|
706
|
+
var _a, _b, _c;
|
|
707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLogEntries(startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options);
|
|
708
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
709
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getLogEntries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
710
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
711
|
+
},
|
|
315
712
|
/**
|
|
316
713
|
*
|
|
317
714
|
* @summary Gets a log file.
|
|
@@ -326,6 +723,20 @@ const SystemApiFp = function (configuration) {
|
|
|
326
723
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getLogFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
327
724
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
725
|
},
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @summary Gets a named configuration.
|
|
729
|
+
* @param {string} key Configuration key.
|
|
730
|
+
* @param {*} [options] Override http request option.
|
|
731
|
+
* @throws {RequiredError}
|
|
732
|
+
*/
|
|
733
|
+
async getNamedConfiguration(key, options) {
|
|
734
|
+
var _a, _b, _c;
|
|
735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNamedConfiguration(key, options);
|
|
736
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
737
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getNamedConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
738
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
739
|
+
},
|
|
329
740
|
/**
|
|
330
741
|
*
|
|
331
742
|
* @summary Pings the system.
|
|
@@ -391,6 +802,33 @@ const SystemApiFp = function (configuration) {
|
|
|
391
802
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getSystemStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
392
803
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
393
804
|
},
|
|
805
|
+
/**
|
|
806
|
+
*
|
|
807
|
+
* @summary Gets the current UTC time.
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
async getUtcTime(options) {
|
|
812
|
+
var _a, _b, _c;
|
|
813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUtcTime(options);
|
|
814
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
815
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getUtcTime']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
817
|
+
},
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @summary Upload a document.
|
|
821
|
+
* @param {File} [body]
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
*/
|
|
825
|
+
async logFile(body, options) {
|
|
826
|
+
var _a, _b, _c;
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.logFile(body, options);
|
|
828
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
829
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.logFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
830
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
831
|
+
},
|
|
394
832
|
/**
|
|
395
833
|
*
|
|
396
834
|
* @summary Pings the system.
|
|
@@ -430,15 +868,75 @@ const SystemApiFp = function (configuration) {
|
|
|
430
868
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.shutdownApplication']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
431
869
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
432
870
|
},
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @summary Updates branding configuration.
|
|
874
|
+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
|
|
875
|
+
* @param {*} [options] Override http request option.
|
|
876
|
+
* @throws {RequiredError}
|
|
877
|
+
*/
|
|
878
|
+
async updateBrandingConfiguration(brandingOptionsDto, options) {
|
|
879
|
+
var _a, _b, _c;
|
|
880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBrandingConfiguration(brandingOptionsDto, options);
|
|
881
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
882
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.updateBrandingConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
883
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
884
|
+
},
|
|
885
|
+
/**
|
|
886
|
+
*
|
|
887
|
+
* @summary Updates application configuration.
|
|
888
|
+
* @param {ServerConfiguration} serverConfiguration Configuration.
|
|
889
|
+
* @param {*} [options] Override http request option.
|
|
890
|
+
* @throws {RequiredError}
|
|
891
|
+
*/
|
|
892
|
+
async updateConfiguration(serverConfiguration, options) {
|
|
893
|
+
var _a, _b, _c;
|
|
894
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConfiguration(serverConfiguration, options);
|
|
895
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
896
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.updateConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
897
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
898
|
+
},
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @summary Updates named configuration.
|
|
902
|
+
* @param {string} key Configuration key.
|
|
903
|
+
* @param {any} body Configuration.
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @throws {RequiredError}
|
|
906
|
+
*/
|
|
907
|
+
async updateNamedConfiguration(key, body, options) {
|
|
908
|
+
var _a, _b, _c;
|
|
909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateNamedConfiguration(key, body, options);
|
|
910
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
911
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.updateNamedConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
912
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
913
|
+
},
|
|
433
914
|
};
|
|
434
915
|
};
|
|
435
916
|
/**
|
|
436
917
|
* SystemApi - factory interface
|
|
437
|
-
* @export
|
|
438
918
|
*/
|
|
439
919
|
const SystemApiFactory = function (configuration, basePath, axios) {
|
|
440
920
|
const localVarFp = SystemApiFp(configuration);
|
|
441
921
|
return {
|
|
922
|
+
/**
|
|
923
|
+
*
|
|
924
|
+
* @summary Gets application configuration.
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
getConfiguration(options) {
|
|
929
|
+
return localVarFp.getConfiguration(options).then((request) => request(axios, basePath));
|
|
930
|
+
},
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @summary Gets a default MetadataOptions object.
|
|
934
|
+
* @param {*} [options] Override http request option.
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
*/
|
|
937
|
+
getDefaultMetadataOptions(options) {
|
|
938
|
+
return localVarFp.getDefaultMetadataOptions(options).then((request) => request(axios, basePath));
|
|
939
|
+
},
|
|
442
940
|
/**
|
|
443
941
|
*
|
|
444
942
|
* @summary Gets information about the request endpoint.
|
|
@@ -448,6 +946,16 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
448
946
|
getEndpointInfo(options) {
|
|
449
947
|
return localVarFp.getEndpointInfo(options).then((request) => request(axios, basePath));
|
|
450
948
|
},
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @summary Gets activity log entries.
|
|
952
|
+
* @param {SystemApiGetLogEntriesRequest} requestParameters Request parameters.
|
|
953
|
+
* @param {*} [options] Override http request option.
|
|
954
|
+
* @throws {RequiredError}
|
|
955
|
+
*/
|
|
956
|
+
getLogEntries(requestParameters = {}, options) {
|
|
957
|
+
return localVarFp.getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.maxDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
|
|
958
|
+
},
|
|
451
959
|
/**
|
|
452
960
|
*
|
|
453
961
|
* @summary Gets a log file.
|
|
@@ -458,6 +966,16 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
458
966
|
getLogFile(requestParameters, options) {
|
|
459
967
|
return localVarFp.getLogFile(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
460
968
|
},
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @summary Gets a named configuration.
|
|
972
|
+
* @param {SystemApiGetNamedConfigurationRequest} requestParameters Request parameters.
|
|
973
|
+
* @param {*} [options] Override http request option.
|
|
974
|
+
* @throws {RequiredError}
|
|
975
|
+
*/
|
|
976
|
+
getNamedConfiguration(requestParameters, options) {
|
|
977
|
+
return localVarFp.getNamedConfiguration(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
978
|
+
},
|
|
461
979
|
/**
|
|
462
980
|
*
|
|
463
981
|
* @summary Pings the system.
|
|
@@ -503,6 +1021,25 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
503
1021
|
getSystemStorage(options) {
|
|
504
1022
|
return localVarFp.getSystemStorage(options).then((request) => request(axios, basePath));
|
|
505
1023
|
},
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @summary Gets the current UTC time.
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
*/
|
|
1030
|
+
getUtcTime(options) {
|
|
1031
|
+
return localVarFp.getUtcTime(options).then((request) => request(axios, basePath));
|
|
1032
|
+
},
|
|
1033
|
+
/**
|
|
1034
|
+
*
|
|
1035
|
+
* @summary Upload a document.
|
|
1036
|
+
* @param {SystemApiLogFileRequest} requestParameters Request parameters.
|
|
1037
|
+
* @param {*} [options] Override http request option.
|
|
1038
|
+
* @throws {RequiredError}
|
|
1039
|
+
*/
|
|
1040
|
+
logFile(requestParameters = {}, options) {
|
|
1041
|
+
return localVarFp.logFile(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1042
|
+
},
|
|
506
1043
|
/**
|
|
507
1044
|
*
|
|
508
1045
|
* @summary Pings the system.
|
|
@@ -530,42 +1067,104 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
530
1067
|
shutdownApplication(options) {
|
|
531
1068
|
return localVarFp.shutdownApplication(options).then((request) => request(axios, basePath));
|
|
532
1069
|
},
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @summary Updates branding configuration.
|
|
1073
|
+
* @param {SystemApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
|
|
1074
|
+
* @param {*} [options] Override http request option.
|
|
1075
|
+
* @throws {RequiredError}
|
|
1076
|
+
*/
|
|
1077
|
+
updateBrandingConfiguration(requestParameters, options) {
|
|
1078
|
+
return localVarFp.updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(axios, basePath));
|
|
1079
|
+
},
|
|
1080
|
+
/**
|
|
1081
|
+
*
|
|
1082
|
+
* @summary Updates application configuration.
|
|
1083
|
+
* @param {SystemApiUpdateConfigurationRequest} requestParameters Request parameters.
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
*/
|
|
1087
|
+
updateConfiguration(requestParameters, options) {
|
|
1088
|
+
return localVarFp.updateConfiguration(requestParameters.serverConfiguration, options).then((request) => request(axios, basePath));
|
|
1089
|
+
},
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @summary Updates named configuration.
|
|
1093
|
+
* @param {SystemApiUpdateNamedConfigurationRequest} requestParameters Request parameters.
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
*/
|
|
1097
|
+
updateNamedConfiguration(requestParameters, options) {
|
|
1098
|
+
return localVarFp.updateNamedConfiguration(requestParameters.key, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
1099
|
+
},
|
|
533
1100
|
};
|
|
534
1101
|
};
|
|
535
1102
|
/**
|
|
536
1103
|
* SystemApi - object-oriented interface
|
|
537
|
-
* @export
|
|
538
|
-
* @class SystemApi
|
|
539
|
-
* @extends {BaseAPI}
|
|
540
1104
|
*/
|
|
541
1105
|
class SystemApi extends BaseAPI {
|
|
1106
|
+
/**
|
|
1107
|
+
*
|
|
1108
|
+
* @summary Gets application configuration.
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
*/
|
|
1112
|
+
getConfiguration(options) {
|
|
1113
|
+
return SystemApiFp(this.configuration).getConfiguration(options).then((request) => request(this.axios, this.basePath));
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
*
|
|
1117
|
+
* @summary Gets a default MetadataOptions object.
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
getDefaultMetadataOptions(options) {
|
|
1122
|
+
return SystemApiFp(this.configuration).getDefaultMetadataOptions(options).then((request) => request(this.axios, this.basePath));
|
|
1123
|
+
}
|
|
542
1124
|
/**
|
|
543
1125
|
*
|
|
544
1126
|
* @summary Gets information about the request endpoint.
|
|
545
1127
|
* @param {*} [options] Override http request option.
|
|
546
1128
|
* @throws {RequiredError}
|
|
547
|
-
* @memberof SystemApi
|
|
548
1129
|
*/
|
|
549
1130
|
getEndpointInfo(options) {
|
|
550
1131
|
return SystemApiFp(this.configuration).getEndpointInfo(options).then((request) => request(this.axios, this.basePath));
|
|
551
1132
|
}
|
|
1133
|
+
/**
|
|
1134
|
+
*
|
|
1135
|
+
* @summary Gets activity log entries.
|
|
1136
|
+
* @param {SystemApiGetLogEntriesRequest} requestParameters Request parameters.
|
|
1137
|
+
* @param {*} [options] Override http request option.
|
|
1138
|
+
* @throws {RequiredError}
|
|
1139
|
+
*/
|
|
1140
|
+
getLogEntries(requestParameters = {}, options) {
|
|
1141
|
+
return SystemApiFp(this.configuration).getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.maxDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
1142
|
+
}
|
|
552
1143
|
/**
|
|
553
1144
|
*
|
|
554
1145
|
* @summary Gets a log file.
|
|
555
1146
|
* @param {SystemApiGetLogFileRequest} requestParameters Request parameters.
|
|
556
1147
|
* @param {*} [options] Override http request option.
|
|
557
1148
|
* @throws {RequiredError}
|
|
558
|
-
* @memberof SystemApi
|
|
559
1149
|
*/
|
|
560
1150
|
getLogFile(requestParameters, options) {
|
|
561
1151
|
return SystemApiFp(this.configuration).getLogFile(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
562
1152
|
}
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* @summary Gets a named configuration.
|
|
1156
|
+
* @param {SystemApiGetNamedConfigurationRequest} requestParameters Request parameters.
|
|
1157
|
+
* @param {*} [options] Override http request option.
|
|
1158
|
+
* @throws {RequiredError}
|
|
1159
|
+
*/
|
|
1160
|
+
getNamedConfiguration(requestParameters, options) {
|
|
1161
|
+
return SystemApiFp(this.configuration).getNamedConfiguration(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
1162
|
+
}
|
|
563
1163
|
/**
|
|
564
1164
|
*
|
|
565
1165
|
* @summary Pings the system.
|
|
566
1166
|
* @param {*} [options] Override http request option.
|
|
567
1167
|
* @throws {RequiredError}
|
|
568
|
-
* @memberof SystemApi
|
|
569
1168
|
*/
|
|
570
1169
|
getPingSystem(options) {
|
|
571
1170
|
return SystemApiFp(this.configuration).getPingSystem(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -575,7 +1174,6 @@ class SystemApi extends BaseAPI {
|
|
|
575
1174
|
* @summary Gets public information about the server.
|
|
576
1175
|
* @param {*} [options] Override http request option.
|
|
577
1176
|
* @throws {RequiredError}
|
|
578
|
-
* @memberof SystemApi
|
|
579
1177
|
*/
|
|
580
1178
|
getPublicSystemInfo(options) {
|
|
581
1179
|
return SystemApiFp(this.configuration).getPublicSystemInfo(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -585,7 +1183,6 @@ class SystemApi extends BaseAPI {
|
|
|
585
1183
|
* @summary Gets a list of available server log files.
|
|
586
1184
|
* @param {*} [options] Override http request option.
|
|
587
1185
|
* @throws {RequiredError}
|
|
588
|
-
* @memberof SystemApi
|
|
589
1186
|
*/
|
|
590
1187
|
getServerLogs(options) {
|
|
591
1188
|
return SystemApiFp(this.configuration).getServerLogs(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -595,7 +1192,6 @@ class SystemApi extends BaseAPI {
|
|
|
595
1192
|
* @summary Gets information about the server.
|
|
596
1193
|
* @param {*} [options] Override http request option.
|
|
597
1194
|
* @throws {RequiredError}
|
|
598
|
-
* @memberof SystemApi
|
|
599
1195
|
*/
|
|
600
1196
|
getSystemInfo(options) {
|
|
601
1197
|
return SystemApiFp(this.configuration).getSystemInfo(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -605,17 +1201,34 @@ class SystemApi extends BaseAPI {
|
|
|
605
1201
|
* @summary Gets information about the server.
|
|
606
1202
|
* @param {*} [options] Override http request option.
|
|
607
1203
|
* @throws {RequiredError}
|
|
608
|
-
* @memberof SystemApi
|
|
609
1204
|
*/
|
|
610
1205
|
getSystemStorage(options) {
|
|
611
1206
|
return SystemApiFp(this.configuration).getSystemStorage(options).then((request) => request(this.axios, this.basePath));
|
|
612
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
*
|
|
1210
|
+
* @summary Gets the current UTC time.
|
|
1211
|
+
* @param {*} [options] Override http request option.
|
|
1212
|
+
* @throws {RequiredError}
|
|
1213
|
+
*/
|
|
1214
|
+
getUtcTime(options) {
|
|
1215
|
+
return SystemApiFp(this.configuration).getUtcTime(options).then((request) => request(this.axios, this.basePath));
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
*
|
|
1219
|
+
* @summary Upload a document.
|
|
1220
|
+
* @param {SystemApiLogFileRequest} requestParameters Request parameters.
|
|
1221
|
+
* @param {*} [options] Override http request option.
|
|
1222
|
+
* @throws {RequiredError}
|
|
1223
|
+
*/
|
|
1224
|
+
logFile(requestParameters = {}, options) {
|
|
1225
|
+
return SystemApiFp(this.configuration).logFile(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1226
|
+
}
|
|
613
1227
|
/**
|
|
614
1228
|
*
|
|
615
1229
|
* @summary Pings the system.
|
|
616
1230
|
* @param {*} [options] Override http request option.
|
|
617
1231
|
* @throws {RequiredError}
|
|
618
|
-
* @memberof SystemApi
|
|
619
1232
|
*/
|
|
620
1233
|
postPingSystem(options) {
|
|
621
1234
|
return SystemApiFp(this.configuration).postPingSystem(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -625,7 +1238,6 @@ class SystemApi extends BaseAPI {
|
|
|
625
1238
|
* @summary Restarts the application.
|
|
626
1239
|
* @param {*} [options] Override http request option.
|
|
627
1240
|
* @throws {RequiredError}
|
|
628
|
-
* @memberof SystemApi
|
|
629
1241
|
*/
|
|
630
1242
|
restartApplication(options) {
|
|
631
1243
|
return SystemApiFp(this.configuration).restartApplication(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -635,11 +1247,40 @@ class SystemApi extends BaseAPI {
|
|
|
635
1247
|
* @summary Shuts down the application.
|
|
636
1248
|
* @param {*} [options] Override http request option.
|
|
637
1249
|
* @throws {RequiredError}
|
|
638
|
-
* @memberof SystemApi
|
|
639
1250
|
*/
|
|
640
1251
|
shutdownApplication(options) {
|
|
641
1252
|
return SystemApiFp(this.configuration).shutdownApplication(options).then((request) => request(this.axios, this.basePath));
|
|
642
1253
|
}
|
|
1254
|
+
/**
|
|
1255
|
+
*
|
|
1256
|
+
* @summary Updates branding configuration.
|
|
1257
|
+
* @param {SystemApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
|
|
1258
|
+
* @param {*} [options] Override http request option.
|
|
1259
|
+
* @throws {RequiredError}
|
|
1260
|
+
*/
|
|
1261
|
+
updateBrandingConfiguration(requestParameters, options) {
|
|
1262
|
+
return SystemApiFp(this.configuration).updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
*
|
|
1266
|
+
* @summary Updates application configuration.
|
|
1267
|
+
* @param {SystemApiUpdateConfigurationRequest} requestParameters Request parameters.
|
|
1268
|
+
* @param {*} [options] Override http request option.
|
|
1269
|
+
* @throws {RequiredError}
|
|
1270
|
+
*/
|
|
1271
|
+
updateConfiguration(requestParameters, options) {
|
|
1272
|
+
return SystemApiFp(this.configuration).updateConfiguration(requestParameters.serverConfiguration, options).then((request) => request(this.axios, this.basePath));
|
|
1273
|
+
}
|
|
1274
|
+
/**
|
|
1275
|
+
*
|
|
1276
|
+
* @summary Updates named configuration.
|
|
1277
|
+
* @param {SystemApiUpdateNamedConfigurationRequest} requestParameters Request parameters.
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
updateNamedConfiguration(requestParameters, options) {
|
|
1282
|
+
return SystemApiFp(this.configuration).updateNamedConfiguration(requestParameters.key, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
1283
|
+
}
|
|
643
1284
|
}
|
|
644
1285
|
|
|
645
1286
|
export { SystemApi, SystemApiAxiosParamCreator, SystemApiFactory, SystemApiFp };
|