@jellyfin/sdk 0.10.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 (331) hide show
  1. package/README.md +5 -0
  2. package/lib/api.d.ts +0 -11
  3. package/lib/api.js +0 -14
  4. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  5. package/lib/generated-client/api/activity-log-api.js +8 -8
  6. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  7. package/lib/generated-client/api/api-key-api.js +19 -10
  8. package/lib/generated-client/api/artists-api.d.ts +27 -90
  9. package/lib/generated-client/api/artists-api.js +22 -76
  10. package/lib/generated-client/api/audio-api.d.ts +81 -249
  11. package/lib/generated-client/api/audio-api.js +93 -245
  12. package/lib/generated-client/api/branding-api.d.ts +16 -16
  13. package/lib/generated-client/api/branding-api.js +13 -4
  14. package/lib/generated-client/api/channels-api.d.ts +33 -51
  15. package/lib/generated-client/api/channels-api.js +33 -36
  16. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  17. package/lib/generated-client/api/client-log-api.js +10 -7
  18. package/lib/generated-client/api/collection-api.d.ts +19 -24
  19. package/lib/generated-client/api/collection-api.js +22 -18
  20. package/lib/generated-client/api/configuration-api.d.ts +28 -29
  21. package/lib/generated-client/api/configuration-api.js +30 -16
  22. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  23. package/lib/generated-client/api/dashboard-api.js +15 -9
  24. package/lib/generated-client/api/devices-api.d.ts +31 -33
  25. package/lib/generated-client/api/devices-api.js +36 -22
  26. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  27. package/lib/generated-client/api/display-preferences-api.js +15 -14
  28. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  29. package/lib/generated-client/api/dynamic-hls-api.js +233 -573
  30. package/lib/generated-client/api/environment-api.d.ts +33 -35
  31. package/lib/generated-client/api/environment-api.js +34 -18
  32. package/lib/generated-client/api/filter-api.d.ts +17 -29
  33. package/lib/generated-client/api/filter-api.js +15 -21
  34. package/lib/generated-client/api/genres-api.d.ts +20 -38
  35. package/lib/generated-client/api/genres-api.js +15 -27
  36. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  37. package/lib/generated-client/api/hls-segment-api.js +36 -28
  38. package/lib/generated-client/api/image-api.d.ts +206 -644
  39. package/lib/generated-client/api/image-api.js +269 -596
  40. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  41. package/lib/generated-client/api/instant-mix-api.js +57 -89
  42. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  43. package/lib/generated-client/api/item-lookup-api.js +78 -47
  44. package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
  45. package/lib/generated-client/api/item-refresh-api.js +8 -9
  46. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  47. package/lib/generated-client/api/item-update-api.js +22 -15
  48. package/lib/generated-client/api/items-api.d.ts +44 -137
  49. package/lib/generated-client/api/items-api.js +38 -122
  50. package/lib/generated-client/api/library-api.d.ts +185 -170
  51. package/lib/generated-client/api/library-api.js +212 -142
  52. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  53. package/lib/generated-client/api/library-structure-api.js +54 -40
  54. package/lib/generated-client/api/live-tv-api.d.ts +224 -332
  55. package/lib/generated-client/api/live-tv-api.js +273 -258
  56. package/lib/generated-client/api/localization-api.d.ts +23 -23
  57. package/lib/generated-client/api/localization-api.js +17 -5
  58. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  59. package/lib/generated-client/api/lyrics-api.js +45 -30
  60. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  61. package/lib/generated-client/api/media-info-api.js +45 -52
  62. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  63. package/lib/generated-client/api/media-segments-api.js +123 -0
  64. package/lib/generated-client/api/movies-api.d.ts +10 -14
  65. package/lib/generated-client/api/movies-api.js +8 -9
  66. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  67. package/lib/generated-client/api/music-genres-api.js +15 -27
  68. package/lib/generated-client/api/package-api.d.ts +33 -37
  69. package/lib/generated-client/api/package-api.js +37 -23
  70. package/lib/generated-client/api/persons-api.d.ts +18 -31
  71. package/lib/generated-client/api/persons-api.js +15 -22
  72. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  73. package/lib/generated-client/api/playlists-api.js +137 -63
  74. package/lib/generated-client/api/playstate-api.d.ts +54 -80
  75. package/lib/generated-client/api/playstate-api.js +64 -63
  76. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  77. package/lib/generated-client/api/plugins-api.js +61 -38
  78. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  79. package/lib/generated-client/api/quick-connect-api.js +23 -12
  80. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  81. package/lib/generated-client/api/remote-image-api.js +22 -20
  82. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  83. package/lib/generated-client/api/scheduled-tasks-api.js +36 -23
  84. package/lib/generated-client/api/search-api.d.ts +11 -28
  85. package/lib/generated-client/api/search-api.js +8 -22
  86. package/lib/generated-client/api/session-api.d.ts +90 -117
  87. package/lib/generated-client/api/session-api.js +104 -83
  88. package/lib/generated-client/api/startup-api.d.ts +37 -37
  89. package/lib/generated-client/api/startup-api.js +38 -17
  90. package/lib/generated-client/api/studios-api.d.ts +18 -35
  91. package/lib/generated-client/api/studios-api.js +15 -26
  92. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  93. package/lib/generated-client/api/subtitle-api.js +68 -69
  94. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  95. package/lib/generated-client/api/suggestions-api.js +8 -10
  96. package/lib/generated-client/api/sync-play-api.d.ts +120 -120
  97. package/lib/generated-client/api/sync-play-api.js +133 -70
  98. package/lib/generated-client/api/system-api.d.ts +49 -49
  99. package/lib/generated-client/api/system-api.js +44 -14
  100. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  101. package/lib/generated-client/api/time-sync-api.js +5 -2
  102. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  103. package/lib/generated-client/api/tmdb-api.js +5 -2
  104. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  105. package/lib/generated-client/api/trailers-api.js +8 -88
  106. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  107. package/lib/generated-client/api/trickplay-api.js +15 -14
  108. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  109. package/lib/generated-client/api/tv-shows-api.js +29 -62
  110. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  111. package/lib/generated-client/api/universal-audio-api.js +33 -51
  112. package/lib/generated-client/api/user-api.d.ts +83 -88
  113. package/lib/generated-client/api/user-api.js +93 -56
  114. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  115. package/lib/generated-client/api/user-library-api.js +71 -60
  116. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  117. package/lib/generated-client/api/user-views-api.js +15 -12
  118. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  119. package/lib/generated-client/api/video-attachments-api.js +8 -7
  120. package/lib/generated-client/api/videos-api.d.ts +97 -274
  121. package/lib/generated-client/api/videos-api.js +114 -266
  122. package/lib/generated-client/api/years-api.d.ts +21 -36
  123. package/lib/generated-client/api/years-api.js +15 -24
  124. package/lib/generated-client/api.d.ts +1 -0
  125. package/lib/generated-client/base.d.ts +15 -4
  126. package/lib/generated-client/base.js +8 -4
  127. package/lib/generated-client/common.d.ts +3 -3
  128. package/lib/generated-client/common.js +23 -14
  129. package/lib/generated-client/configuration.d.ts +8 -0
  130. package/lib/generated-client/configuration.js +1 -0
  131. package/lib/generated-client/index.js +8 -1
  132. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  133. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  134. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  135. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  136. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  137. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  138. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  139. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  140. package/lib/generated-client/models/album-info.d.ts +5 -5
  141. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  142. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  143. package/lib/generated-client/models/artist-info.d.ts +3 -3
  144. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  145. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  146. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  147. package/lib/generated-client/models/base-item-dto.d.ts +26 -26
  148. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  149. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  150. package/lib/generated-client/models/book-info.d.ts +2 -2
  151. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  152. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  153. package/lib/generated-client/models/channel-features.d.ts +3 -3
  154. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  155. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  156. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  157. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  158. package/lib/generated-client/models/container-profile.d.ts +12 -6
  159. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  160. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  161. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  162. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  163. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  164. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  165. package/lib/generated-client/models/device-info.d.ts +1 -1
  166. package/lib/generated-client/models/device-profile.d.ts +8 -8
  167. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  168. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  169. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  170. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  171. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  172. package/lib/generated-client/models/encoder-preset.js +32 -0
  173. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  174. package/lib/generated-client/models/external-id-info.d.ts +2 -1
  175. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  176. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  177. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  178. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  179. package/lib/generated-client/models/general-command.d.ts +3 -3
  180. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  181. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  182. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  183. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  184. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  185. package/lib/generated-client/models/group-update.d.ts +23 -5
  186. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  187. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  188. package/lib/generated-client/models/image-info.d.ts +1 -1
  189. package/lib/generated-client/models/image-option.d.ts +1 -1
  190. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  191. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  192. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  193. package/lib/generated-client/models/index.d.ts +13 -6
  194. package/lib/generated-client/models/index.js +7 -1
  195. package/lib/generated-client/models/installation-info.d.ts +1 -1
  196. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  197. package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
  198. package/lib/generated-client/models/library-options.d.ts +57 -3
  199. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  200. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  201. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  202. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  203. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  204. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  205. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  206. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  207. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  208. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  209. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  210. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  211. package/lib/generated-client/models/media-segment-type.js +27 -0
  212. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  213. package/lib/generated-client/models/media-stream.d.ts +17 -5
  214. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  215. package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
  216. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  217. package/lib/generated-client/models/movie-info.d.ts +2 -2
  218. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  219. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  220. package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
  221. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  222. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  223. package/lib/generated-client/models/package-info.d.ts +1 -1
  224. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  225. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  226. package/lib/generated-client/models/play-message.d.ts +2 -2
  227. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  228. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  229. package/lib/generated-client/models/play-request.d.ts +1 -1
  230. package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
  231. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  232. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  233. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  234. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  235. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  236. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  237. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  238. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  239. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  240. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  241. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  242. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  243. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  244. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  245. package/lib/generated-client/models/problem-details.d.ts +1 -1
  246. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  247. package/lib/generated-client/models/query-filters.d.ts +1 -1
  248. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  249. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  250. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  251. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  252. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  253. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  254. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  255. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  256. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  257. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  258. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  259. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  260. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  261. package/lib/generated-client/models/search-hint.d.ts +2 -2
  262. package/lib/generated-client/models/send-command.d.ts +1 -1
  263. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  264. package/lib/generated-client/models/series-info.d.ts +2 -2
  265. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  266. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  267. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  268. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  269. package/lib/generated-client/models/server-configuration.d.ts +8 -14
  270. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  271. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  272. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  273. package/lib/generated-client/models/session-info.d.ts +8 -8
  274. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  275. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  276. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  277. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  278. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  279. package/lib/generated-client/models/song-info.d.ts +2 -2
  280. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  281. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  282. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  283. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  284. package/lib/generated-client/models/system-info.d.ts +2 -2
  285. package/lib/generated-client/models/task-info.d.ts +3 -3
  286. package/lib/generated-client/models/task-result.d.ts +1 -1
  287. package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
  288. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  289. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  290. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  291. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  292. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  293. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  294. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  295. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  296. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  297. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  298. package/lib/generated-client/models/tonemapping-range.js +24 -0
  299. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  300. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  301. package/lib/generated-client/models/transcode-reason.d.ts +1 -0
  302. package/lib/generated-client/models/transcode-reason.js +2 -1
  303. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  304. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  305. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  306. package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
  307. package/lib/generated-client/models/type-options.d.ts +1 -1
  308. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  309. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  310. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  311. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  312. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  313. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  314. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  315. package/lib/generated-client/models/user-dto.d.ts +2 -2
  316. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  317. package/lib/generated-client/models/user-policy.d.ts +3 -3
  318. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  319. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  320. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  321. package/lib/utils/address-candidates.js +15 -10
  322. package/lib/utils/api/index.d.ts +1 -0
  323. package/lib/utils/api/index.js +1 -0
  324. package/lib/utils/api/media-segments-api.d.ts +8 -0
  325. package/lib/utils/api/media-segments-api.js +12 -0
  326. package/lib/utils/index.js +1 -1
  327. package/lib/utils/url/index.d.ts +16 -3
  328. package/lib/utils/url/index.js +26 -4
  329. package/lib/versions.d.ts +1 -1
  330. package/lib/versions.js +1 -1
  331. package/package.json +13 -12
