@jellyfin/sdk 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +127 -0
- package/README.md +2 -45
- package/lib/api.d.ts +7 -0
- package/lib/api.js +13 -0
- package/lib/generated-client/api/activity-log-api.d.ts +1 -1
- package/lib/generated-client/api/api-key-api.d.ts +3 -3
- package/lib/generated-client/api/artists-api.d.ts +3 -3
- package/lib/generated-client/api/audio-api.d.ts +10 -10
- package/lib/generated-client/api/audio-api.js +4 -4
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +6 -6
- package/lib/generated-client/api/channels-api.d.ts +5 -5
- package/lib/generated-client/api/client-log-api.d.ts +1 -1
- package/lib/generated-client/api/collection-api.d.ts +3 -3
- package/lib/generated-client/api/configuration-api.d.ts +52 -5
- package/lib/generated-client/api/configuration-api.js +68 -1
- package/lib/generated-client/api/dashboard-api.d.ts +2 -2
- package/lib/generated-client/api/dashboard-api.js +1 -1
- package/lib/generated-client/api/devices-api.d.ts +5 -5
- package/lib/generated-client/api/devices-api.js +1 -1
- package/lib/generated-client/api/display-preferences-api.d.ts +2 -2
- package/lib/generated-client/api/display-preferences-api.js +1 -1
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +9 -9
- package/lib/generated-client/api/environment-api.d.ts +6 -6
- package/lib/generated-client/api/environment-api.js +1 -1
- package/lib/generated-client/api/filter-api.d.ts +2 -2
- package/lib/generated-client/api/genres-api.d.ts +2 -2
- package/lib/generated-client/api/genres-api.js +1 -1
- package/lib/generated-client/api/hls-segment-api.d.ts +5 -5
- package/lib/generated-client/api/hls-segment-api.js +1 -1
- package/lib/generated-client/api/image-api.d.ts +43 -331
- package/lib/generated-client/api/image-api.js +16 -196
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +8 -8
- package/lib/generated-client/api/item-lookup-api.d.ts +11 -11
- package/lib/generated-client/api/item-refresh-api.d.ts +11 -3
- package/lib/generated-client/api/item-refresh-api.js +10 -5
- package/lib/generated-client/api/item-update-api.d.ts +3 -3
- package/lib/generated-client/api/items-api.d.ts +4 -4
- package/lib/generated-client/api/items-api.js +1 -1
- package/lib/generated-client/api/library-api.d.ts +25 -25
- package/lib/generated-client/api/library-api.js +1 -1
- package/lib/generated-client/api/library-structure-api.d.ts +8 -8
- package/lib/generated-client/api/live-tv-api.d.ts +55 -47
- package/lib/generated-client/api/live-tv-api.js +15 -10
- package/lib/generated-client/api/localization-api.d.ts +4 -4
- package/lib/generated-client/api/lyrics-api.d.ts +6 -6
- package/lib/generated-client/api/lyrics-api.js +1 -1
- package/lib/generated-client/api/media-info-api.d.ts +5 -5
- package/lib/generated-client/api/media-info-api.js +1 -1
- package/lib/generated-client/api/media-segments-api.d.ts +1 -1
- package/lib/generated-client/api/movies-api.d.ts +1 -1
- package/lib/generated-client/api/music-genres-api.d.ts +2 -2
- package/lib/generated-client/api/music-genres-api.js +1 -1
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +6 -6
- package/lib/generated-client/api/package-api.js +1 -1
- package/lib/generated-client/api/persons-api.d.ts +2 -2
- package/lib/generated-client/api/persons-api.js +1 -1
- package/lib/generated-client/api/playlists-api.d.ts +11 -11
- package/lib/generated-client/api/playlists-api.js +1 -1
- package/lib/generated-client/api/playstate-api.d.ts +21 -9
- package/lib/generated-client/api/playstate-api.js +13 -1
- package/lib/generated-client/api/plugins-api.d.ts +9 -9
- package/lib/generated-client/api/quick-connect-api.d.ts +4 -4
- package/lib/generated-client/api/quick-connect-api.js +1 -1
- package/lib/generated-client/api/remote-image-api.d.ts +3 -3
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +5 -5
- package/lib/generated-client/api/scheduled-tasks-api.js +1 -1
- package/lib/generated-client/api/search-api.d.ts +1 -1
- package/lib/generated-client/api/session-api.d.ts +16 -16
- package/lib/generated-client/api/startup-api.d.ts +7 -7
- package/lib/generated-client/api/startup-api.js +1 -1
- package/lib/generated-client/api/studios-api.d.ts +2 -2
- package/lib/generated-client/api/studios-api.js +1 -1
- package/lib/generated-client/api/subtitle-api.d.ts +10 -10
- package/lib/generated-client/api/subtitle-api.js +1 -1
- package/lib/generated-client/api/suggestions-api.d.ts +1 -1
- package/lib/generated-client/api/sync-play-api.d.ts +69 -23
- package/lib/generated-client/api/sync-play-api.js +67 -1
- package/lib/generated-client/api/system-api.d.ts +18 -22
- package/lib/generated-client/api/system-api.js +13 -17
- package/lib/generated-client/api/time-sync-api.d.ts +1 -1
- package/lib/generated-client/api/tmdb-api.d.ts +1 -1
- package/lib/generated-client/api/trailers-api.d.ts +1 -1
- package/lib/generated-client/api/trickplay-api.d.ts +2 -2
- package/lib/generated-client/api/tv-shows-api.d.ts +4 -4
- package/lib/generated-client/api/tv-shows-api.js +1 -1
- package/lib/generated-client/api/universal-audio-api.d.ts +2 -2
- package/lib/generated-client/api/user-api.d.ts +14 -14
- package/lib/generated-client/api/user-api.js +1 -1
- package/lib/generated-client/api/user-library-api.d.ts +10 -10
- package/lib/generated-client/api/user-views-api.d.ts +2 -2
- package/lib/generated-client/api/video-attachments-api.d.ts +1 -1
- package/lib/generated-client/api/videos-api.d.ts +7 -7
- package/lib/generated-client/api/years-api.d.ts +2 -2
- package/lib/generated-client/api/years-api.js +1 -1
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/common.d.ts +1 -1
- package/lib/generated-client/index.js +3 -0
- package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto.d.ts +3 -3
- package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
- package/lib/generated-client/models/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- package/lib/generated-client/models/external-id-info.d.ts +0 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- package/lib/generated-client/models/group-update-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +19 -14
- package/lib/generated-client/models/index.d.ts +25 -8
- package/lib/generated-client/models/index.js +2 -0
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-options-result-dto.d.ts +6 -0
- package/lib/generated-client/models/library-options.d.ts +1 -1
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- package/lib/generated-client/models/media-segment-type.d.ts +1 -1
- package/lib/generated-client/models/media-segment-type.js +1 -1
- package/lib/generated-client/models/media-stream.d.ts +6 -0
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +2 -2
- package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +1 -1
- package/lib/generated-client/models/plugin-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/server-configuration.d.ts +21 -9
- package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +7 -0
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +4 -3
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +1 -1
- package/lib/generated-client/models/transcoding-profile.d.ts +1 -1
- package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/user-policy.d.ts +6 -0
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- package/lib/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -16
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists,
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -1122,20 +1122,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1122
|
* @summary Generates or gets the splashscreen.
|
|
1123
1123
|
* @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
|
|
1124
1124
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
1125
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
1126
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
1127
|
-
* @param {number} [width] The fixed image width to return.
|
|
1128
|
-
* @param {number} [height] The fixed image height to return.
|
|
1129
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
1130
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
1131
|
-
* @param {number} [blur] Blur image.
|
|
1132
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
1133
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
1134
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
1135
1125
|
* @param {*} [options] Override http request option.
|
|
1136
1126
|
* @throws {RequiredError}
|
|
1137
1127
|
*/
|
|
1138
|
-
getSplashscreen: async (tag, format,
|
|
1128
|
+
getSplashscreen: async (tag, format, options = {}) => {
|
|
1139
1129
|
const localVarPath = `/Branding/Splashscreen`;
|
|
1140
1130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1141
1131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1152,36 +1142,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1152
1142
|
if (format !== undefined) {
|
|
1153
1143
|
localVarQueryParameter['format'] = format;
|
|
1154
1144
|
}
|
|
1155
|
-
if (maxWidth !== undefined) {
|
|
1156
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
1157
|
-
}
|
|
1158
|
-
if (maxHeight !== undefined) {
|
|
1159
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
1160
|
-
}
|
|
1161
|
-
if (width !== undefined) {
|
|
1162
|
-
localVarQueryParameter['width'] = width;
|
|
1163
|
-
}
|
|
1164
|
-
if (height !== undefined) {
|
|
1165
|
-
localVarQueryParameter['height'] = height;
|
|
1166
|
-
}
|
|
1167
|
-
if (fillWidth !== undefined) {
|
|
1168
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
1169
|
-
}
|
|
1170
|
-
if (fillHeight !== undefined) {
|
|
1171
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
1172
|
-
}
|
|
1173
|
-
if (blur !== undefined) {
|
|
1174
|
-
localVarQueryParameter['blur'] = blur;
|
|
1175
|
-
}
|
|
1176
|
-
if (backgroundColor !== undefined) {
|
|
1177
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
1178
|
-
}
|
|
1179
|
-
if (foregroundLayer !== undefined) {
|
|
1180
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
1181
|
-
}
|
|
1182
|
-
if (quality !== undefined) {
|
|
1183
|
-
localVarQueryParameter['quality'] = quality;
|
|
1184
|
-
}
|
|
1185
1145
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1186
1146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1187
1147
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1382,23 +1342,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1382
1342
|
* @param {string} [userId] User id.
|
|
1383
1343
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
1384
1344
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
1385
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
1386
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
1387
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
1388
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
1389
|
-
* @param {number} [width] The fixed image width to return.
|
|
1390
|
-
* @param {number} [height] The fixed image height to return.
|
|
1391
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
1392
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
1393
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
1394
|
-
* @param {number} [blur] Optional. Blur image.
|
|
1395
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
1396
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
1397
|
-
* @param {number} [imageIndex] Image index.
|
|
1398
1345
|
* @param {*} [options] Override http request option.
|
|
1399
1346
|
* @throws {RequiredError}
|
|
1400
1347
|
*/
|
|
1401
|
-
getUserImage: async (userId, tag, format,
|
|
1348
|
+
getUserImage: async (userId, tag, format, options = {}) => {
|
|
1402
1349
|
const localVarPath = `/UserImage`;
|
|
1403
1350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1404
1351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1418,45 +1365,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
1418
1365
|
if (format !== undefined) {
|
|
1419
1366
|
localVarQueryParameter['format'] = format;
|
|
1420
1367
|
}
|
|
1421
|
-
if (maxWidth !== undefined) {
|
|
1422
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
1423
|
-
}
|
|
1424
|
-
if (maxHeight !== undefined) {
|
|
1425
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
1426
|
-
}
|
|
1427
|
-
if (percentPlayed !== undefined) {
|
|
1428
|
-
localVarQueryParameter['percentPlayed'] = percentPlayed;
|
|
1429
|
-
}
|
|
1430
|
-
if (unplayedCount !== undefined) {
|
|
1431
|
-
localVarQueryParameter['unplayedCount'] = unplayedCount;
|
|
1432
|
-
}
|
|
1433
|
-
if (width !== undefined) {
|
|
1434
|
-
localVarQueryParameter['width'] = width;
|
|
1435
|
-
}
|
|
1436
|
-
if (height !== undefined) {
|
|
1437
|
-
localVarQueryParameter['height'] = height;
|
|
1438
|
-
}
|
|
1439
|
-
if (quality !== undefined) {
|
|
1440
|
-
localVarQueryParameter['quality'] = quality;
|
|
1441
|
-
}
|
|
1442
|
-
if (fillWidth !== undefined) {
|
|
1443
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
1444
|
-
}
|
|
1445
|
-
if (fillHeight !== undefined) {
|
|
1446
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
1447
|
-
}
|
|
1448
|
-
if (blur !== undefined) {
|
|
1449
|
-
localVarQueryParameter['blur'] = blur;
|
|
1450
|
-
}
|
|
1451
|
-
if (backgroundColor !== undefined) {
|
|
1452
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
1453
|
-
}
|
|
1454
|
-
if (foregroundLayer !== undefined) {
|
|
1455
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
1456
|
-
}
|
|
1457
|
-
if (imageIndex !== undefined) {
|
|
1458
|
-
localVarQueryParameter['imageIndex'] = imageIndex;
|
|
1459
|
-
}
|
|
1460
1368
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1461
1369
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1462
1370
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -2587,23 +2495,10 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2587
2495
|
* @param {string} [userId] User id.
|
|
2588
2496
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
2589
2497
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
2590
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
2591
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
2592
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
2593
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
2594
|
-
* @param {number} [width] The fixed image width to return.
|
|
2595
|
-
* @param {number} [height] The fixed image height to return.
|
|
2596
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
2597
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
2598
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
2599
|
-
* @param {number} [blur] Optional. Blur image.
|
|
2600
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
2601
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
2602
|
-
* @param {number} [imageIndex] Image index.
|
|
2603
2498
|
* @param {*} [options] Override http request option.
|
|
2604
2499
|
* @throws {RequiredError}
|
|
2605
2500
|
*/
|
|
2606
|
-
headUserImage: async (userId, tag, format,
|
|
2501
|
+
headUserImage: async (userId, tag, format, options = {}) => {
|
|
2607
2502
|
const localVarPath = `/UserImage`;
|
|
2608
2503
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2609
2504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2623,45 +2518,6 @@ const ImageApiAxiosParamCreator = function (configuration) {
|
|
|
2623
2518
|
if (format !== undefined) {
|
|
2624
2519
|
localVarQueryParameter['format'] = format;
|
|
2625
2520
|
}
|
|
2626
|
-
if (maxWidth !== undefined) {
|
|
2627
|
-
localVarQueryParameter['maxWidth'] = maxWidth;
|
|
2628
|
-
}
|
|
2629
|
-
if (maxHeight !== undefined) {
|
|
2630
|
-
localVarQueryParameter['maxHeight'] = maxHeight;
|
|
2631
|
-
}
|
|
2632
|
-
if (percentPlayed !== undefined) {
|
|
2633
|
-
localVarQueryParameter['percentPlayed'] = percentPlayed;
|
|
2634
|
-
}
|
|
2635
|
-
if (unplayedCount !== undefined) {
|
|
2636
|
-
localVarQueryParameter['unplayedCount'] = unplayedCount;
|
|
2637
|
-
}
|
|
2638
|
-
if (width !== undefined) {
|
|
2639
|
-
localVarQueryParameter['width'] = width;
|
|
2640
|
-
}
|
|
2641
|
-
if (height !== undefined) {
|
|
2642
|
-
localVarQueryParameter['height'] = height;
|
|
2643
|
-
}
|
|
2644
|
-
if (quality !== undefined) {
|
|
2645
|
-
localVarQueryParameter['quality'] = quality;
|
|
2646
|
-
}
|
|
2647
|
-
if (fillWidth !== undefined) {
|
|
2648
|
-
localVarQueryParameter['fillWidth'] = fillWidth;
|
|
2649
|
-
}
|
|
2650
|
-
if (fillHeight !== undefined) {
|
|
2651
|
-
localVarQueryParameter['fillHeight'] = fillHeight;
|
|
2652
|
-
}
|
|
2653
|
-
if (blur !== undefined) {
|
|
2654
|
-
localVarQueryParameter['blur'] = blur;
|
|
2655
|
-
}
|
|
2656
|
-
if (backgroundColor !== undefined) {
|
|
2657
|
-
localVarQueryParameter['backgroundColor'] = backgroundColor;
|
|
2658
|
-
}
|
|
2659
|
-
if (foregroundLayer !== undefined) {
|
|
2660
|
-
localVarQueryParameter['foregroundLayer'] = foregroundLayer;
|
|
2661
|
-
}
|
|
2662
|
-
if (imageIndex !== undefined) {
|
|
2663
|
-
localVarQueryParameter['imageIndex'] = imageIndex;
|
|
2664
|
-
}
|
|
2665
2521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2666
2522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2667
2523
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3246,22 +3102,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3246
3102
|
* @summary Generates or gets the splashscreen.
|
|
3247
3103
|
* @param {string} [tag] Supply the cache tag from the item object to receive strong caching headers.
|
|
3248
3104
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3249
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3250
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3251
|
-
* @param {number} [width] The fixed image width to return.
|
|
3252
|
-
* @param {number} [height] The fixed image height to return.
|
|
3253
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3254
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3255
|
-
* @param {number} [blur] Blur image.
|
|
3256
|
-
* @param {string} [backgroundColor] Apply a background color for transparent images.
|
|
3257
|
-
* @param {string} [foregroundLayer] Apply a foreground layer on top of the image.
|
|
3258
|
-
* @param {number} [quality] Quality setting, from 0-100.
|
|
3259
3105
|
* @param {*} [options] Override http request option.
|
|
3260
3106
|
* @throws {RequiredError}
|
|
3261
3107
|
*/
|
|
3262
|
-
async getSplashscreen(tag, format,
|
|
3108
|
+
async getSplashscreen(tag, format, options) {
|
|
3263
3109
|
var _a, _b, _c;
|
|
3264
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format,
|
|
3110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSplashscreen(tag, format, options);
|
|
3265
3111
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3266
3112
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getSplashscreen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3267
3113
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3332,25 +3178,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3332
3178
|
* @param {string} [userId] User id.
|
|
3333
3179
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3334
3180
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3335
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3336
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3337
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3338
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3339
|
-
* @param {number} [width] The fixed image width to return.
|
|
3340
|
-
* @param {number} [height] The fixed image height to return.
|
|
3341
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3342
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3343
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3344
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3345
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3346
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3347
|
-
* @param {number} [imageIndex] Image index.
|
|
3348
3181
|
* @param {*} [options] Override http request option.
|
|
3349
3182
|
* @throws {RequiredError}
|
|
3350
3183
|
*/
|
|
3351
|
-
async getUserImage(userId, tag, format,
|
|
3184
|
+
async getUserImage(userId, tag, format, options) {
|
|
3352
3185
|
var _a, _b, _c;
|
|
3353
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format,
|
|
3186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserImage(userId, tag, format, options);
|
|
3354
3187
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3355
3188
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.getUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3356
3189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3721,25 +3554,12 @@ const ImageApiFp = function (configuration) {
|
|
|
3721
3554
|
* @param {string} [userId] User id.
|
|
3722
3555
|
* @param {string} [tag] Optional. Supply the cache tag from the item object to receive strong caching headers.
|
|
3723
3556
|
* @param {ImageFormat} [format] Determines the output format of the image - original,gif,jpg,png.
|
|
3724
|
-
* @param {number} [maxWidth] The maximum image width to return.
|
|
3725
|
-
* @param {number} [maxHeight] The maximum image height to return.
|
|
3726
|
-
* @param {number} [percentPlayed] Optional. Percent to render for the percent played overlay.
|
|
3727
|
-
* @param {number} [unplayedCount] Optional. Unplayed count overlay to render.
|
|
3728
|
-
* @param {number} [width] The fixed image width to return.
|
|
3729
|
-
* @param {number} [height] The fixed image height to return.
|
|
3730
|
-
* @param {number} [quality] Optional. Quality setting, from 0-100. Defaults to 90 and should suffice in most cases.
|
|
3731
|
-
* @param {number} [fillWidth] Width of box to fill.
|
|
3732
|
-
* @param {number} [fillHeight] Height of box to fill.
|
|
3733
|
-
* @param {number} [blur] Optional. Blur image.
|
|
3734
|
-
* @param {string} [backgroundColor] Optional. Apply a background color for transparent images.
|
|
3735
|
-
* @param {string} [foregroundLayer] Optional. Apply a foreground layer on top of the image.
|
|
3736
|
-
* @param {number} [imageIndex] Image index.
|
|
3737
3557
|
* @param {*} [options] Override http request option.
|
|
3738
3558
|
* @throws {RequiredError}
|
|
3739
3559
|
*/
|
|
3740
|
-
async headUserImage(userId, tag, format,
|
|
3560
|
+
async headUserImage(userId, tag, format, options) {
|
|
3741
3561
|
var _a, _b, _c;
|
|
3742
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format,
|
|
3562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.headUserImage(userId, tag, format, options);
|
|
3743
3563
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3744
3564
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ImageApi.headUserImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3745
3565
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3989,7 +3809,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
|
|
|
3989
3809
|
* @throws {RequiredError}
|
|
3990
3810
|
*/
|
|
3991
3811
|
getSplashscreen(requestParameters = {}, options) {
|
|
3992
|
-
return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format,
|
|
3812
|
+
return localVarFp.getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
3993
3813
|
},
|
|
3994
3814
|
/**
|
|
3995
3815
|
*
|
|
@@ -4019,7 +3839,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
|
|
|
4019
3839
|
* @throws {RequiredError}
|
|
4020
3840
|
*/
|
|
4021
3841
|
getUserImage(requestParameters = {}, options) {
|
|
4022
|
-
return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
3842
|
+
return localVarFp.getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
4023
3843
|
},
|
|
4024
3844
|
/**
|
|
4025
3845
|
*
|
|
@@ -4149,7 +3969,7 @@ const ImageApiFactory = function (configuration, basePath, axios) {
|
|
|
4149
3969
|
* @throws {RequiredError}
|
|
4150
3970
|
*/
|
|
4151
3971
|
headUserImage(requestParameters = {}, options) {
|
|
4152
|
-
return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
3972
|
+
return localVarFp.headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(axios, basePath));
|
|
4153
3973
|
},
|
|
4154
3974
|
/**
|
|
4155
3975
|
*
|
|
@@ -4383,7 +4203,7 @@ class ImageApi extends BaseAPI {
|
|
|
4383
4203
|
* @memberof ImageApi
|
|
4384
4204
|
*/
|
|
4385
4205
|
getSplashscreen(requestParameters = {}, options) {
|
|
4386
|
-
return ImageApiFp(this.configuration).getSplashscreen(requestParameters.tag, requestParameters.format,
|
|
4206
|
+
return ImageApiFp(this.configuration).getSplashscreen(requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4387
4207
|
}
|
|
4388
4208
|
/**
|
|
4389
4209
|
*
|
|
@@ -4416,7 +4236,7 @@ class ImageApi extends BaseAPI {
|
|
|
4416
4236
|
* @memberof ImageApi
|
|
4417
4237
|
*/
|
|
4418
4238
|
getUserImage(requestParameters = {}, options) {
|
|
4419
|
-
return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
4239
|
+
return ImageApiFp(this.configuration).getUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4420
4240
|
}
|
|
4421
4241
|
/**
|
|
4422
4242
|
*
|
|
@@ -4559,7 +4379,7 @@ class ImageApi extends BaseAPI {
|
|
|
4559
4379
|
* @memberof ImageApi
|
|
4560
4380
|
*/
|
|
4561
4381
|
headUserImage(requestParameters = {}, options) {
|
|
4562
|
-
return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format,
|
|
4382
|
+
return ImageApiFp(this.configuration).headUserImage(requestParameters.userId, requestParameters.tag, requestParameters.format, options).then((request) => request(this.axios, this.basePath));
|
|
4563
4383
|
}
|
|
4564
4384
|
/**
|
|
4565
4385
|
*
|
|
@@ -246,7 +246,7 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
* @memberof ImageByNameApi
|
|
248
248
|
*/
|
|
249
|
-
getGeneralImage(requestParameters: ImageByNameApiGetGeneralImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
249
|
+
getGeneralImage(requestParameters: ImageByNameApiGetGeneralImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
250
250
|
/**
|
|
251
251
|
*
|
|
252
252
|
* @summary Get all general images.
|
|
@@ -254,7 +254,7 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
254
254
|
* @throws {RequiredError}
|
|
255
255
|
* @memberof ImageByNameApi
|
|
256
256
|
*/
|
|
257
|
-
getGeneralImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any>>;
|
|
257
|
+
getGeneralImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any, {}>>;
|
|
258
258
|
/**
|
|
259
259
|
*
|
|
260
260
|
* @summary Get media info image.
|
|
@@ -263,7 +263,7 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
263
263
|
* @throws {RequiredError}
|
|
264
264
|
* @memberof ImageByNameApi
|
|
265
265
|
*/
|
|
266
|
-
getMediaInfoImage(requestParameters: ImageByNameApiGetMediaInfoImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
266
|
+
getMediaInfoImage(requestParameters: ImageByNameApiGetMediaInfoImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
267
267
|
/**
|
|
268
268
|
*
|
|
269
269
|
* @summary Get all media info images.
|
|
@@ -271,7 +271,7 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
271
271
|
* @throws {RequiredError}
|
|
272
272
|
* @memberof ImageByNameApi
|
|
273
273
|
*/
|
|
274
|
-
getMediaInfoImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any>>;
|
|
274
|
+
getMediaInfoImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any, {}>>;
|
|
275
275
|
/**
|
|
276
276
|
*
|
|
277
277
|
* @summary Get rating image.
|
|
@@ -280,7 +280,7 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
* @memberof ImageByNameApi
|
|
282
282
|
*/
|
|
283
|
-
getRatingImage(requestParameters: ImageByNameApiGetRatingImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
283
|
+
getRatingImage(requestParameters: ImageByNameApiGetRatingImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
284
284
|
/**
|
|
285
285
|
*
|
|
286
286
|
* @summary Get all general images.
|
|
@@ -288,5 +288,5 @@ export declare class ImageByNameApi extends BaseAPI {
|
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
* @memberof ImageByNameApi
|
|
290
290
|
*/
|
|
291
|
-
getRatingImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any>>;
|
|
291
|
+
getRatingImages(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageByNameInfo[], any, {}>>;
|
|
292
292
|
}
|
|
@@ -794,7 +794,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
794
794
|
* @throws {RequiredError}
|
|
795
795
|
* @memberof InstantMixApi
|
|
796
796
|
*/
|
|
797
|
-
getInstantMixFromAlbum(requestParameters: InstantMixApiGetInstantMixFromAlbumRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
797
|
+
getInstantMixFromAlbum(requestParameters: InstantMixApiGetInstantMixFromAlbumRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
798
798
|
/**
|
|
799
799
|
*
|
|
800
800
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -803,7 +803,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
803
803
|
* @throws {RequiredError}
|
|
804
804
|
* @memberof InstantMixApi
|
|
805
805
|
*/
|
|
806
|
-
getInstantMixFromArtists(requestParameters: InstantMixApiGetInstantMixFromArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
806
|
+
getInstantMixFromArtists(requestParameters: InstantMixApiGetInstantMixFromArtistsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
807
807
|
/**
|
|
808
808
|
*
|
|
809
809
|
* @summary Creates an instant playlist based on a given artist.
|
|
@@ -813,7 +813,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
813
813
|
* @throws {RequiredError}
|
|
814
814
|
* @memberof InstantMixApi
|
|
815
815
|
*/
|
|
816
|
-
getInstantMixFromArtists2(requestParameters: InstantMixApiGetInstantMixFromArtists2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
816
|
+
getInstantMixFromArtists2(requestParameters: InstantMixApiGetInstantMixFromArtists2Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
817
817
|
/**
|
|
818
818
|
*
|
|
819
819
|
* @summary Creates an instant playlist based on a given item.
|
|
@@ -822,7 +822,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
822
822
|
* @throws {RequiredError}
|
|
823
823
|
* @memberof InstantMixApi
|
|
824
824
|
*/
|
|
825
|
-
getInstantMixFromItem(requestParameters: InstantMixApiGetInstantMixFromItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
825
|
+
getInstantMixFromItem(requestParameters: InstantMixApiGetInstantMixFromItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
826
826
|
/**
|
|
827
827
|
*
|
|
828
828
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -831,7 +831,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
831
831
|
* @throws {RequiredError}
|
|
832
832
|
* @memberof InstantMixApi
|
|
833
833
|
*/
|
|
834
|
-
getInstantMixFromMusicGenreById(requestParameters: InstantMixApiGetInstantMixFromMusicGenreByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
834
|
+
getInstantMixFromMusicGenreById(requestParameters: InstantMixApiGetInstantMixFromMusicGenreByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
835
835
|
/**
|
|
836
836
|
*
|
|
837
837
|
* @summary Creates an instant playlist based on a given genre.
|
|
@@ -840,7 +840,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
840
840
|
* @throws {RequiredError}
|
|
841
841
|
* @memberof InstantMixApi
|
|
842
842
|
*/
|
|
843
|
-
getInstantMixFromMusicGenreByName(requestParameters: InstantMixApiGetInstantMixFromMusicGenreByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
843
|
+
getInstantMixFromMusicGenreByName(requestParameters: InstantMixApiGetInstantMixFromMusicGenreByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
844
844
|
/**
|
|
845
845
|
*
|
|
846
846
|
* @summary Creates an instant playlist based on a given playlist.
|
|
@@ -849,7 +849,7 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
849
849
|
* @throws {RequiredError}
|
|
850
850
|
* @memberof InstantMixApi
|
|
851
851
|
*/
|
|
852
|
-
getInstantMixFromPlaylist(requestParameters: InstantMixApiGetInstantMixFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
852
|
+
getInstantMixFromPlaylist(requestParameters: InstantMixApiGetInstantMixFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
853
853
|
/**
|
|
854
854
|
*
|
|
855
855
|
* @summary Creates an instant playlist based on a given song.
|
|
@@ -858,5 +858,5 @@ export declare class InstantMixApi extends BaseAPI {
|
|
|
858
858
|
* @throws {RequiredError}
|
|
859
859
|
* @memberof InstantMixApi
|
|
860
860
|
*/
|
|
861
|
-
getInstantMixFromSong(requestParameters: InstantMixApiGetInstantMixFromSongRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
861
|
+
getInstantMixFromSong(requestParameters: InstantMixApiGetInstantMixFromSongRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
862
862
|
}
|
|
@@ -478,7 +478,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
478
478
|
* @throws {RequiredError}
|
|
479
479
|
* @memberof ItemLookupApi
|
|
480
480
|
*/
|
|
481
|
-
applySearchCriteria(requestParameters: ItemLookupApiApplySearchCriteriaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
481
|
+
applySearchCriteria(requestParameters: ItemLookupApiApplySearchCriteriaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
482
482
|
/**
|
|
483
483
|
*
|
|
484
484
|
* @summary Get book remote search.
|
|
@@ -487,7 +487,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
487
487
|
* @throws {RequiredError}
|
|
488
488
|
* @memberof ItemLookupApi
|
|
489
489
|
*/
|
|
490
|
-
getBookRemoteSearchResults(requestParameters: ItemLookupApiGetBookRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
490
|
+
getBookRemoteSearchResults(requestParameters: ItemLookupApiGetBookRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
491
491
|
/**
|
|
492
492
|
*
|
|
493
493
|
* @summary Get box set remote search.
|
|
@@ -496,7 +496,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
496
496
|
* @throws {RequiredError}
|
|
497
497
|
* @memberof ItemLookupApi
|
|
498
498
|
*/
|
|
499
|
-
getBoxSetRemoteSearchResults(requestParameters: ItemLookupApiGetBoxSetRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
499
|
+
getBoxSetRemoteSearchResults(requestParameters: ItemLookupApiGetBoxSetRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
500
500
|
/**
|
|
501
501
|
*
|
|
502
502
|
* @summary Get the item\'s external id info.
|
|
@@ -505,7 +505,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
* @memberof ItemLookupApi
|
|
507
507
|
*/
|
|
508
|
-
getExternalIdInfos(requestParameters: ItemLookupApiGetExternalIdInfosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExternalIdInfo[], any>>;
|
|
508
|
+
getExternalIdInfos(requestParameters: ItemLookupApiGetExternalIdInfosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExternalIdInfo[], any, {}>>;
|
|
509
509
|
/**
|
|
510
510
|
*
|
|
511
511
|
* @summary Get movie remote search.
|
|
@@ -514,7 +514,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
514
514
|
* @throws {RequiredError}
|
|
515
515
|
* @memberof ItemLookupApi
|
|
516
516
|
*/
|
|
517
|
-
getMovieRemoteSearchResults(requestParameters: ItemLookupApiGetMovieRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
517
|
+
getMovieRemoteSearchResults(requestParameters: ItemLookupApiGetMovieRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
518
518
|
/**
|
|
519
519
|
*
|
|
520
520
|
* @summary Get music album remote search.
|
|
@@ -523,7 +523,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
523
523
|
* @throws {RequiredError}
|
|
524
524
|
* @memberof ItemLookupApi
|
|
525
525
|
*/
|
|
526
|
-
getMusicAlbumRemoteSearchResults(requestParameters: ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
526
|
+
getMusicAlbumRemoteSearchResults(requestParameters: ItemLookupApiGetMusicAlbumRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
527
527
|
/**
|
|
528
528
|
*
|
|
529
529
|
* @summary Get music artist remote search.
|
|
@@ -532,7 +532,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
532
532
|
* @throws {RequiredError}
|
|
533
533
|
* @memberof ItemLookupApi
|
|
534
534
|
*/
|
|
535
|
-
getMusicArtistRemoteSearchResults(requestParameters: ItemLookupApiGetMusicArtistRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
535
|
+
getMusicArtistRemoteSearchResults(requestParameters: ItemLookupApiGetMusicArtistRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
536
536
|
/**
|
|
537
537
|
*
|
|
538
538
|
* @summary Get music video remote search.
|
|
@@ -541,7 +541,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
541
541
|
* @throws {RequiredError}
|
|
542
542
|
* @memberof ItemLookupApi
|
|
543
543
|
*/
|
|
544
|
-
getMusicVideoRemoteSearchResults(requestParameters: ItemLookupApiGetMusicVideoRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
544
|
+
getMusicVideoRemoteSearchResults(requestParameters: ItemLookupApiGetMusicVideoRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
545
545
|
/**
|
|
546
546
|
*
|
|
547
547
|
* @summary Get person remote search.
|
|
@@ -550,7 +550,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
550
550
|
* @throws {RequiredError}
|
|
551
551
|
* @memberof ItemLookupApi
|
|
552
552
|
*/
|
|
553
|
-
getPersonRemoteSearchResults(requestParameters: ItemLookupApiGetPersonRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
553
|
+
getPersonRemoteSearchResults(requestParameters: ItemLookupApiGetPersonRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
554
554
|
/**
|
|
555
555
|
*
|
|
556
556
|
* @summary Get series remote search.
|
|
@@ -559,7 +559,7 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
559
559
|
* @throws {RequiredError}
|
|
560
560
|
* @memberof ItemLookupApi
|
|
561
561
|
*/
|
|
562
|
-
getSeriesRemoteSearchResults(requestParameters: ItemLookupApiGetSeriesRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
562
|
+
getSeriesRemoteSearchResults(requestParameters: ItemLookupApiGetSeriesRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
563
563
|
/**
|
|
564
564
|
*
|
|
565
565
|
* @summary Get trailer remote search.
|
|
@@ -568,5 +568,5 @@ export declare class ItemLookupApi extends BaseAPI {
|
|
|
568
568
|
* @throws {RequiredError}
|
|
569
569
|
* @memberof ItemLookupApi
|
|
570
570
|
*/
|
|
571
|
-
getTrailerRemoteSearchResults(requestParameters: ItemLookupApiGetTrailerRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any>>;
|
|
571
|
+
getTrailerRemoteSearchResults(requestParameters: ItemLookupApiGetTrailerRemoteSearchResultsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RemoteSearchResult[], any, {}>>;
|
|
572
572
|
}
|
|
@@ -25,10 +25,11 @@ export declare const ItemRefreshApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
26
26
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
27
27
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
28
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
28
29
|
* @param {*} [options] Override http request option.
|
|
29
30
|
* @throws {RequiredError}
|
|
30
31
|
*/
|
|
31
|
-
refreshItem: (itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
refreshItem: (itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, regenerateTrickplay?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
34
35
|
* ItemRefreshApi - functional programming interface
|
|
@@ -43,10 +44,11 @@ export declare const ItemRefreshApiFp: (configuration?: Configuration) => {
|
|
|
43
44
|
* @param {MetadataRefreshMode} [imageRefreshMode] (Optional) Specifies the image refresh mode.
|
|
44
45
|
* @param {boolean} [replaceAllMetadata] (Optional) Determines if metadata should be replaced. Only applicable if mode is FullRefresh.
|
|
45
46
|
* @param {boolean} [replaceAllImages] (Optional) Determines if images should be replaced. Only applicable if mode is FullRefresh.
|
|
47
|
+
* @param {boolean} [regenerateTrickplay] (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
46
48
|
* @param {*} [options] Override http request option.
|
|
47
49
|
* @throws {RequiredError}
|
|
48
50
|
*/
|
|
49
|
-
refreshItem(itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
51
|
+
refreshItem(itemId: string, metadataRefreshMode?: MetadataRefreshMode, imageRefreshMode?: MetadataRefreshMode, replaceAllMetadata?: boolean, replaceAllImages?: boolean, regenerateTrickplay?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
50
52
|
};
|
|
51
53
|
/**
|
|
52
54
|
* ItemRefreshApi - factory interface
|
|
@@ -98,6 +100,12 @@ export interface ItemRefreshApiRefreshItemRequest {
|
|
|
98
100
|
* @memberof ItemRefreshApiRefreshItem
|
|
99
101
|
*/
|
|
100
102
|
readonly replaceAllImages?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* (Optional) Determines if trickplay images should be replaced. Only applicable if mode is FullRefresh.
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof ItemRefreshApiRefreshItem
|
|
107
|
+
*/
|
|
108
|
+
readonly regenerateTrickplay?: boolean;
|
|
101
109
|
}
|
|
102
110
|
/**
|
|
103
111
|
* ItemRefreshApi - object-oriented interface
|
|
@@ -114,5 +122,5 @@ export declare class ItemRefreshApi extends BaseAPI {
|
|
|
114
122
|
* @throws {RequiredError}
|
|
115
123
|
* @memberof ItemRefreshApi
|
|
116
124
|
*/
|
|
117
|
-
refreshItem(requestParameters: ItemRefreshApiRefreshItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
125
|
+
refreshItem(requestParameters: ItemRefreshApiRefreshItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
118
126
|
}
|