@jellyfin/sdk 0.9.0 → 0.10.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 (72) hide show
  1. package/README.md +5 -0
  2. package/lib/discovery/discovery-service.js +4 -9
  3. package/lib/discovery/recommended-server-discovery.js +17 -22
  4. package/lib/generated-client/api/activity-log-api.js +8 -11
  5. package/lib/generated-client/api/api-key-api.js +24 -31
  6. package/lib/generated-client/api/artists-api.js +24 -31
  7. package/lib/generated-client/api/audio-api.d.ts +12 -12
  8. package/lib/generated-client/api/audio-api.js +28 -37
  9. package/lib/generated-client/api/branding-api.js +21 -28
  10. package/lib/generated-client/api/channels-api.js +40 -51
  11. package/lib/generated-client/api/client-log-api.js +8 -11
  12. package/lib/generated-client/api/collection-api.js +24 -31
  13. package/lib/generated-client/api/configuration-api.js +40 -51
  14. package/lib/generated-client/api/dashboard-api.js +15 -20
  15. package/lib/generated-client/api/devices-api.js +40 -51
  16. package/lib/generated-client/api/display-preferences-api.js +16 -21
  17. package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
  18. package/lib/generated-client/api/dynamic-hls-api.js +72 -91
  19. package/lib/generated-client/api/environment-api.js +48 -61
  20. package/lib/generated-client/api/filter-api.js +16 -21
  21. package/lib/generated-client/api/genres-api.js +16 -21
  22. package/lib/generated-client/api/hls-segment-api.js +37 -48
  23. package/lib/generated-client/api/image-api.js +269 -344
  24. package/lib/generated-client/api/instant-mix-api.js +64 -81
  25. package/lib/generated-client/api/item-lookup-api.js +88 -111
  26. package/lib/generated-client/api/item-refresh-api.js +8 -11
  27. package/lib/generated-client/api/item-update-api.js +24 -31
  28. package/lib/generated-client/api/items-api.js +32 -41
  29. package/lib/generated-client/api/library-api.js +200 -251
  30. package/lib/generated-client/api/library-structure-api.js +64 -81
  31. package/lib/generated-client/api/live-tv-api.js +326 -409
  32. package/lib/generated-client/api/localization-api.js +32 -41
  33. package/lib/generated-client/api/lyrics-api.js +48 -61
  34. package/lib/generated-client/api/media-info-api.js +40 -51
  35. package/lib/generated-client/api/movies-api.js +8 -11
  36. package/lib/generated-client/api/music-genres-api.js +16 -21
  37. package/lib/generated-client/api/package-api.js +48 -61
  38. package/lib/generated-client/api/persons-api.js +16 -21
  39. package/lib/generated-client/api/playlists-api.js +80 -101
  40. package/lib/generated-client/api/playstate-api.js +72 -91
  41. package/lib/generated-client/api/plugins-api.js +72 -91
  42. package/lib/generated-client/api/quick-connect-api.js +29 -38
  43. package/lib/generated-client/api/remote-image-api.js +24 -31
  44. package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
  45. package/lib/generated-client/api/search-api.js +8 -11
  46. package/lib/generated-client/api/session-api.js +128 -161
  47. package/lib/generated-client/api/startup-api.js +56 -71
  48. package/lib/generated-client/api/studios-api.js +16 -21
  49. package/lib/generated-client/api/subtitle-api.js +78 -99
  50. package/lib/generated-client/api/suggestions-api.js +8 -11
  51. package/lib/generated-client/api/sync-play-api.js +168 -211
  52. package/lib/generated-client/api/system-api.js +77 -98
  53. package/lib/generated-client/api/time-sync-api.js +7 -10
  54. package/lib/generated-client/api/tmdb-api.js +8 -11
  55. package/lib/generated-client/api/trailers-api.js +8 -11
  56. package/lib/generated-client/api/trickplay-api.js +16 -21
  57. package/lib/generated-client/api/tv-shows-api.js +32 -41
  58. package/lib/generated-client/api/universal-audio-api.js +16 -21
  59. package/lib/generated-client/api/user-api.js +107 -136
  60. package/lib/generated-client/api/user-library-api.js +80 -101
  61. package/lib/generated-client/api/user-views-api.js +16 -21
  62. package/lib/generated-client/api/video-attachments-api.js +7 -10
  63. package/lib/generated-client/api/videos-api.d.ts +12 -12
  64. package/lib/generated-client/api/videos-api.js +52 -67
  65. package/lib/generated-client/api/years-api.js +16 -21
  66. package/lib/generated-client/common.js +8 -11
  67. package/lib/generated-client/models/search-hint.d.ts +1 -1
  68. package/lib/utils/api/image-urls-api.js +16 -4
  69. package/lib/versions.d.ts +1 -1
  70. package/lib/versions.js +1 -1
  71. package/package.json +10 -10
  72. package/lib/node_modules/tslib/tslib.es6.js +0 -33
@@ -1,4 +1,3 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, serializeDataIfNeeded, createRequestFunction } from '../common.js';
4
3
  import { BaseAPI, BASE_PATH } from '../base.js';
@@ -27,7 +26,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
27
26
  * @param {*} [options] Override http request option.
28
27
  * @throws {RequiredError}
29
28
  */
30
- deleteCustomSplashscreen: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
29
+ deleteCustomSplashscreen: async (options = {}) => {
31
30
  const localVarPath = `/Branding/Splashscreen`;
32
31
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33
32
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -35,19 +34,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
35
34
  if (configuration) {
36
35
  baseOptions = configuration.baseOptions;
37
36
  }
38
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
37
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
39
38
  const localVarHeaderParameter = {};
40
39
  const localVarQueryParameter = {};
41
40
  // authentication CustomAuthentication required
42
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
41
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
43
42
  setSearchParams(localVarUrlObj, localVarQueryParameter);
44
43
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
44
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
46
45
  return {
47
46
  url: toPathString(localVarUrlObj),
48
47
  options: localVarRequestOptions,
49
48
  };
50
- }),
49
+ },
51
50
  /**
52
51
  *
53
52
  * @summary Delete an item\'s image.
@@ -57,7 +56,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
57
56
  * @param {*} [options] Override http request option.
58
57
  * @throws {RequiredError}
59
58
  */
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 = {}) {
59
+ deleteItemImage: async (itemId, imageType, imageIndex, options = {}) => {
61
60
  // verify required parameter 'itemId' is not null or undefined
62
61
  assertParamExists('deleteItemImage', 'itemId', itemId);
63
62
  // verify required parameter 'imageType' is not null or undefined
@@ -71,22 +70,22 @@ const ImageApiAxiosParamCreator = function (configuration) {
71
70
  if (configuration) {
72
71
  baseOptions = configuration.baseOptions;
73
72
  }
74
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
73
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
75
74
  const localVarHeaderParameter = {};
76
75
  const localVarQueryParameter = {};
77
76
  // authentication CustomAuthentication required
78
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
77
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
79
78
  if (imageIndex !== undefined) {
80
79
  localVarQueryParameter['imageIndex'] = imageIndex;
81
80
  }
82
81
  setSearchParams(localVarUrlObj, localVarQueryParameter);
83
82
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
83
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85
84
  return {
86
85
  url: toPathString(localVarUrlObj),
87
86
  options: localVarRequestOptions,
88
87
  };
89
- }),
88
+ },
90
89
  /**
91
90
  *
92
91
  * @summary Delete an item\'s image.
@@ -96,7 +95,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
96
95
  * @param {*} [options] Override http request option.
97
96
  * @throws {RequiredError}
98
97
  */
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 = {}) {
98
+ deleteItemImageByIndex: async (itemId, imageType, imageIndex, options = {}) => {
100
99
  // verify required parameter 'itemId' is not null or undefined
101
100
  assertParamExists('deleteItemImageByIndex', 'itemId', itemId);
102
101
  // verify required parameter 'imageType' is not null or undefined
@@ -113,19 +112,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
113
112
  if (configuration) {
114
113
  baseOptions = configuration.baseOptions;
115
114
  }
116
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
115
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
117
116
  const localVarHeaderParameter = {};
118
117
  const localVarQueryParameter = {};
119
118
  // authentication CustomAuthentication required
120
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
119
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
121
120
  setSearchParams(localVarUrlObj, localVarQueryParameter);
122
121
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
122
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
124
123
  return {
125
124
  url: toPathString(localVarUrlObj),
126
125
  options: localVarRequestOptions,
127
126
  };
128
- }),
127
+ },
129
128
  /**
130
129
  *
131
130
  * @summary Delete the user\'s image.
@@ -133,7 +132,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
133
132
  * @param {*} [options] Override http request option.
134
133
  * @throws {RequiredError}
135
134
  */
