@jellyfin/sdk 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (390) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +3 -41
  3. package/lib/api.d.ts +7 -11
  4. package/lib/api.js +13 -14
  5. package/lib/generated-client/api/activity-log-api.d.ts +9 -12
  6. package/lib/generated-client/api/activity-log-api.js +8 -8
  7. package/lib/generated-client/api/api-key-api.d.ts +18 -18
  8. package/lib/generated-client/api/api-key-api.js +19 -10
  9. package/lib/generated-client/api/artists-api.d.ts +27 -90
  10. package/lib/generated-client/api/artists-api.js +22 -76
  11. package/lib/generated-client/api/audio-api.d.ts +87 -255
  12. package/lib/generated-client/api/audio-api.js +97 -249
  13. package/lib/generated-client/api/backup-api.d.ts +209 -0
  14. package/lib/generated-client/api/backup-api.js +311 -0
  15. package/lib/generated-client/api/branding-api.d.ts +16 -16
  16. package/lib/generated-client/api/branding-api.js +13 -4
  17. package/lib/generated-client/api/channels-api.d.ts +33 -51
  18. package/lib/generated-client/api/channels-api.js +33 -36
  19. package/lib/generated-client/api/client-log-api.d.ts +13 -13
  20. package/lib/generated-client/api/client-log-api.js +10 -7
  21. package/lib/generated-client/api/collection-api.d.ts +19 -24
  22. package/lib/generated-client/api/collection-api.js +22 -18
  23. package/lib/generated-client/api/configuration-api.d.ts +75 -29
  24. package/lib/generated-client/api/configuration-api.js +98 -17
  25. package/lib/generated-client/api/dashboard-api.d.ts +14 -14
  26. package/lib/generated-client/api/dashboard-api.js +16 -10
  27. package/lib/generated-client/api/devices-api.d.ts +31 -33
  28. package/lib/generated-client/api/devices-api.js +37 -23
  29. package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
  30. package/lib/generated-client/api/display-preferences-api.js +16 -15
  31. package/lib/generated-client/api/dlna-api.d.ts +6 -6
  32. package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
  33. package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
  34. package/lib/generated-client/api/dynamic-hls-api.js +233 -573
  35. package/lib/generated-client/api/environment-api.d.ts +33 -35
  36. package/lib/generated-client/api/environment-api.js +35 -19
  37. package/lib/generated-client/api/filter-api.d.ts +17 -29
  38. package/lib/generated-client/api/filter-api.js +15 -21
  39. package/lib/generated-client/api/genres-api.d.ts +20 -38
  40. package/lib/generated-client/api/genres-api.js +16 -28
  41. package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
  42. package/lib/generated-client/api/hls-segment-api.js +37 -29
  43. package/lib/generated-client/api/image-api.d.ts +216 -942
  44. package/lib/generated-client/api/image-api.js +282 -789
  45. package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
  46. package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
  47. package/lib/generated-client/api/instant-mix-api.js +57 -89
  48. package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
  49. package/lib/generated-client/api/item-lookup-api.js +78 -47
  50. package/lib/generated-client/api/item-refresh-api.d.ts +17 -13
  51. package/lib/generated-client/api/item-refresh-api.js +17 -13
  52. package/lib/generated-client/api/item-update-api.d.ts +20 -22
  53. package/lib/generated-client/api/item-update-api.js +22 -15
  54. package/lib/generated-client/api/items-api.d.ts +44 -137
  55. package/lib/generated-client/api/items-api.js +39 -123
  56. package/lib/generated-client/api/library-api.d.ts +185 -170
  57. package/lib/generated-client/api/library-api.js +213 -143
  58. package/lib/generated-client/api/library-structure-api.d.ts +48 -58
  59. package/lib/generated-client/api/library-structure-api.js +54 -40
  60. package/lib/generated-client/api/live-tv-api.d.ts +236 -336
  61. package/lib/generated-client/api/live-tv-api.js +287 -267
  62. package/lib/generated-client/api/localization-api.d.ts +23 -23
  63. package/lib/generated-client/api/localization-api.js +17 -5
  64. package/lib/generated-client/api/lyrics-api.d.ts +39 -42
  65. package/lib/generated-client/api/lyrics-api.js +46 -31
  66. package/lib/generated-client/api/media-info-api.d.ts +40 -59
  67. package/lib/generated-client/api/media-info-api.js +46 -53
  68. package/lib/generated-client/api/media-segments-api.d.ts +95 -0
  69. package/lib/generated-client/api/media-segments-api.js +123 -0
  70. package/lib/generated-client/api/movies-api.d.ts +10 -14
  71. package/lib/generated-client/api/movies-api.js +8 -9
  72. package/lib/generated-client/api/music-genres-api.d.ts +20 -38
  73. package/lib/generated-client/api/music-genres-api.js +16 -28
  74. package/lib/generated-client/api/notifications-api.d.ts +7 -7
  75. package/lib/generated-client/api/package-api.d.ts +33 -37
  76. package/lib/generated-client/api/package-api.js +38 -24
  77. package/lib/generated-client/api/persons-api.d.ts +18 -31
  78. package/lib/generated-client/api/persons-api.js +16 -23
  79. package/lib/generated-client/api/playlists-api.d.ts +109 -84
  80. package/lib/generated-client/api/playlists-api.js +138 -64
  81. package/lib/generated-client/api/playstate-api.d.ts +66 -80
  82. package/lib/generated-client/api/playstate-api.js +77 -64
  83. package/lib/generated-client/api/plugins-api.d.ts +48 -52
  84. package/lib/generated-client/api/plugins-api.js +61 -38
  85. package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
  86. package/lib/generated-client/api/quick-connect-api.js +24 -13
  87. package/lib/generated-client/api/remote-image-api.d.ts +21 -28
  88. package/lib/generated-client/api/remote-image-api.js +22 -20
  89. package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
  90. package/lib/generated-client/api/scheduled-tasks-api.js +37 -24
  91. package/lib/generated-client/api/search-api.d.ts +11 -28
  92. package/lib/generated-client/api/search-api.js +8 -22
  93. package/lib/generated-client/api/session-api.d.ts +90 -117
  94. package/lib/generated-client/api/session-api.js +104 -83
  95. package/lib/generated-client/api/startup-api.d.ts +37 -37
  96. package/lib/generated-client/api/startup-api.js +39 -18
  97. package/lib/generated-client/api/studios-api.d.ts +18 -35
  98. package/lib/generated-client/api/studios-api.js +16 -27
  99. package/lib/generated-client/api/subtitle-api.d.ts +55 -86
  100. package/lib/generated-client/api/subtitle-api.js +69 -70
  101. package/lib/generated-client/api/suggestions-api.d.ts +11 -16
  102. package/lib/generated-client/api/suggestions-api.js +8 -10
  103. package/lib/generated-client/api/sync-play-api.d.ts +166 -120
  104. package/lib/generated-client/api/sync-play-api.js +200 -71
  105. package/lib/generated-client/api/system-api.d.ts +53 -57
  106. package/lib/generated-client/api/system-api.js +56 -30
  107. package/lib/generated-client/api/time-sync-api.d.ts +8 -8
  108. package/lib/generated-client/api/time-sync-api.js +5 -2
  109. package/lib/generated-client/api/tmdb-api.d.ts +8 -8
  110. package/lib/generated-client/api/tmdb-api.js +5 -2
  111. package/lib/generated-client/api/trailers-api.d.ts +19 -102
  112. package/lib/generated-client/api/trailers-api.js +8 -88
  113. package/lib/generated-client/api/trickplay-api.d.ts +13 -18
  114. package/lib/generated-client/api/trickplay-api.js +15 -14
  115. package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
  116. package/lib/generated-client/api/tv-shows-api.js +30 -63
  117. package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
  118. package/lib/generated-client/api/universal-audio-api.js +33 -51
  119. package/lib/generated-client/api/user-api.d.ts +83 -88
  120. package/lib/generated-client/api/user-api.js +94 -57
  121. package/lib/generated-client/api/user-library-api.d.ts +59 -78
  122. package/lib/generated-client/api/user-library-api.js +71 -60
  123. package/lib/generated-client/api/user-views-api.d.ts +16 -19
  124. package/lib/generated-client/api/user-views-api.js +15 -12
  125. package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
  126. package/lib/generated-client/api/video-attachments-api.js +8 -7
  127. package/lib/generated-client/api/videos-api.d.ts +97 -274
  128. package/lib/generated-client/api/videos-api.js +114 -266
  129. package/lib/generated-client/api/years-api.d.ts +21 -36
  130. package/lib/generated-client/api/years-api.js +16 -25
  131. package/lib/generated-client/api.d.ts +2 -0
  132. package/lib/generated-client/base.d.ts +15 -4
  133. package/lib/generated-client/base.js +8 -4
  134. package/lib/generated-client/common.d.ts +4 -4
  135. package/lib/generated-client/common.js +23 -14
  136. package/lib/generated-client/configuration.d.ts +8 -0
  137. package/lib/generated-client/configuration.js +1 -0
  138. package/lib/generated-client/index.js +11 -1
  139. package/lib/generated-client/models/access-schedule.d.ts +1 -1
  140. package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
  141. package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
  142. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
  143. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
  144. package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
  145. package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
  146. package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
  147. package/lib/generated-client/models/album-info.d.ts +5 -5
  148. package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
  149. package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
  150. package/lib/generated-client/models/artist-info.d.ts +3 -3
  151. package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
  152. package/lib/generated-client/models/authentication-result.d.ts +7 -7
  153. package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
  154. package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
  155. package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
  156. package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
  157. package/lib/generated-client/models/base-item-dto.d.ts +28 -28
  158. package/lib/generated-client/models/base-item-person.d.ts +2 -2
  159. package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
  160. package/lib/generated-client/models/book-info.d.ts +2 -2
  161. package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
  162. package/lib/generated-client/models/box-set-info.d.ts +2 -2
  163. package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
  164. package/lib/generated-client/models/channel-features.d.ts +3 -3
  165. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
  166. package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
  167. package/lib/generated-client/models/client-capabilities.d.ts +3 -3
  168. package/lib/generated-client/models/codec-profile.d.ts +15 -9
  169. package/lib/generated-client/models/container-profile.d.ts +12 -6
  170. package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
  171. package/lib/generated-client/models/custom-database-option.d.ts +29 -0
  172. package/lib/generated-client/models/custom-database-options.d.ts +42 -0
  173. package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
  174. package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
  175. package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
  176. package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
  177. package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
  178. package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
  179. package/lib/generated-client/models/device-info-dto.d.ts +84 -0
  180. package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
  181. package/lib/generated-client/models/device-info.d.ts +1 -1
  182. package/lib/generated-client/models/device-profile.d.ts +8 -8
  183. package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
  184. package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
  185. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
  186. package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
  187. package/lib/generated-client/models/encoder-preset.d.ts +29 -0
  188. package/lib/generated-client/models/encoder-preset.js +32 -0
  189. package/lib/generated-client/models/encoding-options.d.ts +43 -19
  190. package/lib/generated-client/models/external-id-info.d.ts +1 -7
  191. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  192. package/lib/generated-client/models/external-id-media-type.js +2 -1
  193. package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
  194. package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
  195. package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
  196. package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
  197. package/lib/generated-client/models/general-command-message.d.ts +2 -2
  198. package/lib/generated-client/models/general-command.d.ts +3 -3
  199. package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
  200. package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
  201. package/lib/generated-client/models/group-info-dto.d.ts +1 -1
  202. package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
  203. package/lib/generated-client/models/group-state-update.d.ts +2 -2
  204. package/lib/generated-client/models/group-update-type.d.ts +0 -2
  205. package/lib/generated-client/models/group-update-type.js +0 -2
  206. package/lib/generated-client/models/group-update.d.ts +29 -6
  207. package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
  208. package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
  209. package/lib/generated-client/models/image-info.d.ts +1 -1
  210. package/lib/generated-client/models/image-option.d.ts +1 -1
  211. package/lib/generated-client/models/image-provider-info.d.ts +1 -1
  212. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
  213. package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
  214. package/lib/generated-client/models/index.d.ts +38 -14
  215. package/lib/generated-client/models/index.js +9 -1
  216. package/lib/generated-client/models/installation-info.d.ts +1 -1
  217. package/lib/generated-client/models/item-fields.d.ts +0 -11
  218. package/lib/generated-client/models/item-fields.js +0 -11
  219. package/lib/generated-client/models/item-sort-by.d.ts +0 -2
  220. package/lib/generated-client/models/item-sort-by.js +1 -3
  221. package/lib/generated-client/models/library-changed-message.d.ts +2 -2
  222. package/lib/generated-client/models/library-options-result-dto.d.ts +14 -2
  223. package/lib/generated-client/models/library-options.d.ts +57 -3
  224. package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
  225. package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
  226. package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
  227. package/lib/generated-client/models/live-stream-response.d.ts +1 -1
  228. package/lib/generated-client/models/live-tv-info.d.ts +1 -1
  229. package/lib/generated-client/models/live-tv-options.d.ts +2 -2
  230. package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
  231. package/lib/generated-client/models/lyric-dto.d.ts +2 -2
  232. package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
  233. package/lib/generated-client/models/lyric-line.d.ts +7 -0
  234. package/lib/generated-client/models/media-path-dto.d.ts +1 -1
  235. package/lib/generated-client/models/media-path-info.d.ts +0 -6
  236. package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
  237. package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
  238. package/lib/generated-client/models/media-segment-type.d.ts +24 -0
  239. package/lib/generated-client/models/media-segment-type.js +27 -0
  240. package/lib/generated-client/models/media-source-info.d.ts +29 -11
  241. package/lib/generated-client/models/media-stream.d.ts +23 -5
  242. package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
  243. package/lib/generated-client/models/metadata-editor-info.d.ts +12 -12
  244. package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
  245. package/lib/generated-client/models/movie-info.d.ts +2 -2
  246. package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
  247. package/lib/generated-client/models/music-video-info.d.ts +2 -2
  248. package/lib/generated-client/models/network-configuration.d.ts +1 -0
  249. package/lib/generated-client/models/open-live-stream-dto.d.ts +9 -3
  250. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
  251. package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
  252. package/lib/generated-client/models/package-info.d.ts +1 -1
  253. package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
  254. package/lib/generated-client/models/parental-rating.d.ts +8 -1
  255. package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
  256. package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
  257. package/lib/generated-client/models/play-message.d.ts +2 -2
  258. package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
  259. package/lib/generated-client/models/play-queue-update.d.ts +4 -4
  260. package/lib/generated-client/models/play-request.d.ts +1 -1
  261. package/lib/generated-client/models/playback-info-dto.d.ts +8 -2
  262. package/lib/generated-client/models/playback-info-response.d.ts +2 -2
  263. package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
  264. package/lib/generated-client/models/playback-start-info.d.ts +5 -5
  265. package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
  266. package/lib/generated-client/models/player-state-info.d.ts +3 -3
  267. package/lib/generated-client/models/playlist-dto.d.ts +36 -0
  268. package/lib/generated-client/models/playstate-message.d.ts +2 -2
  269. package/lib/generated-client/models/playstate-request.d.ts +1 -1
  270. package/lib/generated-client/models/plugin-info.d.ts +1 -1
  271. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
  272. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
  273. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
  274. package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
  275. package/lib/generated-client/models/plugin-status.d.ts +1 -0
  276. package/lib/generated-client/models/plugin-status.js +1 -0
  277. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
  278. package/lib/generated-client/models/problem-details.d.ts +1 -1
  279. package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
  280. package/lib/generated-client/models/profile-condition-value.js +2 -1
  281. package/lib/generated-client/models/profile-condition.d.ts +2 -2
  282. package/lib/generated-client/models/query-filters.d.ts +1 -1
  283. package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
  284. package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
  285. package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
  286. package/lib/generated-client/models/remote-image-info.d.ts +2 -2
  287. package/lib/generated-client/models/remote-image-result.d.ts +1 -1
  288. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
  289. package/lib/generated-client/models/remote-search-result.d.ts +2 -2
  290. package/lib/generated-client/models/restart-required-message.d.ts +1 -1
  291. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
  292. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
  293. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
  294. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
  295. package/lib/generated-client/models/search-hint-result.d.ts +1 -1
  296. package/lib/generated-client/models/search-hint.d.ts +2 -2
  297. package/lib/generated-client/models/send-command.d.ts +1 -1
  298. package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
  299. package/lib/generated-client/models/series-info.d.ts +2 -2
  300. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
  301. package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
  302. package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
  303. package/lib/generated-client/models/series-timer-info-dto.d.ts +3 -3
  304. package/lib/generated-client/models/server-configuration.d.ts +29 -23
  305. package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
  306. package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
  307. package/lib/generated-client/models/session-info-dto.d.ts +199 -0
  308. package/lib/generated-client/models/session-info.d.ts +8 -8
  309. package/lib/generated-client/models/sessions-message.d.ts +4 -4
  310. package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
  311. package/lib/generated-client/models/sessions-stop-message.d.ts +1 -1
  312. package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
  313. package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
  314. package/lib/generated-client/models/song-info.d.ts +2 -2
  315. package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
  316. package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
  317. package/lib/generated-client/models/string-group-update.d.ts +1 -1
  318. package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
  319. package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
  320. package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
  321. package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
  322. package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
  323. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
  324. package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
  325. package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
  326. package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
  327. package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
  328. package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
  329. package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
  330. package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
  331. package/lib/generated-client/models/system-info.d.ts +9 -2
  332. package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
  333. package/lib/generated-client/models/task-info.d.ts +3 -3
  334. package/lib/generated-client/models/task-result.d.ts +1 -1
  335. package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
  336. package/lib/generated-client/models/task-trigger-info-type.js +25 -0
  337. package/lib/generated-client/models/task-trigger-info.d.ts +5 -4
  338. package/lib/generated-client/models/theme-media-result.d.ts +2 -2
  339. package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
  340. package/lib/generated-client/models/timer-created-message.d.ts +2 -2
  341. package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
  342. package/lib/generated-client/models/timer-info-dto.d.ts +3 -3
  343. package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
  344. package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
  345. package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
  346. package/lib/generated-client/models/tonemapping-mode.js +26 -0
  347. package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
  348. package/lib/generated-client/models/tonemapping-range.js +24 -0
  349. package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
  350. package/lib/generated-client/models/trailer-info.d.ts +2 -2
  351. package/lib/generated-client/models/transcode-reason.d.ts +2 -0
  352. package/lib/generated-client/models/transcode-reason.js +3 -1
  353. package/lib/generated-client/models/transcoding-info.d.ts +16 -16
  354. package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
  355. package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
  356. package/lib/generated-client/models/trickplay-info.d.ts +7 -1
  357. package/lib/generated-client/models/trickplay-options.d.ts +8 -2
  358. package/lib/generated-client/models/tuner-host-info.d.ts +24 -0
  359. package/lib/generated-client/models/type-options.d.ts +1 -1
  360. package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
  361. package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
  362. package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
  363. package/lib/generated-client/models/user-configuration.d.ts +1 -1
  364. package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
  365. package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
  366. package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
  367. package/lib/generated-client/models/user-dto.d.ts +2 -2
  368. package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
  369. package/lib/generated-client/models/user-policy.d.ts +9 -3
  370. package/lib/generated-client/models/user-updated-message.d.ts +2 -2
  371. package/lib/generated-client/models/video-range-type.d.ts +4 -0
  372. package/lib/generated-client/models/video-range-type.js +4 -0
  373. package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
  374. package/lib/generated-client/models/web-socket-message.d.ts +2 -2
  375. package/lib/models/api/image-request-parameters.d.ts +0 -1
  376. package/lib/models/api/index.d.ts +0 -1
  377. package/lib/models/api/index.js +1 -1
  378. package/lib/utils/address-candidates.js +15 -10
  379. package/lib/utils/api/index.d.ts +1 -0
  380. package/lib/utils/api/index.js +1 -0
  381. package/lib/utils/api/media-segments-api.d.ts +8 -0
  382. package/lib/utils/api/media-segments-api.js +12 -0
  383. package/lib/utils/index.js +1 -1
  384. package/lib/utils/url/index.d.ts +16 -3
  385. package/lib/utils/url/index.js +26 -4
  386. package/lib/versions.d.ts +2 -2
  387. package/lib/versions.js +2 -2
  388. package/package.json +20 -18
  389. package/lib/models/api/item-sort-by.d.ts +0 -40
  390. package/lib/models/api/item-sort-by.js +0 -43
