@jellyfin/sdk 0.9.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 +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- 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 +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- 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 +30 -24
- 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 +3 -3
- 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/image-urls-api.js +16 -4
- 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
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -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 { BrandingOptions } 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 { BrandingOptions } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* BrandingApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -23,21 +23,21 @@ export declare const BrandingApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
getBrandingCss: (options?:
|
|
26
|
+
getBrandingCss: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @summary Gets branding css.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
getBrandingCss2: (options?:
|
|
33
|
+
getBrandingCss2: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @summary Gets branding configuration.
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
|
-
getBrandingOptions: (options?:
|
|
40
|
+
getBrandingOptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* BrandingApi - functional programming interface
|
|
@@ -50,21 +50,21 @@ export declare const BrandingApiFp: (configuration?: Configuration) => {
|
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getBrandingCss(options?:
|
|
53
|
+
getBrandingCss(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @summary Gets branding css.
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
|
-
getBrandingCss2(options?:
|
|
60
|
+
getBrandingCss2(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @summary Gets branding configuration.
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
getBrandingOptions(options?:
|
|
67
|
+
getBrandingOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandingOptions>>;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* BrandingApi - factory interface
|
|
@@ -77,21 +77,21 @@ export declare const BrandingApiFactory: (configuration?: Configuration, basePat
|
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
getBrandingCss(options?:
|
|
80
|
+
getBrandingCss(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @summary Gets branding css.
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
getBrandingCss2(options?:
|
|
87
|
+
getBrandingCss2(options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @summary Gets branding configuration.
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
*/
|
|
94
|
-
getBrandingOptions(options?:
|
|
94
|
+
getBrandingOptions(options?: RawAxiosRequestConfig): AxiosPromise<BrandingOptions>;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
97
|
* BrandingApi - object-oriented interface
|
|
@@ -107,7 +107,7 @@ export declare class BrandingApi extends BaseAPI {
|
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
* @memberof BrandingApi
|
|
109
109
|
*/
|
|
110
|
-
getBrandingCss(options?:
|
|
110
|
+
getBrandingCss(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
* @summary Gets branding css.
|
|
@@ -115,7 +115,7 @@ export declare class BrandingApi extends BaseAPI {
|
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
* @memberof BrandingApi
|
|
117
117
|
*/
|
|
118
|
-
getBrandingCss2(options?:
|
|
118
|
+
getBrandingCss2(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
121
|
* @summary Gets branding configuration.
|
|
@@ -123,5 +123,5 @@ export declare class BrandingApi extends BaseAPI {
|
|
|
123
123
|
* @throws {RequiredError}
|
|
124
124
|
* @memberof BrandingApi
|
|
125
125
|
*/
|
|
126
|
-
getBrandingOptions(options?:
|
|
126
|
+
getBrandingOptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BrandingOptions, any>>;
|
|
127
127
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { DUMMY_BASE_URL, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -27,7 +26,7 @@ const BrandingApiAxiosParamCreator = function (configuration) {
|
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
getBrandingCss:
|
|
29
|
+
getBrandingCss: async (options = {}) => {
|
|
31
30
|
const localVarPath = `/Branding/Css`;
|
|
32
31
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33
32
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -35,24 +34,24 @@ const BrandingApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
if (configuration) {
|
|
36
35
|
baseOptions = configuration.baseOptions;
|
|
37
36
|
}
|
|
38
|
-
const localVarRequestOptions =
|
|
37
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
39
38
|
const localVarHeaderParameter = {};
|
|
40
39
|
const localVarQueryParameter = {};
|
|
41
40
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42
41
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43
|
-
localVarRequestOptions.headers =
|
|
42
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
44
43
|
return {
|
|
45
44
|
url: toPathString(localVarUrlObj),
|
|
46
45
|
options: localVarRequestOptions,
|
|
47
46
|
};
|
|
48
|
-
}
|
|
47
|
+
},
|
|
49
48
|
/**
|
|
50
49
|
*
|
|
51
50
|
* @summary Gets branding css.
|
|
52
51
|
* @param {*} [options] Override http request option.
|
|
53
52
|
* @throws {RequiredError}
|
|
54
53
|
*/
|
|
55
|
-
getBrandingCss2:
|
|
54
|
+
getBrandingCss2: async (options = {}) => {
|
|
56
55
|
const localVarPath = `/Branding/Css.css`;
|
|
57
56
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
57
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -60,24 +59,24 @@ const BrandingApiAxiosParamCreator = function (configuration) {
|
|
|
60
59
|
if (configuration) {
|
|
61
60
|
baseOptions = configuration.baseOptions;
|
|
62
61
|
}
|
|
63
|
-
const localVarRequestOptions =
|
|
62
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
64
63
|
const localVarHeaderParameter = {};
|
|
65
64
|
const localVarQueryParameter = {};
|
|
66
65
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
67
66
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
|
-
localVarRequestOptions.headers =
|
|
67
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
69
68
|
return {
|
|
70
69
|
url: toPathString(localVarUrlObj),
|
|
71
70
|
options: localVarRequestOptions,
|
|
72
71
|
};
|
|
73
|
-
}
|
|
72
|
+
},
|
|
74
73
|
/**
|
|
75
74
|
*
|
|
76
75
|
* @summary Gets branding configuration.
|
|
77
76
|
* @param {*} [options] Override http request option.
|
|
78
77
|
* @throws {RequiredError}
|
|
79
78
|
*/
|
|
80
|
-
getBrandingOptions:
|
|
79
|
+
getBrandingOptions: async (options = {}) => {
|
|
81
80
|
const localVarPath = `/Branding/Configuration`;
|
|
82
81
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -85,17 +84,17 @@ const BrandingApiAxiosParamCreator = function (configuration) {
|
|
|
85
84
|
if (configuration) {
|
|
86
85
|
baseOptions = configuration.baseOptions;
|
|
87
86
|
}
|
|
88
|
-
const localVarRequestOptions =
|
|
87
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
89
88
|
const localVarHeaderParameter = {};
|
|
90
89
|
const localVarQueryParameter = {};
|
|
91
90
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
91
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
-
localVarRequestOptions.headers =
|
|
92
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
94
93
|
return {
|
|
95
94
|
url: toPathString(localVarUrlObj),
|
|
96
95
|
options: localVarRequestOptions,
|
|
97
96
|
};
|
|
98
|
-
}
|
|
97
|
+
},
|
|
99
98
|
};
|
|
100
99
|
};
|
|
101
100
|
/**
|
|
@@ -111,11 +110,12 @@ const BrandingApiFp = function (configuration) {
|
|
|
111
110
|
* @param {*} [options] Override http request option.
|
|
112
111
|
* @throws {RequiredError}
|
|
113
112
|
*/
|
|
114
|
-
getBrandingCss(options) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
113
|
+
async getBrandingCss(options) {
|
|
114
|
+
var _a, _b, _c;
|
|
115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingCss(options);
|
|
116
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
117
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrandingApi.getBrandingCss']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
119
119
|
},
|
|
120
120
|
/**
|
|
121
121
|
*
|
|
@@ -123,11 +123,12 @@ const BrandingApiFp = function (configuration) {
|
|
|
123
123
|
* @param {*} [options] Override http request option.
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
*/
|
|
126
|
-
getBrandingCss2(options) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
126
|
+
async getBrandingCss2(options) {
|
|
127
|
+
var _a, _b, _c;
|
|
128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingCss2(options);
|
|
129
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
130
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrandingApi.getBrandingCss2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
131
132
|
},
|
|
132
133
|
/**
|
|
133
134
|
*
|
|
@@ -135,11 +136,12 @@ const BrandingApiFp = function (configuration) {
|
|
|
135
136
|
* @param {*} [options] Override http request option.
|
|
136
137
|
* @throws {RequiredError}
|
|
137
138
|
*/
|
|
138
|
-
getBrandingOptions(options) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
async getBrandingOptions(options) {
|
|
140
|
+
var _a, _b, _c;
|
|
141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingOptions(options);
|
|
142
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
143
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BrandingApi.getBrandingOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
144
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
143
145
|
},
|
|
144
146
|
};
|
|
145
147
|
};
|
|
@@ -8,15 +8,15 @@
|
|
|
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 { BaseItemDtoQueryResult } from '../models';
|
|
15
|
-
import { ChannelFeatures } from '../models';
|
|
16
|
-
import { ItemFields } from '../models';
|
|
17
|
-
import { ItemFilter } from '../models';
|
|
18
|
-
import { ItemSortBy } from '../models';
|
|
19
|
-
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 { BaseItemDtoQueryResult } from '../models';
|
|
15
|
+
import type { ChannelFeatures } from '../models';
|
|
16
|
+
import type { ItemFields } from '../models';
|
|
17
|
+
import type { ItemFilter } from '../models';
|
|
18
|
+
import type { ItemSortBy } from '../models';
|
|
19
|
+
import type { SortOrder } from '../models';
|
|
20
20
|
/**
|
|
21
21
|
* ChannelsApi - axios parameter creator
|
|
22
22
|
* @export
|
|
@@ -28,7 +28,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
30
30
|
*/
|
|
31
|
-
getAllChannelFeatures: (options?:
|
|
31
|
+
getAllChannelFeatures: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @summary Get channel features.
|
|
@@ -36,7 +36,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
getChannelFeatures: (channelId: string, options?:
|
|
39
|
+
getChannelFeatures: (channelId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @summary Get channel items.
|
|
@@ -52,7 +52,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
55
|
-
getChannelItems: (channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, filters?: Array<ItemFilter>, sortBy?: Array<ItemSortBy>, fields?: Array<ItemFields>, options?:
|
|
55
|
+
getChannelItems: (channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, filters?: Array<ItemFilter>, sortBy?: Array<ItemSortBy>, fields?: Array<ItemFields>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @summary Gets available channels.
|
|
@@ -65,7 +65,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
getChannels: (userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options?:
|
|
68
|
+
getChannels: (userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @summary Gets latest channel items.
|
|
@@ -78,7 +78,7 @@ export declare const ChannelsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
getLatestChannelItems: (userId?: string, startIndex?: number, limit?: number, filters?: Array<ItemFilter>, fields?: Array<ItemFields>, channelIds?: Array<string>, options?:
|
|
81
|
+
getLatestChannelItems: (userId?: string, startIndex?: number, limit?: number, filters?: Array<ItemFilter>, fields?: Array<ItemFields>, channelIds?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
84
|
* ChannelsApi - functional programming interface
|
|
@@ -91,7 +91,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
93
93
|
*/
|
|
94
|
-
getAllChannelFeatures(options?:
|
|
94
|
+
getAllChannelFeatures(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChannelFeatures>>>;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
97
|
* @summary Get channel features.
|
|
@@ -99,7 +99,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
*/
|
|
102
|
-
getChannelFeatures(channelId: string, options?:
|
|
102
|
+
getChannelFeatures(channelId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChannelFeatures>>;
|
|
103
103
|
/**
|
|
104
104
|
*
|
|
105
105
|
* @summary Get channel items.
|
|
@@ -115,7 +115,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, filters?: Array<ItemFilter>, sortBy?: Array<ItemSortBy>, fields?: Array<ItemFields>, options?:
|
|
118
|
+
getChannelItems(channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, filters?: Array<ItemFilter>, sortBy?: Array<ItemSortBy>, fields?: Array<ItemFields>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
121
|
* @summary Gets available channels.
|
|
@@ -128,7 +128,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
getChannels(userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options?:
|
|
131
|
+
getChannels(userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
132
132
|
/**
|
|
133
133
|
*
|
|
134
134
|
* @summary Gets latest channel items.
|
|
@@ -141,7 +141,7 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
144
|
-
getLatestChannelItems(userId?: string, startIndex?: number, limit?: number, filters?: Array<ItemFilter>, fields?: Array<ItemFields>, channelIds?: Array<string>, options?:
|
|
144
|
+
getLatestChannelItems(userId?: string, startIndex?: number, limit?: number, filters?: Array<ItemFilter>, fields?: Array<ItemFields>, channelIds?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
145
145
|
};
|
|
146
146
|
/**
|
|
147
147
|
* ChannelsApi - factory interface
|
|
@@ -154,57 +154,39 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
|
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
*/
|
|
157
|
-
getAllChannelFeatures(options?:
|
|
157
|
+
getAllChannelFeatures(options?: RawAxiosRequestConfig): AxiosPromise<Array<ChannelFeatures>>;
|
|
158
158
|
/**
|
|
159
159
|
*
|
|
160
160
|
* @summary Get channel features.
|
|
161
|
-
* @param {
|
|
161
|
+
* @param {ChannelsApiGetChannelFeaturesRequest} requestParameters Request parameters.
|
|
162
162
|
* @param {*} [options] Override http request option.
|
|
163
163
|
* @throws {RequiredError}
|
|
164
164
|
*/
|
|
165
|
-
getChannelFeatures(
|
|
165
|
+
getChannelFeatures(requestParameters: ChannelsApiGetChannelFeaturesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChannelFeatures>;
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
168
168
|
* @summary Get channel items.
|
|
169
|
-
* @param {
|
|
170
|
-
* @param {string} [folderId] Optional. Folder Id.
|
|
171
|
-
* @param {string} [userId] Optional. User Id.
|
|
172
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
173
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
174
|
-
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending,Descending.
|
|
175
|
-
* @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply.
|
|
176
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
177
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
169
|
+
* @param {ChannelsApiGetChannelItemsRequest} requestParameters Request parameters.
|
|
178
170
|
* @param {*} [options] Override http request option.
|
|
179
171
|
* @throws {RequiredError}
|
|
180
172
|
*/
|
|
181
|
-
getChannelItems(
|
|
173
|
+
getChannelItems(requestParameters: ChannelsApiGetChannelItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
182
174
|
/**
|
|
183
175
|
*
|
|
184
176
|
* @summary Gets available channels.
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
187
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
188
|
-
* @param {boolean} [supportsLatestItems] Optional. Filter by channels that support getting latest items.
|
|
189
|
-
* @param {boolean} [supportsMediaDeletion] Optional. Filter by channels that support media deletion.
|
|
190
|
-
* @param {boolean} [isFavorite] Optional. Filter by channels that are favorite.
|
|
177
|
+
* @param {ChannelsApiGetChannelsRequest} requestParameters Request parameters.
|
|
191
178
|
* @param {*} [options] Override http request option.
|
|
192
179
|
* @throws {RequiredError}
|
|
193
180
|
*/
|
|
194
|
-
getChannels(
|
|
181
|
+
getChannels(requestParameters?: ChannelsApiGetChannelsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
195
182
|
/**
|
|
196
183
|
*
|
|
197
184
|
* @summary Gets latest channel items.
|
|
198
|
-
* @param {
|
|
199
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
200
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
201
|
-
* @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply.
|
|
202
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
203
|
-
* @param {Array<string>} [channelIds] Optional. Specify one or more channel id\'s, comma delimited.
|
|
185
|
+
* @param {ChannelsApiGetLatestChannelItemsRequest} requestParameters Request parameters.
|
|
204
186
|
* @param {*} [options] Override http request option.
|
|
205
187
|
* @throws {RequiredError}
|
|
206
188
|
*/
|
|
207
|
-
getLatestChannelItems(
|
|
189
|
+
getLatestChannelItems(requestParameters?: ChannelsApiGetLatestChannelItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseItemDtoQueryResult>;
|
|
208
190
|
};
|
|
209
191
|
/**
|
|
210
192
|
* Request parameters for getChannelFeatures operation in ChannelsApi.
|
|
@@ -380,7 +362,7 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
380
362
|
* @throws {RequiredError}
|
|
381
363
|
* @memberof ChannelsApi
|
|
382
364
|
*/
|
|
383
|
-
getAllChannelFeatures(options?:
|
|
365
|
+
getAllChannelFeatures(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelFeatures[], any>>;
|
|
384
366
|
/**
|
|
385
367
|
*
|
|
386
368
|
* @summary Get channel features.
|
|
@@ -389,7 +371,7 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
389
371
|
* @throws {RequiredError}
|
|
390
372
|
* @memberof ChannelsApi
|
|
391
373
|
*/
|
|
392
|
-
getChannelFeatures(requestParameters: ChannelsApiGetChannelFeaturesRequest, options?:
|
|
374
|
+
getChannelFeatures(requestParameters: ChannelsApiGetChannelFeaturesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChannelFeatures, any>>;
|
|
393
375
|
/**
|
|
394
376
|
*
|
|
395
377
|
* @summary Get channel items.
|
|
@@ -398,7 +380,7 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
398
380
|
* @throws {RequiredError}
|
|
399
381
|
* @memberof ChannelsApi
|
|
400
382
|
*/
|
|
401
|
-
getChannelItems(requestParameters: ChannelsApiGetChannelItemsRequest, options?:
|
|
383
|
+
getChannelItems(requestParameters: ChannelsApiGetChannelItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
402
384
|
/**
|
|
403
385
|
*
|
|
404
386
|
* @summary Gets available channels.
|
|
@@ -407,7 +389,7 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
407
389
|
* @throws {RequiredError}
|
|
408
390
|
* @memberof ChannelsApi
|
|
409
391
|
*/
|
|
410
|
-
getChannels(requestParameters?: ChannelsApiGetChannelsRequest, options?:
|
|
392
|
+
getChannels(requestParameters?: ChannelsApiGetChannelsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
411
393
|
/**
|
|
412
394
|
*
|
|
413
395
|
* @summary Gets latest channel items.
|
|
@@ -416,5 +398,5 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
416
398
|
* @throws {RequiredError}
|
|
417
399
|
* @memberof ChannelsApi
|
|
418
400
|
*/
|
|
419
|
-
getLatestChannelItems(requestParameters?: ChannelsApiGetLatestChannelItemsRequest, options?:
|
|
401
|
+
getLatestChannelItems(requestParameters?: ChannelsApiGetLatestChannelItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
420
402
|
}
|