@jellyfin/sdk 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/README.md +10 -0
  2. package/lib/api.d.ts +0 -11
  3. package/lib/api.js +0 -14
  4. package/lib/discovery/discovery-service.js +4 -9
  5. package/lib/discovery/recommended-server-discovery.js +17 -22
  6. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  7. package/lib/generated-client/api/activity-log-api.js +15 -18
  8. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  9. package/lib/generated-client/api/api-key-api.js +40 -38
  10. package/lib/generated-client/api/artists-api.d.ts +27 -90
  11. package/lib/generated-client/api/artists-api.js +43 -104
  12. package/lib/generated-client/api/audio-api.d.ts +81 -249
  13. package/lib/generated-client/api/audio-api.js +105 -266
  14. package/lib/generated-client/api/branding-api.d.ts +16 -16
  15. package/lib/generated-client/api/branding-api.js +31 -29
  16. package/lib/generated-client/api/channels-api.d.ts +33 -51
  17. package/lib/generated-client/api/channels-api.js +68 -82
  18. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  19. package/lib/generated-client/api/client-log-api.js +17 -17
  20. package/lib/generated-client/api/collection-api.d.ts +19 -24
  21. package/lib/generated-client/api/collection-api.js +43 -46
  22. package/lib/generated-client/api/configuration-api.d.ts +28 -29
  23. package/lib/generated-client/api/configuration-api.js +65 -62
  24. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  25. package/lib/generated-client/api/dashboard-api.js +28 -27
  26. package/lib/generated-client/api/devices-api.d.ts +31 -33
  27. package/lib/generated-client/api/devices-api.js +71 -68
  28. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  29. package/lib/generated-client/api/display-preferences-api.js +29 -33
  30. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  31. package/lib/generated-client/api/dynamic-hls-api.js +269 -628
  32. package/lib/generated-client/api/environment-api.d.ts +33 -35
  33. package/lib/generated-client/api/environment-api.js +76 -73
  34. package/lib/generated-client/api/filter-api.d.ts +17 -29
  35. package/lib/generated-client/api/filter-api.js +29 -40
  36. package/lib/generated-client/api/genres-api.d.ts +20 -38
  37. package/lib/generated-client/api/genres-api.js +29 -46
  38. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  39. package/lib/generated-client/api/hls-segment-api.js +68 -71
  40. package/lib/generated-client/api/image-api.d.ts +206 -644
  41. package/lib/generated-client/api/image-api.js +501 -903
  42. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  43. package/lib/generated-client/api/instant-mix-api.js +113 -162
  44. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  45. package/lib/generated-client/api/item-lookup-api.js +155 -147
  46. package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
  47. package/lib/generated-client/api/item-refresh-api.js +15 -19
  48. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  49. package/lib/generated-client/api/item-update-api.js +43 -43
  50. package/lib/generated-client/api/items-api.d.ts +44 -137
  51. package/lib/generated-client/api/items-api.js +63 -156
  52. package/lib/generated-client/api/library-api.d.ts +185 -170
  53. package/lib/generated-client/api/library-api.js +378 -359
  54. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  55. package/lib/generated-client/api/library-structure-api.js +110 -113
  56. package/lib/generated-client/api/live-tv-api.d.ts +224 -332
  57. package/lib/generated-client/api/live-tv-api.js +558 -626
  58. package/lib/generated-client/api/localization-api.d.ts +23 -23
  59. package/lib/generated-client/api/localization-api.js +45 -42
  60. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  61. package/lib/generated-client/api/lyrics-api.js +87 -85
  62. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  63. package/lib/generated-client/api/media-info-api.js +77 -95
  64. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  65. package/lib/generated-client/api/media-segments-api.js +123 -0
  66. package/lib/generated-client/api/movies-api.d.ts +10 -14
  67. package/lib/generated-client/api/movies-api.js +15 -19
  68. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  69. package/lib/generated-client/api/music-genres-api.js +29 -46
  70. package/lib/generated-client/api/package-api.d.ts +33 -37
  71. package/lib/generated-client/api/package-api.js +79 -78
  72. package/lib/generated-client/api/persons-api.d.ts +18 -31
  73. package/lib/generated-client/api/persons-api.js +29 -41
  74. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  75. package/lib/generated-client/api/playlists-api.js +207 -154
  76. package/lib/generated-client/api/playstate-api.d.ts +54 -80
  77. package/lib/generated-client/api/playstate-api.js +127 -145
  78. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  79. package/lib/generated-client/api/plugins-api.js +124 -120
  80. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  81. package/lib/generated-client/api/quick-connect-api.js +48 -46
  82. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  83. package/lib/generated-client/api/remote-image-api.js +43 -48
  84. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  85. package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
  86. package/lib/generated-client/api/search-api.d.ts +11 -28
  87. package/lib/generated-client/api/search-api.js +15 -32
  88. package/lib/generated-client/api/session-api.d.ts +90 -117
  89. package/lib/generated-client/api/session-api.js +216 -228
  90. package/lib/generated-client/api/startup-api.d.ts +37 -37
  91. package/lib/generated-client/api/startup-api.js +87 -81
  92. package/lib/generated-client/api/studios-api.d.ts +18 -35
  93. package/lib/generated-client/api/studios-api.js +29 -45
  94. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  95. package/lib/generated-client/api/subtitle-api.js +136 -158
  96. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  97. package/lib/generated-client/api/suggestions-api.js +15 -20
  98. package/lib/generated-client/api/sync-play-api.d.ts +120 -120
  99. package/lib/generated-client/api/sync-play-api.js +280 -260
  100. package/lib/generated-client/api/system-api.d.ts +49 -49
  101. package/lib/generated-client/api/system-api.js +111 -102
  102. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  103. package/lib/generated-client/api/time-sync-api.js +11 -11
  104. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  105. package/lib/generated-client/api/tmdb-api.js +12 -12
  106. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  107. package/lib/generated-client/api/trailers-api.js +15 -98
  108. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  109. package/lib/generated-client/api/trickplay-api.js +29 -33
  110. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  111. package/lib/generated-client/api/tv-shows-api.js +57 -99
  112. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  113. package/lib/generated-client/api/universal-audio-api.js +41 -64
  114. package/lib/generated-client/api/user-api.d.ts +83 -88
  115. package/lib/generated-client/api/user-api.js +186 -178
  116. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  117. package/lib/generated-client/api/user-library-api.js +141 -151
  118. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  119. package/lib/generated-client/api/user-views-api.js +29 -31
  120. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  121. package/lib/generated-client/api/video-attachments-api.js +14 -16
  122. package/lib/generated-client/api/videos-api.d.ts +97 -274
  123. package/lib/generated-client/api/videos-api.js +147 -314
  124. package/lib/generated-client/api/years-api.d.ts +21 -36
  125. package/lib/generated-client/api/years-api.js +29 -43
  126. package/lib/generated-client/api.d.ts +1 -0
  127. package/lib/generated-client/base.d.ts +15 -4
  128. package/lib/generated-client/base.js +8 -4
  129. package/lib/generated-client/common.d.ts +3 -3
  130. package/lib/generated-client/common.js +30 -24
  131. package/lib/generated-client/configuration.d.ts +8 -0
  132. package/lib/generated-client/configuration.js +1 -0
  133. package/lib/generated-client/index.js +8 -1
  134. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  135. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  136. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  137. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  138. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  139. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  140. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  141. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  142. package/lib/generated-client/models/album-info.d.ts +5 -5
  143. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  144. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  145. package/lib/generated-client/models/artist-info.d.ts +3 -3
  146. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  147. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  148. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  149. package/lib/generated-client/models/base-item-dto.d.ts +26 -26
  150. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  151. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  152. package/lib/generated-client/models/book-info.d.ts +2 -2
  153. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  154. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  155. package/lib/generated-client/models/channel-features.d.ts +3 -3
  156. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  157. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  158. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  159. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  160. package/lib/generated-client/models/container-profile.d.ts +12 -6
  161. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  162. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  163. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  164. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  165. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  166. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  167. package/lib/generated-client/models/device-info.d.ts +1 -1
  168. package/lib/generated-client/models/device-profile.d.ts +8 -8
  169. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  170. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  171. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  172. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  173. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  174. package/lib/generated-client/models/encoder-preset.js +32 -0
  175. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  176. package/lib/generated-client/models/external-id-info.d.ts +2 -1
  177. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  178. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  179. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  180. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  181. package/lib/generated-client/models/general-command.d.ts +3 -3
  182. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  183. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  184. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  185. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  186. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  187. package/lib/generated-client/models/group-update.d.ts +23 -5
  188. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  189. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  190. package/lib/generated-client/models/image-info.d.ts +1 -1
  191. package/lib/generated-client/models/image-option.d.ts +1 -1
  192. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  193. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  194. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  195. package/lib/generated-client/models/index.d.ts +13 -6
  196. package/lib/generated-client/models/index.js +7 -1
  197. package/lib/generated-client/models/installation-info.d.ts +1 -1
  198. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  199. package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
  200. package/lib/generated-client/models/library-options.d.ts +57 -3
  201. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  202. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  203. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  204. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  205. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  206. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  207. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  208. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  209. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  210. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  211. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  212. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  213. package/lib/generated-client/models/media-segment-type.js +27 -0
  214. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  215. package/lib/generated-client/models/media-stream.d.ts +17 -5
  216. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  217. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  218. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  219. package/lib/generated-client/models/movie-info.d.ts +2 -2
  220. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  221. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  222. package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
  223. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  224. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  225. package/lib/generated-client/models/package-info.d.ts +1 -1
  226. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  227. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  228. package/lib/generated-client/models/play-message.d.ts +2 -2
  229. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  230. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  231. package/lib/generated-client/models/play-request.d.ts +1 -1
  232. package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
  233. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  234. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  235. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  236. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  237. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  238. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  239. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  240. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  241. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  242. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  243. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  244. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  245. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  246. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  247. package/lib/generated-client/models/problem-details.d.ts +1 -1
  248. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  249. package/lib/generated-client/models/query-filters.d.ts +1 -1
  250. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  251. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  252. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  253. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  254. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  255. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  256. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  257. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  258. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  259. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  260. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  261. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  262. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  263. package/lib/generated-client/models/search-hint.d.ts +3 -3
  264. package/lib/generated-client/models/send-command.d.ts +1 -1
  265. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  266. package/lib/generated-client/models/series-info.d.ts +2 -2
  267. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  268. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  269. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  270. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  271. package/lib/generated-client/models/server-configuration.d.ts +8 -14
  272. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  273. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  274. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  275. package/lib/generated-client/models/session-info.d.ts +8 -8
  276. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  277. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  278. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  279. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  280. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  281. package/lib/generated-client/models/song-info.d.ts +2 -2
  282. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  283. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  284. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  285. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  286. package/lib/generated-client/models/system-info.d.ts +2 -2
  287. package/lib/generated-client/models/task-info.d.ts +3 -3
  288. package/lib/generated-client/models/task-result.d.ts +1 -1
  289. package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
  290. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  291. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  292. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  293. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  294. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  295. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  296. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  297. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  298. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  299. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  300. package/lib/generated-client/models/tonemapping-range.js +24 -0
  301. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  302. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  303. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  304. package/lib/generated-client/models/transcode-reason.js +2 -1
  305. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  306. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  307. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  308. package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
  309. package/lib/generated-client/models/type-options.d.ts +1 -1
  310. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  311. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  312. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  313. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  314. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  315. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  316. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  317. package/lib/generated-client/models/user-dto.d.ts +2 -2
  318. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  319. package/lib/generated-client/models/user-policy.d.ts +3 -3
  320. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  321. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  322. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  323. package/lib/utils/address-candidates.js +15 -10
  324. package/lib/utils/api/image-urls-api.js +16 -4
  325. package/lib/utils/api/index.d.ts +1 -0
  326. package/lib/utils/api/index.js +1 -0
  327. package/lib/utils/api/media-segments-api.d.ts +8 -0
  328. package/lib/utils/api/media-segments-api.js +12 -0
  329. package/lib/utils/index.js +1 -1
  330. package/lib/utils/url/index.d.ts +16 -3
  331. package/lib/utils/url/index.js +26 -4
  332. package/lib/versions.d.ts +1 -1
  333. package/lib/versions.js +1 -1
  334. package/package.json +13 -12
  335. package/lib/node_modules/tslib/tslib.es6.js +0 -33
