@jellyfin/sdk 0.10.0 → 0.12.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/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +35 -19
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +24 -13
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +30 -63
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +94 -57
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +16 -25
- package/lib/generated-client/api.d.ts +2 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +4 -4
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +11 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update-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 +29 -6
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +8 -2
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +29 -23
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -105,6 +105,38 @@ const ConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
options: localVarRequestOptions,
|
|
106
106
|
};
|
|
107
107
|
},
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary Updates branding configuration.
|
|
111
|
+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
updateBrandingConfiguration: async (brandingOptionsDto, options = {}) => {
|
|
116
|
+
// verify required parameter 'brandingOptionsDto' is not null or undefined
|
|
117
|
+
assertParamExists('updateBrandingConfiguration', 'brandingOptionsDto', brandingOptionsDto);
|
|
118
|
+
const localVarPath = `/System/Configuration/Branding`;
|
|
119
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
121
|
+
let baseOptions;
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
}
|
|
125
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
126
|
+
const localVarHeaderParameter = {};
|
|
127
|
+
const localVarQueryParameter = {};
|
|
128
|
+
// authentication CustomAuthentication required
|
|
129
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
130
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
131
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
134
|
+
localVarRequestOptions.data = serializeDataIfNeeded(brandingOptionsDto, localVarRequestOptions, configuration);
|
|
135
|
+
return {
|
|
136
|
+
url: toPathString(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
},
|
|
108
140
|
/**
|
|
109
141
|
*
|
|
110
142
|
* @summary Updates application configuration.
|
|
@@ -189,8 +221,11 @@ const ConfigurationApiFp = function (configuration) {
|
|
|
189
221
|
* @throws {RequiredError}
|
|
190
222
|
*/
|
|
191
223
|
async getConfiguration(options) {
|
|
224
|
+
var _a, _b, _c;
|
|
192
225
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfiguration(options);
|
|
193
|
-
|
|
226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
227
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.getConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
228
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
194
229
|
},
|
|
195
230
|
/**
|
|
196
231
|
*
|
|
@@ -199,8 +234,11 @@ const ConfigurationApiFp = function (configuration) {
|
|
|
199
234
|
* @throws {RequiredError}
|
|
200
235
|
*/
|
|
201
236
|
async getDefaultMetadataOptions(options) {
|
|
237
|
+
var _a, _b, _c;
|
|
202
238
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultMetadataOptions(options);
|
|
203
|
-
|
|
239
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
240
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.getDefaultMetadataOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
241
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
204
242
|
},
|
|
205
243
|
/**
|
|
206
244
|
*
|
|
@@ -210,8 +248,25 @@ const ConfigurationApiFp = function (configuration) {
|
|
|
210
248
|
* @throws {RequiredError}
|
|
211
249
|
*/
|
|
212
250
|
async getNamedConfiguration(key, options) {
|
|
251
|
+
var _a, _b, _c;
|
|
213
252
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getNamedConfiguration(key, options);
|
|
214
|
-
|
|
253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
254
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.getNamedConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Updates branding configuration.
|
|
260
|
+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
async updateBrandingConfiguration(brandingOptionsDto, options) {
|
|
265
|
+
var _a, _b, _c;
|
|
266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBrandingConfiguration(brandingOptionsDto, options);
|
|
267
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
268
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.updateBrandingConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
269
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
215
270
|
},
|
|
216
271
|
/**
|
|
217
272
|
*
|
|
@@ -221,8 +276,11 @@ const ConfigurationApiFp = function (configuration) {
|
|
|
221
276
|
* @throws {RequiredError}
|
|
222
277
|
*/
|
|
223
278
|
async updateConfiguration(serverConfiguration, options) {
|
|
279
|
+
var _a, _b, _c;
|
|
224
280
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateConfiguration(serverConfiguration, options);
|
|
225
|
-
|
|
281
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
282
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.updateConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
283
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
226
284
|
},
|
|
227
285
|
/**
|
|
228
286
|
*
|
|
@@ -233,8 +291,11 @@ const ConfigurationApiFp = function (configuration) {
|
|
|
233
291
|
* @throws {RequiredError}
|
|
234
292
|
*/
|
|
235
293
|
async updateNamedConfiguration(key, body, options) {
|
|
294
|
+
var _a, _b, _c;
|
|
236
295
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateNamedConfiguration(key, body, options);
|
|
237
|
-
|
|
296
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
297
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ConfigurationApi.updateNamedConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
298
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
238
299
|
},
|
|
239
300
|
};
|
|
240
301
|
};
|
|
@@ -266,33 +327,42 @@ const ConfigurationApiFactory = function (configuration, basePath, axios) {
|
|
|
266
327
|
/**
|
|
267
328
|
*
|
|
268
329
|
* @summary Gets a named configuration.
|
|
269
|
-
* @param {
|
|
330
|
+
* @param {ConfigurationApiGetNamedConfigurationRequest} requestParameters Request parameters.
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
getNamedConfiguration(requestParameters, options) {
|
|
335
|
+
return localVarFp.getNamedConfiguration(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
336
|
+
},
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @summary Updates branding configuration.
|
|
340
|
+
* @param {ConfigurationApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
|
|
270
341
|
* @param {*} [options] Override http request option.
|
|
271
342
|
* @throws {RequiredError}
|
|
272
343
|
*/
|
|
273
|
-
|
|
274
|
-
return localVarFp.
|
|
344
|
+
updateBrandingConfiguration(requestParameters, options) {
|
|
345
|
+
return localVarFp.updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(axios, basePath));
|
|
275
346
|
},
|
|
276
347
|
/**
|
|
277
348
|
*
|
|
278
349
|
* @summary Updates application configuration.
|
|
279
|
-
* @param {
|
|
350
|
+
* @param {ConfigurationApiUpdateConfigurationRequest} requestParameters Request parameters.
|
|
280
351
|
* @param {*} [options] Override http request option.
|
|
281
352
|
* @throws {RequiredError}
|
|
282
353
|
*/
|
|
283
|
-
updateConfiguration(
|
|
284
|
-
return localVarFp.updateConfiguration(serverConfiguration, options).then((request) => request(axios, basePath));
|
|
354
|
+
updateConfiguration(requestParameters, options) {
|
|
355
|
+
return localVarFp.updateConfiguration(requestParameters.serverConfiguration, options).then((request) => request(axios, basePath));
|
|
285
356
|
},
|
|
286
357
|
/**
|
|
287
358
|
*
|
|
288
359
|
* @summary Updates named configuration.
|
|
289
|
-
* @param {
|
|
290
|
-
* @param {any} body Configuration.
|
|
360
|
+
* @param {ConfigurationApiUpdateNamedConfigurationRequest} requestParameters Request parameters.
|
|
291
361
|
* @param {*} [options] Override http request option.
|
|
292
362
|
* @throws {RequiredError}
|
|
293
363
|
*/
|
|
294
|
-
updateNamedConfiguration(
|
|
295
|
-
return localVarFp.updateNamedConfiguration(key, body, options).then((request) => request(axios, basePath));
|
|
364
|
+
updateNamedConfiguration(requestParameters, options) {
|
|
365
|
+
return localVarFp.updateNamedConfiguration(requestParameters.key, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
296
366
|
},
|
|
297
367
|
};
|
|
298
368
|
};
|
|
@@ -334,6 +404,17 @@ class ConfigurationApi extends BaseAPI {
|
|
|
334
404
|
getNamedConfiguration(requestParameters, options) {
|
|
335
405
|
return ConfigurationApiFp(this.configuration).getNamedConfiguration(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
336
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @summary Updates branding configuration.
|
|
410
|
+
* @param {ConfigurationApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof ConfigurationApi
|
|
414
|
+
*/
|
|
415
|
+
updateBrandingConfiguration(requestParameters, options) {
|
|
416
|
+
return ConfigurationApiFp(this.configuration).updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(this.axios, this.basePath));
|
|
417
|
+
}
|
|
337
418
|
/**
|
|
338
419
|
*
|
|
339
420
|
* @summary Updates application configuration.
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { ConfigurationPageInfo } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { ConfigurationPageInfo } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* DashboardApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -24,7 +24,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
getConfigurationPages: (enableInMainMenu?: boolean, options?:
|
|
27
|
+
getConfigurationPages: (enableInMainMenu?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @summary Gets a dashboard configuration page.
|
|
@@ -32,7 +32,7 @@ export declare const DashboardApiAxiosParamCreator: (configuration?: Configurati
|
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
35
|
-
getDashboardConfigurationPage: (name?: string, options?:
|
|
35
|
+
getDashboardConfigurationPage: (name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* DashboardApi - functional programming interface
|
|
@@ -46,7 +46,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
getConfigurationPages(enableInMainMenu?: boolean, options?:
|
|
49
|
+
getConfigurationPages(enableInMainMenu?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ConfigurationPageInfo>>>;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @summary Gets a dashboard configuration page.
|
|
@@ -54,7 +54,7 @@ export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
getDashboardConfigurationPage(name?: string, options?:
|
|
57
|
+
getDashboardConfigurationPage(name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* DashboardApi - factory interface
|
|
@@ -64,19 +64,19 @@ export declare const DashboardApiFactory: (configuration?: Configuration, basePa
|
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @summary Gets the configuration pages.
|
|
67
|
-
* @param {
|
|
67
|
+
* @param {DashboardApiGetConfigurationPagesRequest} requestParameters Request parameters.
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
getConfigurationPages(
|
|
71
|
+
getConfigurationPages(requestParameters?: DashboardApiGetConfigurationPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ConfigurationPageInfo>>;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @summary Gets a dashboard configuration page.
|
|
75
|
-
* @param {
|
|
75
|
+
* @param {DashboardApiGetDashboardConfigurationPageRequest} requestParameters Request parameters.
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
|
-
getDashboardConfigurationPage(
|
|
79
|
+
getDashboardConfigurationPage(requestParameters?: DashboardApiGetDashboardConfigurationPageRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
82
|
* Request parameters for getConfigurationPages operation in DashboardApi.
|
|
@@ -119,7 +119,7 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
119
119
|
* @throws {RequiredError}
|
|
120
120
|
* @memberof DashboardApi
|
|
121
121
|
*/
|
|
122
|
-
getConfigurationPages(requestParameters?: DashboardApiGetConfigurationPagesRequest, options?:
|
|
122
|
+
getConfigurationPages(requestParameters?: DashboardApiGetConfigurationPagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigurationPageInfo[], any, {}>>;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
* @summary Gets a dashboard configuration page.
|
|
@@ -128,5 +128,5 @@ export declare class DashboardApi extends BaseAPI {
|
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
* @memberof DashboardApi
|
|
130
130
|
*/
|
|
131
|
-
getDashboardConfigurationPage(requestParameters?: DashboardApiGetDashboardConfigurationPageRequest, options?:
|
|
131
|
+
getDashboardConfigurationPage(requestParameters?: DashboardApiGetDashboardConfigurationPageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
132
132
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { DUMMY_BASE_URL,
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams, toPathString, setApiKeyToObject, createRequestFunction } from '../common.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -97,8 +97,11 @@ const DashboardApiFp = function (configuration) {
|
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
99
|
async getConfigurationPages(enableInMainMenu, options) {
|
|
100
|
+
var _a, _b, _c;
|
|
100
101
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getConfigurationPages(enableInMainMenu, options);
|
|
101
|
-
|
|
102
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
103
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.getConfigurationPages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
104
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
102
105
|
},
|
|
103
106
|
/**
|
|
104
107
|
*
|
|
@@ -108,8 +111,11 @@ const DashboardApiFp = function (configuration) {
|
|
|
108
111
|
* @throws {RequiredError}
|
|
109
112
|
*/
|
|
110
113
|
async getDashboardConfigurationPage(name, options) {
|
|
114
|
+
var _a, _b, _c;
|
|
111
115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getDashboardConfigurationPage(name, options);
|
|
112
|
-
|
|
116
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
117
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.getDashboardConfigurationPage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
113
119
|
},
|
|
114
120
|
};
|
|
115
121
|
};
|
|
@@ -123,22 +129,22 @@ const DashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
123
129
|
/**
|
|
124
130
|
*
|
|
125
131
|
* @summary Gets the configuration pages.
|
|
126
|
-
* @param {
|
|
132
|
+
* @param {DashboardApiGetConfigurationPagesRequest} requestParameters Request parameters.
|
|
127
133
|
* @param {*} [options] Override http request option.
|
|
128
134
|
* @throws {RequiredError}
|
|
129
135
|
*/
|
|
130
|
-
getConfigurationPages(
|
|
131
|
-
return localVarFp.getConfigurationPages(enableInMainMenu, options).then((request) => request(axios, basePath));
|
|
136
|
+
getConfigurationPages(requestParameters = {}, options) {
|
|
137
|
+
return localVarFp.getConfigurationPages(requestParameters.enableInMainMenu, options).then((request) => request(axios, basePath));
|
|
132
138
|
},
|
|
133
139
|
/**
|
|
134
140
|
*
|
|
135
141
|
* @summary Gets a dashboard configuration page.
|
|
136
|
-
* @param {
|
|
142
|
+
* @param {DashboardApiGetDashboardConfigurationPageRequest} requestParameters Request parameters.
|
|
137
143
|
* @param {*} [options] Override http request option.
|
|
138
144
|
* @throws {RequiredError}
|
|
139
145
|
*/
|
|
140
|
-
getDashboardConfigurationPage(
|
|
141
|
-
return localVarFp.getDashboardConfigurationPage(name, options).then((request) => request(axios, basePath));
|
|
146
|
+
getDashboardConfigurationPage(requestParameters = {}, options) {
|
|
147
|
+
return localVarFp.getDashboardConfigurationPage(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
142
148
|
},
|
|
143
149
|
};
|
|
144
150
|
};
|
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { DeviceOptionsDto } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { DeviceInfoDto } from '../models';
|
|
15
|
+
import type { DeviceInfoDtoQueryResult } from '../models';
|
|
16
|
+
import type { DeviceOptionsDto } from '../models';
|
|
18
17
|
/**
|
|
19
18
|
* DevicesApi - axios parameter creator
|
|
20
19
|
* @export
|
|
@@ -27,7 +26,7 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
deleteDevice: (id: string, options?:
|
|
29
|
+
deleteDevice: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
/**
|
|
32
31
|
*
|
|
33
32
|
* @summary Get info for a device.
|
|
@@ -35,7 +34,7 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
35
34
|
* @param {*} [options] Override http request option.
|
|
36
35
|
* @throws {RequiredError}
|
|
37
36
|
*/
|
|
38
|
-
getDeviceInfo: (id: string, options?:
|
|
37
|
+
getDeviceInfo: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
38
|
/**
|
|
40
39
|
*
|
|
41
40
|
* @summary Get options for a device.
|
|
@@ -43,7 +42,7 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
43
42
|
* @param {*} [options] Override http request option.
|
|
44
43
|
* @throws {RequiredError}
|
|
45
44
|
*/
|
|
46
|
-
getDeviceOptions: (id: string, options?:
|
|
45
|
+
getDeviceOptions: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
46
|
/**
|
|
48
47
|
*
|
|
49
48
|
* @summary Get Devices.
|
|
@@ -51,7 +50,7 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
51
50
|
* @param {*} [options] Override http request option.
|
|
52
51
|
* @throws {RequiredError}
|
|
53
52
|
*/
|
|
54
|
-
getDevices: (userId?: string, options?:
|
|
53
|
+
getDevices: (userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
54
|
/**
|
|
56
55
|
*
|
|
57
56
|
* @summary Update device options.
|
|
@@ -60,7 +59,7 @@ export declare const DevicesApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
updateDeviceOptions: (id: string, deviceOptionsDto: DeviceOptionsDto, options?:
|
|
62
|
+
updateDeviceOptions: (id: string, deviceOptionsDto: DeviceOptionsDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* DevicesApi - functional programming interface
|
|
@@ -74,7 +73,7 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
|
|
|
74
73
|
* @param {*} [options] Override http request option.
|
|
75
74
|
* @throws {RequiredError}
|
|
76
75
|
*/
|
|
77
|
-
deleteDevice(id: string, options?:
|
|
76
|
+
deleteDevice(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
78
77
|
/**
|
|
79
78
|
*
|
|
80
79
|
* @summary Get info for a device.
|
|
@@ -82,7 +81,7 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
|
|
|
82
81
|
* @param {*} [options] Override http request option.
|
|
83
82
|
* @throws {RequiredError}
|
|
84
83
|
*/
|
|
85
|
-
getDeviceInfo(id: string, options?:
|
|
84
|
+
getDeviceInfo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDto>>;
|
|
86
85
|
/**
|
|
87
86
|
*
|
|
88
87
|
* @summary Get options for a device.
|
|
@@ -90,7 +89,7 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
|
|
|
90
89
|
* @param {*} [options] Override http request option.
|
|
91
90
|
* @throws {RequiredError}
|
|
92
91
|
*/
|
|
93
|
-
getDeviceOptions(id: string, options?:
|
|
92
|
+
getDeviceOptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceOptionsDto>>;
|
|
94
93
|
/**
|
|
95
94
|
*
|
|
96
95
|
* @summary Get Devices.
|
|
@@ -98,7 +97,7 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
|
|
|
98
97
|
* @param {*} [options] Override http request option.
|
|
99
98
|
* @throws {RequiredError}
|
|
100
99
|
*/
|
|
101
|
-
getDevices(userId?: string, options?:
|
|
100
|
+
getDevices(userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceInfoDtoQueryResult>>;
|
|
102
101
|
/**
|
|
103
102
|
*
|
|
104
103
|
* @summary Update device options.
|
|
@@ -107,7 +106,7 @@ export declare const DevicesApiFp: (configuration?: Configuration) => {
|
|
|
107
106
|
* @param {*} [options] Override http request option.
|
|
108
107
|
* @throws {RequiredError}
|
|
109
108
|
*/
|
|
110
|
-
updateDeviceOptions(id: string, deviceOptionsDto: DeviceOptionsDto, options?:
|
|
109
|
+
updateDeviceOptions(id: string, deviceOptionsDto: DeviceOptionsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
111
110
|
};
|
|
112
111
|
/**
|
|
113
112
|
* DevicesApi - factory interface
|
|
@@ -117,44 +116,43 @@ export declare const DevicesApiFactory: (configuration?: Configuration, basePath
|
|
|
117
116
|
/**
|
|
118
117
|
*
|
|
119
118
|
* @summary Deletes a device.
|
|
120
|
-
* @param {
|
|
119
|
+
* @param {DevicesApiDeleteDeviceRequest} requestParameters Request parameters.
|
|
121
120
|
* @param {*} [options] Override http request option.
|
|
122
121
|
* @throws {RequiredError}
|
|
123
122
|
*/
|
|
124
|
-
deleteDevice(
|
|
123
|
+
deleteDevice(requestParameters: DevicesApiDeleteDeviceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
125
124
|
/**
|
|
126
125
|
*
|
|
127
126
|
* @summary Get info for a device.
|
|
128
|
-
* @param {
|
|
127
|
+
* @param {DevicesApiGetDeviceInfoRequest} requestParameters Request parameters.
|
|
129
128
|
* @param {*} [options] Override http request option.
|
|
130
129
|
* @throws {RequiredError}
|
|
131
130
|
*/
|
|
132
|
-
getDeviceInfo(
|
|
131
|
+
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDto>;
|
|
133
132
|
/**
|
|
134
133
|
*
|
|
135
134
|
* @summary Get options for a device.
|
|
136
|
-
* @param {
|
|
135
|
+
* @param {DevicesApiGetDeviceOptionsRequest} requestParameters Request parameters.
|
|
137
136
|
* @param {*} [options] Override http request option.
|
|
138
137
|
* @throws {RequiredError}
|
|
139
138
|
*/
|
|
140
|
-
getDeviceOptions(
|
|
139
|
+
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceOptionsDto>;
|
|
141
140
|
/**
|
|
142
141
|
*
|
|
143
142
|
* @summary Get Devices.
|
|
144
|
-
* @param {
|
|
143
|
+
* @param {DevicesApiGetDevicesRequest} requestParameters Request parameters.
|
|
145
144
|
* @param {*} [options] Override http request option.
|
|
146
145
|
* @throws {RequiredError}
|
|
147
146
|
*/
|
|
148
|
-
getDevices(
|
|
147
|
+
getDevices(requestParameters?: DevicesApiGetDevicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeviceInfoDtoQueryResult>;
|
|
149
148
|
/**
|
|
150
149
|
*
|
|
151
150
|
* @summary Update device options.
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {DeviceOptionsDto} deviceOptionsDto Device Options.
|
|
151
|
+
* @param {DevicesApiUpdateDeviceOptionsRequest} requestParameters Request parameters.
|
|
154
152
|
* @param {*} [options] Override http request option.
|
|
155
153
|
* @throws {RequiredError}
|
|
156
154
|
*/
|
|
157
|
-
updateDeviceOptions(
|
|
155
|
+
updateDeviceOptions(requestParameters: DevicesApiUpdateDeviceOptionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
158
156
|
};
|
|
159
157
|
/**
|
|
160
158
|
* Request parameters for deleteDevice operation in DevicesApi.
|
|
@@ -242,7 +240,7 @@ export declare class DevicesApi extends BaseAPI {
|
|
|
242
240
|
* @throws {RequiredError}
|
|
243
241
|
* @memberof DevicesApi
|
|
244
242
|
*/
|
|
245
|
-
deleteDevice(requestParameters: DevicesApiDeleteDeviceRequest, options?:
|
|
243
|
+
deleteDevice(requestParameters: DevicesApiDeleteDeviceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
246
244
|
/**
|
|
247
245
|
*
|
|
248
246
|
* @summary Get info for a device.
|
|
@@ -251,7 +249,7 @@ export declare class DevicesApi extends BaseAPI {
|
|
|
251
249
|
* @throws {RequiredError}
|
|
252
250
|
* @memberof DevicesApi
|
|
253
251
|
*/
|
|
254
|
-
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?:
|
|
252
|
+
getDeviceInfo(requestParameters: DevicesApiGetDeviceInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceInfoDto, any, {}>>;
|
|
255
253
|
/**
|
|
256
254
|
*
|
|
257
255
|
* @summary Get options for a device.
|
|
@@ -260,7 +258,7 @@ export declare class DevicesApi extends BaseAPI {
|
|
|
260
258
|
* @throws {RequiredError}
|
|
261
259
|
* @memberof DevicesApi
|
|
262
260
|
*/
|
|
263
|
-
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?:
|
|
261
|
+
getDeviceOptions(requestParameters: DevicesApiGetDeviceOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceOptionsDto, any, {}>>;
|
|
264
262
|
/**
|
|
265
263
|
*
|
|
266
264
|
* @summary Get Devices.
|
|
@@ -269,7 +267,7 @@ export declare class DevicesApi extends BaseAPI {
|
|
|
269
267
|
* @throws {RequiredError}
|
|
270
268
|
* @memberof DevicesApi
|
|
271
269
|
*/
|
|
272
|
-
getDevices(requestParameters?: DevicesApiGetDevicesRequest, options?:
|
|
270
|
+
getDevices(requestParameters?: DevicesApiGetDevicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeviceInfoDtoQueryResult, any, {}>>;
|
|
273
271
|
/**
|
|
274
272
|
*
|
|
275
273
|
* @summary Update device options.
|
|
@@ -278,5 +276,5 @@ export declare class DevicesApi extends BaseAPI {
|
|
|
278
276
|
* @throws {RequiredError}
|
|
279
277
|
* @memberof DevicesApi
|
|
280
278
|
*/
|
|
281
|
-
updateDeviceOptions(requestParameters: DevicesApiUpdateDeviceOptionsRequest, options?:
|
|
279
|
+
updateDeviceOptions(requestParameters: DevicesApiUpdateDeviceOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
282
280
|
}
|