@jellyfin/sdk 0.8.2 → 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 +14 -4
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +39 -36
- package/lib/generated-client/api/activity-log-api.js +19 -11
- package/lib/generated-client/api/api-key-api.js +35 -31
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +47 -43
- package/lib/generated-client/api/audio-api.d.ts +20 -20
- package/lib/generated-client/api/audio-api.js +45 -43
- package/lib/generated-client/api/branding-api.js +32 -28
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +54 -54
- package/lib/generated-client/api/client-log-api.js +19 -11
- package/lib/generated-client/api/collection-api.js +35 -31
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +51 -117
- package/lib/generated-client/api/dashboard-api.js +26 -20
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +54 -60
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +39 -37
- package/lib/generated-client/api/dynamic-hls-api.d.ts +49 -31
- package/lib/generated-client/api/dynamic-hls-api.js +104 -100
- package/lib/generated-client/api/environment-api.js +59 -61
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +30 -24
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +30 -24
- package/lib/generated-client/api/hls-segment-api.js +48 -48
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +394 -1307
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +125 -131
- package/lib/generated-client/api/item-lookup-api.js +99 -111
- package/lib/generated-client/api/item-refresh-api.js +19 -11
- package/lib/generated-client/api/item-update-api.js +35 -31
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +191 -617
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +214 -254
- package/lib/generated-client/api/library-structure-api.js +75 -81
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +343 -415
- package/lib/generated-client/api/localization-api.js +43 -41
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/lyrics-api.js +449 -0
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +54 -56
- package/lib/generated-client/api/movies-api.js +19 -11
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +30 -24
- package/lib/generated-client/api/package-api.js +59 -61
- package/lib/generated-client/api/persons-api.js +27 -21
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +416 -71
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +127 -153
- package/lib/generated-client/api/plugins-api.js +83 -91
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +83 -75
- package/lib/generated-client/api/remote-image-api.js +35 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +51 -51
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +34 -26
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +145 -173
- package/lib/generated-client/api/startup-api.js +67 -71
- package/lib/generated-client/api/studios-api.js +27 -21
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +99 -109
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +31 -23
- package/lib/generated-client/api/sync-play-api.js +179 -211
- package/lib/generated-client/api/system-api.js +88 -98
- package/lib/generated-client/api/time-sync-api.js +18 -10
- package/lib/generated-client/api/tmdb-api.js +19 -11
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +40 -32
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +208 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +58 -50
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +33 -27
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +152 -319
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +190 -200
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +47 -41
- package/lib/generated-client/api/video-attachments-api.js +18 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +63 -67
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +33 -27
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +19 -11
- package/lib/generated-client/index.js +19 -10
- package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
- package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
- package/lib/generated-client/models/audio-spatial-format.js +24 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
- package/lib/generated-client/models/base-item-dto.d.ts +37 -17
- package/lib/generated-client/models/base-item-person.d.ts +4 -3
- package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
- package/lib/generated-client/models/client-capabilities.d.ts +16 -19
- package/lib/generated-client/models/collection-type-options.d.ts +9 -9
- package/lib/generated-client/models/collection-type-options.js +9 -9
- package/lib/generated-client/models/collection-type.d.ts +31 -0
- package/lib/generated-client/models/collection-type.js +34 -0
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +6 -0
- package/lib/generated-client/models/device-profile.d.ts +0 -171
- package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
- package/lib/generated-client/models/dlna-profile-type.js +2 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
- package/lib/generated-client/models/encoding-options.d.ts +77 -40
- 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/extra-type.d.ts +30 -0
- package/lib/generated-client/models/extra-type.js +33 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
- package/lib/generated-client/models/general-command-message.d.ts +37 -0
- package/lib/generated-client/models/general-command-type.d.ts +1 -0
- package/lib/generated-client/models/general-command-type.js +2 -1
- package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update.d.ts +31 -0
- package/lib/generated-client/models/group-update.d.ts +20 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
- package/lib/generated-client/models/hardware-encoding-type.js +2 -1
- package/lib/generated-client/models/image-format.d.ts +1 -0
- package/lib/generated-client/models/image-format.js +2 -1
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
- package/lib/generated-client/models/index.d.ts +74 -25
- package/lib/generated-client/models/index.js +17 -6
- package/lib/generated-client/models/item-fields.d.ts +1 -2
- package/lib/generated-client/models/item-fields.js +1 -2
- package/lib/generated-client/models/item-sort-by.d.ts +50 -0
- package/lib/generated-client/models/item-sort-by.js +53 -0
- package/lib/generated-client/models/library-changed-message.d.ts +37 -0
- package/lib/generated-client/models/library-options.d.ts +36 -0
- package/lib/generated-client/models/live-tv-options.d.ts +12 -0
- package/lib/generated-client/models/log-file.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +31 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
- package/lib/generated-client/models/media-source-info.d.ts +3 -2
- package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
- package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
- package/lib/generated-client/models/media-stream-type.d.ts +1 -0
- package/lib/generated-client/models/media-stream-type.js +2 -1
- package/lib/generated-client/models/media-stream.d.ts +27 -6
- package/lib/generated-client/models/media-type.d.ts +23 -0
- package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
- package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
- package/lib/generated-client/models/network-configuration.d.ts +50 -116
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/person-kind.d.ts +43 -0
- package/lib/generated-client/models/person-kind.js +46 -0
- package/lib/generated-client/models/play-message.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
- package/lib/generated-client/models/play-queue-update-reason.js +31 -0
- package/lib/generated-client/models/play-queue-update.d.ts +69 -0
- package/lib/generated-client/models/playback-order.d.ts +20 -0
- package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
- package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
- package/lib/generated-client/models/playback-request-type.d.ts +35 -0
- package/lib/generated-client/models/playback-request-type.js +38 -0
- package/lib/generated-client/models/playback-start-info.d.ts +7 -0
- package/lib/generated-client/models/player-state-info.d.ts +7 -0
- package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
- package/lib/generated-client/models/playstate-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
- package/lib/generated-client/models/process-priority-class.d.ts +24 -0
- package/lib/generated-client/models/process-priority-class.js +27 -0
- package/lib/generated-client/models/public-system-info.d.ts +1 -0
- package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/restart-required-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
- package/lib/generated-client/models/search-hint.d.ts +19 -16
- package/lib/generated-client/models/series-status.d.ts +2 -1
- package/lib/generated-client/models/series-status.js +3 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/server-configuration.d.ts +45 -0
- package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
- package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
- package/lib/generated-client/models/session-info.d.ts +9 -9
- package/lib/generated-client/models/sessions-message.d.ts +37 -0
- package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
- package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
- package/lib/generated-client/models/string-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
- package/lib/generated-client/models/system-info.d.ts +17 -6
- package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/transcoding-info.d.ts +3 -2
- package/lib/generated-client/models/transcoding-info.js +15 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
- package/lib/generated-client/models/trickplay-info.d.ts +59 -0
- package/lib/generated-client/models/trickplay-options.d.ts +85 -0
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
- package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
- package/lib/generated-client/models/user-configuration.d.ts +6 -0
- package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
- package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
- package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
- package/lib/generated-client/models/user-dto.d.ts +1 -0
- package/lib/generated-client/models/user-policy.d.ts +26 -2
- package/lib/generated-client/models/user-updated-message.d.ts +37 -0
- package/lib/generated-client/models/video-range-type.d.ts +27 -0
- package/lib/generated-client/models/video-range-type.js +30 -0
- package/lib/generated-client/models/video-range.d.ts +21 -0
- package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
- package/lib/generated-client/models/web-socket-message.d.ts +18 -0
- package/lib/utils/api/image-api.d.ts +2 -2
- package/lib/utils/api/image-api.js +2 -2
- package/lib/utils/api/image-urls-api.d.ts +55 -0
- package/lib/utils/api/image-urls-api.js +115 -0
- package/lib/utils/api/index.d.ts +2 -4
- package/lib/utils/api/index.js +2 -4
- package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
- package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
- package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
- package/lib/utils/api/trickplay-api.js +12 -0
- package/lib/utils/authentication.js +5 -6
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +2 -1
- package/lib/utils/versioning.d.ts +9 -0
- package/lib/utils/versioning.js +32 -0
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -22
- package/lib/generated-client/api/dlna-api.js +0 -422
- package/lib/generated-client/api/dlna-server-api.js +0 -1088
- package/lib/generated-client/api/image-by-name-api.js +0 -423
- package/lib/generated-client/api/notifications-api.js +0 -484
- package/lib/node_modules/tslib/tslib.es6.js +0 -26
- package/lib/utils/api/dlna-server-api.js +0 -12
- package/lib/utils/api/image-by-name-api.d.ts +0 -8
- package/lib/utils/api/image-by-name-api.js +0 -12
- package/lib/utils/api/notifications-api.d.ts +0 -8
- package/lib/utils/api/notifications-api.js +0 -12
|
@@ -1,9 +1,19 @@
|
|
|
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, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Jellyfin API
|
|
12
|
+
*
|
|
13
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
14
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
15
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
16
|
+
*/
|
|
7
17
|
/**
|
|
8
18
|
* ItemLookupApi - axios parameter creator
|
|
9
19
|
* @export
|
|
@@ -19,7 +29,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
19
29
|
* @param {*} [options] Override http request option.
|
|
20
30
|
* @throws {RequiredError}
|
|
21
31
|
*/
|
|
22
|
-
applySearchCriteria: (itemId, remoteSearchResult, replaceAllImages, options = {}) =>
|
|
32
|
+
applySearchCriteria: async (itemId, remoteSearchResult, replaceAllImages, options = {}) => {
|
|
23
33
|
// verify required parameter 'itemId' is not null or undefined
|
|
24
34
|
assertParamExists('applySearchCriteria', 'itemId', itemId);
|
|
25
35
|
// verify required parameter 'remoteSearchResult' is not null or undefined
|
|
@@ -32,24 +42,24 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
32
42
|
if (configuration) {
|
|
33
43
|
baseOptions = configuration.baseOptions;
|
|
34
44
|
}
|
|
35
|
-
const localVarRequestOptions =
|
|
45
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
36
46
|
const localVarHeaderParameter = {};
|
|
37
47
|
const localVarQueryParameter = {};
|
|
38
48
|
// authentication CustomAuthentication required
|
|
39
|
-
|
|
49
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40
50
|
if (replaceAllImages !== undefined) {
|
|
41
51
|
localVarQueryParameter['replaceAllImages'] = replaceAllImages;
|
|
42
52
|
}
|
|
43
53
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
44
54
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45
55
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46
|
-
localVarRequestOptions.headers =
|
|
56
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
47
57
|
localVarRequestOptions.data = serializeDataIfNeeded(remoteSearchResult, localVarRequestOptions, configuration);
|
|
48
58
|
return {
|
|
49
59
|
url: toPathString(localVarUrlObj),
|
|
50
60
|
options: localVarRequestOptions,
|
|
51
61
|
};
|
|
52
|
-
}
|
|
62
|
+
},
|
|
53
63
|
/**
|
|
54
64
|
*
|
|
55
65
|
* @summary Get book remote search.
|
|
@@ -57,7 +67,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
57
67
|
* @param {*} [options] Override http request option.
|
|
58
68
|
* @throws {RequiredError}
|
|
59
69
|
*/
|
|
60
|
-
getBookRemoteSearchResults: (bookInfoRemoteSearchQuery, options = {}) =>
|
|
70
|
+
getBookRemoteSearchResults: async (bookInfoRemoteSearchQuery, options = {}) => {
|
|
61
71
|
// verify required parameter 'bookInfoRemoteSearchQuery' is not null or undefined
|
|
62
72
|
assertParamExists('getBookRemoteSearchResults', 'bookInfoRemoteSearchQuery', bookInfoRemoteSearchQuery);
|
|
63
73
|
const localVarPath = `/Items/RemoteSearch/Book`;
|
|
@@ -67,21 +77,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
67
77
|
if (configuration) {
|
|
68
78
|
baseOptions = configuration.baseOptions;
|
|
69
79
|
}
|
|
70
|
-
const localVarRequestOptions =
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
71
81
|
const localVarHeaderParameter = {};
|
|
72
82
|
const localVarQueryParameter = {};
|
|
73
83
|
// authentication CustomAuthentication required
|
|
74
|
-
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
75
85
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
86
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
87
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
-
localVarRequestOptions.headers =
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
79
89
|
localVarRequestOptions.data = serializeDataIfNeeded(bookInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
80
90
|
return {
|
|
81
91
|
url: toPathString(localVarUrlObj),
|
|
82
92
|
options: localVarRequestOptions,
|
|
83
93
|
};
|
|
84
|
-
}
|
|
94
|
+
},
|
|
85
95
|
/**
|
|
86
96
|
*
|
|
87
97
|
* @summary Get box set remote search.
|
|
@@ -89,7 +99,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
89
99
|
* @param {*} [options] Override http request option.
|
|
90
100
|
* @throws {RequiredError}
|
|
91
101
|
*/
|
|
92
|
-
getBoxSetRemoteSearchResults: (boxSetInfoRemoteSearchQuery, options = {}) =>
|
|
102
|
+
getBoxSetRemoteSearchResults: async (boxSetInfoRemoteSearchQuery, options = {}) => {
|
|
93
103
|
// verify required parameter 'boxSetInfoRemoteSearchQuery' is not null or undefined
|
|
94
104
|
assertParamExists('getBoxSetRemoteSearchResults', 'boxSetInfoRemoteSearchQuery', boxSetInfoRemoteSearchQuery);
|
|
95
105
|
const localVarPath = `/Items/RemoteSearch/BoxSet`;
|
|
@@ -99,21 +109,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
99
109
|
if (configuration) {
|
|
100
110
|
baseOptions = configuration.baseOptions;
|
|
101
111
|
}
|
|
102
|
-
const localVarRequestOptions =
|
|
112
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
103
113
|
const localVarHeaderParameter = {};
|
|
104
114
|
const localVarQueryParameter = {};
|
|
105
115
|
// authentication CustomAuthentication required
|
|
106
|
-
|
|
116
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
107
117
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
108
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
-
localVarRequestOptions.headers =
|
|
120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
111
121
|
localVarRequestOptions.data = serializeDataIfNeeded(boxSetInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
112
122
|
return {
|
|
113
123
|
url: toPathString(localVarUrlObj),
|
|
114
124
|
options: localVarRequestOptions,
|
|
115
125
|
};
|
|
116
|
-
}
|
|
126
|
+
},
|
|
117
127
|
/**
|
|
118
128
|
*
|
|
119
129
|
* @summary Get the item\'s external id info.
|
|
@@ -121,7 +131,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
121
131
|
* @param {*} [options] Override http request option.
|
|
122
132
|
* @throws {RequiredError}
|
|
123
133
|
*/
|
|
124
|
-
getExternalIdInfos: (itemId, options = {}) =>
|
|
134
|
+
getExternalIdInfos: async (itemId, options = {}) => {
|
|
125
135
|
// verify required parameter 'itemId' is not null or undefined
|
|
126
136
|
assertParamExists('getExternalIdInfos', 'itemId', itemId);
|
|
127
137
|
const localVarPath = `/Items/{itemId}/ExternalIdInfos`
|
|
@@ -132,19 +142,19 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
132
142
|
if (configuration) {
|
|
133
143
|
baseOptions = configuration.baseOptions;
|
|
134
144
|
}
|
|
135
|
-
const localVarRequestOptions =
|
|
145
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
136
146
|
const localVarHeaderParameter = {};
|
|
137
147
|
const localVarQueryParameter = {};
|
|
138
148
|
// authentication CustomAuthentication required
|
|
139
|
-
|
|
149
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
140
150
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
141
151
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
-
localVarRequestOptions.headers =
|
|
152
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
143
153
|
return {
|
|
144
154
|
url: toPathString(localVarUrlObj),
|
|
145
155
|
options: localVarRequestOptions,
|
|
146
156
|
};
|
|
147
|
-
}
|
|
157
|
+
},
|
|
148
158
|
/**
|
|
149
159
|
*
|
|
150
160
|
* @summary Get movie remote search.
|
|
@@ -152,7 +162,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
152
162
|
* @param {*} [options] Override http request option.
|
|
153
163
|
* @throws {RequiredError}
|
|
154
164
|
*/
|
|
155
|
-
getMovieRemoteSearchResults: (movieInfoRemoteSearchQuery, options = {}) =>
|
|
165
|
+
getMovieRemoteSearchResults: async (movieInfoRemoteSearchQuery, options = {}) => {
|
|
156
166
|
// verify required parameter 'movieInfoRemoteSearchQuery' is not null or undefined
|
|
157
167
|
assertParamExists('getMovieRemoteSearchResults', 'movieInfoRemoteSearchQuery', movieInfoRemoteSearchQuery);
|
|
158
168
|
const localVarPath = `/Items/RemoteSearch/Movie`;
|
|
@@ -162,21 +172,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
162
172
|
if (configuration) {
|
|
163
173
|
baseOptions = configuration.baseOptions;
|
|
164
174
|
}
|
|
165
|
-
const localVarRequestOptions =
|
|
175
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
166
176
|
const localVarHeaderParameter = {};
|
|
167
177
|
const localVarQueryParameter = {};
|
|
168
178
|
// authentication CustomAuthentication required
|
|
169
|
-
|
|
179
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
170
180
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
171
181
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
172
182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
173
|
-
localVarRequestOptions.headers =
|
|
183
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
174
184
|
localVarRequestOptions.data = serializeDataIfNeeded(movieInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
175
185
|
return {
|
|
176
186
|
url: toPathString(localVarUrlObj),
|
|
177
187
|
options: localVarRequestOptions,
|
|
178
188
|
};
|
|
179
|
-
}
|
|
189
|
+
},
|
|
180
190
|
/**
|
|
181
191
|
*
|
|
182
192
|
* @summary Get music album remote search.
|
|
@@ -184,7 +194,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
184
194
|
* @param {*} [options] Override http request option.
|
|
185
195
|
* @throws {RequiredError}
|
|
186
196
|
*/
|
|
187
|
-
getMusicAlbumRemoteSearchResults: (albumInfoRemoteSearchQuery, options = {}) =>
|
|
197
|
+
getMusicAlbumRemoteSearchResults: async (albumInfoRemoteSearchQuery, options = {}) => {
|
|
188
198
|
// verify required parameter 'albumInfoRemoteSearchQuery' is not null or undefined
|
|
189
199
|
assertParamExists('getMusicAlbumRemoteSearchResults', 'albumInfoRemoteSearchQuery', albumInfoRemoteSearchQuery);
|
|
190
200
|
const localVarPath = `/Items/RemoteSearch/MusicAlbum`;
|
|
@@ -194,21 +204,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
194
204
|
if (configuration) {
|
|
195
205
|
baseOptions = configuration.baseOptions;
|
|
196
206
|
}
|
|
197
|
-
const localVarRequestOptions =
|
|
207
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
198
208
|
const localVarHeaderParameter = {};
|
|
199
209
|
const localVarQueryParameter = {};
|
|
200
210
|
// authentication CustomAuthentication required
|
|
201
|
-
|
|
211
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
202
212
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
203
213
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
204
214
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
205
|
-
localVarRequestOptions.headers =
|
|
215
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
206
216
|
localVarRequestOptions.data = serializeDataIfNeeded(albumInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
207
217
|
return {
|
|
208
218
|
url: toPathString(localVarUrlObj),
|
|
209
219
|
options: localVarRequestOptions,
|
|
210
220
|
};
|
|
211
|
-
}
|
|
221
|
+
},
|
|
212
222
|
/**
|
|
213
223
|
*
|
|
214
224
|
* @summary Get music artist remote search.
|
|
@@ -216,7 +226,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
216
226
|
* @param {*} [options] Override http request option.
|
|
217
227
|
* @throws {RequiredError}
|
|
218
228
|
*/
|
|
219
|
-
getMusicArtistRemoteSearchResults: (artistInfoRemoteSearchQuery, options = {}) =>
|
|
229
|
+
getMusicArtistRemoteSearchResults: async (artistInfoRemoteSearchQuery, options = {}) => {
|
|
220
230
|
// verify required parameter 'artistInfoRemoteSearchQuery' is not null or undefined
|
|
221
231
|
assertParamExists('getMusicArtistRemoteSearchResults', 'artistInfoRemoteSearchQuery', artistInfoRemoteSearchQuery);
|
|
222
232
|
const localVarPath = `/Items/RemoteSearch/MusicArtist`;
|
|
@@ -226,21 +236,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
226
236
|
if (configuration) {
|
|
227
237
|
baseOptions = configuration.baseOptions;
|
|
228
238
|
}
|
|
229
|
-
const localVarRequestOptions =
|
|
239
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
230
240
|
const localVarHeaderParameter = {};
|
|
231
241
|
const localVarQueryParameter = {};
|
|
232
242
|
// authentication CustomAuthentication required
|
|
233
|
-
|
|
243
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
234
244
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
235
245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
236
246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
-
localVarRequestOptions.headers =
|
|
247
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
238
248
|
localVarRequestOptions.data = serializeDataIfNeeded(artistInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
239
249
|
return {
|
|
240
250
|
url: toPathString(localVarUrlObj),
|
|
241
251
|
options: localVarRequestOptions,
|
|
242
252
|
};
|
|
243
|
-
}
|
|
253
|
+
},
|
|
244
254
|
/**
|
|
245
255
|
*
|
|
246
256
|
* @summary Get music video remote search.
|
|
@@ -248,7 +258,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
248
258
|
* @param {*} [options] Override http request option.
|
|
249
259
|
* @throws {RequiredError}
|
|
250
260
|
*/
|
|
251
|
-
getMusicVideoRemoteSearchResults: (musicVideoInfoRemoteSearchQuery, options = {}) =>
|
|
261
|
+
getMusicVideoRemoteSearchResults: async (musicVideoInfoRemoteSearchQuery, options = {}) => {
|
|
252
262
|
// verify required parameter 'musicVideoInfoRemoteSearchQuery' is not null or undefined
|
|
253
263
|
assertParamExists('getMusicVideoRemoteSearchResults', 'musicVideoInfoRemoteSearchQuery', musicVideoInfoRemoteSearchQuery);
|
|
254
264
|
const localVarPath = `/Items/RemoteSearch/MusicVideo`;
|
|
@@ -258,21 +268,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
258
268
|
if (configuration) {
|
|
259
269
|
baseOptions = configuration.baseOptions;
|
|
260
270
|
}
|
|
261
|
-
const localVarRequestOptions =
|
|
271
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
262
272
|
const localVarHeaderParameter = {};
|
|
263
273
|
const localVarQueryParameter = {};
|
|
264
274
|
// authentication CustomAuthentication required
|
|
265
|
-
|
|
275
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
266
276
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
267
277
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
268
278
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
|
-
localVarRequestOptions.headers =
|
|
279
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
270
280
|
localVarRequestOptions.data = serializeDataIfNeeded(musicVideoInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
271
281
|
return {
|
|
272
282
|
url: toPathString(localVarUrlObj),
|
|
273
283
|
options: localVarRequestOptions,
|
|
274
284
|
};
|
|
275
|
-
}
|
|
285
|
+
},
|
|
276
286
|
/**
|
|
277
287
|
*
|
|
278
288
|
* @summary Get person remote search.
|
|
@@ -280,7 +290,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
280
290
|
* @param {*} [options] Override http request option.
|
|
281
291
|
* @throws {RequiredError}
|
|
282
292
|
*/
|
|
283
|
-
getPersonRemoteSearchResults: (personLookupInfoRemoteSearchQuery, options = {}) =>
|
|
293
|
+
getPersonRemoteSearchResults: async (personLookupInfoRemoteSearchQuery, options = {}) => {
|
|
284
294
|
// verify required parameter 'personLookupInfoRemoteSearchQuery' is not null or undefined
|
|
285
295
|
assertParamExists('getPersonRemoteSearchResults', 'personLookupInfoRemoteSearchQuery', personLookupInfoRemoteSearchQuery);
|
|
286
296
|
const localVarPath = `/Items/RemoteSearch/Person`;
|
|
@@ -290,21 +300,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
290
300
|
if (configuration) {
|
|
291
301
|
baseOptions = configuration.baseOptions;
|
|
292
302
|
}
|
|
293
|
-
const localVarRequestOptions =
|
|
303
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
294
304
|
const localVarHeaderParameter = {};
|
|
295
305
|
const localVarQueryParameter = {};
|
|
296
306
|
// authentication CustomAuthentication required
|
|
297
|
-
|
|
307
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
298
308
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
299
309
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
300
310
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
|
-
localVarRequestOptions.headers =
|
|
311
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
302
312
|
localVarRequestOptions.data = serializeDataIfNeeded(personLookupInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
303
313
|
return {
|
|
304
314
|
url: toPathString(localVarUrlObj),
|
|
305
315
|
options: localVarRequestOptions,
|
|
306
316
|
};
|
|
307
|
-
}
|
|
317
|
+
},
|
|
308
318
|
/**
|
|
309
319
|
*
|
|
310
320
|
* @summary Get series remote search.
|
|
@@ -312,7 +322,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
312
322
|
* @param {*} [options] Override http request option.
|
|
313
323
|
* @throws {RequiredError}
|
|
314
324
|
*/
|
|
315
|
-
getSeriesRemoteSearchResults: (seriesInfoRemoteSearchQuery, options = {}) =>
|
|
325
|
+
getSeriesRemoteSearchResults: async (seriesInfoRemoteSearchQuery, options = {}) => {
|
|
316
326
|
// verify required parameter 'seriesInfoRemoteSearchQuery' is not null or undefined
|
|
317
327
|
assertParamExists('getSeriesRemoteSearchResults', 'seriesInfoRemoteSearchQuery', seriesInfoRemoteSearchQuery);
|
|
318
328
|
const localVarPath = `/Items/RemoteSearch/Series`;
|
|
@@ -322,21 +332,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
322
332
|
if (configuration) {
|
|
323
333
|
baseOptions = configuration.baseOptions;
|
|
324
334
|
}
|
|
325
|
-
const localVarRequestOptions =
|
|
335
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
326
336
|
const localVarHeaderParameter = {};
|
|
327
337
|
const localVarQueryParameter = {};
|
|
328
338
|
// authentication CustomAuthentication required
|
|
329
|
-
|
|
339
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
330
340
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
331
341
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
|
-
localVarRequestOptions.headers =
|
|
343
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
334
344
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
335
345
|
return {
|
|
336
346
|
url: toPathString(localVarUrlObj),
|
|
337
347
|
options: localVarRequestOptions,
|
|
338
348
|
};
|
|
339
|
-
}
|
|
349
|
+
},
|
|
340
350
|
/**
|
|
341
351
|
*
|
|
342
352
|
* @summary Get trailer remote search.
|
|
@@ -344,7 +354,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
344
354
|
* @param {*} [options] Override http request option.
|
|
345
355
|
* @throws {RequiredError}
|
|
346
356
|
*/
|
|
347
|
-
getTrailerRemoteSearchResults: (trailerInfoRemoteSearchQuery, options = {}) =>
|
|
357
|
+
getTrailerRemoteSearchResults: async (trailerInfoRemoteSearchQuery, options = {}) => {
|
|
348
358
|
// verify required parameter 'trailerInfoRemoteSearchQuery' is not null or undefined
|
|
349
359
|
assertParamExists('getTrailerRemoteSearchResults', 'trailerInfoRemoteSearchQuery', trailerInfoRemoteSearchQuery);
|
|
350
360
|
const localVarPath = `/Items/RemoteSearch/Trailer`;
|
|
@@ -354,21 +364,21 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
354
364
|
if (configuration) {
|
|
355
365
|
baseOptions = configuration.baseOptions;
|
|
356
366
|
}
|
|
357
|
-
const localVarRequestOptions =
|
|
367
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
358
368
|
const localVarHeaderParameter = {};
|
|
359
369
|
const localVarQueryParameter = {};
|
|
360
370
|
// authentication CustomAuthentication required
|
|
361
|
-
|
|
371
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
362
372
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
363
373
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
364
374
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
365
|
-
localVarRequestOptions.headers =
|
|
375
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
366
376
|
localVarRequestOptions.data = serializeDataIfNeeded(trailerInfoRemoteSearchQuery, localVarRequestOptions, configuration);
|
|
367
377
|
return {
|
|
368
378
|
url: toPathString(localVarUrlObj),
|
|
369
379
|
options: localVarRequestOptions,
|
|
370
380
|
};
|
|
371
|
-
}
|
|
381
|
+
},
|
|
372
382
|
};
|
|
373
383
|
};
|
|
374
384
|
/**
|
|
@@ -387,11 +397,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
387
397
|
* @param {*} [options] Override http request option.
|
|
388
398
|
* @throws {RequiredError}
|
|
389
399
|
*/
|
|
390
|
-
applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options) {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
394
|
-
});
|
|
400
|
+
async applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options) {
|
|
401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.applySearchCriteria(itemId, remoteSearchResult, replaceAllImages, options);
|
|
402
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
395
403
|
},
|
|
396
404
|
/**
|
|
397
405
|
*
|
|
@@ -400,11 +408,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
400
408
|
* @param {*} [options] Override http request option.
|
|
401
409
|
* @throws {RequiredError}
|
|
402
410
|
*/
|
|
403
|
-
getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options) {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
407
|
-
});
|
|
411
|
+
async getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options) {
|
|
412
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookRemoteSearchResults(bookInfoRemoteSearchQuery, options);
|
|
413
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
408
414
|
},
|
|
409
415
|
/**
|
|
410
416
|
*
|
|
@@ -413,11 +419,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
413
419
|
* @param {*} [options] Override http request option.
|
|
414
420
|
* @throws {RequiredError}
|
|
415
421
|
*/
|
|
416
|
-
getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options) {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
420
|
-
});
|
|
422
|
+
async getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options) {
|
|
423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBoxSetRemoteSearchResults(boxSetInfoRemoteSearchQuery, options);
|
|
424
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
425
|
},
|
|
422
426
|
/**
|
|
423
427
|
*
|
|
@@ -426,11 +430,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
426
430
|
* @param {*} [options] Override http request option.
|
|
427
431
|
* @throws {RequiredError}
|
|
428
432
|
*/
|
|
429
|
-
getExternalIdInfos(itemId, options) {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
433
|
-
});
|
|
433
|
+
async getExternalIdInfos(itemId, options) {
|
|
434
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getExternalIdInfos(itemId, options);
|
|
435
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
434
436
|
},
|
|
435
437
|
/**
|
|
436
438
|
*
|
|
@@ -439,11 +441,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
439
441
|
* @param {*} [options] Override http request option.
|
|
440
442
|
* @throws {RequiredError}
|
|
441
443
|
*/
|
|
442
|
-
getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options) {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
446
|
-
});
|
|
444
|
+
async getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options) {
|
|
445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMovieRemoteSearchResults(movieInfoRemoteSearchQuery, options);
|
|
446
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
449
449
|
*
|
|
@@ -452,11 +452,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
452
452
|
* @param {*} [options] Override http request option.
|
|
453
453
|
* @throws {RequiredError}
|
|
454
454
|
*/
|
|
455
|
-
getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options) {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
459
|
-
});
|
|
455
|
+
async getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options) {
|
|
456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicAlbumRemoteSearchResults(albumInfoRemoteSearchQuery, options);
|
|
457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
460
458
|
},
|
|
461
459
|
/**
|
|
462
460
|
*
|
|
@@ -465,11 +463,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
465
463
|
* @param {*} [options] Override http request option.
|
|
466
464
|
* @throws {RequiredError}
|
|
467
465
|
*/
|
|
468
|
-
getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options) {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
472
|
-
});
|
|
466
|
+
async getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options) {
|
|
467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicArtistRemoteSearchResults(artistInfoRemoteSearchQuery, options);
|
|
468
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
473
469
|
},
|
|
474
470
|
/**
|
|
475
471
|
*
|
|
@@ -478,11 +474,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
478
474
|
* @param {*} [options] Override http request option.
|
|
479
475
|
* @throws {RequiredError}
|
|
480
476
|
*/
|
|
481
|
-
getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options) {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
485
|
-
});
|
|
477
|
+
async getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options) {
|
|
478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMusicVideoRemoteSearchResults(musicVideoInfoRemoteSearchQuery, options);
|
|
479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
486
480
|
},
|
|
487
481
|
/**
|
|
488
482
|
*
|
|
@@ -491,11 +485,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
491
485
|
* @param {*} [options] Override http request option.
|
|
492
486
|
* @throws {RequiredError}
|
|
493
487
|
*/
|
|
494
|
-
getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options) {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
498
|
-
});
|
|
488
|
+
async getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options) {
|
|
489
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPersonRemoteSearchResults(personLookupInfoRemoteSearchQuery, options);
|
|
490
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
499
491
|
},
|
|
500
492
|
/**
|
|
501
493
|
*
|
|
@@ -504,11 +496,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
504
496
|
* @param {*} [options] Override http request option.
|
|
505
497
|
* @throws {RequiredError}
|
|
506
498
|
*/
|
|
507
|
-
getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options) {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
|
-
});
|
|
499
|
+
async getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options) {
|
|
500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesRemoteSearchResults(seriesInfoRemoteSearchQuery, options);
|
|
501
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
512
502
|
},
|
|
513
503
|
/**
|
|
514
504
|
*
|
|
@@ -517,11 +507,9 @@ const ItemLookupApiFp = function (configuration) {
|
|
|
517
507
|
* @param {*} [options] Override http request option.
|
|
518
508
|
* @throws {RequiredError}
|
|
519
509
|
*/
|
|
520
|
-
getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options) {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
524
|
-
});
|
|
510
|
+
async getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options) {
|
|
511
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTrailerRemoteSearchResults(trailerInfoRemoteSearchQuery, options);
|
|
512
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
525
513
|
},
|
|
526
514
|
};
|
|
527
515
|
};
|