@@ -1,6 +1,6 @@
1
1
  import globalAxios from 'axios';
2
2
  import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, serializeDataIfNeeded, createRequestFunction } from '../common.js';
3
- import { BaseAPI, BASE_PATH } from '../base.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
4
4
 
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
@@ -2674,7 +2674,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2674
2674
  *
2675
2675
  * @summary Sets the user image.
2676
2676
  * @param {string} [userId] User Id.
2677
- * @param {any} [body]
2677
+ * @param {File} [body]
2678
2678
  * @param {*} [options] Override http request option.
2679
2679
  * @throws {RequiredError}
2680
2680
  */
@@ -2694,7 +2694,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2694
2694
  if (userId !== undefined) {
2695
2695
  localVarQueryParameter['userId'] = userId;
2696
2696
  }
2697
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2697
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2698
2698
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2699
2699
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2700
2700
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2709,7 +2709,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2709
2709
  * @summary Set item image.
2710
2710
  * @param {string} itemId Item id.
2711
2711
  * @param {ImageType} imageType Image type.
2712
- * @param {any} [body]
2712
+ * @param {File} [body]
2713
2713
  * @param {*} [options] Override http request option.
2714
2714
  * @throws {RequiredError}
2715
2715
  */
@@ -2732,7 +2732,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2732
2732
  const localVarQueryParameter = {};
2733
2733
  // authentication CustomAuthentication required
2734
2734
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2735
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2735
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2736
2736
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2737
2737
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2738
2738
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2748,7 +2748,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2748
2748
  * @param {string} itemId Item id.
2749
2749
  * @param {ImageType} imageType Image type.
2750
2750
  * @param {number} imageIndex (Unused) Image index.
2751
- * @param {any} [body]
2751
+ * @param {File} [body]
2752
2752
  * @param {*} [options] Override http request option.
2753
2753
  * @throws {RequiredError}
2754
2754
  */
@@ -2774,7 +2774,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2774
2774
  const localVarQueryParameter = {};
2775
2775
  // authentication CustomAuthentication required
2776
2776
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2777
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2777
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2778
2778
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2779
2779
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2780
2780
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2832,7 +2832,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2832
2832
  /**
2833
2833
  *
2834
2834
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
2835
- * @param {any} [body]
2835
+ * @param {File} [body]
2836
2836
  * @param {*} [options] Override http request option.
2837
2837
  * @throws {RequiredError}
2838
2838
  */
@@ -2849,7 +2849,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2849
2849
  const localVarQueryParameter = {};
2850
2850
  // authentication CustomAuthentication required
2851
2851
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2852
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2852
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2853
2853
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2854
2854
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2855
2855
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2875,8 +2875,11 @@ const ImageApiFp = function (configuration) {
2875
2875
  * @throws {RequiredError}
2876
2876
  */
2877
2877
  async deleteCustomSplashscreen(options) {
2878
+ var _a, _b, _c;
2878
2879
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomSplashscreen(options);
2879
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2880
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2881
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2882
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2880
2883
  },
2881
2884
  /**
2882
2885
  *
@@ -2888,8 +2891,11 @@ const ImageApiFp = function (configuration) {
2888
2891
  * @throws {RequiredError}
2889
2892
  */
2890
2893
  async deleteItemImage(itemId, imageType, imageIndex, options) {
2894
+ var _a, _b, _c;
2891
2895
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
2892
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2896
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2897
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2898
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2893
2899
  },
2894
2900
  /**
2895
2901
  *
@@ -2901,8 +2907,11 @@ const ImageApiFp = function (configuration) {
2901
2907
  * @throws {RequiredError}
2902
2908
  */
2903
2909
  async deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
2910
+ var _a, _b, _c;
2904
2911
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
2905
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2912
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2913
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2914
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2906
2915
  },
2907
2916
  /**
2908
2917
  *
@@ -2912,8 +2921,11 @@ const ImageApiFp = function (configuration) {
2912
2921
  * @throws {RequiredError}
2913
2922
  */
2914
2923
  async deleteUserImage(userId, options) {
2924
+ var _a, _b, _c;
2915
2925
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserImage(userId, options);
2916
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2926
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2927
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2928
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2917
2929
  },
2918
2930
  /**
2919
2931
  *
@@ -2939,8 +2951,11 @@ const ImageApiFp = function (configuration) {
2939
2951
  * @throws {RequiredError}
2940
2952
  */
2941
2953
  async getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2954
+ var _a, _b, _c;
2942
2955
  const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
2943
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2956
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2957
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2958
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2944
2959
  },