136
- deleteUserImage: (userId_1, ...args_4) => __awaiter(this, [userId_1, ...args_4], void 0, function* (userId, options = {}) {
135
+ deleteUserImage: async (userId, options = {}) => {
137
136
  const localVarPath = `/UserImage`;
138
137
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
139
138
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -141,22 +140,22 @@ const ImageApiAxiosParamCreator = function (configuration) {
141
140
  if (configuration) {
142
141
  baseOptions = configuration.baseOptions;
143
142
  }
144
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
143
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
145
144
  const localVarHeaderParameter = {};
146
145
  const localVarQueryParameter = {};
147
146
  // authentication CustomAuthentication required
148
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
147
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
149
148
  if (userId !== undefined) {
150
149
  localVarQueryParameter['userId'] = userId;
151
150
  }
152
151
  setSearchParams(localVarUrlObj, localVarQueryParameter);
153
152
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
153
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
155
154
  return {
156
155
  url: toPathString(localVarUrlObj),
157
156
  options: localVarRequestOptions,
158
157
  };
159
- }),
158
+ },
160
159
  /**
161
160
  *
162
161
  * @summary Get artist image by name.
@@ -180,7 +179,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
180
179
  * @param {*} [options] Override http request option.
181
180
  * @throws {RequiredError}
182
181
  */
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 = {}) {
182
+ getArtistImage: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
184
183
  // verify required parameter 'name' is not null or undefined
185
184
  assertParamExists('getArtistImage', 'name', name);
186
185
  // verify required parameter 'imageType' is not null or undefined
@@ -197,7 +196,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
197
196
  if (configuration) {
198
197
  baseOptions = configuration.baseOptions;
199
198
  }
200
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
199
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
201
200
  const localVarHeaderParameter = {};
202
201
  const localVarQueryParameter = {};
203
202
  if (tag !== undefined) {
@@ -244,12 +243,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
244
243
  }
245
244
  setSearchParams(localVarUrlObj, localVarQueryParameter);
246
245
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
247
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
246
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
248
247
  return {
249
248
  url: toPathString(localVarUrlObj),
250
249
  options: localVarRequestOptions,
251
250
  };
252
- }),
251
+ },
253
252
  /**
254
253
  *
255
254
  * @summary Get genre image by name.
@@ -273,7 +272,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
273
272
  * @param {*} [options] Override http request option.
274
273
  * @throws {RequiredError}
275
274
  */
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 = {}) {
275
+ getGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
277
276
  // verify required parameter 'name' is not null or undefined
278
277
  assertParamExists('getGenreImage', 'name', name);
279
278
  // verify required parameter 'imageType' is not null or undefined
@@ -287,7 +286,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
287
286
  if (configuration) {
288
287
  baseOptions = configuration.baseOptions;
289
288
  }
290
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
289
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
291
290
  const localVarHeaderParameter = {};
292
291
  const localVarQueryParameter = {};
293
292
  if (tag !== undefined) {
@@ -337,12 +336,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
337
336
  }
338
337
  setSearchParams(localVarUrlObj, localVarQueryParameter);
339
338
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
340
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
339
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
341
340
  return {
342
341
  url: toPathString(localVarUrlObj),
343
342
  options: localVarRequestOptions,
344
343
  };
345
- }),
344
+ },
346
345
  /**
347
346
  *
348
347
  * @summary Get genre image by name.
@@ -366,7 +365,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
366
365
  * @param {*} [options] Override http request option.
367
366
  * @throws {RequiredError}
368
367
  */
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 = {}) {
368
+ getGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
370
369
  // verify required parameter 'name' is not null or undefined
371
370
  assertParamExists('getGenreImageByIndex', 'name', name);
372
371
  // verify required parameter 'imageType' is not null or undefined
@@ -383,7 +382,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
383
382
  if (configuration) {
384
383
  baseOptions = configuration.baseOptions;
385
384
  }
386
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
385
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
387
386
  const localVarHeaderParameter = {};
388
387
  const localVarQueryParameter = {};
389
388
  if (tag !== undefined) {
@@ -430,12 +429,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
430
429
  }
431
430
  setSearchParams(localVarUrlObj, localVarQueryParameter);
432
431
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
433
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
434
433
  return {
435
434
  url: toPathString(localVarUrlObj),
436
435
  options: localVarRequestOptions,
437
436
  };
438
- }),
437
+ },
439
438
  /**
440
439
  *
441
440
  * @summary Gets the item\'s image.
@@ -459,7 +458,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
459
458
  * @param {*} [options] Override http request option.
460
459
  * @throws {RequiredError}
461
460
  */
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 = {}) {
461
+ getItemImage: async (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
463
462
  // verify required parameter 'itemId' is not null or undefined
464
463
  assertParamExists('getItemImage', 'itemId', itemId);
465
464
  // verify required parameter 'imageType' is not null or undefined
@@ -473,7 +472,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
473
472
  if (configuration) {
474
473
  baseOptions = configuration.baseOptions;
475
474
  }
476
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
475
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
477
476
  const localVarHeaderParameter = {};
478
477
  const localVarQueryParameter = {};
479
478
  if (maxWidth !== undefined) {
@@ -523,12 +522,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
523
522
  }
524
523
  setSearchParams(localVarUrlObj, localVarQueryParameter);
525
524
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
526
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
525
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
527
526
  return {
528
527
  url: toPathString(localVarUrlObj),
529
528
  options: localVarRequestOptions,
530
529
  };
531
- }),
530
+ },
532
531
  /**
533
532
  *
534
533
  * @summary Gets the item\'s image.
@@ -552,7 +551,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
552
551
  * @param {*} [options] Override http request option.
553
552
  * @throws {RequiredError}
554
553
  */
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 = {}) {
554
+ getItemImage2: async (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
556
555
  // verify required parameter 'itemId' is not null or undefined
557
556
  assertParamExists('getItemImage2', 'itemId', itemId);
558
557
  // verify required parameter 'imageType' is not null or undefined
@@ -587,7 +586,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
587
586
  if (configuration) {
588
587
  baseOptions = configuration.baseOptions;
589
588
  }
590
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
589
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
591
590
  const localVarHeaderParameter = {};
592
591
  const localVarQueryParameter = {};
593
592
  if (width !== undefined) {
@@ -616,12 +615,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
616
615
  }
617
616
  setSearchParams(localVarUrlObj, localVarQueryParameter);
618
617
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
619
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
618
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
620
619
  return {
621
620
  url: toPathString(localVarUrlObj),
622
621
  options: localVarRequestOptions,
623
622
  };
624
- }),
623
+ },
625
624
  /**
626
625
  *
627
626
  * @summary Gets the item\'s image.
@@ -645,7 +644,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
645
644
  * @param {*} [options] Override http request option.
646
645
  * @throws {RequiredError}
647
646
  */
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 = {}) {
647
+ getItemImageByIndex: async (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => {
649
648
  // verify required parameter 'itemId' is not null or undefined
650
649
  assertParamExists('getItemImageByIndex', 'itemId', itemId);
651
650
  // verify required parameter 'imageType' is not null or undefined
@@ -662,7 +661,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
662
661
  if (configuration) {
663
662
  baseOptions = configuration.baseOptions;
664
663
  }
665
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
664
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
666
665
  const localVarHeaderParameter = {};
667
666
  const localVarQueryParameter = {};
668
667
  if (maxWidth !== undefined) {
@@ -709,12 +708,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
709
708
  }
710
709
  setSearchParams(localVarUrlObj, localVarQueryParameter);
711
710
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
712
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
711
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
713
712
  return {
714
713
  url: toPathString(localVarUrlObj),
715
714
  options: localVarRequestOptions,
716
715
  };
717
- }),
716
+ },
718
717
  /**
719
718
  *
720
719
  * @summary Get item image infos.
@@ -722,7 +721,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
722
721
  * @param {*} [options] Override http request option.
723
722
  * @throws {RequiredError}
724
723
  */
