@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
|
@@ -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 { PluginInfo } 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 { PluginInfo } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* PluginsApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
disablePlugin: (pluginId: string, version: string, options?:
|
|
28
|
+
disablePlugin: (pluginId: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Enables a disabled plugin.
|
|
@@ -34,7 +34,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
enablePlugin: (pluginId: string, version: string, options?:
|
|
37
|
+
enablePlugin: (pluginId: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Gets plugin configuration.
|
|
@@ -42,7 +42,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
getPluginConfiguration: (pluginId: string, options?:
|
|
45
|
+
getPluginConfiguration: (pluginId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @summary Gets a plugin\'s image.
|
|
@@ -51,7 +51,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
getPluginImage: (pluginId: string, version: string, options?:
|
|
54
|
+
getPluginImage: (pluginId: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @summary Gets a plugin\'s manifest.
|
|
@@ -59,14 +59,14 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
getPluginManifest: (pluginId: string, options?:
|
|
62
|
+
getPluginManifest: (pluginId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @summary Gets a list of currently installed plugins.
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
getPlugins: (options?:
|
|
69
|
+
getPlugins: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary Uninstalls a plugin.
|
|
@@ -75,7 +75,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
75
75
|
* @deprecated
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
uninstallPlugin: (pluginId: string, options?:
|
|
78
|
+
uninstallPlugin: (pluginId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @summary Uninstalls a plugin by version.
|
|
@@ -84,7 +84,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
uninstallPluginByVersion: (pluginId: string, version: string, options?:
|
|
87
|
+
uninstallPluginByVersion: (pluginId: string, version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
88
|
/**
|
|
89
89
|
* Accepts plugin configuration as JSON body.
|
|
90
90
|
* @summary Updates plugin configuration.
|
|
@@ -92,7 +92,7 @@ export declare const PluginsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
updatePluginConfiguration: (pluginId: string, options?:
|
|
95
|
+
updatePluginConfiguration: (pluginId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* PluginsApi - functional programming interface
|
|
@@ -107,7 +107,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
disablePlugin(pluginId: string, version: string, options?:
|
|
110
|
+
disablePlugin(pluginId: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
* @summary Enables a disabled plugin.
|
|
@@ -116,7 +116,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
119
|
-
enablePlugin(pluginId: string, version: string, options?:
|
|
119
|
+
enablePlugin(pluginId: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
122
122
|
* @summary Gets plugin configuration.
|
|
@@ -124,7 +124,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
getPluginConfiguration(pluginId: string, options?:
|
|
127
|
+
getPluginConfiguration(pluginId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
130
|
* @summary Gets a plugin\'s image.
|
|
@@ -133,7 +133,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
136
|
-
getPluginImage(pluginId: string, version: string, options?:
|
|
136
|
+
getPluginImage(pluginId: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
137
137
|
/**
|
|
138
138
|
*
|
|
139
139
|
* @summary Gets a plugin\'s manifest.
|
|
@@ -141,14 +141,14 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
getPluginManifest(pluginId: string, options?:
|
|
144
|
+
getPluginManifest(pluginId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @summary Gets a list of currently installed plugins.
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
getPlugins(options?:
|
|
151
|
+
getPlugins(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PluginInfo>>>;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
154
|
* @summary Uninstalls a plugin.
|
|
@@ -157,7 +157,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
157
157
|
* @deprecated
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
uninstallPlugin(pluginId: string, options?:
|
|
160
|
+
uninstallPlugin(pluginId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @summary Uninstalls a plugin by version.
|
|
@@ -166,7 +166,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
uninstallPluginByVersion(pluginId: string, version: string, options?:
|
|
169
|
+
uninstallPluginByVersion(pluginId: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
170
170
|
/**
|
|
171
171
|
* Accepts plugin configuration as JSON body.
|
|
172
172
|
* @summary Updates plugin configuration.
|
|
@@ -174,7 +174,7 @@ export declare const PluginsApiFp: (configuration?: Configuration) => {
|
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
*/
|
|
177
|
-
updatePluginConfiguration(pluginId: string, options?:
|
|
177
|
+
updatePluginConfiguration(pluginId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
178
178
|
};
|
|
179
179
|
/**
|
|
180
180
|
* PluginsApi - factory interface
|
|
@@ -184,79 +184,75 @@ export declare const PluginsApiFactory: (configuration?: Configuration, basePath
|
|
|
184
184
|
/**
|
|
185
185
|
*
|
|
186
186
|
* @summary Disable a plugin.
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {string} version Plugin version.
|
|
187
|
+
* @param {PluginsApiDisablePluginRequest} requestParameters Request parameters.
|
|
189
188
|
* @param {*} [options] Override http request option.
|
|
190
189
|
* @throws {RequiredError}
|
|
191
190
|
*/
|
|
192
|
-
disablePlugin(
|
|
191
|
+
disablePlugin(requestParameters: PluginsApiDisablePluginRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
193
192
|
/**
|
|
194
193
|
*
|
|
195
194
|
* @summary Enables a disabled plugin.
|
|
196
|
-
* @param {
|
|
197
|
-
* @param {string} version Plugin version.
|
|
195
|
+
* @param {PluginsApiEnablePluginRequest} requestParameters Request parameters.
|
|
198
196
|
* @param {*} [options] Override http request option.
|
|
199
197
|
* @throws {RequiredError}
|
|
200
198
|
*/
|
|
201
|
-
enablePlugin(
|
|
199
|
+
enablePlugin(requestParameters: PluginsApiEnablePluginRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
202
200
|
/**
|
|
203
201
|
*
|
|
204
202
|
* @summary Gets plugin configuration.
|
|
205
|
-
* @param {
|
|
203
|
+
* @param {PluginsApiGetPluginConfigurationRequest} requestParameters Request parameters.
|
|
206
204
|
* @param {*} [options] Override http request option.
|
|
207
205
|
* @throws {RequiredError}
|
|
208
206
|
*/
|
|
209
|
-
getPluginConfiguration(
|
|
207
|
+
getPluginConfiguration(requestParameters: PluginsApiGetPluginConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
210
208
|
/**
|
|
211
209
|
*
|
|
212
210
|
* @summary Gets a plugin\'s image.
|
|
213
|
-
* @param {
|
|
214
|
-
* @param {string} version Plugin version.
|
|
211
|
+
* @param {PluginsApiGetPluginImageRequest} requestParameters Request parameters.
|
|
215
212
|
* @param {*} [options] Override http request option.
|
|
216
213
|
* @throws {RequiredError}
|
|
217
214
|
*/
|
|
218
|
-
getPluginImage(
|
|
215
|
+
getPluginImage(requestParameters: PluginsApiGetPluginImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
219
216
|
/**
|
|
220
217
|
*
|
|
221
218
|
* @summary Gets a plugin\'s manifest.
|
|
222
|
-
* @param {
|
|
219
|
+
* @param {PluginsApiGetPluginManifestRequest} requestParameters Request parameters.
|
|
223
220
|
* @param {*} [options] Override http request option.
|
|
224
221
|
* @throws {RequiredError}
|
|
225
222
|
*/
|
|
226
|
-
getPluginManifest(
|
|
223
|
+
getPluginManifest(requestParameters: PluginsApiGetPluginManifestRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
227
224
|
/**
|
|
228
225
|
*
|
|
229
226
|
* @summary Gets a list of currently installed plugins.
|
|
230
227
|
* @param {*} [options] Override http request option.
|
|
231
228
|
* @throws {RequiredError}
|
|
232
229
|
*/
|
|
233
|
-
getPlugins(options?:
|
|
230
|
+
getPlugins(options?: RawAxiosRequestConfig): AxiosPromise<Array<PluginInfo>>;
|
|
234
231
|
/**
|
|
235
232
|
*
|
|
236
233
|
* @summary Uninstalls a plugin.
|
|
237
|
-
* @param {
|
|
234
|
+
* @param {PluginsApiUninstallPluginRequest} requestParameters Request parameters.
|
|
238
235
|
* @param {*} [options] Override http request option.
|
|
239
236
|
* @deprecated
|
|
240
237
|
* @throws {RequiredError}
|
|
241
238
|
*/
|
|
242
|
-
uninstallPlugin(
|
|
239
|
+
uninstallPlugin(requestParameters: PluginsApiUninstallPluginRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
243
240
|
/**
|
|
244
241
|
*
|
|
245
242
|
* @summary Uninstalls a plugin by version.
|
|
246
|
-
* @param {
|
|
247
|
-
* @param {string} version Plugin version.
|
|
243
|
+
* @param {PluginsApiUninstallPluginByVersionRequest} requestParameters Request parameters.
|
|
248
244
|
* @param {*} [options] Override http request option.
|
|
249
245
|
* @throws {RequiredError}
|
|
250
246
|
*/
|
|
251
|
-
uninstallPluginByVersion(
|
|
247
|
+
uninstallPluginByVersion(requestParameters: PluginsApiUninstallPluginByVersionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
252
248
|
/**
|
|
253
249
|
* Accepts plugin configuration as JSON body.
|
|
254
250
|
* @summary Updates plugin configuration.
|
|
255
|
-
* @param {
|
|
251
|
+
* @param {PluginsApiUpdatePluginConfigurationRequest} requestParameters Request parameters.
|
|
256
252
|
* @param {*} [options] Override http request option.
|
|
257
253
|
* @throws {RequiredError}
|
|
258
254
|
*/
|
|
259
|
-
updatePluginConfiguration(
|
|
255
|
+
updatePluginConfiguration(requestParameters: PluginsApiUpdatePluginConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
260
256
|
};
|
|
261
257
|
/**
|
|
262
258
|
* Request parameters for disablePlugin operation in PluginsApi.
|
|
@@ -401,7 +397,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
401
397
|
* @throws {RequiredError}
|
|
402
398
|
* @memberof PluginsApi
|
|
403
399
|
*/
|
|
404
|
-
disablePlugin(requestParameters: PluginsApiDisablePluginRequest, options?:
|
|
400
|
+
disablePlugin(requestParameters: PluginsApiDisablePluginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
405
401
|
/**
|
|
406
402
|
*
|
|
407
403
|
* @summary Enables a disabled plugin.
|
|
@@ -410,7 +406,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
410
406
|
* @throws {RequiredError}
|
|
411
407
|
* @memberof PluginsApi
|
|
412
408
|
*/
|
|
413
|
-
enablePlugin(requestParameters: PluginsApiEnablePluginRequest, options?:
|
|
409
|
+
enablePlugin(requestParameters: PluginsApiEnablePluginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
414
410
|
/**
|
|
415
411
|
*
|
|
416
412
|
* @summary Gets plugin configuration.
|
|
@@ -419,7 +415,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
419
415
|
* @throws {RequiredError}
|
|
420
416
|
* @memberof PluginsApi
|
|
421
417
|
*/
|
|
422
|
-
getPluginConfiguration(requestParameters: PluginsApiGetPluginConfigurationRequest, options?:
|
|
418
|
+
getPluginConfiguration(requestParameters: PluginsApiGetPluginConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
423
419
|
/**
|
|
424
420
|
*
|
|
425
421
|
* @summary Gets a plugin\'s image.
|
|
@@ -428,7 +424,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
428
424
|
* @throws {RequiredError}
|
|
429
425
|
* @memberof PluginsApi
|
|
430
426
|
*/
|
|
431
|
-
getPluginImage(requestParameters: PluginsApiGetPluginImageRequest, options?:
|
|
427
|
+
getPluginImage(requestParameters: PluginsApiGetPluginImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
432
428
|
/**
|
|
433
429
|
*
|
|
434
430
|
* @summary Gets a plugin\'s manifest.
|
|
@@ -437,7 +433,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
437
433
|
* @throws {RequiredError}
|
|
438
434
|
* @memberof PluginsApi
|
|
439
435
|
*/
|
|
440
|
-
getPluginManifest(requestParameters: PluginsApiGetPluginManifestRequest, options?:
|
|
436
|
+
getPluginManifest(requestParameters: PluginsApiGetPluginManifestRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
441
437
|
/**
|
|
442
438
|
*
|
|
443
439
|
* @summary Gets a list of currently installed plugins.
|
|
@@ -445,7 +441,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
445
441
|
* @throws {RequiredError}
|
|
446
442
|
* @memberof PluginsApi
|
|
447
443
|
*/
|
|
448
|
-
getPlugins(options?:
|
|
444
|
+
getPlugins(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PluginInfo[], any, {}>>;
|
|
449
445
|
/**
|
|
450
446
|
*
|
|
451
447
|
* @summary Uninstalls a plugin.
|
|
@@ -455,7 +451,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
455
451
|
* @throws {RequiredError}
|
|
456
452
|
* @memberof PluginsApi
|
|
457
453
|
*/
|
|
458
|
-
uninstallPlugin(requestParameters: PluginsApiUninstallPluginRequest, options?:
|
|
454
|
+
uninstallPlugin(requestParameters: PluginsApiUninstallPluginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
459
455
|
/**
|
|
460
456
|
*
|
|
461
457
|
* @summary Uninstalls a plugin by version.
|
|
@@ -464,7 +460,7 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
464
460
|
* @throws {RequiredError}
|
|
465
461
|
* @memberof PluginsApi
|
|
466
462
|
*/
|
|
467
|
-
uninstallPluginByVersion(requestParameters: PluginsApiUninstallPluginByVersionRequest, options?:
|
|
463
|
+
uninstallPluginByVersion(requestParameters: PluginsApiUninstallPluginByVersionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
468
464
|
/**
|
|
469
465
|
* Accepts plugin configuration as JSON body.
|
|
470
466
|
* @summary Updates plugin configuration.
|
|
@@ -473,5 +469,5 @@ export declare class PluginsApi extends BaseAPI {
|
|
|
473
469
|
* @throws {RequiredError}
|
|
474
470
|
* @memberof PluginsApi
|
|
475
471
|
*/
|
|
476
|
-
updatePluginConfiguration(requestParameters: PluginsApiUpdatePluginConfigurationRequest, options?:
|
|
472
|
+
updatePluginConfiguration(requestParameters: PluginsApiUpdatePluginConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
477
473
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -330,8 +330,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
330
330
|
* @throws {RequiredError}
|
|
331
331
|
*/
|
|
332
332
|
async disablePlugin(pluginId, version, options) {
|
|
333
|
+
var _a, _b, _c;
|
|
333
334
|
const localVarAxiosArgs = await localVarAxiosParamCreator.disablePlugin(pluginId, version, options);
|
|
334
|
-
|
|
335
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
336
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.disablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
335
338
|
},
|
|
336
339
|
/**
|
|
337
340
|
*
|
|
@@ -342,8 +345,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
342
345
|
* @throws {RequiredError}
|
|
343
346
|
*/
|
|
344
347
|
async enablePlugin(pluginId, version, options) {
|
|
348
|
+
var _a, _b, _c;
|
|
345
349
|
const localVarAxiosArgs = await localVarAxiosParamCreator.enablePlugin(pluginId, version, options);
|
|
346
|
-
|
|
350
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
351
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.enablePlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
352
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
347
353
|
},
|
|
348
354
|
/**
|
|
349
355
|
*
|
|
@@ -353,8 +359,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
353
359
|
* @throws {RequiredError}
|
|
354
360
|
*/
|
|
355
361
|
async getPluginConfiguration(pluginId, options) {
|
|
362
|
+
var _a, _b, _c;
|
|
356
363
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginConfiguration(pluginId, options);
|
|
357
|
-
|
|
364
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
365
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
358
367
|
},
|
|
359
368
|
/**
|
|
360
369
|
*
|
|
@@ -365,8 +374,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
365
374
|
* @throws {RequiredError}
|
|
366
375
|
*/
|
|
367
376
|
async getPluginImage(pluginId, version, options) {
|
|
377
|
+
var _a, _b, _c;
|
|
368
378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginImage(pluginId, version, options);
|
|
369
|
-
|
|
379
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
380
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
381
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
370
382
|
},
|
|
371
383
|
/**
|
|
372
384
|
*
|
|
@@ -376,8 +388,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
376
388
|
* @throws {RequiredError}
|
|
377
389
|
*/
|
|
378
390
|
async getPluginManifest(pluginId, options) {
|
|
391
|
+
var _a, _b, _c;
|
|
379
392
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPluginManifest(pluginId, options);
|
|
380
|
-
|
|
393
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
394
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPluginManifest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
395
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
381
396
|
},
|
|
382
397
|
/**
|
|
383
398
|
*
|
|
@@ -386,8 +401,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
386
401
|
* @throws {RequiredError}
|
|
387
402
|
*/
|
|
388
403
|
async getPlugins(options) {
|
|
404
|
+
var _a, _b, _c;
|
|
389
405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlugins(options);
|
|
390
|
-
|
|
406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
407
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.getPlugins']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
408
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
391
409
|
},
|
|
392
410
|
/**
|
|
393
411
|
*
|
|
@@ -398,8 +416,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
398
416
|
* @throws {RequiredError}
|
|
399
417
|
*/
|
|
400
418
|
async uninstallPlugin(pluginId, options) {
|
|
419
|
+
var _a, _b, _c;
|
|
401
420
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPlugin(pluginId, options);
|
|
402
|
-
|
|
421
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
422
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPlugin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
423
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
403
424
|
},
|
|
404
425
|
/**
|
|
405
426
|
*
|
|
@@ -410,8 +431,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
410
431
|
* @throws {RequiredError}
|
|
411
432
|
*/
|
|
412
433
|
async uninstallPluginByVersion(pluginId, version, options) {
|
|
434
|
+
var _a, _b, _c;
|
|
413
435
|
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallPluginByVersion(pluginId, version, options);
|
|
414
|
-
|
|
436
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.uninstallPluginByVersion']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
415
439
|
},
|
|
416
440
|
/**
|
|
417
441
|
* Accepts plugin configuration as JSON body.
|
|
@@ -421,8 +445,11 @@ const PluginsApiFp = function (configuration) {
|
|
|
421
445
|
* @throws {RequiredError}
|
|
422
446
|
*/
|
|
423
447
|
async updatePluginConfiguration(pluginId, options) {
|
|
448
|
+
var _a, _b, _c;
|
|
424
449
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePluginConfiguration(pluginId, options);
|
|
425
|
-
|
|
450
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
451
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PluginsApi.updatePluginConfiguration']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
426
453
|
},
|
|
427
454
|
};
|
|
428
455
|
};
|
|
@@ -436,55 +463,52 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
436
463
|
/**
|
|
437
464
|
*
|
|
438
465
|
* @summary Disable a plugin.
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {string} version Plugin version.
|
|
466
|
+
* @param {PluginsApiDisablePluginRequest} requestParameters Request parameters.
|
|
441
467
|
* @param {*} [options] Override http request option.
|
|
442
468
|
* @throws {RequiredError}
|
|
443
469
|
*/
|
|
444
|
-
disablePlugin(
|
|
445
|
-
return localVarFp.disablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
|
|
470
|
+
disablePlugin(requestParameters, options) {
|
|
471
|
+
return localVarFp.disablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
446
472
|
},
|
|
447
473
|
/**
|
|
448
474
|
*
|
|
449
475
|
* @summary Enables a disabled plugin.
|
|
450
|
-
* @param {
|
|
451
|
-
* @param {string} version Plugin version.
|
|
476
|
+
* @param {PluginsApiEnablePluginRequest} requestParameters Request parameters.
|
|
452
477
|
* @param {*} [options] Override http request option.
|
|
453
478
|
* @throws {RequiredError}
|
|
454
479
|
*/
|
|
455
|
-
enablePlugin(
|
|
456
|
-
return localVarFp.enablePlugin(pluginId, version, options).then((request) => request(axios, basePath));
|
|
480
|
+
enablePlugin(requestParameters, options) {
|
|
481
|
+
return localVarFp.enablePlugin(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
457
482
|
},
|
|
458
483
|
/**
|
|
459
484
|
*
|
|
460
485
|
* @summary Gets plugin configuration.
|
|
461
|
-
* @param {
|
|
486
|
+
* @param {PluginsApiGetPluginConfigurationRequest} requestParameters Request parameters.
|
|
462
487
|
* @param {*} [options] Override http request option.
|
|
463
488
|
* @throws {RequiredError}
|
|
464
489
|
*/
|
|
465
|
-
getPluginConfiguration(
|
|
466
|
-
return localVarFp.getPluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
|
|
490
|
+
getPluginConfiguration(requestParameters, options) {
|
|
491
|
+
return localVarFp.getPluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
467
492
|
},
|
|
468
493
|
/**
|
|
469
494
|
*
|
|
470
495
|
* @summary Gets a plugin\'s image.
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {string} version Plugin version.
|
|
496
|
+
* @param {PluginsApiGetPluginImageRequest} requestParameters Request parameters.
|
|
473
497
|
* @param {*} [options] Override http request option.
|
|
474
498
|
* @throws {RequiredError}
|
|
475
499
|
*/
|
|
476
|
-
getPluginImage(
|
|
477
|
-
return localVarFp.getPluginImage(pluginId, version, options).then((request) => request(axios, basePath));
|
|
500
|
+
getPluginImage(requestParameters, options) {
|
|
501
|
+
return localVarFp.getPluginImage(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
478
502
|
},
|
|
479
503
|
/**
|
|
480
504
|
*
|
|
481
505
|
* @summary Gets a plugin\'s manifest.
|
|
482
|
-
* @param {
|
|
506
|
+
* @param {PluginsApiGetPluginManifestRequest} requestParameters Request parameters.
|
|
483
507
|
* @param {*} [options] Override http request option.
|
|
484
508
|
* @throws {RequiredError}
|
|
485
509
|
*/
|
|
486
|
-
getPluginManifest(
|
|
487
|
-
return localVarFp.getPluginManifest(pluginId, options).then((request) => request(axios, basePath));
|
|
510
|
+
getPluginManifest(requestParameters, options) {
|
|
511
|
+
return localVarFp.getPluginManifest(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
488
512
|
},
|
|
489
513
|
/**
|
|
490
514
|
*
|
|
@@ -498,34 +522,33 @@ const PluginsApiFactory = function (configuration, basePath, axios) {
|
|
|
498
522
|
/**
|
|
499
523
|
*
|
|
500
524
|
* @summary Uninstalls a plugin.
|
|
501
|
-
* @param {
|
|
525
|
+
* @param {PluginsApiUninstallPluginRequest} requestParameters Request parameters.
|
|
502
526
|
* @param {*} [options] Override http request option.
|
|
503
527
|
* @deprecated
|
|
504
528
|
* @throws {RequiredError}
|
|
505
529
|
*/
|
|
506
|
-
uninstallPlugin(
|
|
507
|
-
return localVarFp.uninstallPlugin(pluginId, options).then((request) => request(axios, basePath));
|
|
530
|
+
uninstallPlugin(requestParameters, options) {
|
|
531
|
+
return localVarFp.uninstallPlugin(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
508
532
|
},
|
|
509
533
|
/**
|
|
510
534
|
*
|
|
511
535
|
* @summary Uninstalls a plugin by version.
|
|
512
|
-
* @param {
|
|
513
|
-
* @param {string} version Plugin version.
|
|
536
|
+
* @param {PluginsApiUninstallPluginByVersionRequest} requestParameters Request parameters.
|
|
514
537
|
* @param {*} [options] Override http request option.
|
|
515
538
|
* @throws {RequiredError}
|
|
516
539
|
*/
|
|
517
|
-
uninstallPluginByVersion(
|
|
518
|
-
return localVarFp.uninstallPluginByVersion(pluginId, version, options).then((request) => request(axios, basePath));
|
|
540
|
+
uninstallPluginByVersion(requestParameters, options) {
|
|
541
|
+
return localVarFp.uninstallPluginByVersion(requestParameters.pluginId, requestParameters.version, options).then((request) => request(axios, basePath));
|
|
519
542
|
},
|
|
520
543
|
/**
|
|
521
544
|
* Accepts plugin configuration as JSON body.
|
|
522
545
|
* @summary Updates plugin configuration.
|
|
523
|
-
* @param {
|
|
546
|
+
* @param {PluginsApiUpdatePluginConfigurationRequest} requestParameters Request parameters.
|
|
524
547
|
* @param {*} [options] Override http request option.
|
|
525
548
|
* @throws {RequiredError}
|
|
526
549
|
*/
|
|
527
|
-
updatePluginConfiguration(
|
|
528
|
-
return localVarFp.updatePluginConfiguration(pluginId, options).then((request) => request(axios, basePath));
|
|
550
|
+
updatePluginConfiguration(requestParameters, options) {
|
|
551
|
+
return localVarFp.updatePluginConfiguration(requestParameters.pluginId, options).then((request) => request(axios, basePath));
|
|
529
552
|
},
|
|
530
553
|
};
|
|
531
554
|
};
|