@jellyfin/sdk 0.8.1 → 0.9.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 (274) hide show
  1. package/README.md +9 -7
  2. package/lib/api.d.ts +1 -0
  3. package/lib/api.js +4 -4
  4. package/lib/discovery/recommended-server-discovery.js +24 -16
  5. package/lib/generated-client/api/activity-log-api.js +12 -1
  6. package/lib/generated-client/api/api-key-api.js +14 -3
  7. package/lib/generated-client/api/artists-api.d.ts +28 -26
  8. package/lib/generated-client/api/artists-api.js +26 -15
  9. package/lib/generated-client/api/audio-api.d.ts +8 -8
  10. package/lib/generated-client/api/audio-api.js +21 -10
  11. package/lib/generated-client/api/branding-api.js +14 -3
  12. package/lib/generated-client/api/channels-api.d.ts +9 -8
  13. package/lib/generated-client/api/channels-api.js +19 -8
  14. package/lib/generated-client/api/client-log-api.js +12 -1
  15. package/lib/generated-client/api/collection-api.js +14 -3
  16. package/lib/generated-client/api/configuration-api.d.ts +0 -47
  17. package/lib/generated-client/api/configuration-api.js +16 -71
  18. package/lib/generated-client/api/dashboard-api.js +13 -2
  19. package/lib/generated-client/api/devices-api.d.ts +3 -12
  20. package/lib/generated-client/api/devices-api.js +21 -16
  21. package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
  22. package/lib/generated-client/api/display-preferences-api.js +29 -22
  23. package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -10
  24. package/lib/generated-client/api/dynamic-hls-api.js +45 -22
  25. package/lib/generated-client/api/environment-api.js +17 -6
  26. package/lib/generated-client/api/filter-api.d.ts +9 -8
  27. package/lib/generated-client/api/filter-api.js +16 -5
  28. package/lib/generated-client/api/genres-api.d.ts +9 -8
  29. package/lib/generated-client/api/genres-api.js +16 -5
  30. package/lib/generated-client/api/hls-segment-api.js +16 -5
  31. package/lib/generated-client/api/image-api.d.ts +109 -1184
  32. package/lib/generated-client/api/image-api.js +218 -1056
  33. package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
  34. package/lib/generated-client/api/instant-mix-api.js +79 -68
  35. package/lib/generated-client/api/item-lookup-api.js +22 -11
  36. package/lib/generated-client/api/item-refresh-api.js +12 -1
  37. package/lib/generated-client/api/item-update-api.js +14 -3
  38. package/lib/generated-client/api/items-api.d.ts +333 -1012
  39. package/lib/generated-client/api/items-api.js +178 -595
  40. package/lib/generated-client/api/library-api.d.ts +9 -8
  41. package/lib/generated-client/api/library-api.js +39 -28
  42. package/lib/generated-client/api/library-structure-api.js +19 -8
  43. package/lib/generated-client/api/live-tv-api.d.ts +17 -16
  44. package/lib/generated-client/api/live-tv-api.js +58 -47
  45. package/lib/generated-client/api/localization-api.js +15 -4
  46. package/lib/generated-client/api/lyrics-api.d.ts +344 -0
  47. package/lib/generated-client/api/{dlna-api.js → lyrics-api.js} +165 -125
  48. package/lib/generated-client/api/media-info-api.d.ts +7 -7
  49. package/lib/generated-client/api/media-info-api.js +19 -10
  50. package/lib/generated-client/api/movies-api.js +12 -1
  51. package/lib/generated-client/api/music-genres-api.d.ts +9 -8
  52. package/lib/generated-client/api/music-genres-api.js +16 -5
  53. package/lib/generated-client/api/package-api.js +17 -6
  54. package/lib/generated-client/api/persons-api.js +13 -2
  55. package/lib/generated-client/api/playlists-api.d.ts +315 -36
  56. package/lib/generated-client/api/playlists-api.js +395 -29
  57. package/lib/generated-client/api/playstate-api.d.ts +41 -68
  58. package/lib/generated-client/api/playstate-api.js +74 -81
  59. package/lib/generated-client/api/plugins-api.js +20 -9
  60. package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
  61. package/lib/generated-client/api/quick-connect-api.js +67 -50
  62. package/lib/generated-client/api/remote-image-api.js +14 -3
  63. package/lib/generated-client/api/scheduled-tasks-api.js +16 -5
  64. package/lib/generated-client/api/search-api.d.ts +41 -40
  65. package/lib/generated-client/api/search-api.js +29 -18
  66. package/lib/generated-client/api/session-api.d.ts +9 -17
  67. package/lib/generated-client/api/session-api.js +35 -30
  68. package/lib/generated-client/api/startup-api.js +18 -7
  69. package/lib/generated-client/api/studios-api.js +13 -2
  70. package/lib/generated-client/api/subtitle-api.d.ts +7 -7
  71. package/lib/generated-client/api/subtitle-api.js +33 -22
  72. package/lib/generated-client/api/suggestions-api.d.ts +14 -13
  73. package/lib/generated-client/api/suggestions-api.js +24 -13
  74. package/lib/generated-client/api/sync-play-api.js +32 -21
  75. package/lib/generated-client/api/system-api.js +21 -10
  76. package/lib/generated-client/api/time-sync-api.js +12 -1
  77. package/lib/generated-client/api/tmdb-api.js +12 -1
  78. package/lib/generated-client/api/trailers-api.d.ts +35 -33
  79. package/lib/generated-client/api/trailers-api.js +33 -22
  80. package/lib/generated-client/api/trickplay-api.d.ts +176 -0
  81. package/lib/generated-client/api/trickplay-api.js +213 -0
  82. package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
  83. package/lib/generated-client/api/tv-shows-api.js +32 -15
  84. package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
  85. package/lib/generated-client/api/universal-audio-api.js +19 -8
  86. package/lib/generated-client/api/user-api.d.ts +35 -155
  87. package/lib/generated-client/api/user-api.js +65 -203
  88. package/lib/generated-client/api/user-library-api.d.ts +100 -100
  89. package/lib/generated-client/api/user-library-api.js +136 -125
  90. package/lib/generated-client/api/user-views-api.d.ts +22 -21
  91. package/lib/generated-client/api/user-views-api.js +33 -22
  92. package/lib/generated-client/api/video-attachments-api.js +12 -1
  93. package/lib/generated-client/api/videos-api.js +18 -7
  94. package/lib/generated-client/api/years-api.d.ts +15 -13
  95. package/lib/generated-client/api/years-api.js +19 -8
  96. package/lib/generated-client/api.d.ts +2 -4
  97. package/lib/generated-client/base.js +13 -0
  98. package/lib/generated-client/common.js +11 -0
  99. package/lib/generated-client/index.js +19 -10
  100. package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
  101. package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
  102. package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
  103. package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
  104. package/lib/generated-client/models/audio-spatial-format.js +24 -0
  105. package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
  106. package/lib/generated-client/models/base-item-dto.d.ts +37 -17
  107. package/lib/generated-client/models/base-item-person.d.ts +4 -3
  108. package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
  109. package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
  110. package/lib/generated-client/models/client-capabilities.d.ts +16 -19
  111. package/lib/generated-client/models/collection-type-options.d.ts +9 -9
  112. package/lib/generated-client/models/collection-type-options.js +9 -9
  113. package/lib/generated-client/models/collection-type.d.ts +31 -0
  114. package/lib/generated-client/models/collection-type.js +34 -0
  115. package/lib/generated-client/models/container-profile.d.ts +1 -1
  116. package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
  117. package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
  118. package/lib/generated-client/models/device-info.d.ts +6 -0
  119. package/lib/generated-client/models/device-profile.d.ts +0 -171
  120. package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
  121. package/lib/generated-client/models/dlna-profile-type.js +2 -1
  122. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
  123. package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
  124. package/lib/generated-client/models/encoding-options.d.ts +77 -40
  125. package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
  126. package/lib/generated-client/models/external-id-media-type.js +2 -1
  127. package/lib/generated-client/models/extra-type.d.ts +30 -0
  128. package/lib/generated-client/models/extra-type.js +33 -0
  129. package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
  130. package/lib/generated-client/models/general-command-message.d.ts +37 -0
  131. package/lib/generated-client/models/general-command-type.d.ts +1 -0
  132. package/lib/generated-client/models/general-command-type.js +2 -1
  133. package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
  134. package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
  135. package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
  136. package/lib/generated-client/models/group-state-update.d.ts +31 -0
  137. package/lib/generated-client/models/group-update.d.ts +20 -0
  138. package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
  139. package/lib/generated-client/models/hardware-encoding-type.js +2 -1
  140. package/lib/generated-client/models/image-format.d.ts +1 -0
  141. package/lib/generated-client/models/image-format.js +2 -1
  142. package/lib/generated-client/models/image-resolution.d.ts +27 -0
  143. package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
  144. package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
  145. package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
  146. package/lib/generated-client/models/index.d.ts +74 -25
  147. package/lib/generated-client/models/index.js +17 -6
  148. package/lib/generated-client/models/item-fields.d.ts +1 -2
  149. package/lib/generated-client/models/item-fields.js +1 -2
  150. package/lib/generated-client/models/item-sort-by.d.ts +50 -0
  151. package/lib/generated-client/models/item-sort-by.js +53 -0
  152. package/lib/generated-client/models/library-changed-message.d.ts +37 -0
  153. package/lib/generated-client/models/library-options.d.ts +36 -0
  154. package/lib/generated-client/models/live-tv-options.d.ts +12 -0
  155. package/lib/generated-client/models/log-file.d.ts +1 -1
  156. package/lib/generated-client/models/lyric-dto.d.ts +31 -0
  157. package/lib/generated-client/models/lyric-line.d.ts +29 -0
  158. package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
  159. package/lib/generated-client/models/media-source-info.d.ts +3 -2
  160. package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
  161. package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
  162. package/lib/generated-client/models/media-stream-type.d.ts +1 -0
  163. package/lib/generated-client/models/media-stream-type.js +2 -1
  164. package/lib/generated-client/models/media-stream.d.ts +27 -6
  165. package/lib/generated-client/models/media-type.d.ts +23 -0
  166. package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
  167. package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
  168. package/lib/generated-client/models/network-configuration.d.ts +50 -116
  169. package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
  170. package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
  171. package/lib/generated-client/models/parental-rating.d.ts +1 -1
  172. package/lib/generated-client/models/person-kind.d.ts +43 -0
  173. package/lib/generated-client/models/person-kind.js +46 -0
  174. package/lib/generated-client/models/play-message.d.ts +37 -0
  175. package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
  176. package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
  177. package/lib/generated-client/models/play-queue-update-reason.js +31 -0
  178. package/lib/generated-client/models/play-queue-update.d.ts +69 -0
  179. package/lib/generated-client/models/playback-order.d.ts +20 -0
  180. package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
  181. package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
  182. package/lib/generated-client/models/playback-request-type.d.ts +35 -0
  183. package/lib/generated-client/models/playback-request-type.js +38 -0
  184. package/lib/generated-client/models/playback-start-info.d.ts +7 -0
  185. package/lib/generated-client/models/player-state-info.d.ts +7 -0
  186. package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
  187. package/lib/generated-client/models/playstate-message.d.ts +37 -0
  188. package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
  189. package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
  190. package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
  191. package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
  192. package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
  193. package/lib/generated-client/models/process-priority-class.d.ts +24 -0
  194. package/lib/generated-client/models/process-priority-class.js +27 -0
  195. package/lib/generated-client/models/public-system-info.d.ts +1 -0
  196. package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
  197. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
  198. package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
  199. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
  200. package/lib/generated-client/models/restart-required-message.d.ts +30 -0
  201. package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
  202. package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
  203. package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
  204. package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
  205. package/lib/generated-client/models/search-hint.d.ts +20 -17
  206. package/lib/generated-client/models/series-status.d.ts +2 -1
  207. package/lib/generated-client/models/series-status.js +3 -2
  208. package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
  209. package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
  210. package/lib/generated-client/models/server-configuration.d.ts +45 -0
  211. package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
  212. package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
  213. package/lib/generated-client/models/session-info.d.ts +9 -9
  214. package/lib/generated-client/models/sessions-message.d.ts +37 -0
  215. package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
  216. package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
  217. package/lib/generated-client/models/string-group-update.d.ts +36 -0
  218. package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
  219. package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
  220. package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
  221. package/lib/generated-client/models/system-info.d.ts +17 -6
  222. package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
  223. package/lib/generated-client/models/timer-created-message.d.ts +37 -0
  224. package/lib/generated-client/models/transcoding-info.d.ts +3 -2
  225. package/lib/generated-client/models/transcoding-info.js +15 -0
  226. package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
  227. package/lib/generated-client/models/trickplay-info.d.ts +59 -0
  228. package/lib/generated-client/models/trickplay-options.d.ts +85 -0
  229. package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
  230. package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
  231. package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
  232. package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
  233. package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
  234. package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
  235. package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
  236. package/lib/generated-client/models/user-configuration.d.ts +6 -0
  237. package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
  238. package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
  239. package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
  240. package/lib/generated-client/models/user-dto.d.ts +1 -0
  241. package/lib/generated-client/models/user-policy.d.ts +26 -2
  242. package/lib/generated-client/models/user-updated-message.d.ts +37 -0
  243. package/lib/generated-client/models/video-range-type.d.ts +27 -0
  244. package/lib/generated-client/models/video-range-type.js +30 -0
  245. package/lib/generated-client/models/video-range.d.ts +21 -0
  246. package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
  247. package/lib/generated-client/models/web-socket-message.d.ts +18 -0
  248. package/lib/node_modules/tslib/tslib.es6.js +9 -2
  249. package/lib/utils/api/image-api.d.ts +2 -2
  250. package/lib/utils/api/image-api.js +2 -2
  251. package/lib/utils/api/image-urls-api.d.ts +55 -0
  252. package/lib/utils/api/image-urls-api.js +103 -0
  253. package/lib/utils/api/index.d.ts +2 -4
  254. package/lib/utils/api/index.js +2 -4
  255. package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
  256. package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
  257. package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
  258. package/lib/utils/api/trickplay-api.js +12 -0
  259. package/lib/utils/authentication.js +5 -6
  260. package/lib/utils/index.d.ts +2 -1
  261. package/lib/utils/index.js +2 -1
  262. package/lib/utils/versioning.d.ts +9 -0
  263. package/lib/utils/versioning.js +32 -0
  264. package/lib/versions.d.ts +2 -2
  265. package/lib/versions.js +2 -2
  266. package/package.json +19 -22
  267. package/lib/generated-client/api/dlna-server-api.js +0 -1088
  268. package/lib/generated-client/api/image-by-name-api.js +0 -423
  269. package/lib/generated-client/api/notifications-api.js +0 -484
  270. package/lib/utils/api/dlna-server-api.js +0 -12
  271. package/lib/utils/api/image-by-name-api.d.ts +0 -8
  272. package/lib/utils/api/image-by-name-api.js +0 -12
  273. package/lib/utils/api/notifications-api.d.ts +0 -8
  274. package/lib/utils/api/notifications-api.js +0 -12
@@ -4,6 +4,17 @@ import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, asser
4
4
  import { BaseAPI, BASE_PATH } from '../base.js';
5
5
 
6
6
  /* tslint:disable */
7
+ /* eslint-disable */
8
+ /**
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * Do not edit the class manually.
11
+ *
12
+ * Jellyfin API
13
+ *
14
+ * This Source Code Form is subject to the terms of the Mozilla Public
15
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
16
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
17
+ */
7
18
  /**
8
19
  * ImageApi - axios parameter creator
9
20
  * @export
@@ -16,7 +27,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
16
27
  * @param {*} [options] Override http request option.
17
28
  * @throws {RequiredError}
18
29
  */