725
- getItemImageInfos: (itemId_6, ...args_11) => __awaiter(this, [itemId_6, ...args_11], void 0, function* (itemId, options = {}) {
724
+ getItemImageInfos: async (itemId, options = {}) => {
726
725
  // verify required parameter 'itemId' is not null or undefined
727
726
  assertParamExists('getItemImageInfos', 'itemId', itemId);
728
727
  const localVarPath = `/Items/{itemId}/Images`
@@ -733,19 +732,19 @@ const ImageApiAxiosParamCreator = function (configuration) {
733
732
  if (configuration) {
734
733
  baseOptions = configuration.baseOptions;
735
734
  }
736
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
735
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
737
736
  const localVarHeaderParameter = {};
738
737
  const localVarQueryParameter = {};
739
738
  // authentication CustomAuthentication required
740
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
739
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
741
740
  setSearchParams(localVarUrlObj, localVarQueryParameter);
742
741
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
743
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
742
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
744
743
  return {
745
744
  url: toPathString(localVarUrlObj),
746
745
  options: localVarRequestOptions,
747
746
  };
748
- }),
747
+ },
749
748
  /**
750
749
  *
751
750
  * @summary Get music genre image by name.
@@ -769,7 +768,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
769
768
  * @param {*} [options] Override http request option.
770
769
  * @throws {RequiredError}
771
770
  */
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 = {}) {
771
+ getMusicGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
773
772
  // verify required parameter 'name' is not null or undefined
774
773
  assertParamExists('getMusicGenreImage', 'name', name);
775
774
  // verify required parameter 'imageType' is not null or undefined
@@ -783,7 +782,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
783
782
  if (configuration) {
784
783
  baseOptions = configuration.baseOptions;
785
784
  }
786
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
785
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
787
786
  const localVarHeaderParameter = {};
788
787
  const localVarQueryParameter = {};
789
788
  if (tag !== undefined) {
@@ -833,12 +832,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
833
832
  }
834
833
  setSearchParams(localVarUrlObj, localVarQueryParameter);
835
834
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
836
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
835
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
837
836
  return {
838
837
  url: toPathString(localVarUrlObj),
839
838
  options: localVarRequestOptions,
840
839
  };
841
- }),
840
+ },
842
841
  /**
843
842
  *
844
843
  * @summary Get music genre image by name.
@@ -862,7 +861,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
862
861
  * @param {*} [options] Override http request option.
863
862
  * @throws {RequiredError}
864
863
  */
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 = {}) {
864
+ getMusicGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
866
865
  // verify required parameter 'name' is not null or undefined
867
866
  assertParamExists('getMusicGenreImageByIndex', 'name', name);
868
867
  // verify required parameter 'imageType' is not null or undefined
@@ -879,7 +878,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
879
878
  if (configuration) {
880
879
  baseOptions = configuration.baseOptions;
881
880
  }
882
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
881
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
883
882
  const localVarHeaderParameter = {};
884
883
  const localVarQueryParameter = {};
885
884
  if (tag !== undefined) {
@@ -926,12 +925,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
926
925
  }
927
926
  setSearchParams(localVarUrlObj, localVarQueryParameter);
928
927
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
929
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
928
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
930
929
  return {
931
930
  url: toPathString(localVarUrlObj),
932
931
  options: localVarRequestOptions,
933
932
  };
934
- }),
933
+ },
935
934
  /**
936
935
  *
937
936
  * @summary Get person image by name.
@@ -955,7 +954,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
955
954
  * @param {*} [options] Override http request option.
956
955
  * @throws {RequiredError}
957
956
  */
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 = {}) {
957
+ getPersonImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
959
958
  // verify required parameter 'name' is not null or undefined
960
959
  assertParamExists('getPersonImage', 'name', name);
961
960
  // verify required parameter 'imageType' is not null or undefined
@@ -969,7 +968,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
969
968
  if (configuration) {
970
969
  baseOptions = configuration.baseOptions;
971
970
  }
972
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
971
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
973
972
  const localVarHeaderParameter = {};
974
973
  const localVarQueryParameter = {};
975
974
  if (tag !== undefined) {
@@ -1019,12 +1018,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1019
1018
  }
1020
1019
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1021
1020
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1022
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1021
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1023
1022
  return {
1024
1023
  url: toPathString(localVarUrlObj),
1025
1024
  options: localVarRequestOptions,
1026
1025
  };
1027
- }),
1026
+ },
1028
1027
  /**
1029
1028
  *
1030
1029
  * @summary Get person image by name.
@@ -1048,7 +1047,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1048
1047
  * @param {*} [options] Override http request option.
1049
1048
  * @throws {RequiredError}
1050
1049
  */
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 = {}) {
1050
+ getPersonImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
1052
1051
  // verify required parameter 'name' is not null or undefined
1053
1052
  assertParamExists('getPersonImageByIndex', 'name', name);
1054
1053
  // verify required parameter 'imageType' is not null or undefined
@@ -1065,7 +1064,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1065
1064
  if (configuration) {
1066
1065
  baseOptions = configuration.baseOptions;
1067
1066
  }
1068
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1067
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1069
1068
  const localVarHeaderParameter = {};
1070
1069
  const localVarQueryParameter = {};
1071
1070
  if (tag !== undefined) {
@@ -1112,12 +1111,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1112
1111
  }
1113
1112
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1114
1113
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1115
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1114
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1116
1115
  return {
1117
1116
  url: toPathString(localVarUrlObj),
1118
1117
  options: localVarRequestOptions,
1119
1118
  };
1120
- }),
1119
+ },
1121
1120
  /**
1122
1121
  *
1123
1122
  * @summary Generates or gets the splashscreen.
@@ -1136,7 +1135,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1136
1135
  * @param {*} [options] Override http request option.
1137
1136
  * @throws {RequiredError}
1138
1137
  */
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 = {}) {
1138
+ getSplashscreen: async (tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options = {}) => {
1140
1139
  const localVarPath = `/Branding/Splashscreen`;
1141
1140
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1142
1141
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1144,7 +1143,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1144
1143
  if (configuration) {
1145
1144
  baseOptions = configuration.baseOptions;
1146
1145
  }
1147
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1146
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1148
1147
  const localVarHeaderParameter = {};
1149
1148
  const localVarQueryParameter = {};
1150
1149
  if (tag !== undefined) {
@@ -1185,12 +1184,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1185
1184
  }
1186
1185
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1187
1186
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1188
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1187
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1189
1188
  return {
1190
1189
  url: toPathString(localVarUrlObj),
1191
1190
  options: localVarRequestOptions,
1192
1191
  };
1193
- }),
1192
+ },
1194
1193
  /**
1195
1194
  *
1196
1195
  * @summary Get studio image by name.
@@ -1214,7 +1213,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1214
1213
  * @param {*} [options] Override http request option.
1215
1214
  * @throws {RequiredError}
1216
1215
  */
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 = {}) {
1216
+ getStudioImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
1218
1217
  // verify required parameter 'name' is not null or undefined
1219
1218
  assertParamExists('getStudioImage', 'name', name);
1220
1219
  // verify required parameter 'imageType' is not null or undefined
@@ -1228,7 +1227,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1228
1227
  if (configuration) {
1229
1228
  baseOptions = configuration.baseOptions;
1230
1229
  }
1231
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1230
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1232
1231
  const localVarHeaderParameter = {};
1233
1232
  const localVarQueryParameter = {};
1234
1233
  if (tag !== undefined) {
@@ -1278,12 +1277,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1278
1277
  }
1279
1278
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1280
1279
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1281
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1280
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1282
1281
  return {
1283
1282
  url: toPathString(localVarUrlObj),
1284
1283
  options: localVarRequestOptions,
1285
1284
  };
1286
- }),
1285
+ },
1287
1286
  /**
1288
1287
  *
1289
1288
  * @summary Get studio image by name.
@@ -1307,7 +1306,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1307
1306
  * @param {*} [options] Override http request option.
1308
1307
  * @throws {RequiredError}
1309
1308
  */
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 = {}) {
1309
+ getStudioImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
1311
1310
  // verify required parameter 'name' is not null or undefined
1312
1311
  assertParamExists('getStudioImageByIndex', 'name', name);
1313
1312
  // verify required parameter 'imageType' is not null or undefined
@@ -1324,7 +1323,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1324
1323
  if (configuration) {
1325
1324
  baseOptions = configuration.baseOptions;
1326
1325
  }
1327
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1326
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1328
1327
  const localVarHeaderParameter = {};
1329
1328
  const localVarQueryParameter = {};
1330
1329
  if (tag !== undefined) {
@@ -1371,12 +1370,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1371
1370
  }
1372
1371
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1373
1372
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1374
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1373
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1375
1374
  return {
1376
1375
  url: toPathString(localVarUrlObj),
1377
1376
  options: localVarRequestOptions,
1378
1377
  };
1379
- }),
1378
+ },
1380
1379
  /**
1381
1380
  *
1382
1381
  * @summary Get user profile image.
@@ -1399,7 +1398,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1399
1398
  * @param {*} [options] Override http request option.
1400
1399
  * @throws {RequiredError}
1401
1400
  */
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 = {}) {
1401
+ getUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
1403
1402
  const localVarPath = `/UserImage`;
1404
1403
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1405
1404
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1407,7 +1406,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1407
1406
  if (configuration) {
1408
1407
  baseOptions = configuration.baseOptions;
1409
1408
  }
1410
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1409
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1411
1410
  const localVarHeaderParameter = {};
1412
1411
  const localVarQueryParameter = {};
1413
1412
  if (userId !== undefined) {
@@ -1460,12 +1459,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1460
1459
  }
1461
1460
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1462
1461
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1463
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1462
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1464
1463
  return {
1465
1464
  url: toPathString(localVarUrlObj),
1466
1465
  options: localVarRequestOptions,
1467
1466
  };
1468
- }),
1467
+ },
1469
1468
  /**
1470
1469
  *
1471
1470
  * @summary Get artist image by name.
@@ -1489,7 +1488,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1489
1488
  * @param {*} [options] Override http request option.
1490
1489
  * @throws {RequiredError}
1491
1490
  */
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 = {}) {
1491
+ headArtistImage: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
1493
1492
  // verify required parameter 'name' is not null or undefined
1494
1493
  assertParamExists('headArtistImage', 'name', name);
1495
1494
  // verify required parameter 'imageType' is not null or undefined
@@ -1506,7 +1505,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1506
1505
  if (configuration) {
1507
1506
  baseOptions = configuration.baseOptions;
1508
1507
  }
1509
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1508
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1510
1509
  const localVarHeaderParameter = {};
1511
1510
  const localVarQueryParameter = {};
1512
1511
  if (tag !== undefined) {
@@ -1553,12 +1552,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1553
1552
  }
1554
1553
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1555
1554
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1556
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1555
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1557
1556
  return {
1558
1557
  url: toPathString(localVarUrlObj),
1559
1558
  options: localVarRequestOptions,
1560
1559
  };
1561
- }),
1560
+ },
1562
1561
  /**
1563
1562
  *
1564
1563
  * @summary Get genre image by name.
@@ -1582,7 +1581,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1582
1581
  * @param {*} [options] Override http request option.
1583
1582
  * @throws {RequiredError}
1584
1583
  */
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 = {}) {
1584
+ headGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
1586
1585
  // verify required parameter 'name' is not null or undefined
1587
1586
  assertParamExists('headGenreImage', 'name', name);
1588
1587
  // verify required parameter 'imageType' is not null or undefined
@@ -1596,7 +1595,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1596
1595
  if (configuration) {
1597
1596
  baseOptions = configuration.baseOptions;
1598
1597
  }
1599
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1598
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1600
1599
  const localVarHeaderParameter = {};
1601
1600
  const localVarQueryParameter = {};
1602
1601
  if (tag !== undefined) {
@@ -1646,12 +1645,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1646
1645
  }
1647
1646
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1648
1647
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1649
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1648
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1650
1649
  return {
1651
1650
  url: toPathString(localVarUrlObj),
1652
1651
  options: localVarRequestOptions,
1653
1652
  };
1654
- }),
1653
+ },
1655
1654
  /**
1656
1655
  *
1657
1656
  * @summary Get genre image by name.
@@ -1675,7 +1674,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1675
1674
  * @param {*} [options] Override http request option.
1676
1675
  * @throws {RequiredError}
1677
1676
  */
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 = {}) {
1677
+ headGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
1679
1678
  // verify required parameter 'name' is not null or undefined
1680
1679
  assertParamExists('headGenreImageByIndex', 'name', name);
1681
1680
  // verify required parameter 'imageType' is not null or undefined
@@ -1692,7 +1691,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1692
1691
  if (configuration) {
1693
1692
  baseOptions = configuration.baseOptions;
1694
1693
  }
1695
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1694
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1696
1695
  const localVarHeaderParameter = {};
1697
1696
  const localVarQueryParameter = {};
1698
1697
  if (tag !== undefined) {
@@ -1739,12 +1738,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1739
1738
  }
1740
1739
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1741
1740
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1742
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1741
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1743
1742
  return {
1744
1743
  url: toPathString(localVarUrlObj),
1745
1744
  options: localVarRequestOptions,
1746
1745
  };
1747
- }),
1746
+ },
1748
1747
  /**
1749
1748
  *
1750
1749
  * @summary Gets the item\'s image.
@@ -1768,7 +1767,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1768
1767
  * @param {*} [options] Override http request option.
1769
1768
  * @throws {RequiredError}
1770
1769
  */
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 = {}) {
1770
+ headItemImage: async (itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
1772
1771
  // verify required parameter 'itemId' is not null or undefined
1773
1772
  assertParamExists('headItemImage', 'itemId', itemId);
1774
1773
  // verify required parameter 'imageType' is not null or undefined
@@ -1782,7 +1781,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1782
1781
  if (configuration) {
1783
1782
  baseOptions = configuration.baseOptions;
1784
1783
  }
1785
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1784
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1786
1785
  const localVarHeaderParameter = {};
1787
1786
  const localVarQueryParameter = {};
1788
1787
  if (maxWidth !== undefined) {
@@ -1832,12 +1831,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1832
1831
  }
1833
1832
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1834
1833
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1835
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1834
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1836
1835
  return {
1837
1836
  url: toPathString(localVarUrlObj),
1838
1837
  options: localVarRequestOptions,
1839
1838
  };
1840
- }),
1839
+ },
1841
1840
  /**
1842
1841
  *
1843
1842
  * @summary Gets the item\'s image.
@@ -1861,7 +1860,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1861
1860
  * @param {*} [options] Override http request option.
1862
1861
  * @throws {RequiredError}
1863
1862
  */
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 = {}) {
1863
+ headItemImage2: async (itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
1865
1864
  // verify required parameter 'itemId' is not null or undefined
1866
1865
  assertParamExists('headItemImage2', 'itemId', itemId);
1867
1866
  // verify required parameter 'imageType' is not null or undefined
@@ -1896,7 +1895,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1896
1895
  if (configuration) {
1897
1896
  baseOptions = configuration.baseOptions;
1898
1897
  }
1899
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1898
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1900
1899
  const localVarHeaderParameter = {};
1901
1900
  const localVarQueryParameter = {};
1902
1901
  if (width !== undefined) {
@@ -1925,12 +1924,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
1925
1924
  }
1926
1925
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1927
1926
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1928
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1927
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1929
1928
  return {
1930
1929
  url: toPathString(localVarUrlObj),
1931
1930
  options: localVarRequestOptions,
1932
1931
  };
1933
- }),
1932
+ },
1934
1933
  /**
1935
1934
  *
1936
1935
  * @summary Gets the item\'s image.
@@ -1954,7 +1953,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1954
1953
  * @param {*} [options] Override http request option.
1955
1954
  * @throws {RequiredError}
1956
1955
  */
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 = {}) {
1956
+ headItemImageByIndex: async (itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options = {}) => {
1958
1957
  // verify required parameter 'itemId' is not null or undefined
1959
1958
  assertParamExists('headItemImageByIndex', 'itemId', itemId);
1960
1959
  // verify required parameter 'imageType' is not null or undefined
@@ -1971,7 +1970,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
1971
1970
  if (configuration) {
1972
1971
  baseOptions = configuration.baseOptions;
1973
1972
  }
1974
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1973
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1975
1974
  const localVarHeaderParameter = {};
1976
1975
  const localVarQueryParameter = {};
1977
1976
  if (maxWidth !== undefined) {
@@ -2018,12 +2017,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2018
2017
  }
2019
2018
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2020
2019
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2021
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2020
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2022
2021
  return {
2023
2022
  url: toPathString(localVarUrlObj),
2024
2023
  options: localVarRequestOptions,
2025
2024
  };
2026
- }),
2025
+ },
2027
2026
  /**
2028
2027
  *
2029
2028
  * @summary Get music genre image by name.
@@ -2047,7 +2046,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2047
2046
  * @param {*} [options] Override http request option.
2048
2047
  * @throws {RequiredError}
2049
2048
  */
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 = {}) {
2049
+ headMusicGenreImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
2051
2050
  // verify required parameter 'name' is not null or undefined
2052
2051
  assertParamExists('headMusicGenreImage', 'name', name);
2053
2052
  // verify required parameter 'imageType' is not null or undefined
@@ -2061,7 +2060,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2061
2060
  if (configuration) {
2062
2061
  baseOptions = configuration.baseOptions;
2063
2062
  }
2064
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2063
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2065
2064
  const localVarHeaderParameter = {};
2066
2065
  const localVarQueryParameter = {};
2067
2066
  if (tag !== undefined) {
@@ -2111,12 +2110,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2111
2110
  }
2112
2111
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2113
2112
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2114
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2113
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2115
2114
  return {
2116
2115
  url: toPathString(localVarUrlObj),
2117
2116
  options: localVarRequestOptions,
2118
2117
  };
2119
- }),
2118
+ },
2120
2119
  /**
2121
2120
  *
2122
2121
  * @summary Get music genre image by name.
@@ -2140,7 +2139,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2140
2139
  * @param {*} [options] Override http request option.
2141
2140
  * @throws {RequiredError}
2142
2141
  */
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 = {}) {
2142
+ headMusicGenreImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
2144
2143
  // verify required parameter 'name' is not null or undefined
2145
2144
  assertParamExists('headMusicGenreImageByIndex', 'name', name);
2146
2145
  // verify required parameter 'imageType' is not null or undefined
@@ -2157,7 +2156,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2157
2156
  if (configuration) {
2158
2157
  baseOptions = configuration.baseOptions;
2159
2158
  }
2160
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2159
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2161
2160
  const localVarHeaderParameter = {};
2162
2161
  const localVarQueryParameter = {};
2163
2162
  if (tag !== undefined) {
@@ -2204,12 +2203,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2204
2203
  }
2205
2204
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2206
2205
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2207
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2206
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2208
2207
  return {
2209
2208
  url: toPathString(localVarUrlObj),
2210
2209
  options: localVarRequestOptions,
2211
2210
  };
2212
- }),
2211
+ },
2213
2212
  /**
2214
2213
  *
2215
2214
  * @summary Get person image by name.
@@ -2233,7 +2232,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2233
2232
  * @param {*} [options] Override http request option.
2234
2233
  * @throws {RequiredError}
2235
2234
  */
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 = {}) {
2235
+ headPersonImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
2237
2236
  // verify required parameter 'name' is not null or undefined
2238
2237
  assertParamExists('headPersonImage', 'name', name);
2239
2238
  // verify required parameter 'imageType' is not null or undefined
@@ -2247,7 +2246,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2247
2246
  if (configuration) {
2248
2247
  baseOptions = configuration.baseOptions;
2249
2248
  }
2250
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2249
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2251
2250
  const localVarHeaderParameter = {};
2252
2251
  const localVarQueryParameter = {};
2253
2252
  if (tag !== undefined) {
@@ -2297,12 +2296,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2297
2296
  }
2298
2297
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2299
2298
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2300
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2299
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2301
2300
  return {
2302
2301
  url: toPathString(localVarUrlObj),
2303
2302
  options: localVarRequestOptions,
2304
2303
  };
2305
- }),
2304
+ },
2306
2305
  /**
2307
2306
  *
2308
2307
  * @summary Get person image by name.
@@ -2326,7 +2325,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2326
2325
  * @param {*} [options] Override http request option.
2327
2326
  * @throws {RequiredError}
2328
2327
  */
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 = {}) {
2328
+ headPersonImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
2330
2329
  // verify required parameter 'name' is not null or undefined
2331
2330
  assertParamExists('headPersonImageByIndex', 'name', name);
2332
2331
  // verify required parameter 'imageType' is not null or undefined
@@ -2343,7 +2342,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2343
2342
  if (configuration) {
2344
2343
  baseOptions = configuration.baseOptions;
2345
2344
  }
2346
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2345
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2347
2346
  const localVarHeaderParameter = {};
2348
2347
  const localVarQueryParameter = {};
2349
2348
  if (tag !== undefined) {
@@ -2390,12 +2389,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2390
2389
  }
2391
2390
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2392
2391
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2393
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2392
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2394
2393
  return {
2395
2394
  url: toPathString(localVarUrlObj),
2396
2395
  options: localVarRequestOptions,
2397
2396
  };
2398
- }),
2397
+ },
2399
2398
  /**
2400
2399
  *
2401
2400
  * @summary Get studio image by name.
@@ -2419,7 +2418,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2419
2418
  * @param {*} [options] Override http request option.
2420
2419
  * @throws {RequiredError}
2421
2420
  */
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 = {}) {
2421
+ headStudioImage: async (name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
2423
2422
  // verify required parameter 'name' is not null or undefined
2424
2423
  assertParamExists('headStudioImage', 'name', name);
2425
2424
  // verify required parameter 'imageType' is not null or undefined
@@ -2433,7 +2432,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2433
2432
  if (configuration) {
2434
2433
  baseOptions = configuration.baseOptions;
2435
2434
  }
2436
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2435
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2437
2436
  const localVarHeaderParameter = {};
2438
2437
  const localVarQueryParameter = {};
2439
2438
  if (tag !== undefined) {
@@ -2483,12 +2482,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2483
2482
  }
2484
2483
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2485
2484
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2486
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2485
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2487
2486
  return {
2488
2487
  url: toPathString(localVarUrlObj),
2489
2488
  options: localVarRequestOptions,
2490
2489
  };
2491
- }),
2490
+ },
2492
2491
  /**
2493
2492
  *
2494
2493
  * @summary Get studio image by name.
@@ -2512,7 +2511,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2512
2511
  * @param {*} [options] Override http request option.
2513
2512
  * @throws {RequiredError}
2514
2513
  */
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 = {}) {
2514
+ headStudioImageByIndex: async (name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options = {}) => {
2516
2515
  // verify required parameter 'name' is not null or undefined
2517
2516
  assertParamExists('headStudioImageByIndex', 'name', name);
2518
2517
  // verify required parameter 'imageType' is not null or undefined
@@ -2529,7 +2528,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2529
2528
  if (configuration) {
2530
2529
  baseOptions = configuration.baseOptions;
2531
2530
  }
2532
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2531
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2533
2532
  const localVarHeaderParameter = {};
2534
2533
  const localVarQueryParameter = {};
2535
2534
  if (tag !== undefined) {
@@ -2576,12 +2575,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2576
2575
  }
2577
2576
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2578
2577
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2579
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2578
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2580
2579
  return {
2581
2580
  url: toPathString(localVarUrlObj),
2582
2581
  options: localVarRequestOptions,
2583
2582
  };
2584
- }),
2583
+ },
2585
2584
  /**
2586
2585
  *
2587
2586
  * @summary Get user profile image.
@@ -2604,7 +2603,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2604
2603
  * @param {*} [options] Override http request option.
2605
2604
  * @throws {RequiredError}
2606
2605
  */
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 = {}) {
2606
+ headUserImage: async (userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options = {}) => {
2608
2607
  const localVarPath = `/UserImage`;
2609
2608
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2610
2609
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2612,7 +2611,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2612
2611
  if (configuration) {
2613
2612
  baseOptions = configuration.baseOptions;
2614
2613
  }
2615
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
2614
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
2616
2615
  const localVarHeaderParameter = {};
2617
2616
  const localVarQueryParameter = {};
2618
2617
  if (userId !== undefined) {
@@ -2665,12 +2664,12 @@ const ImageApiAxiosParamCreator = function (configuration) {
2665
2664
  }
2666
2665
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2667
2666
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2668
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2667
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2669
2668
  return {
2670
2669
  url: toPathString(localVarUrlObj),
2671
2670
  options: localVarRequestOptions,
2672
2671
  };
2673
- }),
2672
+ },
2674
2673
  /**
2675
2674
  *
2676
2675
  * @summary Sets the user image.
@@ -2679,7 +2678,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2679
2678
  * @param {*} [options] Override http request option.
2680
2679
  * @throws {RequiredError}
2681
2680
  */