2945
2960
  /**
2946
2961
  *
@@ -2966,8 +2981,11 @@ const ImageApiFp = function (configuration) {
2966
2981
  * @throws {RequiredError}
2967
2982
  */
2968
2983
  async getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2984
+ var _a, _b, _c;
2969
2985
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
2970
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2986
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2987
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2988
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2971
2989
  },
2972
2990
  /**
2973
2991
  *
@@ -2993,8 +3011,11 @@ const ImageApiFp = function (configuration) {
2993
3011
  * @throws {RequiredError}
2994
3012
  */
2995
3013
  async getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3014
+ var _a, _b, _c;
2996
3015
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
2997
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3016
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3017
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3018
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2998
3019
  },
2999
3020
  /**
3000
3021
  *
@@ -3020,8 +3041,11 @@ const ImageApiFp = function (configuration) {
3020
3041
  * @throws {RequiredError}
3021
3042
  */
3022
3043
  async getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3044
+ var _a, _b, _c;
3023
3045
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3024
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3046
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3047
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3048
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3025
3049
  },
3026
3050
  /**
3027
3051
  *
@@ -3047,8 +3071,11 @@ const ImageApiFp = function (configuration) {
3047
3071
  * @throws {RequiredError}
3048
3072
  */
3049
3073
  async getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3074
+ var _a, _b, _c;
3050
3075
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3051
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3076
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3077
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3078
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3052
3079
  },
3053
3080
  /**
3054
3081
  *
@@ -3074,8 +3101,11 @@ const ImageApiFp = function (configuration) {
3074
3101
  * @throws {RequiredError}
3075
3102
  */
3076
3103
  async getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3104
+ var _a, _b, _c;
3077
3105
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3078
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3106
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3107
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3108
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3079
3109
  },
3080
3110
  /**
3081
3111
  *
@@ -3085,8 +3115,11 @@ const ImageApiFp = function (configuration) {
3085
3115
  * @throws {RequiredError}
3086
3116
  */
3087
3117
  async getItemImageInfos(itemId, options) {
3118
+ var _a, _b, _c;
3088
3119
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageInfos(itemId, options);
3089
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3120
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3121
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageInfos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3122
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3090
3123
  },
3091
3124
  /**
3092
3125
  *
@@ -3112,8 +3145,11 @@ const ImageApiFp = function (configuration) {
3112
3145
  * @throws {RequiredError}
3113
3146
  */
3114
3147
  async getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3148
+ var _a, _b, _c;
3115
3149
  const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3116
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3150
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3151
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3152
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3117
3153
  },
3118
3154
  /**
3119
3155
  *
@@ -3139,8 +3175,11 @@ const ImageApiFp = function (configuration) {
3139
3175
  * @throws {RequiredError}
3140
3176
  */
3141
3177
  async getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3178
+ var _a, _b, _c;
3142
3179
  const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3143
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3180
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3181
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3182
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3144
3183
  },
3145
3184
  /**
3146
3185
  *
@@ -3166,8 +3205,11 @@ const ImageApiFp = function (configuration) {
3166
3205
  * @throws {RequiredError}
3167
3206
  */
3168
3207
  async getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3208
+ var _a, _b, _c;
3169
3209
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3170
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3210
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3211
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3212
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3171
3213
  },
3172
3214
  /**
3173
3215
  *
@@ -3193,8 +3235,11 @@ const ImageApiFp = function (configuration) {
3193
3235
  * @throws {RequiredError}
3194
3236
  */
3195
3237
  async getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3238
+ var _a, _b, _c;
3196
3239
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3197
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3240
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3241
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3242
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3198
3243
  },
3199
3244
  /**
3200
3245
  *
@@ -3215,8 +3260,11 @@ const ImageApiFp = function (configuration) {
3215
3260
  * @throws {RequiredError}
3216
3261
  */
3217
3262
  async getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
3263
+ var _a, _b, _c;
3218
3264
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options);
3219
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3265
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3266
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3267
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3220
3268
  },
3221
3269
  /**
3222
3270
  *
@@ -3242,8 +3290,11 @@ const ImageApiFp = function (configuration) {
3242
3290
  * @throws {RequiredError}
3243
3291
  */
3244
3292
  async getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3293
+ var _a, _b, _c;
3245
3294
  const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3246
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3295
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3296
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3297
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3247
3298
  },
3248
3299
  /**
3249
3300
  *
@@ -3269,8 +3320,11 @@ const ImageApiFp = function (configuration) {
3269
3320
  * @throws {RequiredError}
3270
3321
  */
3271
3322
  async getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3323
+ var _a, _b, _c;
3272
3324
  const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3273
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3325
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3326
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3327
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3274
3328
  },
3275
3329
  /**
3276
3330
  *
@@ -3295,8 +3349,11 @@ const ImageApiFp = function (configuration) {
3295
3349
  * @throws {RequiredError}
3296
3350
  */
3297
3351
  async getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3352
+ var _a, _b, _c;
3298
3353
  const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3299
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3354
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3355
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3356
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3300
3357
  },
3301
3358
  /**
3302
3359
  *
@@ -3322,8 +3379,11 @@ const ImageApiFp = function (configuration) {
3322
3379
  * @throws {RequiredError}
3323
3380
  */
3324
3381
  async headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3382
+ var _a, _b, _c;
3325
3383
  const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3326
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3384
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3385
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3386
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3327
3387
  },
3328
3388
  /**
3329
3389
  *
@@ -3349,8 +3409,11 @@ const ImageApiFp = function (configuration) {
3349
3409
  * @throws {RequiredError}
3350
3410
  */
3351
3411
  async headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3412
+ var _a, _b, _c;
3352
3413
  const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3353
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3414
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3415
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3416
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3354
3417
  },
3355
3418
  /**
3356
3419
  *
@@ -3376,8 +3439,11 @@ const ImageApiFp = function (configuration) {
3376
3439
  * @throws {RequiredError}
3377
3440
  */
3378
3441
  async headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3442
+ var _a, _b, _c;
3379
3443
  const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3380
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3444
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3445
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3446
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3381
3447
  },
3382
3448
  /**
3383
3449
  *
@@ -3403,8 +3469,11 @@ const ImageApiFp = function (configuration) {
3403
3469
  * @throws {RequiredError}
3404
3470
  */
3405
3471
  async headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3472
+ var _a, _b, _c;
3406
3473
  const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3407
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3474
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3475
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3476
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3408
3477
  },
3409
3478
  /**
3410
3479
  *
@@ -3430,8 +3499,11 @@ const ImageApiFp = function (configuration) {
3430
3499
  * @throws {RequiredError}
3431
3500
  */
3432
3501
  async headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3502
+ var _a, _b, _c;
3433
3503
  const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3434
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3504
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3505
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3506
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3435
3507
  },
3436
3508
  /**
3437
3509
  *
@@ -3457,8 +3529,11 @@ const ImageApiFp = function (configuration) {
3457
3529
  * @throws {RequiredError}
3458
3530
  */
3459
3531
  async headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3532
+ var _a, _b, _c;
3460
3533
  const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3461
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3534
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3535
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3536
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3462
3537
  },
3463
3538
  /**
3464
3539
  *
@@ -3484,8 +3559,11 @@ const ImageApiFp = function (configuration) {
3484
3559
  * @throws {RequiredError}
3485
3560
  */
3486
3561
  async headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3562
+ var _a, _b, _c;
3487
3563
  const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3488
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3564
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3565
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3566
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3489
3567
  },
3490
3568
  /**
3491
3569
  *
@@ -3511,8 +3589,11 @@ const ImageApiFp = function (configuration) {
3511
3589
  * @throws {RequiredError}
3512
3590
  */
3513
3591
  async headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3592
+ var _a, _b, _c;
3514
3593
  const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3515
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3594
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3595
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3596
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3516
3597
  },
3517
3598
  /**
3518
3599
  *
@@ -3538,8 +3619,11 @@ const ImageApiFp = function (configuration) {
3538
3619
  * @throws {RequiredError}
3539
3620
  */
3540
3621
  async headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3622
+ var _a, _b, _c;
3541
3623
  const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3542
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3624
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3625
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3626
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3543
3627
  },
3544
3628
  /**
3545
3629
  *
@@ -3565,8 +3649,11 @@ const ImageApiFp = function (configuration) {
3565
3649
  * @throws {RequiredError}
3566
3650
  */
3567
3651
  async headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3652
+ var _a, _b, _c;
3568
3653
  const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3569
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3654
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3655
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3656
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3570
3657
  },