19
- deleteCustomSplashscreen: (options = {}) => __awaiter(this, void 0, void 0, function* () {
30
+ deleteCustomSplashscreen: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
20
31
  const localVarPath = `/Branding/Splashscreen`;
21
32
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
22
33
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -46,7 +57,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
46
57
  * @param {*} [options] Override http request option.
47
58
  * @throws {RequiredError}
48
59
  */
49
- deleteItemImage: (itemId, imageType, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
60
+ deleteItemImage: (itemId_1, imageType_1, imageIndex_1, ...args_2) => __awaiter(this, [itemId_1, imageType_1, imageIndex_1, ...args_2], void 0, function* (itemId, imageType, imageIndex, options = {}) {
50
61
  // verify required parameter 'itemId' is not null or undefined
51
62
  assertParamExists('deleteItemImage', 'itemId', itemId);
52
63
  // verify required parameter 'imageType' is not null or undefined
@@ -85,7 +96,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
85
96
  * @param {*} [options] Override http request option.
86
97
  * @throws {RequiredError}
87
98
  */
88
- deleteItemImageByIndex: (itemId, imageType, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
99
+ deleteItemImageByIndex: (itemId_2, imageType_2, imageIndex_2, ...args_3) => __awaiter(this, [itemId_2, imageType_2, imageIndex_2, ...args_3], void 0, function* (itemId, imageType, imageIndex, options = {}) {
89
100
  // verify required parameter 'itemId' is not null or undefined
90
101
  assertParamExists('deleteItemImageByIndex', 'itemId', itemId);
91
102
  // verify required parameter 'imageType' is not null or undefined
@@ -118,20 +129,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
118
129
  /**
119
130
  *
120
131
  * @summary Delete the user\'s image.
121
- * @param {string} userId User Id.
122
- * @param {ImageType} imageType (Unused) Image type.
123
- * @param {number} [index] (Unused) Image index.
132
+ * @param {string} [userId] User Id.
124
133
  * @param {*} [options] Override http request option.
125
134
  * @throws {RequiredError}
126
135
  */
127
- deleteUserImage: (userId, imageType, index, options = {}) => __awaiter(this, void 0, void 0, function* () {
128
- // verify required parameter 'userId' is not null or undefined
129
- assertParamExists('deleteUserImage', 'userId', userId);
130
- // verify required parameter 'imageType' is not null or undefined
131
- assertParamExists('deleteUserImage', 'imageType', imageType);
132
- const localVarPath = `/Users/{userId}/Images/{imageType}`
133
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
134
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)));
136
+ deleteUserImage: (userId_1, ...args_4) => __awaiter(this, [userId_1, ...args_4], void 0, function* (userId, options = {}) {
137
+ const localVarPath = `/UserImage`;
135
138
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
136
139
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
137
140
  let baseOptions;
@@ -143,8 +146,8 @@ const ImageApiAxiosParamCreator = function (configuration) {
143
146
  const localVarQueryParameter = {};
144
147
  // authentication CustomAuthentication required
145
148
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
146
- if (index !== undefined) {
147
- localVarQueryParameter['index'] = index;
149
+ if (userId !== undefined) {
150
+ localVarQueryParameter['userId'] = userId;
148
151
  }
149
152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
150
153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -154,45 +157,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
154
157
  options: localVarRequestOptions,
155
158
  };
156
159
  }),
157
- /**
158
- *
159
- * @summary Delete the user\'s image.
160
- * @param {string} userId User Id.
161
- * @param {ImageType} imageType (Unused) Image type.
162
- * @param {number} index (Unused) Image index.
163
- * @param {*} [options] Override http request option.
164
- * @throws {RequiredError}
165
- */
166
- deleteUserImageByIndex: (userId, imageType, index, options = {}) => __awaiter(this, void 0, void 0, function* () {
167
- // verify required parameter 'userId' is not null or undefined
168
- assertParamExists('deleteUserImageByIndex', 'userId', userId);
169
- // verify required parameter 'imageType' is not null or undefined
170
- assertParamExists('deleteUserImageByIndex', 'imageType', imageType);
171
- // verify required parameter 'index' is not null or undefined
172
- assertParamExists('deleteUserImageByIndex', 'index', index);
173
- const localVarPath = `/Users/{userId}/Images/{imageType}/{index}`
174
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
175
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)))
176
- .replace(`{${"index"}}`, encodeURIComponent(String(index)));
177
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
179
- let baseOptions;
180
- if (configuration) {
181
- baseOptions = configuration.baseOptions;
182
- }
183
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
184
- const localVarHeaderParameter = {};
185
- const localVarQueryParameter = {};
186
- // authentication CustomAuthentication required
187
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
188
- setSearchParams(localVarUrlObj, localVarQueryParameter);
189
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
190
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
191
- return {
192
- url: toPathString(localVarUrlObj),
193
- options: localVarRequestOptions,
194
- };
195
- }),
196
160
  /**
197
161
  *
198
162
  * @summary Get artist image by name.
@@ -210,15 +174,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
210
174
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
211
175
  * @param {number} [fillWidth] Width of box to fill.
212
176
  * @param {number} [fillHeight] Height of box to fill.
213
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
214
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
215
177
  * @param {number} [blur] Optional. Blur image.
216
178
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
217
179
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
218
180
  * @param {*} [options] Override http request option.
219
181
  * @throws {RequiredError}
220
182
  */
221
- getArtistImage: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
183
+ getArtistImage: (name_1, imageType_3, imageIndex_3, tag_1, format_1, maxWidth_1, maxHeight_1, percentPlayed_1, unplayedCount_1, width_1, height_1, quality_1, fillWidth_1, fillHeight_1, blur_1, backgroundColor_1, foregroundLayer_1, ...args_5) => __awaiter(this, [name_1, imageType_3, imageIndex_3, tag_1, format_1, maxWidth_1, maxHeight_1, percentPlayed_1, unplayedCount_1, width_1, height_1, quality_1, fillWidth_1, fillHeight_1, blur_1, backgroundColor_1, foregroundLayer_1, ...args_5], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
222
184
  // verify required parameter 'name' is not null or undefined
223
185
  assertParamExists('getArtistImage', 'name', name);
224
186
  // verify required parameter 'imageType' is not null or undefined
@@ -271,12 +233,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
271
233
  if (fillHeight !== undefined) {
272
234
  localVarQueryParameter['fillHeight'] = fillHeight;
273
235
  }
274
- if (cropWhitespace !== undefined) {
275
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
276
- }
277
- if (addPlayedIndicator !== undefined) {
278
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
279
- }
280
236
  if (blur !== undefined) {
281
237
  localVarQueryParameter['blur'] = blur;
282
238
  }
@@ -310,8 +266,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
310
266
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
311
267
  * @param {number} [fillWidth] Width of box to fill.
312
268
  * @param {number} [fillHeight] Height of box to fill.
313
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
314
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
315
269
  * @param {number} [blur] Optional. Blur image.
316
270
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
317
271
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -319,7 +273,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
319
273
  * @param {*} [options] Override http request option.
320
274
  * @throws {RequiredError}
321
275
  */
322
- getGenreImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
276
+ getGenreImage: (name_2, imageType_4, tag_2, format_2, maxWidth_2, maxHeight_2, percentPlayed_2, unplayedCount_2, width_2, height_2, quality_2, fillWidth_2, fillHeight_2, blur_2, backgroundColor_2, foregroundLayer_2, imageIndex_4, ...args_6) => __awaiter(this, [name_2, imageType_4, tag_2, format_2, maxWidth_2, maxHeight_2, percentPlayed_2, unplayedCount_2, width_2, height_2, quality_2, fillWidth_2, fillHeight_2, blur_2, backgroundColor_2, foregroundLayer_2, imageIndex_4, ...args_6], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
323
277
  // verify required parameter 'name' is not null or undefined
324
278
  assertParamExists('getGenreImage', 'name', name);
325
279
  // verify required parameter 'imageType' is not null or undefined
@@ -369,12 +323,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
369
323
  if (fillHeight !== undefined) {
370
324
  localVarQueryParameter['fillHeight'] = fillHeight;
371
325
  }
372
- if (cropWhitespace !== undefined) {
373
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
374
- }
375
- if (addPlayedIndicator !== undefined) {
376
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
377
- }
378
326
  if (blur !== undefined) {
379
327
  localVarQueryParameter['blur'] = blur;
380
328
  }
@@ -412,15 +360,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
412
360
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
413
361
  * @param {number} [fillWidth] Width of box to fill.
414
362
  * @param {number} [fillHeight] Height of box to fill.
415
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
416
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
417
363
  * @param {number} [blur] Optional. Blur image.
418
364
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
419
365
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
420
366
  * @param {*} [options] Override http request option.
421
367
  * @throws {RequiredError}
422
368
  */
423
- getGenreImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
369
+ getGenreImageByIndex: (name_3, imageType_5, imageIndex_5, tag_3, format_3, maxWidth_3, maxHeight_3, percentPlayed_3, unplayedCount_3, width_3, height_3, quality_3, fillWidth_3, fillHeight_3, blur_3, backgroundColor_3, foregroundLayer_3, ...args_7) => __awaiter(this, [name_3, imageType_5, imageIndex_5, tag_3, format_3, maxWidth_3, maxHeight_3, percentPlayed_3, unplayedCount_3, width_3, height_3, quality_3, fillWidth_3, fillHeight_3, blur_3, backgroundColor_3, foregroundLayer_3, ...args_7], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
424
370
  // verify required parameter 'name' is not null or undefined
425
371
  assertParamExists('getGenreImageByIndex', 'name', name);
426
372
  // verify required parameter 'imageType' is not null or undefined
@@ -473,12 +419,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
473
419
  if (fillHeight !== undefined) {
474
420
  localVarQueryParameter['fillHeight'] = fillHeight;
475
421
  }
476
- if (cropWhitespace !== undefined) {
477
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
478
- }
479
- if (addPlayedIndicator !== undefined) {
480
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
481
- }
482
422
  if (blur !== undefined) {
483
423
  localVarQueryParameter['blur'] = blur;
484
424
  }
@@ -509,9 +449,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
509
449
  * @param {number} [fillWidth] Width of box to fill.
510
450
  * @param {number} [fillHeight] Height of box to fill.
511
451
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
512
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
513
452
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
514
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
515
453
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
516
454
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
517
455
  * @param {number} [blur] Optional. Blur image.
@@ -521,7 +459,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
521
459
  * @param {*} [options] Override http request option.
522
460
  * @throws {RequiredError}
523
461
  */
524
- getItemImage: (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
462
+ getItemImage: (itemId_3, imageType_6, maxWidth_4, maxHeight_4, width_4, height_4, quality_4, fillWidth_4, fillHeight_4, tag_4, format_4, percentPlayed_4, unplayedCount_4, blur_4, backgroundColor_4, foregroundLayer_4, imageIndex_6, ...args_8) => __awaiter(this, [itemId_3, imageType_6, maxWidth_4, maxHeight_4, width_4, height_4, quality_4, fillWidth_4, fillHeight_4, tag_4, format_4, percentPlayed_4, unplayedCount_4, blur_4, backgroundColor_4, foregroundLayer_4, imageIndex_6, ...args_8], void 0, function* (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
525
463
  // verify required parameter 'itemId' is not null or undefined
526
464
  assertParamExists('getItemImage', 'itemId', itemId);
527
465
  // verify required parameter 'imageType' is not null or undefined
@@ -562,15 +500,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
562
500
  if (tag !== undefined) {
563
501
  localVarQueryParameter['tag'] = tag;
564
502
  }
565
- if (cropWhitespace !== undefined) {
566
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
567
- }
568
503
  if (format !== undefined) {
569
504
  localVarQueryParameter['format'] = format;
570
505
  }
571
- if (addPlayedIndicator !== undefined) {
572
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
573
- }
574
506
  if (percentPlayed !== undefined) {
575
507
  localVarQueryParameter['percentPlayed'] = percentPlayed;
576
508
  }
@@ -614,15 +546,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
614
546
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
615
547
  * @param {number} [fillWidth] Width of box to fill.
616
548
  * @param {number} [fillHeight] Height of box to fill.
617
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
618
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
619
549
  * @param {number} [blur] Optional. Blur image.
620
550
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
621
551
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
622
552
  * @param {*} [options] Override http request option.
623
553
  * @throws {RequiredError}
624
554
  */
625
- getItemImage2: (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
555
+ getItemImage2: (itemId_4, imageType_7, maxWidth_5, maxHeight_5, tag_5, format_5, percentPlayed_5, unplayedCount_5, imageIndex_7, width_5, height_5, quality_5, fillWidth_5, fillHeight_5, blur_5, backgroundColor_5, foregroundLayer_5, ...args_9) => __awaiter(this, [itemId_4, imageType_7, maxWidth_5, maxHeight_5, tag_5, format_5, percentPlayed_5, unplayedCount_5, imageIndex_7, width_5, height_5, quality_5, fillWidth_5, fillHeight_5, blur_5, backgroundColor_5, foregroundLayer_5, ...args_9], void 0, function* (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
626
556
  // verify required parameter 'itemId' is not null or undefined
627
557
  assertParamExists('getItemImage2', 'itemId', itemId);
628
558
  // verify required parameter 'imageType' is not null or undefined
@@ -675,12 +605,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
675
605
  if (fillHeight !== undefined) {
676
606
  localVarQueryParameter['fillHeight'] = fillHeight;
677
607
  }
678
- if (cropWhitespace !== undefined) {
679
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
680
- }
681
- if (addPlayedIndicator !== undefined) {
682
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
683
- }
684
608
  if (blur !== undefined) {
685
609
  localVarQueryParameter['blur'] = blur;
686
610
  }
@@ -712,9 +636,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
712
636
  * @param {number} [fillWidth] Width of box to fill.
713
637
  * @param {number} [fillHeight] Height of box to fill.
714
638
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
715
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
716
639
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
717
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
718
640
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
719
641
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
720
642
  * @param {number} [blur] Optional. Blur image.
@@ -723,7 +645,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
723
645
  * @param {*} [options] Override http request option.
724
646
  * @throws {RequiredError}
725
647
  */
726
- getItemImageByIndex: (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
648
+ getItemImageByIndex: (itemId_5, imageType_8, imageIndex_8, maxWidth_6, maxHeight_6, width_6, height_6, quality_6, fillWidth_6, fillHeight_6, tag_6, format_6, percentPlayed_6, unplayedCount_6, blur_6, backgroundColor_6, foregroundLayer_6, ...args_10) => __awaiter(this, [itemId_5, imageType_8, imageIndex_8, maxWidth_6, maxHeight_6, width_6, height_6, quality_6, fillWidth_6, fillHeight_6, tag_6, format_6, percentPlayed_6, unplayedCount_6, blur_6, backgroundColor_6, foregroundLayer_6, ...args_10], void 0, function* (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) {
727
649
  // verify required parameter 'itemId' is not null or undefined
728
650
  assertParamExists('getItemImageByIndex', 'itemId', itemId);
729
651
  // verify required parameter 'imageType' is not null or undefined
@@ -767,15 +689,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
767
689
  if (tag !== undefined) {
768
690
  localVarQueryParameter['tag'] = tag;
769
691
  }
770
- if (cropWhitespace !== undefined) {
771
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
772
- }
773
692
  if (format !== undefined) {
774
693
  localVarQueryParameter['format'] = format;
775
694
  }
776
- if (addPlayedIndicator !== undefined) {
777
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
778
- }
779
695
  if (percentPlayed !== undefined) {
780
696
  localVarQueryParameter['percentPlayed'] = percentPlayed;
781
697
  }
@@ -806,7 +722,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
806
722
  * @param {*} [options] Override http request option.
807
723
  * @throws {RequiredError}
808
724
  */
809
- getItemImageInfos: (itemId, options = {}) => __awaiter(this, void 0, void 0, function* () {
725
+ getItemImageInfos: (itemId_6, ...args_11) => __awaiter(this, [itemId_6, ...args_11], void 0, function* (itemId, options = {}) {
810
726
  // verify required parameter 'itemId' is not null or undefined
811
727
  assertParamExists('getItemImageInfos', 'itemId', itemId);
812
728
  const localVarPath = `/Items/{itemId}/Images`
@@ -846,8 +762,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
846
762
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
847
763
  * @param {number} [fillWidth] Width of box to fill.
848
764
  * @param {number} [fillHeight] Height of box to fill.
849
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
850
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
851
765
  * @param {number} [blur] Optional. Blur image.
852
766
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
853
767
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -855,7 +769,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
855
769
  * @param {*} [options] Override http request option.
856
770
  * @throws {RequiredError}
857
771
  */
858
- getMusicGenreImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
772
+ getMusicGenreImage: (name_4, imageType_9, tag_7, format_7, maxWidth_7, maxHeight_7, percentPlayed_7, unplayedCount_7, width_7, height_7, quality_7, fillWidth_7, fillHeight_7, blur_7, backgroundColor_7, foregroundLayer_7, imageIndex_9, ...args_12) => __awaiter(this, [name_4, imageType_9, tag_7, format_7, maxWidth_7, maxHeight_7, percentPlayed_7, unplayedCount_7, width_7, height_7, quality_7, fillWidth_7, fillHeight_7, blur_7, backgroundColor_7, foregroundLayer_7, imageIndex_9, ...args_12], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
859
773
  // verify required parameter 'name' is not null or undefined
860
774
  assertParamExists('getMusicGenreImage', 'name', name);
861
775
  // verify required parameter 'imageType' is not null or undefined
@@ -905,12 +819,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
905
819
  if (fillHeight !== undefined) {
906
820
  localVarQueryParameter['fillHeight'] = fillHeight;
907
821
  }
908
- if (cropWhitespace !== undefined) {
909
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
910
- }
911
- if (addPlayedIndicator !== undefined) {
912
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
913
- }
914
822
  if (blur !== undefined) {
915
823
  localVarQueryParameter['blur'] = blur;
916
824
  }
@@ -948,15 +856,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
948
856
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
949
857
  * @param {number} [fillWidth] Width of box to fill.
950
858
  * @param {number} [fillHeight] Height of box to fill.
951
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
952
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
953
859
  * @param {number} [blur] Optional. Blur image.
954
860
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
955
861
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
956
862
  * @param {*} [options] Override http request option.
957
863
  * @throws {RequiredError}
958
864
  */
959
- getMusicGenreImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
865
+ getMusicGenreImageByIndex: (name_5, imageType_10, imageIndex_10, tag_8, format_8, maxWidth_8, maxHeight_8, percentPlayed_8, unplayedCount_8, width_8, height_8, quality_8, fillWidth_8, fillHeight_8, blur_8, backgroundColor_8, foregroundLayer_8, ...args_13) => __awaiter(this, [name_5, imageType_10, imageIndex_10, tag_8, format_8, maxWidth_8, maxHeight_8, percentPlayed_8, unplayedCount_8, width_8, height_8, quality_8, fillWidth_8, fillHeight_8, blur_8, backgroundColor_8, foregroundLayer_8, ...args_13], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
960
866
  // verify required parameter 'name' is not null or undefined
961
867
  assertParamExists('getMusicGenreImageByIndex', 'name', name);
962
868
  // verify required parameter 'imageType' is not null or undefined
@@ -1009,12 +915,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1009
915
  if (fillHeight !== undefined) {
1010
916
  localVarQueryParameter['fillHeight'] = fillHeight;
1011
917
  }
1012
- if (cropWhitespace !== undefined) {
1013
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1014
- }
1015
- if (addPlayedIndicator !== undefined) {
1016
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1017
- }
1018
918
  if (blur !== undefined) {
1019
919
  localVarQueryParameter['blur'] = blur;
1020
920
  }
@@ -1048,8 +948,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1048
948
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1049
949
  * @param {number} [fillWidth] Width of box to fill.
1050
950
  * @param {number} [fillHeight] Height of box to fill.
1051
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1052
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1053
951
  * @param {number} [blur] Optional. Blur image.
1054
952
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1055
953
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -1057,7 +955,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1057
955
  * @param {*} [options] Override http request option.
1058
956
  * @throws {RequiredError}
1059
957
  */
1060
- getPersonImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
958
+ getPersonImage: (name_6, imageType_11, tag_9, format_9, maxWidth_9, maxHeight_9, percentPlayed_9, unplayedCount_9, width_9, height_9, quality_9, fillWidth_9, fillHeight_9, blur_9, backgroundColor_9, foregroundLayer_9, imageIndex_11, ...args_14) => __awaiter(this, [name_6, imageType_11, tag_9, format_9, maxWidth_9, maxHeight_9, percentPlayed_9, unplayedCount_9, width_9, height_9, quality_9, fillWidth_9, fillHeight_9, blur_9, backgroundColor_9, foregroundLayer_9, imageIndex_11, ...args_14], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
1061
959
  // verify required parameter 'name' is not null or undefined
1062
960
  assertParamExists('getPersonImage', 'name', name);
1063
961
  // verify required parameter 'imageType' is not null or undefined
@@ -1107,12 +1005,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1107
1005
  if (fillHeight !== undefined) {
1108
1006
  localVarQueryParameter['fillHeight'] = fillHeight;
1109
1007
  }
1110
- if (cropWhitespace !== undefined) {
1111
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1112
- }
1113
- if (addPlayedIndicator !== undefined) {
1114
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1115
- }
1116
1008
  if (blur !== undefined) {
1117
1009
  localVarQueryParameter['blur'] = blur;
1118
1010
  }
@@ -1150,15 +1042,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
1150
1042
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1151
1043
  * @param {number} [fillWidth] Width of box to fill.
1152
1044
  * @param {number} [fillHeight] Height of box to fill.
1153
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1154
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1155
1045
  * @param {number} [blur] Optional. Blur image.
1156
1046
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1157
1047
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1158
1048
  * @param {*} [options] Override http request option.
1159
1049
  * @throws {RequiredError}
1160
1050
  */
1161
- getPersonImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1051
+ getPersonImageByIndex: (name_7, imageType_12, imageIndex_12, tag_10, format_10, maxWidth_10, maxHeight_10, percentPlayed_10, unplayedCount_10, width_10, height_10, quality_10, fillWidth_10, fillHeight_10, blur_10, backgroundColor_10, foregroundLayer_10, ...args_15) => __awaiter(this, [name_7, imageType_12, imageIndex_12, tag_10, format_10, maxWidth_10, maxHeight_10, percentPlayed_10, unplayedCount_10, width_10, height_10, quality_10, fillWidth_10, fillHeight_10, blur_10, backgroundColor_10, foregroundLayer_10, ...args_15], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
1162
1052
  // verify required parameter 'name' is not null or undefined
1163
1053
  assertParamExists('getPersonImageByIndex', 'name', name);
1164
1054
  // verify required parameter 'imageType' is not null or undefined
@@ -1211,12 +1101,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1211
1101
  if (fillHeight !== undefined) {
1212
1102
  localVarQueryParameter['fillHeight'] = fillHeight;
1213
1103
  }
1214
- if (cropWhitespace !== undefined) {
1215
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1216
- }
1217
- if (addPlayedIndicator !== undefined) {
1218
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1219
- }
1220
1104
  if (blur !== undefined) {
1221
1105
  localVarQueryParameter['blur'] = blur;
1222
1106
  }
@@ -1252,7 +1136,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1252
1136
  * @param {*} [options] Override http request option.
1253
1137
  * @throws {RequiredError}
1254
1138
  */
1255
- getSplashscreen: (tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options = {}) => __awaiter(this, void 0, void 0, function* () {
1139
+ getSplashscreen: (tag_11, format_11, maxWidth_11, maxHeight_11, width_11, height_11, fillWidth_11, fillHeight_11, blur_11, backgroundColor_11, foregroundLayer_11, quality_11, ...args_16) => __awaiter(this, [tag_11, format_11, maxWidth_11, maxHeight_11, width_11, height_11, fillWidth_11, fillHeight_11, blur_11, backgroundColor_11, foregroundLayer_11, quality_11, ...args_16], void 0, function* (tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options = {}) {
1256
1140
  const localVarPath = `/Branding/Splashscreen`;
1257
1141
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1258
1142
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1323,8 +1207,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1323
1207
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1324
1208
  * @param {number} [fillWidth] Width of box to fill.
1325
1209
  * @param {number} [fillHeight] Height of box to fill.
1326
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1327
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1328
1210
  * @param {number} [blur] Optional. Blur image.
1329
1211
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1330
1212
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -1332,7 +1214,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1332
1214
  * @param {*} [options] Override http request option.
1333
1215
  * @throws {RequiredError}
1334
1216
  */
1335
- getStudioImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
1217
+ getStudioImage: (name_8, imageType_13, tag_12, format_12, maxWidth_12, maxHeight_12, percentPlayed_11, unplayedCount_11, width_12, height_12, quality_12, fillWidth_12, fillHeight_12, blur_12, backgroundColor_12, foregroundLayer_12, imageIndex_13, ...args_17) => __awaiter(this, [name_8, imageType_13, tag_12, format_12, maxWidth_12, maxHeight_12, percentPlayed_11, unplayedCount_11, width_12, height_12, quality_12, fillWidth_12, fillHeight_12, blur_12, backgroundColor_12, foregroundLayer_12, imageIndex_13, ...args_17], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
1336
1218
  // verify required parameter 'name' is not null or undefined
1337
1219
  assertParamExists('getStudioImage', 'name', name);
1338
1220
  // verify required parameter 'imageType' is not null or undefined
@@ -1382,12 +1264,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1382
1264
  if (fillHeight !== undefined) {
1383
1265
  localVarQueryParameter['fillHeight'] = fillHeight;
1384
1266
  }
1385
- if (cropWhitespace !== undefined) {
1386
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1387
- }
1388
- if (addPlayedIndicator !== undefined) {
1389
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1390
- }
1391
1267
  if (blur !== undefined) {
1392
1268
  localVarQueryParameter['blur'] = blur;
1393
1269
  }
@@ -1425,15 +1301,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
1425
1301
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1426
1302
  * @param {number} [fillWidth] Width of box to fill.
1427
1303
  * @param {number} [fillHeight] Height of box to fill.
1428
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1429
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1430
1304
  * @param {number} [blur] Optional. Blur image.
1431
1305
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1432
1306
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1433
1307
  * @param {*} [options] Override http request option.
1434
1308
  * @throws {RequiredError}
1435
1309
  */
1436
- getStudioImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1310
+ getStudioImageByIndex: (name_9, imageType_14, imageIndex_14, tag_13, format_13, maxWidth_13, maxHeight_13, percentPlayed_12, unplayedCount_12, width_13, height_13, quality_13, fillWidth_13, fillHeight_13, blur_13, backgroundColor_13, foregroundLayer_13, ...args_18) => __awaiter(this, [name_9, imageType_14, imageIndex_14, tag_13, format_13, maxWidth_13, maxHeight_13, percentPlayed_12, unplayedCount_12, width_13, height_13, quality_13, fillWidth_13, fillHeight_13, blur_13, backgroundColor_13, foregroundLayer_13, ...args_18], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
1437
1311
  // verify required parameter 'name' is not null or undefined
1438
1312
  assertParamExists('getStudioImageByIndex', 'name', name);
1439
1313
  // verify required parameter 'imageType' is not null or undefined
@@ -1486,12 +1360,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1486
1360
  if (fillHeight !== undefined) {
1487
1361
  localVarQueryParameter['fillHeight'] = fillHeight;
1488
1362
  }
1489
- if (cropWhitespace !== undefined) {
1490
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1491
- }
1492
- if (addPlayedIndicator !== undefined) {
1493
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1494
- }
1495
1363
  if (blur !== undefined) {
1496
1364
  localVarQueryParameter['blur'] = blur;
1497
1365
  }
@@ -1512,8 +1380,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1512
1380
  /**
1513
1381
  *
1514
1382
  * @summary Get user profile image.
1515
- * @param {string} userId User id.
1516
- * @param {ImageType} imageType Image type.
1383
+ * @param {string} [userId] User id.
1517
1384
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
1518
1385
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
1519
1386
  * @param {number} [maxWidth] The maximum image width to return.
@@ -1525,8 +1392,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1525
1392
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1526
1393
  * @param {number} [fillWidth] Width of box to fill.
1527
1394
  * @param {number} [fillHeight] Height of box to fill.
1528
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1529
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1530
1395
  * @param {number} [blur] Optional. Blur image.
1531
1396
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1532
1397
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -1534,14 +1399,8 @@ const ImageApiAxiosParamCreator = function (configuration) {
1534
1399
  * @param {*} [options] Override http request option.
1535
1400
  * @throws {RequiredError}
1536
1401
  */
1537
- getUserImage: (userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
1538
- // verify required parameter 'userId' is not null or undefined
1539
- assertParamExists('getUserImage', 'userId', userId);
1540
- // verify required parameter 'imageType' is not null or undefined
1541
- assertParamExists('getUserImage', 'imageType', imageType);
1542
- const localVarPath = `/Users/{userId}/Images/{imageType}`
1543
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
1544
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)));
1402
+ getUserImage: (userId_2, tag_14, format_14, maxWidth_14, maxHeight_14, percentPlayed_13, unplayedCount_13, width_14, height_14, quality_14, fillWidth_14, fillHeight_14, blur_14, backgroundColor_14, foregroundLayer_14, imageIndex_15, ...args_19) => __awaiter(this, [userId_2, tag_14, format_14, maxWidth_14, maxHeight_14, percentPlayed_13, unplayedCount_13, width_14, height_14, quality_14, fillWidth_14, fillHeight_14, blur_14, backgroundColor_14, foregroundLayer_14, imageIndex_15, ...args_19], void 0, function* (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
1403
+ const localVarPath = `/UserImage`;
1545
1404
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1546
1405
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1547
1406
  let baseOptions;
@@ -1551,6 +1410,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
1551
1410
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1552
1411
  const localVarHeaderParameter = {};
1553
1412
  const localVarQueryParameter = {};
1413
+ if (userId !== undefined) {
1414
+ localVarQueryParameter['userId'] = userId;
1415
+ }
1554
1416
  if (tag !== undefined) {
1555
1417
  localVarQueryParameter['tag'] = tag;
1556
1418
  }
@@ -1584,12 +1446,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1584
1446
  if (fillHeight !== undefined) {
1585
1447
  localVarQueryParameter['fillHeight'] = fillHeight;
1586
1448
  }
1587
- if (cropWhitespace !== undefined) {
1588
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1589
- }
1590
- if (addPlayedIndicator !== undefined) {
1591
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1592
- }
1593
1449
  if (blur !== undefined) {
1594
1450
  localVarQueryParameter['blur'] = blur;
1595
1451
  }
@@ -1610,107 +1466,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1610
1466
  options: localVarRequestOptions,
1611
1467
  };
1612
1468
  }),
1613
- /**
1614
- *
1615
- * @summary Get user profile image.
1616
- * @param {string} userId User id.
1617
- * @param {ImageType} imageType Image type.
1618
- * @param {number} imageIndex Image index.
1619
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
1620
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
1621
- * @param {number} [maxWidth] The maximum image width to return.
1622
- * @param {number} [maxHeight] The maximum image height to return.
1623
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
1624
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
1625
- * @param {number} [width] The fixed image width to return.
1626
- * @param {number} [height] The fixed image height to return.
1627
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1628
- * @param {number} [fillWidth] Width of box to fill.
1629
- * @param {number} [fillHeight] Height of box to fill.
1630
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1631
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1632
- * @param {number} [blur] Optional. Blur image.
1633
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1634
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1635
- * @param {*} [options] Override http request option.
1636
- * @throws {RequiredError}
1637
- */
1638
- getUserImageByIndex: (userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1639
- // verify required parameter 'userId' is not null or undefined
1640
- assertParamExists('getUserImageByIndex', 'userId', userId);
1641
- // verify required parameter 'imageType' is not null or undefined
1642
- assertParamExists('getUserImageByIndex', 'imageType', imageType);
1643
- // verify required parameter 'imageIndex' is not null or undefined
1644
- assertParamExists('getUserImageByIndex', 'imageIndex', imageIndex);
1645
- const localVarPath = `/Users/{userId}/Images/{imageType}/{imageIndex}`
1646
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
1647
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)))
1648
- .replace(`{${"imageIndex"}}`, encodeURIComponent(String(imageIndex)));
1649
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1650
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1651
- let baseOptions;
1652
- if (configuration) {
1653
- baseOptions = configuration.baseOptions;
1654
- }
1655
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1656
- const localVarHeaderParameter = {};
1657
- const localVarQueryParameter = {};
1658
- if (tag !== undefined) {
1659
- localVarQueryParameter['tag'] = tag;
1660
- }
1661
- if (format !== undefined) {
1662
- localVarQueryParameter['format'] = format;
1663
- }
1664
- if (maxWidth !== undefined) {
1665
- localVarQueryParameter['maxWidth'] = maxWidth;
1666
- }
1667
- if (maxHeight !== undefined) {
1668
- localVarQueryParameter['maxHeight'] = maxHeight;
1669
- }
1670
- if (percentPlayed !== undefined) {
1671
- localVarQueryParameter['percentPlayed'] = percentPlayed;
1672
- }
1673
- if (unplayedCount !== undefined) {
1674
- localVarQueryParameter['unplayedCount'] = unplayedCount;
1675
- }
1676
- if (width !== undefined) {
1677
- localVarQueryParameter['width'] = width;
1678
- }
1679
- if (height !== undefined) {
1680
- localVarQueryParameter['height'] = height;
1681
- }
1682
- if (quality !== undefined) {
1683
- localVarQueryParameter['quality'] = quality;
1684
- }
1685
- if (fillWidth !== undefined) {
1686
- localVarQueryParameter['fillWidth'] = fillWidth;
1687
- }
1688
- if (fillHeight !== undefined) {
1689
- localVarQueryParameter['fillHeight'] = fillHeight;
1690
- }
1691
- if (cropWhitespace !== undefined) {
1692
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1693
- }
1694
- if (addPlayedIndicator !== undefined) {
1695
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1696
- }
1697
- if (blur !== undefined) {
1698
- localVarQueryParameter['blur'] = blur;
1699
- }
1700
- if (backgroundColor !== undefined) {
1701
- localVarQueryParameter['backgroundColor'] = backgroundColor;
1702
- }
1703
- if (foregroundLayer !== undefined) {
1704
- localVarQueryParameter['foregroundLayer'] = foregroundLayer;
1705
- }
1706
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1707
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1708
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1709
- return {
1710
- url: toPathString(localVarUrlObj),
1711
- options: localVarRequestOptions,
1712
- };
1713
- }),
1714
1469
  /**
1715
1470
  *
1716
1471
  * @summary Get artist image by name.
@@ -1728,15 +1483,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
1728
1483
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1729
1484
  * @param {number} [fillWidth] Width of box to fill.
1730
1485
  * @param {number} [fillHeight] Height of box to fill.
1731
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1732
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1733
1486
  * @param {number} [blur] Optional. Blur image.
1734
1487
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1735
1488
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1736
1489
  * @param {*} [options] Override http request option.
1737
1490
  * @throws {RequiredError}
1738
1491
  */
1739
- headArtistImage: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1492
+ headArtistImage: (name_10, imageType_15, imageIndex_16, tag_15, format_15, maxWidth_15, maxHeight_15, percentPlayed_14, unplayedCount_14, width_15, height_15, quality_15, fillWidth_15, fillHeight_15, blur_15, backgroundColor_15, foregroundLayer_15, ...args_20) => __awaiter(this, [name_10, imageType_15, imageIndex_16, tag_15, format_15, maxWidth_15, maxHeight_15, percentPlayed_14, unplayedCount_14, width_15, height_15, quality_15, fillWidth_15, fillHeight_15, blur_15, backgroundColor_15, foregroundLayer_15, ...args_20], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
1740
1493
  // verify required parameter 'name' is not null or undefined
1741
1494
  assertParamExists('headArtistImage', 'name', name);
1742
1495
  // verify required parameter 'imageType' is not null or undefined
@@ -1789,12 +1542,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1789
1542
  if (fillHeight !== undefined) {
1790
1543
  localVarQueryParameter['fillHeight'] = fillHeight;
1791
1544
  }
1792
- if (cropWhitespace !== undefined) {
1793
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1794
- }
1795
- if (addPlayedIndicator !== undefined) {
1796
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1797
- }
1798
1545
  if (blur !== undefined) {
1799
1546
  localVarQueryParameter['blur'] = blur;
1800
1547
  }
@@ -1828,8 +1575,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1828
1575
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1829
1576
  * @param {number} [fillWidth] Width of box to fill.
1830
1577
  * @param {number} [fillHeight] Height of box to fill.
1831
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1832
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1833
1578
  * @param {number} [blur] Optional. Blur image.
1834
1579
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1835
1580
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -1837,7 +1582,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1837
1582
  * @param {*} [options] Override http request option.
1838
1583
  * @throws {RequiredError}
1839
1584
  */
1840
- headGenreImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
1585
+ headGenreImage: (name_11, imageType_16, tag_16, format_16, maxWidth_16, maxHeight_16, percentPlayed_15, unplayedCount_15, width_16, height_16, quality_16, fillWidth_16, fillHeight_16, blur_16, backgroundColor_16, foregroundLayer_16, imageIndex_17, ...args_21) => __awaiter(this, [name_11, imageType_16, tag_16, format_16, maxWidth_16, maxHeight_16, percentPlayed_15, unplayedCount_15, width_16, height_16, quality_16, fillWidth_16, fillHeight_16, blur_16, backgroundColor_16, foregroundLayer_16, imageIndex_17, ...args_21], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
1841
1586
  // verify required parameter 'name' is not null or undefined
1842
1587
  assertParamExists('headGenreImage', 'name', name);
1843
1588
  // verify required parameter 'imageType' is not null or undefined
@@ -1887,12 +1632,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1887
1632
  if (fillHeight !== undefined) {
1888
1633
  localVarQueryParameter['fillHeight'] = fillHeight;
1889
1634
  }
1890
- if (cropWhitespace !== undefined) {
1891
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1892
- }
1893
- if (addPlayedIndicator !== undefined) {
1894
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1895
- }
1896
1635
  if (blur !== undefined) {
1897
1636
  localVarQueryParameter['blur'] = blur;
1898
1637
  }
@@ -1930,15 +1669,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
1930
1669
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
1931
1670
  * @param {number} [fillWidth] Width of box to fill.
1932
1671
  * @param {number} [fillHeight] Height of box to fill.
1933
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
1934
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
1935
1672
  * @param {number} [blur] Optional. Blur image.
1936
1673
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
1937
1674
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
1938
1675
  * @param {*} [options] Override http request option.
1939
1676
  * @throws {RequiredError}
1940
1677
  */
1941
- headGenreImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1678
+ headGenreImageByIndex: (name_12, imageType_17, imageIndex_18, tag_17, format_17, maxWidth_17, maxHeight_17, percentPlayed_16, unplayedCount_16, width_17, height_17, quality_17, fillWidth_17, fillHeight_17, blur_17, backgroundColor_17, foregroundLayer_17, ...args_22) => __awaiter(this, [name_12, imageType_17, imageIndex_18, tag_17, format_17, maxWidth_17, maxHeight_17, percentPlayed_16, unplayedCount_16, width_17, height_17, quality_17, fillWidth_17, fillHeight_17, blur_17, backgroundColor_17, foregroundLayer_17, ...args_22], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
1942
1679
  // verify required parameter 'name' is not null or undefined
1943
1680
  assertParamExists('headGenreImageByIndex', 'name', name);
1944
1681
  // verify required parameter 'imageType' is not null or undefined
@@ -1991,12 +1728,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
1991
1728
  if (fillHeight !== undefined) {
1992
1729
  localVarQueryParameter['fillHeight'] = fillHeight;
1993
1730
  }
1994
- if (cropWhitespace !== undefined) {
1995
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
1996
- }
1997
- if (addPlayedIndicator !== undefined) {
1998
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
1999
- }
2000
1731
  if (blur !== undefined) {
2001
1732
  localVarQueryParameter['blur'] = blur;
2002
1733
  }
@@ -2027,9 +1758,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2027
1758
  * @param {number} [fillWidth] Width of box to fill.
2028
1759
  * @param {number} [fillHeight] Height of box to fill.
2029
1760
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
2030
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2031
1761
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
2032
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2033
1762
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
2034
1763
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
2035
1764
  * @param {number} [blur] Optional. Blur image.
@@ -2039,7 +1768,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2039
1768
  * @param {*} [options] Override http request option.
2040
1769
  * @throws {RequiredError}
2041
1770
  */
2042
- headItemImage: (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
1771
+ headItemImage: (itemId_7, imageType_18, maxWidth_18, maxHeight_18, width_18, height_18, quality_18, fillWidth_18, fillHeight_18, tag_18, format_18, percentPlayed_17, unplayedCount_17, blur_18, backgroundColor_18, foregroundLayer_18, imageIndex_19, ...args_23) => __awaiter(this, [itemId_7, imageType_18, maxWidth_18, maxHeight_18, width_18, height_18, quality_18, fillWidth_18, fillHeight_18, tag_18, format_18, percentPlayed_17, unplayedCount_17, blur_18, backgroundColor_18, foregroundLayer_18, imageIndex_19, ...args_23], void 0, function* (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
2043
1772
  // verify required parameter 'itemId' is not null or undefined
2044
1773
  assertParamExists('headItemImage', 'itemId', itemId);
2045
1774
  // verify required parameter 'imageType' is not null or undefined
@@ -2080,15 +1809,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
2080
1809
  if (tag !== undefined) {
2081
1810
  localVarQueryParameter['tag'] = tag;
2082
1811
  }
2083
- if (cropWhitespace !== undefined) {
2084
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2085
- }
2086
1812
  if (format !== undefined) {
2087
1813
  localVarQueryParameter['format'] = format;
2088
1814
  }
2089
- if (addPlayedIndicator !== undefined) {
2090
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2091
- }
2092
1815
  if (percentPlayed !== undefined) {
2093
1816
  localVarQueryParameter['percentPlayed'] = percentPlayed;
2094
1817
  }
@@ -2132,15 +1855,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
2132
1855
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2133
1856
  * @param {number} [fillWidth] Width of box to fill.
2134
1857
  * @param {number} [fillHeight] Height of box to fill.
2135
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2136
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2137
1858
  * @param {number} [blur] Optional. Blur image.
2138
1859
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2139
1860
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
2140
1861
  * @param {*} [options] Override http request option.
2141
1862
  * @throws {RequiredError}
2142
1863
  */
2143
- headItemImage2: (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1864
+ headItemImage2: (itemId_8, imageType_19, maxWidth_19, maxHeight_19, tag_19, format_19, percentPlayed_18, unplayedCount_18, imageIndex_20, width_19, height_19, quality_19, fillWidth_19, fillHeight_19, blur_19, backgroundColor_19, foregroundLayer_19, ...args_24) => __awaiter(this, [itemId_8, imageType_19, maxWidth_19, maxHeight_19, tag_19, format_19, percentPlayed_18, unplayedCount_18, imageIndex_20, width_19, height_19, quality_19, fillWidth_19, fillHeight_19, blur_19, backgroundColor_19, foregroundLayer_19, ...args_24], void 0, function* (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
2144
1865
  // verify required parameter 'itemId' is not null or undefined
2145
1866
  assertParamExists('headItemImage2', 'itemId', itemId);
2146
1867
  // verify required parameter 'imageType' is not null or undefined
@@ -2193,12 +1914,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2193
1914
  if (fillHeight !== undefined) {
2194
1915
  localVarQueryParameter['fillHeight'] = fillHeight;
2195
1916
  }
2196
- if (cropWhitespace !== undefined) {
2197
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2198
- }
2199
- if (addPlayedIndicator !== undefined) {
2200
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2201
- }
2202
1917
  if (blur !== undefined) {
2203
1918
  localVarQueryParameter['blur'] = blur;
2204
1919
  }
@@ -2230,9 +1945,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2230
1945
  * @param {number} [fillWidth] Width of box to fill.
2231
1946
  * @param {number} [fillHeight] Height of box to fill.
2232
1947
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
2233
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2234
1948
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
2235
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2236
1949
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
2237
1950
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
2238
1951
  * @param {number} [blur] Optional. Blur image.
@@ -2241,7 +1954,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2241
1954
  * @param {*} [options] Override http request option.
2242
1955
  * @throws {RequiredError}
2243
1956
  */
2244
- headItemImageByIndex: (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
1957
+ headItemImageByIndex: (itemId_9, imageType_20, imageIndex_21, maxWidth_20, maxHeight_20, width_20, height_20, quality_20, fillWidth_20, fillHeight_20, tag_20, format_20, percentPlayed_19, unplayedCount_19, blur_20, backgroundColor_20, foregroundLayer_20, ...args_25) => __awaiter(this, [itemId_9, imageType_20, imageIndex_21, maxWidth_20, maxHeight_20, width_20, height_20, quality_20, fillWidth_20, fillHeight_20, tag_20, format_20, percentPlayed_19, unplayedCount_19, blur_20, backgroundColor_20, foregroundLayer_20, ...args_25], void 0, function* (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) {
2245
1958
  // verify required parameter 'itemId' is not null or undefined
2246
1959
  assertParamExists('headItemImageByIndex', 'itemId', itemId);
2247
1960
  // verify required parameter 'imageType' is not null or undefined
@@ -2285,15 +1998,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
2285
1998
  if (tag !== undefined) {
2286
1999
  localVarQueryParameter['tag'] = tag;
2287
2000
  }
2288
- if (cropWhitespace !== undefined) {
2289
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2290
- }
2291
2001
  if (format !== undefined) {
2292
2002
  localVarQueryParameter['format'] = format;
2293
2003
  }
2294
- if (addPlayedIndicator !== undefined) {
2295
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2296
- }
2297
2004
  if (percentPlayed !== undefined) {
2298
2005
  localVarQueryParameter['percentPlayed'] = percentPlayed;
2299
2006
  }
@@ -2333,8 +2040,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2333
2040
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2334
2041
  * @param {number} [fillWidth] Width of box to fill.
2335
2042
  * @param {number} [fillHeight] Height of box to fill.
2336
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2337
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2338
2043
  * @param {number} [blur] Optional. Blur image.
2339
2044
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2340
2045
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -2342,7 +2047,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2342
2047
  * @param {*} [options] Override http request option.
2343
2048
  * @throws {RequiredError}
2344
2049
  */
2345
- headMusicGenreImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
2050
+ headMusicGenreImage: (name_13, imageType_21, tag_21, format_21, maxWidth_21, maxHeight_21, percentPlayed_20, unplayedCount_20, width_21, height_21, quality_21, fillWidth_21, fillHeight_21, blur_21, backgroundColor_21, foregroundLayer_21, imageIndex_22, ...args_26) => __awaiter(this, [name_13, imageType_21, tag_21, format_21, maxWidth_21, maxHeight_21, percentPlayed_20, unplayedCount_20, width_21, height_21, quality_21, fillWidth_21, fillHeight_21, blur_21, backgroundColor_21, foregroundLayer_21, imageIndex_22, ...args_26], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
2346
2051
  // verify required parameter 'name' is not null or undefined
2347
2052
  assertParamExists('headMusicGenreImage', 'name', name);
2348
2053
  // verify required parameter 'imageType' is not null or undefined
@@ -2392,12 +2097,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2392
2097
  if (fillHeight !== undefined) {
2393
2098
  localVarQueryParameter['fillHeight'] = fillHeight;
2394
2099
  }
2395
- if (cropWhitespace !== undefined) {
2396
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2397
- }
2398
- if (addPlayedIndicator !== undefined) {
2399
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2400
- }
2401
2100
  if (blur !== undefined) {
2402
2101
  localVarQueryParameter['blur'] = blur;
2403
2102
  }
@@ -2435,15 +2134,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
2435
2134
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2436
2135
  * @param {number} [fillWidth] Width of box to fill.
2437
2136
  * @param {number} [fillHeight] Height of box to fill.
2438
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2439
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2440
2137
  * @param {number} [blur] Optional. Blur image.
2441
2138
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2442
2139
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
2443
2140
  * @param {*} [options] Override http request option.
2444
2141
  * @throws {RequiredError}
2445
2142
  */
2446
- headMusicGenreImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
2143
+ headMusicGenreImageByIndex: (name_14, imageType_22, imageIndex_23, tag_22, format_22, maxWidth_22, maxHeight_22, percentPlayed_21, unplayedCount_21, width_22, height_22, quality_22, fillWidth_22, fillHeight_22, blur_22, backgroundColor_22, foregroundLayer_22, ...args_27) => __awaiter(this, [name_14, imageType_22, imageIndex_23, tag_22, format_22, maxWidth_22, maxHeight_22, percentPlayed_21, unplayedCount_21, width_22, height_22, quality_22, fillWidth_22, fillHeight_22, blur_22, backgroundColor_22, foregroundLayer_22, ...args_27], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
2447
2144
  // verify required parameter 'name' is not null or undefined
2448
2145
  assertParamExists('headMusicGenreImageByIndex', 'name', name);
2449
2146
  // verify required parameter 'imageType' is not null or undefined
@@ -2496,12 +2193,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2496
2193
  if (fillHeight !== undefined) {
2497
2194
  localVarQueryParameter['fillHeight'] = fillHeight;
2498
2195
  }
2499
- if (cropWhitespace !== undefined) {
2500
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2501
- }
2502
- if (addPlayedIndicator !== undefined) {
2503
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2504
- }
2505
2196
  if (blur !== undefined) {
2506
2197
  localVarQueryParameter['blur'] = blur;
2507
2198
  }
@@ -2535,8 +2226,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2535
2226
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2536
2227
  * @param {number} [fillWidth] Width of box to fill.
2537
2228
  * @param {number} [fillHeight] Height of box to fill.
2538
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2539
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2540
2229
  * @param {number} [blur] Optional. Blur image.
2541
2230
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2542
2231
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -2544,7 +2233,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2544
2233
  * @param {*} [options] Override http request option.
2545
2234
  * @throws {RequiredError}
2546
2235
  */
2547
- headPersonImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
2236
+ headPersonImage: (name_15, imageType_23, tag_23, format_23, maxWidth_23, maxHeight_23, percentPlayed_22, unplayedCount_22, width_23, height_23, quality_23, fillWidth_23, fillHeight_23, blur_23, backgroundColor_23, foregroundLayer_23, imageIndex_24, ...args_28) => __awaiter(this, [name_15, imageType_23, tag_23, format_23, maxWidth_23, maxHeight_23, percentPlayed_22, unplayedCount_22, width_23, height_23, quality_23, fillWidth_23, fillHeight_23, blur_23, backgroundColor_23, foregroundLayer_23, imageIndex_24, ...args_28], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
2548
2237
  // verify required parameter 'name' is not null or undefined
2549
2238
  assertParamExists('headPersonImage', 'name', name);
2550
2239
  // verify required parameter 'imageType' is not null or undefined
@@ -2594,12 +2283,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2594
2283
  if (fillHeight !== undefined) {
2595
2284
  localVarQueryParameter['fillHeight'] = fillHeight;
2596
2285
  }
2597
- if (cropWhitespace !== undefined) {
2598
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2599
- }
2600
- if (addPlayedIndicator !== undefined) {
2601
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2602
- }
2603
2286
  if (blur !== undefined) {
2604
2287
  localVarQueryParameter['blur'] = blur;
2605
2288
  }
@@ -2637,15 +2320,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
2637
2320
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2638
2321
  * @param {number} [fillWidth] Width of box to fill.
2639
2322
  * @param {number} [fillHeight] Height of box to fill.
2640
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2641
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2642
2323
  * @param {number} [blur] Optional. Blur image.
2643
2324
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2644
2325
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
2645
2326
  * @param {*} [options] Override http request option.
2646
2327
  * @throws {RequiredError}
2647
2328
  */
2648
- headPersonImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
2329
+ headPersonImageByIndex: (name_16, imageType_24, imageIndex_25, tag_24, format_24, maxWidth_24, maxHeight_24, percentPlayed_23, unplayedCount_23, width_24, height_24, quality_24, fillWidth_24, fillHeight_24, blur_24, backgroundColor_24, foregroundLayer_24, ...args_29) => __awaiter(this, [name_16, imageType_24, imageIndex_25, tag_24, format_24, maxWidth_24, maxHeight_24, percentPlayed_23, unplayedCount_23, width_24, height_24, quality_24, fillWidth_24, fillHeight_24, blur_24, backgroundColor_24, foregroundLayer_24, ...args_29], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
2649
2330
  // verify required parameter 'name' is not null or undefined
2650
2331
  assertParamExists('headPersonImageByIndex', 'name', name);
2651
2332
  // verify required parameter 'imageType' is not null or undefined
@@ -2698,12 +2379,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2698
2379
  if (fillHeight !== undefined) {
2699
2380
  localVarQueryParameter['fillHeight'] = fillHeight;
2700
2381
  }
2701
- if (cropWhitespace !== undefined) {
2702
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2703
- }
2704
- if (addPlayedIndicator !== undefined) {
2705
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2706
- }
2707
2382
  if (blur !== undefined) {
2708
2383
  localVarQueryParameter['blur'] = blur;
2709
2384
  }
@@ -2737,8 +2412,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2737
2412
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2738
2413
  * @param {number} [fillWidth] Width of box to fill.
2739
2414
  * @param {number} [fillHeight] Height of box to fill.
2740
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2741
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2742
2415
  * @param {number} [blur] Optional. Blur image.
2743
2416
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2744
2417
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -2746,7 +2419,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2746
2419
  * @param {*} [options] Override http request option.
2747
2420
  * @throws {RequiredError}
2748
2421
  */
2749
- headStudioImage: (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
2422
+ headStudioImage: (name_17, imageType_25, tag_25, format_25, maxWidth_25, maxHeight_25, percentPlayed_24, unplayedCount_24, width_25, height_25, quality_25, fillWidth_25, fillHeight_25, blur_25, backgroundColor_25, foregroundLayer_25, imageIndex_26, ...args_30) => __awaiter(this, [name_17, imageType_25, tag_25, format_25, maxWidth_25, maxHeight_25, percentPlayed_24, unplayedCount_24, width_25, height_25, quality_25, fillWidth_25, fillHeight_25, blur_25, backgroundColor_25, foregroundLayer_25, imageIndex_26, ...args_30], void 0, function* (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
2750
2423
  // verify required parameter 'name' is not null or undefined
2751
2424
  assertParamExists('headStudioImage', 'name', name);
2752
2425
  // verify required parameter 'imageType' is not null or undefined
@@ -2796,12 +2469,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2796
2469
  if (fillHeight !== undefined) {
2797
2470
  localVarQueryParameter['fillHeight'] = fillHeight;
2798
2471
  }
2799
- if (cropWhitespace !== undefined) {
2800
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2801
- }
2802
- if (addPlayedIndicator !== undefined) {
2803
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2804
- }
2805
2472
  if (blur !== undefined) {
2806
2473
  localVarQueryParameter['blur'] = blur;
2807
2474
  }
@@ -2839,15 +2506,13 @@ const ImageApiAxiosParamCreator = function (configuration) {
2839
2506
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2840
2507
  * @param {number} [fillWidth] Width of box to fill.
2841
2508
  * @param {number} [fillHeight] Height of box to fill.
2842
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2843
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2844
2509
  * @param {number} [blur] Optional. Blur image.
2845
2510
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2846
2511
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
2847
2512
  * @param {*} [options] Override http request option.
2848
2513
  * @throws {RequiredError}
2849
2514
  */
2850
- headStudioImageByIndex: (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
2515
+ headStudioImageByIndex: (name_18, imageType_26, imageIndex_27, tag_26, format_26, maxWidth_26, maxHeight_26, percentPlayed_25, unplayedCount_25, width_26, height_26, quality_26, fillWidth_26, fillHeight_26, blur_26, backgroundColor_26, foregroundLayer_26, ...args_31) => __awaiter(this, [name_18, imageType_26, imageIndex_27, tag_26, format_26, maxWidth_26, maxHeight_26, percentPlayed_25, unplayedCount_25, width_26, height_26, quality_26, fillWidth_26, fillHeight_26, blur_26, backgroundColor_26, foregroundLayer_26, ...args_31], void 0, function* (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) {
2851
2516
  // verify required parameter 'name' is not null or undefined
2852
2517
  assertParamExists('headStudioImageByIndex', 'name', name);
2853
2518
  // verify required parameter 'imageType' is not null or undefined
@@ -2900,12 +2565,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2900
2565
  if (fillHeight !== undefined) {
2901
2566
  localVarQueryParameter['fillHeight'] = fillHeight;
2902
2567
  }
2903
- if (cropWhitespace !== undefined) {
2904
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
2905
- }
2906
- if (addPlayedIndicator !== undefined) {
2907
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
2908
- }
2909
2568
  if (blur !== undefined) {
2910
2569
  localVarQueryParameter['blur'] = blur;
2911
2570
  }
@@ -2926,8 +2585,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2926
2585
  /**
2927
2586
  *
2928
2587
  * @summary Get user profile image.
2929
- * @param {string} userId User id.
2930
- * @param {ImageType} imageType Image type.
2588
+ * @param {string} [userId] User id.
2931
2589
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
2932
2590
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
2933
2591
  * @param {number} [maxWidth] The maximum image width to return.
@@ -2939,8 +2597,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2939
2597
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
2940
2598
  * @param {number} [fillWidth] Width of box to fill.
2941
2599
  * @param {number} [fillHeight] Height of box to fill.
2942
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
2943
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
2944
2600
  * @param {number} [blur] Optional. Blur image.
2945
2601
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
2946
2602
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -2948,14 +2604,8 @@ const ImageApiAxiosParamCreator = function (configuration) {
2948
2604
  * @param {*} [options] Override http request option.
2949
2605
  * @throws {RequiredError}
2950
2606
  */
2951
- headUserImage: (userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
2952
- // verify required parameter 'userId' is not null or undefined
2953
- assertParamExists('headUserImage', 'userId', userId);
2954
- // verify required parameter 'imageType' is not null or undefined
2955
- assertParamExists('headUserImage', 'imageType', imageType);
2956
- const localVarPath = `/Users/{userId}/Images/{imageType}`
2957
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
2958
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)));
2607
+ headUserImage: (userId_3, tag_27, format_27, maxWidth_27, maxHeight_27, percentPlayed_26, unplayedCount_26, width_27, height_27, quality_27, fillWidth_27, fillHeight_27, blur_27, backgroundColor_27, foregroundLayer_27, imageIndex_28, ...args_32) => __awaiter(this, [userId_3, tag_27, format_27, maxWidth_27, maxHeight_27, percentPlayed_26, unplayedCount_26, width_27, height_27, quality_27, fillWidth_27, fillHeight_27, blur_27, backgroundColor_27, foregroundLayer_27, imageIndex_28, ...args_32], void 0, function* (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) {
2608
+ const localVarPath = `/UserImage`;
2959
2609
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2960
2610
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2961
2611
  let baseOptions;
@@ -2965,6 +2615,9 @@ const ImageApiAxiosParamCreator = function (configuration) {
2965
2615
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2966
2616
  const localVarHeaderParameter = {};
2967
2617
  const localVarQueryParameter = {};
2618
+ if (userId !== undefined) {
2619
+ localVarQueryParameter['userId'] = userId;
2620
+ }
2968
2621
  if (tag !== undefined) {
2969
2622
  localVarQueryParameter['tag'] = tag;
2970
2623
  }
@@ -2998,12 +2651,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
2998
2651
  if (fillHeight !== undefined) {
2999
2652
  localVarQueryParameter['fillHeight'] = fillHeight;
3000
2653
  }
3001
- if (cropWhitespace !== undefined) {
3002
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
3003
- }
3004
- if (addPlayedIndicator !== undefined) {
3005
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
3006
- }
3007
2654
  if (blur !== undefined) {
3008
2655
  localVarQueryParameter['blur'] = blur;
3009
2656
  }
@@ -3024,125 +2671,16 @@ const ImageApiAxiosParamCreator = function (configuration) {
3024
2671
  options: localVarRequestOptions,
3025
2672
  };
3026
2673
  }),
3027
- /**
3028
- *
3029
- * @summary Get user profile image.
3030
- * @param {string} userId User id.
3031
- * @param {ImageType} imageType Image type.
3032
- * @param {number} imageIndex Image index.
3033
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3034
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3035
- * @param {number} [maxWidth] The maximum image width to return.
3036
- * @param {number} [maxHeight] The maximum image height to return.
3037
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3038
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3039
- * @param {number} [width] The fixed image width to return.
3040
- * @param {number} [height] The fixed image height to return.
3041
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3042
- * @param {number} [fillWidth] Width of box to fill.
3043
- * @param {number} [fillHeight] Height of box to fill.
3044
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3045
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3046
- * @param {number} [blur] Optional. Blur image.
3047
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3048
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3049
- * @param {*} [options] Override http request option.
3050
- * @throws {RequiredError}
3051
- */
3052
- headUserImageByIndex: (userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options = {}) => __awaiter(this, void 0, void 0, function* () {
3053
- // verify required parameter 'userId' is not null or undefined
3054
- assertParamExists('headUserImageByIndex', 'userId', userId);
3055
- // verify required parameter 'imageType' is not null or undefined
3056
- assertParamExists('headUserImageByIndex', 'imageType', imageType);
3057
- // verify required parameter 'imageIndex' is not null or undefined
3058
- assertParamExists('headUserImageByIndex', 'imageIndex', imageIndex);
3059
- const localVarPath = `/Users/{userId}/Images/{imageType}/{imageIndex}`
3060
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
3061
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)))
3062
- .replace(`{${"imageIndex"}}`, encodeURIComponent(String(imageIndex)));
3063
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3064
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3065
- let baseOptions;
3066
- if (configuration) {
3067
- baseOptions = configuration.baseOptions;
3068
- }
3069
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
3070
- const localVarHeaderParameter = {};
3071
- const localVarQueryParameter = {};
3072
- if (tag !== undefined) {
3073
- localVarQueryParameter['tag'] = tag;
3074
- }
3075
- if (format !== undefined) {
3076
- localVarQueryParameter['format'] = format;
3077
- }
3078
- if (maxWidth !== undefined) {
3079
- localVarQueryParameter['maxWidth'] = maxWidth;
3080
- }
3081
- if (maxHeight !== undefined) {
3082
- localVarQueryParameter['maxHeight'] = maxHeight;
3083
- }
3084
- if (percentPlayed !== undefined) {
3085
- localVarQueryParameter['percentPlayed'] = percentPlayed;
3086
- }
3087
- if (unplayedCount !== undefined) {
3088
- localVarQueryParameter['unplayedCount'] = unplayedCount;
3089
- }
3090
- if (width !== undefined) {
3091
- localVarQueryParameter['width'] = width;
3092
- }
3093
- if (height !== undefined) {
3094
- localVarQueryParameter['height'] = height;
3095
- }
3096
- if (quality !== undefined) {
3097
- localVarQueryParameter['quality'] = quality;
3098
- }
3099
- if (fillWidth !== undefined) {
3100
- localVarQueryParameter['fillWidth'] = fillWidth;
3101
- }
3102
- if (fillHeight !== undefined) {
3103
- localVarQueryParameter['fillHeight'] = fillHeight;
3104
- }
3105
- if (cropWhitespace !== undefined) {
3106
- localVarQueryParameter['cropWhitespace'] = cropWhitespace;
3107
- }
3108
- if (addPlayedIndicator !== undefined) {
3109
- localVarQueryParameter['addPlayedIndicator'] = addPlayedIndicator;
3110
- }
3111
- if (blur !== undefined) {
3112
- localVarQueryParameter['blur'] = blur;
3113
- }
3114
- if (backgroundColor !== undefined) {
3115
- localVarQueryParameter['backgroundColor'] = backgroundColor;
3116
- }
3117
- if (foregroundLayer !== undefined) {
3118
- localVarQueryParameter['foregroundLayer'] = foregroundLayer;
3119
- }
3120
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3121
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3122
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3123
- return {
3124
- url: toPathString(localVarUrlObj),
3125
- options: localVarRequestOptions,
3126
- };
3127
- }),
3128
2674
  /**
3129
2675
  *
3130
2676
  * @summary Sets the user image.
3131
- * @param {string} userId User Id.
3132
- * @param {ImageType} imageType (Unused) Image type.
3133
- * @param {number} [index] (Unused) Image index.
2677
+ * @param {string} [userId] User Id.
3134
2678
  * @param {any} [body]
3135
2679
  * @param {*} [options] Override http request option.
3136
2680
  * @throws {RequiredError}
3137
2681
  */
3138
- postUserImage: (userId, imageType, index, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
3139
- // verify required parameter 'userId' is not null or undefined
3140
- assertParamExists('postUserImage', 'userId', userId);
3141
- // verify required parameter 'imageType' is not null or undefined
3142
- assertParamExists('postUserImage', 'imageType', imageType);
3143
- const localVarPath = `/Users/{userId}/Images/{imageType}`
3144
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
3145
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)));
2682
+ postUserImage: (userId_4, body_1, ...args_33) => __awaiter(this, [userId_4, body_1, ...args_33], void 0, function* (userId, body, options = {}) {
2683
+ const localVarPath = `/UserImage`;
3146
2684
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3147
2685
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3148
2686
  let baseOptions;
@@ -3154,8 +2692,8 @@ const ImageApiAxiosParamCreator = function (configuration) {
3154
2692
  const localVarQueryParameter = {};
3155
2693
  // authentication CustomAuthentication required
3156
2694
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
3157
- if (index !== undefined) {
3158
- localVarQueryParameter['index'] = index;
2695
+ if (userId !== undefined) {
2696
+ localVarQueryParameter['userId'] = userId;
3159
2697
  }
3160
2698
  localVarHeaderParameter['Content-Type'] = 'image/_*';
3161
2699
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3167,48 +2705,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
3167
2705
  options: localVarRequestOptions,
3168
2706
  };
3169
2707
  }),
3170
- /**
3171
- *
3172
- * @summary Sets the user image.
3173
- * @param {string} userId User Id.
3174
- * @param {ImageType} imageType (Unused) Image type.
3175
- * @param {number} index (Unused) Image index.
3176
- * @param {any} [body]
3177
- * @param {*} [options] Override http request option.
3178
- * @throws {RequiredError}
3179
- */
3180
- postUserImageByIndex: (userId, imageType, index, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
3181
- // verify required parameter 'userId' is not null or undefined
3182
- assertParamExists('postUserImageByIndex', 'userId', userId);
3183
- // verify required parameter 'imageType' is not null or undefined
3184
- assertParamExists('postUserImageByIndex', 'imageType', imageType);
3185
- // verify required parameter 'index' is not null or undefined
3186
- assertParamExists('postUserImageByIndex', 'index', index);
3187
- const localVarPath = `/Users/{userId}/Images/{imageType}/{index}`
3188
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
3189
- .replace(`{${"imageType"}}`, encodeURIComponent(String(imageType)))
3190
- .replace(`{${"index"}}`, encodeURIComponent(String(index)));
3191
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3192
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3193
- let baseOptions;
3194
- if (configuration) {
3195
- baseOptions = configuration.baseOptions;
3196
- }
3197
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3198
- const localVarHeaderParameter = {};
3199
- const localVarQueryParameter = {};
3200
- // authentication CustomAuthentication required
3201
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
3202
- localVarHeaderParameter['Content-Type'] = 'image/_*';
3203
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3204
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3205
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3206
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
3207
- return {
3208
- url: toPathString(localVarUrlObj),
3209
- options: localVarRequestOptions,
3210
- };
3211
- }),
3212
2708
  /**
3213
2709
  *
3214
2710
  * @summary Set item image.
@@ -3218,7 +2714,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
3218
2714
  * @param {*} [options] Override http request option.
3219
2715
  * @throws {RequiredError}
3220
2716
  */
3221
- setItemImage: (itemId, imageType, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
2717
+ setItemImage: (itemId_10, imageType_27, body_2, ...args_34) => __awaiter(this, [itemId_10, imageType_27, body_2, ...args_34], void 0, function* (itemId, imageType, body, options = {}) {
3222
2718
  // verify required parameter 'itemId' is not null or undefined
3223
2719
  assertParamExists('setItemImage', 'itemId', itemId);
3224
2720
  // verify required parameter 'imageType' is not null or undefined
@@ -3257,7 +2753,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
3257
2753
  * @param {*} [options] Override http request option.
3258
2754
  * @throws {RequiredError}
3259
2755
  */
3260
- setItemImageByIndex: (itemId, imageType, imageIndex, body, options = {}) => __awaiter(this, void 0, void 0, function* () {
2756
+ setItemImageByIndex: (itemId_11, imageType_28, imageIndex_29, body_3, ...args_35) => __awaiter(this, [itemId_11, imageType_28, imageIndex_29, body_3, ...args_35], void 0, function* (itemId, imageType, imageIndex, body, options = {}) {
3261
2757
  // verify required parameter 'itemId' is not null or undefined
3262
2758
  assertParamExists('setItemImageByIndex', 'itemId', itemId);
3263
2759
  // verify required parameter 'imageType' is not null or undefined
@@ -3299,7 +2795,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
3299
2795
  * @param {*} [options] Override http request option.
3300
2796
  * @throws {RequiredError}
3301
2797
  */
3302
- updateItemImageIndex: (itemId, imageType, imageIndex, newIndex, options = {}) => __awaiter(this, void 0, void 0, function* () {
2798
+ updateItemImageIndex: (itemId_12, imageType_29, imageIndex_30, newIndex_1, ...args_36) => __awaiter(this, [itemId_12, imageType_29, imageIndex_30, newIndex_1, ...args_36], void 0, function* (itemId, imageType, imageIndex, newIndex, options = {}) {
3303
2799
  // verify required parameter 'itemId' is not null or undefined
3304
2800
  assertParamExists('updateItemImageIndex', 'itemId', itemId);
3305
2801
  // verify required parameter 'imageType' is not null or undefined
@@ -3341,7 +2837,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
3341
2837
  * @param {*} [options] Override http request option.
3342
2838
  * @throws {RequiredError}
3343
2839
  */
3344
- uploadCustomSplashscreen: (body, options = {}) => __awaiter(this, void 0, void 0, function* () {
2840
+ uploadCustomSplashscreen: (body_4, ...args_37) => __awaiter(this, [body_4, ...args_37], void 0, function* (body, options = {}) {
3345
2841
  const localVarPath = `/Branding/Splashscreen`;
3346
2842
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3347
2843
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3418,30 +2914,13 @@ const ImageApiFp = function (configuration) {
3418
2914
  /**
3419
2915
  *
3420
2916
  * @summary Delete the user\'s image.
3421
- * @param {string} userId User Id.
3422
- * @param {ImageType} imageType (Unused) Image type.
3423
- * @param {number} [index] (Unused) Image index.
2917
+ * @param {string} [userId] User Id.
3424
2918
  * @param {*} [options] Override http request option.
3425
2919
  * @throws {RequiredError}
3426
2920
  */
3427
- deleteUserImage(userId, imageType, index, options) {
2921
+ deleteUserImage(userId, options) {
3428
2922
  return __awaiter(this, void 0, void 0, function* () {
3429
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUserImage(userId, imageType, index, options);
3430
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3431
- });
3432
- },
3433
- /**
3434
- *
3435
- * @summary Delete the user\'s image.
3436
- * @param {string} userId User Id.
3437
- * @param {ImageType} imageType (Unused) Image type.
3438
- * @param {number} index (Unused) Image index.
3439
- * @param {*} [options] Override http request option.
3440
- * @throws {RequiredError}
3441
- */
3442
- deleteUserImageByIndex(userId, imageType, index, options) {
3443
- return __awaiter(this, void 0, void 0, function* () {
3444
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUserImageByIndex(userId, imageType, index, options);
2923
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUserImage(userId, options);
3445
2924
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3446
2925
  });
3447
2926
  },
@@ -3462,17 +2941,15 @@ const ImageApiFp = function (configuration) {
3462
2941
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3463
2942
  * @param {number} [fillWidth] Width of box to fill.
3464
2943
  * @param {number} [fillHeight] Height of box to fill.
3465
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3466
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3467
2944
  * @param {number} [blur] Optional. Blur image.
3468
2945
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3469
2946
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3470
2947
  * @param {*} [options] Override http request option.
3471
2948
  * @throws {RequiredError}
3472
2949
  */
3473
- getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
2950
+ getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3474
2951
  return __awaiter(this, void 0, void 0, function* () {
3475
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
2952
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3476
2953
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3477
2954
  });
3478
2955
  },
@@ -3492,8 +2969,6 @@ const ImageApiFp = function (configuration) {
3492
2969
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3493
2970
  * @param {number} [fillWidth] Width of box to fill.
3494
2971
  * @param {number} [fillHeight] Height of box to fill.
3495
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3496
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3497
2972
  * @param {number} [blur] Optional. Blur image.
3498
2973
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3499
2974
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3501,9 +2976,9 @@ const ImageApiFp = function (configuration) {
3501
2976
  * @param {*} [options] Override http request option.
3502
2977
  * @throws {RequiredError}
3503
2978
  */
3504
- getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2979
+ getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3505
2980
  return __awaiter(this, void 0, void 0, function* () {
3506
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
2981
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3507
2982
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3508
2983
  });
3509
2984
  },
@@ -3524,17 +2999,15 @@ const ImageApiFp = function (configuration) {
3524
2999
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3525
3000
  * @param {number} [fillWidth] Width of box to fill.
3526
3001
  * @param {number} [fillHeight] Height of box to fill.
3527
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3528
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3529
3002
  * @param {number} [blur] Optional. Blur image.
3530
3003
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3531
3004
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3532
3005
  * @param {*} [options] Override http request option.
3533
3006
  * @throws {RequiredError}
3534
3007
  */
3535
- getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3008
+ getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3536
3009
  return __awaiter(this, void 0, void 0, function* () {
3537
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3010
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3538
3011
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3539
3012
  });
3540
3013
  },
@@ -3551,9 +3024,7 @@ const ImageApiFp = function (configuration) {
3551
3024
  * @param {number} [fillWidth] Width of box to fill.
3552
3025
  * @param {number} [fillHeight] Height of box to fill.
3553
3026
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3554
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3555
3027
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
3556
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3557
3028
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3558
3029
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3559
3030
  * @param {number} [blur] Optional. Blur image.
@@ -3563,9 +3034,9 @@ const ImageApiFp = function (configuration) {
3563
3034
  * @param {*} [options] Override http request option.
3564
3035
  * @throws {RequiredError}
3565
3036
  */
3566
- getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3037
+ getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3567
3038
  return __awaiter(this, void 0, void 0, function* () {
3568
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3039
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3569
3040
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3570
3041
  });
3571
3042
  },
@@ -3586,17 +3057,15 @@ const ImageApiFp = function (configuration) {
3586
3057
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3587
3058
  * @param {number} [fillWidth] Width of box to fill.
3588
3059
  * @param {number} [fillHeight] Height of box to fill.
3589
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3590
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3591
3060
  * @param {number} [blur] Optional. Blur image.
3592
3061
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3593
3062
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3594
3063
  * @param {*} [options] Override http request option.
3595
3064
  * @throws {RequiredError}
3596
3065
  */
3597
- getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3066
+ getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3598
3067
  return __awaiter(this, void 0, void 0, function* () {
3599
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3068
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3600
3069
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3601
3070
  });
3602
3071
  },
@@ -3614,9 +3083,7 @@ const ImageApiFp = function (configuration) {
3614
3083
  * @param {number} [fillWidth] Width of box to fill.
3615
3084
  * @param {number} [fillHeight] Height of box to fill.
3616
3085
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3617
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3618
3086
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
3619
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3620
3087
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3621
3088
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3622
3089
  * @param {number} [blur] Optional. Blur image.
@@ -3625,9 +3092,9 @@ const ImageApiFp = function (configuration) {
3625
3092
  * @param {*} [options] Override http request option.
3626
3093
  * @throws {RequiredError}
3627
3094
  */
3628
- getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3095
+ getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3629
3096
  return __awaiter(this, void 0, void 0, function* () {
3630
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3097
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3631
3098
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3632
3099
  });
3633
3100
  },
@@ -3660,8 +3127,6 @@ const ImageApiFp = function (configuration) {
3660
3127
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3661
3128
  * @param {number} [fillWidth] Width of box to fill.
3662
3129
  * @param {number} [fillHeight] Height of box to fill.
3663
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3664
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3665
3130
  * @param {number} [blur] Optional. Blur image.
3666
3131
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3667
3132
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3669,9 +3134,9 @@ const ImageApiFp = function (configuration) {
3669
3134
  * @param {*} [options] Override http request option.
3670
3135
  * @throws {RequiredError}
3671
3136
  */
3672
- getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3137
+ getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3673
3138
  return __awaiter(this, void 0, void 0, function* () {
3674
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3139
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3675
3140
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3676
3141
  });
3677
3142
  },
@@ -3692,17 +3157,15 @@ const ImageApiFp = function (configuration) {
3692
3157
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3693
3158
  * @param {number} [fillWidth] Width of box to fill.
3694
3159
  * @param {number} [fillHeight] Height of box to fill.
3695
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3696
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3697
3160
  * @param {number} [blur] Optional. Blur image.
3698
3161
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3699
3162
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3700
3163
  * @param {*} [options] Override http request option.
3701
3164
  * @throws {RequiredError}
3702
3165
  */
3703
- getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3166
+ getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3704
3167
  return __awaiter(this, void 0, void 0, function* () {
3705
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3168
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3706
3169
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3707
3170
  });
3708
3171
  },
@@ -3722,8 +3185,6 @@ const ImageApiFp = function (configuration) {
3722
3185
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3723
3186
  * @param {number} [fillWidth] Width of box to fill.
3724
3187
  * @param {number} [fillHeight] Height of box to fill.
3725
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3726
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3727
3188
  * @param {number} [blur] Optional. Blur image.
3728
3189
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3729
3190
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3731,9 +3192,9 @@ const ImageApiFp = function (configuration) {
3731
3192
  * @param {*} [options] Override http request option.
3732
3193
  * @throws {RequiredError}
3733
3194
  */
3734
- getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3195
+ getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3735
3196
  return __awaiter(this, void 0, void 0, function* () {
3736
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3197
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3737
3198
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3738
3199
  });
3739
3200
  },
@@ -3754,17 +3215,15 @@ const ImageApiFp = function (configuration) {
3754
3215
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3755
3216
  * @param {number} [fillWidth] Width of box to fill.
3756
3217
  * @param {number} [fillHeight] Height of box to fill.
3757
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3758
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3759
3218
  * @param {number} [blur] Optional. Blur image.
3760
3219
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3761
3220
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3762
3221
  * @param {*} [options] Override http request option.
3763
3222
  * @throws {RequiredError}
3764
3223
  */
3765
- getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3224
+ getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3766
3225
  return __awaiter(this, void 0, void 0, function* () {
3767
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3226
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3768
3227
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3769
3228
  });
3770
3229
  },
@@ -3808,8 +3267,6 @@ const ImageApiFp = function (configuration) {
3808
3267
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3809
3268
  * @param {number} [fillWidth] Width of box to fill.
3810
3269
  * @param {number} [fillHeight] Height of box to fill.
3811
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3812
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3813
3270
  * @param {number} [blur] Optional. Blur image.
3814
3271
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3815
3272
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3817,9 +3274,9 @@ const ImageApiFp = function (configuration) {
3817
3274
  * @param {*} [options] Override http request option.
3818
3275
  * @throws {RequiredError}
3819
3276
  */
3820
- getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3277
+ getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3821
3278
  return __awaiter(this, void 0, void 0, function* () {
3822
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3279
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3823
3280
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3824
3281
  });
3825
3282
  },
@@ -3840,25 +3297,22 @@ const ImageApiFp = function (configuration) {
3840
3297
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3841
3298
  * @param {number} [fillWidth] Width of box to fill.
3842
3299
  * @param {number} [fillHeight] Height of box to fill.
3843
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3844
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3845
3300
  * @param {number} [blur] Optional. Blur image.
3846
3301
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3847
3302
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3848
3303
  * @param {*} [options] Override http request option.
3849
3304
  * @throws {RequiredError}
3850
3305
  */
3851
- getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3306
+ getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3852
3307
  return __awaiter(this, void 0, void 0, function* () {
3853
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3308
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3854
3309
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3855
3310
  });
3856
3311
  },
3857
3312
  /**
3858
3313
  *
3859
3314
  * @summary Get user profile image.
3860
- * @param {string} userId User id.
3861
- * @param {ImageType} imageType Image type.
3315
+ * @param {string} [userId] User id.
3862
3316
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3863
3317
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3864
3318
  * @param {number} [maxWidth] The maximum image width to return.
@@ -3870,8 +3324,6 @@ const ImageApiFp = function (configuration) {
3870
3324
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3871
3325
  * @param {number} [fillWidth] Width of box to fill.
3872
3326
  * @param {number} [fillHeight] Height of box to fill.
3873
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3874
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3875
3327
  * @param {number} [blur] Optional. Blur image.
3876
3328
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3877
3329
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3879,40 +3331,9 @@ const ImageApiFp = function (configuration) {
3879
3331
  * @param {*} [options] Override http request option.
3880
3332
  * @throws {RequiredError}
3881
3333
  */
3882
- getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3883
- return __awaiter(this, void 0, void 0, function* () {
3884
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3885
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3886
- });
3887
- },
3888
- /**
3889
- *
3890
- * @summary Get user profile image.
3891
- * @param {string} userId User id.
3892
- * @param {ImageType} imageType Image type.
3893
- * @param {number} imageIndex Image index.
3894
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
3895
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
3896
- * @param {number} [maxWidth] The maximum image width to return.
3897
- * @param {number} [maxHeight] The maximum image height to return.
3898
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
3899
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
3900
- * @param {number} [width] The fixed image width to return.
3901
- * @param {number} [height] The fixed image height to return.
3902
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3903
- * @param {number} [fillWidth] Width of box to fill.
3904
- * @param {number} [fillHeight] Height of box to fill.
3905
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3906
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3907
- * @param {number} [blur] Optional. Blur image.
3908
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3909
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3910
- * @param {*} [options] Override http request option.
3911
- * @throws {RequiredError}
3912
- */
3913
- getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3334
+ getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3914
3335
  return __awaiter(this, void 0, void 0, function* () {
3915
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3336
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3916
3337
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3917
3338
  });
3918
3339
  },
@@ -3933,17 +3354,15 @@ const ImageApiFp = function (configuration) {
3933
3354
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3934
3355
  * @param {number} [fillWidth] Width of box to fill.
3935
3356
  * @param {number} [fillHeight] Height of box to fill.
3936
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3937
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3938
3357
  * @param {number} [blur] Optional. Blur image.
3939
3358
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3940
3359
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
3941
3360
  * @param {*} [options] Override http request option.
3942
3361
  * @throws {RequiredError}
3943
3362
  */
3944
- headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3363
+ headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3945
3364
  return __awaiter(this, void 0, void 0, function* () {
3946
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3947
3366
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3948
3367
  });
3949
3368
  },
@@ -3963,8 +3382,6 @@ const ImageApiFp = function (configuration) {
3963
3382
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3964
3383
  * @param {number} [fillWidth] Width of box to fill.
3965
3384
  * @param {number} [fillHeight] Height of box to fill.
3966
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3967
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
3968
3385
  * @param {number} [blur] Optional. Blur image.
3969
3386
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
3970
3387
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -3972,9 +3389,9 @@ const ImageApiFp = function (configuration) {
3972
3389
  * @param {*} [options] Override http request option.
3973
3390
  * @throws {RequiredError}
3974
3391
  */
3975
- headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3392
+ headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3976
3393
  return __awaiter(this, void 0, void 0, function* () {
3977
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3394
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3978
3395
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3979
3396
  });
3980
3397
  },
@@ -3995,17 +3412,15 @@ const ImageApiFp = function (configuration) {
3995
3412
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
3996
3413
  * @param {number} [fillWidth] Width of box to fill.
3997
3414
  * @param {number} [fillHeight] Height of box to fill.
3998
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
3999
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4000
3415
  * @param {number} [blur] Optional. Blur image.
4001
3416
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4002
3417
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4003
3418
  * @param {*} [options] Override http request option.
4004
3419
  * @throws {RequiredError}
4005
3420
  */
4006
- headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3421
+ headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4007
3422
  return __awaiter(this, void 0, void 0, function* () {
4008
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3423
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
4009
3424
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4010
3425
  });
4011
3426
  },
@@ -4022,9 +3437,7 @@ const ImageApiFp = function (configuration) {
4022
3437
  * @param {number} [fillWidth] Width of box to fill.
4023
3438
  * @param {number} [fillHeight] Height of box to fill.
4024
3439
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4025
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4026
3440
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4027
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4028
3441
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4029
3442
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4030
3443
  * @param {number} [blur] Optional. Blur image.
@@ -4034,9 +3447,9 @@ const ImageApiFp = function (configuration) {
4034
3447
  * @param {*} [options] Override http request option.
4035
3448
  * @throws {RequiredError}
4036
3449
  */
4037
- headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3450
+ headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4038
3451
  return __awaiter(this, void 0, void 0, function* () {
4039
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3452
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
4040
3453
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4041
3454
  });
4042
3455
  },
@@ -4057,17 +3470,15 @@ const ImageApiFp = function (configuration) {
4057
3470
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4058
3471
  * @param {number} [fillWidth] Width of box to fill.
4059
3472
  * @param {number} [fillHeight] Height of box to fill.
4060
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4061
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4062
3473
  * @param {number} [blur] Optional. Blur image.
4063
3474
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4064
3475
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4065
3476
  * @param {*} [options] Override http request option.
4066
3477
  * @throws {RequiredError}
4067
3478
  */
4068
- headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3479
+ headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4069
3480
  return __awaiter(this, void 0, void 0, function* () {
4070
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3481
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
4071
3482
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4072
3483
  });
4073
3484
  },
@@ -4085,9 +3496,7 @@ const ImageApiFp = function (configuration) {
4085
3496
  * @param {number} [fillWidth] Width of box to fill.
4086
3497
  * @param {number} [fillHeight] Height of box to fill.
4087
3498
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4088
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4089
3499
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4090
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4091
3500
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4092
3501
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4093
3502
  * @param {number} [blur] Optional. Blur image.
@@ -4096,9 +3505,9 @@ const ImageApiFp = function (configuration) {
4096
3505
  * @param {*} [options] Override http request option.
4097
3506
  * @throws {RequiredError}
4098
3507
  */
4099
- headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3508
+ headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
4100
3509
  return __awaiter(this, void 0, void 0, function* () {
4101
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3510
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
4102
3511
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4103
3512
  });
4104
3513
  },
@@ -4118,8 +3527,6 @@ const ImageApiFp = function (configuration) {
4118
3527
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4119
3528
  * @param {number} [fillWidth] Width of box to fill.
4120
3529
  * @param {number} [fillHeight] Height of box to fill.
4121
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4122
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4123
3530
  * @param {number} [blur] Optional. Blur image.
4124
3531
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4125
3532
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4127,9 +3534,9 @@ const ImageApiFp = function (configuration) {
4127
3534
  * @param {*} [options] Override http request option.
4128
3535
  * @throws {RequiredError}
4129
3536
  */
4130
- headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3537
+ headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4131
3538
  return __awaiter(this, void 0, void 0, function* () {
4132
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3539
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
4133
3540
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4134
3541
  });
4135
3542
  },
@@ -4150,17 +3557,15 @@ const ImageApiFp = function (configuration) {
4150
3557
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4151
3558
  * @param {number} [fillWidth] Width of box to fill.
4152
3559
  * @param {number} [fillHeight] Height of box to fill.
4153
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4154
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4155
3560
  * @param {number} [blur] Optional. Blur image.
4156
3561
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4157
3562
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4158
3563
  * @param {*} [options] Override http request option.
4159
3564
  * @throws {RequiredError}
4160
3565
  */
4161
- headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3566
+ headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4162
3567
  return __awaiter(this, void 0, void 0, function* () {
4163
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3568
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
4164
3569
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4165
3570
  });
4166
3571
  },
@@ -4180,8 +3585,6 @@ const ImageApiFp = function (configuration) {
4180
3585
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4181
3586
  * @param {number} [fillWidth] Width of box to fill.
4182
3587
  * @param {number} [fillHeight] Height of box to fill.
4183
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4184
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4185
3588
  * @param {number} [blur] Optional. Blur image.
4186
3589
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4187
3590
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4189,9 +3592,9 @@ const ImageApiFp = function (configuration) {
4189
3592
  * @param {*} [options] Override http request option.
4190
3593
  * @throws {RequiredError}
4191
3594
  */
4192
- headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3595
+ headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4193
3596
  return __awaiter(this, void 0, void 0, function* () {
4194
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3597
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
4195
3598
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4196
3599
  });
4197
3600
  },
@@ -4212,17 +3615,15 @@ const ImageApiFp = function (configuration) {
4212
3615
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4213
3616
  * @param {number} [fillWidth] Width of box to fill.
4214
3617
  * @param {number} [fillHeight] Height of box to fill.
4215
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4216
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4217
3618
  * @param {number} [blur] Optional. Blur image.
4218
3619
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4219
3620
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4220
3621
  * @param {*} [options] Override http request option.
4221
3622
  * @throws {RequiredError}
4222
3623
  */
4223
- headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3624
+ headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4224
3625
  return __awaiter(this, void 0, void 0, function* () {
4225
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3626
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
4226
3627
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4227
3628
  });
4228
3629
  },
@@ -4242,8 +3643,6 @@ const ImageApiFp = function (configuration) {
4242
3643
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4243
3644
  * @param {number} [fillWidth] Width of box to fill.
4244
3645
  * @param {number} [fillHeight] Height of box to fill.
4245
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4246
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4247
3646
  * @param {number} [blur] Optional. Blur image.
4248
3647
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4249
3648
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4251,9 +3650,9 @@ const ImageApiFp = function (configuration) {
4251
3650
  * @param {*} [options] Override http request option.
4252
3651
  * @throws {RequiredError}
4253
3652
  */
4254
- headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3653
+ headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4255
3654
  return __awaiter(this, void 0, void 0, function* () {
4256
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
3655
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
4257
3656
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4258
3657
  });
4259
3658
  },
@@ -4274,25 +3673,22 @@ const ImageApiFp = function (configuration) {
4274
3673
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4275
3674
  * @param {number} [fillWidth] Width of box to fill.
4276
3675
  * @param {number} [fillHeight] Height of box to fill.
4277
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4278
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4279
3676
  * @param {number} [blur] Optional. Blur image.
4280
3677
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4281
3678
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4282
3679
  * @param {*} [options] Override http request option.
4283
3680
  * @throws {RequiredError}
4284
3681
  */
4285
- headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
3682
+ headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4286
3683
  return __awaiter(this, void 0, void 0, function* () {
4287
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3684
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
4288
3685
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4289
3686
  });
4290
3687
  },
4291
3688
  /**
4292
3689
  *
4293
3690
  * @summary Get user profile image.
4294
- * @param {string} userId User id.
4295
- * @param {ImageType} imageType Image type.
3691
+ * @param {string} [userId] User id.
4296
3692
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4297
3693
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4298
3694
  * @param {number} [maxWidth] The maximum image width to return.
@@ -4304,8 +3700,6 @@ const ImageApiFp = function (configuration) {
4304
3700
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4305
3701
  * @param {number} [fillWidth] Width of box to fill.
4306
3702
  * @param {number} [fillHeight] Height of box to fill.
4307
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4308
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4309
3703
  * @param {number} [blur] Optional. Blur image.
4310
3704
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4311
3705
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4313,72 +3707,23 @@ const ImageApiFp = function (configuration) {
4313
3707
  * @param {*} [options] Override http request option.
4314
3708
  * @throws {RequiredError}
4315
3709
  */
4316
- headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3710
+ headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4317
3711
  return __awaiter(this, void 0, void 0, function* () {
4318
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options);
4319
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4320
- });
4321
- },
4322
- /**
4323
- *
4324
- * @summary Get user profile image.
4325
- * @param {string} userId User id.
4326
- * @param {ImageType} imageType Image type.
4327
- * @param {number} imageIndex Image index.
4328
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4329
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4330
- * @param {number} [maxWidth] The maximum image width to return.
4331
- * @param {number} [maxHeight] The maximum image height to return.
4332
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4333
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4334
- * @param {number} [width] The fixed image width to return.
4335
- * @param {number} [height] The fixed image height to return.
4336
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4337
- * @param {number} [fillWidth] Width of box to fill.
4338
- * @param {number} [fillHeight] Height of box to fill.
4339
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4340
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4341
- * @param {number} [blur] Optional. Blur image.
4342
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4343
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4344
- * @param {*} [options] Override http request option.
4345
- * @throws {RequiredError}
4346
- */
4347
- headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4348
- return __awaiter(this, void 0, void 0, function* () {
4349
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options);
3712
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
4350
3713
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4351
3714
  });
4352
3715
  },
4353
3716
  /**
4354
3717
  *
4355
3718
  * @summary Sets the user image.
4356
- * @param {string} userId User Id.
4357
- * @param {ImageType} imageType (Unused) Image type.
4358
- * @param {number} [index] (Unused) Image index.
3719
+ * @param {string} [userId] User Id.
4359
3720
  * @param {any} [body]
4360
3721
  * @param {*} [options] Override http request option.
4361
3722
  * @throws {RequiredError}
4362
3723
  */
4363
- postUserImage(userId, imageType, index, body, options) {
3724
+ postUserImage(userId, body, options) {
4364
3725
  return __awaiter(this, void 0, void 0, function* () {
4365
- const localVarAxiosArgs = yield localVarAxiosParamCreator.postUserImage(userId, imageType, index, body, options);
4366
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4367
- });
4368
- },
4369
- /**
4370
- *
4371
- * @summary Sets the user image.
4372
- * @param {string} userId User Id.
4373
- * @param {ImageType} imageType (Unused) Image type.
4374
- * @param {number} index (Unused) Image index.
4375
- * @param {any} [body]
4376
- * @param {*} [options] Override http request option.
4377
- * @throws {RequiredError}
4378
- */
4379
- postUserImageByIndex(userId, imageType, index, body, options) {
4380
- return __awaiter(this, void 0, void 0, function* () {
4381
- const localVarAxiosArgs = yield localVarAxiosParamCreator.postUserImageByIndex(userId, imageType, index, body, options);
3726
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.postUserImage(userId, body, options);
4382
3727
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4383
3728
  });
4384
3729
  },
@@ -4487,26 +3832,12 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4487
3832
  /**
4488
3833
  *
4489
3834
  * @summary Delete the user\'s image.
4490
- * @param {string} userId User Id.
4491
- * @param {ImageType} imageType (Unused) Image type.
4492
- * @param {number} [index] (Unused) Image index.
4493
- * @param {*} [options] Override http request option.
4494
- * @throws {RequiredError}
4495
- */
4496
- deleteUserImage(userId, imageType, index, options) {
4497
- return localVarFp.deleteUserImage(userId, imageType, index, options).then((request) => request(axios, basePath));
4498
- },
4499
- /**
4500
- *
4501
- * @summary Delete the user\'s image.
4502
- * @param {string} userId User Id.
4503
- * @param {ImageType} imageType (Unused) Image type.
4504
- * @param {number} index (Unused) Image index.
3835
+ * @param {string} [userId] User Id.
4505
3836
  * @param {*} [options] Override http request option.
4506
3837
  * @throws {RequiredError}
4507
3838
  */
4508
- deleteUserImageByIndex(userId, imageType, index, options) {
4509
- return localVarFp.deleteUserImageByIndex(userId, imageType, index, options).then((request) => request(axios, basePath));
3839
+ deleteUserImage(userId, options) {
3840
+ return localVarFp.deleteUserImage(userId, options).then((request) => request(axios, basePath));
4510
3841
  },
4511
3842
  /**
4512
3843
  *
@@ -4525,16 +3856,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4525
3856
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4526
3857
  * @param {number} [fillWidth] Width of box to fill.
4527
3858
  * @param {number} [fillHeight] Height of box to fill.
4528
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4529
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4530
3859
  * @param {number} [blur] Optional. Blur image.
4531
3860
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4532
3861
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4533
3862
  * @param {*} [options] Override http request option.
4534
3863
  * @throws {RequiredError}
4535
3864
  */
4536
- getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4537
- return localVarFp.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3865
+ getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3866
+ 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));
4538
3867
  },
4539
3868
  /**
4540
3869
  *
@@ -4552,8 +3881,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4552
3881
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4553
3882
  * @param {number} [fillWidth] Width of box to fill.
4554
3883
  * @param {number} [fillHeight] Height of box to fill.
4555
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4556
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4557
3884
  * @param {number} [blur] Optional. Blur image.
4558
3885
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4559
3886
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4561,8 +3888,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4561
3888
  * @param {*} [options] Override http request option.
4562
3889
  * @throws {RequiredError}
4563
3890
  */
4564
- getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4565
- return localVarFp.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3891
+ getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3892
+ 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));
4566
3893
  },
4567
3894
  /**
4568
3895
  *
@@ -4581,16 +3908,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4581
3908
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4582
3909
  * @param {number} [fillWidth] Width of box to fill.
4583
3910
  * @param {number} [fillHeight] Height of box to fill.
4584
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4585
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4586
3911
  * @param {number} [blur] Optional. Blur image.
4587
3912
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4588
3913
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4589
3914
  * @param {*} [options] Override http request option.
4590
3915
  * @throws {RequiredError}
4591
3916
  */
4592
- getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4593
- return localVarFp.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3917
+ getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3918
+ 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));
4594
3919
  },
4595
3920
  /**
4596
3921
  *
@@ -4605,9 +3930,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4605
3930
  * @param {number} [fillWidth] Width of box to fill.
4606
3931
  * @param {number} [fillHeight] Height of box to fill.
4607
3932
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4608
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4609
3933
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4610
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4611
3934
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4612
3935
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4613
3936
  * @param {number} [blur] Optional. Blur image.
@@ -4617,8 +3940,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4617
3940
  * @param {*} [options] Override http request option.
4618
3941
  * @throws {RequiredError}
4619
3942
  */
4620
- getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4621
- return localVarFp.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
3943
+ getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3944
+ 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));
4622
3945
  },
4623
3946
  /**
4624
3947
  *
@@ -4637,16 +3960,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4637
3960
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4638
3961
  * @param {number} [fillWidth] Width of box to fill.
4639
3962
  * @param {number} [fillHeight] Height of box to fill.
4640
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4641
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4642
3963
  * @param {number} [blur] Optional. Blur image.
4643
3964
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4644
3965
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4645
3966
  * @param {*} [options] Override http request option.
4646
3967
  * @throws {RequiredError}
4647
3968
  */
4648
- getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4649
- return localVarFp.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3969
+ getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3970
+ 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));
4650
3971
  },
4651
3972
  /**
4652
3973
  *
@@ -4662,9 +3983,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4662
3983
  * @param {number} [fillWidth] Width of box to fill.
4663
3984
  * @param {number} [fillHeight] Height of box to fill.
4664
3985
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4665
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4666
3986
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
4667
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4668
3987
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4669
3988
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4670
3989
  * @param {number} [blur] Optional. Blur image.
@@ -4673,8 +3992,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4673
3992
  * @param {*} [options] Override http request option.
4674
3993
  * @throws {RequiredError}
4675
3994
  */
4676
- getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
4677
- return localVarFp.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
3995
+ getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3996
+ 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));
4678
3997
  },
4679
3998
  /**
4680
3999
  *
@@ -4702,8 +4021,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4702
4021
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4703
4022
  * @param {number} [fillWidth] Width of box to fill.
4704
4023
  * @param {number} [fillHeight] Height of box to fill.
4705
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4706
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4707
4024
  * @param {number} [blur] Optional. Blur image.
4708
4025
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4709
4026
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4711,8 +4028,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4711
4028
  * @param {*} [options] Override http request option.
4712
4029
  * @throws {RequiredError}
4713
4030
  */
4714
- getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4715
- return localVarFp.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4031
+ getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4032
+ 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));
4716
4033
  },
4717
4034
  /**
4718
4035
  *
@@ -4731,16 +4048,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4731
4048
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4732
4049
  * @param {number} [fillWidth] Width of box to fill.
4733
4050
  * @param {number} [fillHeight] Height of box to fill.
4734
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4735
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4736
4051
  * @param {number} [blur] Optional. Blur image.
4737
4052
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4738
4053
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4739
4054
  * @param {*} [options] Override http request option.
4740
4055
  * @throws {RequiredError}
4741
4056
  */
4742
- getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4743
- return localVarFp.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4057
+ getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4058
+ 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));
4744
4059
  },
4745
4060
  /**
4746
4061
  *
@@ -4758,8 +4073,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4758
4073
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4759
4074
  * @param {number} [fillWidth] Width of box to fill.
4760
4075
  * @param {number} [fillHeight] Height of box to fill.
4761
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4762
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4763
4076
  * @param {number} [blur] Optional. Blur image.
4764
4077
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4765
4078
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4767,8 +4080,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4767
4080
  * @param {*} [options] Override http request option.
4768
4081
  * @throws {RequiredError}
4769
4082
  */
4770
- getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4771
- return localVarFp.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4083
+ getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4084
+ 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));
4772
4085
  },
4773
4086
  /**
4774
4087
  *
@@ -4787,16 +4100,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4787
4100
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4788
4101
  * @param {number} [fillWidth] Width of box to fill.
4789
4102
  * @param {number} [fillHeight] Height of box to fill.
4790
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4791
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4792
4103
  * @param {number} [blur] Optional. Blur image.
4793
4104
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4794
4105
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4795
4106
  * @param {*} [options] Override http request option.
4796
4107
  * @throws {RequiredError}
4797
4108
  */
4798
- getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4799
- return localVarFp.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4109
+ getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4110
+ 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));
4800
4111
  },
4801
4112
  /**
4802
4113
  *
@@ -4835,8 +4146,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4835
4146
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4836
4147
  * @param {number} [fillWidth] Width of box to fill.
4837
4148
  * @param {number} [fillHeight] Height of box to fill.
4838
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4839
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4840
4149
  * @param {number} [blur] Optional. Blur image.
4841
4150
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4842
4151
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4844,8 +4153,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4844
4153
  * @param {*} [options] Override http request option.
4845
4154
  * @throws {RequiredError}
4846
4155
  */
4847
- getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4848
- return localVarFp.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4156
+ getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4157
+ 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));
4849
4158
  },
4850
4159
  /**
4851
4160
  *
@@ -4864,22 +4173,19 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4864
4173
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4865
4174
  * @param {number} [fillWidth] Width of box to fill.
4866
4175
  * @param {number} [fillHeight] Height of box to fill.
4867
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4868
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4869
4176
  * @param {number} [blur] Optional. Blur image.
4870
4177
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4871
4178
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4872
4179
  * @param {*} [options] Override http request option.
4873
4180
  * @throws {RequiredError}
4874
4181
  */
4875
- getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4876
- return localVarFp.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4182
+ getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4183
+ 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));
4877
4184
  },
4878
4185
  /**
4879
4186
  *
4880
4187
  * @summary Get user profile image.
4881
- * @param {string} userId User id.
4882
- * @param {ImageType} imageType Image type.
4188
+ * @param {string} [userId] User id.
4883
4189
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4884
4190
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4885
4191
  * @param {number} [maxWidth] The maximum image width to return.
@@ -4891,8 +4197,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4891
4197
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4892
4198
  * @param {number} [fillWidth] Width of box to fill.
4893
4199
  * @param {number} [fillHeight] Height of box to fill.
4894
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4895
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4896
4200
  * @param {number} [blur] Optional. Blur image.
4897
4201
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4898
4202
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4900,36 +4204,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4900
4204
  * @param {*} [options] Override http request option.
4901
4205
  * @throws {RequiredError}
4902
4206
  */
4903
- getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4904
- return localVarFp.getUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4905
- },
4906
- /**
4907
- *
4908
- * @summary Get user profile image.
4909
- * @param {string} userId User id.
4910
- * @param {ImageType} imageType Image type.
4911
- * @param {number} imageIndex Image index.
4912
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
4913
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
4914
- * @param {number} [maxWidth] The maximum image width to return.
4915
- * @param {number} [maxHeight] The maximum image height to return.
4916
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
4917
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
4918
- * @param {number} [width] The fixed image width to return.
4919
- * @param {number} [height] The fixed image height to return.
4920
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4921
- * @param {number} [fillWidth] Width of box to fill.
4922
- * @param {number} [fillHeight] Height of box to fill.
4923
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4924
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4925
- * @param {number} [blur] Optional. Blur image.
4926
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4927
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4928
- * @param {*} [options] Override http request option.
4929
- * @throws {RequiredError}
4930
- */
4931
- getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4932
- return localVarFp.getUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4207
+ getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4208
+ 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));
4933
4209
  },
4934
4210
  /**
4935
4211
  *
@@ -4948,16 +4224,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4948
4224
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4949
4225
  * @param {number} [fillWidth] Width of box to fill.
4950
4226
  * @param {number} [fillHeight] Height of box to fill.
4951
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4952
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4953
4227
  * @param {number} [blur] Optional. Blur image.
4954
4228
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4955
4229
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
4956
4230
  * @param {*} [options] Override http request option.
4957
4231
  * @throws {RequiredError}
4958
4232
  */
4959
- headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
4960
- return localVarFp.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4233
+ headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4234
+ 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));
4961
4235
  },
4962
4236
  /**
4963
4237
  *
@@ -4975,8 +4249,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4975
4249
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
4976
4250
  * @param {number} [fillWidth] Width of box to fill.
4977
4251
  * @param {number} [fillHeight] Height of box to fill.
4978
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
4979
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
4980
4252
  * @param {number} [blur] Optional. Blur image.
4981
4253
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
4982
4254
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -4984,8 +4256,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
4984
4256
  * @param {*} [options] Override http request option.
4985
4257
  * @throws {RequiredError}
4986
4258
  */
4987
- headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4988
- return localVarFp.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4259
+ headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4260
+ 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));
4989
4261
  },
4990
4262
  /**
4991
4263
  *
@@ -5004,16 +4276,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5004
4276
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5005
4277
  * @param {number} [fillWidth] Width of box to fill.
5006
4278
  * @param {number} [fillHeight] Height of box to fill.
5007
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5008
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5009
4279
  * @param {number} [blur] Optional. Blur image.
5010
4280
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5011
4281
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5012
4282
  * @param {*} [options] Override http request option.
5013
4283
  * @throws {RequiredError}
5014
4284
  */
5015
- headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5016
- return localVarFp.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4285
+ headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4286
+ 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));
5017
4287
  },
5018
4288
  /**
5019
4289
  *
@@ -5028,9 +4298,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5028
4298
  * @param {number} [fillWidth] Width of box to fill.
5029
4299
  * @param {number} [fillHeight] Height of box to fill.
5030
4300
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
5031
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5032
4301
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
5033
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5034
4302
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
5035
4303
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
5036
4304
  * @param {number} [blur] Optional. Blur image.
@@ -5040,8 +4308,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5040
4308
  * @param {*} [options] Override http request option.
5041
4309
  * @throws {RequiredError}
5042
4310
  */
5043
- headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
5044
- return localVarFp.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4311
+ headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4312
+ 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));
5045
4313
  },
5046
4314
  /**
5047
4315
  *
@@ -5060,16 +4328,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5060
4328
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5061
4329
  * @param {number} [fillWidth] Width of box to fill.
5062
4330
  * @param {number} [fillHeight] Height of box to fill.
5063
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5064
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5065
4331
  * @param {number} [blur] Optional. Blur image.
5066
4332
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5067
4333
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5068
4334
  * @param {*} [options] Override http request option.
5069
4335
  * @throws {RequiredError}
5070
4336
  */
5071
- headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5072
- return localVarFp.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4337
+ headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4338
+ 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));
5073
4339
  },
5074
4340
  /**
5075
4341
  *
@@ -5085,9 +4351,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5085
4351
  * @param {number} [fillWidth] Width of box to fill.
5086
4352
  * @param {number} [fillHeight] Height of box to fill.
5087
4353
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
5088
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5089
4354
  * @param {ImageFormat} [format] Optional. The MediaBrowser.Model.Drawing.ImageFormat of the returned image.
5090
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5091
4355
  * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
5092
4356
  * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
5093
4357
  * @param {number} [blur] Optional. Blur image.
@@ -5096,8 +4360,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5096
4360
  * @param {*} [options] Override http request option.
5097
4361
  * @throws {RequiredError}
5098
4362
  */
5099
- headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
5100
- return localVarFp.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, cropWhitespace, format, addPlayedIndicator, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4363
+ headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
4364
+ 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));
5101
4365
  },
5102
4366
  /**
5103
4367
  *
@@ -5115,8 +4379,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5115
4379
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5116
4380
  * @param {number} [fillWidth] Width of box to fill.
5117
4381
  * @param {number} [fillHeight] Height of box to fill.
5118
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5119
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5120
4382
  * @param {number} [blur] Optional. Blur image.
5121
4383
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5122
4384
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -5124,8 +4386,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5124
4386
  * @param {*} [options] Override http request option.
5125
4387
  * @throws {RequiredError}
5126
4388
  */
5127
- headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
5128
- return localVarFp.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4389
+ headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4390
+ 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));
5129
4391
  },
5130
4392
  /**
5131
4393
  *
@@ -5144,16 +4406,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5144
4406
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5145
4407
  * @param {number} [fillWidth] Width of box to fill.
5146
4408
  * @param {number} [fillHeight] Height of box to fill.
5147
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5148
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5149
4409
  * @param {number} [blur] Optional. Blur image.
5150
4410
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5151
4411
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5152
4412
  * @param {*} [options] Override http request option.
5153
4413
  * @throws {RequiredError}
5154
4414
  */
5155
- headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5156
- return localVarFp.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4415
+ headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4416
+ 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));
5157
4417
  },
5158
4418
  /**
5159
4419
  *
@@ -5171,8 +4431,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5171
4431
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5172
4432
  * @param {number} [fillWidth] Width of box to fill.
5173
4433
  * @param {number} [fillHeight] Height of box to fill.
5174
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5175
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5176
4434
  * @param {number} [blur] Optional. Blur image.
5177
4435
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5178
4436
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -5180,8 +4438,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5180
4438
  * @param {*} [options] Override http request option.
5181
4439
  * @throws {RequiredError}
5182
4440
  */
5183
- headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
5184
- return localVarFp.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4441
+ headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4442
+ 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));
5185
4443
  },