2682
- postUserImage: (userId_4, body_1, ...args_33) => __awaiter(this, [userId_4, body_1, ...args_33], void 0, function* (userId, body, options = {}) {
2681
+ postUserImage: async (userId, body, options = {}) => {
2683
2682
  const localVarPath = `/UserImage`;
2684
2683
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2685
2684
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2687,24 +2686,24 @@ const ImageApiAxiosParamCreator = function (configuration) {
2687
2686
  if (configuration) {
2688
2687
  baseOptions = configuration.baseOptions;
2689
2688
  }
2690
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2689
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2691
2690
  const localVarHeaderParameter = {};
2692
2691
  const localVarQueryParameter = {};
2693
2692
  // authentication CustomAuthentication required
2694
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2693
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2695
2694
  if (userId !== undefined) {
2696
2695
  localVarQueryParameter['userId'] = userId;
2697
2696
  }
2698
2697
  localVarHeaderParameter['Content-Type'] = 'image/_*';
2699
2698
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2700
2699
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2701
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2700
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2702
2701
  localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2703
2702
  return {
2704
2703
  url: toPathString(localVarUrlObj),
2705
2704
  options: localVarRequestOptions,
2706
2705
  };
2707
- }),
2706
+ },
2708
2707
  /**
2709
2708
  *
2710
2709
  * @summary Set item image.
@@ -2714,7 +2713,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2714
2713
  * @param {*} [options] Override http request option.
2715
2714
  * @throws {RequiredError}
2716
2715
  */
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 = {}) {
2716
+ setItemImage: async (itemId, imageType, body, options = {}) => {
2718
2717
  // verify required parameter 'itemId' is not null or undefined
2719
2718
  assertParamExists('setItemImage', 'itemId', itemId);
2720
2719
  // verify required parameter 'imageType' is not null or undefined
@@ -2728,21 +2727,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
2728
2727
  if (configuration) {
2729
2728
  baseOptions = configuration.baseOptions;
2730
2729
  }
2731
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2730
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2732
2731
  const localVarHeaderParameter = {};
2733
2732
  const localVarQueryParameter = {};
2734
2733
  // authentication CustomAuthentication required
2735
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2734
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2736
2735
  localVarHeaderParameter['Content-Type'] = 'image/_*';
2737
2736
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2738
2737
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2739
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2738
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2740
2739
  localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2741
2740
  return {
2742
2741
  url: toPathString(localVarUrlObj),
2743
2742
  options: localVarRequestOptions,
2744
2743
  };
2745
- }),
2744
+ },
2746
2745
  /**
2747
2746
  *
2748
2747
  * @summary Set item image.
@@ -2753,7 +2752,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2753
2752
  * @param {*} [options] Override http request option.
2754
2753
  * @throws {RequiredError}
2755
2754
  */
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 = {}) {
2755
+ setItemImageByIndex: async (itemId, imageType, imageIndex, body, options = {}) => {
2757
2756
  // verify required parameter 'itemId' is not null or undefined
2758
2757
  assertParamExists('setItemImageByIndex', 'itemId', itemId);
2759
2758
  // verify required parameter 'imageType' is not null or undefined
@@ -2770,21 +2769,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
2770
2769
  if (configuration) {
2771
2770
  baseOptions = configuration.baseOptions;
2772
2771
  }
2773
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2772
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2774
2773
  const localVarHeaderParameter = {};
2775
2774
  const localVarQueryParameter = {};
2776
2775
  // authentication CustomAuthentication required
2777
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2776
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2778
2777
  localVarHeaderParameter['Content-Type'] = 'image/_*';
2779
2778
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2780
2779
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2781
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2780
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2782
2781
  localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2783
2782
  return {
2784
2783
  url: toPathString(localVarUrlObj),
2785
2784
  options: localVarRequestOptions,
2786
2785
  };
2787
- }),
2786
+ },
2788
2787
  /**
2789
2788
  *
2790
2789
  * @summary Updates the index for an item image.
@@ -2795,7 +2794,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2795
2794
  * @param {*} [options] Override http request option.
2796
2795
  * @throws {RequiredError}
2797
2796
  */
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 = {}) {
2797
+ updateItemImageIndex: async (itemId, imageType, imageIndex, newIndex, options = {}) => {
2799
2798
  // verify required parameter 'itemId' is not null or undefined
2800
2799
  assertParamExists('updateItemImageIndex', 'itemId', itemId);
2801
2800
  // verify required parameter 'imageType' is not null or undefined
@@ -2814,22 +2813,22 @@ const ImageApiAxiosParamCreator = function (configuration) {
2814
2813
  if (configuration) {
2815
2814
  baseOptions = configuration.baseOptions;
2816
2815
  }
2817
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2816
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2818
2817
  const localVarHeaderParameter = {};
2819
2818
  const localVarQueryParameter = {};
2820
2819
  // authentication CustomAuthentication required
2821
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2820
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2822
2821
  if (newIndex !== undefined) {
2823
2822
  localVarQueryParameter['newIndex'] = newIndex;
2824
2823
  }
2825
2824
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2826
2825
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2827
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2826
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2828
2827
  return {
2829
2828
  url: toPathString(localVarUrlObj),
2830
2829
  options: localVarRequestOptions,
2831
2830
  };
2832
- }),
2831
+ },
2833
2832
  /**
2834
2833
  *
2835
2834
  * @summary Uploads a custom splashscreen. The body is expected to the image contents base64 encoded.
@@ -2837,7 +2836,7 @@ const ImageApiAxiosParamCreator = function (configuration) {
2837
2836
  * @param {*} [options] Override http request option.
2838
2837
  * @throws {RequiredError}
2839
2838
  */
