@jellyfin/sdk 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +127 -0
- package/README.md +3 -41
- package/lib/api.d.ts +7 -11
- package/lib/api.js +13 -14
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +8 -8
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +19 -10
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +22 -76
- package/lib/generated-client/api/audio-api.d.ts +87 -255
- package/lib/generated-client/api/audio-api.js +97 -249
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +13 -4
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +33 -36
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +10 -7
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +22 -18
- package/lib/generated-client/api/configuration-api.d.ts +75 -29
- package/lib/generated-client/api/configuration-api.js +98 -17
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +16 -10
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +37 -23
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +16 -15
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +233 -573
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +35 -19
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +15 -21
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +16 -28
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +37 -29
- package/lib/generated-client/api/image-api.d.ts +216 -942
- package/lib/generated-client/api/image-api.js +282 -789
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +57 -89
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +78 -47
- package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
- package/lib/generated-client/api/item-refresh-api.js +17 -13
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +22 -15
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +39 -123
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +213 -143
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +54 -40
- package/lib/generated-client/api/live-tv-api.d.ts +236 -336
- package/lib/generated-client/api/live-tv-api.js +287 -267
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +17 -5
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +46 -31
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +46 -53
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +8 -9
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +16 -28
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +38 -24
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +16 -23
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +138 -64
- package/lib/generated-client/api/playstate-api.d.ts +66 -80
- package/lib/generated-client/api/playstate-api.js +77 -64
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +61 -38
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +24 -13
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +22 -20
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +8 -22
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +104 -83
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +39 -18
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +16 -27
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +69 -70
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +8 -10
- package/lib/generated-client/api/sync-play-api.d.ts +166 -120
- package/lib/generated-client/api/sync-play-api.js +200 -71
- package/lib/generated-client/api/system-api.d.ts +53 -57
- package/lib/generated-client/api/system-api.js +56 -30
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +5 -2
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +5 -2
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +8 -88
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +15 -14
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +30 -63
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +33 -51
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +94 -57
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +71 -60
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +15 -12
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +8 -7
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +114 -266
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +16 -25
- package/lib/generated-client/api.d.ts +2 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +4 -4
- package/lib/generated-client/common.js +23 -14
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +11 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +28 -28
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +1 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +29 -6
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +38 -14
- package/lib/generated-client/models/index.js +9 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +23 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +8 -2
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +2 -2
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +29 -23
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +2 -2
- package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +9 -2
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +2 -0
- package/lib/generated-client/models/transcode-reason.js +3 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +24 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +9 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +20 -18
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, 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 */
|
|
@@ -111,8 +111,11 @@ const BrandingApiFp = function (configuration) {
|
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
113
|
async getBrandingCss(options) {
|
|
114
|
+
var _a, _b, _c;
|
|
114
115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingCss(options);
|
|
115
|
-
|
|
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);
|
|
116
119
|
},
|
|
117
120
|
/**
|
|
118
121
|
*
|
|
@@ -121,8 +124,11 @@ const BrandingApiFp = function (configuration) {
|
|
|
121
124
|
* @throws {RequiredError}
|
|
122
125
|
*/
|
|
123
126
|
async getBrandingCss2(options) {
|
|
127
|
+
var _a, _b, _c;
|
|
124
128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingCss2(options);
|
|
125
|
-
|
|
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);
|
|
126
132
|
},
|
|
127
133
|
/**
|
|
128
134
|
*
|
|
@@ -131,8 +137,11 @@ const BrandingApiFp = function (configuration) {
|
|
|
131
137
|
* @throws {RequiredError}
|
|
132
138
|
*/
|
|
133
139
|
async getBrandingOptions(options) {
|
|
140
|
+
var _a, _b, _c;
|
|
134
141
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingOptions(options);
|
|
135
|
-
|
|
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);
|
|
136
145
|
},
|
|
137
146
|
};
|
|
138
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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, 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 */
|
|
@@ -259,8 +259,11 @@ const ChannelsApiFp = function (configuration) {
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
261
|
async getAllChannelFeatures(options) {
|
|
262
|
+
var _a, _b, _c;
|
|
262
263
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllChannelFeatures(options);
|
|
263
|
-
|
|
264
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
265
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsApi.getAllChannelFeatures']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
266
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
264
267
|
},
|
|
265
268
|
/**
|
|
266
269
|
*
|
|
@@ -270,8 +273,11 @@ const ChannelsApiFp = function (configuration) {
|
|
|
270
273
|
* @throws {RequiredError}
|
|
271
274
|
*/
|
|
272
275
|
async getChannelFeatures(channelId, options) {
|
|
276
|
+
var _a, _b, _c;
|
|
273
277
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelFeatures(channelId, options);
|
|
274
|
-
|
|
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['ChannelsApi.getChannelFeatures']) === 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);
|
|
275
281
|
},
|
|
276
282
|
/**
|
|
277
283
|
*
|
|
@@ -289,8 +295,11 @@ const ChannelsApiFp = function (configuration) {
|
|
|
289
295
|
* @throws {RequiredError}
|
|
290
296
|
*/
|
|
291
297
|
async getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, options) {
|
|
298
|
+
var _a, _b, _c;
|
|
292
299
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, options);
|
|
293
|
-
|
|
300
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
301
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsApi.getChannelItems']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
294
303
|
},
|
|
295
304
|
/**
|
|
296
305
|
*
|
|
@@ -305,8 +314,11 @@ const ChannelsApiFp = function (configuration) {
|
|
|
305
314
|
* @throws {RequiredError}
|
|
306
315
|
*/
|
|
307
316
|
async getChannels(userId, startIndex, limit, supportsLatestItems, supportsMediaDeletion, isFavorite, options) {
|
|
317
|
+
var _a, _b, _c;
|
|
308
318
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannels(userId, startIndex, limit, supportsLatestItems, supportsMediaDeletion, isFavorite, options);
|
|
309
|
-
|
|
319
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
320
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsApi.getChannels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
321
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
310
322
|
},
|
|
311
323
|
/**
|
|
312
324
|
*
|
|
@@ -321,8 +333,11 @@ const ChannelsApiFp = function (configuration) {
|
|
|
321
333
|
* @throws {RequiredError}
|
|
322
334
|
*/
|
|
323
335
|
async getLatestChannelItems(userId, startIndex, limit, filters, fields, channelIds, options) {
|
|
336
|
+
var _a, _b, _c;
|
|
324
337
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getLatestChannelItems(userId, startIndex, limit, filters, fields, channelIds, options);
|
|
325
|
-
|
|
338
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
339
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsApi.getLatestChannelItems']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
326
341
|
},
|
|
327
342
|
};
|
|
328
343
|
};
|
|
@@ -345,60 +360,42 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
345
360
|
/**
|
|
346
361
|
*
|
|
347
362
|
* @summary Get channel features.
|
|
348
|
-
* @param {
|
|
363
|
+
* @param {ChannelsApiGetChannelFeaturesRequest} requestParameters Request parameters.
|
|
349
364
|
* @param {*} [options] Override http request option.
|
|
350
365
|
* @throws {RequiredError}
|
|
351
366
|
*/
|
|
352
|
-
getChannelFeatures(
|
|
353
|
-
return localVarFp.getChannelFeatures(channelId, options).then((request) => request(axios, basePath));
|
|
367
|
+
getChannelFeatures(requestParameters, options) {
|
|
368
|
+
return localVarFp.getChannelFeatures(requestParameters.channelId, options).then((request) => request(axios, basePath));
|
|
354
369
|
},
|
|
355
370
|
/**
|
|
356
371
|
*
|
|
357
372
|
* @summary Get channel items.
|
|
358
|
-
* @param {
|
|
359
|
-
* @param {string} [folderId] Optional. Folder Id.
|
|
360
|
-
* @param {string} [userId] Optional. User Id.
|
|
361
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
362
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
363
|
-
* @param {Array<SortOrder>} [sortOrder] Optional. Sort Order - Ascending,Descending.
|
|
364
|
-
* @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply.
|
|
365
|
-
* @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.
|
|
366
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
373
|
+
* @param {ChannelsApiGetChannelItemsRequest} requestParameters Request parameters.
|
|
367
374
|
* @param {*} [options] Override http request option.
|
|
368
375
|
* @throws {RequiredError}
|
|
369
376
|
*/
|
|
370
|
-
getChannelItems(
|
|
371
|
-
return localVarFp.getChannelItems(channelId, folderId, userId, startIndex, limit, sortOrder, filters, sortBy, fields, options).then((request) => request(axios, basePath));
|
|
377
|
+
getChannelItems(requestParameters, options) {
|
|
378
|
+
return localVarFp.getChannelItems(requestParameters.channelId, requestParameters.folderId, requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.sortOrder, requestParameters.filters, requestParameters.sortBy, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
372
379
|
},
|
|
373
380
|
/**
|
|
374
381
|
*
|
|
375
382
|
* @summary Gets available channels.
|
|
376
|
-
* @param {
|
|
377
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
378
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
379
|
-
* @param {boolean} [supportsLatestItems] Optional. Filter by channels that support getting latest items.
|
|
380
|
-
* @param {boolean} [supportsMediaDeletion] Optional. Filter by channels that support media deletion.
|
|
381
|
-
* @param {boolean} [isFavorite] Optional. Filter by channels that are favorite.
|
|
383
|
+
* @param {ChannelsApiGetChannelsRequest} requestParameters Request parameters.
|
|
382
384
|
* @param {*} [options] Override http request option.
|
|
383
385
|
* @throws {RequiredError}
|
|
384
386
|
*/
|
|
385
|
-
getChannels(
|
|
386
|
-
return localVarFp.getChannels(userId, startIndex, limit, supportsLatestItems, supportsMediaDeletion, isFavorite, options).then((request) => request(axios, basePath));
|
|
387
|
+
getChannels(requestParameters = {}, options) {
|
|
388
|
+
return localVarFp.getChannels(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.supportsLatestItems, requestParameters.supportsMediaDeletion, requestParameters.isFavorite, options).then((request) => request(axios, basePath));
|
|
387
389
|
},
|
|
388
390
|
/**
|
|
389
391
|
*
|
|
390
392
|
* @summary Gets latest channel items.
|
|
391
|
-
* @param {
|
|
392
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
393
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
394
|
-
* @param {Array<ItemFilter>} [filters] Optional. Specify additional filters to apply.
|
|
395
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
396
|
-
* @param {Array<string>} [channelIds] Optional. Specify one or more channel id\'s, comma delimited.
|
|
393
|
+
* @param {ChannelsApiGetLatestChannelItemsRequest} requestParameters Request parameters.
|
|
397
394
|
* @param {*} [options] Override http request option.
|
|
398
395
|
* @throws {RequiredError}
|
|
399
396
|
*/
|
|
400
|
-
getLatestChannelItems(
|
|
401
|
-
return localVarFp.getLatestChannelItems(userId, startIndex, limit, filters, fields, channelIds, options).then((request) => request(axios, basePath));
|
|
397
|
+
getLatestChannelItems(requestParameters = {}, options) {
|
|
398
|
+
return localVarFp.getLatestChannelItems(requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.filters, requestParameters.fields, requestParameters.channelIds, options).then((request) => request(axios, basePath));
|
|
402
399
|
},
|
|
403
400
|
};
|
|
404
401
|
};
|
|
@@ -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 { ClientLogDocumentResponseDto } 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 { ClientLogDocumentResponseDto } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* ClientLogApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -20,11 +20,11 @@ export declare const ClientLogApiAxiosParamCreator: (configuration?: Configurati
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @summary Upload a document.
|
|
23
|
-
* @param {
|
|
23
|
+
* @param {File} [body]
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
logFile: (body?:
|
|
27
|
+
logFile: (body?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* ClientLogApi - functional programming interface
|
|
@@ -34,11 +34,11 @@ export declare const ClientLogApiFp: (configuration?: Configuration) => {
|
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @summary Upload a document.
|
|
37
|
-
* @param {
|
|
37
|
+
* @param {File} [body]
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
41
|
-
logFile(body?:
|
|
41
|
+
logFile(body?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientLogDocumentResponseDto>>;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* ClientLogApi - factory interface
|
|
@@ -48,11 +48,11 @@ export declare const ClientLogApiFactory: (configuration?: Configuration, basePa
|
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @summary Upload a document.
|
|
51
|
-
* @param {
|
|
51
|
+
* @param {ClientLogApiLogFileRequest} requestParameters Request parameters.
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
55
|
-
logFile(
|
|
55
|
+
logFile(requestParameters?: ClientLogApiLogFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientLogDocumentResponseDto>;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
58
|
* Request parameters for logFile operation in ClientLogApi.
|
|
@@ -62,10 +62,10 @@ export declare const ClientLogApiFactory: (configuration?: Configuration, basePa
|
|
|
62
62
|
export interface ClientLogApiLogFileRequest {
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
|
-
* @type {
|
|
65
|
+
* @type {File}
|
|
66
66
|
* @memberof ClientLogApiLogFile
|
|
67
67
|
*/
|
|
68
|
-
readonly body?:
|
|
68
|
+
readonly body?: File;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* ClientLogApi - object-oriented interface
|
|
@@ -82,5 +82,5 @@ export declare class ClientLogApi extends BaseAPI {
|
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
* @memberof ClientLogApi
|
|
84
84
|
*/
|
|
85
|
-
logFile(requestParameters?: ClientLogApiLogFileRequest, options?:
|
|
85
|
+
logFile(requestParameters?: ClientLogApiLogFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientLogDocumentResponseDto, any, {}>>;
|
|
86
86
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, 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 */
|
|
@@ -23,7 +23,7 @@ const ClientLogApiAxiosParamCreator = function (configuration) {
|
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @summary Upload a document.
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {File} [body]
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
@@ -62,13 +62,16 @@ const ClientLogApiFp = function (configuration) {
|
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @summary Upload a document.
|
|
65
|
-
* @param {
|
|
65
|
+
* @param {File} [body]
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
69
|
async logFile(body, options) {
|
|
70
|
+
var _a, _b, _c;
|
|
70
71
|
const localVarAxiosArgs = await localVarAxiosParamCreator.logFile(body, options);
|
|
71
|
-
|
|
72
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
73
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClientLogApi.logFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
74
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
72
75
|
},
|
|
73
76
|
};
|
|
74
77
|
};
|
|
@@ -82,12 +85,12 @@ const ClientLogApiFactory = function (configuration, basePath, axios) {
|
|
|
82
85
|
/**
|
|
83
86
|
*
|
|
84
87
|
* @summary Upload a document.
|
|
85
|
-
* @param {
|
|
88
|
+
* @param {ClientLogApiLogFileRequest} requestParameters Request parameters.
|
|
86
89
|
* @param {*} [options] Override http request option.
|
|
87
90
|
* @throws {RequiredError}
|
|
88
91
|
*/
|
|
89
|
-
logFile(
|
|
90
|
-
return localVarFp.logFile(body, options).then((request) => request(axios, basePath));
|
|
92
|
+
logFile(requestParameters = {}, options) {
|
|
93
|
+
return localVarFp.logFile(requestParameters.body, options).then((request) => request(axios, basePath));
|
|
91
94
|
},
|
|
92
95
|
};
|
|
93
96
|
};
|