@@ -1,7 +1,6 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
4
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
5
4
 
6
5
  /* tslint:disable */
7
6
  /* eslint-disable */
@@ -28,7 +27,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
28
27
  * @param {*} [options] Override http request option.
29
28
  * @throws {RequiredError}
30
29
  */
31
- syncPlayBuffering: (bufferRequestDto_1, ...args_1) => __awaiter(this, [bufferRequestDto_1, ...args_1], void 0, function* (bufferRequestDto, options = {}) {
30
+ syncPlayBuffering: async (bufferRequestDto, options = {}) => {
32
31
  // verify required parameter 'bufferRequestDto' is not null or undefined
33
32
  assertParamExists('syncPlayBuffering', 'bufferRequestDto', bufferRequestDto);
34
33
  const localVarPath = `/SyncPlay/Buffering`;
@@ -38,21 +37,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
38
37
  if (configuration) {
39
38
  baseOptions = configuration.baseOptions;
40
39
  }
41
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
40
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
42
41
  const localVarHeaderParameter = {};
43
42
  const localVarQueryParameter = {};
44
43
  // authentication CustomAuthentication required
45
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
44
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
46
45
  localVarHeaderParameter['Content-Type'] = 'application/json';
47
46
  setSearchParams(localVarUrlObj, localVarQueryParameter);
48
47
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
49
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
48
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
50
49
  localVarRequestOptions.data = serializeDataIfNeeded(bufferRequestDto, localVarRequestOptions, configuration);
51
50
  return {
52
51
  url: toPathString(localVarUrlObj),
53
52
  options: localVarRequestOptions,
54
53
  };
55
- }),
54
+ },
56
55
  /**
57
56
  *
58
57
  * @summary Create a new SyncPlay group.
@@ -60,7 +59,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
60
59
  * @param {*} [options] Override http request option.
61
60
  * @throws {RequiredError}
62
61
  */
63
- syncPlayCreateGroup: (newGroupRequestDto_1, ...args_2) => __awaiter(this, [newGroupRequestDto_1, ...args_2], void 0, function* (newGroupRequestDto, options = {}) {
62
+ syncPlayCreateGroup: async (newGroupRequestDto, options = {}) => {
64
63
  // verify required parameter 'newGroupRequestDto' is not null or undefined
65
64
  assertParamExists('syncPlayCreateGroup', 'newGroupRequestDto', newGroupRequestDto);
66
65
  const localVarPath = `/SyncPlay/New`;
@@ -70,28 +69,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
70
69
  if (configuration) {
71
70
  baseOptions = configuration.baseOptions;
72
71
  }
73
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
72
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
74
73
  const localVarHeaderParameter = {};
75
74
  const localVarQueryParameter = {};
76
75
  // authentication CustomAuthentication required
77
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
76
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
78
77
  localVarHeaderParameter['Content-Type'] = 'application/json';
79
78
  setSearchParams(localVarUrlObj, localVarQueryParameter);
80
79
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
80
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
82
81
  localVarRequestOptions.data = serializeDataIfNeeded(newGroupRequestDto, localVarRequestOptions, configuration);
83
82
  return {
84
83
  url: toPathString(localVarUrlObj),
85
84
  options: localVarRequestOptions,
86
85
  };
87
- }),
86
+ },
88
87
  /**
89
88
  *
90
89
  * @summary Gets all SyncPlay groups.
91
90
  * @param {*} [options] Override http request option.
92
91
  * @throws {RequiredError}
93
92
  */
94
- syncPlayGetGroups: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
93
+ syncPlayGetGroups: async (options = {}) => {
95
94
  const localVarPath = `/SyncPlay/List`;
96
95
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
96
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -99,19 +98,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
99
98
  if (configuration) {
100
99
  baseOptions = configuration.baseOptions;
101
100
  }
102
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
101
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
103
102
  const localVarHeaderParameter = {};
104
103
  const localVarQueryParameter = {};
105
104
  // authentication CustomAuthentication required
106
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
105
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
107
106
  setSearchParams(localVarUrlObj, localVarQueryParameter);
108
107
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
110
109
  return {
111
110
  url: toPathString(localVarUrlObj),
112
111
  options: localVarRequestOptions,
113
112
  };
114
- }),
113
+ },
115
114
  /**
116
115
  *
117
116
  * @summary Join an existing SyncPlay group.
@@ -119,7 +118,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
119
118
  * @param {*} [options] Override http request option.
120
119
  * @throws {RequiredError}
121
120
  */
122
- syncPlayJoinGroup: (joinGroupRequestDto_1, ...args_4) => __awaiter(this, [joinGroupRequestDto_1, ...args_4], void 0, function* (joinGroupRequestDto, options = {}) {
121
+ syncPlayJoinGroup: async (joinGroupRequestDto, options = {}) => {
123
122
  // verify required parameter 'joinGroupRequestDto' is not null or undefined
124
123
  assertParamExists('syncPlayJoinGroup', 'joinGroupRequestDto', joinGroupRequestDto);
125
124
  const localVarPath = `/SyncPlay/Join`;
@@ -129,28 +128,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
129
128
  if (configuration) {
130
129
  baseOptions = configuration.baseOptions;
131
130
  }
132
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
131
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
133
132
  const localVarHeaderParameter = {};
134
133
  const localVarQueryParameter = {};
135
134
  // authentication CustomAuthentication required
136
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
135
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
137
136
  localVarHeaderParameter['Content-Type'] = 'application/json';
138
137
  setSearchParams(localVarUrlObj, localVarQueryParameter);
139
138
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
141
140
  localVarRequestOptions.data = serializeDataIfNeeded(joinGroupRequestDto, localVarRequestOptions, configuration);
142
141
  return {
143
142
  url: toPathString(localVarUrlObj),
144
143
  options: localVarRequestOptions,
145
144
  };
146
- }),
145
+ },
147
146
  /**
148
147
  *
149
148
  * @summary Leave the joined SyncPlay group.
150
149
  * @param {*} [options] Override http request option.
151
150
  * @throws {RequiredError}
152
151
  */