@@ -1,6 +1,6 @@
1
1
  import globalAxios from 'axios';
2
- import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, serializeDataIfNeeded, createRequestFunction } from '../common.js';
3
- import { BaseAPI, BASE_PATH } from '../base.js';
2
+ import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
3
+ import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
4
4
 
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
@@ -1122,20 +1122,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
1122
1122
  * @summary Generates or gets the splashscreen.
1123
1123
  * @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
1124
1124
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
1125
- * @param {number} [maxWidth] The maximum image width to return.
1126
- * @param {number} [maxHeight] The maximum image height to return.
1127
- * @param {number} [width] The fixed image width to return.
1128
- * @param {number} [height] The fixed image height to return.
1129
- * @param {number} [fillWidth] Width of box to fill.
1130
- * @param {number} [fillHeight] Height of box to fill.
1131
- * @param {number} [blur] Blur image.
1132
- * @param {string} [backgroundColor] Apply a background color for transparent images.
1133
- * @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
1134
- * @param {number} [quality] Quality setting, from 0-100.
1135
1125
  * @param {*} [options] Override http request option.
1136
1126
  * @throws {RequiredError}
1137
1127
  */
1138
- getSplashscreen: async (tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options = {}) => {
1128
+ getSplashscreen: async (tag, format, options = {}) => {
1139
1129
  const localVarPath = `/Branding/Splashscreen`;
1140
1130
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1141
1131
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1152,36 +1142,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1152
1142
  if (format !== undefined) {
1153
1143
  localVarQueryParameter['format'] = format;
1154
1144
  }
1155
- if (maxWidth !== undefined) {
1156
- localVarQueryParameter['maxWidth'] = maxWidth;
1157
- }
1158
- if (maxHeight !== undefined) {
1159
- localVarQueryParameter['maxHeight'] = maxHeight;
1160
- }
1161
- if (width !== undefined) {
1162
- localVarQueryParameter['width'] = width;
1163
- }
1164
- if (height !== undefined) {
1165
- localVarQueryParameter['height'] = height;
1166
- }
1167
- if (fillWidth !== undefined) {
1168
- localVarQueryParameter['fillWidth'] = fillWidth;
1169
- }
1170
- if (fillHeight !== undefined) {
1171
- localVarQueryParameter['fillHeight'] = fillHeight;
1172
- }
1173
- if (blur !== undefined) {
1174
- localVarQueryParameter['blur'] = blur;
1175
- }
1176
- if (backgroundColor !== undefined) {
1177
- localVarQueryParameter['backgroundColor'] = backgroundColor;
1178
- }
1179
- if (foregroundLayer !== undefined) {
1180
- localVarQueryParameter['foregroundLayer'] = foregroundLayer;
1181
- }
1182
- if (quality !== undefined) {
1183
- localVarQueryParameter['quality'] = quality;
1184
- }
1185
1145
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1186
1146
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1187
1147
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1382,23 +1342,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
1382
1342
  * @param {string} [userId] User id.
1383
1343
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
1384
1344
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
1385
- * @param {number} [maxWidth] The maximum image width to return.
1386
- * @param {number} [maxHeight] The maximum image height to return.
1387
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
1388
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
1389
- * @param {number} [width] The fixed image width to return.
1390
- * @param {number} [height] The fixed image height to return.
1391
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1392
- * @param {number} [fillWidth] Width of box to fill.
1393
- * @param {number} [fillHeight] Height of box to fill.
1394
- * @param {number} [blur] Optional. Blur image.
1395
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1396
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1397
- * @param {number} [imageIndex] Image index.
1398
1345
  * @param {*} [options] Override http request option.
1399
1346
  * @throws {RequiredError}
1400
1347
  */
1401
- getUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
1348
+ getUserImage: async (userId, tag, format, options = {}) => {
1402
1349
  const localVarPath = `/UserImage`;
1403
1350
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1404
1351
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1418,45 +1365,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1418
1365
  if (format !== undefined) {
1419
1366
  localVarQueryParameter['format'] = format;
1420
1367
  }
1421
- if (maxWidth !== undefined) {
1422
- localVarQueryParameter['maxWidth'] = maxWidth;
1423
- }
1424
- if (maxHeight !== undefined) {
1425
- localVarQueryParameter['maxHeight'] = maxHeight;
1426
- }
1427
- if (percentPlayed !== undefined) {
1428
- localVarQueryParameter['percentPlayed'] = percentPlayed;
1429
- }
1430
- if (unplayedCount !== undefined) {
1431
- localVarQueryParameter['unplayedCount'] = unplayedCount;
1432
- }
1433
- if (width !== undefined) {
1434
- localVarQueryParameter['width'] = width;
1435
- }
1436
- if (height !== undefined) {
1437
- localVarQueryParameter['height'] = height;
1438
- }
1439
- if (quality !== undefined) {
1440
- localVarQueryParameter['quality'] = quality;
1441
- }
1442
- if (fillWidth !== undefined) {
1443
- localVarQueryParameter['fillWidth'] = fillWidth;
1444
- }
1445
- if (fillHeight !== undefined) {
1446
- localVarQueryParameter['fillHeight'] = fillHeight;
1447
- }
1448
- if (blur !== undefined) {
1449
- localVarQueryParameter['blur'] = blur;
1450
- }
1451
- if (backgroundColor !== undefined) {
1452
- localVarQueryParameter['backgroundColor'] = backgroundColor;
1453
- }
1454
- if (foregroundLayer !== undefined) {
1455
- localVarQueryParameter['foregroundLayer'] = foregroundLayer;
1456
- }
1457
- if (imageIndex !== undefined) {
1458
- localVarQueryParameter['imageIndex'] = imageIndex;
1459
- }
1460
1368
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1461
1369
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1462
1370
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2587,23 +2495,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
2587
2495
  * @param {string} [userId] User id.
2588
2496
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
2589
2497
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
2590
- * @param {number} [maxWidth] The maximum image width to return.
2591
- * @param {number} [maxHeight] The maximum image height to return.
2592
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
2593
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
2594
- * @param {number} [width] The fixed image width to return.
2595
- * @param {number} [height] The fixed image height to return.
2596
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2597
- * @param {number} [fillWidth] Width of box to fill.
2598
- * @param {number} [fillHeight] Height of box to fill.
2599
- * @param {number} [blur] Optional. Blur image.
2600
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2601
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
2602
- * @param {number} [imageIndex] Image index.
2603
2498
  * @param {*} [options] Override http request option.
2604
2499
  * @throws {RequiredError}
2605
2500
  */
2606
- headUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
2501
+ headUserImage: async (userId, tag, format, options = {}) => {
2607
2502
  const localVarPath = `/UserImage`;
2608
2503
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2609
2504
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2623,45 +2518,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2623
2518
  if (format !== undefined) {
2624
2519
  localVarQueryParameter['format'] = format;
2625
2520
  }
2626
- if (maxWidth !== undefined) {
2627
- localVarQueryParameter['maxWidth'] = maxWidth;
2628
- }
2629
- if (maxHeight !== undefined) {
2630
- localVarQueryParameter['maxHeight'] = maxHeight;
2631
- }
2632
- if (percentPlayed !== undefined) {
2633
- localVarQueryParameter['percentPlayed'] = percentPlayed;
2634
- }
2635
- if (unplayedCount !== undefined) {
2636
- localVarQueryParameter['unplayedCount'] = unplayedCount;
2637
- }
2638
- if (width !== undefined) {
2639
- localVarQueryParameter['width'] = width;
2640
- }
2641
- if (height !== undefined) {
2642
- localVarQueryParameter['height'] = height;
2643
- }
2644
- if (quality !== undefined) {
2645
- localVarQueryParameter['quality'] = quality;
2646
- }
2647
- if (fillWidth !== undefined) {
2648
- localVarQueryParameter['fillWidth'] = fillWidth;
2649
- }
2650
- if (fillHeight !== undefined) {
2651
- localVarQueryParameter['fillHeight'] = fillHeight;
2652
- }
2653
- if (blur !== undefined) {
2654
- localVarQueryParameter['blur'] = blur;
2655
- }
2656
- if (backgroundColor !== undefined) {
2657
- localVarQueryParameter['backgroundColor'] = backgroundColor;
2658
- }
2659
- if (foregroundLayer !== undefined) {
2660
- localVarQueryParameter['foregroundLayer'] = foregroundLayer;
2661
- }
2662
- if (imageIndex !== undefined) {
2663
- localVarQueryParameter['imageIndex'] = imageIndex;
2664
- }
2665
2521
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2666
2522
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2667
2523
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2674,7 +2530,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2674
2530
  *
2675
2531
  * @summary Sets the user image.
2676
2532
  * @param {string} [userId] User Id.
2677
- * @param {any} [body]
2533
+ * @param {File} [body]
2678
2534
  * @param {*} [options] Override http request option.
2679
2535
  * @throws {RequiredError}
2680
2536
  */
@@ -2694,7 +2550,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2694
2550
  if (userId !== undefined) {
2695
2551
  localVarQueryParameter['userId'] = userId;
2696
2552
  }
2697
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2553
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2698
2554
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2699
2555
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2700
2556
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2709,7 +2565,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2709
2565
  * @summary Set item image.
2710
2566
  * @param {string} itemId Item id.
2711
2567
  * @param {ImageType} imageType Image type.
2712
- * @param {any} [body]
2568
+ * @param {File} [body]
2713
2569
  * @param {*} [options] Override http request option.
2714
2570
  * @throws {RequiredError}
2715
2571
  */
@@ -2732,7 +2588,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2732
2588
  const localVarQueryParameter = {};
2733
2589
  // authentication CustomAuthentication required
2734
2590
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2735
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2591
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2736
2592
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2737
2593
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2738
2594
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2748,7 +2604,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2748
2604
  * @param {string} itemId Item id.
2749
2605
  * @param {ImageType} imageType Image type.
2750
2606
  * @param {number} imageIndex (Unused) Image index.
2751
- * @param {any} [body]
2607
+ * @param {File} [body]
2752
2608
  * @param {*} [options] Override http request option.
2753
2609
  * @throws {RequiredError}
2754
2610
  */
@@ -2774,7 +2630,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2774
2630
  const localVarQueryParameter = {};
2775
2631
  // authentication CustomAuthentication required
2776
2632
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2777
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2633
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2778
2634
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2779
2635
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2780
2636
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2832,7 +2688,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2832
2688
  /**
2833
2689
  *
2834
2690
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
2835
- * @param {any} [body]
2691
+ * @param {File} [body]
2836
2692
  * @param {*} [options] Override http request option.
2837
2693
  * @throws {RequiredError}
2838
2694
  */
@@ -2849,7 +2705,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2849
2705
  const localVarQueryParameter = {};
2850
2706
  // authentication CustomAuthentication required
2851
2707
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2852
- localVarHeaderParameter['Content-Type'] = 'image/_*';
2708
+ localVarHeaderParameter['Content-Type'] = 'image/*';
2853
2709
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2854
2710
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2855
2711
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2875,8 +2731,11 @@ const ImageApiFp = function (configuration) {
2875
2731
  * @throws {RequiredError}
2876
2732
  */
2877
2733
  async deleteCustomSplashscreen(options) {
2734
+ var _a, _b, _c;
2878
2735
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomSplashscreen(options);
2879
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2736
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2737
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2738
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2880
2739
  },
2881
2740
  /**
2882
2741
  *
@@ -2888,8 +2747,11 @@ const ImageApiFp = function (configuration) {
2888
2747
  * @throws {RequiredError}
2889
2748
  */
2890
2749
  async deleteItemImage(itemId, imageType, imageIndex, options) {
2750
+ var _a, _b, _c;
2891
2751
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
2892
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2752
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2753
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2754
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2893
2755
  },
2894
2756
  /**
2895
2757
  *
@@ -2901,8 +2763,11 @@ const ImageApiFp = function (configuration) {
2901
2763
  * @throws {RequiredError}
2902
2764
  */
2903
2765
  async deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
2766
+ var _a, _b, _c;
2904
2767
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
2905
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2768
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2769
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2770
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2906
2771
  },
2907
2772
  /**
2908
2773
  *
@@ -2912,8 +2777,11 @@ const ImageApiFp = function (configuration) {
2912
2777
  * @throws {RequiredError}
2913
2778
  */
2914
2779
  async deleteUserImage(userId, options) {
2780
+ var _a, _b, _c;
2915
2781
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserImage(userId, options);
2916
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2782
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2783
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.deleteUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2784
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2917
2785
  },
2918
2786
  /**
2919
2787
  *
@@ -2939,8 +2807,11 @@ const ImageApiFp = function (configuration) {
2939
2807
  * @throws {RequiredError}
2940
2808
  */
2941
2809
  async getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2810
+ var _a, _b, _c;
2942
2811
  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);
2812
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2813
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2814
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2944
2815
  },
2945
2816
  /**
2946
2817
  *
@@ -2966,8 +2837,11 @@ const ImageApiFp = function (configuration) {
2966
2837
  * @throws {RequiredError}
2967
2838
  */
2968
2839
  async getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2840
+ var _a, _b, _c;
2969
2841
  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);
2842
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2843
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2844
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2971
2845
  },