3571
3658
  /**
3572
3659
  *
@@ -3592,8 +3679,11 @@ const ImageApiFp = function (configuration) {
3592
3679
  * @throws {RequiredError}
3593
3680
  */
3594
3681
  async headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3682
+ var _a, _b, _c;
3595
3683
  const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3596
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3684
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3685
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3686
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3597
3687
  },
3598
3688
  /**
3599
3689
  *
@@ -3619,8 +3709,11 @@ const ImageApiFp = function (configuration) {
3619
3709
  * @throws {RequiredError}
3620
3710
  */
3621
3711
  async headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3712
+ var _a, _b, _c;
3622
3713
  const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3623
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3714
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3715
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3716
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3624
3717
  },
3625
3718
  /**
3626
3719
  *
@@ -3645,33 +3738,42 @@ const ImageApiFp = function (configuration) {
3645
3738
  * @throws {RequiredError}
3646
3739
  */
3647
3740
  async headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3741
+ var _a, _b, _c;
3648
3742
  const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3649
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3743
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3744
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3745
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3650
3746
  },
3651
3747
  /**
3652
3748
  *
3653
3749
  * @summary Sets the user image.
3654
3750
  * @param {string} [userId] User Id.
3655
- * @param {any} [body]
3751
+ * @param {File} [body]
3656
3752
  * @param {*} [options] Override http request option.
3657
3753
  * @throws {RequiredError}
3658
3754
  */
3659
3755
  async postUserImage(userId, body, options) {
3756
+ var _a, _b, _c;
3660
3757
  const localVarAxiosArgs = await localVarAxiosParamCreator.postUserImage(userId, body, options);
3661
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3758
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3759
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.postUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3760
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3662
3761
  },
3663
3762
  /**
3664
3763
  *
3665
3764
  * @summary Set item image.
3666
3765
  * @param {string} itemId Item id.
3667
3766
  * @param {ImageType} imageType Image type.
3668
- * @param {any} [body]
3767
+ * @param {File} [body]
3669
3768
  * @param {*} [options] Override http request option.
3670
3769
  * @throws {RequiredError}
3671
3770
  */
3672
3771
  async setItemImage(itemId, imageType, body, options) {
3772
+ var _a, _b, _c;
3673
3773
  const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
3674
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3774
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3775
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3776
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3675
3777
  },
3676
3778
  /**
3677
3779
  *
@@ -3679,13 +3781,16 @@ const ImageApiFp = function (configuration) {
3679
3781
  * @param {string} itemId Item id.
3680
3782
  * @param {ImageType} imageType Image type.
3681
3783
  * @param {number} imageIndex (Unused) Image index.
3682
- * @param {any} [body]
3784
+ * @param {File} [body]
3683
3785
  * @param {*} [options] Override http request option.
3684
3786
  * @throws {RequiredError}
3685
3787
  */
3686
3788
  async setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
3789
+ var _a, _b, _c;
3687
3790
  const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
3688
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3791
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3792
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3793
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3689
3794
  },
3690
3795
  /**
3691
3796
  *
@@ -3698,19 +3803,25 @@ const ImageApiFp = function (configuration) {
3698
3803
  * @throws {RequiredError}
3699
3804
  */
3700
3805
  async updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
3806
+ var _a, _b, _c;
3701
3807
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
3702
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3808
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3809
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.updateItemImageIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3810
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3703
3811
  },
3704
3812
  /**
3705
3813
  *
3706
3814
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
3707
- * @param {any} [body]
3815
+ * @param {File} [body]
3708
3816
  * @param {*} [options] Override http request option.
3709
3817
  * @throws {RequiredError}
3710
3818
  */
3711
3819
  async uploadCustomSplashscreen(body, options) {
3820
+ var _a, _b, _c;
3712
3821
  const localVarAxiosArgs = await localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
3713
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3822
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3823
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.uploadCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3714
3825
  },
3715
3826
  };
3716
3827
  };