153
- syncPlayLeaveGroup: (...args_5) => __awaiter(this, [...args_5], void 0, function* (options = {}) {
152
+ syncPlayLeaveGroup: async (options = {}) => {
154
153
  const localVarPath = `/SyncPlay/Leave`;
155
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
155
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -158,19 +157,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
158
157
  if (configuration) {
159
158
  baseOptions = configuration.baseOptions;
160
159
  }
161
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
160
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
162
161
  const localVarHeaderParameter = {};
163
162
  const localVarQueryParameter = {};
164
163
  // authentication CustomAuthentication required
165
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
164
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
166
165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
167
166
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
168
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
167
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
169
168
  return {
170
169
  url: toPathString(localVarUrlObj),
171
170
  options: localVarRequestOptions,
172
171
  };
173
- }),
172
+ },
174
173
  /**
175
174
  *
176
175
  * @summary Request to move an item in the playlist in SyncPlay group.
@@ -178,7 +177,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
178
177
  * @param {*} [options] Override http request option.
179
178
  * @throws {RequiredError}
180
179
  */
181
- syncPlayMovePlaylistItem: (movePlaylistItemRequestDto_1, ...args_6) => __awaiter(this, [movePlaylistItemRequestDto_1, ...args_6], void 0, function* (movePlaylistItemRequestDto, options = {}) {
180
+ syncPlayMovePlaylistItem: async (movePlaylistItemRequestDto, options = {}) => {
182
181
  // verify required parameter 'movePlaylistItemRequestDto' is not null or undefined
183
182
  assertParamExists('syncPlayMovePlaylistItem', 'movePlaylistItemRequestDto', movePlaylistItemRequestDto);
184
183
  const localVarPath = `/SyncPlay/MovePlaylistItem`;
@@ -188,21 +187,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
188
187
  if (configuration) {
189
188
  baseOptions = configuration.baseOptions;
190
189
  }
191
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
190
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
192
191
  const localVarHeaderParameter = {};
193
192
  const localVarQueryParameter = {};
194
193
  // authentication CustomAuthentication required
195
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
194
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
196
195
  localVarHeaderParameter['Content-Type'] = 'application/json';
197
196
  setSearchParams(localVarUrlObj, localVarQueryParameter);
198
197
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
199
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
198
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
200
199
  localVarRequestOptions.data = serializeDataIfNeeded(movePlaylistItemRequestDto, localVarRequestOptions, configuration);
201
200
  return {
202
201
  url: toPathString(localVarUrlObj),
203
202
  options: localVarRequestOptions,
204
203
  };
205
- }),
204
+ },
206
205
  /**
207
206
  *
208
207
  * @summary Request next item in SyncPlay group.
@@ -210,7 +209,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
210
209
  * @param {*} [options] Override http request option.
211
210
  * @throws {RequiredError}
212
211
  */
213
- syncPlayNextItem: (nextItemRequestDto_1, ...args_7) => __awaiter(this, [nextItemRequestDto_1, ...args_7], void 0, function* (nextItemRequestDto, options = {}) {
212
+ syncPlayNextItem: async (nextItemRequestDto, options = {}) => {
214
213
  // verify required parameter 'nextItemRequestDto' is not null or undefined
215
214
  assertParamExists('syncPlayNextItem', 'nextItemRequestDto', nextItemRequestDto);
216
215
  const localVarPath = `/SyncPlay/NextItem`;
@@ -220,28 +219,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
220
219
  if (configuration) {
221
220
  baseOptions = configuration.baseOptions;
222
221
  }
223
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
222
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
224
223
  const localVarHeaderParameter = {};
225
224
  const localVarQueryParameter = {};
226
225
  // authentication CustomAuthentication required
227
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
226
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
228
227
  localVarHeaderParameter['Content-Type'] = 'application/json';
229
228
  setSearchParams(localVarUrlObj, localVarQueryParameter);
230
229
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
231
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
230
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
232
231
  localVarRequestOptions.data = serializeDataIfNeeded(nextItemRequestDto, localVarRequestOptions, configuration);
233
232
  return {
234
233
  url: toPathString(localVarUrlObj),
235
234
  options: localVarRequestOptions,
236
235
  };
237
- }),
236
+ },
238
237
  /**
239
238
  *
240
239
  * @summary Request pause in SyncPlay group.
241
240
  * @param {*} [options] Override http request option.
242
241
  * @throws {RequiredError}
243
242
  */
244
- syncPlayPause: (...args_8) => __awaiter(this, [...args_8], void 0, function* (options = {}) {
243
+ syncPlayPause: async (options = {}) => {
245
244
  const localVarPath = `/SyncPlay/Pause`;
246
245
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
247
246
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -249,19 +248,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
249
248
  if (configuration) {
250
249
  baseOptions = configuration.baseOptions;
251
250
  }
252
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
251
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
253
252
  const localVarHeaderParameter = {};
254
253
  const localVarQueryParameter = {};
255
254
  // authentication CustomAuthentication required
256
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
255
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
257
256
  setSearchParams(localVarUrlObj, localVarQueryParameter);
258
257
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
259
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
258
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
260
259
  return {
261
260
  url: toPathString(localVarUrlObj),
262
261
  options: localVarRequestOptions,
263
262
  };
264
- }),
263
+ },
265
264
  /**
266
265
  *
267
266
  * @summary Update session ping.
@@ -269,7 +268,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
269
268
  * @param {*} [options] Override http request option.
270
269
  * @throws {RequiredError}
271
270
  */
272
- syncPlayPing: (pingRequestDto_1, ...args_9) => __awaiter(this, [pingRequestDto_1, ...args_9], void 0, function* (pingRequestDto, options = {}) {
271
+ syncPlayPing: async (pingRequestDto, options = {}) => {
273
272
  // verify required parameter 'pingRequestDto' is not null or undefined
274
273
  assertParamExists('syncPlayPing', 'pingRequestDto', pingRequestDto);
275
274
  const localVarPath = `/SyncPlay/Ping`;
@@ -279,21 +278,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
279
278
  if (configuration) {
280
279
  baseOptions = configuration.baseOptions;
281
280
  }
282
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
281
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
283
282
  const localVarHeaderParameter = {};
284
283
  const localVarQueryParameter = {};
285
284
  // authentication CustomAuthentication required
286
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
285
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
287
286
  localVarHeaderParameter['Content-Type'] = 'application/json';
288
287
  setSearchParams(localVarUrlObj, localVarQueryParameter);
289
288
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
290
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
289
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
291
290
  localVarRequestOptions.data = serializeDataIfNeeded(pingRequestDto, localVarRequestOptions, configuration);
292
291
  return {
293
292
  url: toPathString(localVarUrlObj),
294
293
  options: localVarRequestOptions,
295
294
  };
296
- }),
295
+ },
297
296
  /**
298
297
  *
299
298
  * @summary Request previous item in SyncPlay group.
@@ -301,7 +300,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
301
300
  * @param {*} [options] Override http request option.
302
301
  * @throws {RequiredError}
303
302
  */
304
- syncPlayPreviousItem: (previousItemRequestDto_1, ...args_10) => __awaiter(this, [previousItemRequestDto_1, ...args_10], void 0, function* (previousItemRequestDto, options = {}) {
303
+ syncPlayPreviousItem: async (previousItemRequestDto, options = {}) => {
305
304
  // verify required parameter 'previousItemRequestDto' is not null or undefined
306
305
  assertParamExists('syncPlayPreviousItem', 'previousItemRequestDto', previousItemRequestDto);
307
306
  const localVarPath = `/SyncPlay/PreviousItem`;
@@ -311,21 +310,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
311
310
  if (configuration) {
312
311
  baseOptions = configuration.baseOptions;
313
312
  }
314
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
313
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
315
314
  const localVarHeaderParameter = {};
316
315
  const localVarQueryParameter = {};
317
316
  // authentication CustomAuthentication required
318
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
317
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
319
318
  localVarHeaderParameter['Content-Type'] = 'application/json';
320
319
  setSearchParams(localVarUrlObj, localVarQueryParameter);
321
320
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
321
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
323
322
  localVarRequestOptions.data = serializeDataIfNeeded(previousItemRequestDto, localVarRequestOptions, configuration);
324
323
  return {
325
324
  url: toPathString(localVarUrlObj),
326
325
  options: localVarRequestOptions,
327
326
  };
328
- }),
327
+ },
329
328
  /**
330
329
  *
331
330
  * @summary Request to queue items to the playlist of a SyncPlay group.
@@ -333,7 +332,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
333
332
  * @param {*} [options] Override http request option.
334
333
  * @throws {RequiredError}
335
334
  */