2972
2846
  /**
2973
2847
  *
@@ -2993,8 +2867,11 @@ const ImageApiFp = function (configuration) {
2993
2867
  * @throws {RequiredError}
2994
2868
  */
2995
2869
  async getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2870
+ var _a, _b, _c;
2996
2871
  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);
2872
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2873
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2874
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2998
2875
  },
2999
2876
  /**
3000
2877
  *
@@ -3020,8 +2897,11 @@ const ImageApiFp = function (configuration) {
3020
2897
  * @throws {RequiredError}
3021
2898
  */
3022
2899
  async getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2900
+ var _a, _b, _c;
3023
2901
  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);
2902
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2903
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2904
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3025
2905
  },
3026
2906
  /**
3027
2907
  *
@@ -3047,8 +2927,11 @@ const ImageApiFp = function (configuration) {
3047
2927
  * @throws {RequiredError}
3048
2928
  */
3049
2929
  async getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2930
+ var _a, _b, _c;
3050
2931
  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);
2932
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2933
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2934
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3052
2935
  },
3053
2936
  /**
3054
2937
  *
@@ -3074,8 +2957,11 @@ const ImageApiFp = function (configuration) {
3074
2957
  * @throws {RequiredError}
3075
2958
  */
3076
2959
  async getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
2960
+ var _a, _b, _c;
3077
2961
  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);