@@ -3733,800 +3844,362 @@ const ImageApiFactory = function (configuration, basePath, axios) {
3733
3844
  /**
3734
3845
  *
3735
3846
  * @summary Delete an item\'s image.
3736
- * @param {string} itemId Item id.
3737
- * @param {ImageType} imageType Image type.
3738
- * @param {number} [imageIndex] The image index.
3847
+ * @param {ImageApiDeleteItemImageRequest} requestParameters Request parameters.
3739
3848
  * @param {*} [options] Override http request option.
3740
3849
  * @throws {RequiredError}
3741
3850
  */
3742
- deleteItemImage(itemId, imageType, imageIndex, options) {
3743
- return localVarFp.deleteItemImage(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
3851
+ deleteItemImage(requestParameters, options) {
3852
+ return localVarFp.deleteItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3744
3853
  },
3745
3854
  /**
3746
3855
  *
3747
3856
  * @summary Delete an item\'s image.
3748
- * @param {string} itemId Item id.
3749
- * @param {ImageType} imageType Image type.
3750
- * @param {number} imageIndex The image index.
3857
+ * @param {ImageApiDeleteItemImageByIndexRequest} requestParameters Request parameters.
3751
3858
  * @param {*} [options] Override http request option.
3752
3859
  * @throws {RequiredError}
3753
3860
  */
3754
- deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
3755
- return localVarFp.deleteItemImageByIndex(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
3861
+ deleteItemImageByIndex(requestParameters, options) {
3862
+ return localVarFp.deleteItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3756
3863
  },
3757
3864
  /**
3758
3865
  *
3759
3866
  * @summary Delete the user\'s image.
3760
- * @param {string} [userId] User Id.
3867
+ * @param {ImageApiDeleteUserImageRequest} requestParameters Request parameters.
3761
3868
  * @param {*} [options] Override http request option.
3762
3869
  * @throws {RequiredError}
3763
3870
  */
3764
- deleteUserImage(userId, options) {
3765
- return localVarFp.deleteUserImage(userId, options).then((request) => request(axios, basePath));
3871
+ deleteUserImage(requestParameters = {}, options) {
3872
+ return localVarFp.deleteUserImage(requestParameters.userId, options).then((request) => request(axios, basePath));
3766
3873
  },
3767
3874
  /**
3768
3875
  *
3769
3876
  * @summary Get artist image by name.
3770
- * @param {string} name Artist name.
3771
- * @param {ImageType} imageType Image type.
3772
- * @param {number} imageIndex Image index.
3773
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3774
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3775
- * @param {number} [maxWidth] The maximum image width to return.
3776
- * @param {number} [maxHeight] The maximum image height to return.
3777
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3778
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3779
- * @param {number} [width] The fixed image width to return.
3780
- * @param {number} [height] The fixed image height to return.
3781
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3782
- * @param {number} [fillWidth] Width of box to fill.
3783
- * @param {number} [fillHeight] Height of box to fill.
3784
- * @param {number} [blur] Optional. Blur image.
3785
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3786
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3877
+ * @param {ImageApiGetArtistImageRequest} requestParameters Request parameters.
3787
3878
  * @param {*} [options] Override http request option.
3788
3879
  * @throws {RequiredError}
3789
3880
  */
3790
- getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3791
- return localVarFp.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3881
+ getArtistImage(requestParameters, options) {
3882
+ return localVarFp.getArtistImage(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
3792
3883
  },
3793
3884
  /**
3794
3885
  *
3795
3886
  * @summary Get genre image by name.
3796
- * @param {string} name Genre name.
3797
- * @param {ImageType} imageType Image type.
3798
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3799
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3800
- * @param {number} [maxWidth] The maximum image width to return.
3801
- * @param {number} [maxHeight] The maximum image height to return.
3802
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3803
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3804
- * @param {number} [width] The fixed image width to return.
3805
- * @param {number} [height] The fixed image height to return.
3806
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3807
- * @param {number} [fillWidth] Width of box to fill.
3808
- * @param {number} [fillHeight] Height of box to fill.
3809
- * @param {number} [blur] Optional. Blur image.
3810
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3811
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3812
- * @param {number} [imageIndex] Image index.
3887
+ * @param {ImageApiGetGenreImageRequest} requestParameters Request parameters.
3813
3888
  * @param {*} [options] Override http request option.
3814
3889
  * @throws {RequiredError}
3815
3890
  */
3816
- getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3817
- return localVarFp.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3891
+ getGenreImage(requestParameters, options) {
3892
+ return localVarFp.getGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3818
3893
  },
3819
3894
  /**
3820
3895
  *
3821
3896
  * @summary Get genre image by name.
3822
- * @param {string} name Genre name.
3823
- * @param {ImageType} imageType Image type.
3824
- * @param {number} imageIndex Image index.
3825
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3826
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3827
- * @param {number} [maxWidth] The maximum image width to return.
3828
- * @param {number} [maxHeight] The maximum image height to return.
3829
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3830
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3831
- * @param {number} [width] The fixed image width to return.
3832
- * @param {number} [height] The fixed image height to return.
3833
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3834
- * @param {number} [fillWidth] Width of box to fill.
3835
- * @param {number} [fillHeight] Height of box to fill.
3836
- * @param {number} [blur] Optional. Blur image.
3837
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3838
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3897
+ * @param {ImageApiGetGenreImageByIndexRequest} requestParameters Request parameters.
3839
3898
  * @param {*} [options] Override http request option.
3840
3899
  * @throws {RequiredError}
3841
3900
  */
3842
- getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3843
- return localVarFp.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3901
+ getGenreImageByIndex(requestParameters, options) {
3902
+ return localVarFp.getGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
3844
3903
  },
3845
3904
  /**
3846
3905
  *
3847
3906
  * @summary Gets the item\'s image.
3848
- * @param {string} itemId Item id.
3849
- * @param {ImageType} imageType Image type.
3850
- * @param {number} [maxWidth] The maximum image width to return.
3851
- * @param {number} [maxHeight] The maximum image height to return.
3852
- * @param {number} [width] The fixed image width to return.
3853
- * @param {number} [height] The fixed image height to return.
3854
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3855
- * @param {number} [fillWidth] Width of box to fill.
3856
- * @param {number} [fillHeight] Height of box to fill.
3857
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3858
- * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
3859
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3860
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3861
- * @param {number} [blur] Optional. Blur image.
3862
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3863
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3864
- * @param {number} [imageIndex] Image index.
3907
+ * @param {ImageApiGetItemImageRequest} requestParameters Request parameters.
3865
3908
  * @param {*} [options] Override http request option.
3866
3909
  * @throws {RequiredError}
3867
3910
  */
3868
- getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3869
- return localVarFp.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3911
+ getItemImage(requestParameters, options) {
3912
+ return localVarFp.getItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3870
3913
  },
3871
3914
  /**
3872
3915
  *
3873
3916
  * @summary Gets the item\'s image.
3874
- * @param {string} itemId Item id.
3875
- * @param {ImageType} imageType Image type.
3876
- * @param {number} maxWidth The maximum image width to return.
3877
- * @param {number} maxHeight The maximum image height to return.
3878
- * @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
3879
- * @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
3880
- * @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
3881
- * @param {number} unplayedCount Optional. Unplayed count overlay to render.
3882
- * @param {number} imageIndex Image index.
3883
- * @param {number} [width] The fixed image width to return.
3884
- * @param {number} [height] The fixed image height to return.
3885
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3886
- * @param {number} [fillWidth] Width of box to fill.
3887
- * @param {number} [fillHeight] Height of box to fill.
3888
- * @param {number} [blur] Optional. Blur image.
3889
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3890
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3917
+ * @param {ImageApiGetItemImage2Request} requestParameters Request parameters.
3891
3918
  * @param {*} [options] Override http request option.
3892
3919
  * @throws {RequiredError}
3893
3920
  */
3894
- getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3895
- return localVarFp.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3921
+ getItemImage2(requestParameters, options) {
3922
+ return localVarFp.getItemImage2(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.imageIndex, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
3896
3923
  },
3897
3924
  /**
3898
3925
  *
3899
3926
  * @summary Gets the item\'s image.
3900
- * @param {string} itemId Item id.
3901
- * @param {ImageType} imageType Image type.
3902
- * @param {number} imageIndex Image index.
3903
- * @param {number} [maxWidth] The maximum image width to return.
3904
- * @param {number} [maxHeight] The maximum image height to return.
3905
- * @param {number} [width] The fixed image width to return.
3906
- * @param {number} [height] The fixed image height to return.
3907
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3908
- * @param {number} [fillWidth] Width of box to fill.
3909
- * @param {number} [fillHeight] Height of box to fill.
3910
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3911
- * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
3912
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3913
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3914
- * @param {number} [blur] Optional. Blur image.
3915
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3916
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3927
+ * @param {ImageApiGetItemImageByIndexRequest} requestParameters Request parameters.
3917
3928
  * @param {*} [options] Override http request option.
3918
3929
  * @throws {RequiredError}
3919
3930
  */
3920
- getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3921
- return localVarFp.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3931
+ getItemImageByIndex(requestParameters, options) {
3932
+ return localVarFp.getItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
3922
3933
  },
3923
3934
  /**
3924
3935
  *
3925
3936
  * @summary Get item image infos.
3926
- * @param {string} itemId Item id.
3937
+ * @param {ImageApiGetItemImageInfosRequest} requestParameters Request parameters.
3927
3938
  * @param {*} [options] Override http request option.
3928
3939
  * @throws {RequiredError}
3929
3940
  */
3930
- getItemImageInfos(itemId, options) {
3931
- return localVarFp.getItemImageInfos(itemId, options).then((request) => request(axios, basePath));
3941
+ getItemImageInfos(requestParameters, options) {
3942
+ return localVarFp.getItemImageInfos(requestParameters.itemId, options).then((request) => request(axios, basePath));
3932
3943
  },
3933
3944
  /**
3934
3945
  *
3935
3946
  * @summary Get music genre image by name.
3936
- * @param {string} name Music genre name.
3937
- * @param {ImageType} imageType Image type.
3938
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3939
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3940
- * @param {number} [maxWidth] The maximum image width to return.
3941
- * @param {number} [maxHeight] The maximum image height to return.
3942
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3943
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3944
- * @param {number} [width] The fixed image width to return.
3945
- * @param {number} [height] The fixed image height to return.
3946
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3947
- * @param {number} [fillWidth] Width of box to fill.
3948
- * @param {number} [fillHeight] Height of box to fill.
3949
- * @param {number} [blur] Optional. Blur image.
3950
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3951
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3952
- * @param {number} [imageIndex] Image index.
3947
+ * @param {ImageApiGetMusicGenreImageRequest} requestParameters Request parameters.
3953
3948
  * @param {*} [options] Override http request option.
3954
3949
  * @throws {RequiredError}
3955
3950
  */
3956
- getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3957
- return localVarFp.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3951
+ getMusicGenreImage(requestParameters, options) {
3952
+ return localVarFp.getMusicGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3958
3953
  },
3959
3954
  /**
3960
3955
  *
3961
3956
  * @summary Get music genre image by name.
3962
- * @param {string} name Music genre name.
3963
- * @param {ImageType} imageType Image type.
3964
- * @param {number} imageIndex Image index.
3965
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3966
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3967
- * @param {number} [maxWidth] The maximum image width to return.
3968
- * @param {number} [maxHeight] The maximum image height to return.
3969
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3970
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3971
- * @param {number} [width] The fixed image width to return.
3972
- * @param {number} [height] The fixed image height to return.
3973
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3974
- * @param {number} [fillWidth] Width of box to fill.
3975
- * @param {number} [fillHeight] Height of box to fill.
3976
- * @param {number} [blur] Optional. Blur image.
3977
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3978
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3957
+ * @param {ImageApiGetMusicGenreImageByIndexRequest} requestParameters Request parameters.
3979
3958
  * @param {*} [options] Override http request option.
3980
3959
  * @throws {RequiredError}
3981
3960
  */
3982
- getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3983
- return localVarFp.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3961
+ getMusicGenreImageByIndex(requestParameters, options) {
3962
+ return localVarFp.getMusicGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
3984
3963
  },
3985
3964
  /**
3986
3965
  *
3987
3966
  * @summary Get person image by name.
3988
- * @param {string} name Person name.
3989
- * @param {ImageType} imageType Image type.
3990
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3991
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3992
- * @param {number} [maxWidth] The maximum image width to return.
3993
- * @param {number} [maxHeight] The maximum image height to return.
3994
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3995
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3996
- * @param {number} [width] The fixed image width to return.
3997
- * @param {number} [height] The fixed image height to return.
3998
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3999
- * @param {number} [fillWidth] Width of box to fill.
4000
- * @param {number} [fillHeight] Height of box to fill.
4001
- * @param {number} [blur] Optional. Blur image.
4002
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4003
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4004
- * @param {number} [imageIndex] Image index.
3967
+ * @param {ImageApiGetPersonImageRequest} requestParameters Request parameters.
4005
3968
  * @param {*} [options] Override http request option.
4006
3969
  * @throws {RequiredError}
4007
3970
  */
4008
- getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4009
- return localVarFp.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3971
+ getPersonImage(requestParameters, options) {
3972
+ return localVarFp.getPersonImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4010
3973
  },
4011
3974
  /**
4012
3975
  *
4013
3976
  * @summary Get person image by name.
4014
- * @param {string} name Person name.
4015
- * @param {ImageType} imageType Image type.
4016
- * @param {number} imageIndex Image index.
4017
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4018
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4019
- * @param {number} [maxWidth] The maximum image width to return.
4020
- * @param {number} [maxHeight] The maximum image height to return.
4021
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4022
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4023
- * @param {number} [width] The fixed image width to return.
4024
- * @param {number} [height] The fixed image height to return.
4025
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4026
- * @param {number} [fillWidth] Width of box to fill.
4027
- * @param {number} [fillHeight] Height of box to fill.
4028
- * @param {number} [blur] Optional. Blur image.
4029
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4030
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3977
+ * @param {ImageApiGetPersonImageByIndexRequest} requestParameters Request parameters.
4031
3978
  * @param {*} [options] Override http request option.
4032
3979
  * @throws {RequiredError}
4033
3980
  */
4034
- getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4035
- return localVarFp.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3981
+ getPersonImageByIndex(requestParameters, options) {
3982
+ return localVarFp.getPersonImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4036
3983
  },
4037
3984
  /**
4038
3985
  *
4039
3986
  * @summary Generates or gets the splashscreen.
4040
- * @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
4041
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4042
- * @param {number} [maxWidth] The maximum image width to return.
4043
- * @param {number} [maxHeight] The maximum image height to return.
4044
- * @param {number} [width] The fixed image width to return.
4045
- * @param {number} [height] The fixed image height to return.
4046
- * @param {number} [fillWidth] Width of box to fill.
4047
- * @param {number} [fillHeight] Height of box to fill.
4048
- * @param {number} [blur] Blur image.
4049
- * @param {string} [backgroundColor] Apply a background color for transparent images.
4050
- * @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
4051
- * @param {number} [quality] Quality setting, from 0-100.
3987
+ * @param {ImageApiGetSplashscreenRequest} requestParameters Request parameters.
4052
3988
  * @param {*} [options] Override http request option.
4053
3989
  * @throws {RequiredError}
4054
3990
  */
4055
- getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
4056
- return localVarFp.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options).then((request) => request(axios, basePath));
3991
+ getSplashscreen(requestParameters = {}, options) {
3992
+ return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.quality, options).then((request) => request(axios, basePath));
4057
3993
  },
4058
3994
  /**
4059
3995
  *
4060
3996
  * @summary Get studio image by name.
4061
- * @param {string} name Studio name.
4062
- * @param {ImageType} imageType Image type.
4063
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4064
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4065
- * @param {number} [maxWidth] The maximum image width to return.
4066
- * @param {number} [maxHeight] The maximum image height to return.
4067
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4068
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4069
- * @param {number} [width] The fixed image width to return.
4070
- * @param {number} [height] The fixed image height to return.
4071
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4072
- * @param {number} [fillWidth] Width of box to fill.
4073
- * @param {number} [fillHeight] Height of box to fill.
4074
- * @param {number} [blur] Optional. Blur image.
4075
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4076
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4077
- * @param {number} [imageIndex] Image index.
3997
+ * @param {ImageApiGetStudioImageRequest} requestParameters Request parameters.
4078
3998
  * @param {*} [options] Override http request option.
4079
3999
  * @throws {RequiredError}
4080
4000
  */
4081
- getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4082
- return localVarFp.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4001
+ getStudioImage(requestParameters, options) {
4002
+ return localVarFp.getStudioImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4083
4003
  },
4084
4004
  /**
4085
4005
  *
4086
4006
  * @summary Get studio image by name.
4087
- * @param {string} name Studio name.
4088
- * @param {ImageType} imageType Image type.
4089
- * @param {number} imageIndex Image index.
4090
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4091
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4092
- * @param {number} [maxWidth] The maximum image width to return.
4093
- * @param {number} [maxHeight] The maximum image height to return.
4094
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4095
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4096
- * @param {number} [width] The fixed image width to return.
4097
- * @param {number} [height] The fixed image height to return.
4098
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4099
- * @param {number} [fillWidth] Width of box to fill.
4100
- * @param {number} [fillHeight] Height of box to fill.
4101
- * @param {number} [blur] Optional. Blur image.
4102
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4103
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4007
+ * @param {ImageApiGetStudioImageByIndexRequest} requestParameters Request parameters.
4104
4008
  * @param {*} [options] Override http request option.
4105
4009
  * @throws {RequiredError}
4106
4010
  */
4107
- getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4108
- return localVarFp.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4011
+ getStudioImageByIndex(requestParameters, options) {
4012
+ return localVarFp.getStudioImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4109
4013
  },
4110
4014
  /**
4111
4015
  *
4112
4016
  * @summary Get user profile image.
4113
- * @param {string} [userId] User id.
4114
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4115
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4116
- * @param {number} [maxWidth] The maximum image width to return.
4117
- * @param {number} [maxHeight] The maximum image height to return.
4118
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4119
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4120
- * @param {number} [width] The fixed image width to return.
4121
- * @param {number} [height] The fixed image height to return.
4122
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4123
- * @param {number} [fillWidth] Width of box to fill.
4124
- * @param {number} [fillHeight] Height of box to fill.
4125
- * @param {number} [blur] Optional. Blur image.
4126
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4127
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4128
- * @param {number} [imageIndex] Image index.
4017
+ * @param {ImageApiGetUserImageRequest} requestParameters Request parameters.
4129
4018
  * @param {*} [options] Override http request option.
4130
4019
  * @throws {RequiredError}
4131
4020
  */
4132
- getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4133
- return localVarFp.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4021
+ getUserImage(requestParameters = {}, options) {
4022
+ return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4134
4023
  },
4135
4024
  /**
4136
4025
  *
4137
4026
  * @summary Get artist image by name.
4138
- * @param {string} name Artist name.
4139
- * @param {ImageType} imageType Image type.
4140
- * @param {number} imageIndex Image index.
4141
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4142
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4143
- * @param {number} [maxWidth] The maximum image width to return.
4144
- * @param {number} [maxHeight] The maximum image height to return.
4145
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4146
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4147
- * @param {number} [width] The fixed image width to return.
4148
- * @param {number} [height] The fixed image height to return.
4149
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4150
- * @param {number} [fillWidth] Width of box to fill.
4151
- * @param {number} [fillHeight] Height of box to fill.
4152
- * @param {number} [blur] Optional. Blur image.
4153
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4154
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4027
+ * @param {ImageApiHeadArtistImageRequest} requestParameters Request parameters.
4155
4028
  * @param {*} [options] Override http request option.
4156
4029
  * @throws {RequiredError}
4157
4030
  */
4158
- headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4159
- return localVarFp.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4031
+ headArtistImage(requestParameters, options) {
4032
+ return localVarFp.headArtistImage(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4160
4033
  },
4161
4034
  /**
4162
4035
  *
4163
4036
  * @summary Get genre image by name.
4164
- * @param {string} name Genre name.
4165
- * @param {ImageType} imageType Image type.
4166
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4167
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4168
- * @param {number} [maxWidth] The maximum image width to return.
4169
- * @param {number} [maxHeight] The maximum image height to return.
4170
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4171
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4172
- * @param {number} [width] The fixed image width to return.
4173
- * @param {number} [height] The fixed image height to return.
4174
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4175
- * @param {number} [fillWidth] Width of box to fill.
4176
- * @param {number} [fillHeight] Height of box to fill.
4177
- * @param {number} [blur] Optional. Blur image.
4178
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4179
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4180
- * @param {number} [imageIndex] Image index.
4037
+ * @param {ImageApiHeadGenreImageRequest} requestParameters Request parameters.
4181
4038
  * @param {*} [options] Override http request option.
4182
4039
  * @throws {RequiredError}
4183
4040
  */
4184
- headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4185
- return localVarFp.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4041
+ headGenreImage(requestParameters, options) {
4042
+ return localVarFp.headGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4186
4043
  },
4187
4044
  /**
4188
4045
  *
4189
4046
  * @summary Get genre image by name.
4190
- * @param {string} name Genre name.
4191
- * @param {ImageType} imageType Image type.
4192
- * @param {number} imageIndex Image index.
4193
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4194
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4195
- * @param {number} [maxWidth] The maximum image width to return.
4196
- * @param {number} [maxHeight] The maximum image height to return.
4197
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4198
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4199
- * @param {number} [width] The fixed image width to return.
4200
- * @param {number} [height] The fixed image height to return.
4201
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4202
- * @param {number} [fillWidth] Width of box to fill.
4203
- * @param {number} [fillHeight] Height of box to fill.
4204
- * @param {number} [blur] Optional. Blur image.
4205
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4206
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4047
+ * @param {ImageApiHeadGenreImageByIndexRequest} requestParameters Request parameters.
4207
4048
  * @param {*} [options] Override http request option.
4208
4049
  * @throws {RequiredError}
4209
4050
  */
4210
- headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4211
- return localVarFp.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4051
+ headGenreImageByIndex(requestParameters, options) {
4052
+ return localVarFp.headGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4212
4053
  },
4213
4054
  /**
4214
4055
  *
4215
4056
  * @summary Gets the item\'s image.
4216
- * @param {string} itemId Item id.
4217
- * @param {ImageType} imageType Image type.
4218
- * @param {number} [maxWidth] The maximum image width to return.
4219
- * @param {number} [maxHeight] The maximum image height to return.
4220
- * @param {number} [width] The fixed image width to return.
4221
- * @param {number} [height] The fixed image height to return.
4222
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4223
- * @param {number} [fillWidth] Width of box to fill.
4224
- * @param {number} [fillHeight] Height of box to fill.
4225
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4226
- * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4227
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4228
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4229
- * @param {number} [blur] Optional. Blur image.
4230
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4231
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4232
- * @param {number} [imageIndex] Image index.
4057
+ * @param {ImageApiHeadItemImageRequest} requestParameters Request parameters.
4233
4058
  * @param {*} [options] Override http request option.
4234
4059
  * @throws {RequiredError}
4235
4060
  */
4236
- headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4237
- return localVarFp.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4061
+ headItemImage(requestParameters, options) {
4062
+ return localVarFp.headItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4238
4063
  },
4239
4064
  /**
4240
4065
  *
4241
4066
  * @summary Gets the item\'s image.
4242
- * @param {string} itemId Item id.
4243
- * @param {ImageType} imageType Image type.
4244
- * @param {number} maxWidth The maximum image width to return.
4245
- * @param {number} maxHeight The maximum image height to return.
4246
- * @param {string} tag Optional. Supply the cache tag from the item object to receive strong caching headers.
4247
- * @param {ImageFormat} format Determines the output format of the image - original,gif,jpg,png.
4248
- * @param {number} percentPlayed Optional. Percent to render for the percent played overlay.
4249
- * @param {number} unplayedCount Optional. Unplayed count overlay to render.
4250
- * @param {number} imageIndex Image index.
4251
- * @param {number} [width] The fixed image width to return.
4252
- * @param {number} [height] The fixed image height to return.
4253
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4254
- * @param {number} [fillWidth] Width of box to fill.
4255
- * @param {number} [fillHeight] Height of box to fill.
4256
- * @param {number} [blur] Optional. Blur image.
4257
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4258
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4067
+ * @param {ImageApiHeadItemImage2Request} requestParameters Request parameters.
4259
4068
  * @param {*} [options] Override http request option.
4260
4069
  * @throws {RequiredError}
4261
4070
  */
4262
- headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4263
- return localVarFp.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4071
+ headItemImage2(requestParameters, options) {
4072
+ return localVarFp.headItemImage2(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.imageIndex, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4264
4073
  },
4265
4074
  /**
4266
4075
  *
4267
4076
  * @summary Gets the item\'s image.
4268
- * @param {string} itemId Item id.
4269
- * @param {ImageType} imageType Image type.
4270
- * @param {number} imageIndex Image index.
4271
- * @param {number} [maxWidth] The maximum image width to return.
4272
- * @param {number} [maxHeight] The maximum image height to return.
4273
- * @param {number} [width] The fixed image width to return.
4274
- * @param {number} [height] The fixed image height to return.
4275
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4276
- * @param {number} [fillWidth] Width of box to fill.
4277
- * @param {number} [fillHeight] Height of box to fill.
4278
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4279
- * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4280
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4281
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4282
- * @param {number} [blur] Optional. Blur image.
4283
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4284
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4077
+ * @param {ImageApiHeadItemImageByIndexRequest} requestParameters Request parameters.
4285
4078
  * @param {*} [options] Override http request option.
4286
4079
  * @throws {RequiredError}
4287
4080
  */
4288
- headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
4289
- return localVarFp.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4081
+ headItemImageByIndex(requestParameters, options) {
4082
+ return localVarFp.headItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.format, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4290
4083
  },
4291
4084
  /**
4292
4085
  *
4293
4086
  * @summary Get music genre image by name.
4294
- * @param {string} name Music genre name.
4295
- * @param {ImageType} imageType Image type.
4296
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4297
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4298
- * @param {number} [maxWidth] The maximum image width to return.
4299
- * @param {number} [maxHeight] The maximum image height to return.
4300
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4301
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4302
- * @param {number} [width] The fixed image width to return.
4303
- * @param {number} [height] The fixed image height to return.
4304
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4305
- * @param {number} [fillWidth] Width of box to fill.
4306
- * @param {number} [fillHeight] Height of box to fill.
4307
- * @param {number} [blur] Optional. Blur image.
4308
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4309
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4310
- * @param {number} [imageIndex] Image index.
4087
+ * @param {ImageApiHeadMusicGenreImageRequest} requestParameters Request parameters.
4311
4088
  * @param {*} [options] Override http request option.
4312
4089
  * @throws {RequiredError}
4313
4090
  */
4314
- headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4315
- return localVarFp.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4091
+ headMusicGenreImage(requestParameters, options) {
4092
+ return localVarFp.headMusicGenreImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4316
4093
  },
4317
4094
  /**
4318
4095
  *
4319
4096
  * @summary Get music genre image by name.
4320
- * @param {string} name Music genre name.
4321
- * @param {ImageType} imageType Image type.
4322
- * @param {number} imageIndex Image index.
4323
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4324
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4325
- * @param {number} [maxWidth] The maximum image width to return.
4326
- * @param {number} [maxHeight] The maximum image height to return.
4327
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4328
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4329
- * @param {number} [width] The fixed image width to return.
4330
- * @param {number} [height] The fixed image height to return.
4331
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4332
- * @param {number} [fillWidth] Width of box to fill.
4333
- * @param {number} [fillHeight] Height of box to fill.
4334
- * @param {number} [blur] Optional. Blur image.
4335
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4336
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4097
+ * @param {ImageApiHeadMusicGenreImageByIndexRequest} requestParameters Request parameters.
4337
4098
  * @param {*} [options] Override http request option.
4338
4099
  * @throws {RequiredError}
4339
4100
  */
4340
- headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4341
- return localVarFp.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4101
+ headMusicGenreImageByIndex(requestParameters, options) {
4102
+ return localVarFp.headMusicGenreImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4342
4103
  },
4343
4104
  /**
4344
4105
  *
4345
4106
  * @summary Get person image by name.
4346
- * @param {string} name Person name.
4347
- * @param {ImageType} imageType Image type.
4348
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4349
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4350
- * @param {number} [maxWidth] The maximum image width to return.
4351
- * @param {number} [maxHeight] The maximum image height to return.
4352
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4353
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4354
- * @param {number} [width] The fixed image width to return.
4355
- * @param {number} [height] The fixed image height to return.
4356
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4357
- * @param {number} [fillWidth] Width of box to fill.
4358
- * @param {number} [fillHeight] Height of box to fill.
4359
- * @param {number} [blur] Optional. Blur image.
4360
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4361
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4362
- * @param {number} [imageIndex] Image index.
4107
+ * @param {ImageApiHeadPersonImageRequest} requestParameters Request parameters.
4363
4108
  * @param {*} [options] Override http request option.
4364
4109
  * @throws {RequiredError}
4365
4110
  */
4366
- headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4367
- return localVarFp.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4111
+ headPersonImage(requestParameters, options) {
4112
+ return localVarFp.headPersonImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4368
4113
  },
4369
4114
  /**
4370
4115
  *
4371
4116
  * @summary Get person image by name.
4372
- * @param {string} name Person name.
4373
- * @param {ImageType} imageType Image type.
4374
- * @param {number} imageIndex Image index.
4375
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4376
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4377
- * @param {number} [maxWidth] The maximum image width to return.
4378
- * @param {number} [maxHeight] The maximum image height to return.
4379
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4380
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4381
- * @param {number} [width] The fixed image width to return.
4382
- * @param {number} [height] The fixed image height to return.
4383
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4384
- * @param {number} [fillWidth] Width of box to fill.
4385
- * @param {number} [fillHeight] Height of box to fill.
4386
- * @param {number} [blur] Optional. Blur image.
4387
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4388
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4117
+ * @param {ImageApiHeadPersonImageByIndexRequest} requestParameters Request parameters.
4389
4118
  * @param {*} [options] Override http request option.
4390
4119
  * @throws {RequiredError}
4391
4120
  */
4392
- headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4393
- return localVarFp.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4121
+ headPersonImageByIndex(requestParameters, options) {
4122
+ return localVarFp.headPersonImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4394
4123
  },
4395
4124
  /**
4396
4125
  *
4397
4126
  * @summary Get studio image by name.
4398
- * @param {string} name Studio name.
4399
- * @param {ImageType} imageType Image type.
4400
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4401
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4402
- * @param {number} [maxWidth] The maximum image width to return.
4403
- * @param {number} [maxHeight] The maximum image height to return.
4404
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4405
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4406
- * @param {number} [width] The fixed image width to return.
4407
- * @param {number} [height] The fixed image height to return.
4408
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4409
- * @param {number} [fillWidth] Width of box to fill.
4410
- * @param {number} [fillHeight] Height of box to fill.
4411
- * @param {number} [blur] Optional. Blur image.
4412
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4413
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4414
- * @param {number} [imageIndex] Image index.
4127
+ * @param {ImageApiHeadStudioImageRequest} requestParameters Request parameters.
4415
4128
  * @param {*} [options] Override http request option.
4416
4129
  * @throws {RequiredError}
4417
4130
  */
4418
- headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4419
- return localVarFp.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4131
+ headStudioImage(requestParameters, options) {
4132
+ return localVarFp.headStudioImage(requestParameters.name, requestParameters.imageType, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4420
4133
  },
4421
4134
  /**
4422
4135
  *
4423
4136
  * @summary Get studio image by name.
4424
- * @param {string} name Studio name.
4425
- * @param {ImageType} imageType Image type.
4426
- * @param {number} imageIndex Image index.
4427
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4428
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4429
- * @param {number} [maxWidth] The maximum image width to return.
4430
- * @param {number} [maxHeight] The maximum image height to return.
4431
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4432
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4433
- * @param {number} [width] The fixed image width to return.
4434
- * @param {number} [height] The fixed image height to return.
4435
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4436
- * @param {number} [fillWidth] Width of box to fill.
4437
- * @param {number} [fillHeight] Height of box to fill.
4438
- * @param {number} [blur] Optional. Blur image.
4439
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4440
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4137
+ * @param {ImageApiHeadStudioImageByIndexRequest} requestParameters Request parameters.
4441
4138
  * @param {*} [options] Override http request option.
4442
4139
  * @throws {RequiredError}
4443
4140
  */
4444
- headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4445
- return localVarFp.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4141
+ headStudioImageByIndex(requestParameters, options) {
4142
+ return localVarFp.headStudioImageByIndex(requestParameters.name, requestParameters.imageType, requestParameters.imageIndex, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(axios, basePath));
4446
4143
  },
4447
4144
  /**
4448
4145
  *
4449
4146
  * @summary Get user profile image.
4450
- * @param {string} [userId] User id.
4451
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4452
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4453
- * @param {number} [maxWidth] The maximum image width to return.
4454
- * @param {number} [maxHeight] The maximum image height to return.
4455
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4456
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4457
- * @param {number} [width] The fixed image width to return.
4458
- * @param {number} [height] The fixed image height to return.
4459
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4460
- * @param {number} [fillWidth] Width of box to fill.
4461
- * @param {number} [fillHeight] Height of box to fill.
4462
- * @param {number} [blur] Optional. Blur image.
4463
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4464
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4465
- * @param {number} [imageIndex] Image index.
4147
+ * @param {ImageApiHeadUserImageRequest} requestParameters Request parameters.
4466
4148
  * @param {*} [options] Override http request option.
4467
4149
  * @throws {RequiredError}
4468
4150
  */
4469
- headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4470
- return localVarFp.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4151
+ headUserImage(requestParameters = {}, options) {
4152
+ return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
4471
4153
  },
4472
4154
  /**
4473
4155
  *
4474
4156
  * @summary Sets the user image.
4475
- * @param {string} [userId] User Id.
4476
- * @param {any} [body]
4157
+ * @param {ImageApiPostUserImageRequest} requestParameters Request parameters.
4477
4158
  * @param {*} [options] Override http request option.
4478
4159
  * @throws {RequiredError}
4479
4160
  */
4480
- postUserImage(userId, body, options) {
4481
- return localVarFp.postUserImage(userId, body, options).then((request) => request(axios, basePath));
4161
+ postUserImage(requestParameters = {}, options) {
4162
+ return localVarFp.postUserImage(requestParameters.userId, requestParameters.body, options).then((request) => request(axios, basePath));
4482
4163
  },
4483
4164
  /**
4484
4165
  *
4485
4166
  * @summary Set item image.
4486
- * @param {string} itemId Item id.
4487
- * @param {ImageType} imageType Image type.
4488
- * @param {any} [body]
4167
+ * @param {ImageApiSetItemImageRequest} requestParameters Request parameters.
4489
4168
  * @param {*} [options] Override http request option.
4490
4169
  * @throws {RequiredError}
4491
4170
  */
4492
- setItemImage(itemId, imageType, body, options) {
4493
- return localVarFp.setItemImage(itemId, imageType, body, options).then((request) => request(axios, basePath));
4171
+ setItemImage(requestParameters, options) {
4172
+ return localVarFp.setItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.body, options).then((request) => request(axios, basePath));
4494
4173
  },
4495
4174
  /**
4496
4175
  *
4497
4176
  * @summary Set item image.
4498
- * @param {string} itemId Item id.
4499
- * @param {ImageType} imageType Image type.
4500
- * @param {number} imageIndex (Unused) Image index.
4501
- * @param {any} [body]
4177
+ * @param {ImageApiSetItemImageByIndexRequest} requestParameters Request parameters.
4502
4178
  * @param {*} [options] Override http request option.
4503
4179
  * @throws {RequiredError}
4504
4180
  */
4505
- setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
4506
- return localVarFp.setItemImageByIndex(itemId, imageType, imageIndex, body, options).then((request) => request(axios, basePath));
4181
+ setItemImageByIndex(requestParameters, options) {
4182
+ return localVarFp.setItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.body, options).then((request) => request(axios, basePath));
4507
4183
  },
4508
4184
  /**
4509
4185
  *
4510
4186
  * @summary Updates the index for an item image.
4511
- * @param {string} itemId Item id.
4512
- * @param {ImageType} imageType Image type.
4513
- * @param {number} imageIndex Old image index.
4514
- * @param {number} newIndex New image index.
4187
+ * @param {ImageApiUpdateItemImageIndexRequest} requestParameters Request parameters.
4515
4188
  * @param {*} [options] Override http request option.
4516
4189
  * @throws {RequiredError}
4517
4190
  */
4518
- updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
4519
- return localVarFp.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options).then((request) => request(axios, basePath));
4191
+ updateItemImageIndex(requestParameters, options) {
4192
+ return localVarFp.updateItemImageIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.newIndex, options).then((request) => request(axios, basePath));
4520
4193
  },
4521
4194
  /**
4522
4195
  *
4523
4196
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
4524
- * @param {any} [body]
4197
+ * @param {ImageApiUploadCustomSplashscreenRequest} requestParameters Request parameters.
4525
4198
  * @param {*} [options] Override http request option.
4526
4199
  * @throws {RequiredError}
4527
4200
  */
4528
- uploadCustomSplashscreen(body, options) {
4529
- return localVarFp.uploadCustomSplashscreen(body, options).then((request) => request(axios, basePath));
4201
+ uploadCustomSplashscreen(requestParameters = {}, options) {
4202
+ return localVarFp.uploadCustomSplashscreen(requestParameters.body, options).then((request) => request(axios, basePath));
4530
4203
  },
4531
4204
  };
4532
4205
  };