@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
|
@@ -8,16 +8,16 @@
|
|
|
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 { BaseItemDto } from '../models';
|
|
15
|
-
import { BaseItemDtoQueryResult } from '../models';
|
|
16
|
-
import { BaseItemKind } from '../models';
|
|
17
|
-
import { ImageType } from '../models';
|
|
18
|
-
import { ItemFields } from '../models';
|
|
19
|
-
import { ItemSortBy } from '../models';
|
|
20
|
-
import { SortOrder } 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 { BaseItemDto } from '../models';
|
|
15
|
+
import type { BaseItemDtoQueryResult } from '../models';
|
|
16
|
+
import type { BaseItemKind } from '../models';
|
|
17
|
+
import type { ImageType } from '../models';
|
|
18
|
+
import type { ItemFields } from '../models';
|
|
19
|
+
import type { ItemSortBy } from '../models';
|
|
20
|
+
import type { SortOrder } from '../models';
|
|
21
21
|
/**
|
|
22
22
|
* MusicGenresApi - axios parameter creator
|
|
23
23
|
* @export
|
|
@@ -31,7 +31,7 @@ export declare const MusicGenresApiAxiosParamCreator: (configuration?: Configura
|
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
getMusicGenre: (genreName: string, userId?: string, options?:
|
|
34
|
+
getMusicGenre: (genreName: string, userId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
@@ -57,7 +57,7 @@ export declare const MusicGenresApiAxiosParamCreator: (configuration?: Configura
|
|
|
57
57
|
* @deprecated
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
|
-
getMusicGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
60
|
+
getMusicGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* MusicGenresApi - functional programming interface
|
|
@@ -72,7 +72,7 @@ export declare const MusicGenresApiFp: (configuration?: Configuration) => {
|
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
74
74
|
*/
|
|
75
|
-
getMusicGenre(genreName: string, userId?: string, options?:
|
|
75
|
+
getMusicGenre(genreName: string, userId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto>>;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
@@ -98,7 +98,7 @@ export declare const MusicGenresApiFp: (configuration?: Configuration) => {
|
|
|
98
98
|
* @deprecated
|
|
99
99
|
* @throws {RequiredError}
|
|
100
100
|
*/
|
|
101
|
-
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?:
|
|
101
|
+
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
104
|
* MusicGenresApi - factory interface
|
|
@@ -108,38 +108,20 @@ export declare const MusicGenresApiFactory: (configuration?: Configuration, base
|
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @summary Gets a music genre, by name.
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
111
|
+
* @param {MusicGenresApiGetMusicGenreRequest} requestParameters Request parameters.
|
|
113
112
|
* @param {*} [options] Override http request option.
|
|
114
113
|
* @throws {RequiredError}
|
|
115
114
|
*/
|
|
116
|
-
getMusicGenre(
|
|
115
|
+
getMusicGenre(requestParameters: MusicGenresApiGetMusicGenreRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDto>;
|
|
117
116
|
/**
|
|
118
117
|
*
|
|
119
118
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
120
|
-
* @param {
|
|
121
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
122
|
-
* @param {string} [searchTerm] The search term.
|
|
123
|
-
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
124
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
125
|
-
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
|
|
126
|
-
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited.
|
|
127
|
-
* @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
|
|
128
|
-
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
129
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
130
|
-
* @param {string} [userId] User id.
|
|
131
|
-
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
132
|
-
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
133
|
-
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
134
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
135
|
-
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
136
|
-
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
137
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
119
|
+
* @param {MusicGenresApiGetMusicGenresRequest} requestParameters Request parameters.
|
|
138
120
|
* @param {*} [options] Override http request option.
|
|
139
121
|
* @deprecated
|
|
140
122
|
* @throws {RequiredError}
|
|
141
123
|
*/
|
|
142
|
-
getMusicGenres(
|
|
124
|
+
getMusicGenres(requestParameters?: MusicGenresApiGetMusicGenresRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
143
125
|
};
|
|
144
126
|
/**
|
|
145
127
|
* Request parameters for getMusicGenre operation in MusicGenresApi.
|
|
@@ -290,7 +272,7 @@ export declare class MusicGenresApi extends BaseAPI {
|
|
|
290
272
|
* @throws {RequiredError}
|
|
291
273
|
* @memberof MusicGenresApi
|
|
292
274
|
*/
|
|
293
|
-
getMusicGenre(requestParameters: MusicGenresApiGetMusicGenreRequest, options?:
|
|
275
|
+
getMusicGenre(requestParameters: MusicGenresApiGetMusicGenreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
294
276
|
/**
|
|
295
277
|
*
|
|
296
278
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
@@ -300,5 +282,5 @@ export declare class MusicGenresApi extends BaseAPI {
|
|
|
300
282
|
* @throws {RequiredError}
|
|
301
283
|
* @memberof MusicGenresApi
|
|
302
284
|
*/
|
|
303
|
-
getMusicGenres(requestParameters?: MusicGenresApiGetMusicGenresRequest, options?:
|
|
285
|
+
getMusicGenres(requestParameters?: MusicGenresApiGetMusicGenresRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
304
286
|
}
|
|
@@ -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 */
|
|
@@ -173,8 +173,11 @@ const MusicGenresApiFp = function (configuration) {
|
|
|
173
173
|
* @throws {RequiredError}
|
|
174
174
|
*/
|
|
175
175
|
async getMusicGenre(genreName, userId, options) {
|
|
176
|
+
var _a, _b, _c;
|
|
176
177
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenre(genreName, userId, options);
|
|
177
|
-
|
|
178
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
179
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MusicGenresApi.getMusicGenre']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
180
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
178
181
|
},
|
|
179
182
|
/**
|
|
180
183
|
*
|
|
@@ -202,8 +205,11 @@ const MusicGenresApiFp = function (configuration) {
|
|
|
202
205
|
* @throws {RequiredError}
|
|
203
206
|
*/
|
|
204
207
|
async getMusicGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options) {
|
|
208
|
+
var _a, _b, _c;
|
|
205
209
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options);
|
|
206
|
-
|
|
210
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
211
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MusicGenresApi.getMusicGenres']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
212
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
207
213
|
},
|
|
208
214
|
};
|
|
209
215
|
};
|
|
@@ -217,41 +223,23 @@ const MusicGenresApiFactory = function (configuration, basePath, axios) {
|
|
|
217
223
|
/**
|
|
218
224
|
*
|
|
219
225
|
* @summary Gets a music genre, by name.
|
|
220
|
-
* @param {
|
|
221
|
-
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
226
|
+
* @param {MusicGenresApiGetMusicGenreRequest} requestParameters Request parameters.
|
|
222
227
|
* @param {*} [options] Override http request option.
|
|
223
228
|
* @throws {RequiredError}
|
|
224
229
|
*/
|
|
225
|
-
getMusicGenre(
|
|
226
|
-
return localVarFp.getMusicGenre(genreName, userId, options).then((request) => request(axios, basePath));
|
|
230
|
+
getMusicGenre(requestParameters, options) {
|
|
231
|
+
return localVarFp.getMusicGenre(requestParameters.genreName, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
227
232
|
},
|
|
228
233
|
/**
|
|
229
234
|
*
|
|
230
235
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
231
|
-
* @param {
|
|
232
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
233
|
-
* @param {string} [searchTerm] The search term.
|
|
234
|
-
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
235
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
236
|
-
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be filtered out based on item type. This allows multiple, comma delimited.
|
|
237
|
-
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered in based on item type. This allows multiple, comma delimited.
|
|
238
|
-
* @param {boolean} [isFavorite] Optional filter by items that are marked as favorite, or not.
|
|
239
|
-
* @param {number} [imageTypeLimit] Optional, the max number of images to return, per image type.
|
|
240
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
241
|
-
* @param {string} [userId] User id.
|
|
242
|
-
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
243
|
-
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
244
|
-
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
245
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
246
|
-
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
247
|
-
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
248
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
236
|
+
* @param {MusicGenresApiGetMusicGenresRequest} requestParameters Request parameters.
|
|
249
237
|
* @param {*} [options] Override http request option.
|
|
250
238
|
* @deprecated
|
|
251
239
|
* @throws {RequiredError}
|
|
252
240
|
*/
|
|
253
|
-
getMusicGenres(
|
|
254
|
-
return localVarFp.getMusicGenres(startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
241
|
+
getMusicGenres(requestParameters = {}, options) {
|
|
242
|
+
return localVarFp.getMusicGenres(requestParameters.startIndex, requestParameters.limit, requestParameters.searchTerm, requestParameters.parentId, requestParameters.fields, requestParameters.excludeItemTypes, requestParameters.includeItemTypes, requestParameters.isFavorite, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.userId, requestParameters.nameStartsWithOrGreater, requestParameters.nameStartsWith, requestParameters.nameLessThan, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.enableImages, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
255
243
|
},
|
|
256
244
|
};
|
|
257
245
|
};
|
|
@@ -8,11 +8,11 @@
|
|
|
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 { PackageInfo } from '../models';
|
|
15
|
-
import { RepositoryInfo } 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 { PackageInfo } from '../models';
|
|
15
|
+
import type { RepositoryInfo } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* PackageApi - axios parameter creator
|
|
18
18
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const PackageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
cancelPackageInstallation: (packageId: string, options?:
|
|
28
|
+
cancelPackageInstallation: (packageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Gets a package by name or assembly GUID.
|
|
@@ -34,21 +34,21 @@ export declare const PackageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
getPackageInfo: (name: string, assemblyGuid?: string, options?:
|
|
37
|
+
getPackageInfo: (name: string, assemblyGuid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Gets available packages.
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
getPackages: (options?:
|
|
44
|
+
getPackages: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @summary Gets all package repositories.
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
getRepositories: (options?:
|
|
51
|
+
getRepositories: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @summary Installs a package.
|
|
@@ -59,7 +59,7 @@ export declare const PackageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
installPackage: (name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?:
|
|
62
|
+
installPackage: (name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @summary Sets the enabled and existing package repositories.
|
|
@@ -67,7 +67,7 @@ export declare const PackageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
setRepositories: (repositoryInfo: Array<RepositoryInfo>, options?:
|
|
70
|
+
setRepositories: (repositoryInfo: Array<RepositoryInfo>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
73
|
* PackageApi - functional programming interface
|
|
@@ -81,7 +81,7 @@ export declare const PackageApiFp: (configuration?: Configuration) => {
|
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
cancelPackageInstallation(packageId: string, options?:
|
|
84
|
+
cancelPackageInstallation(packageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @summary Gets a package by name or assembly GUID.
|
|
@@ -90,21 +90,21 @@ export declare const PackageApiFp: (configuration?: Configuration) => {
|
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
*/
|
|
93
|
-
getPackageInfo(name: string, assemblyGuid?: string, options?:
|
|
93
|
+
getPackageInfo(name: string, assemblyGuid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageInfo>>;
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
96
96
|
* @summary Gets available packages.
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
getPackages(options?:
|
|
100
|
+
getPackages(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PackageInfo>>>;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @summary Gets all package repositories.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
getRepositories(options?:
|
|
107
|
+
getRepositories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RepositoryInfo>>>;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @summary Installs a package.
|
|
@@ -115,7 +115,7 @@ export declare const PackageApiFp: (configuration?: Configuration) => {
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
installPackage(name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?:
|
|
118
|
+
installPackage(name: string, assemblyGuid?: string, version?: string, repositoryUrl?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
121
|
* @summary Sets the enabled and existing package repositories.
|
|
@@ -123,7 +123,7 @@ export declare const PackageApiFp: (configuration?: Configuration) => {
|
|
|
123
123
|
* @param {*} [options] Override http request option.
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
*/
|
|
126
|
-
setRepositories(repositoryInfo: Array<RepositoryInfo>, options?:
|
|
126
|
+
setRepositories(repositoryInfo: Array<RepositoryInfo>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
127
127
|
};
|
|
128
128
|
/**
|
|
129
129
|
* PackageApi - factory interface
|
|
@@ -133,53 +133,49 @@ export declare const PackageApiFactory: (configuration?: Configuration, basePath
|
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @summary Cancels a package installation.
|
|
136
|
-
* @param {
|
|
136
|
+
* @param {PackageApiCancelPackageInstallationRequest} requestParameters Request parameters.
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
cancelPackageInstallation(
|
|
140
|
+
cancelPackageInstallation(requestParameters: PackageApiCancelPackageInstallationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
141
141
|
/**
|
|
142
142
|
*
|
|
143
143
|
* @summary Gets a package by name or assembly GUID.
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {string} [assemblyGuid] The GUID of the associated assembly.
|
|
144
|
+
* @param {PackageApiGetPackageInfoRequest} requestParameters Request parameters.
|
|
146
145
|
* @param {*} [options] Override http request option.
|
|
147
146
|
* @throws {RequiredError}
|
|
148
147
|
*/
|
|
149
|
-
getPackageInfo(
|
|
148
|
+
getPackageInfo(requestParameters: PackageApiGetPackageInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<PackageInfo>;
|
|
150
149
|
/**
|
|
151
150
|
*
|
|
152
151
|
* @summary Gets available packages.
|
|
153
152
|
* @param {*} [options] Override http request option.
|
|
154
153
|
* @throws {RequiredError}
|
|
155
154
|
*/
|
|
156
|
-
getPackages(options?:
|
|
155
|
+
getPackages(options?: RawAxiosRequestConfig): AxiosPromise<Array<PackageInfo>>;
|
|
157
156
|
/**
|
|
158
157
|
*
|
|
159
158
|
* @summary Gets all package repositories.
|
|
160
159
|
* @param {*} [options] Override http request option.
|
|
161
160
|
* @throws {RequiredError}
|
|
162
161
|
*/
|
|
163
|
-
getRepositories(options?:
|
|
162
|
+
getRepositories(options?: RawAxiosRequestConfig): AxiosPromise<Array<RepositoryInfo>>;
|
|
164
163
|
/**
|
|
165
164
|
*
|
|
166
165
|
* @summary Installs a package.
|
|
167
|
-
* @param {
|
|
168
|
-
* @param {string} [assemblyGuid] GUID of the associated assembly.
|
|
169
|
-
* @param {string} [version] Optional version. Defaults to latest version.
|
|
170
|
-
* @param {string} [repositoryUrl] Optional. Specify the repository to install from.
|
|
166
|
+
* @param {PackageApiInstallPackageRequest} requestParameters Request parameters.
|
|
171
167
|
* @param {*} [options] Override http request option.
|
|
172
168
|
* @throws {RequiredError}
|
|
173
169
|
*/
|
|
174
|
-
installPackage(
|
|
170
|
+
installPackage(requestParameters: PackageApiInstallPackageRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
175
171
|
/**
|
|
176
172
|
*
|
|
177
173
|
* @summary Sets the enabled and existing package repositories.
|
|
178
|
-
* @param {
|
|
174
|
+
* @param {PackageApiSetRepositoriesRequest} requestParameters Request parameters.
|
|
179
175
|
* @param {*} [options] Override http request option.
|
|
180
176
|
* @throws {RequiredError}
|
|
181
177
|
*/
|
|
182
|
-
setRepositories(
|
|
178
|
+
setRepositories(requestParameters: PackageApiSetRepositoriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
183
179
|
};
|
|
184
180
|
/**
|
|
185
181
|
* Request parameters for cancelPackageInstallation operation in PackageApi.
|
|
@@ -272,7 +268,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
272
268
|
* @throws {RequiredError}
|
|
273
269
|
* @memberof PackageApi
|
|
274
270
|
*/
|
|
275
|
-
cancelPackageInstallation(requestParameters: PackageApiCancelPackageInstallationRequest, options?:
|
|
271
|
+
cancelPackageInstallation(requestParameters: PackageApiCancelPackageInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
276
272
|
/**
|
|
277
273
|
*
|
|
278
274
|
* @summary Gets a package by name or assembly GUID.
|
|
@@ -281,7 +277,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
281
277
|
* @throws {RequiredError}
|
|
282
278
|
* @memberof PackageApi
|
|
283
279
|
*/
|
|
284
|
-
getPackageInfo(requestParameters: PackageApiGetPackageInfoRequest, options?:
|
|
280
|
+
getPackageInfo(requestParameters: PackageApiGetPackageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo, any>>;
|
|
285
281
|
/**
|
|
286
282
|
*
|
|
287
283
|
* @summary Gets available packages.
|
|
@@ -289,7 +285,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
289
285
|
* @throws {RequiredError}
|
|
290
286
|
* @memberof PackageApi
|
|
291
287
|
*/
|
|
292
|
-
getPackages(options?:
|
|
288
|
+
getPackages(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo[], any>>;
|
|
293
289
|
/**
|
|
294
290
|
*
|
|
295
291
|
* @summary Gets all package repositories.
|
|
@@ -297,7 +293,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
297
293
|
* @throws {RequiredError}
|
|
298
294
|
* @memberof PackageApi
|
|
299
295
|
*/
|
|
300
|
-
getRepositories(options?:
|
|
296
|
+
getRepositories(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RepositoryInfo[], any>>;
|
|
301
297
|
/**
|
|
302
298
|
*
|
|
303
299
|
* @summary Installs a package.
|
|
@@ -306,7 +302,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
306
302
|
* @throws {RequiredError}
|
|
307
303
|
* @memberof PackageApi
|
|
308
304
|
*/
|
|
309
|
-
installPackage(requestParameters: PackageApiInstallPackageRequest, options?:
|
|
305
|
+
installPackage(requestParameters: PackageApiInstallPackageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
310
306
|
/**
|
|
311
307
|
*
|
|
312
308
|
* @summary Sets the enabled and existing package repositories.
|
|
@@ -315,5 +311,5 @@ export declare class PackageApi extends BaseAPI {
|
|
|
315
311
|
* @throws {RequiredError}
|
|
316
312
|
* @memberof PackageApi
|
|
317
313
|
*/
|
|
318
|
-
setRepositories(requestParameters: PackageApiSetRepositoriesRequest, options?:
|
|
314
|
+
setRepositories(requestParameters: PackageApiSetRepositoriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
319
315
|
}
|
|
@@ -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 */
|
|
@@ -232,8 +232,11 @@ const PackageApiFp = function (configuration) {
|
|
|
232
232
|
* @throws {RequiredError}
|
|
233
233
|
*/
|
|
234
234
|
async cancelPackageInstallation(packageId, options) {
|
|
235
|
+
var _a, _b, _c;
|
|
235
236
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelPackageInstallation(packageId, options);
|
|
236
|
-
|
|
237
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
238
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.cancelPackageInstallation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
239
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
237
240
|
},
|
|
238
241
|
/**
|
|
239
242
|
*
|
|
@@ -244,8 +247,11 @@ const PackageApiFp = function (configuration) {
|
|
|
244
247
|
* @throws {RequiredError}
|
|
245
248
|
*/
|
|
246
249
|
async getPackageInfo(name, assemblyGuid, options) {
|
|
250
|
+
var _a, _b, _c;
|
|
247
251
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageInfo(name, assemblyGuid, options);
|
|
248
|
-
|
|
252
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
253
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.getPackageInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
249
255
|
},
|
|
250
256
|
/**
|
|
251
257
|
*
|
|
@@ -254,8 +260,11 @@ const PackageApiFp = function (configuration) {
|
|
|
254
260
|
* @throws {RequiredError}
|
|
255
261
|
*/
|
|
256
262
|
async getPackages(options) {
|
|
263
|
+
var _a, _b, _c;
|
|
257
264
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPackages(options);
|
|
258
|
-
|
|
265
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
266
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.getPackages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
267
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
259
268
|
},
|
|
260
269
|
/**
|
|
261
270
|
*
|
|
@@ -264,8 +273,11 @@ const PackageApiFp = function (configuration) {
|
|
|
264
273
|
* @throws {RequiredError}
|
|
265
274
|
*/
|
|
266
275
|
async getRepositories(options) {
|
|
276
|
+
var _a, _b, _c;
|
|
267
277
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRepositories(options);
|
|
268
|
-
|
|
278
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
279
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.getRepositories']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
280
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
269
281
|
},
|
|
270
282
|
/**
|
|
271
283
|
*
|
|
@@ -278,8 +290,11 @@ const PackageApiFp = function (configuration) {
|
|
|
278
290
|
* @throws {RequiredError}
|
|
279
291
|
*/
|
|
280
292
|
async installPackage(name, assemblyGuid, version, repositoryUrl, options) {
|
|
293
|
+
var _a, _b, _c;
|
|
281
294
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPackage(name, assemblyGuid, version, repositoryUrl, options);
|
|
282
|
-
|
|
295
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
296
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.installPackage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
297
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
283
298
|
},
|
|
284
299
|
/**
|
|
285
300
|
*
|
|
@@ -289,8 +304,11 @@ const PackageApiFp = function (configuration) {
|
|
|
289
304
|
* @throws {RequiredError}
|
|
290
305
|
*/
|
|
291
306
|
async setRepositories(repositoryInfo, options) {
|
|
307
|
+
var _a, _b, _c;
|
|
292
308
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setRepositories(repositoryInfo, options);
|
|
293
|
-
|
|
309
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
310
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PackageApi.setRepositories']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
311
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
294
312
|
},
|
|
295
313
|
};
|
|
296
314
|
};
|
|
@@ -304,23 +322,22 @@ const PackageApiFactory = function (configuration, basePath, axios) {
|
|
|
304
322
|
/**
|
|
305
323
|
*
|
|
306
324
|
* @summary Cancels a package installation.
|
|
307
|
-
* @param {
|
|
325
|
+
* @param {PackageApiCancelPackageInstallationRequest} requestParameters Request parameters.
|
|
308
326
|
* @param {*} [options] Override http request option.
|
|
309
327
|
* @throws {RequiredError}
|
|
310
328
|
*/
|
|
311
|
-
cancelPackageInstallation(
|
|
312
|
-
return localVarFp.cancelPackageInstallation(packageId, options).then((request) => request(axios, basePath));
|
|
329
|
+
cancelPackageInstallation(requestParameters, options) {
|
|
330
|
+
return localVarFp.cancelPackageInstallation(requestParameters.packageId, options).then((request) => request(axios, basePath));
|
|
313
331
|
},
|
|
314
332
|
/**
|
|
315
333
|
*
|
|
316
334
|
* @summary Gets a package by name or assembly GUID.
|
|
317
|
-
* @param {
|
|
318
|
-
* @param {string} [assemblyGuid] The GUID of the associated assembly.
|
|
335
|
+
* @param {PackageApiGetPackageInfoRequest} requestParameters Request parameters.
|
|
319
336
|
* @param {*} [options] Override http request option.
|
|
320
337
|
* @throws {RequiredError}
|
|
321
338
|
*/
|
|
322
|
-
getPackageInfo(
|
|
323
|
-
return localVarFp.getPackageInfo(name, assemblyGuid, options).then((request) => request(axios, basePath));
|
|
339
|
+
getPackageInfo(requestParameters, options) {
|
|
340
|
+
return localVarFp.getPackageInfo(requestParameters.name, requestParameters.assemblyGuid, options).then((request) => request(axios, basePath));
|
|
324
341
|
},
|
|
325
342
|
/**
|
|
326
343
|
*
|
|
@@ -343,25 +360,22 @@ const PackageApiFactory = function (configuration, basePath, axios) {
|
|
|
343
360
|
/**
|
|
344
361
|
*
|
|
345
362
|
* @summary Installs a package.
|
|
346
|
-
* @param {
|
|
347
|
-
* @param {string} [assemblyGuid] GUID of the associated assembly.
|
|
348
|
-
* @param {string} [version] Optional version. Defaults to latest version.
|
|
349
|
-
* @param {string} [repositoryUrl] Optional. Specify the repository to install from.
|
|
363
|
+
* @param {PackageApiInstallPackageRequest} requestParameters Request parameters.
|
|
350
364
|
* @param {*} [options] Override http request option.
|
|
351
365
|
* @throws {RequiredError}
|
|
352
366
|
*/
|
|
353
|
-
installPackage(
|
|
354
|
-
return localVarFp.installPackage(name, assemblyGuid, version, repositoryUrl, options).then((request) => request(axios, basePath));
|
|
367
|
+
installPackage(requestParameters, options) {
|
|
368
|
+
return localVarFp.installPackage(requestParameters.name, requestParameters.assemblyGuid, requestParameters.version, requestParameters.repositoryUrl, options).then((request) => request(axios, basePath));
|
|
355
369
|
},
|
|
356
370
|
/**
|
|
357
371
|
*
|
|
358
372
|
* @summary Sets the enabled and existing package repositories.
|
|
359
|
-
* @param {
|
|
373
|
+
* @param {PackageApiSetRepositoriesRequest} requestParameters Request parameters.
|
|
360
374
|
* @param {*} [options] Override http request option.
|
|
361
375
|
* @throws {RequiredError}
|
|
362
376
|
*/
|
|
363
|
-
setRepositories(
|
|
364
|
-
return localVarFp.setRepositories(repositoryInfo, options).then((request) => request(axios, basePath));
|
|
377
|
+
setRepositories(requestParameters, options) {
|
|
378
|
+
return localVarFp.setRepositories(requestParameters.repositoryInfo, options).then((request) => request(axios, basePath));
|
|
365
379
|
},
|
|
366
380
|
};
|
|
367
381
|
};
|