@jellyfin/sdk 0.7.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/.gitattributes +5 -0
- package/LICENSE +373 -0
- package/README.md +141 -0
- package/lib/api.d.ts +42 -0
- package/lib/api.js +99 -0
- package/lib/discovery/discovery-service.d.ts +41 -0
- package/lib/discovery/discovery-service.js +112 -0
- package/lib/discovery/index.d.ts +7 -0
- package/lib/discovery/index.js +23 -0
- package/lib/discovery/recommended-server-discovery.d.ts +23 -0
- package/lib/discovery/recommended-server-discovery.js +153 -0
- package/lib/generated-client/api/activity-log-api.d.ts +113 -0
- package/lib/generated-client/api/activity-log-api.js +234 -0
- package/lib/generated-client/api/api-key-api.d.ts +161 -0
- package/lib/generated-client/api/api-key-api.js +374 -0
- package/lib/generated-client/api/artists-api.d.ts +751 -0
- package/lib/generated-client/api/artists-api.js +759 -0
- package/lib/generated-client/api/audio-api.d.ts +1985 -0
- package/lib/generated-client/api/audio-api.js +1582 -0
- package/lib/generated-client/api/branding-api.d.ts +127 -0
- package/lib/generated-client/api/branding-api.js +334 -0
- package/lib/generated-client/api/channels-api.d.ts +419 -0
- package/lib/generated-client/api/channels-api.js +648 -0
- package/lib/generated-client/api/client-log-api.d.ts +86 -0
- package/lib/generated-client/api/client-log-api.js +213 -0
- package/lib/generated-client/api/collection-api.d.ts +223 -0
- package/lib/generated-client/api/collection-api.js +414 -0
- package/lib/generated-client/api/configuration-api.d.ts +293 -0
- package/lib/generated-client/api/configuration-api.js +623 -0
- package/lib/generated-client/api/dashboard-api.d.ts +132 -0
- package/lib/generated-client/api/dashboard-api.js +290 -0
- package/lib/generated-client/api/devices-api.d.ts +291 -0
- package/lib/generated-client/api/devices-api.js +567 -0
- package/lib/generated-client/api/display-preferences-api.d.ts +177 -0
- package/lib/generated-client/api/display-preferences-api.js +335 -0
- package/lib/generated-client/api/dlna-api.d.ts +292 -0
- package/lib/generated-client/api/dlna-api.js +619 -0
- package/lib/generated-client/api/dlna-server-api.d.ts +784 -0
- package/lib/generated-client/api/dlna-server-api.js +1464 -0
- package/lib/generated-client/api/dynamic-hls-api.d.ts +4604 -0
- package/lib/generated-client/api/dynamic-hls-api.js +3611 -0
- package/lib/generated-client/api/environment-api.d.ts +289 -0
- package/lib/generated-client/api/environment-api.js +628 -0
- package/lib/generated-client/api/filter-api.d.ts +242 -0
- package/lib/generated-client/api/filter-api.js +370 -0
- package/lib/generated-client/api/genres-api.d.ts +299 -0
- package/lib/generated-client/api/genres-api.js +405 -0
- package/lib/generated-client/api/hls-segment-api.d.ts +332 -0
- package/lib/generated-client/api/hls-segment-api.js +567 -0
- package/lib/generated-client/api/image-api.d.ts +6744 -0
- package/lib/generated-client/api/image-api.js +6515 -0
- package/lib/generated-client/api/image-by-name-api.d.ts +292 -0
- package/lib/generated-client/api/image-by-name-api.js +601 -0
- package/lib/generated-client/api/instant-mix-api.d.ts +918 -0
- package/lib/generated-client/api/instant-mix-api.js +1138 -0
- package/lib/generated-client/api/item-lookup-api.d.ts +574 -0
- package/lib/generated-client/api/item-lookup-api.js +1065 -0
- package/lib/generated-client/api/item-refresh-api.d.ts +122 -0
- package/lib/generated-client/api/item-refresh-api.js +237 -0
- package/lib/generated-client/api/item-update-api.d.ts +197 -0
- package/lib/generated-client/api/item-update-api.js +392 -0
- package/lib/generated-client/api/items-api.d.ts +1824 -0
- package/lib/generated-client/api/items-api.js +1488 -0
- package/lib/generated-client/api/library-api.d.ts +1482 -0
- package/lib/generated-client/api/library-api.js +2414 -0
- package/lib/generated-client/api/library-structure-api.d.ts +486 -0
- package/lib/generated-client/api/library-structure-api.js +852 -0
- package/lib/generated-client/api/live-tv-api.d.ts +2844 -0
- package/lib/generated-client/api/live-tv-api.js +4165 -0
- package/lib/generated-client/api/localization-api.d.ts +159 -0
- package/lib/generated-client/api/localization-api.js +434 -0
- package/lib/generated-client/api/media-info-api.d.ts +516 -0
- package/lib/generated-client/api/media-info-api.js +711 -0
- package/lib/generated-client/api/movies-api.d.ts +123 -0
- package/lib/generated-client/api/movies-api.js +238 -0
- package/lib/generated-client/api/music-genres-api.d.ts +303 -0
- package/lib/generated-client/api/music-genres-api.js +409 -0
- package/lib/generated-client/api/notifications-api.d.ts +332 -0
- package/lib/generated-client/api/notifications-api.js +698 -0
- package/lib/generated-client/api/package-api.d.ts +319 -0
- package/lib/generated-client/api/package-api.js +639 -0
- package/lib/generated-client/api/persons-api.d.ts +253 -0
- package/lib/generated-client/api/persons-api.js +375 -0
- package/lib/generated-client/api/playlists-api.d.ts +427 -0
- package/lib/generated-client/api/playlists-api.js +649 -0
- package/lib/generated-client/api/playstate-api.d.ts +720 -0
- package/lib/generated-client/api/playstate-api.js +1055 -0
- package/lib/generated-client/api/plugins-api.d.ts +477 -0
- package/lib/generated-client/api/plugins-api.js +898 -0
- package/lib/generated-client/api/quick-connect-api.d.ts +190 -0
- package/lib/generated-client/api/quick-connect-api.js +428 -0
- package/lib/generated-client/api/remote-image-api.d.ts +243 -0
- package/lib/generated-client/api/remote-image-api.js +423 -0
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +289 -0
- package/lib/generated-client/api/scheduled-tasks-api.js +559 -0
- package/lib/generated-client/api/search-api.d.ts +240 -0
- package/lib/generated-client/api/search-api.js +317 -0
- package/lib/generated-client/api/session-api.d.ts +985 -0
- package/lib/generated-client/api/session-api.js +1622 -0
- package/lib/generated-client/api/startup-api.d.ts +296 -0
- package/lib/generated-client/api/startup-api.js +685 -0
- package/lib/generated-client/api/studios-api.d.ts +289 -0
- package/lib/generated-client/api/studios-api.js +399 -0
- package/lib/generated-client/api/subtitle-api.d.ts +764 -0
- package/lib/generated-client/api/subtitle-api.js +1126 -0
- package/lib/generated-client/api/suggestions-api.d.ts +132 -0
- package/lib/generated-client/api/suggestions-api.js +243 -0
- package/lib/generated-client/api/sync-play-api.d.ts +937 -0
- package/lib/generated-client/api/sync-play-api.js +1854 -0
- package/lib/generated-client/api/system-api.d.ts +355 -0
- package/lib/generated-client/api/system-api.js +879 -0
- package/lib/generated-client/api/time-sync-api.d.ts +69 -0
- package/lib/generated-client/api/time-sync-api.js +198 -0
- package/lib/generated-client/api/tmdb-api.d.ts +69 -0
- package/lib/generated-client/api/tmdb-api.js +206 -0
- package/lib/generated-client/api/trailers-api.d.ts +841 -0
- package/lib/generated-client/api/trailers-api.js +720 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +622 -0
- package/lib/generated-client/api/tv-shows-api.js +730 -0
- package/lib/generated-client/api/universal-audio-api.d.ts +437 -0
- package/lib/generated-client/api/universal-audio-api.js +500 -0
- package/lib/generated-client/api/user-api.d.ts +826 -0
- package/lib/generated-client/api/user-api.js +1457 -0
- package/lib/generated-client/api/user-library-api.d.ts +676 -0
- package/lib/generated-client/api/user-library-api.js +1074 -0
- package/lib/generated-client/api/user-views-api.d.ts +160 -0
- package/lib/generated-client/api/user-views-api.js +314 -0
- package/lib/generated-client/api/video-attachments-api.d.ts +103 -0
- package/lib/generated-client/api/video-attachments-api.js +217 -0
- package/lib/generated-client/api/videos-api.d.ts +2205 -0
- package/lib/generated-client/api/videos-api.js +1887 -0
- package/lib/generated-client/api/years-api.d.ts +272 -0
- package/lib/generated-client/api/years-api.js +387 -0
- package/lib/generated-client/api.d.ts +71 -0
- package/lib/generated-client/api.js +89 -0
- package/lib/generated-client/base.d.ts +54 -0
- package/lib/generated-client/base.js +84 -0
- package/lib/generated-client/common.d.ts +64 -0
- package/lib/generated-client/common.js +242 -0
- package/lib/generated-client/configuration.d.ts +82 -0
- package/lib/generated-client/configuration.js +43 -0
- package/lib/generated-client/index.d.ts +13 -0
- package/lib/generated-client/index.js +31 -0
- package/lib/generated-client/models/access-schedule.d.ts +48 -0
- package/lib/generated-client/models/access-schedule.js +14 -0
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +36 -0
- package/lib/generated-client/models/activity-log-entry-query-result.js +14 -0
- package/lib/generated-client/models/activity-log-entry.d.ts +79 -0
- package/lib/generated-client/models/activity-log-entry.js +14 -0
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +24 -0
- package/lib/generated-client/models/add-virtual-folder-dto.js +14 -0
- package/lib/generated-client/models/admin-notification-dto.d.ts +42 -0
- package/lib/generated-client/models/admin-notification-dto.js +14 -0
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/album-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/album-info.d.ts +106 -0
- package/lib/generated-client/models/album-info.js +14 -0
- package/lib/generated-client/models/all-theme-media-result.d.ts +36 -0
- package/lib/generated-client/models/all-theme-media-result.js +14 -0
- package/lib/generated-client/models/architecture.d.ts +23 -0
- package/lib/generated-client/models/architecture.js +29 -0
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/artist-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/artist-info.d.ts +92 -0
- package/lib/generated-client/models/artist-info.js +14 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +36 -0
- package/lib/generated-client/models/authenticate-user-by-name.js +14 -0
- package/lib/generated-client/models/authentication-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/authentication-info-query-result.js +14 -0
- package/lib/generated-client/models/authentication-info.d.ts +89 -0
- package/lib/generated-client/models/authentication-info.js +14 -0
- package/lib/generated-client/models/authentication-result.d.ts +43 -0
- package/lib/generated-client/models/authentication-result.js +14 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +14 -0
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/base-item-dto-query-result.js +14 -0
- package/lib/generated-client/models/base-item-dto.d.ts +947 -0
- package/lib/generated-client/models/base-item-dto.js +14 -0
- package/lib/generated-client/models/base-item-kind.d.ts +54 -0
- package/lib/generated-client/models/base-item-kind.js +60 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +121 -0
- package/lib/generated-client/models/base-item-person-image-blur-hashes.js +14 -0
- package/lib/generated-client/models/base-item-person.d.ts +54 -0
- package/lib/generated-client/models/base-item-person.js +14 -0
- package/lib/generated-client/models/base-item.d.ts +84 -0
- package/lib/generated-client/models/base-item.js +14 -0
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/book-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/book-info.d.ts +91 -0
- package/lib/generated-client/models/book-info.js +14 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/box-set-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/box-set-info.d.ts +85 -0
- package/lib/generated-client/models/box-set-info.js +14 -0
- package/lib/generated-client/models/branding-options.d.ts +35 -0
- package/lib/generated-client/models/branding-options.js +14 -0
- package/lib/generated-client/models/buffer-request-dto.d.ts +41 -0
- package/lib/generated-client/models/buffer-request-dto.js +14 -0
- package/lib/generated-client/models/channel-features.d.ts +92 -0
- package/lib/generated-client/models/channel-features.js +14 -0
- package/lib/generated-client/models/channel-item-sort-field.d.ts +24 -0
- package/lib/generated-client/models/channel-item-sort-field.js +30 -0
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +44 -0
- package/lib/generated-client/models/channel-mapping-options-dto.js +14 -0
- package/lib/generated-client/models/channel-media-content-type.d.ts +25 -0
- package/lib/generated-client/models/channel-media-content-type.js +31 -0
- package/lib/generated-client/models/channel-media-type.d.ts +20 -0
- package/lib/generated-client/models/channel-media-type.js +26 -0
- package/lib/generated-client/models/channel-type.d.ts +19 -0
- package/lib/generated-client/models/channel-type.js +25 -0
- package/lib/generated-client/models/chapter-info.d.ts +47 -0
- package/lib/generated-client/models/chapter-info.js +14 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities-dto.js +14 -0
- package/lib/generated-client/models/client-capabilities.d.ts +79 -0
- package/lib/generated-client/models/client-capabilities.js +14 -0
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +23 -0
- package/lib/generated-client/models/client-log-document-response-dto.js +14 -0
- package/lib/generated-client/models/codec-profile.d.ts +49 -0
- package/lib/generated-client/models/codec-profile.js +14 -0
- package/lib/generated-client/models/codec-type.d.ts +20 -0
- package/lib/generated-client/models/codec-type.js +26 -0
- package/lib/generated-client/models/collection-creation-result.d.ts +23 -0
- package/lib/generated-client/models/collection-creation-result.js +14 -0
- package/lib/generated-client/models/collection-type-options.d.ts +25 -0
- package/lib/generated-client/models/collection-type-options.js +31 -0
- package/lib/generated-client/models/config-image-types.d.ts +59 -0
- package/lib/generated-client/models/config-image-types.js +14 -0
- package/lib/generated-client/models/configuration-page-info.d.ts +53 -0
- package/lib/generated-client/models/configuration-page-info.js +14 -0
- package/lib/generated-client/models/container-profile.d.ts +37 -0
- package/lib/generated-client/models/container-profile.js +14 -0
- package/lib/generated-client/models/control-response.d.ts +37 -0
- package/lib/generated-client/models/control-response.js +14 -0
- package/lib/generated-client/models/country-info.d.ts +41 -0
- package/lib/generated-client/models/country-info.js +14 -0
- package/lib/generated-client/models/create-playlist-dto.d.ts +41 -0
- package/lib/generated-client/models/create-playlist-dto.js +14 -0
- package/lib/generated-client/models/create-user-by-name.d.ts +29 -0
- package/lib/generated-client/models/create-user-by-name.js +14 -0
- package/lib/generated-client/models/culture-dto.d.ts +47 -0
- package/lib/generated-client/models/culture-dto.js +14 -0
- package/lib/generated-client/models/day-of-week.d.ts +24 -0
- package/lib/generated-client/models/day-of-week.js +30 -0
- package/lib/generated-client/models/day-pattern.d.ts +20 -0
- package/lib/generated-client/models/day-pattern.js +26 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +23 -0
- package/lib/generated-client/models/default-directory-browser-info-dto.js +14 -0
- package/lib/generated-client/models/device-identification.d.ts +72 -0
- package/lib/generated-client/models/device-identification.js +14 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-query-result.js +14 -0
- package/lib/generated-client/models/device-info.d.ts +78 -0
- package/lib/generated-client/models/device-info.js +14 -0
- package/lib/generated-client/models/device-options-dto.d.ts +35 -0
- package/lib/generated-client/models/device-options-dto.js +14 -0
- package/lib/generated-client/models/device-options.d.ts +35 -0
- package/lib/generated-client/models/device-options.js +14 -0
- package/lib/generated-client/models/device-profile-info.d.ts +36 -0
- package/lib/generated-client/models/device-profile-info.js +14 -0
- package/lib/generated-client/models/device-profile-type.d.ts +19 -0
- package/lib/generated-client/models/device-profile-type.js +25 -0
- package/lib/generated-client/models/device-profile.d.ts +259 -0
- package/lib/generated-client/models/device-profile.js +14 -0
- package/lib/generated-client/models/direct-play-profile.d.ts +42 -0
- package/lib/generated-client/models/direct-play-profile.js +14 -0
- package/lib/generated-client/models/display-preferences-dto.d.ts +105 -0
- package/lib/generated-client/models/display-preferences-dto.js +14 -0
- package/lib/generated-client/models/dlna-options.d.ts +83 -0
- package/lib/generated-client/models/dlna-options.js +14 -0
- package/lib/generated-client/models/dlna-profile-type.d.ts +21 -0
- package/lib/generated-client/models/dlna-profile-type.js +27 -0
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +27 -0
- package/lib/generated-client/models/dynamic-day-of-week.js +33 -0
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +21 -0
- package/lib/generated-client/models/embedded-subtitle-options.js +27 -0
- package/lib/generated-client/models/encoding-context.d.ts +19 -0
- package/lib/generated-client/models/encoding-context.js +25 -0
- package/lib/generated-client/models/encoding-options.d.ts +245 -0
- package/lib/generated-client/models/encoding-options.js +14 -0
- package/lib/generated-client/models/end-point-info.d.ts +29 -0
- package/lib/generated-client/models/end-point-info.js +14 -0
- package/lib/generated-client/models/external-id-info.d.ts +42 -0
- package/lib/generated-client/models/external-id-info.js +14 -0
- package/lib/generated-client/models/external-id-media-type.d.ts +29 -0
- package/lib/generated-client/models/external-id-media-type.js +35 -0
- package/lib/generated-client/models/external-url.d.ts +29 -0
- package/lib/generated-client/models/external-url.js +14 -0
- package/lib/generated-client/models/ffmpeg-location.d.ts +21 -0
- package/lib/generated-client/models/ffmpeg-location.js +27 -0
- package/lib/generated-client/models/file-system-entry-info.d.ts +36 -0
- package/lib/generated-client/models/file-system-entry-info.js +14 -0
- package/lib/generated-client/models/file-system-entry-type.d.ts +21 -0
- package/lib/generated-client/models/file-system-entry-type.js +27 -0
- package/lib/generated-client/models/font-file.d.ts +41 -0
- package/lib/generated-client/models/font-file.js +14 -0
- package/lib/generated-client/models/forgot-password-action.d.ts +20 -0
- package/lib/generated-client/models/forgot-password-action.js +26 -0
- package/lib/generated-client/models/forgot-password-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-dto.js +14 -0
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +23 -0
- package/lib/generated-client/models/forgot-password-pin-dto.js +14 -0
- package/lib/generated-client/models/forgot-password-result.d.ts +36 -0
- package/lib/generated-client/models/forgot-password-result.js +14 -0
- package/lib/generated-client/models/general-command-type.d.ts +59 -0
- package/lib/generated-client/models/general-command-type.js +65 -0
- package/lib/generated-client/models/general-command.d.ts +38 -0
- package/lib/generated-client/models/general-command.js +14 -0
- package/lib/generated-client/models/get-programs-dto.d.ts +182 -0
- package/lib/generated-client/models/get-programs-dto.js +14 -0
- package/lib/generated-client/models/group-info-dto.d.ts +48 -0
- package/lib/generated-client/models/group-info-dto.js +14 -0
- package/lib/generated-client/models/group-queue-mode.d.ts +19 -0
- package/lib/generated-client/models/group-queue-mode.js +25 -0
- package/lib/generated-client/models/group-repeat-mode.d.ts +20 -0
- package/lib/generated-client/models/group-repeat-mode.js +26 -0
- package/lib/generated-client/models/group-shuffle-mode.d.ts +19 -0
- package/lib/generated-client/models/group-shuffle-mode.js +25 -0
- package/lib/generated-client/models/group-state-type.d.ts +21 -0
- package/lib/generated-client/models/group-state-type.js +27 -0
- package/lib/generated-client/models/group-update-type.d.ts +28 -0
- package/lib/generated-client/models/group-update-type.js +34 -0
- package/lib/generated-client/models/guide-info.d.ts +29 -0
- package/lib/generated-client/models/guide-info.js +14 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +23 -0
- package/lib/generated-client/models/hardware-encoding-type.js +29 -0
- package/lib/generated-client/models/header-match-type.d.ts +20 -0
- package/lib/generated-client/models/header-match-type.js +26 -0
- package/lib/generated-client/models/http-header-info.d.ts +36 -0
- package/lib/generated-client/models/http-header-info.js +14 -0
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ignore-wait-request-dto.js +14 -0
- package/lib/generated-client/models/image-by-name-info.d.ts +47 -0
- package/lib/generated-client/models/image-by-name-info.js +14 -0
- package/lib/generated-client/models/image-format.d.ts +22 -0
- package/lib/generated-client/models/image-format.js +28 -0
- package/lib/generated-client/models/image-info.d.ts +66 -0
- package/lib/generated-client/models/image-info.js +14 -0
- package/lib/generated-client/models/image-option.d.ts +36 -0
- package/lib/generated-client/models/image-option.js +14 -0
- package/lib/generated-client/models/image-orientation.d.ts +25 -0
- package/lib/generated-client/models/image-orientation.js +31 -0
- package/lib/generated-client/models/image-provider-info.d.ts +30 -0
- package/lib/generated-client/models/image-provider-info.js +14 -0
- package/lib/generated-client/models/image-saving-convention.d.ts +19 -0
- package/lib/generated-client/models/image-saving-convention.js +25 -0
- package/lib/generated-client/models/image-type.d.ts +30 -0
- package/lib/generated-client/models/image-type.js +36 -0
- package/lib/generated-client/models/index.d.ts +284 -0
- package/lib/generated-client/models/index.js +300 -0
- package/lib/generated-client/models/installation-info.d.ts +60 -0
- package/lib/generated-client/models/installation-info.js +14 -0
- package/lib/generated-client/models/iplugin.d.ts +59 -0
- package/lib/generated-client/models/iplugin.js +14 -0
- package/lib/generated-client/models/iso-type.d.ts +19 -0
- package/lib/generated-client/models/iso-type.js +25 -0
- package/lib/generated-client/models/item-counts.d.ts +89 -0
- package/lib/generated-client/models/item-counts.js +14 -0
- package/lib/generated-client/models/item-fields.d.ts +78 -0
- package/lib/generated-client/models/item-fields.js +84 -0
- package/lib/generated-client/models/item-filter.d.ts +26 -0
- package/lib/generated-client/models/item-filter.js +32 -0
- package/lib/generated-client/models/join-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/join-group-request-dto.js +14 -0
- package/lib/generated-client/models/keep-until.d.ts +21 -0
- package/lib/generated-client/models/keep-until.js +27 -0
- package/lib/generated-client/models/library-option-info-dto.d.ts +29 -0
- package/lib/generated-client/models/library-option-info-dto.js +14 -0
- package/lib/generated-client/models/library-options-result-dto.d.ts +43 -0
- package/lib/generated-client/models/library-options-result-dto.js +14 -0
- package/lib/generated-client/models/library-options.d.ts +183 -0
- package/lib/generated-client/models/library-options.js +14 -0
- package/lib/generated-client/models/library-type-options-dto.d.ts +50 -0
- package/lib/generated-client/models/library-type-options-dto.js +14 -0
- package/lib/generated-client/models/library-update-info.d.ts +59 -0
- package/lib/generated-client/models/library-update-info.js +14 -0
- package/lib/generated-client/models/listings-provider-info.d.ts +126 -0
- package/lib/generated-client/models/listings-provider-info.js +14 -0
- package/lib/generated-client/models/live-stream-response.d.ts +24 -0
- package/lib/generated-client/models/live-stream-response.js +14 -0
- package/lib/generated-client/models/live-tv-info.d.ts +36 -0
- package/lib/generated-client/models/live-tv-info.js +14 -0
- package/lib/generated-client/models/live-tv-options.d.ts +97 -0
- package/lib/generated-client/models/live-tv-options.js +14 -0
- package/lib/generated-client/models/live-tv-service-info.d.ts +66 -0
- package/lib/generated-client/models/live-tv-service-info.js +14 -0
- package/lib/generated-client/models/live-tv-service-status.d.ts +19 -0
- package/lib/generated-client/models/live-tv-service-status.js +25 -0
- package/lib/generated-client/models/localization-option.d.ts +29 -0
- package/lib/generated-client/models/localization-option.js +14 -0
- package/lib/generated-client/models/location-type.d.ts +21 -0
- package/lib/generated-client/models/location-type.js +27 -0
- package/lib/generated-client/models/log-file.d.ts +41 -0
- package/lib/generated-client/models/log-file.js +14 -0
- package/lib/generated-client/models/log-level.d.ts +24 -0
- package/lib/generated-client/models/log-level.js +30 -0
- package/lib/generated-client/models/media-attachment.d.ts +59 -0
- package/lib/generated-client/models/media-attachment.js +14 -0
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-encoder-path-dto.js +14 -0
- package/lib/generated-client/models/media-path-dto.d.ts +36 -0
- package/lib/generated-client/models/media-path-dto.js +14 -0
- package/lib/generated-client/models/media-path-info.d.ts +29 -0
- package/lib/generated-client/models/media-path-info.js +14 -0
- package/lib/generated-client/models/media-protocol.d.ts +24 -0
- package/lib/generated-client/models/media-protocol.js +30 -0
- package/lib/generated-client/models/media-source-info.d.ts +279 -0
- package/lib/generated-client/models/media-source-info.js +14 -0
- package/lib/generated-client/models/media-source-type.d.ts +20 -0
- package/lib/generated-client/models/media-source-type.js +26 -0
- package/lib/generated-client/models/media-stream-type.d.ts +21 -0
- package/lib/generated-client/models/media-stream-type.js +27 -0
- package/lib/generated-client/models/media-stream.d.ts +367 -0
- package/lib/generated-client/models/media-stream.js +14 -0
- package/lib/generated-client/models/media-update-info-dto.d.ts +24 -0
- package/lib/generated-client/models/media-update-info-dto.js +14 -0
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +29 -0
- package/lib/generated-client/models/media-update-info-path-dto.js +14 -0
- package/lib/generated-client/models/media-url.d.ts +29 -0
- package/lib/generated-client/models/media-url.js +14 -0
- package/lib/generated-client/models/message-command.d.ts +35 -0
- package/lib/generated-client/models/message-command.js +14 -0
- package/lib/generated-client/models/metadata-configuration.d.ts +23 -0
- package/lib/generated-client/models/metadata-configuration.js +14 -0
- package/lib/generated-client/models/metadata-editor-info.d.ts +58 -0
- package/lib/generated-client/models/metadata-editor-info.js +14 -0
- package/lib/generated-client/models/metadata-field.d.ts +26 -0
- package/lib/generated-client/models/metadata-field.js +32 -0
- package/lib/generated-client/models/metadata-options.d.ts +59 -0
- package/lib/generated-client/models/metadata-options.js +14 -0
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +21 -0
- package/lib/generated-client/models/metadata-refresh-mode.js +27 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +29 -0
- package/lib/generated-client/models/move-playlist-item-request-dto.js +14 -0
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/movie-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/movie-info.d.ts +85 -0
- package/lib/generated-client/models/movie-info.js +14 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/music-video-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/music-video-info.d.ts +91 -0
- package/lib/generated-client/models/music-video-info.js +14 -0
- package/lib/generated-client/models/name-guid-pair.d.ts +29 -0
- package/lib/generated-client/models/name-guid-pair.js +14 -0
- package/lib/generated-client/models/name-id-pair.d.ts +29 -0
- package/lib/generated-client/models/name-id-pair.js +14 -0
- package/lib/generated-client/models/name-value-pair.d.ts +29 -0
- package/lib/generated-client/models/name-value-pair.js +14 -0
- package/lib/generated-client/models/network-configuration.d.ts +221 -0
- package/lib/generated-client/models/network-configuration.js +14 -0
- package/lib/generated-client/models/new-group-request-dto.d.ts +23 -0
- package/lib/generated-client/models/new-group-request-dto.js +14 -0
- package/lib/generated-client/models/next-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/next-item-request-dto.js +14 -0
- package/lib/generated-client/models/notification-dto.d.ts +66 -0
- package/lib/generated-client/models/notification-dto.js +14 -0
- package/lib/generated-client/models/notification-level.d.ts +20 -0
- package/lib/generated-client/models/notification-level.js +26 -0
- package/lib/generated-client/models/notification-option.d.ts +54 -0
- package/lib/generated-client/models/notification-option.js +14 -0
- package/lib/generated-client/models/notification-options.d.ts +24 -0
- package/lib/generated-client/models/notification-options.js +14 -0
- package/lib/generated-client/models/notification-result-dto.d.ts +30 -0
- package/lib/generated-client/models/notification-result-dto.js +14 -0
- package/lib/generated-client/models/notification-type-info.d.ts +47 -0
- package/lib/generated-client/models/notification-type-info.js +14 -0
- package/lib/generated-client/models/notifications-summary-dto.d.ts +30 -0
- package/lib/generated-client/models/notifications-summary-dto.js +14 -0
- package/lib/generated-client/models/object-group-update.d.ts +36 -0
- package/lib/generated-client/models/object-group-update.js +14 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +97 -0
- package/lib/generated-client/models/open-live-stream-dto.js +14 -0
- package/lib/generated-client/models/package-info.d.ts +66 -0
- package/lib/generated-client/models/package-info.js +14 -0
- package/lib/generated-client/models/parental-rating.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.js +14 -0
- package/lib/generated-client/models/path-substitution.d.ts +29 -0
- package/lib/generated-client/models/path-substitution.js +14 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/person-lookup-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/person-lookup-info.d.ts +85 -0
- package/lib/generated-client/models/person-lookup-info.js +14 -0
- package/lib/generated-client/models/pin-redeem-result.d.ts +29 -0
- package/lib/generated-client/models/pin-redeem-result.js +14 -0
- package/lib/generated-client/models/ping-request-dto.d.ts +23 -0
- package/lib/generated-client/models/ping-request-dto.js +14 -0
- package/lib/generated-client/models/play-access.d.ts +19 -0
- package/lib/generated-client/models/play-access.js +25 -0
- package/lib/generated-client/models/play-command.d.ts +22 -0
- package/lib/generated-client/models/play-command.js +28 -0
- package/lib/generated-client/models/play-method.d.ts +20 -0
- package/lib/generated-client/models/play-method.js +26 -0
- package/lib/generated-client/models/play-request-dto.d.ts +35 -0
- package/lib/generated-client/models/play-request-dto.js +14 -0
- package/lib/generated-client/models/play-request.d.ts +66 -0
- package/lib/generated-client/models/play-request.js +14 -0
- package/lib/generated-client/models/playback-error-code.d.ts +20 -0
- package/lib/generated-client/models/playback-error-code.js +26 -0
- package/lib/generated-client/models/playback-info-dto.d.ts +108 -0
- package/lib/generated-client/models/playback-info-dto.js +14 -0
- package/lib/generated-client/models/playback-info-response.d.ts +37 -0
- package/lib/generated-client/models/playback-info-response.js +14 -0
- package/lib/generated-client/models/playback-progress-info.d.ts +141 -0
- package/lib/generated-client/models/playback-progress-info.js +14 -0
- package/lib/generated-client/models/playback-start-info.d.ts +141 -0
- package/lib/generated-client/models/playback-start-info.js +14 -0
- package/lib/generated-client/models/playback-stop-info.d.ts +85 -0
- package/lib/generated-client/models/playback-stop-info.js +14 -0
- package/lib/generated-client/models/player-state-info.d.ts +85 -0
- package/lib/generated-client/models/player-state-info.js +14 -0
- package/lib/generated-client/models/playlist-creation-result.d.ts +23 -0
- package/lib/generated-client/models/playlist-creation-result.js +14 -0
- package/lib/generated-client/models/playstate-command.d.ts +26 -0
- package/lib/generated-client/models/playstate-command.js +32 -0
- package/lib/generated-client/models/playstate-request.d.ts +36 -0
- package/lib/generated-client/models/playstate-request.js +14 -0
- package/lib/generated-client/models/plugin-info.d.ts +66 -0
- package/lib/generated-client/models/plugin-info.js +14 -0
- package/lib/generated-client/models/plugin-status.d.ts +24 -0
- package/lib/generated-client/models/plugin-status.js +30 -0
- package/lib/generated-client/models/previous-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/previous-item-request-dto.js +14 -0
- package/lib/generated-client/models/problem-details.d.ts +48 -0
- package/lib/generated-client/models/problem-details.js +14 -0
- package/lib/generated-client/models/profile-condition-type.d.ts +22 -0
- package/lib/generated-client/models/profile-condition-type.js +28 -0
- package/lib/generated-client/models/profile-condition-value.d.ts +41 -0
- package/lib/generated-client/models/profile-condition-value.js +47 -0
- package/lib/generated-client/models/profile-condition.d.ts +43 -0
- package/lib/generated-client/models/profile-condition.js +14 -0
- package/lib/generated-client/models/program-audio.d.ts +23 -0
- package/lib/generated-client/models/program-audio.js +29 -0
- package/lib/generated-client/models/public-system-info.d.ts +59 -0
- package/lib/generated-client/models/public-system-info.js +14 -0
- package/lib/generated-client/models/query-filters-legacy.d.ts +41 -0
- package/lib/generated-client/models/query-filters-legacy.js +14 -0
- package/lib/generated-client/models/query-filters.d.ts +30 -0
- package/lib/generated-client/models/query-filters.js +14 -0
- package/lib/generated-client/models/queue-item.d.ts +29 -0
- package/lib/generated-client/models/queue-item.js +14 -0
- package/lib/generated-client/models/queue-request-dto.d.ts +30 -0
- package/lib/generated-client/models/queue-request-dto.js +14 -0
- package/lib/generated-client/models/quick-connect-dto.d.ts +23 -0
- package/lib/generated-client/models/quick-connect-dto.js +14 -0
- package/lib/generated-client/models/quick-connect-result.d.ts +65 -0
- package/lib/generated-client/models/quick-connect-result.js +14 -0
- package/lib/generated-client/models/rating-type.d.ts +19 -0
- package/lib/generated-client/models/rating-type.js +25 -0
- package/lib/generated-client/models/ready-request-dto.d.ts +41 -0
- package/lib/generated-client/models/ready-request-dto.js +14 -0
- package/lib/generated-client/models/recommendation-dto.d.ts +43 -0
- package/lib/generated-client/models/recommendation-dto.js +14 -0
- package/lib/generated-client/models/recommendation-type.d.ts +23 -0
- package/lib/generated-client/models/recommendation-type.js +29 -0
- package/lib/generated-client/models/recording-status.d.ts +24 -0
- package/lib/generated-client/models/recording-status.js +30 -0
- package/lib/generated-client/models/remote-image-info.d.ts +79 -0
- package/lib/generated-client/models/remote-image-info.js +14 -0
- package/lib/generated-client/models/remote-image-result.d.ts +36 -0
- package/lib/generated-client/models/remote-image-result.js +14 -0
- package/lib/generated-client/models/remote-search-result.d.ts +91 -0
- package/lib/generated-client/models/remote-search-result.js +14 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +83 -0
- package/lib/generated-client/models/remote-subtitle-info.js +14 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +35 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.js +14 -0
- package/lib/generated-client/models/repeat-mode.d.ts +20 -0
- package/lib/generated-client/models/repeat-mode.js +26 -0
- package/lib/generated-client/models/repository-info.d.ts +35 -0
- package/lib/generated-client/models/repository-info.js +14 -0
- package/lib/generated-client/models/response-profile.d.ts +61 -0
- package/lib/generated-client/models/response-profile.js +14 -0
- package/lib/generated-client/models/scroll-direction.d.ts +19 -0
- package/lib/generated-client/models/scroll-direction.js +25 -0
- package/lib/generated-client/models/search-hint-result.d.ts +30 -0
- package/lib/generated-client/models/search-hint-result.js +14 -0
- package/lib/generated-client/models/search-hint.d.ts +191 -0
- package/lib/generated-client/models/search-hint.js +14 -0
- package/lib/generated-client/models/seek-request-dto.d.ts +23 -0
- package/lib/generated-client/models/seek-request-dto.js +14 -0
- package/lib/generated-client/models/send-command-type.d.ts +21 -0
- package/lib/generated-client/models/send-command-type.js +27 -0
- package/lib/generated-client/models/send-command.d.ts +54 -0
- package/lib/generated-client/models/send-command.js +14 -0
- package/lib/generated-client/models/send-to-user-type.d.ts +20 -0
- package/lib/generated-client/models/send-to-user-type.js +26 -0
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/series-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/series-info.d.ts +85 -0
- package/lib/generated-client/models/series-info.js +14 -0
- package/lib/generated-client/models/series-status.d.ts +19 -0
- package/lib/generated-client/models/series-status.js +25 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/series-timer-info-dto-query-result.js +14 -0
- package/lib/generated-client/models/series-timer-info-dto.d.ts +232 -0
- package/lib/generated-client/models/series-timer-info-dto.js +14 -0
- package/lib/generated-client/models/server-configuration.d.ts +310 -0
- package/lib/generated-client/models/server-configuration.js +14 -0
- package/lib/generated-client/models/server-discovery-info.d.ts +41 -0
- package/lib/generated-client/models/server-discovery-info.js +14 -0
- package/lib/generated-client/models/session-info.d.ts +199 -0
- package/lib/generated-client/models/session-info.js +14 -0
- package/lib/generated-client/models/session-message-type.d.ts +51 -0
- package/lib/generated-client/models/session-message-type.js +57 -0
- package/lib/generated-client/models/session-user-info.d.ts +29 -0
- package/lib/generated-client/models/session-user-info.js +14 -0
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +35 -0
- package/lib/generated-client/models/set-channel-mapping-dto.js +14 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +23 -0
- package/lib/generated-client/models/set-playlist-item-request-dto.js +14 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-repeat-mode-request-dto.js +14 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +24 -0
- package/lib/generated-client/models/set-shuffle-mode-request-dto.js +14 -0
- package/lib/generated-client/models/song-info.d.ts +103 -0
- package/lib/generated-client/models/song-info.js +14 -0
- package/lib/generated-client/models/sort-order.d.ts +19 -0
- package/lib/generated-client/models/sort-order.js +25 -0
- package/lib/generated-client/models/special-view-option-dto.d.ts +29 -0
- package/lib/generated-client/models/special-view-option-dto.js +14 -0
- package/lib/generated-client/models/startup-configuration-dto.d.ts +35 -0
- package/lib/generated-client/models/startup-configuration-dto.js +14 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-remote-access-dto.js +14 -0
- package/lib/generated-client/models/startup-user-dto.d.ts +29 -0
- package/lib/generated-client/models/startup-user-dto.js +14 -0
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +22 -0
- package/lib/generated-client/models/subtitle-delivery-method.js +28 -0
- package/lib/generated-client/models/subtitle-options.d.ts +71 -0
- package/lib/generated-client/models/subtitle-options.js +14 -0
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +22 -0
- package/lib/generated-client/models/subtitle-playback-mode.js +28 -0
- package/lib/generated-client/models/subtitle-profile.d.ts +48 -0
- package/lib/generated-client/models/subtitle-profile.js +14 -0
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +20 -0
- package/lib/generated-client/models/sync-play-user-access-type.js +26 -0
- package/lib/generated-client/models/system-info.d.ts +177 -0
- package/lib/generated-client/models/system-info.js +14 -0
- package/lib/generated-client/models/task-completion-status.d.ts +21 -0
- package/lib/generated-client/models/task-completion-status.js +27 -0
- package/lib/generated-client/models/task-info.d.ts +80 -0
- package/lib/generated-client/models/task-info.js +14 -0
- package/lib/generated-client/models/task-result.d.ts +66 -0
- package/lib/generated-client/models/task-result.js +14 -0
- package/lib/generated-client/models/task-state.d.ts +20 -0
- package/lib/generated-client/models/task-state.js +26 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +48 -0
- package/lib/generated-client/models/task-trigger-info.js +14 -0
- package/lib/generated-client/models/theme-media-result.d.ts +42 -0
- package/lib/generated-client/models/theme-media-result.js +14 -0
- package/lib/generated-client/models/timer-event-info.d.ts +29 -0
- package/lib/generated-client/models/timer-event-info.js +14 -0
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/timer-info-dto-query-result.js +14 -0
- package/lib/generated-client/models/timer-info-dto.d.ts +188 -0
- package/lib/generated-client/models/timer-info-dto.js +14 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +42 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.js +14 -0
- package/lib/generated-client/models/trailer-info.d.ts +85 -0
- package/lib/generated-client/models/trailer-info.js +14 -0
- package/lib/generated-client/models/transcode-seek-info.d.ts +19 -0
- package/lib/generated-client/models/transcode-seek-info.js +25 -0
- package/lib/generated-client/models/transcoding-info.d.ts +127 -0
- package/lib/generated-client/models/transcoding-info.js +47 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +117 -0
- package/lib/generated-client/models/transcoding-profile.js +14 -0
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +20 -0
- package/lib/generated-client/models/transport-stream-timestamp.js +26 -0
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +41 -0
- package/lib/generated-client/models/tuner-channel-mapping.js +14 -0
- package/lib/generated-client/models/tuner-host-info.d.ts +83 -0
- package/lib/generated-client/models/tuner-host-info.js +14 -0
- package/lib/generated-client/models/type-options.d.ts +54 -0
- package/lib/generated-client/models/type-options.js +14 -0
- package/lib/generated-client/models/unrated-item.d.ts +26 -0
- package/lib/generated-client/models/unrated-item.js +32 -0
- package/lib/generated-client/models/update-library-options-dto.d.ts +30 -0
- package/lib/generated-client/models/update-library-options-dto.js +14 -0
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +30 -0
- package/lib/generated-client/models/update-media-path-request-dto.js +14 -0
- package/lib/generated-client/models/update-user-easy-password.d.ts +35 -0
- package/lib/generated-client/models/update-user-easy-password.js +14 -0
- package/lib/generated-client/models/update-user-password.d.ts +41 -0
- package/lib/generated-client/models/update-user-password.js +14 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +41 -0
- package/lib/generated-client/models/upload-subtitle-dto.js +14 -0
- package/lib/generated-client/models/user-configuration.d.ts +108 -0
- package/lib/generated-client/models/user-configuration.js +14 -0
- package/lib/generated-client/models/user-dto.d.ts +103 -0
- package/lib/generated-client/models/user-dto.js +14 -0
- package/lib/generated-client/models/user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/user-item-data-dto.js +14 -0
- package/lib/generated-client/models/user-policy.d.ts +254 -0
- package/lib/generated-client/models/user-policy.js +14 -0
- package/lib/generated-client/models/utc-time-response.d.ts +29 -0
- package/lib/generated-client/models/utc-time-response.js +14 -0
- package/lib/generated-client/models/validate-path-dto.d.ts +35 -0
- package/lib/generated-client/models/validate-path-dto.js +14 -0
- package/lib/generated-client/models/version-info.d.ts +71 -0
- package/lib/generated-client/models/version-info.js +14 -0
- package/lib/generated-client/models/video-type.d.ts +21 -0
- package/lib/generated-client/models/video-type.js +27 -0
- package/lib/generated-client/models/video3-dformat.d.ts +22 -0
- package/lib/generated-client/models/video3-dformat.js +28 -0
- package/lib/generated-client/models/virtual-folder-info.d.ts +67 -0
- package/lib/generated-client/models/virtual-folder-info.js +14 -0
- package/lib/generated-client/models/wake-on-lan-info.d.ts +29 -0
- package/lib/generated-client/models/wake-on-lan-info.js +14 -0
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +47 -0
- package/lib/generated-client/models/xbmc-metadata-options.js +14 -0
- package/lib/generated-client/models/xml-attribute.d.ts +29 -0
- package/lib/generated-client/models/xml-attribute.js +14 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +39 -0
- package/lib/jellyfin.d.ts +33 -0
- package/lib/jellyfin.js +34 -0
- package/lib/models/api/image-request-parameters.d.ts +29 -0
- package/lib/models/api/image-request-parameters.js +7 -0
- package/lib/models/api/index.d.ts +7 -0
- package/lib/models/api/index.js +23 -0
- package/lib/models/api/item-sort-by.d.ts +40 -0
- package/lib/models/api/item-sort-by.js +44 -0
- package/lib/models/client-info.d.ts +12 -0
- package/lib/models/client-info.js +7 -0
- package/lib/models/device-info.d.ts +12 -0
- package/lib/models/device-info.js +7 -0
- package/lib/models/index.d.ts +9 -0
- package/lib/models/index.js +25 -0
- package/lib/models/recommended-server-info.d.ts +22 -0
- package/lib/models/recommended-server-info.js +16 -0
- package/lib/models/recommended-server-issue.d.ts +48 -0
- package/lib/models/recommended-server-issue.js +103 -0
- package/lib/utils/address-candidates.d.ts +16 -0
- package/lib/utils/address-candidates.js +85 -0
- package/lib/utils/api/activity-log-api.d.ts +8 -0
- package/lib/utils/api/activity-log-api.js +13 -0
- package/lib/utils/api/api-key-api.d.ts +8 -0
- package/lib/utils/api/api-key-api.js +13 -0
- package/lib/utils/api/artists-api.d.ts +8 -0
- package/lib/utils/api/artists-api.js +13 -0
- package/lib/utils/api/audio-api.d.ts +8 -0
- package/lib/utils/api/audio-api.js +13 -0
- package/lib/utils/api/branding-api.d.ts +8 -0
- package/lib/utils/api/branding-api.js +13 -0
- package/lib/utils/api/channels-api.d.ts +8 -0
- package/lib/utils/api/channels-api.js +13 -0
- package/lib/utils/api/client-log-api.d.ts +8 -0
- package/lib/utils/api/client-log-api.js +13 -0
- package/lib/utils/api/collection-api.d.ts +8 -0
- package/lib/utils/api/collection-api.js +13 -0
- package/lib/utils/api/configuration-api.d.ts +8 -0
- package/lib/utils/api/configuration-api.js +13 -0
- package/lib/utils/api/dashboard-api.d.ts +8 -0
- package/lib/utils/api/dashboard-api.js +13 -0
- package/lib/utils/api/devices-api.d.ts +8 -0
- package/lib/utils/api/devices-api.js +13 -0
- package/lib/utils/api/display-preferences-api.d.ts +8 -0
- package/lib/utils/api/display-preferences-api.js +13 -0
- package/lib/utils/api/dlna-api.d.ts +8 -0
- package/lib/utils/api/dlna-api.js +13 -0
- package/lib/utils/api/dlna-server-api.d.ts +8 -0
- package/lib/utils/api/dlna-server-api.js +13 -0
- package/lib/utils/api/dynamic-hls-api.d.ts +8 -0
- package/lib/utils/api/dynamic-hls-api.js +13 -0
- package/lib/utils/api/environment-api.d.ts +8 -0
- package/lib/utils/api/environment-api.js +13 -0
- package/lib/utils/api/filter-api.d.ts +8 -0
- package/lib/utils/api/filter-api.js +13 -0
- package/lib/utils/api/genres-api.d.ts +8 -0
- package/lib/utils/api/genres-api.js +13 -0
- package/lib/utils/api/hls-segment-api.d.ts +8 -0
- package/lib/utils/api/hls-segment-api.js +13 -0
- package/lib/utils/api/image-api.d.ts +8 -0
- package/lib/utils/api/image-api.js +13 -0
- package/lib/utils/api/image-by-name-api.d.ts +8 -0
- package/lib/utils/api/image-by-name-api.js +13 -0
- package/lib/utils/api/instant-mix-api.d.ts +8 -0
- package/lib/utils/api/instant-mix-api.js +13 -0
- package/lib/utils/api/item-lookup-api.d.ts +8 -0
- package/lib/utils/api/item-lookup-api.js +13 -0
- package/lib/utils/api/item-refresh-api.d.ts +8 -0
- package/lib/utils/api/item-refresh-api.js +13 -0
- package/lib/utils/api/item-update-api.d.ts +8 -0
- package/lib/utils/api/item-update-api.js +13 -0
- package/lib/utils/api/items-api.d.ts +8 -0
- package/lib/utils/api/items-api.js +13 -0
- package/lib/utils/api/library-api.d.ts +8 -0
- package/lib/utils/api/library-api.js +13 -0
- package/lib/utils/api/library-structure-api.d.ts +8 -0
- package/lib/utils/api/library-structure-api.js +13 -0
- package/lib/utils/api/live-tv-api.d.ts +8 -0
- package/lib/utils/api/live-tv-api.js +13 -0
- package/lib/utils/api/localization-api.d.ts +8 -0
- package/lib/utils/api/localization-api.js +13 -0
- package/lib/utils/api/media-info-api.d.ts +8 -0
- package/lib/utils/api/media-info-api.js +13 -0
- package/lib/utils/api/movies-api.d.ts +8 -0
- package/lib/utils/api/movies-api.js +13 -0
- package/lib/utils/api/music-genres-api.d.ts +8 -0
- package/lib/utils/api/music-genres-api.js +13 -0
- package/lib/utils/api/notifications-api.d.ts +8 -0
- package/lib/utils/api/notifications-api.js +13 -0
- package/lib/utils/api/package-api.d.ts +8 -0
- package/lib/utils/api/package-api.js +13 -0
- package/lib/utils/api/persons-api.d.ts +8 -0
- package/lib/utils/api/persons-api.js +13 -0
- package/lib/utils/api/playlists-api.d.ts +8 -0
- package/lib/utils/api/playlists-api.js +13 -0
- package/lib/utils/api/playstate-api.d.ts +8 -0
- package/lib/utils/api/playstate-api.js +13 -0
- package/lib/utils/api/plugins-api.d.ts +8 -0
- package/lib/utils/api/plugins-api.js +13 -0
- package/lib/utils/api/quick-connect-api.d.ts +8 -0
- package/lib/utils/api/quick-connect-api.js +13 -0
- package/lib/utils/api/remote-image-api.d.ts +8 -0
- package/lib/utils/api/remote-image-api.js +13 -0
- package/lib/utils/api/scheduled-tasks-api.d.ts +8 -0
- package/lib/utils/api/scheduled-tasks-api.js +13 -0
- package/lib/utils/api/search-api.d.ts +8 -0
- package/lib/utils/api/search-api.js +13 -0
- package/lib/utils/api/session-api.d.ts +8 -0
- package/lib/utils/api/session-api.js +13 -0
- package/lib/utils/api/startup-api.d.ts +8 -0
- package/lib/utils/api/startup-api.js +13 -0
- package/lib/utils/api/studios-api.d.ts +8 -0
- package/lib/utils/api/studios-api.js +13 -0
- package/lib/utils/api/subtitle-api.d.ts +8 -0
- package/lib/utils/api/subtitle-api.js +13 -0
- package/lib/utils/api/suggestions-api.d.ts +8 -0
- package/lib/utils/api/suggestions-api.js +13 -0
- package/lib/utils/api/sync-play-api.d.ts +8 -0
- package/lib/utils/api/sync-play-api.js +13 -0
- package/lib/utils/api/system-api.d.ts +8 -0
- package/lib/utils/api/system-api.js +13 -0
- package/lib/utils/api/time-sync-api.d.ts +8 -0
- package/lib/utils/api/time-sync-api.js +13 -0
- package/lib/utils/api/tmdb-api.d.ts +8 -0
- package/lib/utils/api/tmdb-api.js +13 -0
- package/lib/utils/api/trailers-api.d.ts +8 -0
- package/lib/utils/api/trailers-api.js +13 -0
- package/lib/utils/api/tv-shows-api.d.ts +8 -0
- package/lib/utils/api/tv-shows-api.js +13 -0
- package/lib/utils/api/universal-audio-api.d.ts +8 -0
- package/lib/utils/api/universal-audio-api.js +13 -0
- package/lib/utils/api/user-api.d.ts +8 -0
- package/lib/utils/api/user-api.js +13 -0
- package/lib/utils/api/user-library-api.d.ts +8 -0
- package/lib/utils/api/user-library-api.js +13 -0
- package/lib/utils/api/user-views-api.d.ts +8 -0
- package/lib/utils/api/user-views-api.js +13 -0
- package/lib/utils/api/video-attachments-api.d.ts +8 -0
- package/lib/utils/api/video-attachments-api.js +13 -0
- package/lib/utils/api/videos-api.d.ts +8 -0
- package/lib/utils/api/videos-api.js +13 -0
- package/lib/utils/api/years-api.d.ts +8 -0
- package/lib/utils/api/years-api.js +13 -0
- package/lib/utils/authentication.d.ts +10 -0
- package/lib/utils/authentication.js +18 -0
- package/lib/utils/browser-profiles.d.ts +25 -0
- package/lib/utils/browser-profiles.js +44 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +25 -0
- package/lib/utils/normalize-url.d.ts +20 -0
- package/lib/utils/normalize-url.js +96 -0
- package/lib/utils/url.d.ts +31 -0
- package/lib/utils/url.js +54 -0
- package/openapi-templates/licenseInfo.mustache +10 -0
- package/package.json +46 -0
- package/tsconfig.json +25 -0
|
@@ -0,0 +1,1854 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6
|
+
* Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
* Jellyfin API
|
|
9
|
+
*
|
|
10
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
11
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
12
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
13
|
+
*/
|
|
14
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __assign = (this && this.__assign) || function () {
|
|
30
|
+
__assign = Object.assign || function(t) {
|
|
31
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
32
|
+
s = arguments[i];
|
|
33
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
34
|
+
t[p] = s[p];
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
};
|
|
38
|
+
return __assign.apply(this, arguments);
|
|
39
|
+
};
|
|
40
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
41
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
42
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
43
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
44
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
45
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
46
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
50
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
+
function step(op) {
|
|
54
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
+
while (_) try {
|
|
56
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
+
switch (op[0]) {
|
|
59
|
+
case 0: case 1: t = op; break;
|
|
60
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
+
default:
|
|
64
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
+
if (t[2]) _.ops.pop();
|
|
69
|
+
_.trys.pop(); continue;
|
|
70
|
+
}
|
|
71
|
+
op = body.call(thisArg, _);
|
|
72
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
77
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
78
|
+
};
|
|
79
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80
|
+
exports.SyncPlayApi = exports.SyncPlayApiFactory = exports.SyncPlayApiFp = exports.SyncPlayApiAxiosParamCreator = void 0;
|
|
81
|
+
var axios_1 = __importDefault(require("axios"));
|
|
82
|
+
// Some imports not used depending on template conditions
|
|
83
|
+
// @ts-ignore
|
|
84
|
+
var common_1 = require("../common");
|
|
85
|
+
// @ts-ignore
|
|
86
|
+
var base_1 = require("../base");
|
|
87
|
+
/**
|
|
88
|
+
* SyncPlayApi - axios parameter creator
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
var SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
92
|
+
var _this = this;
|
|
93
|
+
return {
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Notify SyncPlay group that member is buffering.
|
|
97
|
+
* @param {BufferRequestDto} bufferRequestDto The player status.
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
syncPlayBuffering: function (bufferRequestDto, options) {
|
|
102
|
+
if (options === void 0) { options = {}; }
|
|
103
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
104
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
105
|
+
return __generator(this, function (_a) {
|
|
106
|
+
switch (_a.label) {
|
|
107
|
+
case 0:
|
|
108
|
+
// verify required parameter 'bufferRequestDto' is not null or undefined
|
|
109
|
+
(0, common_1.assertParamExists)('syncPlayBuffering', 'bufferRequestDto', bufferRequestDto);
|
|
110
|
+
localVarPath = "/SyncPlay/Buffering";
|
|
111
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
}
|
|
115
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
116
|
+
localVarHeaderParameter = {};
|
|
117
|
+
localVarQueryParameter = {};
|
|
118
|
+
// authentication CustomAuthentication required
|
|
119
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
120
|
+
case 1:
|
|
121
|
+
// authentication CustomAuthentication required
|
|
122
|
+
_a.sent();
|
|
123
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
125
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bufferRequestDto, localVarRequestOptions, configuration);
|
|
128
|
+
return [2 /*return*/, {
|
|
129
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
}];
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
},
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary Create a new SyncPlay group.
|
|
139
|
+
* @param {NewGroupRequestDto} newGroupRequestDto The settings of the new group.
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
syncPlayCreateGroup: function (newGroupRequestDto, options) {
|
|
144
|
+
if (options === void 0) { options = {}; }
|
|
145
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
146
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
147
|
+
return __generator(this, function (_a) {
|
|
148
|
+
switch (_a.label) {
|
|
149
|
+
case 0:
|
|
150
|
+
// verify required parameter 'newGroupRequestDto' is not null or undefined
|
|
151
|
+
(0, common_1.assertParamExists)('syncPlayCreateGroup', 'newGroupRequestDto', newGroupRequestDto);
|
|
152
|
+
localVarPath = "/SyncPlay/New";
|
|
153
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
154
|
+
if (configuration) {
|
|
155
|
+
baseOptions = configuration.baseOptions;
|
|
156
|
+
}
|
|
157
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
158
|
+
localVarHeaderParameter = {};
|
|
159
|
+
localVarQueryParameter = {};
|
|
160
|
+
// authentication CustomAuthentication required
|
|
161
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
162
|
+
case 1:
|
|
163
|
+
// authentication CustomAuthentication required
|
|
164
|
+
_a.sent();
|
|
165
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
166
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
167
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
169
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(newGroupRequestDto, localVarRequestOptions, configuration);
|
|
170
|
+
return [2 /*return*/, {
|
|
171
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
172
|
+
options: localVarRequestOptions,
|
|
173
|
+
}];
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
},
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary Gets all SyncPlay groups.
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
syncPlayGetGroups: function (options) {
|
|
185
|
+
if (options === void 0) { options = {}; }
|
|
186
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
187
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
188
|
+
return __generator(this, function (_a) {
|
|
189
|
+
switch (_a.label) {
|
|
190
|
+
case 0:
|
|
191
|
+
localVarPath = "/SyncPlay/List";
|
|
192
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
193
|
+
if (configuration) {
|
|
194
|
+
baseOptions = configuration.baseOptions;
|
|
195
|
+
}
|
|
196
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
197
|
+
localVarHeaderParameter = {};
|
|
198
|
+
localVarQueryParameter = {};
|
|
199
|
+
// authentication CustomAuthentication required
|
|
200
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
201
|
+
case 1:
|
|
202
|
+
// authentication CustomAuthentication required
|
|
203
|
+
_a.sent();
|
|
204
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
205
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
206
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
207
|
+
return [2 /*return*/, {
|
|
208
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
209
|
+
options: localVarRequestOptions,
|
|
210
|
+
}];
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
},
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @summary Join an existing SyncPlay group.
|
|
218
|
+
* @param {JoinGroupRequestDto} joinGroupRequestDto The group to join.
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
syncPlayJoinGroup: function (joinGroupRequestDto, options) {
|
|
223
|
+
if (options === void 0) { options = {}; }
|
|
224
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
225
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
226
|
+
return __generator(this, function (_a) {
|
|
227
|
+
switch (_a.label) {
|
|
228
|
+
case 0:
|
|
229
|
+
// verify required parameter 'joinGroupRequestDto' is not null or undefined
|
|
230
|
+
(0, common_1.assertParamExists)('syncPlayJoinGroup', 'joinGroupRequestDto', joinGroupRequestDto);
|
|
231
|
+
localVarPath = "/SyncPlay/Join";
|
|
232
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
233
|
+
if (configuration) {
|
|
234
|
+
baseOptions = configuration.baseOptions;
|
|
235
|
+
}
|
|
236
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
237
|
+
localVarHeaderParameter = {};
|
|
238
|
+
localVarQueryParameter = {};
|
|
239
|
+
// authentication CustomAuthentication required
|
|
240
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
241
|
+
case 1:
|
|
242
|
+
// authentication CustomAuthentication required
|
|
243
|
+
_a.sent();
|
|
244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
245
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
246
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
248
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(joinGroupRequestDto, localVarRequestOptions, configuration);
|
|
249
|
+
return [2 /*return*/, {
|
|
250
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
251
|
+
options: localVarRequestOptions,
|
|
252
|
+
}];
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Leave the joined SyncPlay group.
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
syncPlayLeaveGroup: function (options) {
|
|
264
|
+
if (options === void 0) { options = {}; }
|
|
265
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
266
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
switch (_a.label) {
|
|
269
|
+
case 0:
|
|
270
|
+
localVarPath = "/SyncPlay/Leave";
|
|
271
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
272
|
+
if (configuration) {
|
|
273
|
+
baseOptions = configuration.baseOptions;
|
|
274
|
+
}
|
|
275
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
276
|
+
localVarHeaderParameter = {};
|
|
277
|
+
localVarQueryParameter = {};
|
|
278
|
+
// authentication CustomAuthentication required
|
|
279
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
280
|
+
case 1:
|
|
281
|
+
// authentication CustomAuthentication required
|
|
282
|
+
_a.sent();
|
|
283
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
284
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
285
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
286
|
+
return [2 /*return*/, {
|
|
287
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
288
|
+
options: localVarRequestOptions,
|
|
289
|
+
}];
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
297
|
+
* @param {MovePlaylistItemRequestDto} movePlaylistItemRequestDto The new position for the item.
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
*/
|
|
301
|
+
syncPlayMovePlaylistItem: function (movePlaylistItemRequestDto, options) {
|
|
302
|
+
if (options === void 0) { options = {}; }
|
|
303
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
304
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
305
|
+
return __generator(this, function (_a) {
|
|
306
|
+
switch (_a.label) {
|
|
307
|
+
case 0:
|
|
308
|
+
// verify required parameter 'movePlaylistItemRequestDto' is not null or undefined
|
|
309
|
+
(0, common_1.assertParamExists)('syncPlayMovePlaylistItem', 'movePlaylistItemRequestDto', movePlaylistItemRequestDto);
|
|
310
|
+
localVarPath = "/SyncPlay/MovePlaylistItem";
|
|
311
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
312
|
+
if (configuration) {
|
|
313
|
+
baseOptions = configuration.baseOptions;
|
|
314
|
+
}
|
|
315
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
316
|
+
localVarHeaderParameter = {};
|
|
317
|
+
localVarQueryParameter = {};
|
|
318
|
+
// authentication CustomAuthentication required
|
|
319
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
320
|
+
case 1:
|
|
321
|
+
// authentication CustomAuthentication required
|
|
322
|
+
_a.sent();
|
|
323
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
324
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
325
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
326
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
327
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(movePlaylistItemRequestDto, localVarRequestOptions, configuration);
|
|
328
|
+
return [2 /*return*/, {
|
|
329
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
330
|
+
options: localVarRequestOptions,
|
|
331
|
+
}];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @summary Request next item in SyncPlay group.
|
|
339
|
+
* @param {NextItemRequestDto} nextItemRequestDto The current item information.
|
|
340
|
+
* @param {*} [options] Override http request option.
|
|
341
|
+
* @throws {RequiredError}
|
|
342
|
+
*/
|
|
343
|
+
syncPlayNextItem: function (nextItemRequestDto, options) {
|
|
344
|
+
if (options === void 0) { options = {}; }
|
|
345
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
346
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
347
|
+
return __generator(this, function (_a) {
|
|
348
|
+
switch (_a.label) {
|
|
349
|
+
case 0:
|
|
350
|
+
// verify required parameter 'nextItemRequestDto' is not null or undefined
|
|
351
|
+
(0, common_1.assertParamExists)('syncPlayNextItem', 'nextItemRequestDto', nextItemRequestDto);
|
|
352
|
+
localVarPath = "/SyncPlay/NextItem";
|
|
353
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
354
|
+
if (configuration) {
|
|
355
|
+
baseOptions = configuration.baseOptions;
|
|
356
|
+
}
|
|
357
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
358
|
+
localVarHeaderParameter = {};
|
|
359
|
+
localVarQueryParameter = {};
|
|
360
|
+
// authentication CustomAuthentication required
|
|
361
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
362
|
+
case 1:
|
|
363
|
+
// authentication CustomAuthentication required
|
|
364
|
+
_a.sent();
|
|
365
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
366
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
367
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
369
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(nextItemRequestDto, localVarRequestOptions, configuration);
|
|
370
|
+
return [2 /*return*/, {
|
|
371
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
372
|
+
options: localVarRequestOptions,
|
|
373
|
+
}];
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
});
|
|
377
|
+
},
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @summary Request pause in SyncPlay group.
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
syncPlayPause: function (options) {
|
|
385
|
+
if (options === void 0) { options = {}; }
|
|
386
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
387
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
388
|
+
return __generator(this, function (_a) {
|
|
389
|
+
switch (_a.label) {
|
|
390
|
+
case 0:
|
|
391
|
+
localVarPath = "/SyncPlay/Pause";
|
|
392
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
|
+
if (configuration) {
|
|
394
|
+
baseOptions = configuration.baseOptions;
|
|
395
|
+
}
|
|
396
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
397
|
+
localVarHeaderParameter = {};
|
|
398
|
+
localVarQueryParameter = {};
|
|
399
|
+
// authentication CustomAuthentication required
|
|
400
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
401
|
+
case 1:
|
|
402
|
+
// authentication CustomAuthentication required
|
|
403
|
+
_a.sent();
|
|
404
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
405
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
406
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
407
|
+
return [2 /*return*/, {
|
|
408
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
409
|
+
options: localVarRequestOptions,
|
|
410
|
+
}];
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
});
|
|
414
|
+
},
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @summary Update session ping.
|
|
418
|
+
* @param {PingRequestDto} pingRequestDto The new ping.
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
syncPlayPing: function (pingRequestDto, options) {
|
|
423
|
+
if (options === void 0) { options = {}; }
|
|
424
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
425
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
426
|
+
return __generator(this, function (_a) {
|
|
427
|
+
switch (_a.label) {
|
|
428
|
+
case 0:
|
|
429
|
+
// verify required parameter 'pingRequestDto' is not null or undefined
|
|
430
|
+
(0, common_1.assertParamExists)('syncPlayPing', 'pingRequestDto', pingRequestDto);
|
|
431
|
+
localVarPath = "/SyncPlay/Ping";
|
|
432
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
437
|
+
localVarHeaderParameter = {};
|
|
438
|
+
localVarQueryParameter = {};
|
|
439
|
+
// authentication CustomAuthentication required
|
|
440
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
441
|
+
case 1:
|
|
442
|
+
// authentication CustomAuthentication required
|
|
443
|
+
_a.sent();
|
|
444
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
445
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
446
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
447
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
448
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(pingRequestDto, localVarRequestOptions, configuration);
|
|
449
|
+
return [2 /*return*/, {
|
|
450
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
451
|
+
options: localVarRequestOptions,
|
|
452
|
+
}];
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
});
|
|
456
|
+
},
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
* @summary Request previous item in SyncPlay group.
|
|
460
|
+
* @param {PreviousItemRequestDto} previousItemRequestDto The current item information.
|
|
461
|
+
* @param {*} [options] Override http request option.
|
|
462
|
+
* @throws {RequiredError}
|
|
463
|
+
*/
|
|
464
|
+
syncPlayPreviousItem: function (previousItemRequestDto, options) {
|
|
465
|
+
if (options === void 0) { options = {}; }
|
|
466
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
467
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
468
|
+
return __generator(this, function (_a) {
|
|
469
|
+
switch (_a.label) {
|
|
470
|
+
case 0:
|
|
471
|
+
// verify required parameter 'previousItemRequestDto' is not null or undefined
|
|
472
|
+
(0, common_1.assertParamExists)('syncPlayPreviousItem', 'previousItemRequestDto', previousItemRequestDto);
|
|
473
|
+
localVarPath = "/SyncPlay/PreviousItem";
|
|
474
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
475
|
+
if (configuration) {
|
|
476
|
+
baseOptions = configuration.baseOptions;
|
|
477
|
+
}
|
|
478
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
479
|
+
localVarHeaderParameter = {};
|
|
480
|
+
localVarQueryParameter = {};
|
|
481
|
+
// authentication CustomAuthentication required
|
|
482
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
483
|
+
case 1:
|
|
484
|
+
// authentication CustomAuthentication required
|
|
485
|
+
_a.sent();
|
|
486
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
487
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
488
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
489
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
490
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(previousItemRequestDto, localVarRequestOptions, configuration);
|
|
491
|
+
return [2 /*return*/, {
|
|
492
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
493
|
+
options: localVarRequestOptions,
|
|
494
|
+
}];
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
});
|
|
498
|
+
},
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
502
|
+
* @param {QueueRequestDto} queueRequestDto The items to add.
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
syncPlayQueue: function (queueRequestDto, options) {
|
|
507
|
+
if (options === void 0) { options = {}; }
|
|
508
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
509
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
510
|
+
return __generator(this, function (_a) {
|
|
511
|
+
switch (_a.label) {
|
|
512
|
+
case 0:
|
|
513
|
+
// verify required parameter 'queueRequestDto' is not null or undefined
|
|
514
|
+
(0, common_1.assertParamExists)('syncPlayQueue', 'queueRequestDto', queueRequestDto);
|
|
515
|
+
localVarPath = "/SyncPlay/Queue";
|
|
516
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
517
|
+
if (configuration) {
|
|
518
|
+
baseOptions = configuration.baseOptions;
|
|
519
|
+
}
|
|
520
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
521
|
+
localVarHeaderParameter = {};
|
|
522
|
+
localVarQueryParameter = {};
|
|
523
|
+
// authentication CustomAuthentication required
|
|
524
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
525
|
+
case 1:
|
|
526
|
+
// authentication CustomAuthentication required
|
|
527
|
+
_a.sent();
|
|
528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
529
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
530
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
531
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
532
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(queueRequestDto, localVarRequestOptions, configuration);
|
|
533
|
+
return [2 /*return*/, {
|
|
534
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
535
|
+
options: localVarRequestOptions,
|
|
536
|
+
}];
|
|
537
|
+
}
|
|
538
|
+
});
|
|
539
|
+
});
|
|
540
|
+
},
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @summary Notify SyncPlay group that member is ready for playback.
|
|
544
|
+
* @param {ReadyRequestDto} readyRequestDto The player status.
|
|
545
|
+
* @param {*} [options] Override http request option.
|
|
546
|
+
* @throws {RequiredError}
|
|
547
|
+
*/
|
|
548
|
+
syncPlayReady: function (readyRequestDto, options) {
|
|
549
|
+
if (options === void 0) { options = {}; }
|
|
550
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
551
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
552
|
+
return __generator(this, function (_a) {
|
|
553
|
+
switch (_a.label) {
|
|
554
|
+
case 0:
|
|
555
|
+
// verify required parameter 'readyRequestDto' is not null or undefined
|
|
556
|
+
(0, common_1.assertParamExists)('syncPlayReady', 'readyRequestDto', readyRequestDto);
|
|
557
|
+
localVarPath = "/SyncPlay/Ready";
|
|
558
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
559
|
+
if (configuration) {
|
|
560
|
+
baseOptions = configuration.baseOptions;
|
|
561
|
+
}
|
|
562
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
563
|
+
localVarHeaderParameter = {};
|
|
564
|
+
localVarQueryParameter = {};
|
|
565
|
+
// authentication CustomAuthentication required
|
|
566
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
567
|
+
case 1:
|
|
568
|
+
// authentication CustomAuthentication required
|
|
569
|
+
_a.sent();
|
|
570
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
571
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
572
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
573
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
574
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(readyRequestDto, localVarRequestOptions, configuration);
|
|
575
|
+
return [2 /*return*/, {
|
|
576
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
577
|
+
options: localVarRequestOptions,
|
|
578
|
+
}];
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
});
|
|
582
|
+
},
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
586
|
+
* @param {RemoveFromPlaylistRequestDto} removeFromPlaylistRequestDto The items to remove.
|
|
587
|
+
* @param {*} [options] Override http request option.
|
|
588
|
+
* @throws {RequiredError}
|
|
589
|
+
*/
|
|
590
|
+
syncPlayRemoveFromPlaylist: function (removeFromPlaylistRequestDto, options) {
|
|
591
|
+
if (options === void 0) { options = {}; }
|
|
592
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
593
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
594
|
+
return __generator(this, function (_a) {
|
|
595
|
+
switch (_a.label) {
|
|
596
|
+
case 0:
|
|
597
|
+
// verify required parameter 'removeFromPlaylistRequestDto' is not null or undefined
|
|
598
|
+
(0, common_1.assertParamExists)('syncPlayRemoveFromPlaylist', 'removeFromPlaylistRequestDto', removeFromPlaylistRequestDto);
|
|
599
|
+
localVarPath = "/SyncPlay/RemoveFromPlaylist";
|
|
600
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
601
|
+
if (configuration) {
|
|
602
|
+
baseOptions = configuration.baseOptions;
|
|
603
|
+
}
|
|
604
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
605
|
+
localVarHeaderParameter = {};
|
|
606
|
+
localVarQueryParameter = {};
|
|
607
|
+
// authentication CustomAuthentication required
|
|
608
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
609
|
+
case 1:
|
|
610
|
+
// authentication CustomAuthentication required
|
|
611
|
+
_a.sent();
|
|
612
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
613
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
614
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
615
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
616
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(removeFromPlaylistRequestDto, localVarRequestOptions, configuration);
|
|
617
|
+
return [2 /*return*/, {
|
|
618
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
619
|
+
options: localVarRequestOptions,
|
|
620
|
+
}];
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
});
|
|
624
|
+
},
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @summary Request seek in SyncPlay group.
|
|
628
|
+
* @param {SeekRequestDto} seekRequestDto The new playback position.
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
*/
|
|
632
|
+
syncPlaySeek: function (seekRequestDto, options) {
|
|
633
|
+
if (options === void 0) { options = {}; }
|
|
634
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
635
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
636
|
+
return __generator(this, function (_a) {
|
|
637
|
+
switch (_a.label) {
|
|
638
|
+
case 0:
|
|
639
|
+
// verify required parameter 'seekRequestDto' is not null or undefined
|
|
640
|
+
(0, common_1.assertParamExists)('syncPlaySeek', 'seekRequestDto', seekRequestDto);
|
|
641
|
+
localVarPath = "/SyncPlay/Seek";
|
|
642
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
643
|
+
if (configuration) {
|
|
644
|
+
baseOptions = configuration.baseOptions;
|
|
645
|
+
}
|
|
646
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
647
|
+
localVarHeaderParameter = {};
|
|
648
|
+
localVarQueryParameter = {};
|
|
649
|
+
// authentication CustomAuthentication required
|
|
650
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
651
|
+
case 1:
|
|
652
|
+
// authentication CustomAuthentication required
|
|
653
|
+
_a.sent();
|
|
654
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
655
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
656
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
657
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
658
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seekRequestDto, localVarRequestOptions, configuration);
|
|
659
|
+
return [2 /*return*/, {
|
|
660
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
661
|
+
options: localVarRequestOptions,
|
|
662
|
+
}];
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
});
|
|
666
|
+
},
|
|
667
|
+
/**
|
|
668
|
+
*
|
|
669
|
+
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
670
|
+
* @param {IgnoreWaitRequestDto} ignoreWaitRequestDto The settings to set.
|
|
671
|
+
* @param {*} [options] Override http request option.
|
|
672
|
+
* @throws {RequiredError}
|
|
673
|
+
*/
|
|
674
|
+
syncPlaySetIgnoreWait: function (ignoreWaitRequestDto, options) {
|
|
675
|
+
if (options === void 0) { options = {}; }
|
|
676
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
677
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
678
|
+
return __generator(this, function (_a) {
|
|
679
|
+
switch (_a.label) {
|
|
680
|
+
case 0:
|
|
681
|
+
// verify required parameter 'ignoreWaitRequestDto' is not null or undefined
|
|
682
|
+
(0, common_1.assertParamExists)('syncPlaySetIgnoreWait', 'ignoreWaitRequestDto', ignoreWaitRequestDto);
|
|
683
|
+
localVarPath = "/SyncPlay/SetIgnoreWait";
|
|
684
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
685
|
+
if (configuration) {
|
|
686
|
+
baseOptions = configuration.baseOptions;
|
|
687
|
+
}
|
|
688
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
689
|
+
localVarHeaderParameter = {};
|
|
690
|
+
localVarQueryParameter = {};
|
|
691
|
+
// authentication CustomAuthentication required
|
|
692
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
693
|
+
case 1:
|
|
694
|
+
// authentication CustomAuthentication required
|
|
695
|
+
_a.sent();
|
|
696
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
697
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
698
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
699
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
700
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ignoreWaitRequestDto, localVarRequestOptions, configuration);
|
|
701
|
+
return [2 /*return*/, {
|
|
702
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
703
|
+
options: localVarRequestOptions,
|
|
704
|
+
}];
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
});
|
|
708
|
+
},
|
|
709
|
+
/**
|
|
710
|
+
*
|
|
711
|
+
* @summary Request to set new playlist in SyncPlay group.
|
|
712
|
+
* @param {PlayRequestDto} playRequestDto The new playlist to play in the group.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
syncPlaySetNewQueue: function (playRequestDto, options) {
|
|
717
|
+
if (options === void 0) { options = {}; }
|
|
718
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
719
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
720
|
+
return __generator(this, function (_a) {
|
|
721
|
+
switch (_a.label) {
|
|
722
|
+
case 0:
|
|
723
|
+
// verify required parameter 'playRequestDto' is not null or undefined
|
|
724
|
+
(0, common_1.assertParamExists)('syncPlaySetNewQueue', 'playRequestDto', playRequestDto);
|
|
725
|
+
localVarPath = "/SyncPlay/SetNewQueue";
|
|
726
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
727
|
+
if (configuration) {
|
|
728
|
+
baseOptions = configuration.baseOptions;
|
|
729
|
+
}
|
|
730
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
731
|
+
localVarHeaderParameter = {};
|
|
732
|
+
localVarQueryParameter = {};
|
|
733
|
+
// authentication CustomAuthentication required
|
|
734
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
735
|
+
case 1:
|
|
736
|
+
// authentication CustomAuthentication required
|
|
737
|
+
_a.sent();
|
|
738
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
739
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
740
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
741
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
742
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(playRequestDto, localVarRequestOptions, configuration);
|
|
743
|
+
return [2 /*return*/, {
|
|
744
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
745
|
+
options: localVarRequestOptions,
|
|
746
|
+
}];
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
});
|
|
750
|
+
},
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @summary Request to change playlist item in SyncPlay group.
|
|
754
|
+
* @param {SetPlaylistItemRequestDto} setPlaylistItemRequestDto The new item to play.
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
*/
|
|
758
|
+
syncPlaySetPlaylistItem: function (setPlaylistItemRequestDto, options) {
|
|
759
|
+
if (options === void 0) { options = {}; }
|
|
760
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
761
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
762
|
+
return __generator(this, function (_a) {
|
|
763
|
+
switch (_a.label) {
|
|
764
|
+
case 0:
|
|
765
|
+
// verify required parameter 'setPlaylistItemRequestDto' is not null or undefined
|
|
766
|
+
(0, common_1.assertParamExists)('syncPlaySetPlaylistItem', 'setPlaylistItemRequestDto', setPlaylistItemRequestDto);
|
|
767
|
+
localVarPath = "/SyncPlay/SetPlaylistItem";
|
|
768
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
769
|
+
if (configuration) {
|
|
770
|
+
baseOptions = configuration.baseOptions;
|
|
771
|
+
}
|
|
772
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
773
|
+
localVarHeaderParameter = {};
|
|
774
|
+
localVarQueryParameter = {};
|
|
775
|
+
// authentication CustomAuthentication required
|
|
776
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
777
|
+
case 1:
|
|
778
|
+
// authentication CustomAuthentication required
|
|
779
|
+
_a.sent();
|
|
780
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
781
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
782
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
784
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setPlaylistItemRequestDto, localVarRequestOptions, configuration);
|
|
785
|
+
return [2 /*return*/, {
|
|
786
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
787
|
+
options: localVarRequestOptions,
|
|
788
|
+
}];
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
});
|
|
792
|
+
},
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @summary Request to set repeat mode in SyncPlay group.
|
|
796
|
+
* @param {SetRepeatModeRequestDto} setRepeatModeRequestDto The new repeat mode.
|
|
797
|
+
* @param {*} [options] Override http request option.
|
|
798
|
+
* @throws {RequiredError}
|
|
799
|
+
*/
|
|
800
|
+
syncPlaySetRepeatMode: function (setRepeatModeRequestDto, options) {
|
|
801
|
+
if (options === void 0) { options = {}; }
|
|
802
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
803
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
804
|
+
return __generator(this, function (_a) {
|
|
805
|
+
switch (_a.label) {
|
|
806
|
+
case 0:
|
|
807
|
+
// verify required parameter 'setRepeatModeRequestDto' is not null or undefined
|
|
808
|
+
(0, common_1.assertParamExists)('syncPlaySetRepeatMode', 'setRepeatModeRequestDto', setRepeatModeRequestDto);
|
|
809
|
+
localVarPath = "/SyncPlay/SetRepeatMode";
|
|
810
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
811
|
+
if (configuration) {
|
|
812
|
+
baseOptions = configuration.baseOptions;
|
|
813
|
+
}
|
|
814
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
815
|
+
localVarHeaderParameter = {};
|
|
816
|
+
localVarQueryParameter = {};
|
|
817
|
+
// authentication CustomAuthentication required
|
|
818
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
819
|
+
case 1:
|
|
820
|
+
// authentication CustomAuthentication required
|
|
821
|
+
_a.sent();
|
|
822
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
823
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
824
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
825
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
826
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setRepeatModeRequestDto, localVarRequestOptions, configuration);
|
|
827
|
+
return [2 /*return*/, {
|
|
828
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
829
|
+
options: localVarRequestOptions,
|
|
830
|
+
}];
|
|
831
|
+
}
|
|
832
|
+
});
|
|
833
|
+
});
|
|
834
|
+
},
|
|
835
|
+
/**
|
|
836
|
+
*
|
|
837
|
+
* @summary Request to set shuffle mode in SyncPlay group.
|
|
838
|
+
* @param {SetShuffleModeRequestDto} setShuffleModeRequestDto The new shuffle mode.
|
|
839
|
+
* @param {*} [options] Override http request option.
|
|
840
|
+
* @throws {RequiredError}
|
|
841
|
+
*/
|
|
842
|
+
syncPlaySetShuffleMode: function (setShuffleModeRequestDto, options) {
|
|
843
|
+
if (options === void 0) { options = {}; }
|
|
844
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
845
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
846
|
+
return __generator(this, function (_a) {
|
|
847
|
+
switch (_a.label) {
|
|
848
|
+
case 0:
|
|
849
|
+
// verify required parameter 'setShuffleModeRequestDto' is not null or undefined
|
|
850
|
+
(0, common_1.assertParamExists)('syncPlaySetShuffleMode', 'setShuffleModeRequestDto', setShuffleModeRequestDto);
|
|
851
|
+
localVarPath = "/SyncPlay/SetShuffleMode";
|
|
852
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
853
|
+
if (configuration) {
|
|
854
|
+
baseOptions = configuration.baseOptions;
|
|
855
|
+
}
|
|
856
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
857
|
+
localVarHeaderParameter = {};
|
|
858
|
+
localVarQueryParameter = {};
|
|
859
|
+
// authentication CustomAuthentication required
|
|
860
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
861
|
+
case 1:
|
|
862
|
+
// authentication CustomAuthentication required
|
|
863
|
+
_a.sent();
|
|
864
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
865
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
866
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
867
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
868
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setShuffleModeRequestDto, localVarRequestOptions, configuration);
|
|
869
|
+
return [2 /*return*/, {
|
|
870
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
871
|
+
options: localVarRequestOptions,
|
|
872
|
+
}];
|
|
873
|
+
}
|
|
874
|
+
});
|
|
875
|
+
});
|
|
876
|
+
},
|
|
877
|
+
/**
|
|
878
|
+
*
|
|
879
|
+
* @summary Request stop in SyncPlay group.
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
syncPlayStop: function (options) {
|
|
884
|
+
if (options === void 0) { options = {}; }
|
|
885
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
886
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
887
|
+
return __generator(this, function (_a) {
|
|
888
|
+
switch (_a.label) {
|
|
889
|
+
case 0:
|
|
890
|
+
localVarPath = "/SyncPlay/Stop";
|
|
891
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
892
|
+
if (configuration) {
|
|
893
|
+
baseOptions = configuration.baseOptions;
|
|
894
|
+
}
|
|
895
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
896
|
+
localVarHeaderParameter = {};
|
|
897
|
+
localVarQueryParameter = {};
|
|
898
|
+
// authentication CustomAuthentication required
|
|
899
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
900
|
+
case 1:
|
|
901
|
+
// authentication CustomAuthentication required
|
|
902
|
+
_a.sent();
|
|
903
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
904
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
905
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
906
|
+
return [2 /*return*/, {
|
|
907
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
908
|
+
options: localVarRequestOptions,
|
|
909
|
+
}];
|
|
910
|
+
}
|
|
911
|
+
});
|
|
912
|
+
});
|
|
913
|
+
},
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @summary Request unpause in SyncPlay group.
|
|
917
|
+
* @param {*} [options] Override http request option.
|
|
918
|
+
* @throws {RequiredError}
|
|
919
|
+
*/
|
|
920
|
+
syncPlayUnpause: function (options) {
|
|
921
|
+
if (options === void 0) { options = {}; }
|
|
922
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
923
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
924
|
+
return __generator(this, function (_a) {
|
|
925
|
+
switch (_a.label) {
|
|
926
|
+
case 0:
|
|
927
|
+
localVarPath = "/SyncPlay/Unpause";
|
|
928
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
929
|
+
if (configuration) {
|
|
930
|
+
baseOptions = configuration.baseOptions;
|
|
931
|
+
}
|
|
932
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
933
|
+
localVarHeaderParameter = {};
|
|
934
|
+
localVarQueryParameter = {};
|
|
935
|
+
// authentication CustomAuthentication required
|
|
936
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
937
|
+
case 1:
|
|
938
|
+
// authentication CustomAuthentication required
|
|
939
|
+
_a.sent();
|
|
940
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
941
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
942
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
943
|
+
return [2 /*return*/, {
|
|
944
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
945
|
+
options: localVarRequestOptions,
|
|
946
|
+
}];
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
});
|
|
950
|
+
},
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
exports.SyncPlayApiAxiosParamCreator = SyncPlayApiAxiosParamCreator;
|
|
954
|
+
/**
|
|
955
|
+
* SyncPlayApi - functional programming interface
|
|
956
|
+
* @export
|
|
957
|
+
*/
|
|
958
|
+
var SyncPlayApiFp = function (configuration) {
|
|
959
|
+
var localVarAxiosParamCreator = (0, exports.SyncPlayApiAxiosParamCreator)(configuration);
|
|
960
|
+
return {
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @summary Notify SyncPlay group that member is buffering.
|
|
964
|
+
* @param {BufferRequestDto} bufferRequestDto The player status.
|
|
965
|
+
* @param {*} [options] Override http request option.
|
|
966
|
+
* @throws {RequiredError}
|
|
967
|
+
*/
|
|
968
|
+
syncPlayBuffering: function (bufferRequestDto, options) {
|
|
969
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
970
|
+
var localVarAxiosArgs;
|
|
971
|
+
return __generator(this, function (_a) {
|
|
972
|
+
switch (_a.label) {
|
|
973
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayBuffering(bufferRequestDto, options)];
|
|
974
|
+
case 1:
|
|
975
|
+
localVarAxiosArgs = _a.sent();
|
|
976
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
});
|
|
980
|
+
},
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
* @summary Create a new SyncPlay group.
|
|
984
|
+
* @param {NewGroupRequestDto} newGroupRequestDto The settings of the new group.
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
syncPlayCreateGroup: function (newGroupRequestDto, options) {
|
|
989
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
990
|
+
var localVarAxiosArgs;
|
|
991
|
+
return __generator(this, function (_a) {
|
|
992
|
+
switch (_a.label) {
|
|
993
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayCreateGroup(newGroupRequestDto, options)];
|
|
994
|
+
case 1:
|
|
995
|
+
localVarAxiosArgs = _a.sent();
|
|
996
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
});
|
|
1000
|
+
},
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @summary Gets all SyncPlay groups.
|
|
1004
|
+
* @param {*} [options] Override http request option.
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
*/
|
|
1007
|
+
syncPlayGetGroups: function (options) {
|
|
1008
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1009
|
+
var localVarAxiosArgs;
|
|
1010
|
+
return __generator(this, function (_a) {
|
|
1011
|
+
switch (_a.label) {
|
|
1012
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayGetGroups(options)];
|
|
1013
|
+
case 1:
|
|
1014
|
+
localVarAxiosArgs = _a.sent();
|
|
1015
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1016
|
+
}
|
|
1017
|
+
});
|
|
1018
|
+
});
|
|
1019
|
+
},
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @summary Join an existing SyncPlay group.
|
|
1023
|
+
* @param {JoinGroupRequestDto} joinGroupRequestDto The group to join.
|
|
1024
|
+
* @param {*} [options] Override http request option.
|
|
1025
|
+
* @throws {RequiredError}
|
|
1026
|
+
*/
|
|
1027
|
+
syncPlayJoinGroup: function (joinGroupRequestDto, options) {
|
|
1028
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1029
|
+
var localVarAxiosArgs;
|
|
1030
|
+
return __generator(this, function (_a) {
|
|
1031
|
+
switch (_a.label) {
|
|
1032
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayJoinGroup(joinGroupRequestDto, options)];
|
|
1033
|
+
case 1:
|
|
1034
|
+
localVarAxiosArgs = _a.sent();
|
|
1035
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
});
|
|
1039
|
+
},
|
|
1040
|
+
/**
|
|
1041
|
+
*
|
|
1042
|
+
* @summary Leave the joined SyncPlay group.
|
|
1043
|
+
* @param {*} [options] Override http request option.
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
*/
|
|
1046
|
+
syncPlayLeaveGroup: function (options) {
|
|
1047
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1048
|
+
var localVarAxiosArgs;
|
|
1049
|
+
return __generator(this, function (_a) {
|
|
1050
|
+
switch (_a.label) {
|
|
1051
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayLeaveGroup(options)];
|
|
1052
|
+
case 1:
|
|
1053
|
+
localVarAxiosArgs = _a.sent();
|
|
1054
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
});
|
|
1058
|
+
},
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
1062
|
+
* @param {MovePlaylistItemRequestDto} movePlaylistItemRequestDto The new position for the item.
|
|
1063
|
+
* @param {*} [options] Override http request option.
|
|
1064
|
+
* @throws {RequiredError}
|
|
1065
|
+
*/
|
|
1066
|
+
syncPlayMovePlaylistItem: function (movePlaylistItemRequestDto, options) {
|
|
1067
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1068
|
+
var localVarAxiosArgs;
|
|
1069
|
+
return __generator(this, function (_a) {
|
|
1070
|
+
switch (_a.label) {
|
|
1071
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options)];
|
|
1072
|
+
case 1:
|
|
1073
|
+
localVarAxiosArgs = _a.sent();
|
|
1074
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
});
|
|
1078
|
+
},
|
|
1079
|
+
/**
|
|
1080
|
+
*
|
|
1081
|
+
* @summary Request next item in SyncPlay group.
|
|
1082
|
+
* @param {NextItemRequestDto} nextItemRequestDto The current item information.
|
|
1083
|
+
* @param {*} [options] Override http request option.
|
|
1084
|
+
* @throws {RequiredError}
|
|
1085
|
+
*/
|
|
1086
|
+
syncPlayNextItem: function (nextItemRequestDto, options) {
|
|
1087
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1088
|
+
var localVarAxiosArgs;
|
|
1089
|
+
return __generator(this, function (_a) {
|
|
1090
|
+
switch (_a.label) {
|
|
1091
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayNextItem(nextItemRequestDto, options)];
|
|
1092
|
+
case 1:
|
|
1093
|
+
localVarAxiosArgs = _a.sent();
|
|
1094
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1095
|
+
}
|
|
1096
|
+
});
|
|
1097
|
+
});
|
|
1098
|
+
},
|
|
1099
|
+
/**
|
|
1100
|
+
*
|
|
1101
|
+
* @summary Request pause in SyncPlay group.
|
|
1102
|
+
* @param {*} [options] Override http request option.
|
|
1103
|
+
* @throws {RequiredError}
|
|
1104
|
+
*/
|
|
1105
|
+
syncPlayPause: function (options) {
|
|
1106
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1107
|
+
var localVarAxiosArgs;
|
|
1108
|
+
return __generator(this, function (_a) {
|
|
1109
|
+
switch (_a.label) {
|
|
1110
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayPause(options)];
|
|
1111
|
+
case 1:
|
|
1112
|
+
localVarAxiosArgs = _a.sent();
|
|
1113
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
});
|
|
1117
|
+
},
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @summary Update session ping.
|
|
1121
|
+
* @param {PingRequestDto} pingRequestDto The new ping.
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
syncPlayPing: function (pingRequestDto, options) {
|
|
1126
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1127
|
+
var localVarAxiosArgs;
|
|
1128
|
+
return __generator(this, function (_a) {
|
|
1129
|
+
switch (_a.label) {
|
|
1130
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayPing(pingRequestDto, options)];
|
|
1131
|
+
case 1:
|
|
1132
|
+
localVarAxiosArgs = _a.sent();
|
|
1133
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1134
|
+
}
|
|
1135
|
+
});
|
|
1136
|
+
});
|
|
1137
|
+
},
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @summary Request previous item in SyncPlay group.
|
|
1141
|
+
* @param {PreviousItemRequestDto} previousItemRequestDto The current item information.
|
|
1142
|
+
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @throws {RequiredError}
|
|
1144
|
+
*/
|
|
1145
|
+
syncPlayPreviousItem: function (previousItemRequestDto, options) {
|
|
1146
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1147
|
+
var localVarAxiosArgs;
|
|
1148
|
+
return __generator(this, function (_a) {
|
|
1149
|
+
switch (_a.label) {
|
|
1150
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayPreviousItem(previousItemRequestDto, options)];
|
|
1151
|
+
case 1:
|
|
1152
|
+
localVarAxiosArgs = _a.sent();
|
|
1153
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
});
|
|
1157
|
+
},
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
1161
|
+
* @param {QueueRequestDto} queueRequestDto The items to add.
|
|
1162
|
+
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @throws {RequiredError}
|
|
1164
|
+
*/
|
|
1165
|
+
syncPlayQueue: function (queueRequestDto, options) {
|
|
1166
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1167
|
+
var localVarAxiosArgs;
|
|
1168
|
+
return __generator(this, function (_a) {
|
|
1169
|
+
switch (_a.label) {
|
|
1170
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayQueue(queueRequestDto, options)];
|
|
1171
|
+
case 1:
|
|
1172
|
+
localVarAxiosArgs = _a.sent();
|
|
1173
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1174
|
+
}
|
|
1175
|
+
});
|
|
1176
|
+
});
|
|
1177
|
+
},
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @summary Notify SyncPlay group that member is ready for playback.
|
|
1181
|
+
* @param {ReadyRequestDto} readyRequestDto The player status.
|
|
1182
|
+
* @param {*} [options] Override http request option.
|
|
1183
|
+
* @throws {RequiredError}
|
|
1184
|
+
*/
|
|
1185
|
+
syncPlayReady: function (readyRequestDto, options) {
|
|
1186
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1187
|
+
var localVarAxiosArgs;
|
|
1188
|
+
return __generator(this, function (_a) {
|
|
1189
|
+
switch (_a.label) {
|
|
1190
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayReady(readyRequestDto, options)];
|
|
1191
|
+
case 1:
|
|
1192
|
+
localVarAxiosArgs = _a.sent();
|
|
1193
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
});
|
|
1197
|
+
},
|
|
1198
|
+
/**
|
|
1199
|
+
*
|
|
1200
|
+
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
1201
|
+
* @param {RemoveFromPlaylistRequestDto} removeFromPlaylistRequestDto The items to remove.
|
|
1202
|
+
* @param {*} [options] Override http request option.
|
|
1203
|
+
* @throws {RequiredError}
|
|
1204
|
+
*/
|
|
1205
|
+
syncPlayRemoveFromPlaylist: function (removeFromPlaylistRequestDto, options) {
|
|
1206
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1207
|
+
var localVarAxiosArgs;
|
|
1208
|
+
return __generator(this, function (_a) {
|
|
1209
|
+
switch (_a.label) {
|
|
1210
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options)];
|
|
1211
|
+
case 1:
|
|
1212
|
+
localVarAxiosArgs = _a.sent();
|
|
1213
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1214
|
+
}
|
|
1215
|
+
});
|
|
1216
|
+
});
|
|
1217
|
+
},
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @summary Request seek in SyncPlay group.
|
|
1221
|
+
* @param {SeekRequestDto} seekRequestDto The new playback position.
|
|
1222
|
+
* @param {*} [options] Override http request option.
|
|
1223
|
+
* @throws {RequiredError}
|
|
1224
|
+
*/
|
|
1225
|
+
syncPlaySeek: function (seekRequestDto, options) {
|
|
1226
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1227
|
+
var localVarAxiosArgs;
|
|
1228
|
+
return __generator(this, function (_a) {
|
|
1229
|
+
switch (_a.label) {
|
|
1230
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySeek(seekRequestDto, options)];
|
|
1231
|
+
case 1:
|
|
1232
|
+
localVarAxiosArgs = _a.sent();
|
|
1233
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1234
|
+
}
|
|
1235
|
+
});
|
|
1236
|
+
});
|
|
1237
|
+
},
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
1241
|
+
* @param {IgnoreWaitRequestDto} ignoreWaitRequestDto The settings to set.
|
|
1242
|
+
* @param {*} [options] Override http request option.
|
|
1243
|
+
* @throws {RequiredError}
|
|
1244
|
+
*/
|
|
1245
|
+
syncPlaySetIgnoreWait: function (ignoreWaitRequestDto, options) {
|
|
1246
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1247
|
+
var localVarAxiosArgs;
|
|
1248
|
+
return __generator(this, function (_a) {
|
|
1249
|
+
switch (_a.label) {
|
|
1250
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options)];
|
|
1251
|
+
case 1:
|
|
1252
|
+
localVarAxiosArgs = _a.sent();
|
|
1253
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1254
|
+
}
|
|
1255
|
+
});
|
|
1256
|
+
});
|
|
1257
|
+
},
|
|
1258
|
+
/**
|
|
1259
|
+
*
|
|
1260
|
+
* @summary Request to set new playlist in SyncPlay group.
|
|
1261
|
+
* @param {PlayRequestDto} playRequestDto The new playlist to play in the group.
|
|
1262
|
+
* @param {*} [options] Override http request option.
|
|
1263
|
+
* @throws {RequiredError}
|
|
1264
|
+
*/
|
|
1265
|
+
syncPlaySetNewQueue: function (playRequestDto, options) {
|
|
1266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1267
|
+
var localVarAxiosArgs;
|
|
1268
|
+
return __generator(this, function (_a) {
|
|
1269
|
+
switch (_a.label) {
|
|
1270
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySetNewQueue(playRequestDto, options)];
|
|
1271
|
+
case 1:
|
|
1272
|
+
localVarAxiosArgs = _a.sent();
|
|
1273
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1274
|
+
}
|
|
1275
|
+
});
|
|
1276
|
+
});
|
|
1277
|
+
},
|
|
1278
|
+
/**
|
|
1279
|
+
*
|
|
1280
|
+
* @summary Request to change playlist item in SyncPlay group.
|
|
1281
|
+
* @param {SetPlaylistItemRequestDto} setPlaylistItemRequestDto The new item to play.
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @throws {RequiredError}
|
|
1284
|
+
*/
|
|
1285
|
+
syncPlaySetPlaylistItem: function (setPlaylistItemRequestDto, options) {
|
|
1286
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1287
|
+
var localVarAxiosArgs;
|
|
1288
|
+
return __generator(this, function (_a) {
|
|
1289
|
+
switch (_a.label) {
|
|
1290
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options)];
|
|
1291
|
+
case 1:
|
|
1292
|
+
localVarAxiosArgs = _a.sent();
|
|
1293
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1294
|
+
}
|
|
1295
|
+
});
|
|
1296
|
+
});
|
|
1297
|
+
},
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @summary Request to set repeat mode in SyncPlay group.
|
|
1301
|
+
* @param {SetRepeatModeRequestDto} setRepeatModeRequestDto The new repeat mode.
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
*/
|
|
1305
|
+
syncPlaySetRepeatMode: function (setRepeatModeRequestDto, options) {
|
|
1306
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1307
|
+
var localVarAxiosArgs;
|
|
1308
|
+
return __generator(this, function (_a) {
|
|
1309
|
+
switch (_a.label) {
|
|
1310
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySetRepeatMode(setRepeatModeRequestDto, options)];
|
|
1311
|
+
case 1:
|
|
1312
|
+
localVarAxiosArgs = _a.sent();
|
|
1313
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1314
|
+
}
|
|
1315
|
+
});
|
|
1316
|
+
});
|
|
1317
|
+
},
|
|
1318
|
+
/**
|
|
1319
|
+
*
|
|
1320
|
+
* @summary Request to set shuffle mode in SyncPlay group.
|
|
1321
|
+
* @param {SetShuffleModeRequestDto} setShuffleModeRequestDto The new shuffle mode.
|
|
1322
|
+
* @param {*} [options] Override http request option.
|
|
1323
|
+
* @throws {RequiredError}
|
|
1324
|
+
*/
|
|
1325
|
+
syncPlaySetShuffleMode: function (setShuffleModeRequestDto, options) {
|
|
1326
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1327
|
+
var localVarAxiosArgs;
|
|
1328
|
+
return __generator(this, function (_a) {
|
|
1329
|
+
switch (_a.label) {
|
|
1330
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlaySetShuffleMode(setShuffleModeRequestDto, options)];
|
|
1331
|
+
case 1:
|
|
1332
|
+
localVarAxiosArgs = _a.sent();
|
|
1333
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1334
|
+
}
|
|
1335
|
+
});
|
|
1336
|
+
});
|
|
1337
|
+
},
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @summary Request stop in SyncPlay group.
|
|
1341
|
+
* @param {*} [options] Override http request option.
|
|
1342
|
+
* @throws {RequiredError}
|
|
1343
|
+
*/
|
|
1344
|
+
syncPlayStop: function (options) {
|
|
1345
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1346
|
+
var localVarAxiosArgs;
|
|
1347
|
+
return __generator(this, function (_a) {
|
|
1348
|
+
switch (_a.label) {
|
|
1349
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayStop(options)];
|
|
1350
|
+
case 1:
|
|
1351
|
+
localVarAxiosArgs = _a.sent();
|
|
1352
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1353
|
+
}
|
|
1354
|
+
});
|
|
1355
|
+
});
|
|
1356
|
+
},
|
|
1357
|
+
/**
|
|
1358
|
+
*
|
|
1359
|
+
* @summary Request unpause in SyncPlay group.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
syncPlayUnpause: function (options) {
|
|
1364
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1365
|
+
var localVarAxiosArgs;
|
|
1366
|
+
return __generator(this, function (_a) {
|
|
1367
|
+
switch (_a.label) {
|
|
1368
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.syncPlayUnpause(options)];
|
|
1369
|
+
case 1:
|
|
1370
|
+
localVarAxiosArgs = _a.sent();
|
|
1371
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1372
|
+
}
|
|
1373
|
+
});
|
|
1374
|
+
});
|
|
1375
|
+
},
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
exports.SyncPlayApiFp = SyncPlayApiFp;
|
|
1379
|
+
/**
|
|
1380
|
+
* SyncPlayApi - factory interface
|
|
1381
|
+
* @export
|
|
1382
|
+
*/
|
|
1383
|
+
var SyncPlayApiFactory = function (configuration, basePath, axios) {
|
|
1384
|
+
var localVarFp = (0, exports.SyncPlayApiFp)(configuration);
|
|
1385
|
+
return {
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @summary Notify SyncPlay group that member is buffering.
|
|
1389
|
+
* @param {BufferRequestDto} bufferRequestDto The player status.
|
|
1390
|
+
* @param {*} [options] Override http request option.
|
|
1391
|
+
* @throws {RequiredError}
|
|
1392
|
+
*/
|
|
1393
|
+
syncPlayBuffering: function (bufferRequestDto, options) {
|
|
1394
|
+
return localVarFp.syncPlayBuffering(bufferRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1395
|
+
},
|
|
1396
|
+
/**
|
|
1397
|
+
*
|
|
1398
|
+
* @summary Create a new SyncPlay group.
|
|
1399
|
+
* @param {NewGroupRequestDto} newGroupRequestDto The settings of the new group.
|
|
1400
|
+
* @param {*} [options] Override http request option.
|
|
1401
|
+
* @throws {RequiredError}
|
|
1402
|
+
*/
|
|
1403
|
+
syncPlayCreateGroup: function (newGroupRequestDto, options) {
|
|
1404
|
+
return localVarFp.syncPlayCreateGroup(newGroupRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1405
|
+
},
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @summary Gets all SyncPlay groups.
|
|
1409
|
+
* @param {*} [options] Override http request option.
|
|
1410
|
+
* @throws {RequiredError}
|
|
1411
|
+
*/
|
|
1412
|
+
syncPlayGetGroups: function (options) {
|
|
1413
|
+
return localVarFp.syncPlayGetGroups(options).then(function (request) { return request(axios, basePath); });
|
|
1414
|
+
},
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* @summary Join an existing SyncPlay group.
|
|
1418
|
+
* @param {JoinGroupRequestDto} joinGroupRequestDto The group to join.
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
syncPlayJoinGroup: function (joinGroupRequestDto, options) {
|
|
1423
|
+
return localVarFp.syncPlayJoinGroup(joinGroupRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1424
|
+
},
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @summary Leave the joined SyncPlay group.
|
|
1428
|
+
* @param {*} [options] Override http request option.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
*/
|
|
1431
|
+
syncPlayLeaveGroup: function (options) {
|
|
1432
|
+
return localVarFp.syncPlayLeaveGroup(options).then(function (request) { return request(axios, basePath); });
|
|
1433
|
+
},
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
1437
|
+
* @param {MovePlaylistItemRequestDto} movePlaylistItemRequestDto The new position for the item.
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
syncPlayMovePlaylistItem: function (movePlaylistItemRequestDto, options) {
|
|
1442
|
+
return localVarFp.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1443
|
+
},
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @summary Request next item in SyncPlay group.
|
|
1447
|
+
* @param {NextItemRequestDto} nextItemRequestDto The current item information.
|
|
1448
|
+
* @param {*} [options] Override http request option.
|
|
1449
|
+
* @throws {RequiredError}
|
|
1450
|
+
*/
|
|
1451
|
+
syncPlayNextItem: function (nextItemRequestDto, options) {
|
|
1452
|
+
return localVarFp.syncPlayNextItem(nextItemRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1453
|
+
},
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @summary Request pause in SyncPlay group.
|
|
1457
|
+
* @param {*} [options] Override http request option.
|
|
1458
|
+
* @throws {RequiredError}
|
|
1459
|
+
*/
|
|
1460
|
+
syncPlayPause: function (options) {
|
|
1461
|
+
return localVarFp.syncPlayPause(options).then(function (request) { return request(axios, basePath); });
|
|
1462
|
+
},
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @summary Update session ping.
|
|
1466
|
+
* @param {PingRequestDto} pingRequestDto The new ping.
|
|
1467
|
+
* @param {*} [options] Override http request option.
|
|
1468
|
+
* @throws {RequiredError}
|
|
1469
|
+
*/
|
|
1470
|
+
syncPlayPing: function (pingRequestDto, options) {
|
|
1471
|
+
return localVarFp.syncPlayPing(pingRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1472
|
+
},
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @summary Request previous item in SyncPlay group.
|
|
1476
|
+
* @param {PreviousItemRequestDto} previousItemRequestDto The current item information.
|
|
1477
|
+
* @param {*} [options] Override http request option.
|
|
1478
|
+
* @throws {RequiredError}
|
|
1479
|
+
*/
|
|
1480
|
+
syncPlayPreviousItem: function (previousItemRequestDto, options) {
|
|
1481
|
+
return localVarFp.syncPlayPreviousItem(previousItemRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1482
|
+
},
|
|
1483
|
+
/**
|
|
1484
|
+
*
|
|
1485
|
+
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
1486
|
+
* @param {QueueRequestDto} queueRequestDto The items to add.
|
|
1487
|
+
* @param {*} [options] Override http request option.
|
|
1488
|
+
* @throws {RequiredError}
|
|
1489
|
+
*/
|
|
1490
|
+
syncPlayQueue: function (queueRequestDto, options) {
|
|
1491
|
+
return localVarFp.syncPlayQueue(queueRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1492
|
+
},
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @summary Notify SyncPlay group that member is ready for playback.
|
|
1496
|
+
* @param {ReadyRequestDto} readyRequestDto The player status.
|
|
1497
|
+
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @throws {RequiredError}
|
|
1499
|
+
*/
|
|
1500
|
+
syncPlayReady: function (readyRequestDto, options) {
|
|
1501
|
+
return localVarFp.syncPlayReady(readyRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1502
|
+
},
|
|
1503
|
+
/**
|
|
1504
|
+
*
|
|
1505
|
+
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
1506
|
+
* @param {RemoveFromPlaylistRequestDto} removeFromPlaylistRequestDto The items to remove.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
*/
|
|
1510
|
+
syncPlayRemoveFromPlaylist: function (removeFromPlaylistRequestDto, options) {
|
|
1511
|
+
return localVarFp.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1512
|
+
},
|
|
1513
|
+
/**
|
|
1514
|
+
*
|
|
1515
|
+
* @summary Request seek in SyncPlay group.
|
|
1516
|
+
* @param {SeekRequestDto} seekRequestDto The new playback position.
|
|
1517
|
+
* @param {*} [options] Override http request option.
|
|
1518
|
+
* @throws {RequiredError}
|
|
1519
|
+
*/
|
|
1520
|
+
syncPlaySeek: function (seekRequestDto, options) {
|
|
1521
|
+
return localVarFp.syncPlaySeek(seekRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1522
|
+
},
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
1526
|
+
* @param {IgnoreWaitRequestDto} ignoreWaitRequestDto The settings to set.
|
|
1527
|
+
* @param {*} [options] Override http request option.
|
|
1528
|
+
* @throws {RequiredError}
|
|
1529
|
+
*/
|
|
1530
|
+
syncPlaySetIgnoreWait: function (ignoreWaitRequestDto, options) {
|
|
1531
|
+
return localVarFp.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @summary Request to set new playlist in SyncPlay group.
|
|
1536
|
+
* @param {PlayRequestDto} playRequestDto The new playlist to play in the group.
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
syncPlaySetNewQueue: function (playRequestDto, options) {
|
|
1541
|
+
return localVarFp.syncPlaySetNewQueue(playRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1542
|
+
},
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @summary Request to change playlist item in SyncPlay group.
|
|
1546
|
+
* @param {SetPlaylistItemRequestDto} setPlaylistItemRequestDto The new item to play.
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
syncPlaySetPlaylistItem: function (setPlaylistItemRequestDto, options) {
|
|
1551
|
+
return localVarFp.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1552
|
+
},
|
|
1553
|
+
/**
|
|
1554
|
+
*
|
|
1555
|
+
* @summary Request to set repeat mode in SyncPlay group.
|
|
1556
|
+
* @param {SetRepeatModeRequestDto} setRepeatModeRequestDto The new repeat mode.
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
syncPlaySetRepeatMode: function (setRepeatModeRequestDto, options) {
|
|
1561
|
+
return localVarFp.syncPlaySetRepeatMode(setRepeatModeRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1562
|
+
},
|
|
1563
|
+
/**
|
|
1564
|
+
*
|
|
1565
|
+
* @summary Request to set shuffle mode in SyncPlay group.
|
|
1566
|
+
* @param {SetShuffleModeRequestDto} setShuffleModeRequestDto The new shuffle mode.
|
|
1567
|
+
* @param {*} [options] Override http request option.
|
|
1568
|
+
* @throws {RequiredError}
|
|
1569
|
+
*/
|
|
1570
|
+
syncPlaySetShuffleMode: function (setShuffleModeRequestDto, options) {
|
|
1571
|
+
return localVarFp.syncPlaySetShuffleMode(setShuffleModeRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
1572
|
+
},
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @summary Request stop in SyncPlay group.
|
|
1576
|
+
* @param {*} [options] Override http request option.
|
|
1577
|
+
* @throws {RequiredError}
|
|
1578
|
+
*/
|
|
1579
|
+
syncPlayStop: function (options) {
|
|
1580
|
+
return localVarFp.syncPlayStop(options).then(function (request) { return request(axios, basePath); });
|
|
1581
|
+
},
|
|
1582
|
+
/**
|
|
1583
|
+
*
|
|
1584
|
+
* @summary Request unpause in SyncPlay group.
|
|
1585
|
+
* @param {*} [options] Override http request option.
|
|
1586
|
+
* @throws {RequiredError}
|
|
1587
|
+
*/
|
|
1588
|
+
syncPlayUnpause: function (options) {
|
|
1589
|
+
return localVarFp.syncPlayUnpause(options).then(function (request) { return request(axios, basePath); });
|
|
1590
|
+
},
|
|
1591
|
+
};
|
|
1592
|
+
};
|
|
1593
|
+
exports.SyncPlayApiFactory = SyncPlayApiFactory;
|
|
1594
|
+
/**
|
|
1595
|
+
* SyncPlayApi - object-oriented interface
|
|
1596
|
+
* @export
|
|
1597
|
+
* @class SyncPlayApi
|
|
1598
|
+
* @extends {BaseAPI}
|
|
1599
|
+
*/
|
|
1600
|
+
var SyncPlayApi = /** @class */ (function (_super) {
|
|
1601
|
+
__extends(SyncPlayApi, _super);
|
|
1602
|
+
function SyncPlayApi() {
|
|
1603
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
*
|
|
1607
|
+
* @summary Notify SyncPlay group that member is buffering.
|
|
1608
|
+
* @param {SyncPlayApiSyncPlayBufferingRequest} requestParameters Request parameters.
|
|
1609
|
+
* @param {*} [options] Override http request option.
|
|
1610
|
+
* @throws {RequiredError}
|
|
1611
|
+
* @memberof SyncPlayApi
|
|
1612
|
+
*/
|
|
1613
|
+
SyncPlayApi.prototype.syncPlayBuffering = function (requestParameters, options) {
|
|
1614
|
+
var _this = this;
|
|
1615
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayBuffering(requestParameters.bufferRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @summary Create a new SyncPlay group.
|
|
1620
|
+
* @param {SyncPlayApiSyncPlayCreateGroupRequest} requestParameters Request parameters.
|
|
1621
|
+
* @param {*} [options] Override http request option.
|
|
1622
|
+
* @throws {RequiredError}
|
|
1623
|
+
* @memberof SyncPlayApi
|
|
1624
|
+
*/
|
|
1625
|
+
SyncPlayApi.prototype.syncPlayCreateGroup = function (requestParameters, options) {
|
|
1626
|
+
var _this = this;
|
|
1627
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayCreateGroup(requestParameters.newGroupRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1628
|
+
};
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @summary Gets all SyncPlay groups.
|
|
1632
|
+
* @param {*} [options] Override http request option.
|
|
1633
|
+
* @throws {RequiredError}
|
|
1634
|
+
* @memberof SyncPlayApi
|
|
1635
|
+
*/
|
|
1636
|
+
SyncPlayApi.prototype.syncPlayGetGroups = function (options) {
|
|
1637
|
+
var _this = this;
|
|
1638
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayGetGroups(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1639
|
+
};
|
|
1640
|
+
/**
|
|
1641
|
+
*
|
|
1642
|
+
* @summary Join an existing SyncPlay group.
|
|
1643
|
+
* @param {SyncPlayApiSyncPlayJoinGroupRequest} requestParameters Request parameters.
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @throws {RequiredError}
|
|
1646
|
+
* @memberof SyncPlayApi
|
|
1647
|
+
*/
|
|
1648
|
+
SyncPlayApi.prototype.syncPlayJoinGroup = function (requestParameters, options) {
|
|
1649
|
+
var _this = this;
|
|
1650
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayJoinGroup(requestParameters.joinGroupRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1651
|
+
};
|
|
1652
|
+
/**
|
|
1653
|
+
*
|
|
1654
|
+
* @summary Leave the joined SyncPlay group.
|
|
1655
|
+
* @param {*} [options] Override http request option.
|
|
1656
|
+
* @throws {RequiredError}
|
|
1657
|
+
* @memberof SyncPlayApi
|
|
1658
|
+
*/
|
|
1659
|
+
SyncPlayApi.prototype.syncPlayLeaveGroup = function (options) {
|
|
1660
|
+
var _this = this;
|
|
1661
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayLeaveGroup(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
*
|
|
1665
|
+
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
1666
|
+
* @param {SyncPlayApiSyncPlayMovePlaylistItemRequest} requestParameters Request parameters.
|
|
1667
|
+
* @param {*} [options] Override http request option.
|
|
1668
|
+
* @throws {RequiredError}
|
|
1669
|
+
* @memberof SyncPlayApi
|
|
1670
|
+
*/
|
|
1671
|
+
SyncPlayApi.prototype.syncPlayMovePlaylistItem = function (requestParameters, options) {
|
|
1672
|
+
var _this = this;
|
|
1673
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayMovePlaylistItem(requestParameters.movePlaylistItemRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @summary Request next item in SyncPlay group.
|
|
1678
|
+
* @param {SyncPlayApiSyncPlayNextItemRequest} requestParameters Request parameters.
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
* @memberof SyncPlayApi
|
|
1682
|
+
*/
|
|
1683
|
+
SyncPlayApi.prototype.syncPlayNextItem = function (requestParameters, options) {
|
|
1684
|
+
var _this = this;
|
|
1685
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayNextItem(requestParameters.nextItemRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
*
|
|
1689
|
+
* @summary Request pause in SyncPlay group.
|
|
1690
|
+
* @param {*} [options] Override http request option.
|
|
1691
|
+
* @throws {RequiredError}
|
|
1692
|
+
* @memberof SyncPlayApi
|
|
1693
|
+
*/
|
|
1694
|
+
SyncPlayApi.prototype.syncPlayPause = function (options) {
|
|
1695
|
+
var _this = this;
|
|
1696
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayPause(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1697
|
+
};
|
|
1698
|
+
/**
|
|
1699
|
+
*
|
|
1700
|
+
* @summary Update session ping.
|
|
1701
|
+
* @param {SyncPlayApiSyncPlayPingRequest} requestParameters Request parameters.
|
|
1702
|
+
* @param {*} [options] Override http request option.
|
|
1703
|
+
* @throws {RequiredError}
|
|
1704
|
+
* @memberof SyncPlayApi
|
|
1705
|
+
*/
|
|
1706
|
+
SyncPlayApi.prototype.syncPlayPing = function (requestParameters, options) {
|
|
1707
|
+
var _this = this;
|
|
1708
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayPing(requestParameters.pingRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @summary Request previous item in SyncPlay group.
|
|
1713
|
+
* @param {SyncPlayApiSyncPlayPreviousItemRequest} requestParameters Request parameters.
|
|
1714
|
+
* @param {*} [options] Override http request option.
|
|
1715
|
+
* @throws {RequiredError}
|
|
1716
|
+
* @memberof SyncPlayApi
|
|
1717
|
+
*/
|
|
1718
|
+
SyncPlayApi.prototype.syncPlayPreviousItem = function (requestParameters, options) {
|
|
1719
|
+
var _this = this;
|
|
1720
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayPreviousItem(requestParameters.previousItemRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1721
|
+
};
|
|
1722
|
+
/**
|
|
1723
|
+
*
|
|
1724
|
+
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
1725
|
+
* @param {SyncPlayApiSyncPlayQueueRequest} requestParameters Request parameters.
|
|
1726
|
+
* @param {*} [options] Override http request option.
|
|
1727
|
+
* @throws {RequiredError}
|
|
1728
|
+
* @memberof SyncPlayApi
|
|
1729
|
+
*/
|
|
1730
|
+
SyncPlayApi.prototype.syncPlayQueue = function (requestParameters, options) {
|
|
1731
|
+
var _this = this;
|
|
1732
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayQueue(requestParameters.queueRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1733
|
+
};
|
|
1734
|
+
/**
|
|
1735
|
+
*
|
|
1736
|
+
* @summary Notify SyncPlay group that member is ready for playback.
|
|
1737
|
+
* @param {SyncPlayApiSyncPlayReadyRequest} requestParameters Request parameters.
|
|
1738
|
+
* @param {*} [options] Override http request option.
|
|
1739
|
+
* @throws {RequiredError}
|
|
1740
|
+
* @memberof SyncPlayApi
|
|
1741
|
+
*/
|
|
1742
|
+
SyncPlayApi.prototype.syncPlayReady = function (requestParameters, options) {
|
|
1743
|
+
var _this = this;
|
|
1744
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayReady(requestParameters.readyRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1745
|
+
};
|
|
1746
|
+
/**
|
|
1747
|
+
*
|
|
1748
|
+
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
1749
|
+
* @param {SyncPlayApiSyncPlayRemoveFromPlaylistRequest} requestParameters Request parameters.
|
|
1750
|
+
* @param {*} [options] Override http request option.
|
|
1751
|
+
* @throws {RequiredError}
|
|
1752
|
+
* @memberof SyncPlayApi
|
|
1753
|
+
*/
|
|
1754
|
+
SyncPlayApi.prototype.syncPlayRemoveFromPlaylist = function (requestParameters, options) {
|
|
1755
|
+
var _this = this;
|
|
1756
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayRemoveFromPlaylist(requestParameters.removeFromPlaylistRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1757
|
+
};
|
|
1758
|
+
/**
|
|
1759
|
+
*
|
|
1760
|
+
* @summary Request seek in SyncPlay group.
|
|
1761
|
+
* @param {SyncPlayApiSyncPlaySeekRequest} requestParameters Request parameters.
|
|
1762
|
+
* @param {*} [options] Override http request option.
|
|
1763
|
+
* @throws {RequiredError}
|
|
1764
|
+
* @memberof SyncPlayApi
|
|
1765
|
+
*/
|
|
1766
|
+
SyncPlayApi.prototype.syncPlaySeek = function (requestParameters, options) {
|
|
1767
|
+
var _this = this;
|
|
1768
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySeek(requestParameters.seekRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
*
|
|
1772
|
+
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
1773
|
+
* @param {SyncPlayApiSyncPlaySetIgnoreWaitRequest} requestParameters Request parameters.
|
|
1774
|
+
* @param {*} [options] Override http request option.
|
|
1775
|
+
* @throws {RequiredError}
|
|
1776
|
+
* @memberof SyncPlayApi
|
|
1777
|
+
*/
|
|
1778
|
+
SyncPlayApi.prototype.syncPlaySetIgnoreWait = function (requestParameters, options) {
|
|
1779
|
+
var _this = this;
|
|
1780
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySetIgnoreWait(requestParameters.ignoreWaitRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1781
|
+
};
|
|
1782
|
+
/**
|
|
1783
|
+
*
|
|
1784
|
+
* @summary Request to set new playlist in SyncPlay group.
|
|
1785
|
+
* @param {SyncPlayApiSyncPlaySetNewQueueRequest} requestParameters Request parameters.
|
|
1786
|
+
* @param {*} [options] Override http request option.
|
|
1787
|
+
* @throws {RequiredError}
|
|
1788
|
+
* @memberof SyncPlayApi
|
|
1789
|
+
*/
|
|
1790
|
+
SyncPlayApi.prototype.syncPlaySetNewQueue = function (requestParameters, options) {
|
|
1791
|
+
var _this = this;
|
|
1792
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySetNewQueue(requestParameters.playRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1793
|
+
};
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @summary Request to change playlist item in SyncPlay group.
|
|
1797
|
+
* @param {SyncPlayApiSyncPlaySetPlaylistItemRequest} requestParameters Request parameters.
|
|
1798
|
+
* @param {*} [options] Override http request option.
|
|
1799
|
+
* @throws {RequiredError}
|
|
1800
|
+
* @memberof SyncPlayApi
|
|
1801
|
+
*/
|
|
1802
|
+
SyncPlayApi.prototype.syncPlaySetPlaylistItem = function (requestParameters, options) {
|
|
1803
|
+
var _this = this;
|
|
1804
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySetPlaylistItem(requestParameters.setPlaylistItemRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1805
|
+
};
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @summary Request to set repeat mode in SyncPlay group.
|
|
1809
|
+
* @param {SyncPlayApiSyncPlaySetRepeatModeRequest} requestParameters Request parameters.
|
|
1810
|
+
* @param {*} [options] Override http request option.
|
|
1811
|
+
* @throws {RequiredError}
|
|
1812
|
+
* @memberof SyncPlayApi
|
|
1813
|
+
*/
|
|
1814
|
+
SyncPlayApi.prototype.syncPlaySetRepeatMode = function (requestParameters, options) {
|
|
1815
|
+
var _this = this;
|
|
1816
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySetRepeatMode(requestParameters.setRepeatModeRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1817
|
+
};
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
* @summary Request to set shuffle mode in SyncPlay group.
|
|
1821
|
+
* @param {SyncPlayApiSyncPlaySetShuffleModeRequest} requestParameters Request parameters.
|
|
1822
|
+
* @param {*} [options] Override http request option.
|
|
1823
|
+
* @throws {RequiredError}
|
|
1824
|
+
* @memberof SyncPlayApi
|
|
1825
|
+
*/
|
|
1826
|
+
SyncPlayApi.prototype.syncPlaySetShuffleMode = function (requestParameters, options) {
|
|
1827
|
+
var _this = this;
|
|
1828
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlaySetShuffleMode(requestParameters.setShuffleModeRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1829
|
+
};
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @summary Request stop in SyncPlay group.
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
* @memberof SyncPlayApi
|
|
1836
|
+
*/
|
|
1837
|
+
SyncPlayApi.prototype.syncPlayStop = function (options) {
|
|
1838
|
+
var _this = this;
|
|
1839
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayStop(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
*
|
|
1843
|
+
* @summary Request unpause in SyncPlay group.
|
|
1844
|
+
* @param {*} [options] Override http request option.
|
|
1845
|
+
* @throws {RequiredError}
|
|
1846
|
+
* @memberof SyncPlayApi
|
|
1847
|
+
*/
|
|
1848
|
+
SyncPlayApi.prototype.syncPlayUnpause = function (options) {
|
|
1849
|
+
var _this = this;
|
|
1850
|
+
return (0, exports.SyncPlayApiFp)(this.configuration).syncPlayUnpause(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1851
|
+
};
|
|
1852
|
+
return SyncPlayApi;
|
|
1853
|
+
}(base_1.BaseAPI));
|
|
1854
|
+
exports.SyncPlayApi = SyncPlayApi;
|