2840
- uploadCustomSplashscreen: (body_4, ...args_37) => __awaiter(this, [body_4, ...args_37], void 0, function* (body, options = {}) {
2839
+ uploadCustomSplashscreen: async (body, options = {}) => {
2841
2840
  const localVarPath = `/Branding/Splashscreen`;
2842
2841
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2843
2842
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2845,21 +2844,21 @@ const ImageApiAxiosParamCreator = function (configuration) {
2845
2844
  if (configuration) {
2846
2845
  baseOptions = configuration.baseOptions;
2847
2846
  }
2848
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2847
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2849
2848
  const localVarHeaderParameter = {};
2850
2849
  const localVarQueryParameter = {};
2851
2850
  // authentication CustomAuthentication required
2852
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2851
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
2853
2852
  localVarHeaderParameter['Content-Type'] = 'image/_*';
2854
2853
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2855
2854
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2856
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2855
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2857
2856
  localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2858
2857
  return {
2859
2858
  url: toPathString(localVarUrlObj),
2860
2859
  options: localVarRequestOptions,
2861
2860
  };
2862
- }),
2861
+ },
2863
2862
  };
2864
2863
  };
2865
2864
  /**
@@ -2875,11 +2874,9 @@ const ImageApiFp = function (configuration) {
2875
2874
  * @param {*} [options] Override http request option.
2876
2875
  * @throws {RequiredError}
2877
2876
  */
