@jellyfin/sdk 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +93 -245
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +30 -16
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +15 -9
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +36 -22
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +15 -14
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +34 -18
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +15 -27
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +36 -28
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +269 -596
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +8 -9
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +38 -122
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +212 -142
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +273 -258
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +45 -30
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +45 -52
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +15 -27
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +37 -23
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +15 -22
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +137 -63
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +64 -63
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +23 -12
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +38 -17
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +15 -26
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +68 -69
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +133 -70
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +44 -14
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +29 -62
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +93 -56
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +15 -24
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, serializeDataIfNeeded, 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 */
|
|
@@ -423,8 +423,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
423
423
|
* @throws {RequiredError}
|
|
424
424
|
*/
|
|
425
425
|
async markPlayedItem(itemId, userId, datePlayed, options) {
|
|
426
|
+
var _a, _b, _c;
|
|
426
427
|
const localVarAxiosArgs = await localVarAxiosParamCreator.markPlayedItem(itemId, userId, datePlayed, options);
|
|
427
|
-
|
|
428
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
429
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.markPlayedItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
430
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
428
431
|
},
|
|
429
432
|
/**
|
|
430
433
|
*
|
|
@@ -435,8 +438,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
435
438
|
* @throws {RequiredError}
|
|
436
439
|
*/
|
|
437
440
|
async markUnplayedItem(itemId, userId, options) {
|
|
441
|
+
var _a, _b, _c;
|
|
438
442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.markUnplayedItem(itemId, userId, options);
|
|
439
|
-
|
|
443
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
444
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.markUnplayedItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
440
446
|
},
|
|
441
447
|
/**
|
|
442
448
|
*
|
|
@@ -457,8 +463,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
457
463
|
* @throws {RequiredError}
|
|
458
464
|
*/
|
|
459
465
|
async onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, options) {
|
|
466
|
+
var _a, _b, _c;
|
|
460
467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, options);
|
|
461
|
-
|
|
468
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
469
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.onPlaybackProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
462
471
|
},
|
|
463
472
|
/**
|
|
464
473
|
*
|
|
@@ -475,8 +484,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
475
484
|
* @throws {RequiredError}
|
|
476
485
|
*/
|
|
477
486
|
async onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, options) {
|
|
487
|
+
var _a, _b, _c;
|
|
478
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, options);
|
|
479
|
-
|
|
489
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
490
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.onPlaybackStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
491
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
480
492
|
},
|
|
481
493
|
/**
|
|
482
494
|
*
|
|
@@ -491,8 +503,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
491
503
|
* @throws {RequiredError}
|
|
492
504
|
*/
|
|
493
505
|
async onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, options) {
|
|
506
|
+
var _a, _b, _c;
|
|
494
507
|
const localVarAxiosArgs = await localVarAxiosParamCreator.onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, options);
|
|
495
|
-
|
|
508
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
509
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.onPlaybackStopped']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
510
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
496
511
|
},
|
|
497
512
|
/**
|
|
498
513
|
*
|
|
@@ -502,8 +517,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
502
517
|
* @throws {RequiredError}
|
|
503
518
|
*/
|
|
504
519
|
async pingPlaybackSession(playSessionId, options) {
|
|
520
|
+
var _a, _b, _c;
|
|
505
521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.pingPlaybackSession(playSessionId, options);
|
|
506
|
-
|
|
522
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
523
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.pingPlaybackSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
524
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
507
525
|
},
|
|
508
526
|
/**
|
|
509
527
|
*
|
|
@@ -513,8 +531,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
513
531
|
* @throws {RequiredError}
|
|
514
532
|
*/
|
|
515
533
|
async reportPlaybackProgress(playbackProgressInfo, options) {
|
|
534
|
+
var _a, _b, _c;
|
|
516
535
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackProgress(playbackProgressInfo, options);
|
|
517
|
-
|
|
536
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
537
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.reportPlaybackProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
538
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
539
|
},
|
|
519
540
|
/**
|
|
520
541
|
*
|
|
@@ -524,8 +545,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
524
545
|
* @throws {RequiredError}
|
|
525
546
|
*/
|
|
526
547
|
async reportPlaybackStart(playbackStartInfo, options) {
|
|
548
|
+
var _a, _b, _c;
|
|
527
549
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStart(playbackStartInfo, options);
|
|
528
|
-
|
|
550
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
551
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.reportPlaybackStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
553
|
},
|
|
530
554
|
/**
|
|
531
555
|
*
|
|
@@ -535,8 +559,11 @@ const PlaystateApiFp = function (configuration) {
|
|
|
535
559
|
* @throws {RequiredError}
|
|
536
560
|
*/
|
|
537
561
|
async reportPlaybackStopped(playbackStopInfo, options) {
|
|
562
|
+
var _a, _b, _c;
|
|
538
563
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStopped(playbackStopInfo, options);
|
|
539
|
-
|
|
564
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
565
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlaystateApi.reportPlaybackStopped']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
566
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
540
567
|
},
|
|
541
568
|
};
|
|
542
569
|
};
|
|
@@ -550,118 +577,92 @@ const PlaystateApiFactory = function (configuration, basePath, axios) {
|
|
|
550
577
|
/**
|
|
551
578
|
*
|
|
552
579
|
* @summary Marks an item as played for user.
|
|
553
|
-
* @param {
|
|
554
|
-
* @param {string} [userId] User id.
|
|
555
|
-
* @param {string} [datePlayed] Optional. The date the item was played.
|
|
580
|
+
* @param {PlaystateApiMarkPlayedItemRequest} requestParameters Request parameters.
|
|
556
581
|
* @param {*} [options] Override http request option.
|
|
557
582
|
* @throws {RequiredError}
|
|
558
583
|
*/
|
|
559
|
-
markPlayedItem(
|
|
560
|
-
return localVarFp.markPlayedItem(itemId, userId, datePlayed, options).then((request) => request(axios, basePath));
|
|
584
|
+
markPlayedItem(requestParameters, options) {
|
|
585
|
+
return localVarFp.markPlayedItem(requestParameters.itemId, requestParameters.userId, requestParameters.datePlayed, options).then((request) => request(axios, basePath));
|
|
561
586
|
},
|
|
562
587
|
/**
|
|
563
588
|
*
|
|
564
589
|
* @summary Marks an item as unplayed for user.
|
|
565
|
-
* @param {
|
|
566
|
-
* @param {string} [userId] User id.
|
|
590
|
+
* @param {PlaystateApiMarkUnplayedItemRequest} requestParameters Request parameters.
|
|
567
591
|
* @param {*} [options] Override http request option.
|
|
568
592
|
* @throws {RequiredError}
|
|
569
593
|
*/
|
|
570
|
-
markUnplayedItem(
|
|
571
|
-
return localVarFp.markUnplayedItem(itemId, userId, options).then((request) => request(axios, basePath));
|
|
594
|
+
markUnplayedItem(requestParameters, options) {
|
|
595
|
+
return localVarFp.markUnplayedItem(requestParameters.itemId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
572
596
|
},
|
|
573
597
|
/**
|
|
574
598
|
*
|
|
575
599
|
* @summary Reports a session\'s playback progress.
|
|
576
|
-
* @param {
|
|
577
|
-
* @param {string} [mediaSourceId] The id of the MediaSource.
|
|
578
|
-
* @param {number} [positionTicks] Optional. The current position, in ticks. 1 tick = 10000 ms.
|
|
579
|
-
* @param {number} [audioStreamIndex] The audio stream index.
|
|
580
|
-
* @param {number} [subtitleStreamIndex] The subtitle stream index.
|
|
581
|
-
* @param {number} [volumeLevel] Scale of 0-100.
|
|
582
|
-
* @param {PlayMethod} [playMethod] The play method.
|
|
583
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
584
|
-
* @param {string} [playSessionId] The play session id.
|
|
585
|
-
* @param {RepeatMode} [repeatMode] The repeat mode.
|
|
586
|
-
* @param {boolean} [isPaused] Indicates if the player is paused.
|
|
587
|
-
* @param {boolean} [isMuted] Indicates if the player is muted.
|
|
600
|
+
* @param {PlaystateApiOnPlaybackProgressRequest} requestParameters Request parameters.
|
|
588
601
|
* @param {*} [options] Override http request option.
|
|
589
602
|
* @throws {RequiredError}
|
|
590
603
|
*/
|
|
591
|
-
onPlaybackProgress(
|
|
592
|
-
return localVarFp.onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, options).then((request) => request(axios, basePath));
|
|
604
|
+
onPlaybackProgress(requestParameters, options) {
|
|
605
|
+
return localVarFp.onPlaybackProgress(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters.positionTicks, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.volumeLevel, requestParameters.playMethod, requestParameters.liveStreamId, requestParameters.playSessionId, requestParameters.repeatMode, requestParameters.isPaused, requestParameters.isMuted, options).then((request) => request(axios, basePath));
|
|
593
606
|
},
|
|
594
607
|
/**
|
|
595
608
|
*
|
|
596
609
|
* @summary Reports that a session has begun playing an item.
|
|
597
|
-
* @param {
|
|
598
|
-
* @param {string} [mediaSourceId] The id of the MediaSource.
|
|
599
|
-
* @param {number} [audioStreamIndex] The audio stream index.
|
|
600
|
-
* @param {number} [subtitleStreamIndex] The subtitle stream index.
|
|
601
|
-
* @param {PlayMethod} [playMethod] The play method.
|
|
602
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
603
|
-
* @param {string} [playSessionId] The play session id.
|
|
604
|
-
* @param {boolean} [canSeek] Indicates if the client can seek.
|
|
610
|
+
* @param {PlaystateApiOnPlaybackStartRequest} requestParameters Request parameters.
|
|
605
611
|
* @param {*} [options] Override http request option.
|
|
606
612
|
* @throws {RequiredError}
|
|
607
613
|
*/
|
|
608
|
-
onPlaybackStart(
|
|
609
|
-
return localVarFp.onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, options).then((request) => request(axios, basePath));
|
|
614
|
+
onPlaybackStart(requestParameters, options) {
|
|
615
|
+
return localVarFp.onPlaybackStart(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.playMethod, requestParameters.liveStreamId, requestParameters.playSessionId, requestParameters.canSeek, options).then((request) => request(axios, basePath));
|
|
610
616
|
},
|
|
611
617
|
/**
|
|
612
618
|
*
|
|
613
619
|
* @summary Reports that a session has stopped playing an item.
|
|
614
|
-
* @param {
|
|
615
|
-
* @param {string} [mediaSourceId] The id of the MediaSource.
|
|
616
|
-
* @param {string} [nextMediaType] The next media type that will play.
|
|
617
|
-
* @param {number} [positionTicks] Optional. The position, in ticks, where playback stopped. 1 tick = 10000 ms.
|
|
618
|
-
* @param {string} [liveStreamId] The live stream id.
|
|
619
|
-
* @param {string} [playSessionId] The play session id.
|
|
620
|
+
* @param {PlaystateApiOnPlaybackStoppedRequest} requestParameters Request parameters.
|
|
620
621
|
* @param {*} [options] Override http request option.
|
|
621
622
|
* @throws {RequiredError}
|
|
622
623
|
*/
|
|
623
|
-
onPlaybackStopped(
|
|
624
|
-
return localVarFp.onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, options).then((request) => request(axios, basePath));
|
|
624
|
+
onPlaybackStopped(requestParameters, options) {
|
|
625
|
+
return localVarFp.onPlaybackStopped(requestParameters.itemId, requestParameters.mediaSourceId, requestParameters.nextMediaType, requestParameters.positionTicks, requestParameters.liveStreamId, requestParameters.playSessionId, options).then((request) => request(axios, basePath));
|
|
625
626
|
},
|
|
626
627
|
/**
|
|
627
628
|
*
|
|
628
629
|
* @summary Pings a playback session.
|
|
629
|
-
* @param {
|
|
630
|
+
* @param {PlaystateApiPingPlaybackSessionRequest} requestParameters Request parameters.
|
|
630
631
|
* @param {*} [options] Override http request option.
|
|
631
632
|
* @throws {RequiredError}
|
|
632
633
|
*/
|
|
633
|
-
pingPlaybackSession(
|
|
634
|
-
return localVarFp.pingPlaybackSession(playSessionId, options).then((request) => request(axios, basePath));
|
|
634
|
+
pingPlaybackSession(requestParameters, options) {
|
|
635
|
+
return localVarFp.pingPlaybackSession(requestParameters.playSessionId, options).then((request) => request(axios, basePath));
|
|
635
636
|
},
|
|
636
637
|
/**
|
|
637
638
|
*
|
|
638
639
|
* @summary Reports playback progress within a session.
|
|
639
|
-
* @param {
|
|
640
|
+
* @param {PlaystateApiReportPlaybackProgressRequest} requestParameters Request parameters.
|
|
640
641
|
* @param {*} [options] Override http request option.
|
|
641
642
|
* @throws {RequiredError}
|
|
642
643
|
*/
|
|
643
|
-
reportPlaybackProgress(
|
|
644
|
-
return localVarFp.reportPlaybackProgress(playbackProgressInfo, options).then((request) => request(axios, basePath));
|
|
644
|
+
reportPlaybackProgress(requestParameters = {}, options) {
|
|
645
|
+
return localVarFp.reportPlaybackProgress(requestParameters.playbackProgressInfo, options).then((request) => request(axios, basePath));
|
|
645
646
|
},
|
|
646
647
|
/**
|
|
647
648
|
*
|
|
648
649
|
* @summary Reports playback has started within a session.
|
|
649
|
-
* @param {
|
|
650
|
+
* @param {PlaystateApiReportPlaybackStartRequest} requestParameters Request parameters.
|
|
650
651
|
* @param {*} [options] Override http request option.
|
|
651
652
|
* @throws {RequiredError}
|
|
652
653
|
*/
|
|
653
|
-
reportPlaybackStart(
|
|
654
|
-
return localVarFp.reportPlaybackStart(playbackStartInfo, options).then((request) => request(axios, basePath));
|
|
654
|
+
reportPlaybackStart(requestParameters = {}, options) {
|
|
655
|
+
return localVarFp.reportPlaybackStart(requestParameters.playbackStartInfo, options).then((request) => request(axios, basePath));
|
|
655
656
|
},
|
|
656
657
|
/**
|
|
657
658
|
*
|
|
658
659
|
* @summary Reports playback has stopped within a session.
|
|
659
|
-
* @param {
|
|
660
|
+
* @param {PlaystateApiReportPlaybackStoppedRequest} requestParameters Request parameters.
|
|
660
661
|
* @param {*} [options] Override http request option.
|
|
661
662
|
* @throws {RequiredError}
|
|
662
663
|
*/
|
|
663
|
-
reportPlaybackStopped(
|
|
664
|
-
return localVarFp.reportPlaybackStopped(playbackStopInfo, options).then((request) => request(axios, basePath));
|
|
664
|
+
reportPlaybackStopped(requestParameters = {}, options) {
|
|
665
|
+
return localVarFp.reportPlaybackStopped(requestParameters.playbackStopInfo, options).then((request) => request(axios, basePath));
|
|
665
666
|
},
|
|
666
667
|
};
|
|
667
668
|
};
|
|
@@ -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
|
}
|