5186
4444
  /**
5187
4445
  *
@@ -5200,16 +4458,14 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5200
4458
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5201
4459
  * @param {number} [fillWidth] Width of box to fill.
5202
4460
  * @param {number} [fillHeight] Height of box to fill.
5203
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5204
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5205
4461
  * @param {number} [blur] Optional. Blur image.
5206
4462
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5207
4463
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5208
4464
  * @param {*} [options] Override http request option.
5209
4465
  * @throws {RequiredError}
5210
4466
  */
5211
- headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5212
- return localVarFp.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4467
+ headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4468
+ 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));
5213
4469
  },
5214
4470
  /**
5215
4471
  *
@@ -5227,8 +4483,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5227
4483
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5228
4484
  * @param {number} [fillWidth] Width of box to fill.
5229
4485
  * @param {number} [fillHeight] Height of box to fill.
5230
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5231
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5232
4486
  * @param {number} [blur] Optional. Blur image.
5233
4487
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5234
4488
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -5236,8 +4490,8 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5236
4490
  * @param {*} [options] Override http request option.
5237
4491
  * @throws {RequiredError}
5238
4492
  */
5239
- headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
5240
- return localVarFp.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
4493
+ headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4494
+ 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));
5241
4495
  },
5242
4496
  /**
5243
4497
  *
@@ -5256,22 +4510,19 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5256
4510
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5257
4511
  * @param {number} [fillWidth] Width of box to fill.
5258
4512
  * @param {number} [fillHeight] Height of box to fill.
5259
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5260
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5261
4513
  * @param {number} [blur] Optional. Blur image.
5262
4514
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5263
4515
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5264
4516
  * @param {*} [options] Override http request option.
5265
4517
  * @throws {RequiredError}
5266
4518
  */