2878
- deleteCustomSplashscreen(options) {
2879
- return __awaiter(this, void 0, void 0, function* () {
2880
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCustomSplashscreen(options);
2881
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2882
- });
2877
+ async deleteCustomSplashscreen(options) {
2878
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomSplashscreen(options);
2879
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2883
2880
  },
2884
2881
  /**
2885
2882
  *
@@ -2890,11 +2887,9 @@ const ImageApiFp = function (configuration) {
2890
2887
  * @param {*} [options] Override http request option.
2891
2888
  * @throws {RequiredError}
2892
2889
  */
2893
- deleteItemImage(itemId, imageType, imageIndex, options) {
2894
- return __awaiter(this, void 0, void 0, function* () {
2895
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
2896
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2897
- });
2890
+ async deleteItemImage(itemId, imageType, imageIndex, options) {
2891
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImage(itemId, imageType, imageIndex, options);
2892
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2898
2893
  },
2899
2894
  /**
2900
2895
  *
@@ -2905,11 +2900,9 @@ const ImageApiFp = function (configuration) {
2905
2900
  * @param {*} [options] Override http request option.
2906
2901
  * @throws {RequiredError}
2907
2902
  */
2908
- deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
2909
- return __awaiter(this, void 0, void 0, function* () {
2910
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
2911
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2912
- });
2903
+ async deleteItemImageByIndex(itemId, imageType, imageIndex, options) {
2904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteItemImageByIndex(itemId, imageType, imageIndex, options);
2905
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2913
2906
  },
2914
2907
  /**
2915
2908
  *
@@ -2918,11 +2911,9 @@ const ImageApiFp = function (configuration) {
2918
2911
  * @param {*} [options] Override http request option.
2919
2912
  * @throws {RequiredError}
2920
2913
  */
2921
- deleteUserImage(userId, options) {
2922
- return __awaiter(this, void 0, void 0, function* () {
2923
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUserImage(userId, options);
2924
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2925
- });
2914
+ async deleteUserImage(userId, options) {
2915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUserImage(userId, options);
2916
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2926
2917
  },
2927
2918
  /**
2928
2919
  *
@@ -2947,11 +2938,9 @@ const ImageApiFp = function (configuration) {
2947
2938
  * @param {*} [options] Override http request option.
2948
2939
  * @throws {RequiredError}
2949
2940
  */
2950
- getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2951
- return __awaiter(this, void 0, void 0, function* () {
2952
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
2953
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2954
- });
2941
+ async getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2942
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
2943
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2955
2944
  },
2956
2945
  /**
2957
2946
  *
@@ -2976,11 +2965,9 @@ const ImageApiFp = function (configuration) {
2976
2965
  * @param {*} [options] Override http request option.
2977
2966
  * @throws {RequiredError}
2978
2967
  */
2979
- getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2980
- return __awaiter(this, void 0, void 0, function* () {
2981
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
2982
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2983
- });
2968
+ async getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
2969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
2970
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2984
2971
  },
2985
2972
  /**
2986
2973
  *
@@ -3005,11 +2992,9 @@ const ImageApiFp = function (configuration) {
3005
2992
  * @param {*} [options] Override http request option.
3006
2993
  * @throws {RequiredError}
3007
2994
  */
3008
- getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3009
- return __awaiter(this, void 0, void 0, function* () {
3010
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3011
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3012
- });
2995
+ async getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
2996
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
2997
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3013
2998
  },