336
- syncPlayQueue: (queueRequestDto_1, ...args_11) => __awaiter(this, [queueRequestDto_1, ...args_11], void 0, function* (queueRequestDto, options = {}) {
335
+ syncPlayQueue: async (queueRequestDto, options = {}) => {
337
336
  // verify required parameter 'queueRequestDto' is not null or undefined
338
337
  assertParamExists('syncPlayQueue', 'queueRequestDto', queueRequestDto);
339
338
  const localVarPath = `/SyncPlay/Queue`;
@@ -343,21 +342,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
343
342
  if (configuration) {
344
343
  baseOptions = configuration.baseOptions;
345
344
  }
346
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
345
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
347
346
  const localVarHeaderParameter = {};
348
347
  const localVarQueryParameter = {};
349
348
  // authentication CustomAuthentication required
350
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
349
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
351
350
  localVarHeaderParameter['Content-Type'] = 'application/json';
352
351
  setSearchParams(localVarUrlObj, localVarQueryParameter);
353
352
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
354
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
353
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
355
354
  localVarRequestOptions.data = serializeDataIfNeeded(queueRequestDto, localVarRequestOptions, configuration);
356
355
  return {
357
356
  url: toPathString(localVarUrlObj),
358
357
  options: localVarRequestOptions,
359
358
  };
360
- }),
359
+ },
361
360
  /**
362
361
  *
363
362
  * @summary Notify SyncPlay group that member is ready for playback.
@@ -365,7 +364,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
365
364
  * @param {*} [options] Override http request option.
366
365
  * @throws {RequiredError}
367
366
  */
368
- syncPlayReady: (readyRequestDto_1, ...args_12) => __awaiter(this, [readyRequestDto_1, ...args_12], void 0, function* (readyRequestDto, options = {}) {
367
+ syncPlayReady: async (readyRequestDto, options = {}) => {
369
368
  // verify required parameter 'readyRequestDto' is not null or undefined
370
369
  assertParamExists('syncPlayReady', 'readyRequestDto', readyRequestDto);
371
370
  const localVarPath = `/SyncPlay/Ready`;
@@ -375,21 +374,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
375
374
  if (configuration) {
376
375
  baseOptions = configuration.baseOptions;
377
376
  }
378
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
377
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
379
378
  const localVarHeaderParameter = {};
380
379
  const localVarQueryParameter = {};
381
380
  // authentication CustomAuthentication required
382
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
381
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
383
382
  localVarHeaderParameter['Content-Type'] = 'application/json';
384
383
  setSearchParams(localVarUrlObj, localVarQueryParameter);
385
384
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
386
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
385
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
387
386
  localVarRequestOptions.data = serializeDataIfNeeded(readyRequestDto, localVarRequestOptions, configuration);
388
387
  return {
389
388
  url: toPathString(localVarUrlObj),
390
389
  options: localVarRequestOptions,
391
390
  };
392
- }),
391
+ },
393
392
  /**
394
393
  *
395
394
  * @summary Request to remove items from the playlist in SyncPlay group.
@@ -397,7 +396,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
397
396
  * @param {*} [options] Override http request option.
398
397
  * @throws {RequiredError}
399
398
  */
400
- syncPlayRemoveFromPlaylist: (removeFromPlaylistRequestDto_1, ...args_13) => __awaiter(this, [removeFromPlaylistRequestDto_1, ...args_13], void 0, function* (removeFromPlaylistRequestDto, options = {}) {
399
+ syncPlayRemoveFromPlaylist: async (removeFromPlaylistRequestDto, options = {}) => {
401
400
  // verify required parameter 'removeFromPlaylistRequestDto' is not null or undefined
402
401
  assertParamExists('syncPlayRemoveFromPlaylist', 'removeFromPlaylistRequestDto', removeFromPlaylistRequestDto);
403
402
  const localVarPath = `/SyncPlay/RemoveFromPlaylist`;
@@ -407,21 +406,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
407
406
  if (configuration) {
408
407
  baseOptions = configuration.baseOptions;
409
408
  }
410
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
409
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
411
410
  const localVarHeaderParameter = {};
412
411
  const localVarQueryParameter = {};
413
412
  // authentication CustomAuthentication required
414
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
413
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
415
414
  localVarHeaderParameter['Content-Type'] = 'application/json';
416
415
  setSearchParams(localVarUrlObj, localVarQueryParameter);
417
416
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
418
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
417
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
419
418
  localVarRequestOptions.data = serializeDataIfNeeded(removeFromPlaylistRequestDto, localVarRequestOptions, configuration);
420
419
  return {
421
420
  url: toPathString(localVarUrlObj),
422
421
  options: localVarRequestOptions,
423
422
  };
424
- }),
423
+ },
425
424
  /**
426
425
  *
427
426
  * @summary Request seek in SyncPlay group.
@@ -429,7 +428,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
429
428
  * @param {*} [options] Override http request option.
430
429
  * @throws {RequiredError}
431
430
  */
432
- syncPlaySeek: (seekRequestDto_1, ...args_14) => __awaiter(this, [seekRequestDto_1, ...args_14], void 0, function* (seekRequestDto, options = {}) {
431
+ syncPlaySeek: async (seekRequestDto, options = {}) => {
433
432
  // verify required parameter 'seekRequestDto' is not null or undefined
434
433
  assertParamExists('syncPlaySeek', 'seekRequestDto', seekRequestDto);
435
434
  const localVarPath = `/SyncPlay/Seek`;
@@ -439,21 +438,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
439
438
  if (configuration) {
440
439
  baseOptions = configuration.baseOptions;
441
440
  }
442
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
441
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
443
442
  const localVarHeaderParameter = {};
444
443
  const localVarQueryParameter = {};
445
444
  // authentication CustomAuthentication required
446
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
445
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
447
446
  localVarHeaderParameter['Content-Type'] = 'application/json';
448
447
  setSearchParams(localVarUrlObj, localVarQueryParameter);
449
448
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
450
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
449
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
451
450
  localVarRequestOptions.data = serializeDataIfNeeded(seekRequestDto, localVarRequestOptions, configuration);
452
451
  return {
453
452
  url: toPathString(localVarUrlObj),
454
453
  options: localVarRequestOptions,
455
454
  };
456
- }),
455
+ },
457
456
  /**
458
457
  *
459
458
  * @summary Request SyncPlay group to ignore member during group-wait.
@@ -461,7 +460,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
461
460
  * @param {*} [options] Override http request option.
462
461
  * @throws {RequiredError}
463
462
  */
464
- syncPlaySetIgnoreWait: (ignoreWaitRequestDto_1, ...args_15) => __awaiter(this, [ignoreWaitRequestDto_1, ...args_15], void 0, function* (ignoreWaitRequestDto, options = {}) {
463
+ syncPlaySetIgnoreWait: async (ignoreWaitRequestDto, options = {}) => {
465
464
  // verify required parameter 'ignoreWaitRequestDto' is not null or undefined
466
465
  assertParamExists('syncPlaySetIgnoreWait', 'ignoreWaitRequestDto', ignoreWaitRequestDto);
467
466
  const localVarPath = `/SyncPlay/SetIgnoreWait`;
@@ -471,21 +470,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
471
470
  if (configuration) {
472
471
  baseOptions = configuration.baseOptions;
473
472
  }
474
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
473
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
475
474
  const localVarHeaderParameter = {};
476
475
  const localVarQueryParameter = {};
477
476
  // authentication CustomAuthentication required
478
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
477
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
479
478
  localVarHeaderParameter['Content-Type'] = 'application/json';
480
479
  setSearchParams(localVarUrlObj, localVarQueryParameter);
481
480
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
482
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
481
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
483
482
  localVarRequestOptions.data = serializeDataIfNeeded(ignoreWaitRequestDto, localVarRequestOptions, configuration);
484
483
  return {
485
484
  url: toPathString(localVarUrlObj),
486
485
  options: localVarRequestOptions,
487
486
  };
488
- }),
487
+ },
489
488
  /**
490
489
  *
491
490
  * @summary Request to set new playlist in SyncPlay group.
@@ -493,7 +492,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
493
492
  * @param {*} [options] Override http request option.
494
493
  * @throws {RequiredError}
495
494
  */