5267
- headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5268
- return localVarFp.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
4519
+ headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
4520
+ 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));
5269
4521
  },
5270
4522
  /**
5271
4523
  *
5272
4524
  * @summary Get user profile image.
5273
- * @param {string} userId User id.
5274
- * @param {ImageType} imageType Image type.
4525
+ * @param {string} [userId] User id.
5275
4526
  * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
5276
4527
  * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
5277
4528
  * @param {number} [maxWidth] The maximum image width to return.
@@ -5283,8 +4534,6 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5283
4534
  * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5284
4535
  * @param {number} [fillWidth] Width of box to fill.
5285
4536
  * @param {number} [fillHeight] Height of box to fill.
5286
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5287
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5288
4537
  * @param {number} [blur] Optional. Blur image.
5289
4538
  * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5290
4539
  * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
@@ -5292,62 +4541,19 @@ const ImageApiFactory = function (configuration, basePath, axios) {
5292
4541
  * @param {*} [options] Override http request option.
5293
4542
  * @throws {RequiredError}
5294
4543
  */
5295
- headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options) {
5296
- return localVarFp.headUserImage(userId, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, imageIndex, options).then((request) => request(axios, basePath));
5297
- },
5298
- /**
5299
- *
5300
- * @summary Get user profile image.
5301
- * @param {string} userId User id.
5302
- * @param {ImageType} imageType Image type.
5303
- * @param {number} imageIndex Image index.
5304
- * @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
5305
- * @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
5306
- * @param {number} [maxWidth] The maximum image width to return.
5307
- * @param {number} [maxHeight] The maximum image height to return.
5308
- * @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
5309
- * @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
5310
- * @param {number} [width] The fixed image width to return.
5311
- * @param {number} [height] The fixed image height to return.
5312
- * @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
5313
- * @param {number} [fillWidth] Width of box to fill.
5314
- * @param {number} [fillHeight] Height of box to fill.
5315
- * @param {boolean} [cropWhitespace] Optional. Specify if whitespace should be cropped out of the image. True/False. If unspecified, whitespace will be cropped from logos and clear art.
5316
- * @param {boolean} [addPlayedIndicator] Optional. Add a played indicator.
5317
- * @param {number} [blur] Optional. Blur image.
5318
- * @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
5319
- * @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
5320
- * @param {*} [options] Override http request option.
5321
- * @throws {RequiredError}
5322
- */
5323
- headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options) {
5324
- return localVarFp.headUserImageByIndex(userId, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, cropWhitespace, addPlayedIndicator, blur, backgroundColor, foregroundLayer, options).then((request) => request(axios, basePath));
5325
- },
5326
- /**
5327
- *
5328
- * @summary Sets the user image.
5329
- * @param {string} userId User Id.
5330
- * @param {ImageType} imageType (Unused) Image type.
5331
- * @param {number} [index] (Unused) Image index.
5332
- * @param {any} [body]
5333
- * @param {*} [options] Override http request option.
5334
- * @throws {RequiredError}
5335
- */
5336
- postUserImage(userId, imageType, index, body, options) {
5337
- return localVarFp.postUserImage(userId, imageType, index, body, options).then((request) => request(axios, basePath));
4544
+ headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
4545
+ 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));
5338
4546
  },