2962
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2963
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2964
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3079
2965
  },
3080
2966
  /**
3081
2967
  *
@@ -3085,8 +2971,11 @@ const ImageApiFp = function (configuration) {
3085
2971
  * @throws {RequiredError}
3086
2972
  */
3087
2973
  async getItemImageInfos(itemId, options) {
2974
+ var _a, _b, _c;
3088
2975
  const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageInfos(itemId, options);
3089
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2976
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2977
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getItemImageInfos']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2978
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3090
2979
  },
3091
2980
  /**
3092
2981
  *
@@ -3112,8 +3001,11 @@ const ImageApiFp = function (configuration) {
3112
3001
  * @throws {RequiredError}
3113
3002
  */
3114
3003
  async getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3004
+ var _a, _b, _c;
3115
3005
  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);
3006
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3007
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3008
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3117
3009
  },
3118
3010
  /**
3119
3011
  *
@@ -3139,8 +3031,11 @@ const ImageApiFp = function (configuration) {
3139
3031
  * @throws {RequiredError}
3140
3032
  */
3141
3033
  async getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3034
+ var _a, _b, _c;
3142
3035
  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);
3036
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3037
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3038
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3144
3039
  },
3145
3040
  /**
3146
3041
  *
@@ -3166,8 +3061,11 @@ const ImageApiFp = function (configuration) {
3166
3061
  * @throws {RequiredError}
3167
3062
  */