3014
2999
  /**
3015
3000
  *
@@ -3034,11 +3019,9 @@ const ImageApiFp = function (configuration) {
3034
3019
  * @param {*} [options] Override http request option.
3035
3020
  * @throws {RequiredError}
3036
3021
  */
3037
- getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3038
- return __awaiter(this, void 0, void 0, function* () {
3039
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3040
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3041
- });
3022
+ async getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3023
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3024
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3042
3025
  },
3043
3026
  /**
3044
3027
  *
@@ -3063,11 +3046,9 @@ const ImageApiFp = function (configuration) {
3063
3046
  * @param {*} [options] Override http request option.
3064
3047
  * @throws {RequiredError}
3065
3048
  */
3066
- getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3067
- return __awaiter(this, void 0, void 0, function* () {
3068
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3069
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3070
- });
3049
+ async getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3051
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3071
3052
  },
3072
3053
  /**
3073
3054
  *
@@ -3092,11 +3073,9 @@ const ImageApiFp = function (configuration) {
3092
3073
  * @param {*} [options] Override http request option.
3093
3074
  * @throws {RequiredError}
3094
3075
  */
3095
- getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3096
- return __awaiter(this, void 0, void 0, function* () {
3097
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3098
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3099
- });
3076
+ async getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3077
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3078
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3100
3079
  },
3101
3080
  /**
3102
3081
  *
@@ -3105,11 +3084,9 @@ const ImageApiFp = function (configuration) {
3105
3084
  * @param {*} [options] Override http request option.
3106
3085
  * @throws {RequiredError}
3107
3086
  */
3108
- getItemImageInfos(itemId, options) {
3109
- return __awaiter(this, void 0, void 0, function* () {
3110
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getItemImageInfos(itemId, options);
3111
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3112
- });
3087
+ async getItemImageInfos(itemId, options) {
3088
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getItemImageInfos(itemId, options);
3089
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3113
3090
  },
3114
3091
  /**
3115
3092
  *
@@ -3134,11 +3111,9 @@ const ImageApiFp = function (configuration) {
3134
3111
  * @param {*} [options] Override http request option.
3135
3112
  * @throws {RequiredError}
3136
3113
  */
3137
- getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3138
- return __awaiter(this, void 0, void 0, function* () {
3139
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3140
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3141
- });
3114
+ async getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3115
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3116
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3142
3117
  },
3143
3118
  /**
3144
3119
  *
@@ -3163,11 +3138,9 @@ const ImageApiFp = function (configuration) {
3163
3138
  * @param {*} [options] Override http request option.
3164
3139
  * @throws {RequiredError}
3165
3140
  */
3166
- getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3167
- return __awaiter(this, void 0, void 0, function* () {
3168
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3169
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3170
- });
3141
+ async getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3142
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3143
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3171
3144
  },
3172
3145
  /**
3173
3146
  *
@@ -3192,11 +3165,9 @@ const ImageApiFp = function (configuration) {
3192
3165
  * @param {*} [options] Override http request option.
3193
3166
  * @throws {RequiredError}
3194
3167
  */
3195
- getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3196
- return __awaiter(this, void 0, void 0, function* () {
3197
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3198
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3199
- });
3168
+ async getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3170
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3200
3171
  },
3201
3172
  /**
3202
3173
  *
@@ -3221,11 +3192,9 @@ const ImageApiFp = function (configuration) {
3221
3192
  * @param {*} [options] Override http request option.
3222
3193
  * @throws {RequiredError}
3223
3194
  */
3224
- getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3225
- return __awaiter(this, void 0, void 0, function* () {
3226
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3227
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3228
- });
3195
+ async getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3196
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3197
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3229
3198
  },
3230
3199
  /**
3231
3200
  *
@@ -3245,11 +3214,9 @@ const ImageApiFp = function (configuration) {
3245
3214
  * @param {*} [options] Override http request option.
3246
3215
  * @throws {RequiredError}
3247
3216
  */
3248
- getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
3249
- return __awaiter(this, void 0, void 0, function* () {
3250
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options);
3251
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3252
- });
3217
+ async getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options) {
3218
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, maxWidth, maxHeight, width, height, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, quality, options);
3219
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3253
3220
  },
3254
3221
  /**
3255
3222
  *
@@ -3274,11 +3241,9 @@ const ImageApiFp = function (configuration) {
3274
3241
  * @param {*} [options] Override http request option.
3275
3242
  * @throws {RequiredError}
3276
3243
  */
3277
- getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3278
- return __awaiter(this, void 0, void 0, function* () {
3279
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3280
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3281
- });
3244
+ async getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3245
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3246
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3282
3247
  },
3283
3248
  /**
3284
3249
  *
@@ -3303,11 +3268,9 @@ const ImageApiFp = function (configuration) {
3303
3268
  * @param {*} [options] Override http request option.
3304
3269
  * @throws {RequiredError}
3305
3270
  */
3306
- getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3307
- return __awaiter(this, void 0, void 0, function* () {
3308
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3309
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3310
- });
3271
+ async getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3273
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3311
3274
  },
3312
3275
  /**
3313
3276
  *
@@ -3331,11 +3294,9 @@ const ImageApiFp = function (configuration) {
3331
3294
  * @param {*} [options] Override http request option.
3332
3295
  * @throws {RequiredError}
3333
3296
  */
3334
- getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3335
- return __awaiter(this, void 0, void 0, function* () {
3336
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3337
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3338
- });
3297
+ async getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3298
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3299
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3339
3300
  },
3340
3301
  /**
3341
3302
  *
@@ -3360,11 +3321,9 @@ const ImageApiFp = function (configuration) {
3360
3321
  * @param {*} [options] Override http request option.
3361
3322
  * @throws {RequiredError}
3362
3323
  */
3363
- headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3364
- return __awaiter(this, void 0, void 0, function* () {
3365
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3366
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3367
- });
3324
+ async headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headArtistImage(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3326
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3368
3327
  },
3369
3328
  /**
3370
3329
  *
@@ -3389,11 +3348,9 @@ const ImageApiFp = function (configuration) {
3389
3348
  * @param {*} [options] Override http request option.
3390
3349
  * @throws {RequiredError}
3391
3350
  */
3392
- headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3393
- return __awaiter(this, void 0, void 0, function* () {
3394
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3395
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3396
- });
3351
+ async headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3352
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3353
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3397
3354
  },