496
- syncPlaySetNewQueue: (playRequestDto_1, ...args_16) => __awaiter(this, [playRequestDto_1, ...args_16], void 0, function* (playRequestDto, options = {}) {
495
+ syncPlaySetNewQueue: async (playRequestDto, options = {}) => {
497
496
  // verify required parameter 'playRequestDto' is not null or undefined
498
497
  assertParamExists('syncPlaySetNewQueue', 'playRequestDto', playRequestDto);
499
498
  const localVarPath = `/SyncPlay/SetNewQueue`;
@@ -503,21 +502,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
503
502
  if (configuration) {
504
503
  baseOptions = configuration.baseOptions;
505
504
  }
506
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
505
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
507
506
  const localVarHeaderParameter = {};
508
507
  const localVarQueryParameter = {};
509
508
  // authentication CustomAuthentication required
510
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
509
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
511
510
  localVarHeaderParameter['Content-Type'] = 'application/json';
512
511
  setSearchParams(localVarUrlObj, localVarQueryParameter);
513
512
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
513
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
515
514
  localVarRequestOptions.data = serializeDataIfNeeded(playRequestDto, localVarRequestOptions, configuration);
516
515
  return {
517
516
  url: toPathString(localVarUrlObj),
518
517
  options: localVarRequestOptions,
519
518
  };
520
- }),
519
+ },
521
520
  /**
522
521
  *
523
522
  * @summary Request to change playlist item in SyncPlay group.
@@ -525,7 +524,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
525
524
  * @param {*} [options] Override http request option.
526
525
  * @throws {RequiredError}
527
526
  */
528
- syncPlaySetPlaylistItem: (setPlaylistItemRequestDto_1, ...args_17) => __awaiter(this, [setPlaylistItemRequestDto_1, ...args_17], void 0, function* (setPlaylistItemRequestDto, options = {}) {
527
+ syncPlaySetPlaylistItem: async (setPlaylistItemRequestDto, options = {}) => {
529
528
  // verify required parameter 'setPlaylistItemRequestDto' is not null or undefined
530
529
  assertParamExists('syncPlaySetPlaylistItem', 'setPlaylistItemRequestDto', setPlaylistItemRequestDto);
531
530
  const localVarPath = `/SyncPlay/SetPlaylistItem`;
@@ -535,21 +534,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
535
534
  if (configuration) {
536
535
  baseOptions = configuration.baseOptions;
537
536
  }
538
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
537
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
539
538
  const localVarHeaderParameter = {};
540
539
  const localVarQueryParameter = {};
541
540
  // authentication CustomAuthentication required
542
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
541
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
543
542
  localVarHeaderParameter['Content-Type'] = 'application/json';
544
543
  setSearchParams(localVarUrlObj, localVarQueryParameter);
545
544
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
546
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
545
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
547
546
  localVarRequestOptions.data = serializeDataIfNeeded(setPlaylistItemRequestDto, localVarRequestOptions, configuration);
548
547
  return {
549
548
  url: toPathString(localVarUrlObj),
550
549
  options: localVarRequestOptions,
551
550
  };
552
- }),
551
+ },
553
552
  /**
554
553
  *
555
554
  * @summary Request to set repeat mode in SyncPlay group.
@@ -557,7 +556,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
557
556
  * @param {*} [options] Override http request option.
558
557
  * @throws {RequiredError}
559
558
  */
560
- syncPlaySetRepeatMode: (setRepeatModeRequestDto_1, ...args_18) => __awaiter(this, [setRepeatModeRequestDto_1, ...args_18], void 0, function* (setRepeatModeRequestDto, options = {}) {
559
+ syncPlaySetRepeatMode: async (setRepeatModeRequestDto, options = {}) => {
561
560
  // verify required parameter 'setRepeatModeRequestDto' is not null or undefined
562
561
  assertParamExists('syncPlaySetRepeatMode', 'setRepeatModeRequestDto', setRepeatModeRequestDto);
563
562
  const localVarPath = `/SyncPlay/SetRepeatMode`;
@@ -567,21 +566,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
567
566
  if (configuration) {
568
567
  baseOptions = configuration.baseOptions;
569
568
  }
570
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
569
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
571
570
  const localVarHeaderParameter = {};
572
571
  const localVarQueryParameter = {};
573
572
  // authentication CustomAuthentication required
574
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
573
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
575
574
  localVarHeaderParameter['Content-Type'] = 'application/json';
576
575
  setSearchParams(localVarUrlObj, localVarQueryParameter);
577
576
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
578
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
577
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
579
578
  localVarRequestOptions.data = serializeDataIfNeeded(setRepeatModeRequestDto, localVarRequestOptions, configuration);
580
579
  return {
581
580
  url: toPathString(localVarUrlObj),
582
581
  options: localVarRequestOptions,
583
582
  };
584
- }),
583
+ },
585
584
  /**
586
585
  *
587
586
  * @summary Request to set shuffle mode in SyncPlay group.
@@ -589,7 +588,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
589
588
  * @param {*} [options] Override http request option.
590
589
  * @throws {RequiredError}
591
590
  */
592
- syncPlaySetShuffleMode: (setShuffleModeRequestDto_1, ...args_19) => __awaiter(this, [setShuffleModeRequestDto_1, ...args_19], void 0, function* (setShuffleModeRequestDto, options = {}) {
591
+ syncPlaySetShuffleMode: async (setShuffleModeRequestDto, options = {}) => {
593
592
  // verify required parameter 'setShuffleModeRequestDto' is not null or undefined
594
593
  assertParamExists('syncPlaySetShuffleMode', 'setShuffleModeRequestDto', setShuffleModeRequestDto);
595
594
  const localVarPath = `/SyncPlay/SetShuffleMode`;
@@ -599,28 +598,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
599
598
  if (configuration) {
600
599
  baseOptions = configuration.baseOptions;
601
600
  }
602
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
601
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
603
602
  const localVarHeaderParameter = {};
604
603
  const localVarQueryParameter = {};
605
604
  // authentication CustomAuthentication required
606
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
605
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
607
606
  localVarHeaderParameter['Content-Type'] = 'application/json';
608
607
  setSearchParams(localVarUrlObj, localVarQueryParameter);
609
608
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
610
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
609
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
611
610
  localVarRequestOptions.data = serializeDataIfNeeded(setShuffleModeRequestDto, localVarRequestOptions, configuration);
612
611
  return {
613
612
  url: toPathString(localVarUrlObj),
614
613
  options: localVarRequestOptions,
615
614
  };
616
- }),
615
+ },
617
616
  /**
618
617
  *
619
618
  * @summary Request stop in SyncPlay group.
620
619
  * @param {*} [options] Override http request option.
621
620
  * @throws {RequiredError}
622
621
  */
623
- syncPlayStop: (...args_20) => __awaiter(this, [...args_20], void 0, function* (options = {}) {
622
+ syncPlayStop: async (options = {}) => {
624
623
  const localVarPath = `/SyncPlay/Stop`;
625
624
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
626
625
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -628,26 +627,26 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
628
627
  if (configuration) {
629
628
  baseOptions = configuration.baseOptions;
630
629
  }
631
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
630
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
632
631
  const localVarHeaderParameter = {};
633
632
  const localVarQueryParameter = {};
634
633
  // authentication CustomAuthentication required
635
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
634
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
636
635
  setSearchParams(localVarUrlObj, localVarQueryParameter);
637
636
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
638
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
637
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
639
638
  return {
640
639
  url: toPathString(localVarUrlObj),
641
640
  options: localVarRequestOptions,
642
641
  };
643
- }),
642
+ },
644
643
  /**
645
644
  *
646
645
  * @summary Request unpause in SyncPlay group.
647
646
  * @param {*} [options] Override http request option.
648
647
  * @throws {RequiredError}
649
648
  */
650
- syncPlayUnpause: (...args_21) => __awaiter(this, [...args_21], void 0, function* (options = {}) {
649
+ syncPlayUnpause: async (options = {}) => {
651
650
  const localVarPath = `/SyncPlay/Unpause`;
652
651
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
653
652
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -655,19 +654,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
655
654
  if (configuration) {
656
655
  baseOptions = configuration.baseOptions;
657
656
  }
658
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
657
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
659
658
  const localVarHeaderParameter = {};
660
659
  const localVarQueryParameter = {};
661
660
  // authentication CustomAuthentication required
662
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
661
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
663
662
  setSearchParams(localVarUrlObj, localVarQueryParameter);
664
663
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
665
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
664
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
666
665
  return {
667
666
  url: toPathString(localVarUrlObj),
668
667
  options: localVarRequestOptions,
669
668
  };
670
- }),
669
+ },
671
670
  };
672
671
  };
673
672
  /**
@@ -684,11 +683,12 @@ const SyncPlayApiFp = function (configuration) {
684
683
  * @param {*} [options] Override http request option.
685
684
  * @throws {RequiredError}
686
685
  */