3168
3063
  async getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3064
+ var _a, _b, _c;
3169
3065
  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);
3066
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3067
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3068
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3171
3069
  },
3172
3070
  /**
3173
3071
  *
@@ -3193,30 +3091,26 @@ const ImageApiFp = function (configuration) {
3193
3091
  * @throws {RequiredError}
3194
3092
  */
3195
3093
  async getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3094
+ var _a, _b, _c;
3196
3095
  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);
3096
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3097
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3098
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3198
3099
  },
3199
3100
  /**
3200
3101
  *
3201
3102
  * @summary Generates or gets the splashscreen.
3202
3103
  * @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
3203
3104
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3204
- * @param {number} [maxWidth] The maximum image width to return.
3205
- * @param {number} [maxHeight] The maximum image height to return.
3206
- * @param {number} [width] The fixed image width to return.
3207
- * @param {number} [height] The fixed image height to return.
3208
- * @param {number} [fillWidth] Width of box to fill.
3209
- * @param {number} [fillHeight] Height of box to fill.
3210
- * @param {number} [blur] Blur image.
3211
- * @param {string} [backgroundColor] Apply a background color for transparent images.
3212
- * @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
3213
- * @param {number} [quality] Quality setting, from 0-100.
3214
3105
  * @param {*} [options] Override http request option.
3215
3106
  * @throws {RequiredError}
3216
3107
  */
3217
- async getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
3218
- 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);
3108
+ async getSplashscreen(tag, format, options) {
3109
+ var _a, _b, _c;
3110
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, options);
3111
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3112
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3113
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3220
3114
  },
3221
3115
  /**
3222
3116
  *
@@ -3242,8 +3136,11 @@ const ImageApiFp = function (configuration) {
3242
3136
  * @throws {RequiredError}
3243
3137
  */
3244
3138
  async getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3139
+ var _a, _b, _c;
3245
3140
  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);
3141
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3142
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3143
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3247
3144
  },
3248
3145
  /**
3249
3146
  *
@@ -3269,8 +3166,11 @@ const ImageApiFp = function (configuration) {
3269
3166
  * @throws {RequiredError}
3270
3167
  */
3271
3168
  async getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3169
+ var _a, _b, _c;
3272
3170
  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);
3171
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3172
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3173
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3274
3174
  },
3275
3175
  /**
3276
3176
  *
@@ -3278,25 +3178,15 @@ const ImageApiFp = function (configuration) {
3278
3178
  * @param {string} [userId] User id.
3279
3179
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3280
3180
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3281
- * @param {number} [maxWidth] The maximum image width to return.
3282
- * @param {number} [maxHeight] The maximum image height to return.
3283
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3284
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3285
- * @param {number} [width] The fixed image width to return.
3286
- * @param {number} [height] The fixed image height to return.
3287
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3288
- * @param {number} [fillWidth] Width of box to fill.
3289
- * @param {number} [fillHeight] Height of box to fill.
3290
- * @param {number} [blur] Optional. Blur image.
3291
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3292
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3293
- * @param {number} [imageIndex] Image index.
3294
3181
  * @param {*} [options] Override http request option.
3295
3182
  * @throws {RequiredError}
3296
3183
  */
3297
- async getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3298
- 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);
3184
+ async getUserImage(userId, tag, format, options) {
3185
+ var _a, _b, _c;
3186
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, options);
3187
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3188
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3189
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3300
3190
  },
3301
3191
  /**
3302
3192
  *
@@ -3322,8 +3212,11 @@ const ImageApiFp = function (configuration) {
3322
3212
  * @throws {RequiredError}
3323
3213
  */
3324
3214
  async headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3215
+ var _a, _b, _c;
3325
3216
  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);
3217
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3218
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headArtistImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3219
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3327
3220
  },
3328
3221
  /**
3329
3222
  *
@@ -3349,8 +3242,11 @@ const ImageApiFp = function (configuration) {
3349
3242
  * @throws {RequiredError}
3350
3243
  */
3351
3244
  async headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3245
+ var _a, _b, _c;
3352
3246
  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);
3247
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3248
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3249
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3354
3250
  },
3355
3251
  /**
3356
3252
  *
@@ -3376,8 +3272,11 @@ const ImageApiFp = function (configuration) {
3376
3272
  * @throws {RequiredError}
3377
3273
  */
3378
3274
  async headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3275
+ var _a, _b, _c;
3379
3276
  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);
3277
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3278
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3279
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3381
3280
  },
3382
3281
  /**
3383
3282
  *
@@ -3403,8 +3302,11 @@ const ImageApiFp = function (configuration) {
3403
3302
  * @throws {RequiredError}
3404
3303
  */
3405
3304
  async headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3305
+ var _a, _b, _c;
3406
3306
  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);
3307
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3308
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3309
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3408
3310
  },
3409
3311
  /**
3410
3312
  *
@@ -3430,8 +3332,11 @@ const ImageApiFp = function (configuration) {
3430
3332
  * @throws {RequiredError}
3431
3333
  */
