@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 { assertParamExists, 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 */
|
|
@@ -398,8 +398,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
398
398
|
* @throws {RequiredError}
|
|
399
399
|
*/
|
|
400
400
|
async applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options) {
|
|
401
|
+
var _a, _b, _c;
|
|
401
402
|
const localVarAxiosArgs = await localVarAxiosParamCreator.applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options);
|
|
402
|
-
|
|
403
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
404
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.applySearchCriteria']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
405
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
403
406
|
},
|
|
404
407
|
/**
|
|
405
408
|
*
|
|
@@ -409,8 +412,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
409
412
|
* @throws {RequiredError}
|
|
410
413
|
*/
|
|
411
414
|
async getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options) {
|
|
415
|
+
var _a, _b, _c;
|
|
412
416
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options);
|
|
413
|
-
|
|
417
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
418
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getBookRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
419
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
414
420
|
},
|
|
415
421
|
/**
|
|
416
422
|
*
|
|
@@ -420,8 +426,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
420
426
|
* @throws {RequiredError}
|
|
421
427
|
*/
|
|
422
428
|
async getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options) {
|
|
429
|
+
var _a, _b, _c;
|
|
423
430
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options);
|
|
424
|
-
|
|
431
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
432
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getBoxSetRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
425
434
|
},
|
|
426
435
|
/**
|
|
427
436
|
*
|
|
@@ -431,8 +440,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
431
440
|
* @throws {RequiredError}
|
|
432
441
|
*/
|
|
433
442
|
async getExternalIdInfos(itemId, options) {
|
|
443
|
+
var _a, _b, _c;
|
|
434
444
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getExternalIdInfos(itemId, options);
|
|
435
|
-
|
|
445
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
446
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getExternalIdInfos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
447
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
436
448
|
},
|
|
437
449
|
/**
|
|
438
450
|
*
|
|
@@ -442,8 +454,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
442
454
|
* @throws {RequiredError}
|
|
443
455
|
*/
|
|
444
456
|
async getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options) {
|
|
457
|
+
var _a, _b, _c;
|
|
445
458
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options);
|
|
446
|
-
|
|
459
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
460
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getMovieRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
461
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
447
462
|
},
|
|
448
463
|
/**
|
|
449
464
|
*
|
|
@@ -453,8 +468,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
453
468
|
* @throws {RequiredError}
|
|
454
469
|
*/
|
|
455
470
|
async getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options) {
|
|
471
|
+
var _a, _b, _c;
|
|
456
472
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options);
|
|
457
|
-
|
|
473
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
474
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getMusicAlbumRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
475
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
458
476
|
},
|
|
459
477
|
/**
|
|
460
478
|
*
|
|
@@ -464,8 +482,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
464
482
|
* @throws {RequiredError}
|
|
465
483
|
*/
|
|
466
484
|
async getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options) {
|
|
485
|
+
var _a, _b, _c;
|
|
467
486
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options);
|
|
468
|
-
|
|
487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
488
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getMusicArtistRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
489
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
469
490
|
},
|
|
470
491
|
/**
|
|
471
492
|
*
|
|
@@ -475,8 +496,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
475
496
|
* @throws {RequiredError}
|
|
476
497
|
*/
|
|
477
498
|
async getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options) {
|
|
499
|
+
var _a, _b, _c;
|
|
478
500
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options);
|
|
479
|
-
|
|
501
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
502
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getMusicVideoRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
503
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
480
504
|
},
|
|
481
505
|
/**
|
|
482
506
|
*
|
|
@@ -486,8 +510,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
486
510
|
* @throws {RequiredError}
|
|
487
511
|
*/
|
|
488
512
|
async getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options) {
|
|
513
|
+
var _a, _b, _c;
|
|
489
514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options);
|
|
490
|
-
|
|
515
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
516
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getPersonRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
491
518
|
},
|
|
492
519
|
/**
|
|
493
520
|
*
|
|
@@ -497,8 +524,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
497
524
|
* @throws {RequiredError}
|
|
498
525
|
*/
|
|
499
526
|
async getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options) {
|
|
527
|
+
var _a, _b, _c;
|
|
500
528
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options);
|
|
501
|
-
|
|
529
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
530
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getSeriesRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
531
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
502
532
|
},
|
|
503
533
|
/**
|
|
504
534
|
*
|
|
@@ -508,8 +538,11 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
508
538
|
* @throws {RequiredError}
|
|
509
539
|
*/
|
|
510
540
|
async getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options) {
|
|
541
|
+
var _a, _b, _c;
|
|
511
542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options);
|
|
512
|
-
|
|
543
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
544
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemLookupApi.getTrailerRemoteSearchResults']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
513
546
|
},
|
|
514
547
|
};
|
|
515
548
|
};
|
|
@@ -523,114 +556,112 @@ const ItemLookupApiFactory = function (configuration, basePath, axios) {
|
|
|
523
556
|
/**
|
|
524
557
|
*
|
|
525
558
|
* @summary Applies search criteria to an item and refreshes metadata.
|
|
526
|
-
* @param {
|
|
527
|
-
* @param {RemoteSearchResult} remoteSearchResult The remote search result.
|
|
528
|
-
* @param {boolean} [replaceAllImages] Optional. Whether or not to replace all images. Default: True.
|
|
559
|
+
* @param {ItemLookupApiApplySearchCriteriaRequest} requestParameters Request parameters.
|
|
529
560
|
* @param {*} [options] Override http request option.
|
|
530
561
|
* @throws {RequiredError}
|
|
531
562
|
*/
|
|
532
|
-
applySearchCriteria(
|
|
533
|
-
return localVarFp.applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options).then((request) => request(axios, basePath));
|
|
563
|
+
applySearchCriteria(requestParameters, options) {
|
|
564
|
+
return localVarFp.applySearchCriteria(requestParameters.itemId, requestParameters.remoteSearchResult, requestParameters.replaceAllImages, options).then((request) => request(axios, basePath));
|
|
534
565
|
},
|
|
535
566
|
/**
|
|
536
567
|
*
|
|
537
568
|
* @summary Get book remote search.
|
|
538
|
-
* @param {
|
|
569
|
+
* @param {ItemLookupApiGetBookRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
539
570
|
* @param {*} [options] Override http request option.
|
|
540
571
|
* @throws {RequiredError}
|
|
541
572
|
*/
|
|
542
|
-
getBookRemoteSearchResults(
|
|
543
|
-
return localVarFp.getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
573
|
+
getBookRemoteSearchResults(requestParameters, options) {
|
|
574
|
+
return localVarFp.getBookRemoteSearchResults(requestParameters.bookInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
544
575
|
},
|
|
545
576
|
/**
|
|
546
577
|
*
|
|
547
578
|
* @summary Get box set remote search.
|
|
548
|
-
* @param {
|
|
579
|
+
* @param {ItemLookupApiGetBoxSetRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
549
580
|
* @param {*} [options] Override http request option.
|
|
550
581
|
* @throws {RequiredError}
|
|
551
582
|
*/
|
|
552
|
-
getBoxSetRemoteSearchResults(
|
|
553
|
-
return localVarFp.getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
583
|
+
getBoxSetRemoteSearchResults(requestParameters, options) {
|
|
584
|
+
return localVarFp.getBoxSetRemoteSearchResults(requestParameters.boxSetInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
554
585
|
},
|
|
555
586
|
/**
|
|
556
587
|
*
|
|
557
588
|
* @summary Get the item\'s external id info.
|
|
558
|
-
* @param {
|
|
589
|
+
* @param {ItemLookupApiGetExternalIdInfosRequest} requestParameters Request parameters.
|
|
559
590
|
* @param {*} [options] Override http request option.
|
|
560
591
|
* @throws {RequiredError}
|
|
561
592
|
*/
|
|
562
|
-
getExternalIdInfos(
|
|
563
|
-
return localVarFp.getExternalIdInfos(itemId, options).then((request) => request(axios, basePath));
|
|
593
|
+
getExternalIdInfos(requestParameters, options) {
|
|
594
|
+
return localVarFp.getExternalIdInfos(requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
564
595
|
},
|
|
565
596
|
/**
|
|
566
597
|
*
|
|
567
598
|
* @summary Get movie remote search.
|
|
568
|
-
* @param {
|
|
599
|
+
* @param {ItemLookupApiGetMovieRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
569
600
|
* @param {*} [options] Override http request option.
|
|
570
601
|
* @throws {RequiredError}
|
|
571
602
|
*/
|
|
572
|
-
getMovieRemoteSearchResults(
|
|
573
|
-
return localVarFp.getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
603
|
+
getMovieRemoteSearchResults(requestParameters, options) {
|
|
604
|
+
return localVarFp.getMovieRemoteSearchResults(requestParameters.movieInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
574
605
|
},
|
|
575
606
|
/**
|
|
576
607
|
*
|
|
577
608
|
* @summary Get music album remote search.
|
|
578
|
-
* @param {
|
|
609
|
+
* @param {ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
579
610
|
* @param {*} [options] Override http request option.
|
|
580
611
|
* @throws {RequiredError}
|
|
581
612
|
*/
|
|
582
|
-
getMusicAlbumRemoteSearchResults(
|
|
583
|
-
return localVarFp.getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
613
|
+
getMusicAlbumRemoteSearchResults(requestParameters, options) {
|
|
614
|
+
return localVarFp.getMusicAlbumRemoteSearchResults(requestParameters.albumInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
584
615
|
},
|
|
585
616
|
/**
|
|
586
617
|
*
|
|
587
618
|
* @summary Get music artist remote search.
|
|
588
|
-
* @param {
|
|
619
|
+
* @param {ItemLookupApiGetMusicArtistRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
589
620
|
* @param {*} [options] Override http request option.
|
|
590
621
|
* @throws {RequiredError}
|
|
591
622
|
*/
|
|
592
|
-
getMusicArtistRemoteSearchResults(
|
|
593
|
-
return localVarFp.getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
623
|
+
getMusicArtistRemoteSearchResults(requestParameters, options) {
|
|
624
|
+
return localVarFp.getMusicArtistRemoteSearchResults(requestParameters.artistInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
594
625
|
},
|
|
595
626
|
/**
|
|
596
627
|
*
|
|
597
628
|
* @summary Get music video remote search.
|
|
598
|
-
* @param {
|
|
629
|
+
* @param {ItemLookupApiGetMusicVideoRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
599
630
|
* @param {*} [options] Override http request option.
|
|
600
631
|
* @throws {RequiredError}
|
|
601
632
|
*/
|
|
602
|
-
getMusicVideoRemoteSearchResults(
|
|
603
|
-
return localVarFp.getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
633
|
+
getMusicVideoRemoteSearchResults(requestParameters, options) {
|
|
634
|
+
return localVarFp.getMusicVideoRemoteSearchResults(requestParameters.musicVideoInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
604
635
|
},
|
|
605
636
|
/**
|
|
606
637
|
*
|
|
607
638
|
* @summary Get person remote search.
|
|
608
|
-
* @param {
|
|
639
|
+
* @param {ItemLookupApiGetPersonRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
609
640
|
* @param {*} [options] Override http request option.
|
|
610
641
|
* @throws {RequiredError}
|
|
611
642
|
*/
|
|
612
|
-
getPersonRemoteSearchResults(
|
|
613
|
-
return localVarFp.getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
643
|
+
getPersonRemoteSearchResults(requestParameters, options) {
|
|
644
|
+
return localVarFp.getPersonRemoteSearchResults(requestParameters.personLookupInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
614
645
|
},
|
|
615
646
|
/**
|
|
616
647
|
*
|
|
617
648
|
* @summary Get series remote search.
|
|
618
|
-
* @param {
|
|
649
|
+
* @param {ItemLookupApiGetSeriesRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
619
650
|
* @param {*} [options] Override http request option.
|
|
620
651
|
* @throws {RequiredError}
|
|
621
652
|
*/
|
|
622
|
-
getSeriesRemoteSearchResults(
|
|
623
|
-
return localVarFp.getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
653
|
+
getSeriesRemoteSearchResults(requestParameters, options) {
|
|
654
|
+
return localVarFp.getSeriesRemoteSearchResults(requestParameters.seriesInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
624
655
|
},
|
|
625
656
|
/**
|
|
626
657
|
*
|
|
627
658
|
* @summary Get trailer remote search.
|
|
628
|
-
* @param {
|
|
659
|
+
* @param {ItemLookupApiGetTrailerRemoteSearchResultsRequest} requestParameters Request parameters.
|
|
629
660
|
* @param {*} [options] Override http request option.
|
|
630
661
|
* @throws {RequiredError}
|
|
631
662
|
*/
|
|
632
|
-
getTrailerRemoteSearchResults(
|
|
633
|
-
return localVarFp.getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
663
|
+
getTrailerRemoteSearchResults(requestParameters, options) {
|
|
664
|
+
return localVarFp.getTrailerRemoteSearchResults(requestParameters.trailerInfoRemoteSearchQuery, options).then((request) => request(axios, basePath));
|
|
634
665
|
},
|
|
635
666
|
};
|
|
636
667
|
};
|
|
@@ -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 { MetadataRefreshMode } 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 { MetadataRefreshMode } from '../models';
|
|
15
15
|
/**
|
|
16
16
|
* ItemRefreshApi - axios parameter creator
|
|
17
17
|
* @export
|
|
@@ -25,10 +25,11 @@ export declare const ItemRefreshApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
26
26
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
27
27
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
28
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
28
29
|
* @param {*} [options] Override http request option.
|
|
29
30
|
* @throws {RequiredError}
|
|
30
31
|
*/
|
|
31
|
-
refreshItem: (itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, options?:
|
|
32
|
+
refreshItem: (itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, regenerateTrickplay?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
34
35
|
* ItemRefreshApi - functional programming interface
|
|
@@ -43,10 +44,11 @@ export declare const ItemRefreshApiFp: (configuration?: Configuration) => {
|
|
|
43
44
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
44
45
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
45
46
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
47
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
46
48
|
* @param {*} [options] Override http request option.
|
|
47
49
|
* @throws {RequiredError}
|
|
48
50
|
*/
|
|
49
|
-
refreshItem(itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, options?:
|
|
51
|
+
refreshItem(itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, regenerateTrickplay?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
50
52
|
};
|
|
51
53
|
/**
|
|
52
54
|
* ItemRefreshApi - factory interface
|
|
@@ -56,15 +58,11 @@ export declare const ItemRefreshApiFactory: (configuration?: Configuration, base
|
|
|
56
58
|
/**
|
|
57
59
|
*
|
|
58
60
|
* @summary Refreshes metadata for an item.
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {MetadataRefreshMode} [metadataRefreshMode] (Optional) Specifies the metadata refresh mode.
|
|
61
|
-
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
62
|
-
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
63
|
-
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
61
|
+
* @param {ItemRefreshApiRefreshItemRequest} requestParameters Request parameters.
|
|
64
62
|
* @param {*} [options] Override http request option.
|
|
65
63
|
* @throws {RequiredError}
|
|
66
64
|
*/
|
|
67
|
-
refreshItem(
|
|
65
|
+
refreshItem(requestParameters: ItemRefreshApiRefreshItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
68
66
|
};
|
|
69
67
|
/**
|
|
70
68
|
* Request parameters for refreshItem operation in ItemRefreshApi.
|
|
@@ -102,6 +100,12 @@ export interface ItemRefreshApiRefreshItemRequest {
|
|
|
102
100
|
* @memberof ItemRefreshApiRefreshItem
|
|
103
101
|
*/
|
|
104
102
|
readonly replaceAllImages?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof ItemRefreshApiRefreshItem
|
|
107
|
+
*/
|
|
108
|
+
readonly regenerateTrickplay?: boolean;
|
|
105
109
|
}
|
|
106
110
|
/**
|
|
107
111
|
* ItemRefreshApi - object-oriented interface
|
|
@@ -118,5 +122,5 @@ export declare class ItemRefreshApi extends BaseAPI {
|
|
|
118
122
|
* @throws {RequiredError}
|
|
119
123
|
* @memberof ItemRefreshApi
|
|
120
124
|
*/
|
|
121
|
-
refreshItem(requestParameters: ItemRefreshApiRefreshItemRequest, options?:
|
|
125
|
+
refreshItem(requestParameters: ItemRefreshApiRefreshItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
122
126
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
3
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -28,10 +28,11 @@ const ItemRefreshApiAxiosParamCreator = function (configuration) {
|
|
|
28
28
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
29
29
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
30
30
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
31
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
31
32
|
* @param {*} [options] Override http request option.
|
|
32
33
|
* @throws {RequiredError}
|
|
33
34
|
*/
|
|
34
|
-
refreshItem: async (itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, options = {}) => {
|
|
35
|
+
refreshItem: async (itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, options = {}) => {
|
|
35
36
|
// verify required parameter 'itemId' is not null or undefined
|
|
36
37
|
assertParamExists('refreshItem', 'itemId', itemId);
|
|
37
38
|
const localVarPath = `/Items/{itemId}/Refresh`
|
|
@@ -59,6 +60,9 @@ const ItemRefreshApiAxiosParamCreator = function (configuration) {
|
|
|
59
60
|
if (replaceAllImages !== undefined) {
|
|
60
61
|
localVarQueryParameter['replaceAllImages'] = replaceAllImages;
|
|
61
62
|
}
|
|
63
|
+
if (regenerateTrickplay !== undefined) {
|
|
64
|
+
localVarQueryParameter['regenerateTrickplay'] = regenerateTrickplay;
|
|
65
|
+
}
|
|
62
66
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63
67
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
68
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -84,12 +88,16 @@ const ItemRefreshApiFp = function (configuration) {
|
|
|
84
88
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
85
89
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
86
90
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
91
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
87
92
|
* @param {*} [options] Override http request option.
|
|
88
93
|
* @throws {RequiredError}
|
|
89
94
|
*/
|
|
90
|
-
async refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, options) {
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
async refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, options) {
|
|
96
|
+
var _a, _b, _c;
|
|
97
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, regenerateTrickplay, options);
|
|
98
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
99
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ItemRefreshApi.refreshItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
100
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
93
101
|
},
|
|
94
102
|
};
|
|
95
103
|
};
|
|
@@ -103,16 +111,12 @@ const ItemRefreshApiFactory = function (configuration, basePath, axios) {
|
|
|
103
111
|
/**
|
|
104
112
|
*
|
|
105
113
|
* @summary Refreshes metadata for an item.
|
|
106
|
-
* @param {
|
|
107
|
-
* @param {MetadataRefreshMode} [metadataRefreshMode] (Optional) Specifies the metadata refresh mode.
|
|
108
|
-
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
109
|
-
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
110
|
-
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
114
|
+
* @param {ItemRefreshApiRefreshItemRequest} requestParameters Request parameters.
|
|
111
115
|
* @param {*} [options] Override http request option.
|
|
112
116
|
* @throws {RequiredError}
|
|
113
117
|
*/
|
|
114
|
-
refreshItem(
|
|
115
|
-
return localVarFp.refreshItem(itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, options).then((request) => request(axios, basePath));
|
|
118
|
+
refreshItem(requestParameters, options) {
|
|
119
|
+
return localVarFp.refreshItem(requestParameters.itemId, requestParameters.metadataRefreshMode, requestParameters.imageRefreshMode, requestParameters.replaceAllMetadata, requestParameters.replaceAllImages, requestParameters.regenerateTrickplay, options).then((request) => request(axios, basePath));
|
|
116
120
|
},
|
|
117
121
|
};
|
|
118
122
|
};
|
|
@@ -132,7 +136,7 @@ class ItemRefreshApi extends BaseAPI {
|
|
|
132
136
|
* @memberof ItemRefreshApi
|
|
133
137
|
*/
|
|
134
138
|
refreshItem(requestParameters, options) {
|
|
135
|
-
return ItemRefreshApiFp(this.configuration).refreshItem(requestParameters.itemId, requestParameters.metadataRefreshMode, requestParameters.imageRefreshMode, requestParameters.replaceAllMetadata, requestParameters.replaceAllImages, options).then((request) => request(this.axios, this.basePath));
|
|
139
|
+
return ItemRefreshApiFp(this.configuration).refreshItem(requestParameters.itemId, requestParameters.metadataRefreshMode, requestParameters.imageRefreshMode, requestParameters.replaceAllMetadata, requestParameters.replaceAllImages, requestParameters.regenerateTrickplay, options).then((request) => request(this.axios, this.basePath));
|
|
136
140
|
}
|
|
137
141
|
}
|
|
138
142
|
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
9
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
-
import { BaseItemDto } from '../models';
|
|
15
|
-
import { MetadataEditorInfo } from '../models';
|
|
11
|
+
import type { Configuration } from '../configuration';
|
|
12
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
13
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import type { BaseItemDto } from '../models';
|
|
15
|
+
import type { MetadataEditorInfo } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* ItemUpdateApi - axios parameter creator
|
|
18
18
|
* @export
|
|
@@ -25,7 +25,7 @@ export declare const ItemUpdateApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
getMetadataEditorInfo: (itemId: string, options?:
|
|
28
|
+
getMetadataEditorInfo: (itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary Updates an item.
|
|
@@ -34,7 +34,7 @@ export declare const ItemUpdateApiAxiosParamCreator: (configuration?: Configurat
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
updateItem: (itemId: string, baseItemDto: BaseItemDto, options?:
|
|
37
|
+
updateItem: (itemId: string, baseItemDto: BaseItemDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Updates an item\'s content type.
|
|
@@ -43,7 +43,7 @@ export declare const ItemUpdateApiAxiosParamCreator: (configuration?: Configurat
|
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
updateItemContentType: (itemId: string, contentType?: string, options?:
|
|
46
|
+
updateItemContentType: (itemId: string, contentType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* ItemUpdateApi - functional programming interface
|
|
@@ -57,7 +57,7 @@ export declare const ItemUpdateApiFp: (configuration?: Configuration) => {
|
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
|
-
getMetadataEditorInfo(itemId: string, options?:
|
|
60
|
+
getMetadataEditorInfo(itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MetadataEditorInfo>>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @summary Updates an item.
|
|
@@ -66,7 +66,7 @@ export declare const ItemUpdateApiFp: (configuration?: Configuration) => {
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
updateItem(itemId: string, baseItemDto: BaseItemDto, options?:
|
|
69
|
+
updateItem(itemId: string, baseItemDto: BaseItemDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary Updates an item\'s content type.
|
|
@@ -75,7 +75,7 @@ export declare const ItemUpdateApiFp: (configuration?: Configuration) => {
|
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
updateItemContentType(itemId: string, contentType?: string, options?:
|
|
78
|
+
updateItemContentType(itemId: string, contentType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* ItemUpdateApi - factory interface
|
|
@@ -85,29 +85,27 @@ export declare const ItemUpdateApiFactory: (configuration?: Configuration, baseP
|
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @summary Gets metadata editor info for an item.
|
|
88
|
-
* @param {
|
|
88
|
+
* @param {ItemUpdateApiGetMetadataEditorInfoRequest} requestParameters Request parameters.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
getMetadataEditorInfo(
|
|
92
|
+
getMetadataEditorInfo(requestParameters: ItemUpdateApiGetMetadataEditorInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<MetadataEditorInfo>;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @summary Updates an item.
|
|
96
|
-
* @param {
|
|
97
|
-
* @param {BaseItemDto} baseItemDto The new item properties.
|
|
96
|
+
* @param {ItemUpdateApiUpdateItemRequest} requestParameters Request parameters.
|
|
98
97
|
* @param {*} [options] Override http request option.
|
|
99
98
|
* @throws {RequiredError}
|
|
100
99
|
*/
|
|
101
|
-
updateItem(
|
|
100
|
+
updateItem(requestParameters: ItemUpdateApiUpdateItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
102
101
|
/**
|
|
103
102
|
*
|
|
104
103
|
* @summary Updates an item\'s content type.
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {string} [contentType] The content type of the item.
|
|
104
|
+
* @param {ItemUpdateApiUpdateItemContentTypeRequest} requestParameters Request parameters.
|
|
107
105
|
* @param {*} [options] Override http request option.
|
|
108
106
|
* @throws {RequiredError}
|
|
109
107
|
*/
|
|
110
|
-
updateItemContentType(
|
|
108
|
+
updateItemContentType(requestParameters: ItemUpdateApiUpdateItemContentTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
111
109
|
};
|
|
112
110
|
/**
|
|
113
111
|
* Request parameters for getMetadataEditorInfo operation in ItemUpdateApi.
|
|
@@ -175,7 +173,7 @@ export declare class ItemUpdateApi extends BaseAPI {
|
|
|
175
173
|
* @throws {RequiredError}
|
|
176
174
|
* @memberof ItemUpdateApi
|
|
177
175
|
*/
|
|
178
|
-
getMetadataEditorInfo(requestParameters: ItemUpdateApiGetMetadataEditorInfoRequest, options?:
|
|
176
|
+
getMetadataEditorInfo(requestParameters: ItemUpdateApiGetMetadataEditorInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MetadataEditorInfo, any, {}>>;
|
|
179
177
|
/**
|
|
180
178
|
*
|
|
181
179
|
* @summary Updates an item.
|
|
@@ -184,7 +182,7 @@ export declare class ItemUpdateApi extends BaseAPI {
|
|
|
184
182
|
* @throws {RequiredError}
|
|
185
183
|
* @memberof ItemUpdateApi
|
|
186
184
|
*/
|
|
187
|
-
updateItem(requestParameters: ItemUpdateApiUpdateItemRequest, options?:
|
|
185
|
+
updateItem(requestParameters: ItemUpdateApiUpdateItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
188
186
|
/**
|
|
189
187
|
*
|
|
190
188
|
* @summary Updates an item\'s content type.
|
|
@@ -193,5 +191,5 @@ export declare class ItemUpdateApi extends BaseAPI {
|
|
|
193
191
|
* @throws {RequiredError}
|
|
194
192
|
* @memberof ItemUpdateApi
|
|
195
193
|
*/
|
|
196
|
-
updateItemContentType(requestParameters: ItemUpdateApiUpdateItemContentTypeRequest, options?:
|
|
194
|
+
updateItemContentType(requestParameters: ItemUpdateApiUpdateItemContentTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
197
195
|
}
|