687
- syncPlayBuffering(bufferRequestDto, options) {
688
- return __awaiter(this, void 0, void 0, function* () {
689
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayBuffering(bufferRequestDto, options);
690
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
691
- });
686
+ async syncPlayBuffering(bufferRequestDto, options) {
687
+ var _a, _b, _c;
688
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayBuffering(bufferRequestDto, options);
689
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
690
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayBuffering']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
691
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
692
692
  },
693
693
  /**
694
694
  *
@@ -697,11 +697,12 @@ const SyncPlayApiFp = function (configuration) {
697
697
  * @param {*} [options] Override http request option.
698
698
  * @throws {RequiredError}
699
699
  */
700
- syncPlayCreateGroup(newGroupRequestDto, options) {
701
- return __awaiter(this, void 0, void 0, function* () {
702
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayCreateGroup(newGroupRequestDto, options);
703
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
704
- });
700
+ async syncPlayCreateGroup(newGroupRequestDto, options) {
701
+ var _a, _b, _c;
702
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayCreateGroup(newGroupRequestDto, options);
703
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
704
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayCreateGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
705
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
705
706
  },
706
707
  /**
707
708
  *
@@ -709,11 +710,12 @@ const SyncPlayApiFp = function (configuration) {
709
710
  * @param {*} [options] Override http request option.
710
711
  * @throws {RequiredError}
711
712
  */
712
- syncPlayGetGroups(options) {
713
- return __awaiter(this, void 0, void 0, function* () {
714
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayGetGroups(options);
715
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
716
- });
713
+ async syncPlayGetGroups(options) {
714
+ var _a, _b, _c;
715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayGetGroups(options);
716
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
717
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayGetGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
718
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
717
719
  },
718
720
  /**
719
721
  *
@@ -722,11 +724,12 @@ const SyncPlayApiFp = function (configuration) {
722
724
  * @param {*} [options] Override http request option.
723
725
  * @throws {RequiredError}
724
726
  */
725
- syncPlayJoinGroup(joinGroupRequestDto, options) {
726
- return __awaiter(this, void 0, void 0, function* () {
727
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayJoinGroup(joinGroupRequestDto, options);
728
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
729
- });
727
+ async syncPlayJoinGroup(joinGroupRequestDto, options) {
728
+ var _a, _b, _c;
729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayJoinGroup(joinGroupRequestDto, options);
730
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
731
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayJoinGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
732
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
730
733
  },
731
734
  /**
732
735
  *
@@ -734,11 +737,12 @@ const SyncPlayApiFp = function (configuration) {
734
737
  * @param {*} [options] Override http request option.
735
738
  * @throws {RequiredError}
736
739
  */
737
- syncPlayLeaveGroup(options) {
738
- return __awaiter(this, void 0, void 0, function* () {
739
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayLeaveGroup(options);
740
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
741
- });
740
+ async syncPlayLeaveGroup(options) {
741
+ var _a, _b, _c;
742
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayLeaveGroup(options);
743
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
744
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayLeaveGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
742
746
  },
743
747
  /**
744
748
  *
@@ -747,11 +751,12 @@ const SyncPlayApiFp = function (configuration) {
747
751
  * @param {*} [options] Override http request option.
748
752
  * @throws {RequiredError}
749
753
  */
750
- syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options) {
751
- return __awaiter(this, void 0, void 0, function* () {
752
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options);
753
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
754
- });
754
+ async syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options) {
755
+ var _a, _b, _c;
756
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options);
757
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
758
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayMovePlaylistItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
759
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
755
760
  },
756
761
  /**
757
762
  *
@@ -760,11 +765,12 @@ const SyncPlayApiFp = function (configuration) {
760
765
  * @param {*} [options] Override http request option.
761
766
  * @throws {RequiredError}
762
767
  */
763
- syncPlayNextItem(nextItemRequestDto, options) {
764
- return __awaiter(this, void 0, void 0, function* () {
765
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayNextItem(nextItemRequestDto, options);
766
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
767
- });
768
+ async syncPlayNextItem(nextItemRequestDto, options) {
769
+ var _a, _b, _c;
770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayNextItem(nextItemRequestDto, options);
771
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
772
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayNextItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
773
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
768
774
  },
769
775
  /**
770
776
  *
@@ -772,11 +778,12 @@ const SyncPlayApiFp = function (configuration) {
772
778
  * @param {*} [options] Override http request option.
773
779
  * @throws {RequiredError}
774
780
  */
775
- syncPlayPause(options) {
776
- return __awaiter(this, void 0, void 0, function* () {
777
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayPause(options);
778
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
779
- });
781
+ async syncPlayPause(options) {
782
+ var _a, _b, _c;
783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPause(options);
784
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
785
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayPause']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
786
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
780
787
  },
781
788
  /**
782
789
  *
@@ -785,11 +792,12 @@ const SyncPlayApiFp = function (configuration) {
785
792
  * @param {*} [options] Override http request option.
786
793
  * @throws {RequiredError}
787
794
  */
788
- syncPlayPing(pingRequestDto, options) {
789
- return __awaiter(this, void 0, void 0, function* () {
790
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayPing(pingRequestDto, options);
791
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
792
- });
795
+ async syncPlayPing(pingRequestDto, options) {
796
+ var _a, _b, _c;
797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPing(pingRequestDto, options);
798
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
799
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayPing']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
800
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
793
801
  },
794
802
  /**
795
803
  *
@@ -798,11 +806,12 @@ const SyncPlayApiFp = function (configuration) {
798
806
  * @param {*} [options] Override http request option.
799
807
  * @throws {RequiredError}
800
808
  */
801
- syncPlayPreviousItem(previousItemRequestDto, options) {
802
- return __awaiter(this, void 0, void 0, function* () {
803
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayPreviousItem(previousItemRequestDto, options);
804
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
805
- });
809
+ async syncPlayPreviousItem(previousItemRequestDto, options) {
810
+ var _a, _b, _c;
811
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPreviousItem(previousItemRequestDto, options);
812
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
813
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayPreviousItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
814
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
806
815
  },
807
816
  /**
808
817
  *
@@ -811,11 +820,12 @@ const SyncPlayApiFp = function (configuration) {
811
820
  * @param {*} [options] Override http request option.
812
821
  * @throws {RequiredError}
813
822
  */
814
- syncPlayQueue(queueRequestDto, options) {
815
- return __awaiter(this, void 0, void 0, function* () {
816
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayQueue(queueRequestDto, options);
817
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
818
- });
823
+ async syncPlayQueue(queueRequestDto, options) {
824
+ var _a, _b, _c;
825
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayQueue(queueRequestDto, options);
826
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
827
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayQueue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
828
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
819
829
  },
820
830
  /**
821
831
  *
@@ -824,11 +834,12 @@ const SyncPlayApiFp = function (configuration) {
824
834
  * @param {*} [options] Override http request option.
825
835
  * @throws {RequiredError}
826
836
  */
827
- syncPlayReady(readyRequestDto, options) {
828
- return __awaiter(this, void 0, void 0, function* () {
829
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayReady(readyRequestDto, options);
830
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
831
- });
837
+ async syncPlayReady(readyRequestDto, options) {
838
+ var _a, _b, _c;
839
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayReady(readyRequestDto, options);
840
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
841
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayReady']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
842
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
832
843
  },
833
844
  /**
834
845
  *
@@ -837,11 +848,12 @@ const SyncPlayApiFp = function (configuration) {
837
848
  * @param {*} [options] Override http request option.
838
849
  * @throws {RequiredError}
839
850
  */
840
- syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options) {
841
- return __awaiter(this, void 0, void 0, function* () {
842
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options);
843
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
844
- });
851
+ async syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options) {
852
+ var _a, _b, _c;
853
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options);
854
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
855
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayRemoveFromPlaylist']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
856
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
845
857
  },
846
858
  /**
847
859
  *
@@ -850,11 +862,12 @@ const SyncPlayApiFp = function (configuration) {
850
862
  * @param {*} [options] Override http request option.
851
863
  * @throws {RequiredError}
852
864
  */
853
- syncPlaySeek(seekRequestDto, options) {
854
- return __awaiter(this, void 0, void 0, function* () {
855
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySeek(seekRequestDto, options);
856
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
857
- });
865
+ async syncPlaySeek(seekRequestDto, options) {
866
+ var _a, _b, _c;
867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySeek(seekRequestDto, options);
868
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
869
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySeek']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
870
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
858
871
  },
859
872
  /**
860
873
  *
@@ -863,11 +876,12 @@ const SyncPlayApiFp = function (configuration) {
863
876
  * @param {*} [options] Override http request option.
864
877
  * @throws {RequiredError}
865
878
  */
866
- syncPlaySetIgnoreWait(ignoreWaitRequestDto, options) {
867
- return __awaiter(this, void 0, void 0, function* () {
868
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options);
869
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
870
- });
879
+ async syncPlaySetIgnoreWait(ignoreWaitRequestDto, options) {
880
+ var _a, _b, _c;
881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options);
882
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
883
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySetIgnoreWait']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
884
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
871
885
  },
872
886
  /**
873
887
  *
@@ -876,11 +890,12 @@ const SyncPlayApiFp = function (configuration) {
876
890
  * @param {*} [options] Override http request option.
877
891
  * @throws {RequiredError}
878
892
  */
879
- syncPlaySetNewQueue(playRequestDto, options) {
880
- return __awaiter(this, void 0, void 0, function* () {
881
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySetNewQueue(playRequestDto, options);
882
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
883
- });
893
+ async syncPlaySetNewQueue(playRequestDto, options) {
894
+ var _a, _b, _c;
895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetNewQueue(playRequestDto, options);
896
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
897
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySetNewQueue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
898
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
884
899
  },
885
900
  /**
886
901
  *
@@ -889,11 +904,12 @@ const SyncPlayApiFp = function (configuration) {
889
904
  * @param {*} [options] Override http request option.
890
905
  * @throws {RequiredError}
891
906
  */
892
- syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options) {
893
- return __awaiter(this, void 0, void 0, function* () {
894
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options);
895
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
896
- });
907
+ async syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options) {
908
+ var _a, _b, _c;
909
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options);
910
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
911
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySetPlaylistItem']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
912
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
897
913
  },
898
914
  /**
899
915
  *
@@ -902,11 +918,12 @@ const SyncPlayApiFp = function (configuration) {
902
918
  * @param {*} [options] Override http request option.
903
919
  * @throws {RequiredError}
904
920
  */
905
- syncPlaySetRepeatMode(setRepeatModeRequestDto, options) {
906
- return __awaiter(this, void 0, void 0, function* () {
907
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySetRepeatMode(setRepeatModeRequestDto, options);
908
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
909
- });
921
+ async syncPlaySetRepeatMode(setRepeatModeRequestDto, options) {
922
+ var _a, _b, _c;
923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetRepeatMode(setRepeatModeRequestDto, options);
924
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
925
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySetRepeatMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
926
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
910
927
  },
911
928
  /**
912
929
  *
@@ -915,11 +932,12 @@ const SyncPlayApiFp = function (configuration) {
915
932
  * @param {*} [options] Override http request option.
916
933
  * @throws {RequiredError}
917
934
  */
918
- syncPlaySetShuffleMode(setShuffleModeRequestDto, options) {
919
- return __awaiter(this, void 0, void 0, function* () {
920
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlaySetShuffleMode(setShuffleModeRequestDto, options);
921
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
922
- });
935
+ async syncPlaySetShuffleMode(setShuffleModeRequestDto, options) {
936
+ var _a, _b, _c;
937
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetShuffleMode(setShuffleModeRequestDto, options);
938
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
939
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlaySetShuffleMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
940
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
923
941
  },
924
942
  /**
925
943
  *
@@ -927,11 +945,12 @@ const SyncPlayApiFp = function (configuration) {
927
945
  * @param {*} [options] Override http request option.
928
946
  * @throws {RequiredError}
929
947
  */
930
- syncPlayStop(options) {
931
- return __awaiter(this, void 0, void 0, function* () {
932
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayStop(options);
933
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
934
- });
948
+ async syncPlayStop(options) {
949
+ var _a, _b, _c;
950
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayStop(options);
951
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
952
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
953
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
935
954
  },
936
955
  /**
937
956
  *
@@ -939,11 +958,12 @@ const SyncPlayApiFp = function (configuration) {
939
958
  * @param {*} [options] Override http request option.
940
959
  * @throws {RequiredError}
941
960
  */
942
- syncPlayUnpause(options) {
943
- return __awaiter(this, void 0, void 0, function* () {
944
- const localVarAxiosArgs = yield localVarAxiosParamCreator.syncPlayUnpause(options);
945
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
946
- });
961
+ async syncPlayUnpause(options) {
962
+ var _a, _b, _c;
963
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayUnpause(options);
964
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
965
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayUnpause']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
966
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
947
967
  },
948
968
  };
949
969
  };
@@ -957,22 +977,22 @@ const SyncPlayApiFactory = function (configuration, basePath, axios) {
957
977
  /**
958
978
  *
959
979
  * @summary Notify SyncPlay group that member is buffering.
960
- * @param {BufferRequestDto} bufferRequestDto The player status.
980
+ * @param {SyncPlayApiSyncPlayBufferingRequest} requestParameters Request parameters.
961
981
  * @param {*} [options] Override http request option.
962
982
  * @throws {RequiredError}
963
983
  */
964
- syncPlayBuffering(bufferRequestDto, options) {
965
- return localVarFp.syncPlayBuffering(bufferRequestDto, options).then((request) => request(axios, basePath));
984
+ syncPlayBuffering(requestParameters, options) {
985
+ return localVarFp.syncPlayBuffering(requestParameters.bufferRequestDto, options).then((request) => request(axios, basePath));
966
986
  },
967
987
  /**
968
988
  *
969
989
  * @summary Create a new SyncPlay group.
970
- * @param {NewGroupRequestDto} newGroupRequestDto The settings of the new group.
990
+ * @param {SyncPlayApiSyncPlayCreateGroupRequest} requestParameters Request parameters.
971
991
  * @param {*} [options] Override http request option.
972
992
  * @throws {RequiredError}
973
993
  */
974
- syncPlayCreateGroup(newGroupRequestDto, options) {
975
- return localVarFp.syncPlayCreateGroup(newGroupRequestDto, options).then((request) => request(axios, basePath));
994
+ syncPlayCreateGroup(requestParameters, options) {
995
+ return localVarFp.syncPlayCreateGroup(requestParameters.newGroupRequestDto, options).then((request) => request(axios, basePath));
976
996
  },
977
997
  /**
978
998
  *
@@ -986,12 +1006,12 @@ const SyncPlayApiFactory = function (configuration, basePath, axios) {
986
1006
  /**
987
1007
  *
988
1008
  * @summary Join an existing SyncPlay group.
989
- * @param {JoinGroupRequestDto} joinGroupRequestDto The group to join.
1009
+ * @param {SyncPlayApiSyncPlayJoinGroupRequest} requestParameters Request parameters.
990
1010
  * @param {*} [options] Override http request option.
991
1011
  * @throws {RequiredError}
992
1012
  */
993
- syncPlayJoinGroup(joinGroupRequestDto, options) {
994
- return localVarFp.syncPlayJoinGroup(joinGroupRequestDto, options).then((request) => request(axios, basePath));
1013
+ syncPlayJoinGroup(requestParameters, options) {
1014
+ return localVarFp.syncPlayJoinGroup(requestParameters.joinGroupRequestDto, options).then((request) => request(axios, basePath));
995
1015
  },
996
1016
  /**
997
1017
  *
@@ -1005,22 +1025,22 @@ const SyncPlayApiFactory = function (configuration, basePath, axios) {
1005
1025
  /**
1006
1026
  *
1007
1027
  * @summary Request to move an item in the playlist in SyncPlay group.
1008
- * @param {MovePlaylistItemRequestDto} movePlaylistItemRequestDto The new position for the item.
1028
+ * @param {SyncPlayApiSyncPlayMovePlaylistItemRequest} requestParameters Request parameters.
1009
1029
  * @param {*} [options] Override http request option.
1010
1030
  * @throws {RequiredError}
1011
1031
  */
1012
- syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options) {
1013
- return localVarFp.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options).then((request) => request(axios, basePath));
1032
+ syncPlayMovePlaylistItem(requestParameters, options) {
1033
+ return localVarFp.syncPlayMovePlaylistItem(requestParameters.movePlaylistItemRequestDto, options).then((request) => request(axios, basePath));
1014
1034
  },
1015
1035
  /**
1016
1036
  *
1017
1037
  * @summary Request next item in SyncPlay group.
1018
- * @param {NextItemRequestDto} nextItemRequestDto The current item information.
1038
+ * @param {SyncPlayApiSyncPlayNextItemRequest} requestParameters Request parameters.
1019
1039
  * @param {*} [options] Override http request option.
1020
1040
  * @throws {RequiredError}
1021
1041
  */
1022
- syncPlayNextItem(nextItemRequestDto, options) {
1023
- return localVarFp.syncPlayNextItem(nextItemRequestDto, options).then((request) => request(axios, basePath));
1042
+ syncPlayNextItem(requestParameters, options) {
1043
+ return localVarFp.syncPlayNextItem(requestParameters.nextItemRequestDto, options).then((request) => request(axios, basePath));
1024
1044
  },
1025
1045
  /**
1026
1046
  *
@@ -1034,112 +1054,112 @@ const SyncPlayApiFactory = function (configuration, basePath, axios) {
1034
1054
  /**
1035
1055
  *
1036
1056
  * @summary Update session ping.
1037
- * @param {PingRequestDto} pingRequestDto The new ping.
1057
+ * @param {SyncPlayApiSyncPlayPingRequest} requestParameters Request parameters.
1038
1058
  * @param {*} [options] Override http request option.
1039
1059
  * @throws {RequiredError}
1040
1060
  */
1041
- syncPlayPing(pingRequestDto, options) {
1042
- return localVarFp.syncPlayPing(pingRequestDto, options).then((request) => request(axios, basePath));
1061
+ syncPlayPing(requestParameters, options) {
1062
+ return localVarFp.syncPlayPing(requestParameters.pingRequestDto, options).then((request) => request(axios, basePath));
1043
1063
  },
1044
1064
  /**
1045
1065
  *
1046
1066
  * @summary Request previous item in SyncPlay group.
1047
- * @param {PreviousItemRequestDto} previousItemRequestDto The current item information.
1067
+ * @param {SyncPlayApiSyncPlayPreviousItemRequest} requestParameters Request parameters.
1048
1068
  * @param {*} [options] Override http request option.
1049
1069
  * @throws {RequiredError}
1050
1070
  */
1051
- syncPlayPreviousItem(previousItemRequestDto, options) {
1052
- return localVarFp.syncPlayPreviousItem(previousItemRequestDto, options).then((request) => request(axios, basePath));
1071
+ syncPlayPreviousItem(requestParameters, options) {
1072
+ return localVarFp.syncPlayPreviousItem(requestParameters.previousItemRequestDto, options).then((request) => request(axios, basePath));
1053
1073
  },
1054
1074
  /**
1055
1075
  *
1056
1076
  * @summary Request to queue items to the playlist of a SyncPlay group.
1057
- * @param {QueueRequestDto} queueRequestDto The items to add.
1077
+ * @param {SyncPlayApiSyncPlayQueueRequest} requestParameters Request parameters.
1058
1078
  * @param {*} [options] Override http request option.
1059
1079
  * @throws {RequiredError}
1060
1080
  */
1061
- syncPlayQueue(queueRequestDto, options) {
1062
- return localVarFp.syncPlayQueue(queueRequestDto, options).then((request) => request(axios, basePath));
1081
+ syncPlayQueue(requestParameters, options) {
1082
+ return localVarFp.syncPlayQueue(requestParameters.queueRequestDto, options).then((request) => request(axios, basePath));
1063
1083
  },
1064
1084
  /**
1065
1085
  *
1066
1086
  * @summary Notify SyncPlay group that member is ready for playback.
1067
- * @param {ReadyRequestDto} readyRequestDto The player status.
1087
+ * @param {SyncPlayApiSyncPlayReadyRequest} requestParameters Request parameters.
1068
1088
  * @param {*} [options] Override http request option.
1069
1089
  * @throws {RequiredError}
1070
1090
  */
1071
- syncPlayReady(readyRequestDto, options) {
1072
- return localVarFp.syncPlayReady(readyRequestDto, options).then((request) => request(axios, basePath));
1091
+ syncPlayReady(requestParameters, options) {
1092
+ return localVarFp.syncPlayReady(requestParameters.readyRequestDto, options).then((request) => request(axios, basePath));
1073
1093
  },
1074
1094
  /**
1075
1095
  *
1076
1096
  * @summary Request to remove items from the playlist in SyncPlay group.
1077
- * @param {RemoveFromPlaylistRequestDto} removeFromPlaylistRequestDto The items to remove.
1097
+ * @param {SyncPlayApiSyncPlayRemoveFromPlaylistRequest} requestParameters Request parameters.
1078
1098
  * @param {*} [options] Override http request option.
1079
1099
  * @throws {RequiredError}
1080
1100
  */
1081
- syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options) {
1082
- return localVarFp.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options).then((request) => request(axios, basePath));
1101
+ syncPlayRemoveFromPlaylist(requestParameters, options) {
1102
+ return localVarFp.syncPlayRemoveFromPlaylist(requestParameters.removeFromPlaylistRequestDto, options).then((request) => request(axios, basePath));
1083
1103
  },
1084
1104
  /**
1085
1105
  *
1086
1106
  * @summary Request seek in SyncPlay group.
1087
- * @param {SeekRequestDto} seekRequestDto The new playback position.
1107
+ * @param {SyncPlayApiSyncPlaySeekRequest} requestParameters Request parameters.
1088
1108
  * @param {*} [options] Override http request option.
1089
1109
  * @throws {RequiredError}
1090
1110
  */
1091
- syncPlaySeek(seekRequestDto, options) {
1092
- return localVarFp.syncPlaySeek(seekRequestDto, options).then((request) => request(axios, basePath));
1111
+ syncPlaySeek(requestParameters, options) {
1112
+ return localVarFp.syncPlaySeek(requestParameters.seekRequestDto, options).then((request) => request(axios, basePath));
1093
1113
  },
1094
1114
  /**
1095
1115
  *
1096
1116
  * @summary Request SyncPlay group to ignore member during group-wait.
1097
- * @param {IgnoreWaitRequestDto} ignoreWaitRequestDto The settings to set.
1117
+ * @param {SyncPlayApiSyncPlaySetIgnoreWaitRequest} requestParameters Request parameters.
1098
1118
  * @param {*} [options] Override http request option.
1099
1119
  * @throws {RequiredError}
1100
1120
  */
1101
- syncPlaySetIgnoreWait(ignoreWaitRequestDto, options) {
1102
- return localVarFp.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options).then((request) => request(axios, basePath));
1121
+ syncPlaySetIgnoreWait(requestParameters, options) {
1122
+ return localVarFp.syncPlaySetIgnoreWait(requestParameters.ignoreWaitRequestDto, options).then((request) => request(axios, basePath));
1103
1123
  },
1104
1124
  /**
1105
1125
  *
1106
1126
  * @summary Request to set new playlist in SyncPlay group.
1107
- * @param {PlayRequestDto} playRequestDto The new playlist to play in the group.
1127
+ * @param {SyncPlayApiSyncPlaySetNewQueueRequest} requestParameters Request parameters.
1108
1128
  * @param {*} [options] Override http request option.
1109
1129
  * @throws {RequiredError}
1110
1130
  */
1111
- syncPlaySetNewQueue(playRequestDto, options) {
1112
- return localVarFp.syncPlaySetNewQueue(playRequestDto, options).then((request) => request(axios, basePath));
1131
+ syncPlaySetNewQueue(requestParameters, options) {
1132
+ return localVarFp.syncPlaySetNewQueue(requestParameters.playRequestDto, options).then((request) => request(axios, basePath));
1113
1133
  },
1114
1134
  /**
1115
1135
  *
1116
1136
  * @summary Request to change playlist item in SyncPlay group.
1117
- * @param {SetPlaylistItemRequestDto} setPlaylistItemRequestDto The new item to play.
1137
+ * @param {SyncPlayApiSyncPlaySetPlaylistItemRequest} requestParameters Request parameters.
1118
1138
  * @param {*} [options] Override http request option.
1119
1139
  * @throws {RequiredError}
1120
1140
  */
1121
- syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options) {
1122
- return localVarFp.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options).then((request) => request(axios, basePath));
1141
+ syncPlaySetPlaylistItem(requestParameters, options) {
1142
+ return localVarFp.syncPlaySetPlaylistItem(requestParameters.setPlaylistItemRequestDto, options).then((request) => request(axios, basePath));
1123
1143
  },
1124
1144
  /**
1125
1145
  *
1126
1146
  * @summary Request to set repeat mode in SyncPlay group.
1127
- * @param {SetRepeatModeRequestDto} setRepeatModeRequestDto The new repeat mode.
1147
+ * @param {SyncPlayApiSyncPlaySetRepeatModeRequest} requestParameters Request parameters.
1128
1148
  * @param {*} [options] Override http request option.
1129
1149
  * @throws {RequiredError}
1130
1150
  */
1131
- syncPlaySetRepeatMode(setRepeatModeRequestDto, options) {
1132
- return localVarFp.syncPlaySetRepeatMode(setRepeatModeRequestDto, options).then((request) => request(axios, basePath));
1151
+ syncPlaySetRepeatMode(requestParameters, options) {
1152
+ return localVarFp.syncPlaySetRepeatMode(requestParameters.setRepeatModeRequestDto, options).then((request) => request(axios, basePath));
1133
1153
  },
1134
1154
  /**
1135
1155
  *
1136
1156
  * @summary Request to set shuffle mode in SyncPlay group.
1137
- * @param {SetShuffleModeRequestDto} setShuffleModeRequestDto The new shuffle mode.
1157
+ * @param {SyncPlayApiSyncPlaySetShuffleModeRequest} requestParameters Request parameters.
1138
1158
  * @param {*} [options] Override http request option.
1139
1159
  * @throws {RequiredError}
1140
1160
  */
1141
- syncPlaySetShuffleMode(setShuffleModeRequestDto, options) {
1142
- return localVarFp.syncPlaySetShuffleMode(setShuffleModeRequestDto, options).then((request) => request(axios, basePath));
1161
+ syncPlaySetShuffleMode(requestParameters, options) {
1162
+ return localVarFp.syncPlaySetShuffleMode(requestParameters.setShuffleModeRequestDto, options).then((request) => request(axios, basePath));
1143
1163
  },
1144
1164
  /**
1145
1165
  *