3432
3334
  async headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3335
+ var _a, _b, _c;
3433
3336
  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);
3337
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3338
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImage2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3339
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3435
3340
  },
3436
3341
  /**
3437
3342
  *
@@ -3457,8 +3362,11 @@ const ImageApiFp = function (configuration) {
3457
3362
  * @throws {RequiredError}
3458
3363
  */
3459
3364
  async headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3365
+ var _a, _b, _c;
3460
3366
  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);
3367
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3368
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3369
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3462
3370
  },
3463
3371
  /**
3464
3372
  *
@@ -3484,8 +3392,11 @@ const ImageApiFp = function (configuration) {
3484
3392
  * @throws {RequiredError}
3485
3393
  */
3486
3394
  async headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3395
+ var _a, _b, _c;
3487
3396
  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);
3397
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3398
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3399
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3489
3400
  },
3490
3401
  /**
3491
3402
  *
@@ -3511,8 +3422,11 @@ const ImageApiFp = function (configuration) {
3511
3422
  * @throws {RequiredError}
3512
3423
  */
3513
3424
  async headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3425
+ var _a, _b, _c;
3514
3426
  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);
3427
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3428
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headMusicGenreImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3429
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3516
3430
  },
3517
3431
  /**
3518
3432
  *
@@ -3538,8 +3452,11 @@ const ImageApiFp = function (configuration) {
3538
3452
  * @throws {RequiredError}
3539
3453
  */
3540
3454
  async headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3455
+ var _a, _b, _c;
3541
3456
  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);
3457
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3458
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3459
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3543
3460
  },
3544
3461
  /**
3545
3462
  *
@@ -3565,8 +3482,11 @@ const ImageApiFp = function (configuration) {
3565
3482
  * @throws {RequiredError}
3566
3483
  */
3567
3484
  async headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3485
+ var _a, _b, _c;
3568
3486
  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);
3487
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3488
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headPersonImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3489
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3570
3490
  },
3571
3491
  /**
3572
3492
  *
@@ -3592,8 +3512,11 @@ const ImageApiFp = function (configuration) {
3592
3512
  * @throws {RequiredError}
3593
3513
  */
3594
3514
  async headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3515
+ var _a, _b, _c;
3595
3516
  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);
3517
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3518
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3519
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3597
3520
  },
3598
3521
  /**
3599
3522
  *
@@ -3619,8 +3542,11 @@ const ImageApiFp = function (configuration) {
3619
3542
  * @throws {RequiredError}
3620
3543
  */
3621
3544
  async headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3545
+ var _a, _b, _c;
3622
3546
  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);
3547
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3548
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headStudioImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3549
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3624
3550
  },
3625
3551
  /**
3626
3552
  *
@@ -3628,50 +3554,46 @@ const ImageApiFp = function (configuration) {
3628
3554
  * @param {string} [userId] User id.
3629
3555
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3630
3556
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3631
- * @param {number} [maxWidth] The maximum image width to return.
3632
- * @param {number} [maxHeight] The maximum image height to return.
3633
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3634
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3635
- * @param {number} [width] The fixed image width to return.
3636
- * @param {number} [height] The fixed image height to return.
3637
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3638
- * @param {number} [fillWidth] Width of box to fill.
3639
- * @param {number} [fillHeight] Height of box to fill.
3640
- * @param {number} [blur] Optional. Blur image.
3641
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3642
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3643
- * @param {number} [imageIndex] Image index.
3644
3557
  * @param {*} [options] Override http request option.
3645
3558
  * @throws {RequiredError}
3646
3559
  */
3647
- async headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3648
- 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);
3560
+ async headUserImage(userId, tag, format, options) {
3561
+ var _a, _b, _c;
3562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, options);
3563
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3564
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3565
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3650
3566
  },
3651
3567
  /**
3652
3568
  *
3653
3569
  * @summary Sets the user image.
3654
3570
  * @param {string} [userId] User Id.
3655
- * @param {any} [body]
3571
+ * @param {File} [body]
3656
3572
  * @param {*} [options] Override http request option.
3657
3573
  * @throws {RequiredError}
3658
3574
  */
3659
3575
  async postUserImage(userId, body, options) {
3576
+ var _a, _b, _c;
3660
3577
  const localVarAxiosArgs = await localVarAxiosParamCreator.postUserImage(userId, body, options);
3661
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3578
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3579
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.postUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3580
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3662
3581
  },
3663
3582
  /**
3664
3583
  *
3665
3584
  * @summary Set item image.
3666
3585
  * @param {string} itemId Item id.
3667
3586
  * @param {ImageType} imageType Image type.
3668
- * @param {any} [body]
3587
+ * @param {File} [body]
3669
3588
  * @param {*} [options] Override http request option.
3670
3589
  * @throws {RequiredError}
3671
3590
  */
3672
3591
  async setItemImage(itemId, imageType, body, options) {
3592
+ var _a, _b, _c;
3673
3593
  const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
3674
- 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.setItemImage']) === 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);
3675
3597
  },
3676
3598
  /**
3677
3599
  *
@@ -3679,13 +3601,16 @@ const ImageApiFp = function (configuration) {
3679
3601
  * @param {string} itemId Item id.
3680
3602
  * @param {ImageType} imageType Image type.
3681
3603
  * @param {number} imageIndex (Unused) Image index.
3682
- * @param {any} [body]
3604
+ * @param {File} [body]
3683
3605
  * @param {*} [options] Override http request option.
3684
3606
  * @throws {RequiredError}
3685
3607
  */
3686
3608
  async setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
3609
+ var _a, _b, _c;
3687
3610
  const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
3688
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3611
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3612
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.setItemImageByIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3613
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3689
3614
  },
3690
3615
  /**
3691
3616
  *
@@ -3698,19 +3623,25 @@ const ImageApiFp = function (configuration) {
3698
3623
  * @throws {RequiredError}
3699
3624
  */
3700
3625
  async updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
3626
+ var _a, _b, _c;
3701
3627
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
3702
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3628
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3629
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.updateItemImageIndex']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3630
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3703
3631
  },
3704
3632
  /**
3705
3633
  *
3706
3634
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
3707
- * @param {any} [body]
3635
+ * @param {File} [body]
3708
3636
  * @param {*} [options] Override http request option.
3709
3637
  * @throws {RequiredError}
3710
3638
  */
3711
3639
  async uploadCustomSplashscreen(body, options) {
3640
+ var _a, _b, _c;
3712
3641
  const localVarAxiosArgs = await localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
3713
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3642
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3643
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.uploadCustomSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3644
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3714
3645
  },
3715
3646
  };
3716
3647
  };
@@ -3733,800 +3664,362 @@ const ImageApiFactory = function (configuration, basePath, axios) {
3733
3664
  /**
3734
3665
  *
3735
3666
  * @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.
3667
+ * @param {ImageApiDeleteItemImageRequest} requestParameters Request parameters.
3739
3668
  * @param {*} [options] Override http request option.
3740
3669
  * @throws {RequiredError}
3741
3670
  */
3742
- deleteItemImage(itemId, imageType, imageIndex, options) {
3743
- return localVarFp.deleteItemImage(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
3671
+ deleteItemImage(requestParameters, options) {
3672
+ return localVarFp.deleteItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3744
3673
  },
3745
3674
  /**
3746
3675
  *
3747
3676
  * @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.
3677
+ * @param {ImageApiDeleteItemImageByIndexRequest} requestParameters Request parameters.
3751
3678
  * @param {*} [options] Override http request option.
3752
3679
  * @throws {RequiredError}
3753
3680
  */
3754
- deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
3755
- return localVarFp.deleteItemImageByIndex(itemId, imageType, imageIndex, options).then((request) => request(axios, basePath));
3681
+ deleteItemImageByIndex(requestParameters, options) {
3682
+ return localVarFp.deleteItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, options).then((request) => request(axios, basePath));
3756
3683
  },
3757
3684
  /**
3758
3685
  *
3759
3686
  * @summary Delete the user\'s image.
3760
- * @param {string} [userId] User Id.
3687
+ * @param {ImageApiDeleteUserImageRequest} requestParameters Request parameters.
3761
3688
  * @param {*} [options] Override http request option.
3762
3689
  * @throws {RequiredError}
3763
3690
  */
3764
- deleteUserImage(userId, options) {
3765
- return localVarFp.deleteUserImage(userId, options).then((request) => request(axios, basePath));
3691
+ deleteUserImage(requestParameters = {}, options) {
3692
+ return localVarFp.deleteUserImage(requestParameters.userId, options).then((request) => request(axios, basePath));
3766
3693
  },
3767
3694
  /**
3768
3695
  *
3769
3696
  * @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.
3697
+ * @param {ImageApiGetArtistImageRequest} requestParameters Request parameters.
3787
3698
  * @param {*} [options] Override http request option.
3788
3699
  * @throws {RequiredError}
3789
3700
  */
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));
3701
+ getArtistImage(requestParameters, options) {
3702
+ 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
3703
  },
3793
3704
  /**
3794
3705
  *
3795
3706
  * @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.
3707
+ * @param {ImageApiGetGenreImageRequest} requestParameters Request parameters.
3813
3708
  * @param {*} [options] Override http request option.
3814
3709
  * @throws {RequiredError}
3815
3710
  */
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));
3711
+ getGenreImage(requestParameters, options) {
3712
+ 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
3713
  },