3398
3355
  /**
3399
3356
  *
@@ -3418,11 +3375,9 @@ const ImageApiFp = function (configuration) {
3418
3375
  * @param {*} [options] Override http request option.
3419
3376
  * @throws {RequiredError}
3420
3377
  */
3421
- headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3422
- return __awaiter(this, void 0, void 0, function* () {
3423
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3424
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3425
- });
3378
+ async headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3379
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3380
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3426
3381
  },
3427
3382
  /**
3428
3383
  *
@@ -3447,11 +3402,9 @@ const ImageApiFp = function (configuration) {
3447
3402
  * @param {*} [options] Override http request option.
3448
3403
  * @throws {RequiredError}
3449
3404
  */
3450
- headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3451
- return __awaiter(this, void 0, void 0, function* () {
3452
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3453
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3454
- });
3405
+ async headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3406
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage(itemId, imageType, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, imageIndex, options);
3407
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3455
3408
  },
3456
3409
  /**
3457
3410
  *
@@ -3476,11 +3429,9 @@ const ImageApiFp = function (configuration) {
3476
3429
  * @param {*} [options] Override http request option.
3477
3430
  * @throws {RequiredError}
3478
3431
  */
3479
- headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3480
- return __awaiter(this, void 0, void 0, function* () {
3481
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3482
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3483
- });
3432
+ async headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImage2(itemId, imageType, maxWidth, maxHeight, tag, format, percentPlayed, unplayedCount, imageIndex, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3434
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3484
3435
  },
3485
3436
  /**
3486
3437
  *
@@ -3505,11 +3456,9 @@ const ImageApiFp = function (configuration) {
3505
3456
  * @param {*} [options] Override http request option.
3506
3457
  * @throws {RequiredError}
3507
3458
  */
3508
- headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3509
- return __awaiter(this, void 0, void 0, function* () {
3510
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3511
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3512
- });
3459
+ async headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options) {
3460
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headItemImageByIndex(itemId, imageType, imageIndex, maxWidth, maxHeight, width, height, quality, fillWidth, fillHeight, tag, format, percentPlayed, unplayedCount, blur, backgroundColor, foregroundLayer, options);
3461
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3513
3462
  },
3514
3463
  /**
3515
3464
  *
@@ -3534,11 +3483,9 @@ const ImageApiFp = function (configuration) {
3534
3483
  * @param {*} [options] Override http request option.
3535
3484
  * @throws {RequiredError}
3536
3485
  */
3537
- headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3538
- return __awaiter(this, void 0, void 0, function* () {
3539
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3540
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3541
- });
3486
+ async headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3488
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3542
3489
  },
3543
3490
  /**
3544
3491
  *
@@ -3563,11 +3510,9 @@ const ImageApiFp = function (configuration) {
3563
3510
  * @param {*} [options] Override http request option.
3564
3511
  * @throws {RequiredError}
3565
3512
  */
3566
- headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3567
- return __awaiter(this, void 0, void 0, function* () {
3568
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3569
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3570
- });
3513
+ async headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3514
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headMusicGenreImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3515
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3571
3516
  },
3572
3517
  /**
3573
3518
  *
@@ -3592,11 +3537,9 @@ const ImageApiFp = function (configuration) {
3592
3537
  * @param {*} [options] Override http request option.
3593
3538
  * @throws {RequiredError}
3594
3539
  */
3595
- headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3596
- return __awaiter(this, void 0, void 0, function* () {
3597
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3598
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3599
- });
3540
+ async headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3541
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3542
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3600
3543
  },
3601
3544
  /**
3602
3545
  *
@@ -3621,11 +3564,9 @@ const ImageApiFp = function (configuration) {
3621
3564
  * @param {*} [options] Override http request option.
3622
3565
  * @throws {RequiredError}
3623
3566
  */
3624
- headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3625
- return __awaiter(this, void 0, void 0, function* () {
3626
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3627
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3628
- });
3567
+ async headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headPersonImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3569
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3629
3570
  },
3630
3571
  /**
3631
3572
  *
@@ -3650,11 +3591,9 @@ const ImageApiFp = function (configuration) {
3650
3591
  * @param {*} [options] Override http request option.
3651
3592
  * @throws {RequiredError}
3652
3593
  */
3653
- headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3654
- return __awaiter(this, void 0, void 0, function* () {
3655
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3656
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3657
- });
3594
+ async headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3595
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImage(name, imageType, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3596
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3658
3597
  },
3659
3598
  /**
3660
3599
  *
@@ -3679,11 +3618,9 @@ const ImageApiFp = function (configuration) {
3679
3618
  * @param {*} [options] Override http request option.
3680
3619
  * @throws {RequiredError}
3681
3620
  */
3682
- headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3683
- return __awaiter(this, void 0, void 0, function* () {
3684
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3685
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3686
- });
3621
+ async headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options) {
3622
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headStudioImageByIndex(name, imageType, imageIndex, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, options);
3623
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3687
3624
  },
3688
3625
  /**
3689
3626
  *
@@ -3707,11 +3644,9 @@ const ImageApiFp = function (configuration) {
3707
3644
  * @param {*} [options] Override http request option.
3708
3645
  * @throws {RequiredError}
3709
3646
  */
3710
- headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3711
- return __awaiter(this, void 0, void 0, function* () {
3712
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3713
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3714
- });
3647
+ async headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options) {
3648
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, maxWidth, maxHeight, percentPlayed, unplayedCount, width, height, quality, fillWidth, fillHeight, blur, backgroundColor, foregroundLayer, imageIndex, options);
3649
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3715
3650
  },
3716
3651
  /**
3717
3652
  *
@@ -3721,11 +3656,9 @@ const ImageApiFp = function (configuration) {
3721
3656
  * @param {*} [options] Override http request option.
3722
3657
  * @throws {RequiredError}
3723
3658
  */
3724
- postUserImage(userId, body, options) {
3725
- return __awaiter(this, void 0, void 0, function* () {
3726
- const localVarAxiosArgs = yield localVarAxiosParamCreator.postUserImage(userId, body, options);
3727
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3728
- });
3659
+ async postUserImage(userId, body, options) {
3660
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postUserImage(userId, body, options);
3661
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3729
3662
  },
3730
3663
  /**
3731
3664
  *
@@ -3736,11 +3669,9 @@ const ImageApiFp = function (configuration) {
3736
3669
  * @param {*} [options] Override http request option.
3737
3670
  * @throws {RequiredError}
3738
3671
  */
3739
- setItemImage(itemId, imageType, body, options) {
3740
- return __awaiter(this, void 0, void 0, function* () {
3741
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
3742
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3743
- });
3672
+ async setItemImage(itemId, imageType, body, options) {
3673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImage(itemId, imageType, body, options);
3674
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3744
3675
  },
3745
3676
  /**
3746
3677
  *
@@ -3752,11 +3683,9 @@ const ImageApiFp = function (configuration) {
3752
3683
  * @param {*} [options] Override http request option.
3753
3684
  * @throws {RequiredError}
3754
3685
  */
3755
- setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
3756
- return __awaiter(this, void 0, void 0, function* () {
3757
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
3758
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3759
- });
3686
+ async setItemImageByIndex(itemId, imageType, imageIndex, body, options) {
3687
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setItemImageByIndex(itemId, imageType, imageIndex, body, options);
3688
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3760
3689
  },
3761
3690
  /**
3762
3691
  *
@@ -3768,11 +3697,9 @@ const ImageApiFp = function (configuration) {
3768
3697
  * @param {*} [options] Override http request option.
3769
3698
  * @throws {RequiredError}
3770
3699
  */
3771
- updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
3772
- return __awaiter(this, void 0, void 0, function* () {
3773
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
3774
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3775
- });
3700
+ async updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options) {
3701
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateItemImageIndex(itemId, imageType, imageIndex, newIndex, options);
3702
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3776
3703
  },
3777
3704
  /**
3778
3705
  *
@@ -3781,11 +3708,9 @@ const ImageApiFp = function (configuration) {
3781
3708
  * @param {*} [options] Override http request option.
3782
3709
  * @throws {RequiredError}
3783
3710
  */
3784
- uploadCustomSplashscreen(body, options) {
3785
- return __awaiter(this, void 0, void 0, function* () {
3786
- const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
3787
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3788
- });
3711
+ async uploadCustomSplashscreen(body, options) {
3712
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadCustomSplashscreen(body, options);
3713
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3789
3714
  },
3790
3715
  };
3791
3716
  };