5339
4547
  /**
5340
4548
  *
5341
4549
  * @summary Sets the user image.
5342
- * @param {string} userId User Id.
5343
- * @param {ImageType} imageType (Unused) Image type.
5344
- * @param {number} index (Unused) Image index.
4550
+ * @param {string} [userId] User Id.
5345
4551
  * @param {any} [body]
5346
4552
  * @param {*} [options] Override http request option.
5347
4553
  * @throws {RequiredError}
5348
4554
  */
5349
- postUserImageByIndex(userId, imageType, index, body, options) {
5350
- return localVarFp.postUserImageByIndex(userId, imageType, index, body, options).then((request) => request(axios, basePath));
4555
+ postUserImage(userId, body, options) {
4556
+ return localVarFp.postUserImage(userId, body, options).then((request) => request(axios, basePath));
5351
4557
  },
5352
4558
  /**
5353
4559
  *
@@ -5446,19 +4652,8 @@ class ImageApi extends BaseAPI {
5446
4652
  * @throws {RequiredError}
5447
4653
  * @memberof ImageApi
5448
4654
  */
5449
- deleteUserImage(requestParameters, options) {
5450
- return ImageApiFp(this.configuration).deleteUserImage(requestParameters.userId, requestParameters.imageType, requestParameters.index, options).then((request) => request(this.axios, this.basePath));
5451
- }
5452
- /**
5453
- *
5454
- * @summary Delete the user\'s image.
5455
- * @param {ImageApiDeleteUserImageByIndexRequest} requestParameters Request parameters.
5456
- * @param {*} [options] Override http request option.
5457
- * @throws {RequiredError}
5458
- * @memberof ImageApi
5459
- */
5460
- deleteUserImageByIndex(requestParameters, options) {
5461
- return ImageApiFp(this.configuration).deleteUserImageByIndex(requestParameters.userId, requestParameters.imageType, requestParameters.index, options).then((request) => request(this.axios, this.basePath));
4655
+ deleteUserImage(requestParameters = {}, options) {
4656
+ return ImageApiFp(this.configuration).deleteUserImage(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
5462
4657
  }
5463
4658
  /**
5464
4659
  *
@@ -5469,7 +4664,7 @@ class ImageApi extends BaseAPI {
5469
4664
  * @memberof ImageApi
5470
4665
  */
5471
4666
  getArtistImage(requestParameters, options) {
5472
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4667
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5473
4668
  }
5474
4669
  /**
5475
4670
  *
@@ -5480,7 +4675,7 @@ class ImageApi extends BaseAPI {
5480
4675
  * @memberof ImageApi
5481
4676
  */
5482
4677
  getGenreImage(requestParameters, options) {
5483
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4678
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5484
4679
  }
5485
4680
  /**
5486
4681
  *
@@ -5491,7 +4686,7 @@ class ImageApi extends BaseAPI {
5491
4686
  * @memberof ImageApi
5492
4687
  */
5493
4688
  getGenreImageByIndex(requestParameters, options) {
5494
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4689
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5495
4690
  }
5496
4691
  /**
5497
4692
  *
@@ -5502,7 +4697,7 @@ class ImageApi extends BaseAPI {
5502
4697
  * @memberof ImageApi
5503
4698
  */
5504
4699
  getItemImage(requestParameters, options) {
5505
- return ImageApiFp(this.configuration).getItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4700
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5506
4701
  }
5507
4702
  /**
5508
4703
  *
@@ -5513,7 +4708,7 @@ class ImageApi extends BaseAPI {
5513
4708
  * @memberof ImageApi
5514
4709
  */
5515
4710
  getItemImage2(requestParameters, options) {
5516
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4711
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5517
4712
  }
5518
4713
  /**
5519
4714
  *
@@ -5524,7 +4719,7 @@ class ImageApi extends BaseAPI {
5524
4719
  * @memberof ImageApi
5525
4720
  */
5526
4721
  getItemImageByIndex(requestParameters, options) {
5527
- return ImageApiFp(this.configuration).getItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4722
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5528
4723
  }
5529
4724
  /**
5530
4725
  *
@@ -5546,7 +4741,7 @@ class ImageApi extends BaseAPI {
5546
4741
  * @memberof ImageApi
5547
4742
  */
5548
4743
  getMusicGenreImage(requestParameters, options) {
5549
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4744
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5550
4745
  }
5551
4746
  /**
5552
4747
  *
@@ -5557,7 +4752,7 @@ class ImageApi extends BaseAPI {
5557
4752
  * @memberof ImageApi
5558
4753
  */
5559
4754
  getMusicGenreImageByIndex(requestParameters, options) {
5560
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4755
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5561
4756
  }
5562
4757
  /**
5563
4758
  *
@@ -5568,7 +4763,7 @@ class ImageApi extends BaseAPI {
5568
4763
  * @memberof ImageApi
5569
4764
  */
5570
4765
  getPersonImage(requestParameters, options) {
5571
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4766
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5572
4767
  }
5573
4768
  /**
5574
4769
  *
@@ -5579,7 +4774,7 @@ class ImageApi extends BaseAPI {
5579
4774
  * @memberof ImageApi
5580
4775
  */
5581
4776
  getPersonImageByIndex(requestParameters, options) {
5582
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4777
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5583
4778
  }
5584
4779
  /**
5585
4780
  *
@@ -5601,7 +4796,7 @@ class ImageApi extends BaseAPI {
5601
4796
  * @memberof ImageApi
5602
4797
  */
5603
4798
  getStudioImage(requestParameters, options) {
5604
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4799
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5605
4800
  }
5606
4801
  /**
5607
4802
  *
@@ -5612,7 +4807,7 @@ class ImageApi extends BaseAPI {
5612
4807
  * @memberof ImageApi
5613
4808
  */
5614
4809
  getStudioImageByIndex(requestParameters, options) {
5615
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4810
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5616
4811
  }
5617
4812
  /**
5618
4813
  *
@@ -5622,19 +4817,8 @@ class ImageApi extends BaseAPI {
5622
4817
  * @throws {RequiredError}
5623
4818
  * @memberof ImageApi
5624
4819
  */
5625
- getUserImage(requestParameters, options) {
5626
- return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
5627
- }
5628
- /**
5629
- *
5630
- * @summary Get user profile image.
5631
- * @param {ImageApiGetUserImageByIndexRequest} requestParameters Request parameters.
5632
- * @param {*} [options] Override http request option.
5633
- * @throws {RequiredError}
5634
- * @memberof ImageApi
5635
- */
5636
- getUserImageByIndex(requestParameters, options) {
5637
- return ImageApiFp(this.configuration).getUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4820
+ getUserImage(requestParameters = {}, options) {
4821
+ 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));
5638
4822
  }
5639
4823
  /**
5640
4824
  *
@@ -5645,7 +4829,7 @@ class ImageApi extends BaseAPI {
5645
4829
  * @memberof ImageApi
5646
4830
  */
5647
4831
  headArtistImage(requestParameters, options) {
5648
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4832
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5649
4833
  }
5650
4834
  /**
5651
4835
  *
@@ -5656,7 +4840,7 @@ class ImageApi extends BaseAPI {
5656
4840
  * @memberof ImageApi
5657
4841
  */
5658
4842
  headGenreImage(requestParameters, options) {
5659
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4843
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5660
4844
  }
5661
4845
  /**
5662
4846
  *
@@ -5667,7 +4851,7 @@ class ImageApi extends BaseAPI {
5667
4851
  * @memberof ImageApi
5668
4852
  */
5669
4853
  headGenreImageByIndex(requestParameters, options) {
5670
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4854
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5671
4855
  }
5672
4856
  /**
5673
4857
  *
@@ -5678,7 +4862,7 @@ class ImageApi extends BaseAPI {
5678
4862
  * @memberof ImageApi
5679
4863
  */
5680
4864
  headItemImage(requestParameters, options) {
5681
- return ImageApiFp(this.configuration).headItemImage(requestParameters.itemId, requestParameters.imageType, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4865
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5682
4866
  }
5683
4867
  /**
5684
4868
  *
@@ -5689,7 +4873,7 @@ class ImageApi extends BaseAPI {
5689
4873
  * @memberof ImageApi
5690
4874
  */
5691
4875
  headItemImage2(requestParameters, options) {
5692
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4876
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5693
4877
  }
5694
4878
  /**
5695
4879
  *
@@ -5700,7 +4884,7 @@ class ImageApi extends BaseAPI {
5700
4884
  * @memberof ImageApi
5701
4885
  */
5702
4886
  headItemImageByIndex(requestParameters, options) {
5703
- return ImageApiFp(this.configuration).headItemImageByIndex(requestParameters.itemId, requestParameters.imageType, requestParameters.imageIndex, requestParameters.maxWidth, requestParameters.maxHeight, requestParameters.width, requestParameters.height, requestParameters.quality, requestParameters.fillWidth, requestParameters.fillHeight, requestParameters.tag, requestParameters.cropWhitespace, requestParameters.format, requestParameters.addPlayedIndicator, requestParameters.percentPlayed, requestParameters.unplayedCount, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4887
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5704
4888
  }
5705
4889
  /**
5706
4890
  *
@@ -5711,7 +4895,7 @@ class ImageApi extends BaseAPI {
5711
4895
  * @memberof ImageApi
5712
4896
  */
5713
4897
  headMusicGenreImage(requestParameters, options) {
5714
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4898
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5715
4899
  }
5716
4900
  /**
5717
4901
  *
@@ -5722,7 +4906,7 @@ class ImageApi extends BaseAPI {
5722
4906
  * @memberof ImageApi
5723
4907
  */
5724
4908
  headMusicGenreImageByIndex(requestParameters, options) {
5725
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4909
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5726
4910
  }
5727
4911
  /**
5728
4912
  *
@@ -5733,7 +4917,7 @@ class ImageApi extends BaseAPI {
5733
4917
  * @memberof ImageApi
5734
4918
  */
5735
4919
  headPersonImage(requestParameters, options) {
5736
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4920
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5737
4921
  }
5738
4922
  /**
5739
4923
  *
@@ -5744,7 +4928,7 @@ class ImageApi extends BaseAPI {
5744
4928
  * @memberof ImageApi
5745
4929
  */
5746
4930
  headPersonImageByIndex(requestParameters, options) {
5747
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4931
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5748
4932
  }
5749
4933
  /**
5750
4934
  *
@@ -5755,7 +4939,7 @@ class ImageApi extends BaseAPI {
5755
4939
  * @memberof ImageApi
5756
4940
  */
5757
4941
  headStudioImage(requestParameters, options) {
5758
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
4942
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5759
4943
  }
5760
4944
  /**
5761
4945
  *
@@ -5766,7 +4950,7 @@ class ImageApi extends BaseAPI {
5766
4950
  * @memberof ImageApi
5767
4951
  */
5768
4952
  headStudioImageByIndex(requestParameters, options) {
5769
- return ImageApiFp(this.configuration).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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4953
+ return ImageApiFp(this.configuration).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(this.axios, this.basePath));
5770
4954
  }
5771
4955
  /**
5772
4956
  *
@@ -5776,19 +4960,8 @@ class ImageApi extends BaseAPI {
5776
4960
  * @throws {RequiredError}
5777
4961
  * @memberof ImageApi
5778
4962
  */
5779
- headUserImage(requestParameters, options) {
5780
- return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, requestParameters.imageIndex, options).then((request) => request(this.axios, this.basePath));
5781
- }
5782
- /**
5783
- *
5784
- * @summary Get user profile image.
5785
- * @param {ImageApiHeadUserImageByIndexRequest} requestParameters Request parameters.
5786
- * @param {*} [options] Override http request option.
5787
- * @throws {RequiredError}
5788
- * @memberof ImageApi
5789
- */
5790
- headUserImageByIndex(requestParameters, options) {
5791
- return ImageApiFp(this.configuration).headUserImageByIndex(requestParameters.userId, 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.cropWhitespace, requestParameters.addPlayedIndicator, requestParameters.blur, requestParameters.backgroundColor, requestParameters.foregroundLayer, options).then((request) => request(this.axios, this.basePath));
4963
+ headUserImage(requestParameters = {}, options) {
4964
+ 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));
5792
4965
  }
5793
4966
  /**
5794
4967
  *
@@ -5798,19 +4971,8 @@ class ImageApi extends BaseAPI {
5798
4971
  * @throws {RequiredError}
5799
4972
  * @memberof ImageApi
5800
4973
  */
5801
- postUserImage(requestParameters, options) {
5802
- return ImageApiFp(this.configuration).postUserImage(requestParameters.userId, requestParameters.imageType, requestParameters.index, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
5803
- }
5804
- /**
5805
- *
5806
- * @summary Sets the user image.
5807
- * @param {ImageApiPostUserImageByIndexRequest} requestParameters Request parameters.
5808
- * @param {*} [options] Override http request option.
5809
- * @throws {RequiredError}
5810
- * @memberof ImageApi
5811
- */
5812
- postUserImageByIndex(requestParameters, options) {
5813
- return ImageApiFp(this.configuration).postUserImageByIndex(requestParameters.userId, requestParameters.imageType, requestParameters.index, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
4974
+ postUserImage(requestParameters = {}, options) {
4975
+ return ImageApiFp(this.configuration).postUserImage(requestParameters.userId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
5814
4976
  }
5815
4977
  /**
5816
4978
  *