3819
3714
  /**
3820
3715
  *
3821
3716
  * @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.
3717
+ * @param {ImageApiGetGenreImageByIndexRequest} requestParameters Request parameters.
3839
3718
  * @param {*} [options] Override http request option.
3840
3719
  * @throws {RequiredError}
3841
3720
  */
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));
3721
+ getGenreImageByIndex(requestParameters, options) {
3722
+ 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
3723
  },
3845
3724
  /**
3846
3725
  *
3847
3726
  * @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.
3727
+ * @param {ImageApiGetItemImageRequest} requestParameters Request parameters.
3865
3728
  * @param {*} [options] Override http request option.
3866
3729
  * @throws {RequiredError}
3867
3730
  */
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));
3731
+ getItemImage(requestParameters, options) {
3732
+ 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
3733
  },
3871
3734
  /**
3872
3735
  *
3873
3736
  * @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.
3737
+ * @param {ImageApiGetItemImage2Request} requestParameters Request parameters.
3891
3738
  * @param {*} [options] Override http request option.
3892
3739
  * @throws {RequiredError}
3893
3740
  */
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));
3741
+ getItemImage2(requestParameters, options) {
3742
+ 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
3743
  },
3897
3744
  /**
3898
3745
  *
3899
3746
  * @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.
3747
+ * @param {ImageApiGetItemImageByIndexRequest} requestParameters Request parameters.
3917
3748
  * @param {*} [options] Override http request option.
3918
3749
  * @throws {RequiredError}
3919
3750
  */
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));
3751
+ getItemImageByIndex(requestParameters, options) {
3752
+ 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
3753
  },
3923
3754
  /**
3924
3755
  *
3925
3756
  * @summary Get item image infos.
3926
- * @param {string} itemId Item id.
3757
+ * @param {ImageApiGetItemImageInfosRequest} requestParameters Request parameters.
3927
3758
  * @param {*} [options] Override http request option.
3928
3759
  * @throws {RequiredError}
3929
3760
  */
3930
- getItemImageInfos(itemId, options) {
3931
- return localVarFp.getItemImageInfos(itemId, options).then((request) => request(axios, basePath));
3761
+ getItemImageInfos(requestParameters, options) {
3762
+ return localVarFp.getItemImageInfos(requestParameters.itemId, options).then((request) => request(axios, basePath));
3932
3763
  },
3933
3764
  /**
3934
3765
  *
3935
3766
  * @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.
3767
+ * @param {ImageApiGetMusicGenreImageRequest} requestParameters Request parameters.
3953
3768
  * @param {*} [options] Override http request option.
3954
3769
  * @throws {RequiredError}
3955
3770
  */
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));
3771
+ getMusicGenreImage(requestParameters, options) {
3772
+ 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
3773
  },
3959
3774
  /**
3960
3775
  *
3961
3776
  * @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.
3777
+ * @param {ImageApiGetMusicGenreImageByIndexRequest} requestParameters Request parameters.
3979
3778
  * @param {*} [options] Override http request option.
3980
3779
  * @throws {RequiredError}
3981
3780
  */
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));
3781
+ getMusicGenreImageByIndex(requestParameters, options) {
3782
+ 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
3783
  },
3985
3784
  /**
3986
3785
  *
3987
3786
  * @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.
3787
+ * @param {ImageApiGetPersonImageRequest} requestParameters Request parameters.
4005
3788
  * @param {*} [options] Override http request option.
4006
3789
  * @throws {RequiredError}
4007
3790
  */
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));
3791
+ getPersonImage(requestParameters, options) {
3792
+ 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
3793
  },
4011
3794
  /**
4012
3795
  *
4013
3796
  * @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.
3797
+ * @param {ImageApiGetPersonImageByIndexRequest} requestParameters Request parameters.
4031
3798
  * @param {*} [options] Override http request option.
4032
3799
  * @throws {RequiredError}
4033
3800
  */
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));
3801
+ getPersonImageByIndex(requestParameters, options) {
3802
+ 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
3803
  },
4037
3804
  /**
4038
3805
  *
4039
3806
  * @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.
3807
+ * @param {ImageApiGetSplashscreenRequest} requestParameters Request parameters.
4052
3808
  * @param {*} [options] Override http request option.
4053
3809
  * @throws {RequiredError}
4054
3810
  */
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));
3811
+ getSplashscreen(requestParameters = {}, options) {
3812
+ return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
4057
3813
  },
4058
3814
  /**
4059
3815
  *
4060
3816
  * @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.
3817
+ * @param {ImageApiGetStudioImageRequest} requestParameters Request parameters.
4078
3818
  * @param {*} [options] Override http request option.
4079
3819
  * @throws {RequiredError}
4080
3820
  */
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));
3821
+ getStudioImage(requestParameters, options) {
3822
+ 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
3823
  },
4084
3824
  /**
4085
3825
  *
4086
3826
  * @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.
3827
+ * @param {ImageApiGetStudioImageByIndexRequest} requestParameters Request parameters.
4104
3828
  * @param {*} [options] Override http request option.
4105
3829
  * @throws {RequiredError}
4106
3830
  */
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));
3831
+ getStudioImageByIndex(requestParameters, options) {
3832
+ 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
3833
  },
4110
3834
  /**
4111
3835
  *
4112
3836
  * @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.
3837
+ * @param {ImageApiGetUserImageRequest} requestParameters Request parameters.
4129
3838
  * @param {*} [options] Override http request option.
4130
3839
  * @throws {RequiredError}
4131
3840
  */
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));
3841
+ getUserImage(requestParameters = {}, options) {
3842
+ return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
4134
3843
  },
4135
3844
  /**
4136
3845
  *
4137
3846
  * @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.
3847
+ * @param {ImageApiHeadArtistImageRequest} requestParameters Request parameters.
4155
3848
  * @param {*} [options] Override http request option.
4156
3849
  * @throws {RequiredError}
4157
3850
  */
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));
3851
+ headArtistImage(requestParameters, options) {
3852
+ 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
3853
  },
4161
3854
  /**
4162
3855
  *
4163
3856
  * @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.
3857
+ * @param {ImageApiHeadGenreImageRequest} requestParameters Request parameters.
4181
3858
  * @param {*} [options] Override http request option.
4182
3859
  * @throws {RequiredError}
4183
3860
  */
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));
3861
+ headGenreImage(requestParameters, options) {
3862
+ 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
3863
  },
4187
3864
  /**
4188
3865
  *
4189
3866
  * @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.
3867
+ * @param {ImageApiHeadGenreImageByIndexRequest} requestParameters Request parameters.
4207
3868
  * @param {*} [options] Override http request option.
4208
3869
  * @throws {RequiredError}
4209
3870
  */
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));
3871
+ headGenreImageByIndex(requestParameters, options) {
3872
+ 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
3873
  },
4213
3874
  /**
4214
3875
  *
4215
3876
  * @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.
3877
+ * @param {ImageApiHeadItemImageRequest} requestParameters Request parameters.
4233
3878
  * @param {*} [options] Override http request option.
4234
3879
  * @throws {RequiredError}
4235
3880
  */
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));
3881
+ headItemImage(requestParameters, options) {
3882
+ 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
3883
  },
