@jellyfin/sdk 0.12.0 → 1.0.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/.nvmrc +1 -0
- package/.openapi-generator-ignore +2 -0
- package/CHANGELOG.md +40 -3
- package/README.md +55 -32
- package/eslint.config.mjs +118 -0
- package/lib/api.d.ts +33 -9
- package/lib/api.js +88 -26
- package/lib/constants.d.ts +11 -0
- package/lib/constants.js +13 -0
- package/lib/generated-client/api/{artists-api.d.ts → artist-api.d.ts} +38 -173
- package/lib/generated-client/api/{artists-api.js → artist-api.js} +39 -33
- package/lib/generated-client/api/audio-api.d.ts +295 -450
- package/lib/generated-client/api/audio-api.js +332 -64
- package/lib/generated-client/api/authentication-api.d.ts +517 -0
- package/lib/generated-client/api/authentication-api.js +870 -0
- package/lib/generated-client/api/backup-api.d.ts +0 -22
- package/lib/generated-client/api/backup-api.js +5 -11
- package/lib/generated-client/api/branding-api.d.ts +0 -9
- package/lib/generated-client/api/branding-api.js +4 -10
- package/lib/generated-client/api/{channels-api.d.ts → channel-api.d.ts} +32 -95
- package/lib/generated-client/api/{channels-api.js → channel-api.js} +35 -41
- package/lib/generated-client/api/collection-api.d.ts +0 -31
- package/lib/generated-client/api/collection-api.js +4 -10
- package/lib/generated-client/api/{devices-api.d.ts → device-api.d.ts} +48 -81
- package/lib/generated-client/api/{devices-api.js → device-api.js} +46 -54
- package/lib/generated-client/api/{display-preferences-api.d.ts → display-preference-api.d.ts} +20 -46
- package/lib/generated-client/api/{display-preferences-api.js → display-preference-api.js} +22 -28
- package/lib/generated-client/api/environment-api.d.ts +0 -60
- package/lib/generated-client/api/environment-api.js +6 -75
- package/lib/generated-client/api/filter-api.d.ts +0 -40
- package/lib/generated-client/api/filter-api.js +3 -9
- package/lib/generated-client/api/{genres-api.d.ts → genre-api.d.ts} +20 -72
- package/lib/generated-client/api/{genres-api.js → genre-api.js} +22 -28
- package/lib/generated-client/api/image-api.d.ts +4 -1007
- package/lib/generated-client/api/image-api.js +42 -48
- package/lib/generated-client/api/instant-mix-api.d.ts +8 -245
- package/lib/generated-client/api/instant-mix-api.js +16 -121
- package/lib/generated-client/api/item-lookup-api.d.ts +0 -65
- package/lib/generated-client/api/item-lookup-api.js +12 -18
- package/lib/generated-client/api/item-update-api.d.ts +0 -25
- package/lib/generated-client/api/item-update-api.js +4 -10
- package/lib/generated-client/api/library-api.d.ts +1239 -327
- package/lib/generated-client/api/library-api.js +1307 -95
- package/lib/generated-client/api/library-structure-api.d.ts +0 -62
- package/lib/generated-client/api/library-structure-api.js +9 -15
- package/lib/generated-client/api/live-tv-api.d.ts +0 -622
- package/lib/generated-client/api/live-tv-api.js +39 -320
- package/lib/generated-client/api/localization-api.d.ts +0 -10
- package/lib/generated-client/api/localization-api.js +5 -11
- package/lib/generated-client/api/{lyrics-api.d.ts → lyric-api.d.ts} +44 -89
- package/lib/generated-client/api/{lyrics-api.js → lyric-api.js} +42 -48
- package/lib/generated-client/api/media-info-api.d.ts +4 -91
- package/lib/generated-client/api/media-info-api.js +10 -16
- package/lib/generated-client/api/{media-segments-api.d.ts → media-segment-api.d.ts} +14 -27
- package/lib/generated-client/api/{media-segments-api.js → media-segment-api.js} +17 -23
- package/lib/generated-client/api/{movies-api.d.ts → movie-api.d.ts} +14 -33
- package/lib/generated-client/api/{movies-api.js → movie-api.js} +17 -23
- package/lib/generated-client/api/music-genre-api.d.ts +85 -0
- package/lib/generated-client/api/music-genre-api.js +121 -0
- package/lib/generated-client/api/{persons-api.d.ts → person-api.d.ts} +52 -64
- package/lib/generated-client/api/{persons-api.js → person-api.js} +51 -32
- package/lib/generated-client/api/{playlists-api.d.ts → playlist-api.d.ts} +86 -185
- package/lib/generated-client/api/{playlists-api.js → playlist-api.js} +80 -81
- package/lib/generated-client/api/plugin-api.d.ts +743 -0
- package/lib/generated-client/api/plugin-api.js +1186 -0
- package/lib/generated-client/api/remote-image-api.d.ts +0 -35
- package/lib/generated-client/api/remote-image-api.js +4 -10
- package/lib/generated-client/api/{scheduled-tasks-api.d.ts → scheduled-task-api.d.ts} +38 -73
- package/lib/generated-client/api/{scheduled-tasks-api.js → scheduled-task-api.js} +37 -43
- package/lib/generated-client/api/search-api.d.ts +0 -45
- package/lib/generated-client/api/search-api.js +2 -8
- package/lib/generated-client/api/session-api.d.ts +163 -181
- package/lib/generated-client/api/session-api.js +262 -123
- package/lib/generated-client/api/{tv-shows-api.d.ts → show-api.d.ts} +34 -156
- package/lib/generated-client/api/{tv-shows-api.js → show-api.js} +36 -47
- package/lib/generated-client/api/startup-api.d.ts +20 -25
- package/lib/generated-client/api/startup-api.js +28 -14
- package/lib/generated-client/api/{studios-api.d.ts → studio-api.d.ts} +20 -70
- package/lib/generated-client/api/{studios-api.js → studio-api.js} +22 -28
- package/lib/generated-client/api/subtitle-api.d.ts +0 -114
- package/lib/generated-client/api/subtitle-api.js +11 -17
- package/lib/generated-client/api/{suggestions-api.d.ts → suggestion-api.d.ts} +14 -35
- package/lib/generated-client/api/{suggestions-api.js → suggestion-api.js} +17 -23
- package/lib/generated-client/api/sync-play-api.d.ts +0 -96
- package/lib/generated-client/api/sync-play-api.js +23 -29
- package/lib/generated-client/api/system-api.d.ts +420 -20
- package/lib/generated-client/api/system-api.js +659 -18
- package/lib/generated-client/api/{trailers-api.d.ts → trailer-api.d.ts} +32 -193
- package/lib/generated-client/api/{trailers-api.js → trailer-api.js} +35 -27
- package/lib/generated-client/api/{trickplay-api.d.ts → trick-play-api.d.ts} +20 -46
- package/lib/generated-client/api/{trickplay-api.js → trick-play-api.js} +22 -28
- package/lib/generated-client/api/user-api.d.ts +0 -249
- package/lib/generated-client/api/user-api.js +11 -277
- package/lib/generated-client/api/user-data-api.d.ts +429 -0
- package/lib/generated-client/api/{user-library-api.js → user-data-api.js} +149 -324
- package/lib/generated-client/api/{user-views-api.d.ts → user-view-api.d.ts} +20 -42
- package/lib/generated-client/api/{user-views-api.js → user-view-api.js} +22 -28
- package/lib/generated-client/api/{videos-api.d.ts → video-api.d.ts} +111 -533
- package/lib/generated-client/api/{videos-api.js → video-api.js} +141 -101
- package/lib/generated-client/api/{years-api.d.ts → year-api.d.ts} +20 -66
- package/lib/generated-client/api/{years-api.js → year-api.js} +22 -28
- package/lib/generated-client/api.d.ts +23 -38
- package/lib/generated-client/base.d.ts +0 -24
- package/lib/generated-client/base.js +0 -15
- package/lib/generated-client/common.d.ts +4 -35
- package/lib/generated-client/common.js +15 -26
- package/lib/generated-client/configuration.d.ts +24 -17
- package/lib/generated-client/configuration.js +8 -2
- package/lib/generated-client/index.js +25 -39
- package/lib/generated-client/models/access-schedule.d.ts +0 -15
- package/lib/generated-client/models/activity-log-entry-message.d.ts +0 -11
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +0 -8
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -10
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +0 -7
- package/lib/generated-client/models/activity-log-entry.d.ts +0 -25
- package/lib/generated-client/models/activity-log-sort-by.d.ts +23 -0
- package/lib/generated-client/models/{architecture.d.ts → activity-log-sort-by.js} +13 -11
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +0 -7
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/album-info.d.ts +1 -49
- package/lib/generated-client/models/all-theme-media-result.d.ts +0 -20
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/artist-info.d.ts +0 -44
- package/lib/generated-client/models/audio-spatial-format.d.ts +0 -2
- package/lib/generated-client/models/audio-spatial-format.js +0 -2
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -6
- package/lib/generated-client/models/authentication-info-query-result.d.ts +0 -8
- package/lib/generated-client/models/authentication-info.d.ts +0 -35
- package/lib/generated-client/models/authentication-result.d.ts +0 -16
- package/lib/generated-client/models/backup-manifest-dto.d.ts +5 -20
- package/lib/generated-client/models/backup-options-dto.d.ts +0 -10
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +1 -5
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +14 -81
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/base-item-dto.d.ts +6 -456
- package/lib/generated-client/models/base-item-kind.d.ts +0 -2
- package/lib/generated-client/models/base-item-kind.js +0 -2
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -80
- package/lib/generated-client/models/base-item-person.d.ts +0 -20
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/book-info.d.ts +2 -40
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/box-set-info.d.ts +1 -37
- package/lib/generated-client/models/branding-options-dto.d.ts +1 -9
- package/lib/generated-client/models/buffer-request-dto.d.ts +0 -10
- package/lib/generated-client/models/cast-receiver-application.d.ts +2 -8
- package/lib/generated-client/models/channel-features.d.ts +0 -29
- package/lib/generated-client/models/channel-item-sort-field.d.ts +0 -5
- package/lib/generated-client/models/channel-item-sort-field.js +0 -5
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +2 -12
- package/lib/generated-client/models/channel-media-content-type.d.ts +0 -5
- package/lib/generated-client/models/channel-media-content-type.js +0 -5
- package/lib/generated-client/models/channel-media-type.d.ts +0 -5
- package/lib/generated-client/models/channel-media-type.js +0 -5
- package/lib/generated-client/models/channel-type.d.ts +0 -2
- package/lib/generated-client/models/channel-type.js +0 -2
- package/lib/generated-client/models/chapter-info.d.ts +0 -18
- package/lib/generated-client/models/client-capabilities-dto.d.ts +0 -19
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +0 -4
- package/lib/generated-client/models/codec-profile.d.ts +0 -17
- package/lib/generated-client/models/codec-type.d.ts +1 -3
- package/lib/generated-client/models/codec-type.js +1 -3
- package/lib/generated-client/models/collection-creation-result.d.ts +0 -10
- package/lib/generated-client/models/collection-type-options.d.ts +0 -2
- package/lib/generated-client/models/collection-type-options.js +0 -2
- package/lib/generated-client/models/collection-type.d.ts +0 -2
- package/lib/generated-client/models/collection-type.js +0 -2
- package/lib/generated-client/models/configuration-page-info.d.ts +0 -14
- package/lib/generated-client/models/container-profile.d.ts +0 -13
- package/lib/generated-client/models/country-info.d.ts +0 -10
- package/lib/generated-client/models/create-playlist-dto.d.ts +1 -18
- package/lib/generated-client/models/create-user-by-name.d.ts +0 -6
- package/lib/generated-client/models/culture-dto.d.ts +0 -15
- package/lib/generated-client/models/custom-database-option.d.ts +2 -8
- package/lib/generated-client/models/custom-database-options.d.ts +3 -13
- package/lib/generated-client/models/database-configuration-options.d.ts +1 -15
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +0 -2
- package/lib/generated-client/models/database-locking-behavior-types.js +0 -2
- package/lib/generated-client/models/day-of-week.d.ts +0 -5
- package/lib/generated-client/models/day-of-week.js +0 -5
- package/lib/generated-client/models/day-pattern.d.ts +1 -3
- package/lib/generated-client/models/day-pattern.js +1 -3
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +0 -4
- package/lib/generated-client/models/deinterlace-method.d.ts +0 -2
- package/lib/generated-client/models/deinterlace-method.js +0 -2
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/device-info-dto.d.ts +0 -27
- package/lib/generated-client/models/device-options-dto.d.ts +0 -8
- package/lib/generated-client/models/device-profile.d.ts +1 -25
- package/lib/generated-client/models/direct-play-profile.d.ts +0 -13
- package/lib/generated-client/models/display-preferences-dto.d.ts +0 -36
- package/lib/generated-client/models/dlna-profile-type.d.ts +0 -5
- package/lib/generated-client/models/dlna-profile-type.js +0 -5
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +0 -2
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +0 -2
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +0 -2
- package/lib/generated-client/models/dynamic-day-of-week.js +0 -2
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +0 -2
- package/lib/generated-client/models/embedded-subtitle-options.js +0 -2
- package/lib/generated-client/models/encoder-preset.d.ts +0 -2
- package/lib/generated-client/models/encoder-preset.js +0 -2
- package/lib/generated-client/models/encoding-context.d.ts +1 -3
- package/lib/generated-client/models/encoding-context.js +1 -3
- package/lib/generated-client/models/encoding-options.d.ts +6 -117
- package/lib/generated-client/models/end-point-info.d.ts +0 -15
- package/lib/generated-client/models/external-id-info.d.ts +0 -11
- package/lib/generated-client/models/external-id-media-type.d.ts +0 -2
- package/lib/generated-client/models/external-id-media-type.js +0 -2
- package/lib/generated-client/models/external-url.d.ts +0 -9
- package/lib/generated-client/models/extra-type.d.ts +0 -5
- package/lib/generated-client/models/extra-type.js +0 -5
- package/lib/generated-client/models/file-system-entry-info.d.ts +0 -11
- package/lib/generated-client/models/file-system-entry-type.d.ts +0 -2
- package/lib/generated-client/models/file-system-entry-type.js +0 -2
- package/lib/generated-client/models/folder-storage-dto.d.ts +1 -13
- package/lib/generated-client/models/font-file.d.ts +0 -10
- package/lib/generated-client/models/force-keep-alive-message.d.ts +0 -11
- package/lib/generated-client/models/forgot-password-action.d.ts +0 -5
- package/lib/generated-client/models/forgot-password-action.js +0 -5
- package/lib/generated-client/models/forgot-password-dto.d.ts +0 -4
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +0 -4
- package/lib/generated-client/models/forgot-password-result.d.ts +0 -14
- package/lib/generated-client/models/general-command-message.d.ts +0 -14
- package/lib/generated-client/models/general-command-type.d.ts +0 -2
- package/lib/generated-client/models/general-command-type.js +0 -2
- package/lib/generated-client/models/general-command.d.ts +1 -21
- package/lib/generated-client/models/get-programs-dto.d.ts +0 -56
- package/lib/generated-client/models/group-info-dto.d.ts +0 -15
- package/lib/generated-client/models/group-queue-mode.d.ts +0 -2
- package/lib/generated-client/models/group-queue-mode.js +0 -2
- package/lib/generated-client/models/group-repeat-mode.d.ts +0 -2
- package/lib/generated-client/models/group-repeat-mode.js +0 -2
- package/lib/generated-client/models/group-shuffle-mode.d.ts +0 -2
- package/lib/generated-client/models/group-shuffle-mode.js +0 -2
- package/lib/generated-client/models/group-state-type.d.ts +0 -2
- package/lib/generated-client/models/group-state-type.js +0 -2
- package/lib/generated-client/models/group-state-update.d.ts +0 -12
- 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 +0 -1
- package/lib/generated-client/models/guide-info.d.ts +0 -9
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +0 -2
- package/lib/generated-client/models/hardware-acceleration-type.js +0 -2
- package/lib/generated-client/models/{notification-level.d.ts → hls-audio-seek-strategy.d.ts} +5 -8
- package/lib/generated-client/models/{transcoding-info.js → hls-audio-seek-strategy.js} +8 -2
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +0 -4
- package/lib/generated-client/models/image-format.d.ts +0 -2
- package/lib/generated-client/models/image-format.js +0 -2
- package/lib/generated-client/models/image-info.d.ts +0 -21
- package/lib/generated-client/models/image-option.d.ts +0 -14
- package/lib/generated-client/models/image-orientation.d.ts +0 -5
- package/lib/generated-client/models/image-orientation.js +0 -5
- package/lib/generated-client/models/image-provider-info.d.ts +0 -6
- package/lib/generated-client/models/image-resolution.d.ts +0 -2
- package/lib/generated-client/models/image-resolution.js +0 -2
- package/lib/generated-client/models/image-saving-convention.d.ts +1 -3
- package/lib/generated-client/models/image-saving-convention.js +1 -3
- package/lib/generated-client/models/image-type.d.ts +0 -2
- package/lib/generated-client/models/image-type.js +0 -2
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +0 -7
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/index.d.ts +2 -2
- package/lib/generated-client/models/index.js +2 -1
- package/lib/generated-client/models/installation-info.d.ts +0 -19
- package/lib/generated-client/models/iplugin.d.ts +0 -16
- package/lib/generated-client/models/iso-type.d.ts +0 -2
- package/lib/generated-client/models/iso-type.js +0 -2
- package/lib/generated-client/models/item-counts.d.ts +0 -26
- package/lib/generated-client/models/item-fields.d.ts +0 -2
- package/lib/generated-client/models/item-fields.js +0 -2
- package/lib/generated-client/models/item-filter.d.ts +0 -2
- package/lib/generated-client/models/item-filter.js +0 -2
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +0 -2
- package/lib/generated-client/models/join-group-request-dto.d.ts +0 -4
- package/lib/generated-client/models/keep-until.d.ts +0 -5
- package/lib/generated-client/models/keep-until.js +0 -5
- package/lib/generated-client/models/library-changed-message.d.ts +0 -14
- package/lib/generated-client/models/library-option-info-dto.d.ts +0 -6
- package/lib/generated-client/models/library-options-result-dto.d.ts +0 -14
- package/lib/generated-client/models/library-options.d.ts +0 -207
- package/lib/generated-client/models/library-storage-dto.d.ts +3 -11
- package/lib/generated-client/models/library-type-options-dto.d.ts +4 -12
- package/lib/generated-client/models/library-update-info.d.ts +0 -22
- package/lib/generated-client/models/listings-provider-info.d.ts +0 -95
- package/lib/generated-client/models/live-stream-response.d.ts +0 -10
- package/lib/generated-client/models/live-tv-info.d.ts +0 -11
- package/lib/generated-client/models/live-tv-options.d.ts +0 -80
- package/lib/generated-client/models/live-tv-service-info.d.ts +0 -24
- package/lib/generated-client/models/live-tv-service-status.d.ts +1 -3
- package/lib/generated-client/models/live-tv-service-status.js +1 -3
- package/lib/generated-client/models/localization-option.d.ts +0 -15
- package/lib/generated-client/models/location-type.d.ts +0 -2
- package/lib/generated-client/models/location-type.js +0 -2
- package/lib/generated-client/models/log-file.d.ts +1 -14
- package/lib/generated-client/models/log-level.d.ts +0 -5
- package/lib/generated-client/models/log-level.js +0 -5
- package/lib/generated-client/models/lyric-dto.d.ts +0 -9
- package/lib/generated-client/models/lyric-line-cue.d.ts +0 -10
- package/lib/generated-client/models/lyric-line.d.ts +0 -8
- package/lib/generated-client/models/lyric-metadata.d.ts +0 -22
- package/lib/generated-client/models/media-attachment.d.ts +0 -16
- package/lib/generated-client/models/media-path-dto.d.ts +0 -11
- package/lib/generated-client/models/media-path-info.d.ts +0 -10
- package/lib/generated-client/models/media-protocol.d.ts +0 -5
- package/lib/generated-client/models/media-protocol.js +0 -5
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/media-segment-dto.d.ts +0 -15
- package/lib/generated-client/models/media-segment-type.d.ts +0 -2
- package/lib/generated-client/models/media-segment-type.js +0 -2
- package/lib/generated-client/models/media-source-info.d.ts +1 -228
- package/lib/generated-client/models/media-source-type.d.ts +1 -3
- package/lib/generated-client/models/media-source-type.js +1 -3
- package/lib/generated-client/models/media-stream-protocol.d.ts +1 -3
- package/lib/generated-client/models/media-stream-protocol.js +1 -3
- package/lib/generated-client/models/media-stream-type.d.ts +0 -2
- package/lib/generated-client/models/media-stream-type.js +0 -2
- package/lib/generated-client/models/media-stream.d.ts +7 -176
- package/lib/generated-client/models/media-type.d.ts +0 -2
- package/lib/generated-client/models/media-type.js +0 -2
- package/lib/generated-client/models/media-update-info-dto.d.ts +0 -4
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +1 -7
- package/lib/generated-client/models/media-url.d.ts +0 -15
- package/lib/generated-client/models/message-command.d.ts +4 -12
- package/lib/generated-client/models/metadata-configuration.d.ts +0 -10
- package/lib/generated-client/models/metadata-editor-info.d.ts +0 -17
- package/lib/generated-client/models/metadata-field.d.ts +0 -2
- package/lib/generated-client/models/metadata-field.js +0 -2
- package/lib/generated-client/models/metadata-options.d.ts +0 -37
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +0 -5
- package/lib/generated-client/models/metadata-refresh-mode.js +0 -5
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +0 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/movie-info.d.ts +1 -37
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/music-video-info.d.ts +0 -44
- package/lib/generated-client/models/name-guid-pair.d.ts +0 -15
- package/lib/generated-client/models/name-id-pair.d.ts +0 -9
- package/lib/generated-client/models/name-value-pair.d.ts +0 -9
- package/lib/generated-client/models/network-configuration.d.ts +1 -49
- package/lib/generated-client/models/new-group-request-dto.d.ts +0 -4
- package/lib/generated-client/models/next-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/open-live-stream-dto.d.ts +0 -33
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +0 -9
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/package-info.d.ts +1 -19
- package/lib/generated-client/models/parental-rating-score.d.ts +0 -6
- package/lib/generated-client/models/parental-rating.d.ts +0 -11
- package/lib/generated-client/models/path-substitution.d.ts +0 -6
- package/lib/generated-client/models/person-kind.d.ts +1 -2
- package/lib/generated-client/models/person-kind.js +2 -3
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/person-lookup-info.d.ts +1 -37
- package/lib/generated-client/models/pin-redeem-result.d.ts +0 -9
- package/lib/generated-client/models/ping-request-dto.d.ts +0 -4
- package/lib/generated-client/models/play-access.d.ts +1 -3
- package/lib/generated-client/models/play-access.js +1 -3
- package/lib/generated-client/models/play-command.d.ts +0 -2
- package/lib/generated-client/models/play-command.js +0 -2
- package/lib/generated-client/models/play-message.d.ts +0 -14
- package/lib/generated-client/models/play-method.d.ts +1 -3
- package/lib/generated-client/models/play-method.js +1 -3
- package/lib/generated-client/models/play-queue-update-reason.d.ts +0 -2
- package/lib/generated-client/models/play-queue-update-reason.js +0 -2
- package/lib/generated-client/models/play-queue-update.d.ts +0 -27
- package/lib/generated-client/models/play-request-dto.d.ts +0 -8
- package/lib/generated-client/models/play-request.d.ts +0 -33
- package/lib/generated-client/models/playback-error-code.d.ts +1 -3
- package/lib/generated-client/models/playback-error-code.js +1 -3
- package/lib/generated-client/models/playback-info-dto.d.ts +0 -37
- package/lib/generated-client/models/playback-info-response.d.ts +0 -11
- package/lib/generated-client/models/playback-order.d.ts +0 -2
- package/lib/generated-client/models/playback-order.js +0 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +0 -71
- package/lib/generated-client/models/playback-request-type.d.ts +0 -2
- package/lib/generated-client/models/playback-request-type.js +0 -2
- package/lib/generated-client/models/playback-start-info.d.ts +0 -71
- package/lib/generated-client/models/playback-stop-info.d.ts +0 -36
- package/lib/generated-client/models/player-state-info.d.ts +0 -38
- package/lib/generated-client/models/playlist-creation-result.d.ts +0 -10
- package/lib/generated-client/models/playlist-dto.d.ts +2 -10
- package/lib/generated-client/models/playlist-user-permissions.d.ts +0 -6
- package/lib/generated-client/models/playstate-command.d.ts +0 -2
- package/lib/generated-client/models/playstate-command.js +0 -2
- package/lib/generated-client/models/playstate-message.d.ts +0 -14
- package/lib/generated-client/models/playstate-request.d.ts +2 -13
- package/lib/generated-client/models/plugin-info.d.ts +0 -21
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-installing-message.d.ts +0 -14
- package/lib/generated-client/models/plugin-status.d.ts +0 -2
- package/lib/generated-client/models/plugin-status.js +0 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +0 -14
- package/lib/generated-client/models/previous-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/problem-details.d.ts +0 -30
- package/lib/generated-client/models/process-priority-class.d.ts +0 -5
- package/lib/generated-client/models/process-priority-class.js +0 -5
- package/lib/generated-client/models/profile-condition-type.d.ts +0 -5
- package/lib/generated-client/models/profile-condition-type.js +0 -5
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -5
- package/lib/generated-client/models/profile-condition-value.js +2 -6
- package/lib/generated-client/models/profile-condition.d.ts +0 -25
- package/lib/generated-client/models/program-audio.d.ts +0 -5
- package/lib/generated-client/models/program-audio.js +0 -5
- package/lib/generated-client/models/public-system-info.d.ts +0 -19
- package/lib/generated-client/models/query-filters-legacy.d.ts +0 -25
- package/lib/generated-client/models/query-filters.d.ts +3 -15
- package/lib/generated-client/models/queue-item.d.ts +3 -9
- package/lib/generated-client/models/queue-request-dto.d.ts +0 -9
- package/lib/generated-client/models/quick-connect-dto.d.ts +0 -4
- package/lib/generated-client/models/quick-connect-result.d.ts +0 -18
- package/lib/generated-client/models/rating-type.d.ts +1 -3
- package/lib/generated-client/models/rating-type.js +1 -3
- package/lib/generated-client/models/ready-request-dto.d.ts +0 -10
- package/lib/generated-client/models/recommendation-dto.d.ts +0 -25
- package/lib/generated-client/models/recommendation-type.d.ts +0 -5
- package/lib/generated-client/models/recommendation-type.js +0 -5
- package/lib/generated-client/models/recording-status.d.ts +0 -5
- package/lib/generated-client/models/recording-status.js +0 -5
- package/lib/generated-client/models/refresh-progress-message.d.ts +0 -11
- package/lib/generated-client/models/remote-image-info.d.ts +0 -28
- package/lib/generated-client/models/remote-image-result.d.ts +0 -8
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +3 -14
- package/lib/generated-client/models/remote-search-result.d.ts +3 -59
- package/lib/generated-client/models/remote-subtitle-info.d.ts +0 -85
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +0 -8
- package/lib/generated-client/models/repeat-mode.d.ts +1 -3
- package/lib/generated-client/models/repeat-mode.js +1 -3
- package/lib/generated-client/models/repository-info.d.ts +0 -8
- package/lib/generated-client/models/restart-required-message.d.ts +0 -9
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +0 -14
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +0 -11
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -10
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +0 -7
- package/lib/generated-client/models/scroll-direction.d.ts +0 -2
- package/lib/generated-client/models/scroll-direction.js +0 -2
- package/lib/generated-client/models/search-hint-result.d.ts +0 -6
- package/lib/generated-client/models/search-hint.d.ts +0 -66
- package/lib/generated-client/models/seek-request-dto.d.ts +0 -4
- package/lib/generated-client/models/send-command-type.d.ts +0 -2
- package/lib/generated-client/models/send-command-type.js +0 -2
- package/lib/generated-client/models/send-command.d.ts +0 -17
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/series-info.d.ts +1 -37
- package/lib/generated-client/models/series-status.d.ts +0 -2
- package/lib/generated-client/models/series-status.js +0 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/series-timer-created-message.d.ts +0 -14
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/series-timer-info-dto.d.ts +1 -91
- package/lib/generated-client/models/server-configuration.d.ts +3 -180
- package/lib/generated-client/models/server-discovery-info.d.ts +0 -10
- package/lib/generated-client/models/server-restarting-message.d.ts +0 -9
- package/lib/generated-client/models/server-shutting-down-message.d.ts +0 -9
- package/lib/generated-client/models/session-info-dto.d.ts +1 -80
- package/lib/generated-client/models/session-message-type.d.ts +0 -2
- package/lib/generated-client/models/session-message-type.js +0 -2
- package/lib/generated-client/models/session-user-info.d.ts +0 -6
- package/lib/generated-client/models/sessions-message.d.ts +0 -11
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -10
- package/lib/generated-client/models/sessions-stop-message.d.ts +0 -7
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +0 -8
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +0 -4
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +0 -7
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +0 -7
- package/lib/generated-client/models/song-info.d.ts +0 -54
- package/lib/generated-client/models/sort-order.d.ts +0 -2
- package/lib/generated-client/models/sort-order.js +0 -2
- package/lib/generated-client/models/special-view-option-dto.d.ts +0 -6
- package/lib/generated-client/models/startup-configuration-dto.d.ts +0 -10
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +0 -11
- package/lib/generated-client/models/startup-user-dto.d.ts +0 -6
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +0 -2
- package/lib/generated-client/models/subtitle-delivery-method.js +0 -2
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +0 -2
- package/lib/generated-client/models/subtitle-playback-mode.js +0 -2
- package/lib/generated-client/models/subtitle-profile.d.ts +0 -15
- package/lib/generated-client/models/sync-play-command-message.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +0 -14
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-queue-item.d.ts +0 -6
- package/lib/generated-client/models/sync-play-state-update.d.ts +0 -17
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +0 -2
- package/lib/generated-client/models/sync-play-user-access-type.js +0 -2
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +0 -14
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +0 -14
- package/lib/generated-client/models/system-info.d.ts +0 -62
- package/lib/generated-client/models/system-storage-dto.d.ts +8 -47
- package/lib/generated-client/models/task-completion-status.d.ts +0 -2
- package/lib/generated-client/models/task-completion-status.js +0 -2
- package/lib/generated-client/models/task-info.d.ts +0 -28
- package/lib/generated-client/models/task-result.d.ts +0 -21
- package/lib/generated-client/models/task-state.d.ts +0 -2
- package/lib/generated-client/models/task-state.js +0 -2
- package/lib/generated-client/models/task-trigger-info-type.d.ts +0 -2
- package/lib/generated-client/models/task-trigger-info-type.js +0 -2
- package/lib/generated-client/models/task-trigger-info.d.ts +0 -18
- package/lib/generated-client/models/theme-media-result.d.ts +0 -10
- package/lib/generated-client/models/timer-cancelled-message.d.ts +0 -14
- package/lib/generated-client/models/timer-created-message.d.ts +0 -14
- package/lib/generated-client/models/timer-event-info.d.ts +0 -15
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +0 -8
- package/lib/generated-client/models/timer-info-dto.d.ts +0 -76
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-algorithm.js +0 -2
- package/lib/generated-client/models/tonemapping-mode.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-mode.js +0 -2
- package/lib/generated-client/models/tonemapping-range.d.ts +0 -2
- package/lib/generated-client/models/tonemapping-range.js +0 -2
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +0 -19
- package/lib/generated-client/models/trailer-info.d.ts +1 -37
- package/lib/generated-client/models/transcode-reason.d.ts +1 -5
- package/lib/generated-client/models/transcode-reason.js +2 -6
- package/lib/generated-client/models/transcode-seek-info.d.ts +1 -3
- package/lib/generated-client/models/transcode-seek-info.js +1 -3
- package/lib/generated-client/models/transcoding-info.d.ts +2 -34
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -50
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +1 -3
- package/lib/generated-client/models/transport-stream-timestamp.js +1 -3
- package/lib/generated-client/models/trickplay-info-dto.d.ts +0 -16
- package/lib/generated-client/models/trickplay-options.d.ts +1 -33
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +0 -2
- package/lib/generated-client/models/trickplay-scan-behavior.js +0 -2
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +0 -25
- package/lib/generated-client/models/tuner-host-info.d.ts +0 -85
- package/lib/generated-client/models/type-options.d.ts +2 -35
- package/lib/generated-client/models/unrated-item.d.ts +0 -2
- package/lib/generated-client/models/unrated-item.js +0 -2
- package/lib/generated-client/models/update-library-options-dto.d.ts +0 -9
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +0 -9
- package/lib/generated-client/models/update-playlist-dto.d.ts +0 -10
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +0 -4
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +0 -24
- package/lib/generated-client/models/update-user-password.d.ts +0 -10
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +0 -12
- package/lib/generated-client/models/user-configuration.d.ts +0 -70
- package/lib/generated-client/models/user-data-change-info.d.ts +1 -7
- package/lib/generated-client/models/user-data-changed-message.d.ts +0 -14
- package/lib/generated-client/models/user-deleted-message.d.ts +0 -11
- package/lib/generated-client/models/user-dto.d.ts +6 -40
- package/lib/generated-client/models/user-item-data-dto.d.ts +1 -25
- package/lib/generated-client/models/user-policy.d.ts +0 -201
- package/lib/generated-client/models/user-updated-message.d.ts +0 -14
- package/lib/generated-client/models/utc-time-response.d.ts +0 -6
- package/lib/generated-client/models/validate-path-dto.d.ts +0 -8
- package/lib/generated-client/models/version-info.d.ts +0 -20
- package/lib/generated-client/models/video-range-type.d.ts +0 -2
- package/lib/generated-client/models/video-range-type.js +0 -2
- package/lib/generated-client/models/video-range.d.ts +0 -2
- package/lib/generated-client/models/video-range.js +0 -2
- package/lib/generated-client/models/video-type.d.ts +0 -2
- package/lib/generated-client/models/video-type.js +0 -2
- package/lib/generated-client/models/video3-dformat.d.ts +0 -5
- package/lib/generated-client/models/video3-dformat.js +0 -5
- package/lib/generated-client/models/virtual-folder-info.d.ts +0 -30
- package/lib/generated-client/models/web-socket-message.d.ts +0 -1
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +0 -30
- package/lib/index.js +1 -1
- package/lib/models/api/image-request-parameters.d.ts +1 -1
- package/lib/models/device-info.d.ts +1 -0
- package/lib/utils/api/{videos-api.d.ts → artist-api.d.ts} +2 -2
- package/lib/utils/api/{movies-api.js → artist-api.js} +4 -4
- package/lib/utils/api/authentication-api.d.ts +8 -0
- package/lib/utils/api/authentication-api.js +35 -0
- package/lib/utils/api/{tmdb-api.d.ts → backup-api.d.ts} +2 -2
- package/lib/utils/api/backup-api.js +13 -0
- package/lib/utils/api/{artists-api.d.ts → channel-api.d.ts} +2 -2
- package/lib/utils/api/{artists-api.js → channel-api.js} +4 -4
- package/lib/utils/api/{movies-api.d.ts → device-api.d.ts} +2 -2
- package/lib/utils/api/{lyrics-api.js → device-api.js} +4 -4
- package/lib/utils/api/display-preference-api.d.ts +8 -0
- package/lib/utils/api/display-preference-api.js +12 -0
- package/lib/utils/api/{items-api.d.ts → genre-api.d.ts} +2 -2
- package/lib/utils/api/{items-api.js → genre-api.js} +4 -4
- package/lib/utils/api/index.d.ts +24 -38
- package/lib/utils/api/index.js +24 -38
- package/lib/utils/api/library-api.d.ts +14 -2
- package/lib/utils/api/library-api.js +17 -1
- package/lib/utils/api/{years-api.d.ts → lyric-api.d.ts} +2 -2
- package/lib/utils/api/{years-api.js → lyric-api.js} +4 -4
- package/lib/utils/api/{activity-log-api.d.ts → media-segment-api.d.ts} +2 -2
- package/lib/utils/api/{quick-connect-api.js → media-segment-api.js} +4 -4
- package/lib/utils/api/movie-api.d.ts +8 -0
- package/lib/utils/api/movie-api.js +12 -0
- package/lib/utils/api/{dynamic-hls-api.d.ts → music-genre-api.d.ts} +2 -2
- package/lib/utils/api/{dynamic-hls-api.js → music-genre-api.js} +4 -4
- package/lib/utils/api/{genres-api.d.ts → person-api.d.ts} +2 -2
- package/lib/utils/api/{genres-api.js → person-api.js} +4 -4
- package/lib/utils/api/{trailers-api.d.ts → playlist-api.d.ts} +2 -2
- package/lib/utils/api/{channels-api.js → playlist-api.js} +4 -4
- package/lib/utils/api/{lyrics-api.d.ts → plugin-api.d.ts} +2 -2
- package/lib/utils/api/{videos-api.js → plugin-api.js} +4 -4
- package/lib/utils/api/scheduled-task-api.d.ts +8 -0
- package/lib/utils/api/{configuration-api.js → scheduled-task-api.js} +4 -4
- package/lib/utils/api/session-api.js +18 -1
- package/lib/utils/api/show-api.d.ts +8 -0
- package/lib/utils/api/{tmdb-api.js → show-api.js} +4 -4
- package/lib/utils/api/studio-api.d.ts +8 -0
- package/lib/utils/api/studio-api.js +12 -0
- package/lib/utils/api/{hls-segment-api.d.ts → suggestion-api.d.ts} +2 -2
- package/lib/utils/api/{hls-segment-api.js → suggestion-api.js} +4 -4
- package/lib/utils/api/{package-api.d.ts → trailer-api.d.ts} +2 -2
- package/lib/utils/api/{devices-api.js → trailer-api.js} +4 -4
- package/lib/utils/api/{dashboard-api.d.ts → trick-play-api.d.ts} +2 -2
- package/lib/utils/api/{dashboard-api.js → trick-play-api.js} +4 -4
- package/lib/utils/api/{api-key-api.d.ts → user-data-api.d.ts} +2 -2
- package/lib/utils/api/{time-sync-api.js → user-data-api.js} +4 -4
- package/lib/utils/api/{channels-api.d.ts → user-view-api.d.ts} +2 -2
- package/lib/utils/api/{trailers-api.js → user-view-api.js} +4 -4
- package/lib/utils/api/video-api.d.ts +8 -0
- package/lib/utils/api/video-api.js +12 -0
- package/lib/utils/api/year-api.d.ts +8 -0
- package/lib/utils/api/year-api.js +12 -0
- package/lib/utils/index.js +2 -2
- package/lib/utils/url/index.d.ts +1 -0
- package/lib/utils/url/index.js +4 -1
- package/lib/utils/versioning.d.ts +12 -1
- package/lib/utils/versioning.js +44 -13
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/lib/websocket/constants.d.ts +24 -0
- package/lib/websocket/constants.js +42 -0
- package/lib/websocket/index.d.ts +8 -0
- package/lib/websocket/index.js +3 -0
- package/lib/{utils/api/client-log-api.d.ts → websocket/models.d.ts} +6 -3
- package/lib/websocket/models.js +16 -0
- package/lib/websocket/types.d.ts +37 -0
- package/lib/websocket/types.js +42 -0
- package/lib/websocket/websocket-service.d.ts +142 -0
- package/lib/websocket/websocket-service.js +296 -0
- package/package.json +20 -16
- package/lib/generated-client/api/activity-log-api.d.ts +0 -110
- package/lib/generated-client/api/activity-log-api.js +0 -135
- package/lib/generated-client/api/api-key-api.d.ts +0 -161
- package/lib/generated-client/api/api-key-api.js +0 -245
- package/lib/generated-client/api/client-log-api.d.ts +0 -86
- package/lib/generated-client/api/client-log-api.js +0 -117
- package/lib/generated-client/api/configuration-api.d.ts +0 -292
- package/lib/generated-client/api/configuration-api.js +0 -442
- package/lib/generated-client/api/dashboard-api.d.ts +0 -132
- package/lib/generated-client/api/dashboard-api.js +0 -182
- package/lib/generated-client/api/dlna-api.d.ts +0 -292
- package/lib/generated-client/api/dlna-server-api.d.ts +0 -784
- package/lib/generated-client/api/dynamic-hls-api.d.ts +0 -4261
- package/lib/generated-client/api/dynamic-hls-api.js +0 -3025
- package/lib/generated-client/api/hls-segment-api.d.ts +0 -325
- package/lib/generated-client/api/hls-segment-api.js +0 -415
- package/lib/generated-client/api/image-by-name-api.d.ts +0 -292
- package/lib/generated-client/api/item-refresh-api.d.ts +0 -126
- package/lib/generated-client/api/item-refresh-api.js +0 -143
- package/lib/generated-client/api/items-api.d.ts +0 -1052
- package/lib/generated-client/api/items-api.js +0 -835
- package/lib/generated-client/api/music-genres-api.d.ts +0 -286
- package/lib/generated-client/api/music-genres-api.js +0 -278
- package/lib/generated-client/api/notifications-api.d.ts +0 -332
- package/lib/generated-client/api/package-api.d.ts +0 -315
- package/lib/generated-client/api/package-api.js +0 -455
- package/lib/generated-client/api/playstate-api.d.ts +0 -679
- package/lib/generated-client/api/playstate-api.js +0 -789
- package/lib/generated-client/api/plugins-api.d.ts +0 -473
- package/lib/generated-client/api/plugins-api.js +0 -663
- package/lib/generated-client/api/quick-connect-api.d.ts +0 -198
- package/lib/generated-client/api/quick-connect-api.js +0 -305
- package/lib/generated-client/api/time-sync-api.d.ts +0 -69
- package/lib/generated-client/api/time-sync-api.js +0 -109
- package/lib/generated-client/api/tmdb-api.d.ts +0 -69
- package/lib/generated-client/api/tmdb-api.js +0 -111
- package/lib/generated-client/api/universal-audio-api.d.ts +0 -420
- package/lib/generated-client/api/universal-audio-api.js +0 -364
- package/lib/generated-client/api/user-library-api.d.ts +0 -657
- package/lib/generated-client/api/video-attachments-api.d.ts +0 -101
- package/lib/generated-client/api/video-attachments-api.js +0 -126
- package/lib/generated-client/models/admin-notification-dto.d.ts +0 -42
- package/lib/generated-client/models/base-item.d.ts +0 -84
- package/lib/generated-client/models/branding-options.d.ts +0 -35
- package/lib/generated-client/models/client-capabilities.d.ts +0 -76
- package/lib/generated-client/models/config-image-types.d.ts +0 -59
- package/lib/generated-client/models/control-response.d.ts +0 -37
- package/lib/generated-client/models/device-identification.d.ts +0 -72
- package/lib/generated-client/models/device-info-query-result.d.ts +0 -36
- package/lib/generated-client/models/device-info.d.ts +0 -84
- package/lib/generated-client/models/device-options.d.ts +0 -35
- package/lib/generated-client/models/device-profile-info.d.ts +0 -36
- package/lib/generated-client/models/device-profile-type.d.ts +0 -20
- package/lib/generated-client/models/dlna-options.d.ts +0 -83
- package/lib/generated-client/models/ffmpeg-location.d.ts +0 -22
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +0 -37
- package/lib/generated-client/models/group-state-update-group-update.d.ts +0 -37
- package/lib/generated-client/models/hardware-encoding-type.d.ts +0 -25
- package/lib/generated-client/models/header-match-type.d.ts +0 -21
- package/lib/generated-client/models/http-header-info.d.ts +0 -36
- package/lib/generated-client/models/image-by-name-info.d.ts +0 -47
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +0 -29
- package/lib/generated-client/models/notification-dto.d.ts +0 -66
- package/lib/generated-client/models/notification-option.d.ts +0 -54
- package/lib/generated-client/models/notification-options.d.ts +0 -24
- package/lib/generated-client/models/notification-result-dto.d.ts +0 -30
- package/lib/generated-client/models/notification-type-info.d.ts +0 -47
- package/lib/generated-client/models/notifications-summary-dto.d.ts +0 -30
- package/lib/generated-client/models/object-group-update.d.ts +0 -36
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +0 -37
- package/lib/generated-client/models/response-profile.d.ts +0 -61
- package/lib/generated-client/models/send-to-user-type.d.ts +0 -21
- package/lib/generated-client/models/session-info.d.ts +0 -199
- package/lib/generated-client/models/string-group-update.d.ts +0 -36
- package/lib/generated-client/models/subtitle-options.d.ts +0 -71
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +0 -37
- package/lib/generated-client/models/trickplay-info.d.ts +0 -65
- package/lib/generated-client/models/update-user-easy-password.d.ts +0 -35
- package/lib/generated-client/models/wake-on-lan-info.d.ts +0 -29
- package/lib/generated-client/models/xml-attribute.d.ts +0 -29
- package/lib/utils/api/activity-log-api.js +0 -12
- package/lib/utils/api/api-key-api.js +0 -12
- package/lib/utils/api/client-log-api.js +0 -12
- package/lib/utils/api/configuration-api.d.ts +0 -8
- package/lib/utils/api/devices-api.d.ts +0 -8
- package/lib/utils/api/display-preferences-api.d.ts +0 -8
- package/lib/utils/api/display-preferences-api.js +0 -12
- package/lib/utils/api/item-refresh-api.d.ts +0 -8
- package/lib/utils/api/item-refresh-api.js +0 -12
- package/lib/utils/api/media-segments-api.d.ts +0 -8
- package/lib/utils/api/media-segments-api.js +0 -12
- package/lib/utils/api/music-genres-api.d.ts +0 -8
- package/lib/utils/api/music-genres-api.js +0 -12
- package/lib/utils/api/package-api.js +0 -12
- package/lib/utils/api/persons-api.d.ts +0 -8
- package/lib/utils/api/persons-api.js +0 -12
- package/lib/utils/api/playlists-api.d.ts +0 -8
- package/lib/utils/api/playlists-api.js +0 -12
- package/lib/utils/api/playstate-api.d.ts +0 -8
- package/lib/utils/api/playstate-api.js +0 -12
- package/lib/utils/api/plugins-api.d.ts +0 -8
- package/lib/utils/api/plugins-api.js +0 -12
- package/lib/utils/api/quick-connect-api.d.ts +0 -8
- package/lib/utils/api/scheduled-tasks-api.d.ts +0 -8
- package/lib/utils/api/scheduled-tasks-api.js +0 -12
- package/lib/utils/api/studios-api.d.ts +0 -8
- package/lib/utils/api/studios-api.js +0 -12
- package/lib/utils/api/suggestions-api.d.ts +0 -8
- package/lib/utils/api/suggestions-api.js +0 -12
- package/lib/utils/api/time-sync-api.d.ts +0 -8
- package/lib/utils/api/trickplay-api.d.ts +0 -8
- package/lib/utils/api/trickplay-api.js +0 -12
- package/lib/utils/api/tv-shows-api.d.ts +0 -8
- package/lib/utils/api/tv-shows-api.js +0 -12
- package/lib/utils/api/universal-audio-api.d.ts +0 -8
- package/lib/utils/api/universal-audio-api.js +0 -12
- package/lib/utils/api/user-library-api.d.ts +0 -8
- package/lib/utils/api/user-library-api.js +0 -12
- package/lib/utils/api/user-views-api.d.ts +0 -8
- package/lib/utils/api/user-views-api.js +0 -12
- package/lib/utils/api/video-attachments-api.d.ts +0 -8
- package/lib/utils/api/video-attachments-api.js +0 -12
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, serializeDataIfNeeded, createRequestFunction } from '../common.js';
|
|
3
|
-
import {
|
|
3
|
+
import { BaseAPI, operationServerMap, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
6
6
|
/* eslint-disable */
|
|
@@ -16,7 +16,6 @@ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* SessionApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
19
|
*/
|
|
21
20
|
const SessionApiAxiosParamCreator = function (configuration) {
|
|
22
21
|
return {
|
|
@@ -47,6 +46,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
47
46
|
const localVarQueryParameter = {};
|
|
48
47
|
// authentication CustomAuthentication required
|
|
49
48
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
49
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
50
50
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52
52
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -96,6 +96,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
if (itemName !== undefined) {
|
|
97
97
|
localVarQueryParameter['itemName'] = itemName;
|
|
98
98
|
}
|
|
99
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
99
100
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
100
101
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
101
102
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -106,12 +107,15 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
106
107
|
},
|
|
107
108
|
/**
|
|
108
109
|
*
|
|
109
|
-
* @summary
|
|
110
|
+
* @summary Gets a list of sessions.
|
|
111
|
+
* @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
|
|
112
|
+
* @param {string} [deviceId] Filter by device Id.
|
|
113
|
+
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
110
114
|
* @param {*} [options] Override http request option.
|
|
111
115
|
* @throws {RequiredError}
|
|
112
116
|
*/
|
|
113
|
-
|
|
114
|
-
const localVarPath = `/
|
|
117
|
+
getSessions: async (controllableByUserId, deviceId, activeWithinSeconds, options = {}) => {
|
|
118
|
+
const localVarPath = `/Sessions`;
|
|
115
119
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
120
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
121
|
let baseOptions;
|
|
@@ -123,33 +127,16 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
123
127
|
const localVarQueryParameter = {};
|
|
124
128
|
// authentication CustomAuthentication required
|
|
125
129
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
129
|
-
return {
|
|
130
|
-
url: toPathString(localVarUrlObj),
|
|
131
|
-
options: localVarRequestOptions,
|
|
132
|
-
};
|
|
133
|
-
},
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @summary Get all password reset providers.
|
|
137
|
-
* @param {*} [options] Override http request option.
|
|
138
|
-
* @throws {RequiredError}
|
|
139
|
-
*/
|
|
140
|
-
getPasswordResetProviders: async (options = {}) => {
|
|
141
|
-
const localVarPath = `/Auth/PasswordResetProviders`;
|
|
142
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
144
|
-
let baseOptions;
|
|
145
|
-
if (configuration) {
|
|
146
|
-
baseOptions = configuration.baseOptions;
|
|
130
|
+
if (controllableByUserId !== undefined) {
|
|
131
|
+
localVarQueryParameter['controllableByUserId'] = controllableByUserId;
|
|
147
132
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
133
|
+
if (deviceId !== undefined) {
|
|
134
|
+
localVarQueryParameter['deviceId'] = deviceId;
|
|
135
|
+
}
|
|
136
|
+
if (activeWithinSeconds !== undefined) {
|
|
137
|
+
localVarQueryParameter['activeWithinSeconds'] = activeWithinSeconds;
|
|
138
|
+
}
|
|
139
|
+
localVarHeaderParameter['Accept'] = 'application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html';
|
|
153
140
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
141
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
142
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -160,35 +147,30 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
160
147
|
},
|
|
161
148
|
/**
|
|
162
149
|
*
|
|
163
|
-
* @summary
|
|
164
|
-
* @param {string}
|
|
165
|
-
* @param {string} [deviceId] Filter by device Id.
|
|
166
|
-
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
150
|
+
* @summary Pings a playback session.
|
|
151
|
+
* @param {string} playSessionId Playback session id.
|
|
167
152
|
* @param {*} [options] Override http request option.
|
|
168
153
|
* @throws {RequiredError}
|
|
169
154
|
*/
|
|
170
|
-
|
|
171
|
-
|
|
155
|
+
pingPlaybackSession: async (playSessionId, options = {}) => {
|
|
156
|
+
// verify required parameter 'playSessionId' is not null or undefined
|
|
157
|
+
assertParamExists('pingPlaybackSession', 'playSessionId', playSessionId);
|
|
158
|
+
const localVarPath = `/Sessions/Playing/Ping`;
|
|
172
159
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
160
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
161
|
let baseOptions;
|
|
175
162
|
if (configuration) {
|
|
176
163
|
baseOptions = configuration.baseOptions;
|
|
177
164
|
}
|
|
178
|
-
const localVarRequestOptions = { method: '
|
|
165
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
179
166
|
const localVarHeaderParameter = {};
|
|
180
167
|
const localVarQueryParameter = {};
|
|
181
168
|
// authentication CustomAuthentication required
|
|
182
169
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
183
|
-
if (
|
|
184
|
-
localVarQueryParameter['
|
|
185
|
-
}
|
|
186
|
-
if (deviceId !== undefined) {
|
|
187
|
-
localVarQueryParameter['deviceId'] = deviceId;
|
|
188
|
-
}
|
|
189
|
-
if (activeWithinSeconds !== undefined) {
|
|
190
|
-
localVarQueryParameter['activeWithinSeconds'] = activeWithinSeconds;
|
|
170
|
+
if (playSessionId !== undefined) {
|
|
171
|
+
localVarQueryParameter['playSessionId'] = playSessionId;
|
|
191
172
|
}
|
|
173
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
192
174
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
193
175
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
194
176
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -252,6 +234,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
252
234
|
if (startIndex !== undefined) {
|
|
253
235
|
localVarQueryParameter['startIndex'] = startIndex;
|
|
254
236
|
}
|
|
237
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
255
238
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
240
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -299,6 +282,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
299
282
|
if (supportsPersistentIdentifier !== undefined) {
|
|
300
283
|
localVarQueryParameter['supportsPersistentIdentifier'] = supportsPersistentIdentifier;
|
|
301
284
|
}
|
|
285
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
302
286
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
288
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -334,6 +318,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
334
318
|
localVarQueryParameter['id'] = id;
|
|
335
319
|
}
|
|
336
320
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
321
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
337
322
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
338
323
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
339
324
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -370,9 +355,103 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
370
355
|
const localVarQueryParameter = {};
|
|
371
356
|
// authentication CustomAuthentication required
|
|
372
357
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
358
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
362
|
+
return {
|
|
363
|
+
url: toPathString(localVarUrlObj),
|
|
364
|
+
options: localVarRequestOptions,
|
|
365
|
+
};
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary Reports playback progress within a session.
|
|
370
|
+
* @param {PlaybackProgressInfo} [playbackProgressInfo] The playback progress info.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
reportPlaybackProgress: async (playbackProgressInfo, options = {}) => {
|
|
375
|
+
const localVarPath = `/Sessions/Playing/Progress`;
|
|
376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
378
|
+
let baseOptions;
|
|
379
|
+
if (configuration) {
|
|
380
|
+
baseOptions = configuration.baseOptions;
|
|
381
|
+
}
|
|
382
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
383
|
+
const localVarHeaderParameter = {};
|
|
384
|
+
const localVarQueryParameter = {};
|
|
385
|
+
// authentication CustomAuthentication required
|
|
386
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
387
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
388
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
392
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playbackProgressInfo, localVarRequestOptions, configuration);
|
|
393
|
+
return {
|
|
394
|
+
url: toPathString(localVarUrlObj),
|
|
395
|
+
options: localVarRequestOptions,
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @summary Reports playback has started within a session.
|
|
401
|
+
* @param {PlaybackStartInfo} [playbackStartInfo] The playback start info.
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
reportPlaybackStart: async (playbackStartInfo, options = {}) => {
|
|
406
|
+
const localVarPath = `/Sessions/Playing`;
|
|
407
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
408
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
409
|
+
let baseOptions;
|
|
410
|
+
if (configuration) {
|
|
411
|
+
baseOptions = configuration.baseOptions;
|
|
412
|
+
}
|
|
413
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
414
|
+
const localVarHeaderParameter = {};
|
|
415
|
+
const localVarQueryParameter = {};
|
|
416
|
+
// authentication CustomAuthentication required
|
|
417
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
418
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
419
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
423
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playbackStartInfo, localVarRequestOptions, configuration);
|
|
424
|
+
return {
|
|
425
|
+
url: toPathString(localVarUrlObj),
|
|
426
|
+
options: localVarRequestOptions,
|
|
427
|
+
};
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @summary Reports playback has stopped within a session.
|
|
432
|
+
* @param {PlaybackStopInfo} [playbackStopInfo] The playback stop info.
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
reportPlaybackStopped: async (playbackStopInfo, options = {}) => {
|
|
437
|
+
const localVarPath = `/Sessions/Playing/Stopped`;
|
|
438
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
439
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
440
|
+
let baseOptions;
|
|
441
|
+
if (configuration) {
|
|
442
|
+
baseOptions = configuration.baseOptions;
|
|
443
|
+
}
|
|
444
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
445
|
+
const localVarHeaderParameter = {};
|
|
446
|
+
const localVarQueryParameter = {};
|
|
447
|
+
// authentication CustomAuthentication required
|
|
448
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
449
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
450
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
373
451
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
374
452
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
375
453
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
454
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playbackStopInfo, localVarRequestOptions, configuration);
|
|
376
455
|
return {
|
|
377
456
|
url: toPathString(localVarUrlObj),
|
|
378
457
|
options: localVarRequestOptions,
|
|
@@ -397,6 +476,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
397
476
|
const localVarQueryParameter = {};
|
|
398
477
|
// authentication CustomAuthentication required
|
|
399
478
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
479
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
400
480
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
481
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
482
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -434,6 +514,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
434
514
|
if (itemId !== undefined) {
|
|
435
515
|
localVarQueryParameter['itemId'] = itemId;
|
|
436
516
|
}
|
|
517
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
437
518
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
438
519
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
439
520
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -469,6 +550,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
469
550
|
// authentication CustomAuthentication required
|
|
470
551
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
471
552
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
553
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
472
554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
473
555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
474
556
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -505,6 +587,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
505
587
|
const localVarQueryParameter = {};
|
|
506
588
|
// authentication CustomAuthentication required
|
|
507
589
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
590
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
508
591
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
509
592
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
593
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -540,6 +623,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
540
623
|
// authentication CustomAuthentication required
|
|
541
624
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
542
625
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
626
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
543
627
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
544
628
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
545
629
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -584,6 +668,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
584
668
|
if (controllingUserId !== undefined) {
|
|
585
669
|
localVarQueryParameter['controllingUserId'] = controllingUserId;
|
|
586
670
|
}
|
|
671
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
587
672
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
588
673
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
589
674
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -619,6 +704,7 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
619
704
|
const localVarQueryParameter = {};
|
|
620
705
|
// authentication CustomAuthentication required
|
|
621
706
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
707
|
+
localVarHeaderParameter['Accept'] = 'text/html';
|
|
622
708
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
623
709
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
624
710
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -631,7 +717,6 @@ const SessionApiAxiosParamCreator = function (configuration) {
|
|
|
631
717
|
};
|
|
632
718
|
/**
|
|
633
719
|
* SessionApi - functional programming interface
|
|
634
|
-
* @export
|
|
635
720
|
*/
|
|
636
721
|
const SessionApiFp = function (configuration) {
|
|
637
722
|
const localVarAxiosParamCreator = SessionApiAxiosParamCreator(configuration);
|
|
@@ -670,44 +755,32 @@ const SessionApiFp = function (configuration) {
|
|
|
670
755
|
},
|
|
671
756
|
/**
|
|
672
757
|
*
|
|
673
|
-
* @summary
|
|
674
|
-
* @param {
|
|
675
|
-
* @
|
|
676
|
-
|
|
677
|
-
async getAuthProviders(options) {
|
|
678
|
-
var _a, _b, _c;
|
|
679
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAuthProviders(options);
|
|
680
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
681
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.getAuthProviders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
682
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
683
|
-
},
|
|
684
|
-
/**
|
|
685
|
-
*
|
|
686
|
-
* @summary Get all password reset providers.
|
|
758
|
+
* @summary Gets a list of sessions.
|
|
759
|
+
* @param {string} [controllableByUserId] Filter by sessions that a given user is allowed to remote control.
|
|
760
|
+
* @param {string} [deviceId] Filter by device Id.
|
|
761
|
+
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
687
762
|
* @param {*} [options] Override http request option.
|
|
688
763
|
* @throws {RequiredError}
|
|
689
764
|
*/
|
|
690
|
-
async
|
|
765
|
+
async getSessions(controllableByUserId, deviceId, activeWithinSeconds, options) {
|
|
691
766
|
var _a, _b, _c;
|
|
692
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
767
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSessions(controllableByUserId, deviceId, activeWithinSeconds, options);
|
|
693
768
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
694
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.
|
|
769
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.getSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
695
770
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
696
771
|
},
|
|
697
772
|
/**
|
|
698
773
|
*
|
|
699
|
-
* @summary
|
|
700
|
-
* @param {string}
|
|
701
|
-
* @param {string} [deviceId] Filter by device Id.
|
|
702
|
-
* @param {number} [activeWithinSeconds] Optional. Filter by sessions that were active in the last n seconds.
|
|
774
|
+
* @summary Pings a playback session.
|
|
775
|
+
* @param {string} playSessionId Playback session id.
|
|
703
776
|
* @param {*} [options] Override http request option.
|
|
704
777
|
* @throws {RequiredError}
|
|
705
778
|
*/
|
|
706
|
-
async
|
|
779
|
+
async pingPlaybackSession(playSessionId, options) {
|
|
707
780
|
var _a, _b, _c;
|
|
708
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
781
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.pingPlaybackSession(playSessionId, options);
|
|
709
782
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
710
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.
|
|
783
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.pingPlaybackSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
711
784
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
712
785
|
},
|
|
713
786
|
/**
|
|
@@ -779,6 +852,48 @@ const SessionApiFp = function (configuration) {
|
|
|
779
852
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.removeUserFromSession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
780
853
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
781
854
|
},
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @summary Reports playback progress within a session.
|
|
858
|
+
* @param {PlaybackProgressInfo} [playbackProgressInfo] The playback progress info.
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
*/
|
|
862
|
+
async reportPlaybackProgress(playbackProgressInfo, options) {
|
|
863
|
+
var _a, _b, _c;
|
|
864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackProgress(playbackProgressInfo, options);
|
|
865
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
866
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.reportPlaybackProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
867
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
868
|
+
},
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @summary Reports playback has started within a session.
|
|
872
|
+
* @param {PlaybackStartInfo} [playbackStartInfo] The playback start info.
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
*/
|
|
876
|
+
async reportPlaybackStart(playbackStartInfo, options) {
|
|
877
|
+
var _a, _b, _c;
|
|
878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStart(playbackStartInfo, options);
|
|
879
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
880
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.reportPlaybackStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
882
|
+
},
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @summary Reports playback has stopped within a session.
|
|
886
|
+
* @param {PlaybackStopInfo} [playbackStopInfo] The playback stop info.
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @throws {RequiredError}
|
|
889
|
+
*/
|
|
890
|
+
async reportPlaybackStopped(playbackStopInfo, options) {
|
|
891
|
+
var _a, _b, _c;
|
|
892
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reportPlaybackStopped(playbackStopInfo, options);
|
|
893
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
894
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SessionApi.reportPlaybackStopped']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
895
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
896
|
+
},
|
|
782
897
|
/**
|
|
783
898
|
*
|
|
784
899
|
* @summary Reports that a session has ended.
|
|
@@ -888,7 +1003,6 @@ const SessionApiFp = function (configuration) {
|
|
|
888
1003
|
};
|
|
889
1004
|
/**
|
|
890
1005
|
* SessionApi - factory interface
|
|
891
|
-
* @export
|
|
892
1006
|
*/
|
|
893
1007
|
const SessionApiFactory = function (configuration, basePath, axios) {
|
|
894
1008
|
const localVarFp = SessionApiFp(configuration);
|
|
@@ -915,31 +1029,23 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
915
1029
|
},
|
|
916
1030
|
/**
|
|
917
1031
|
*
|
|
918
|
-
* @summary
|
|
919
|
-
* @param {
|
|
920
|
-
* @throws {RequiredError}
|
|
921
|
-
*/
|
|
922
|
-
getAuthProviders(options) {
|
|
923
|
-
return localVarFp.getAuthProviders(options).then((request) => request(axios, basePath));
|
|
924
|
-
},
|
|
925
|
-
/**
|
|
926
|
-
*
|
|
927
|
-
* @summary Get all password reset providers.
|
|
1032
|
+
* @summary Gets a list of sessions.
|
|
1033
|
+
* @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
|
|
928
1034
|
* @param {*} [options] Override http request option.
|
|
929
1035
|
* @throws {RequiredError}
|
|
930
1036
|
*/
|
|
931
|
-
|
|
932
|
-
return localVarFp.
|
|
1037
|
+
getSessions(requestParameters = {}, options) {
|
|
1038
|
+
return localVarFp.getSessions(requestParameters.controllableByUserId, requestParameters.deviceId, requestParameters.activeWithinSeconds, options).then((request) => request(axios, basePath));
|
|
933
1039
|
},
|
|
934
1040
|
/**
|
|
935
1041
|
*
|
|
936
|
-
* @summary
|
|
937
|
-
* @param {
|
|
1042
|
+
* @summary Pings a playback session.
|
|
1043
|
+
* @param {SessionApiPingPlaybackSessionRequest} requestParameters Request parameters.
|
|
938
1044
|
* @param {*} [options] Override http request option.
|
|
939
1045
|
* @throws {RequiredError}
|
|
940
1046
|
*/
|
|
941
|
-
|
|
942
|
-
return localVarFp.
|
|
1047
|
+
pingPlaybackSession(requestParameters, options) {
|
|
1048
|
+
return localVarFp.pingPlaybackSession(requestParameters.playSessionId, options).then((request) => request(axios, basePath));
|
|
943
1049
|
},
|
|
944
1050
|
/**
|
|
945
1051
|
*
|
|
@@ -981,6 +1087,36 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
981
1087
|
removeUserFromSession(requestParameters, options) {
|
|
982
1088
|
return localVarFp.removeUserFromSession(requestParameters.sessionId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
983
1089
|
},
|
|
1090
|
+
/**
|
|
1091
|
+
*
|
|
1092
|
+
* @summary Reports playback progress within a session.
|
|
1093
|
+
* @param {SessionApiReportPlaybackProgressRequest} requestParameters Request parameters.
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
*/
|
|
1097
|
+
reportPlaybackProgress(requestParameters = {}, options) {
|
|
1098
|
+
return localVarFp.reportPlaybackProgress(requestParameters.playbackProgressInfo, options).then((request) => request(axios, basePath));
|
|
1099
|
+
},
|
|
1100
|
+
/**
|
|
1101
|
+
*
|
|
1102
|
+
* @summary Reports playback has started within a session.
|
|
1103
|
+
* @param {SessionApiReportPlaybackStartRequest} requestParameters Request parameters.
|
|
1104
|
+
* @param {*} [options] Override http request option.
|
|
1105
|
+
* @throws {RequiredError}
|
|
1106
|
+
*/
|
|
1107
|
+
reportPlaybackStart(requestParameters = {}, options) {
|
|
1108
|
+
return localVarFp.reportPlaybackStart(requestParameters.playbackStartInfo, options).then((request) => request(axios, basePath));
|
|
1109
|
+
},
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @summary Reports playback has stopped within a session.
|
|
1113
|
+
* @param {SessionApiReportPlaybackStoppedRequest} requestParameters Request parameters.
|
|
1114
|
+
* @param {*} [options] Override http request option.
|
|
1115
|
+
* @throws {RequiredError}
|
|
1116
|
+
*/
|
|
1117
|
+
reportPlaybackStopped(requestParameters = {}, options) {
|
|
1118
|
+
return localVarFp.reportPlaybackStopped(requestParameters.playbackStopInfo, options).then((request) => request(axios, basePath));
|
|
1119
|
+
},
|
|
984
1120
|
/**
|
|
985
1121
|
*
|
|
986
1122
|
* @summary Reports that a session has ended.
|
|
@@ -1054,9 +1190,6 @@ const SessionApiFactory = function (configuration, basePath, axios) {
|
|
|
1054
1190
|
};
|
|
1055
1191
|
/**
|
|
1056
1192
|
* SessionApi - object-oriented interface
|
|
1057
|
-
* @export
|
|
1058
|
-
* @class SessionApi
|
|
1059
|
-
* @extends {BaseAPI}
|
|
1060
1193
|
*/
|
|
1061
1194
|
class SessionApi extends BaseAPI {
|
|
1062
1195
|
/**
|
|
@@ -1065,7 +1198,6 @@ class SessionApi extends BaseAPI {
|
|
|
1065
1198
|
* @param {SessionApiAddUserToSessionRequest} requestParameters Request parameters.
|
|
1066
1199
|
* @param {*} [options] Override http request option.
|
|
1067
1200
|
* @throws {RequiredError}
|
|
1068
|
-
* @memberof SessionApi
|
|
1069
1201
|
*/
|
|
1070
1202
|
addUserToSession(requestParameters, options) {
|
|
1071
1203
|
return SessionApiFp(this.configuration).addUserToSession(requestParameters.sessionId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1076,41 +1208,29 @@ class SessionApi extends BaseAPI {
|
|
|
1076
1208
|
* @param {SessionApiDisplayContentRequest} requestParameters Request parameters.
|
|
1077
1209
|
* @param {*} [options] Override http request option.
|
|
1078
1210
|
* @throws {RequiredError}
|
|
1079
|
-
* @memberof SessionApi
|
|
1080
1211
|
*/
|
|
1081
1212
|
displayContent(requestParameters, options) {
|
|
1082
1213
|
return SessionApiFp(this.configuration).displayContent(requestParameters.sessionId, requestParameters.itemType, requestParameters.itemId, requestParameters.itemName, options).then((request) => request(this.axios, this.basePath));
|
|
1083
1214
|
}
|
|
1084
1215
|
/**
|
|
1085
1216
|
*
|
|
1086
|
-
* @summary
|
|
1087
|
-
* @param {
|
|
1088
|
-
* @throws {RequiredError}
|
|
1089
|
-
* @memberof SessionApi
|
|
1090
|
-
*/
|
|
1091
|
-
getAuthProviders(options) {
|
|
1092
|
-
return SessionApiFp(this.configuration).getAuthProviders(options).then((request) => request(this.axios, this.basePath));
|
|
1093
|
-
}
|
|
1094
|
-
/**
|
|
1095
|
-
*
|
|
1096
|
-
* @summary Get all password reset providers.
|
|
1217
|
+
* @summary Gets a list of sessions.
|
|
1218
|
+
* @param {SessionApiGetSessionsRequest} requestParameters Request parameters.
|
|
1097
1219
|
* @param {*} [options] Override http request option.
|
|
1098
1220
|
* @throws {RequiredError}
|
|
1099
|
-
* @memberof SessionApi
|
|
1100
1221
|
*/
|
|
1101
|
-
|
|
1102
|
-
return SessionApiFp(this.configuration).
|
|
1222
|
+
getSessions(requestParameters = {}, options) {
|
|
1223
|
+
return SessionApiFp(this.configuration).getSessions(requestParameters.controllableByUserId, requestParameters.deviceId, requestParameters.activeWithinSeconds, options).then((request) => request(this.axios, this.basePath));
|
|
1103
1224
|
}
|
|
1104
1225
|
/**
|
|
1105
1226
|
*
|
|
1106
|
-
* @summary
|
|
1107
|
-
* @param {
|
|
1227
|
+
* @summary Pings a playback session.
|
|
1228
|
+
* @param {SessionApiPingPlaybackSessionRequest} requestParameters Request parameters.
|
|
1108
1229
|
* @param {*} [options] Override http request option.
|
|
1109
1230
|
* @throws {RequiredError}
|
|
1110
|
-
* @memberof SessionApi
|
|
1111
1231
|
*/
|
|
1112
|
-
|
|
1113
|
-
return SessionApiFp(this.configuration).
|
|
1232
|
+
pingPlaybackSession(requestParameters, options) {
|
|
1233
|
+
return SessionApiFp(this.configuration).pingPlaybackSession(requestParameters.playSessionId, options).then((request) => request(this.axios, this.basePath));
|
|
1114
1234
|
}
|
|
1115
1235
|
/**
|
|
1116
1236
|
*
|
|
@@ -1118,7 +1238,6 @@ class SessionApi extends BaseAPI {
|
|
|
1118
1238
|
* @param {SessionApiPlayRequest} requestParameters Request parameters.
|
|
1119
1239
|
* @param {*} [options] Override http request option.
|
|
1120
1240
|
* @throws {RequiredError}
|
|
1121
|
-
* @memberof SessionApi
|
|
1122
1241
|
*/
|
|
1123
1242
|
play(requestParameters, options) {
|
|
1124
1243
|
return SessionApiFp(this.configuration).play(requestParameters.sessionId, requestParameters.playCommand, requestParameters.itemIds, requestParameters.startPositionTicks, requestParameters.mediaSourceId, requestParameters.audioStreamIndex, requestParameters.subtitleStreamIndex, requestParameters.startIndex, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1129,7 +1248,6 @@ class SessionApi extends BaseAPI {
|
|
|
1129
1248
|
* @param {SessionApiPostCapabilitiesRequest} requestParameters Request parameters.
|
|
1130
1249
|
* @param {*} [options] Override http request option.
|
|
1131
1250
|
* @throws {RequiredError}
|
|
1132
|
-
* @memberof SessionApi
|
|
1133
1251
|
*/
|
|
1134
1252
|
postCapabilities(requestParameters = {}, options) {
|
|
1135
1253
|
return SessionApiFp(this.configuration).postCapabilities(requestParameters.id, requestParameters.playableMediaTypes, requestParameters.supportedCommands, requestParameters.supportsMediaControl, requestParameters.supportsPersistentIdentifier, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1140,7 +1258,6 @@ class SessionApi extends BaseAPI {
|
|
|
1140
1258
|
* @param {SessionApiPostFullCapabilitiesRequest} requestParameters Request parameters.
|
|
1141
1259
|
* @param {*} [options] Override http request option.
|
|
1142
1260
|
* @throws {RequiredError}
|
|
1143
|
-
* @memberof SessionApi
|
|
1144
1261
|
*/
|
|
1145
1262
|
postFullCapabilities(requestParameters, options) {
|
|
1146
1263
|
return SessionApiFp(this.configuration).postFullCapabilities(requestParameters.clientCapabilitiesDto, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1151,17 +1268,45 @@ class SessionApi extends BaseAPI {
|
|
|
1151
1268
|
* @param {SessionApiRemoveUserFromSessionRequest} requestParameters Request parameters.
|
|
1152
1269
|
* @param {*} [options] Override http request option.
|
|
1153
1270
|
* @throws {RequiredError}
|
|
1154
|
-
* @memberof SessionApi
|
|
1155
1271
|
*/
|
|
1156
1272
|
removeUserFromSession(requestParameters, options) {
|
|
1157
1273
|
return SessionApiFp(this.configuration).removeUserFromSession(requestParameters.sessionId, requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
1158
1274
|
}
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @summary Reports playback progress within a session.
|
|
1278
|
+
* @param {SessionApiReportPlaybackProgressRequest} requestParameters Request parameters.
|
|
1279
|
+
* @param {*} [options] Override http request option.
|
|
1280
|
+
* @throws {RequiredError}
|
|
1281
|
+
*/
|
|
1282
|
+
reportPlaybackProgress(requestParameters = {}, options) {
|
|
1283
|
+
return SessionApiFp(this.configuration).reportPlaybackProgress(requestParameters.playbackProgressInfo, options).then((request) => request(this.axios, this.basePath));
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @summary Reports playback has started within a session.
|
|
1288
|
+
* @param {SessionApiReportPlaybackStartRequest} requestParameters Request parameters.
|
|
1289
|
+
* @param {*} [options] Override http request option.
|
|
1290
|
+
* @throws {RequiredError}
|
|
1291
|
+
*/
|
|
1292
|
+
reportPlaybackStart(requestParameters = {}, options) {
|
|
1293
|
+
return SessionApiFp(this.configuration).reportPlaybackStart(requestParameters.playbackStartInfo, options).then((request) => request(this.axios, this.basePath));
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @summary Reports playback has stopped within a session.
|
|
1298
|
+
* @param {SessionApiReportPlaybackStoppedRequest} requestParameters Request parameters.
|
|
1299
|
+
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @throws {RequiredError}
|
|
1301
|
+
*/
|
|
1302
|
+
reportPlaybackStopped(requestParameters = {}, options) {
|
|
1303
|
+
return SessionApiFp(this.configuration).reportPlaybackStopped(requestParameters.playbackStopInfo, options).then((request) => request(this.axios, this.basePath));
|
|
1304
|
+
}
|
|
1159
1305
|
/**
|
|
1160
1306
|
*
|
|
1161
1307
|
* @summary Reports that a session has ended.
|
|
1162
1308
|
* @param {*} [options] Override http request option.
|
|
1163
1309
|
* @throws {RequiredError}
|
|
1164
|
-
* @memberof SessionApi
|
|
1165
1310
|
*/
|
|
1166
1311
|
reportSessionEnded(options) {
|
|
1167
1312
|
return SessionApiFp(this.configuration).reportSessionEnded(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1172,7 +1317,6 @@ class SessionApi extends BaseAPI {
|
|
|
1172
1317
|
* @param {SessionApiReportViewingRequest} requestParameters Request parameters.
|
|
1173
1318
|
* @param {*} [options] Override http request option.
|
|
1174
1319
|
* @throws {RequiredError}
|
|
1175
|
-
* @memberof SessionApi
|
|
1176
1320
|
*/
|
|
1177
1321
|
reportViewing(requestParameters, options) {
|
|
1178
1322
|
return SessionApiFp(this.configuration).reportViewing(requestParameters.itemId, requestParameters.sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1183,7 +1327,6 @@ class SessionApi extends BaseAPI {
|
|
|
1183
1327
|
* @param {SessionApiSendFullGeneralCommandRequest} requestParameters Request parameters.
|
|
1184
1328
|
* @param {*} [options] Override http request option.
|
|
1185
1329
|
* @throws {RequiredError}
|
|
1186
|
-
* @memberof SessionApi
|
|
1187
1330
|
*/
|
|
1188
1331
|
sendFullGeneralCommand(requestParameters, options) {
|
|
1189
1332
|
return SessionApiFp(this.configuration).sendFullGeneralCommand(requestParameters.sessionId, requestParameters.generalCommand, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1194,7 +1337,6 @@ class SessionApi extends BaseAPI {
|
|
|
1194
1337
|
* @param {SessionApiSendGeneralCommandRequest} requestParameters Request parameters.
|
|
1195
1338
|
* @param {*} [options] Override http request option.
|
|
1196
1339
|
* @throws {RequiredError}
|
|
1197
|
-
* @memberof SessionApi
|
|
1198
1340
|
*/
|
|
1199
1341
|
sendGeneralCommand(requestParameters, options) {
|
|
1200
1342
|
return SessionApiFp(this.configuration).sendGeneralCommand(requestParameters.sessionId, requestParameters.command, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1205,7 +1347,6 @@ class SessionApi extends BaseAPI {
|
|
|
1205
1347
|
* @param {SessionApiSendMessageCommandRequest} requestParameters Request parameters.
|
|
1206
1348
|
* @param {*} [options] Override http request option.
|
|
1207
1349
|
* @throws {RequiredError}
|
|
1208
|
-
* @memberof SessionApi
|
|
1209
1350
|
*/
|
|
1210
1351
|
sendMessageCommand(requestParameters, options) {
|
|
1211
1352
|
return SessionApiFp(this.configuration).sendMessageCommand(requestParameters.sessionId, requestParameters.messageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1216,7 +1357,6 @@ class SessionApi extends BaseAPI {
|
|
|
1216
1357
|
* @param {SessionApiSendPlaystateCommandRequest} requestParameters Request parameters.
|
|
1217
1358
|
* @param {*} [options] Override http request option.
|
|
1218
1359
|
* @throws {RequiredError}
|
|
1219
|
-
* @memberof SessionApi
|
|
1220
1360
|
*/
|
|
1221
1361
|
sendPlaystateCommand(requestParameters, options) {
|
|
1222
1362
|
return SessionApiFp(this.configuration).sendPlaystateCommand(requestParameters.sessionId, requestParameters.command, requestParameters.seekPositionTicks, requestParameters.controllingUserId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1227,7 +1367,6 @@ class SessionApi extends BaseAPI {
|
|
|
1227
1367
|
* @param {SessionApiSendSystemCommandRequest} requestParameters Request parameters.
|
|
1228
1368
|
* @param {*} [options] Override http request option.
|
|
1229
1369
|
* @throws {RequiredError}
|
|
1230
|
-
* @memberof SessionApi
|
|
1231
1370
|
*/
|
|
1232
1371
|
sendSystemCommand(requestParameters, options) {
|
|
1233
1372
|
return SessionApiFp(this.configuration).sendSystemCommand(requestParameters.sessionId, requestParameters.command, options).then((request) => request(this.axios, this.basePath));
|