@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.
- package/README.md +5 -0
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.js +8 -11
- package/lib/generated-client/api/api-key-api.js +24 -31
- package/lib/generated-client/api/artists-api.js +24 -31
- package/lib/generated-client/api/audio-api.d.ts +12 -12
- package/lib/generated-client/api/audio-api.js +28 -37
- package/lib/generated-client/api/branding-api.js +21 -28
- package/lib/generated-client/api/channels-api.js +40 -51
- package/lib/generated-client/api/client-log-api.js +8 -11
- package/lib/generated-client/api/collection-api.js +24 -31
- package/lib/generated-client/api/configuration-api.js +40 -51
- package/lib/generated-client/api/dashboard-api.js +15 -20
- package/lib/generated-client/api/devices-api.js +40 -51
- package/lib/generated-client/api/display-preferences-api.js +16 -21
- package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
- package/lib/generated-client/api/dynamic-hls-api.js +72 -91
- package/lib/generated-client/api/environment-api.js +48 -61
- package/lib/generated-client/api/filter-api.js +16 -21
- package/lib/generated-client/api/genres-api.js +16 -21
- package/lib/generated-client/api/hls-segment-api.js +37 -48
- package/lib/generated-client/api/image-api.js +269 -344
- package/lib/generated-client/api/instant-mix-api.js +64 -81
- package/lib/generated-client/api/item-lookup-api.js +88 -111
- package/lib/generated-client/api/item-refresh-api.js +8 -11
- package/lib/generated-client/api/item-update-api.js +24 -31
- package/lib/generated-client/api/items-api.js +32 -41
- package/lib/generated-client/api/library-api.js +200 -251
- package/lib/generated-client/api/library-structure-api.js +64 -81
- package/lib/generated-client/api/live-tv-api.js +326 -409
- package/lib/generated-client/api/localization-api.js +32 -41
- package/lib/generated-client/api/lyrics-api.js +48 -61
- package/lib/generated-client/api/media-info-api.js +40 -51
- package/lib/generated-client/api/movies-api.js +8 -11
- package/lib/generated-client/api/music-genres-api.js +16 -21
- package/lib/generated-client/api/package-api.js +48 -61
- package/lib/generated-client/api/persons-api.js +16 -21
- package/lib/generated-client/api/playlists-api.js +80 -101
- package/lib/generated-client/api/playstate-api.js +72 -91
- package/lib/generated-client/api/plugins-api.js +72 -91
- package/lib/generated-client/api/quick-connect-api.js +29 -38
- package/lib/generated-client/api/remote-image-api.js +24 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
- package/lib/generated-client/api/search-api.js +8 -11
- package/lib/generated-client/api/session-api.js +128 -161
- package/lib/generated-client/api/startup-api.js +56 -71
- package/lib/generated-client/api/studios-api.js +16 -21
- package/lib/generated-client/api/subtitle-api.js +78 -99
- package/lib/generated-client/api/suggestions-api.js +8 -11
- package/lib/generated-client/api/sync-play-api.js +168 -211
- package/lib/generated-client/api/system-api.js +77 -98
- package/lib/generated-client/api/time-sync-api.js +7 -10
- package/lib/generated-client/api/tmdb-api.js +8 -11
- package/lib/generated-client/api/trailers-api.js +8 -11
- package/lib/generated-client/api/trickplay-api.js +16 -21
- package/lib/generated-client/api/tv-shows-api.js +32 -41
- package/lib/generated-client/api/universal-audio-api.js +16 -21
- package/lib/generated-client/api/user-api.js +107 -136
- package/lib/generated-client/api/user-library-api.js +80 -101
- package/lib/generated-client/api/user-views-api.js +16 -21
- package/lib/generated-client/api/video-attachments-api.js +7 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +52 -67
- package/lib/generated-client/api/years-api.js +16 -21
- package/lib/generated-client/common.js +8 -11
- package/lib/generated-client/models/search-hint.d.ts +1 -1
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +10 -10
- 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 { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
@@ -35,7 +34,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
35
34
|
* @param {*} [options] Override http request option.
|
|
36
35
|
* @throws {RequiredError}
|
|
37
36
|
*/
|
|
38
|
-
getInstantMixFromAlbum:
|
|
37
|
+
getInstantMixFromAlbum: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
39
38
|
// verify required parameter 'itemId' is not null or undefined
|
|
40
39
|
assertParamExists('getInstantMixFromAlbum', 'itemId', itemId);
|
|
41
40
|
const localVarPath = `/Albums/{itemId}/InstantMix`
|
|
@@ -46,11 +45,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
46
45
|
if (configuration) {
|
|
47
46
|
baseOptions = configuration.baseOptions;
|
|
48
47
|
}
|
|
49
|
-
const localVarRequestOptions =
|
|
48
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
50
49
|
const localVarHeaderParameter = {};
|
|
51
50
|
const localVarQueryParameter = {};
|
|
52
51
|
// authentication CustomAuthentication required
|
|
53
|
-
|
|
52
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
54
53
|
if (userId !== undefined) {
|
|
55
54
|
localVarQueryParameter['userId'] = userId;
|
|
56
55
|
}
|
|
@@ -74,12 +73,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
74
73
|
}
|
|
75
74
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
75
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
-
localVarRequestOptions.headers =
|
|
76
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
78
77
|
return {
|
|
79
78
|
url: toPathString(localVarUrlObj),
|
|
80
79
|
options: localVarRequestOptions,
|
|
81
80
|
};
|
|
82
|
-
}
|
|
81
|
+
},
|
|
83
82
|
/**
|
|
84
83
|
*
|
|
85
84
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -94,7 +93,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
94
93
|
* @param {*} [options] Override http request option.
|
|
95
94
|
* @throws {RequiredError}
|
|
96
95
|
*/
|
|
97
|
-
getInstantMixFromArtists:
|
|
96
|
+
getInstantMixFromArtists: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
98
97
|
// verify required parameter 'itemId' is not null or undefined
|
|
99
98
|
assertParamExists('getInstantMixFromArtists', 'itemId', itemId);
|
|
100
99
|
const localVarPath = `/Artists/{itemId}/InstantMix`
|
|
@@ -105,11 +104,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
105
104
|
if (configuration) {
|
|
106
105
|
baseOptions = configuration.baseOptions;
|
|
107
106
|
}
|
|
108
|
-
const localVarRequestOptions =
|
|
107
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
109
108
|
const localVarHeaderParameter = {};
|
|
110
109
|
const localVarQueryParameter = {};
|
|
111
110
|
// authentication CustomAuthentication required
|
|
112
|
-
|
|
111
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
113
112
|
if (userId !== undefined) {
|
|
114
113
|
localVarQueryParameter['userId'] = userId;
|
|
115
114
|
}
|
|
@@ -133,12 +132,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
133
132
|
}
|
|
134
133
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
135
134
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
136
|
-
localVarRequestOptions.headers =
|
|
135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
137
136
|
return {
|
|
138
137
|
url: toPathString(localVarUrlObj),
|
|
139
138
|
options: localVarRequestOptions,
|
|
140
139
|
};
|
|
141
|
-
}
|
|
140
|
+
},
|
|
142
141
|
/**
|
|
143
142
|
*
|
|
144
143
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -154,7 +153,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
154
153
|
* @deprecated
|
|
155
154
|
* @throws {RequiredError}
|
|
156
155
|
*/
|
|
157
|
-
getInstantMixFromArtists2:
|
|
156
|
+
getInstantMixFromArtists2: async (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
158
157
|
// verify required parameter 'id' is not null or undefined
|
|
159
158
|
assertParamExists('getInstantMixFromArtists2', 'id', id);
|
|
160
159
|
const localVarPath = `/Artists/InstantMix`;
|
|
@@ -164,11 +163,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
164
163
|
if (configuration) {
|
|
165
164
|
baseOptions = configuration.baseOptions;
|
|
166
165
|
}
|
|
167
|
-
const localVarRequestOptions =
|
|
166
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
168
167
|
const localVarHeaderParameter = {};
|
|
169
168
|
const localVarQueryParameter = {};
|
|
170
169
|
// authentication CustomAuthentication required
|
|
171
|
-
|
|
170
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
172
171
|
if (id !== undefined) {
|
|
173
172
|
localVarQueryParameter['id'] = id;
|
|
174
173
|
}
|
|
@@ -195,12 +194,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
195
194
|
}
|
|
196
195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
-
localVarRequestOptions.headers =
|
|
197
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
199
198
|
return {
|
|
200
199
|
url: toPathString(localVarUrlObj),
|
|
201
200
|
options: localVarRequestOptions,
|
|
202
201
|
};
|
|
203
|
-
}
|
|
202
|
+
},
|
|
204
203
|
/**
|
|
205
204
|
*
|
|
206
205
|
* @summary Creates an instant playlist based on a given item.
|
|
@@ -215,7 +214,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
215
214
|
* @param {*} [options] Override http request option.
|
|
216
215
|
* @throws {RequiredError}
|
|
217
216
|
*/
|
|
218
|
-
getInstantMixFromItem:
|
|
217
|
+
getInstantMixFromItem: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
219
218
|
// verify required parameter 'itemId' is not null or undefined
|
|
220
219
|
assertParamExists('getInstantMixFromItem', 'itemId', itemId);
|
|
221
220
|
const localVarPath = `/Items/{itemId}/InstantMix`
|
|
@@ -226,11 +225,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
226
225
|
if (configuration) {
|
|
227
226
|
baseOptions = configuration.baseOptions;
|
|
228
227
|
}
|
|
229
|
-
const localVarRequestOptions =
|
|
228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
230
229
|
const localVarHeaderParameter = {};
|
|
231
230
|
const localVarQueryParameter = {};
|
|
232
231
|
// authentication CustomAuthentication required
|
|
233
|
-
|
|
232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
234
233
|
if (userId !== undefined) {
|
|
235
234
|
localVarQueryParameter['userId'] = userId;
|
|
236
235
|
}
|
|
@@ -254,12 +253,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
254
253
|
}
|
|
255
254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
-
localVarRequestOptions.headers =
|
|
256
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
258
257
|
return {
|
|
259
258
|
url: toPathString(localVarUrlObj),
|
|
260
259
|
options: localVarRequestOptions,
|
|
261
260
|
};
|
|
262
|
-
}
|
|
261
|
+
},
|
|
263
262
|
/**
|
|
264
263
|
*
|
|
265
264
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -274,7 +273,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
274
273
|
* @param {*} [options] Override http request option.
|
|
275
274
|
* @throws {RequiredError}
|
|
276
275
|
*/
|
|
277
|
-
getInstantMixFromMusicGenreById:
|
|
276
|
+
getInstantMixFromMusicGenreById: async (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
278
277
|
// verify required parameter 'id' is not null or undefined
|
|
279
278
|
assertParamExists('getInstantMixFromMusicGenreById', 'id', id);
|
|
280
279
|
const localVarPath = `/MusicGenres/InstantMix`;
|
|
@@ -284,11 +283,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
284
283
|
if (configuration) {
|
|
285
284
|
baseOptions = configuration.baseOptions;
|
|
286
285
|
}
|
|
287
|
-
const localVarRequestOptions =
|
|
286
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
288
287
|
const localVarHeaderParameter = {};
|
|
289
288
|
const localVarQueryParameter = {};
|
|
290
289
|
// authentication CustomAuthentication required
|
|
291
|
-
|
|
290
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
292
291
|
if (id !== undefined) {
|
|
293
292
|
localVarQueryParameter['id'] = id;
|
|
294
293
|
}
|
|
@@ -315,12 +314,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
315
314
|
}
|
|
316
315
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
317
316
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
318
|
-
localVarRequestOptions.headers =
|
|
317
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
319
318
|
return {
|
|
320
319
|
url: toPathString(localVarUrlObj),
|
|
321
320
|
options: localVarRequestOptions,
|
|
322
321
|
};
|
|
323
|
-
}
|
|
322
|
+
},
|
|
324
323
|
/**
|
|
325
324
|
*
|
|
326
325
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -335,7 +334,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
335
334
|
* @param {*} [options] Override http request option.
|
|
336
335
|
* @throws {RequiredError}
|
|
337
336
|
*/
|
|
338
|
-
getInstantMixFromMusicGenreByName:
|
|
337
|
+
getInstantMixFromMusicGenreByName: async (name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
339
338
|
// verify required parameter 'name' is not null or undefined
|
|
340
339
|
assertParamExists('getInstantMixFromMusicGenreByName', 'name', name);
|
|
341
340
|
const localVarPath = `/MusicGenres/{name}/InstantMix`
|
|
@@ -346,11 +345,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
346
345
|
if (configuration) {
|
|
347
346
|
baseOptions = configuration.baseOptions;
|
|
348
347
|
}
|
|
349
|
-
const localVarRequestOptions =
|
|
348
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
350
349
|
const localVarHeaderParameter = {};
|
|
351
350
|
const localVarQueryParameter = {};
|
|
352
351
|
// authentication CustomAuthentication required
|
|
353
|
-
|
|
352
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
354
353
|
if (userId !== undefined) {
|
|
355
354
|
localVarQueryParameter['userId'] = userId;
|
|
356
355
|
}
|
|
@@ -374,12 +373,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
374
373
|
}
|
|
375
374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
376
375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
377
|
-
localVarRequestOptions.headers =
|
|
376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
378
377
|
return {
|
|
379
378
|
url: toPathString(localVarUrlObj),
|
|
380
379
|
options: localVarRequestOptions,
|
|
381
380
|
};
|
|
382
|
-
}
|
|
381
|
+
},
|
|
383
382
|
/**
|
|
384
383
|
*
|
|
385
384
|
* @summary Creates an instant playlist based on a given playlist.
|
|
@@ -394,7 +393,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
394
393
|
* @param {*} [options] Override http request option.
|
|
395
394
|
* @throws {RequiredError}
|
|
396
395
|
*/
|
|
397
|
-
getInstantMixFromPlaylist:
|
|
396
|
+
getInstantMixFromPlaylist: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
398
397
|
// verify required parameter 'itemId' is not null or undefined
|
|
399
398
|
assertParamExists('getInstantMixFromPlaylist', 'itemId', itemId);
|
|
400
399
|
const localVarPath = `/Playlists/{itemId}/InstantMix`
|
|
@@ -405,11 +404,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
405
404
|
if (configuration) {
|
|
406
405
|
baseOptions = configuration.baseOptions;
|
|
407
406
|
}
|
|
408
|
-
const localVarRequestOptions =
|
|
407
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
409
408
|
const localVarHeaderParameter = {};
|
|
410
409
|
const localVarQueryParameter = {};
|
|
411
410
|
// authentication CustomAuthentication required
|
|
412
|
-
|
|
411
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
413
412
|
if (userId !== undefined) {
|
|
414
413
|
localVarQueryParameter['userId'] = userId;
|
|
415
414
|
}
|
|
@@ -433,12 +432,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
433
432
|
}
|
|
434
433
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
434
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
|
-
localVarRequestOptions.headers =
|
|
435
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
437
436
|
return {
|
|
438
437
|
url: toPathString(localVarUrlObj),
|
|
439
438
|
options: localVarRequestOptions,
|
|
440
439
|
};
|
|
441
|
-
}
|
|
440
|
+
},
|
|
442
441
|
/**
|
|
443
442
|
*
|
|
444
443
|
* @summary Creates an instant playlist based on a given song.
|
|
@@ -453,7 +452,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
453
452
|
* @param {*} [options] Override http request option.
|
|
454
453
|
* @throws {RequiredError}
|
|
455
454
|
*/
|
|
456
|
-
getInstantMixFromSong:
|
|
455
|
+
getInstantMixFromSong: async (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) => {
|
|
457
456
|
// verify required parameter 'itemId' is not null or undefined
|
|
458
457
|
assertParamExists('getInstantMixFromSong', 'itemId', itemId);
|
|
459
458
|
const localVarPath = `/Songs/{itemId}/InstantMix`
|
|
@@ -464,11 +463,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
464
463
|
if (configuration) {
|
|
465
464
|
baseOptions = configuration.baseOptions;
|
|
466
465
|
}
|
|
467
|
-
const localVarRequestOptions =
|
|
466
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
468
467
|
const localVarHeaderParameter = {};
|
|
469
468
|
const localVarQueryParameter = {};
|
|
470
469
|
// authentication CustomAuthentication required
|
|
471
|
-
|
|
470
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
472
471
|
if (userId !== undefined) {
|
|
473
472
|
localVarQueryParameter['userId'] = userId;
|
|
474
473
|
}
|
|
@@ -492,12 +491,12 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
492
491
|
}
|
|
493
492
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
494
493
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
495
|
-
localVarRequestOptions.headers =
|
|
494
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
496
495
|
return {
|
|
497
496
|
url: toPathString(localVarUrlObj),
|
|
498
497
|
options: localVarRequestOptions,
|
|
499
498
|
};
|
|
500
|
-
}
|
|
499
|
+
},
|
|
501
500
|
};
|
|
502
501
|
};
|
|
503
502
|
/**
|
|
@@ -521,11 +520,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
521
520
|
* @param {*} [options] Override http request option.
|
|
522
521
|
* @throws {RequiredError}
|
|
523
522
|
*/
|
|
524
|
-
getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
528
|
-
});
|
|
523
|
+
async getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
524
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
525
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
529
526
|
},
|
|
530
527
|
/**
|
|
531
528
|
*
|
|
@@ -541,11 +538,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
541
538
|
* @param {*} [options] Override http request option.
|
|
542
539
|
* @throws {RequiredError}
|
|
543
540
|
*/
|
|
544
|
-
getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
548
|
-
});
|
|
541
|
+
async getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
543
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
549
544
|
},
|
|
550
545
|
/**
|
|
551
546
|
*
|
|
@@ -562,11 +557,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
562
557
|
* @deprecated
|
|
563
558
|
* @throws {RequiredError}
|
|
564
559
|
*/
|
|
565
|
-
getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
569
|
-
});
|
|
560
|
+
async getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromArtists2(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
562
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
570
563
|
},
|
|
571
564
|
/**
|
|
572
565
|
*
|
|
@@ -582,11 +575,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
582
575
|
* @param {*} [options] Override http request option.
|
|
583
576
|
* @throws {RequiredError}
|
|
584
577
|
*/
|
|
585
|
-
getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
589
|
-
});
|
|
578
|
+
async getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
580
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
590
581
|
},
|
|
591
582
|
/**
|
|
592
583
|
*
|
|
@@ -602,11 +593,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
602
593
|
* @param {*} [options] Override http request option.
|
|
603
594
|
* @throws {RequiredError}
|
|
604
595
|
*/
|
|
605
|
-
getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
609
|
-
});
|
|
596
|
+
async getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromMusicGenreById(id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
598
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
610
599
|
},
|
|
611
600
|
/**
|
|
612
601
|
*
|
|
@@ -622,11 +611,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
622
611
|
* @param {*} [options] Override http request option.
|
|
623
612
|
* @throws {RequiredError}
|
|
624
613
|
*/
|
|
625
|
-
getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
629
|
-
});
|
|
614
|
+
async getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromMusicGenreByName(name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
616
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
630
617
|
},
|
|
631
618
|
/**
|
|
632
619
|
*
|
|
@@ -642,11 +629,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
642
629
|
* @param {*} [options] Override http request option.
|
|
643
630
|
* @throws {RequiredError}
|
|
644
631
|
*/
|
|
645
|
-
getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
649
|
-
});
|
|
632
|
+
async getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
650
635
|
},
|
|
651
636
|
/**
|
|
652
637
|
*
|
|
@@ -662,11 +647,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
662
647
|
* @param {*} [options] Override http request option.
|
|
663
648
|
* @throws {RequiredError}
|
|
664
649
|
*/
|
|
665
|
-
getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
669
|
-
});
|
|
650
|
+
async getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
652
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
670
653
|
},
|
|
671
654
|
};
|
|
672
655
|
};
|