4239
3884
  /**
4240
3885
  *
4241
3886
  * @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.
3887
+ * @param {ImageApiHeadItemImage2Request} requestParameters Request parameters.
4259
3888
  * @param {*} [options] Override http request option.
4260
3889
  * @throws {RequiredError}
4261
3890
  */
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));
3891
+ headItemImage2(requestParameters, options) {
3892
+ 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
3893
  },
4265
3894
  /**
4266
3895
  *
4267
3896
  * @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.
3897
+ * @param {ImageApiHeadItemImageByIndexRequest} requestParameters Request parameters.
4285
3898
  * @param {*} [options] Override http request option.
4286
3899
  * @throws {RequiredError}
4287
3900
  */
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));
3901
+ headItemImageByIndex(requestParameters, options) {
3902
+ 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
3903
  },
4291
3904
  /**
4292
3905
  *
4293
3906
  * @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.
3907
+ * @param {ImageApiHeadMusicGenreImageRequest} requestParameters Request parameters.
4311
3908
  * @param {*} [options] Override http request option.
4312
3909
  * @throws {RequiredError}
4313
3910
  */
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));
3911
+ headMusicGenreImage(requestParameters, options) {
3912
+ 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
3913
  },
4317
3914
  /**
4318
3915
  *
4319
3916
  * @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.
3917
+ * @param {ImageApiHeadMusicGenreImageByIndexRequest} requestParameters Request parameters.
4337
3918
  * @param {*} [options] Override http request option.
4338
3919
  * @throws {RequiredError}
4339
3920
  */
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));
3921
+ headMusicGenreImageByIndex(requestParameters, options) {
3922
+ 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
3923
  },
4343
3924
  /**
4344
3925
  *
4345
3926
  * @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.
3927
+ * @param {ImageApiHeadPersonImageRequest} requestParameters Request parameters.
4363
3928
  * @param {*} [options] Override http request option.
4364
3929
  * @throws {RequiredError}
4365
3930
  */
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));
3931
+ headPersonImage(requestParameters, options) {
3932
+ 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
3933
  },
4369
3934
  /**
4370
3935
  *
4371
3936
  * @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.
3937
+ * @param {ImageApiHeadPersonImageByIndexRequest} requestParameters Request parameters.
4389
3938
  * @param {*} [options] Override http request option.
4390
3939
  * @throws {RequiredError}
4391
3940
  */
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));
3941
+ headPersonImageByIndex(requestParameters, options) {
3942
+ 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
3943
  },
4395
3944
  /**
4396
3945
  *
4397
3946
  * @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.
3947
+ * @param {ImageApiHeadStudioImageRequest} requestParameters Request parameters.
4415
3948
  * @param {*} [options] Override http request option.
4416
3949
  * @throws {RequiredError}
4417
3950
  */
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));
3951
+ headStudioImage(requestParameters, options) {
3952
+ 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
3953
  },
4421
3954
  /**
4422
3955
  *
4423
3956
  * @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.
3957
+ * @param {ImageApiHeadStudioImageByIndexRequest} requestParameters Request parameters.
4441
3958
  * @param {*} [options] Override http request option.
4442
3959
  * @throws {RequiredError}
4443
3960
  */
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));
3961
+ headStudioImageByIndex(requestParameters, options) {
3962
+ 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
3963
  },
4447
3964
  /**
4448
3965
  *
4449
3966
  * @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.
3967
+ * @param {ImageApiHeadUserImageRequest} requestParameters Request parameters.
4466
3968
  * @param {*} [options] Override http request option.
4467
3969
  * @throws {RequiredError}
4468
3970
  */
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));
3971
+ headUserImage(requestParameters = {}, options) {
3972
+ return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
4471
3973
  },
4472
3974
  /**
4473
3975
  *
4474
3976
  * @summary Sets the user image.
4475
- * @param {string} [userId] User Id.
4476
- * @param {any} [body]
3977
+ * @param {ImageApiPostUserImageRequest} requestParameters Request parameters.
4477
3978
  * @param {*} [options] Override http request option.
4478
3979
  * @throws {RequiredError}
4479
3980
  */
4480
- postUserImage(userId, body, options) {
4481
- return localVarFp.postUserImage(userId, body, options).then((request) => request(axios, basePath));
3981
+ postUserImage(requestParameters = {}, options) {
3982
+ return localVarFp.postUserImage(requestParameters.userId, requestParameters.body, options).then((request) => request(axios, basePath));
4482
3983
  },
4483
3984
  /**
4484
3985
  *
4485
3986
  * @summary Set item image.
4486
- * @param {string} itemId Item id.
4487
- * @param {ImageType} imageType Image type.
4488
- * @param {any} [body]
3987
+ * @param {ImageApiSetItemImageRequest} requestParameters Request parameters.
4489
3988
  * @param {*} [options] Override http request option.
4490
3989
  * @throws {RequiredError}
4491
3990
  */
4492
- setItemImage(itemId, imageType, body, options) {
4493
- return localVarFp.setItemImage(itemId, imageType, body, options).then((request) => request(axios, basePath));
3991
+ setItemImage(requestParameters, options) {
3992
+ return localVarFp.setItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.body, options).then((request) => request(axios, basePath));
4494
3993
  },
4495
3994
  /**
4496
3995
  *
4497
3996
  * @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]
3997
+ * @param {ImageApiSetItemImageByIndexRequest} requestParameters Request parameters.
4502
3998
  * @param {*} [options] Override http request option.
4503
3999
  * @throws {RequiredError}
4504
4000
  */
4505
- setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
4506
- return localVarFp.setItemImageByIndex(itemId, imageType, imageIndex, body, options).then((request) => request(axios, basePath));
4001
+ setItemImageByIndex(requestParameters, options) {
4002
+ return localVarFp.setItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.body, options).then((request) => request(axios, basePath));
4507
4003
  },
4508
4004
  /**
4509
4005
  *
4510
4006
  * @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.
4007
+ * @param {ImageApiUpdateItemImageIndexRequest} requestParameters Request parameters.
4515
4008
  * @param {*} [options] Override http request option.
4516
4009
  * @throws {RequiredError}
4517
4010
  */
4518
- updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
4519
- return localVarFp.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options).then((request) => request(axios, basePath));
4011
+ updateItemImageIndex(requestParameters, options) {
4012
+ return localVarFp.updateItemImageIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.newIndex, options).then((request) => request(axios, basePath));
4520
4013
  },
4521
4014
  /**
4522
4015
  *
4523
4016
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
4524
- * @param {any} [body]
4017
+ * @param {ImageApiUploadCustomSplashscreenRequest} requestParameters Request parameters.
4525
4018
  * @param {*} [options] Override http request option.
4526
4019
  * @throws {RequiredError}
4527
4020
  */
4528
- uploadCustomSplashscreen(body, options) {
4529
- return localVarFp.uploadCustomSplashscreen(body, options).then((request) => request(axios, basePath));
4021
+ uploadCustomSplashscreen(requestParameters = {}, options) {
4022
+ return localVarFp.uploadCustomSplashscreen(requestParameters.body, options).then((request) => request(axios, basePath));
4530
4023
  },
4531
4024
  };
4532
4025
  };
@@ -4710,7 +4203,7 @@ class ImageApi extends BaseAPI {
4710
4203
  * @memberof ImageApi
4711
4204
  */
4712
4205
  getSplashscreen(requestParameters = {}, options) {
4713
- return ImageApiFp(this.configuration).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(this.axios, this.basePath));
4206
+ return ImageApiFp(this.configuration).getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
4714
4207
  }
4715
4208
  /**
4716
4209
  *
@@ -4743,7 +4236,7 @@ class ImageApi extends BaseAPI {
4743
4236
  * @memberof ImageApi
4744
4237
  */
4745
4238
  getUserImage(requestParameters = {}, options) {
4746
- return ImageApiFp(this.configuration).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(this.axios, this.basePath));
4239
+ return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
4747
4240
  }
4748
4241
  /**
4749
4242
  *
@@ -4886,7 +4379,7 @@ class ImageApi extends BaseAPI {
4886
4379
  * @memberof ImageApi
4887
4380
  */
4888
4381
  headUserImage(requestParameters = {}, options) {
4889
- return ImageApiFp(this.configuration).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(this.axios, this.basePath));
4382
+ return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
4890
4383
  }
4891
4384
  /**
4892
4385
  *