@jellyfin/sdk 0.8.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/recommended-server-discovery.js +24 -16
- package/lib/generated-client/api/activity-log-api.js +12 -1
- package/lib/generated-client/api/api-key-api.js +14 -3
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +26 -15
- package/lib/generated-client/api/audio-api.d.ts +8 -8
- package/lib/generated-client/api/audio-api.js +21 -10
- package/lib/generated-client/api/branding-api.js +14 -3
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +19 -8
- package/lib/generated-client/api/client-log-api.js +12 -1
- package/lib/generated-client/api/collection-api.js +14 -3
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +16 -71
- package/lib/generated-client/api/dashboard-api.js +13 -2
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +21 -16
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +29 -22
- package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -10
- package/lib/generated-client/api/dynamic-hls-api.js +45 -22
- package/lib/generated-client/api/environment-api.js +17 -6
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +16 -5
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +16 -5
- package/lib/generated-client/api/hls-segment-api.js +16 -5
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +218 -1056
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +79 -68
- package/lib/generated-client/api/item-lookup-api.js +22 -11
- package/lib/generated-client/api/item-refresh-api.js +12 -1
- package/lib/generated-client/api/item-update-api.js +14 -3
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +178 -595
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +39 -28
- package/lib/generated-client/api/library-structure-api.js +19 -8
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +58 -47
- package/lib/generated-client/api/localization-api.js +15 -4
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/{dlna-api.js → lyrics-api.js} +165 -125
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +19 -10
- package/lib/generated-client/api/movies-api.js +12 -1
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +16 -5
- package/lib/generated-client/api/package-api.js +17 -6
- package/lib/generated-client/api/persons-api.js +13 -2
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +395 -29
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +74 -81
- package/lib/generated-client/api/plugins-api.js +20 -9
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +67 -50
- package/lib/generated-client/api/remote-image-api.js +14 -3
- package/lib/generated-client/api/scheduled-tasks-api.js +16 -5
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +29 -18
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +35 -30
- package/lib/generated-client/api/startup-api.js +18 -7
- package/lib/generated-client/api/studios-api.js +13 -2
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +33 -22
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +24 -13
- package/lib/generated-client/api/sync-play-api.js +32 -21
- package/lib/generated-client/api/system-api.js +21 -10
- package/lib/generated-client/api/time-sync-api.js +12 -1
- package/lib/generated-client/api/tmdb-api.js +12 -1
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +33 -22
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +213 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +32 -15
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +19 -8
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +65 -203
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +136 -125
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +33 -22
- package/lib/generated-client/api/video-attachments-api.js +12 -1
- package/lib/generated-client/api/videos-api.js +18 -7
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +19 -8
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +11 -0
- 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 +20 -17
- 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/node_modules/tslib/tslib.es6.js +9 -2
- 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 +103 -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-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/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
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* InstantMixApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -13,7 +24,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
13
24
|
/**
|
|
14
25
|
*
|
|
15
26
|
* @summary Creates an instant playlist based on a given album.
|
|
16
|
-
* @param {string}
|
|
27
|
+
* @param {string} itemId The item id.
|
|
17
28
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
18
29
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
19
30
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -24,11 +35,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
24
35
|
* @param {*} [options] Override http request option.
|
|
25
36
|
* @throws {RequiredError}
|
|
26
37
|
*/
|
|
27
|
-
getInstantMixFromAlbum: (
|
|
28
|
-
// verify required parameter '
|
|
29
|
-
assertParamExists('getInstantMixFromAlbum', '
|
|
30
|
-
const localVarPath = `/Albums/{
|
|
31
|
-
.replace(`{${"
|
|
38
|
+
getInstantMixFromAlbum: (itemId_1, userId_1, limit_1, fields_1, enableImages_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, ...args_1) => __awaiter(this, [itemId_1, userId_1, limit_1, fields_1, enableImages_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, ...args_1], void 0, function* (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
39
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
40
|
+
assertParamExists('getInstantMixFromAlbum', 'itemId', itemId);
|
|
41
|
+
const localVarPath = `/Albums/{itemId}/InstantMix`
|
|
42
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
32
43
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33
44
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34
45
|
let baseOptions;
|
|
@@ -72,7 +83,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
72
83
|
/**
|
|
73
84
|
*
|
|
74
85
|
* @summary Creates an instant playlist based on a given artist.
|
|
75
|
-
* @param {string}
|
|
86
|
+
* @param {string} itemId The item id.
|
|
76
87
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
77
88
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
78
89
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -83,11 +94,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
83
94
|
* @param {*} [options] Override http request option.
|
|
84
95
|
* @throws {RequiredError}
|
|
85
96
|
*/
|
|
86
|
-
getInstantMixFromArtists: (
|
|
87
|
-
// verify required parameter '
|
|
88
|
-
assertParamExists('getInstantMixFromArtists', '
|
|
89
|
-
const localVarPath = `/Artists/{
|
|
90
|
-
.replace(`{${"
|
|
97
|
+
getInstantMixFromArtists: (itemId_2, userId_2, limit_2, fields_2, enableImages_2, enableUserData_2, imageTypeLimit_2, enableImageTypes_2, ...args_2) => __awaiter(this, [itemId_2, userId_2, limit_2, fields_2, enableImages_2, enableUserData_2, imageTypeLimit_2, enableImageTypes_2, ...args_2], void 0, function* (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
98
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
99
|
+
assertParamExists('getInstantMixFromArtists', 'itemId', itemId);
|
|
100
|
+
const localVarPath = `/Artists/{itemId}/InstantMix`
|
|
101
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
91
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
93
104
|
let baseOptions;
|
|
@@ -143,7 +154,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
143
154
|
* @deprecated
|
|
144
155
|
* @throws {RequiredError}
|
|
145
156
|
*/
|
|
146
|
-
getInstantMixFromArtists2: (
|
|
157
|
+
getInstantMixFromArtists2: (id_1, userId_3, limit_3, fields_3, enableImages_3, enableUserData_3, imageTypeLimit_3, enableImageTypes_3, ...args_3) => __awaiter(this, [id_1, userId_3, limit_3, fields_3, enableImages_3, enableUserData_3, imageTypeLimit_3, enableImageTypes_3, ...args_3], void 0, function* (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
147
158
|
// verify required parameter 'id' is not null or undefined
|
|
148
159
|
assertParamExists('getInstantMixFromArtists2', 'id', id);
|
|
149
160
|
const localVarPath = `/Artists/InstantMix`;
|
|
@@ -193,7 +204,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
193
204
|
/**
|
|
194
205
|
*
|
|
195
206
|
* @summary Creates an instant playlist based on a given item.
|
|
196
|
-
* @param {string}
|
|
207
|
+
* @param {string} itemId The item id.
|
|
197
208
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
198
209
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
199
210
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -204,11 +215,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
204
215
|
* @param {*} [options] Override http request option.
|
|
205
216
|
* @throws {RequiredError}
|
|
206
217
|
*/
|
|
207
|
-
getInstantMixFromItem: (
|
|
208
|
-
// verify required parameter '
|
|
209
|
-
assertParamExists('getInstantMixFromItem', '
|
|
210
|
-
const localVarPath = `/Items/{
|
|
211
|
-
.replace(`{${"
|
|
218
|
+
getInstantMixFromItem: (itemId_3, userId_4, limit_4, fields_4, enableImages_4, enableUserData_4, imageTypeLimit_4, enableImageTypes_4, ...args_4) => __awaiter(this, [itemId_3, userId_4, limit_4, fields_4, enableImages_4, enableUserData_4, imageTypeLimit_4, enableImageTypes_4, ...args_4], void 0, function* (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
219
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
220
|
+
assertParamExists('getInstantMixFromItem', 'itemId', itemId);
|
|
221
|
+
const localVarPath = `/Items/{itemId}/InstantMix`
|
|
222
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
212
223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
213
224
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
214
225
|
let baseOptions;
|
|
@@ -263,7 +274,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
263
274
|
* @param {*} [options] Override http request option.
|
|
264
275
|
* @throws {RequiredError}
|
|
265
276
|
*/
|
|
266
|
-
getInstantMixFromMusicGenreById: (
|
|
277
|
+
getInstantMixFromMusicGenreById: (id_2, userId_5, limit_5, fields_5, enableImages_5, enableUserData_5, imageTypeLimit_5, enableImageTypes_5, ...args_5) => __awaiter(this, [id_2, userId_5, limit_5, fields_5, enableImages_5, enableUserData_5, imageTypeLimit_5, enableImageTypes_5, ...args_5], void 0, function* (id, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
267
278
|
// verify required parameter 'id' is not null or undefined
|
|
268
279
|
assertParamExists('getInstantMixFromMusicGenreById', 'id', id);
|
|
269
280
|
const localVarPath = `/MusicGenres/InstantMix`;
|
|
@@ -324,7 +335,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
324
335
|
* @param {*} [options] Override http request option.
|
|
325
336
|
* @throws {RequiredError}
|
|
326
337
|
*/
|
|
327
|
-
getInstantMixFromMusicGenreByName: (
|
|
338
|
+
getInstantMixFromMusicGenreByName: (name_1, userId_6, limit_6, fields_6, enableImages_6, enableUserData_6, imageTypeLimit_6, enableImageTypes_6, ...args_6) => __awaiter(this, [name_1, userId_6, limit_6, fields_6, enableImages_6, enableUserData_6, imageTypeLimit_6, enableImageTypes_6, ...args_6], void 0, function* (name, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
328
339
|
// verify required parameter 'name' is not null or undefined
|
|
329
340
|
assertParamExists('getInstantMixFromMusicGenreByName', 'name', name);
|
|
330
341
|
const localVarPath = `/MusicGenres/{name}/InstantMix`
|
|
@@ -372,7 +383,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
372
383
|
/**
|
|
373
384
|
*
|
|
374
385
|
* @summary Creates an instant playlist based on a given playlist.
|
|
375
|
-
* @param {string}
|
|
386
|
+
* @param {string} itemId The item id.
|
|
376
387
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
377
388
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
378
389
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -383,11 +394,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
383
394
|
* @param {*} [options] Override http request option.
|
|
384
395
|
* @throws {RequiredError}
|
|
385
396
|
*/
|
|
386
|
-
getInstantMixFromPlaylist: (
|
|
387
|
-
// verify required parameter '
|
|
388
|
-
assertParamExists('getInstantMixFromPlaylist', '
|
|
389
|
-
const localVarPath = `/Playlists/{
|
|
390
|
-
.replace(`{${"
|
|
397
|
+
getInstantMixFromPlaylist: (itemId_4, userId_7, limit_7, fields_7, enableImages_7, enableUserData_7, imageTypeLimit_7, enableImageTypes_7, ...args_7) => __awaiter(this, [itemId_4, userId_7, limit_7, fields_7, enableImages_7, enableUserData_7, imageTypeLimit_7, enableImageTypes_7, ...args_7], void 0, function* (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
398
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
399
|
+
assertParamExists('getInstantMixFromPlaylist', 'itemId', itemId);
|
|
400
|
+
const localVarPath = `/Playlists/{itemId}/InstantMix`
|
|
401
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
391
402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
393
404
|
let baseOptions;
|
|
@@ -431,7 +442,7 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
431
442
|
/**
|
|
432
443
|
*
|
|
433
444
|
* @summary Creates an instant playlist based on a given song.
|
|
434
|
-
* @param {string}
|
|
445
|
+
* @param {string} itemId The item id.
|
|
435
446
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
436
447
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
437
448
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -442,11 +453,11 @@ const InstantMixApiAxiosParamCreator = function (configuration) {
|
|
|
442
453
|
* @param {*} [options] Override http request option.
|
|
443
454
|
* @throws {RequiredError}
|
|
444
455
|
*/
|
|
445
|
-
getInstantMixFromSong: (
|
|
446
|
-
// verify required parameter '
|
|
447
|
-
assertParamExists('getInstantMixFromSong', '
|
|
448
|
-
const localVarPath = `/Songs/{
|
|
449
|
-
.replace(`{${"
|
|
456
|
+
getInstantMixFromSong: (itemId_5, userId_8, limit_8, fields_8, enableImages_8, enableUserData_8, imageTypeLimit_8, enableImageTypes_8, ...args_8) => __awaiter(this, [itemId_5, userId_8, limit_8, fields_8, enableImages_8, enableUserData_8, imageTypeLimit_8, enableImageTypes_8, ...args_8], void 0, function* (itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options = {}) {
|
|
457
|
+
// verify required parameter 'itemId' is not null or undefined
|
|
458
|
+
assertParamExists('getInstantMixFromSong', 'itemId', itemId);
|
|
459
|
+
const localVarPath = `/Songs/{itemId}/InstantMix`
|
|
460
|
+
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
450
461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
452
463
|
let baseOptions;
|
|
@@ -499,7 +510,7 @@ const InstantMixApiFp = function (configuration) {
|
|
|
499
510
|
/**
|
|
500
511
|
*
|
|
501
512
|
* @summary Creates an instant playlist based on a given album.
|
|
502
|
-
* @param {string}
|
|
513
|
+
* @param {string} itemId The item id.
|
|
503
514
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
504
515
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
505
516
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -510,16 +521,16 @@ const InstantMixApiFp = function (configuration) {
|
|
|
510
521
|
* @param {*} [options] Override http request option.
|
|
511
522
|
* @throws {RequiredError}
|
|
512
523
|
*/
|
|
513
|
-
getInstantMixFromAlbum(
|
|
524
|
+
getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
514
525
|
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromAlbum(
|
|
526
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
516
527
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
517
528
|
});
|
|
518
529
|
},
|
|
519
530
|
/**
|
|
520
531
|
*
|
|
521
532
|
* @summary Creates an instant playlist based on a given artist.
|
|
522
|
-
* @param {string}
|
|
533
|
+
* @param {string} itemId The item id.
|
|
523
534
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
524
535
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
525
536
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -530,9 +541,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
530
541
|
* @param {*} [options] Override http request option.
|
|
531
542
|
* @throws {RequiredError}
|
|
532
543
|
*/
|
|
533
|
-
getInstantMixFromArtists(
|
|
544
|
+
getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
534
545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromArtists(
|
|
546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
536
547
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
537
548
|
});
|
|
538
549
|
},
|
|
@@ -560,7 +571,7 @@ const InstantMixApiFp = function (configuration) {
|
|
|
560
571
|
/**
|
|
561
572
|
*
|
|
562
573
|
* @summary Creates an instant playlist based on a given item.
|
|
563
|
-
* @param {string}
|
|
574
|
+
* @param {string} itemId The item id.
|
|
564
575
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
565
576
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
566
577
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -571,9 +582,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
571
582
|
* @param {*} [options] Override http request option.
|
|
572
583
|
* @throws {RequiredError}
|
|
573
584
|
*/
|
|
574
|
-
getInstantMixFromItem(
|
|
585
|
+
getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
575
586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
576
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromItem(
|
|
587
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
577
588
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
578
589
|
});
|
|
579
590
|
},
|
|
@@ -620,7 +631,7 @@ const InstantMixApiFp = function (configuration) {
|
|
|
620
631
|
/**
|
|
621
632
|
*
|
|
622
633
|
* @summary Creates an instant playlist based on a given playlist.
|
|
623
|
-
* @param {string}
|
|
634
|
+
* @param {string} itemId The item id.
|
|
624
635
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
625
636
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
626
637
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -631,16 +642,16 @@ const InstantMixApiFp = function (configuration) {
|
|
|
631
642
|
* @param {*} [options] Override http request option.
|
|
632
643
|
* @throws {RequiredError}
|
|
633
644
|
*/
|
|
634
|
-
getInstantMixFromPlaylist(
|
|
645
|
+
getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
635
646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromPlaylist(
|
|
647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
637
648
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
638
649
|
});
|
|
639
650
|
},
|
|
640
651
|
/**
|
|
641
652
|
*
|
|
642
653
|
* @summary Creates an instant playlist based on a given song.
|
|
643
|
-
* @param {string}
|
|
654
|
+
* @param {string} itemId The item id.
|
|
644
655
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
645
656
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
646
657
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -651,9 +662,9 @@ const InstantMixApiFp = function (configuration) {
|
|
|
651
662
|
* @param {*} [options] Override http request option.
|
|
652
663
|
* @throws {RequiredError}
|
|
653
664
|
*/
|
|
654
|
-
getInstantMixFromSong(
|
|
665
|
+
getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
655
666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
656
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromSong(
|
|
667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options);
|
|
657
668
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
669
|
});
|
|
659
670
|
},
|
|
@@ -669,7 +680,7 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
669
680
|
/**
|
|
670
681
|
*
|
|
671
682
|
* @summary Creates an instant playlist based on a given album.
|
|
672
|
-
* @param {string}
|
|
683
|
+
* @param {string} itemId The item id.
|
|
673
684
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
674
685
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
675
686
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -680,13 +691,13 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
680
691
|
* @param {*} [options] Override http request option.
|
|
681
692
|
* @throws {RequiredError}
|
|
682
693
|
*/
|
|
683
|
-
getInstantMixFromAlbum(
|
|
684
|
-
return localVarFp.getInstantMixFromAlbum(
|
|
694
|
+
getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
695
|
+
return localVarFp.getInstantMixFromAlbum(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
685
696
|
},
|
|
686
697
|
/**
|
|
687
698
|
*
|
|
688
699
|
* @summary Creates an instant playlist based on a given artist.
|
|
689
|
-
* @param {string}
|
|
700
|
+
* @param {string} itemId The item id.
|
|
690
701
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
691
702
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
692
703
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -697,8 +708,8 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
697
708
|
* @param {*} [options] Override http request option.
|
|
698
709
|
* @throws {RequiredError}
|
|
699
710
|
*/
|
|
700
|
-
getInstantMixFromArtists(
|
|
701
|
-
return localVarFp.getInstantMixFromArtists(
|
|
711
|
+
getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
712
|
+
return localVarFp.getInstantMixFromArtists(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
702
713
|
},
|
|
703
714
|
/**
|
|
704
715
|
*
|
|
@@ -721,7 +732,7 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
721
732
|
/**
|
|
722
733
|
*
|
|
723
734
|
* @summary Creates an instant playlist based on a given item.
|
|
724
|
-
* @param {string}
|
|
735
|
+
* @param {string} itemId The item id.
|
|
725
736
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
726
737
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
727
738
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -732,8 +743,8 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
732
743
|
* @param {*} [options] Override http request option.
|
|
733
744
|
* @throws {RequiredError}
|
|
734
745
|
*/
|
|
735
|
-
getInstantMixFromItem(
|
|
736
|
-
return localVarFp.getInstantMixFromItem(
|
|
746
|
+
getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
747
|
+
return localVarFp.getInstantMixFromItem(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
737
748
|
},
|
|
738
749
|
/**
|
|
739
750
|
*
|
|
@@ -772,7 +783,7 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
772
783
|
/**
|
|
773
784
|
*
|
|
774
785
|
* @summary Creates an instant playlist based on a given playlist.
|
|
775
|
-
* @param {string}
|
|
786
|
+
* @param {string} itemId The item id.
|
|
776
787
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
777
788
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
778
789
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -783,13 +794,13 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
783
794
|
* @param {*} [options] Override http request option.
|
|
784
795
|
* @throws {RequiredError}
|
|
785
796
|
*/
|
|
786
|
-
getInstantMixFromPlaylist(
|
|
787
|
-
return localVarFp.getInstantMixFromPlaylist(
|
|
797
|
+
getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
798
|
+
return localVarFp.getInstantMixFromPlaylist(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
788
799
|
},
|
|
789
800
|
/**
|
|
790
801
|
*
|
|
791
802
|
* @summary Creates an instant playlist based on a given song.
|
|
792
|
-
* @param {string}
|
|
803
|
+
* @param {string} itemId The item id.
|
|
793
804
|
* @param {string} [userId] Optional. Filter by user id, and attach user data.
|
|
794
805
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
795
806
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
@@ -800,8 +811,8 @@ const InstantMixApiFactory = function (configuration, basePath, axios) {
|
|
|
800
811
|
* @param {*} [options] Override http request option.
|
|
801
812
|
* @throws {RequiredError}
|
|
802
813
|
*/
|
|
803
|
-
getInstantMixFromSong(
|
|
804
|
-
return localVarFp.getInstantMixFromSong(
|
|
814
|
+
getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options) {
|
|
815
|
+
return localVarFp.getInstantMixFromSong(itemId, userId, limit, fields, enableImages, enableUserData, imageTypeLimit, enableImageTypes, options).then((request) => request(axios, basePath));
|
|
805
816
|
},
|
|
806
817
|
};
|
|
807
818
|
};
|
|
@@ -821,7 +832,7 @@ class InstantMixApi extends BaseAPI {
|
|
|
821
832
|
* @memberof InstantMixApi
|
|
822
833
|
*/
|
|
823
834
|
getInstantMixFromAlbum(requestParameters, options) {
|
|
824
|
-
return InstantMixApiFp(this.configuration).getInstantMixFromAlbum(requestParameters.
|
|
835
|
+
return InstantMixApiFp(this.configuration).getInstantMixFromAlbum(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(this.axios, this.basePath));
|
|
825
836
|
}
|
|
826
837
|
/**
|
|
827
838
|
*
|
|
@@ -832,7 +843,7 @@ class InstantMixApi extends BaseAPI {
|
|
|
832
843
|
* @memberof InstantMixApi
|
|
833
844
|
*/
|
|
834
845
|
getInstantMixFromArtists(requestParameters, options) {
|
|
835
|
-
return InstantMixApiFp(this.configuration).getInstantMixFromArtists(requestParameters.
|
|
846
|
+
return InstantMixApiFp(this.configuration).getInstantMixFromArtists(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(this.axios, this.basePath));
|
|
836
847
|
}
|
|
837
848
|
/**
|
|
838
849
|
*
|
|
@@ -855,7 +866,7 @@ class InstantMixApi extends BaseAPI {
|
|
|
855
866
|
* @memberof InstantMixApi
|
|
856
867
|
*/
|
|
857
868
|
getInstantMixFromItem(requestParameters, options) {
|
|
858
|
-
return InstantMixApiFp(this.configuration).getInstantMixFromItem(requestParameters.
|
|
869
|
+
return InstantMixApiFp(this.configuration).getInstantMixFromItem(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(this.axios, this.basePath));
|
|
859
870
|
}
|
|
860
871
|
/**
|
|
861
872
|
*
|
|
@@ -888,7 +899,7 @@ class InstantMixApi extends BaseAPI {
|
|
|
888
899
|
* @memberof InstantMixApi
|
|
889
900
|
*/
|
|
890
901
|
getInstantMixFromPlaylist(requestParameters, options) {
|
|
891
|
-
return InstantMixApiFp(this.configuration).getInstantMixFromPlaylist(requestParameters.
|
|
902
|
+
return InstantMixApiFp(this.configuration).getInstantMixFromPlaylist(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(this.axios, this.basePath));
|
|
892
903
|
}
|
|
893
904
|
/**
|
|
894
905
|
*
|
|
@@ -899,7 +910,7 @@ class InstantMixApi extends BaseAPI {
|
|
|
899
910
|
* @memberof InstantMixApi
|
|
900
911
|
*/
|
|
901
912
|
getInstantMixFromSong(requestParameters, options) {
|
|
902
|
-
return InstantMixApiFp(this.configuration).getInstantMixFromSong(requestParameters.
|
|
913
|
+
return InstantMixApiFp(this.configuration).getInstantMixFromSong(requestParameters.itemId, requestParameters.userId, requestParameters.limit, requestParameters.fields, requestParameters.enableImages, requestParameters.enableUserData, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, options).then((request) => request(this.axios, this.basePath));
|
|
903
914
|
}
|
|
904
915
|
}
|
|
905
916
|
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* ItemLookupApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -19,7 +30,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
19
30
|
* @param {*} [options] Override http request option.
|
|
20
31
|
* @throws {RequiredError}
|
|
21
32
|
*/
|
|
22
|
-
applySearchCriteria: (
|
|
33
|
+
applySearchCriteria: (itemId_1, remoteSearchResult_1, replaceAllImages_1, ...args_1) => __awaiter(this, [itemId_1, remoteSearchResult_1, replaceAllImages_1, ...args_1], void 0, function* (itemId, remoteSearchResult, replaceAllImages, options = {}) {
|
|
23
34
|
// verify required parameter 'itemId' is not null or undefined
|
|
24
35
|
assertParamExists('applySearchCriteria', 'itemId', itemId);
|
|
25
36
|
// verify required parameter 'remoteSearchResult' is not null or undefined
|
|
@@ -57,7 +68,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
57
68
|
* @param {*} [options] Override http request option.
|
|
58
69
|
* @throws {RequiredError}
|
|
59
70
|
*/
|
|
60
|
-
getBookRemoteSearchResults: (
|
|
71
|
+
getBookRemoteSearchResults: (bookInfoRemoteSearchQuery_1, ...args_2) => __awaiter(this, [bookInfoRemoteSearchQuery_1, ...args_2], void 0, function* (bookInfoRemoteSearchQuery, options = {}) {
|
|
61
72
|
// verify required parameter 'bookInfoRemoteSearchQuery' is not null or undefined
|
|
62
73
|
assertParamExists('getBookRemoteSearchResults', 'bookInfoRemoteSearchQuery', bookInfoRemoteSearchQuery);
|
|
63
74
|
const localVarPath = `/Items/RemoteSearch/Book`;
|
|
@@ -89,7 +100,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
89
100
|
* @param {*} [options] Override http request option.
|
|
90
101
|
* @throws {RequiredError}
|
|
91
102
|
*/
|
|
92
|
-
getBoxSetRemoteSearchResults: (
|
|
103
|
+
getBoxSetRemoteSearchResults: (boxSetInfoRemoteSearchQuery_1, ...args_3) => __awaiter(this, [boxSetInfoRemoteSearchQuery_1, ...args_3], void 0, function* (boxSetInfoRemoteSearchQuery, options = {}) {
|
|
93
104
|
// verify required parameter 'boxSetInfoRemoteSearchQuery' is not null or undefined
|
|
94
105
|
assertParamExists('getBoxSetRemoteSearchResults', 'boxSetInfoRemoteSearchQuery', boxSetInfoRemoteSearchQuery);
|
|
95
106
|
const localVarPath = `/Items/RemoteSearch/BoxSet`;
|
|
@@ -121,7 +132,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
121
132
|
* @param {*} [options] Override http request option.
|
|
122
133
|
* @throws {RequiredError}
|
|
123
134
|
*/
|
|
124
|
-
getExternalIdInfos: (
|
|
135
|
+
getExternalIdInfos: (itemId_2, ...args_4) => __awaiter(this, [itemId_2, ...args_4], void 0, function* (itemId, options = {}) {
|
|
125
136
|
// verify required parameter 'itemId' is not null or undefined
|
|
126
137
|
assertParamExists('getExternalIdInfos', 'itemId', itemId);
|
|
127
138
|
const localVarPath = `/Items/{itemId}/ExternalIdInfos`
|
|
@@ -152,7 +163,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
152
163
|
* @param {*} [options] Override http request option.
|
|
153
164
|
* @throws {RequiredError}
|
|
154
165
|
*/
|
|
155
|
-
getMovieRemoteSearchResults: (
|
|
166
|
+
getMovieRemoteSearchResults: (movieInfoRemoteSearchQuery_1, ...args_5) => __awaiter(this, [movieInfoRemoteSearchQuery_1, ...args_5], void 0, function* (movieInfoRemoteSearchQuery, options = {}) {
|
|
156
167
|
// verify required parameter 'movieInfoRemoteSearchQuery' is not null or undefined
|
|
157
168
|
assertParamExists('getMovieRemoteSearchResults', 'movieInfoRemoteSearchQuery', movieInfoRemoteSearchQuery);
|
|
158
169
|
const localVarPath = `/Items/RemoteSearch/Movie`;
|
|
@@ -184,7 +195,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
184
195
|
* @param {*} [options] Override http request option.
|
|
185
196
|
* @throws {RequiredError}
|
|
186
197
|
*/
|
|
187
|
-
getMusicAlbumRemoteSearchResults: (
|
|
198
|
+
getMusicAlbumRemoteSearchResults: (albumInfoRemoteSearchQuery_1, ...args_6) => __awaiter(this, [albumInfoRemoteSearchQuery_1, ...args_6], void 0, function* (albumInfoRemoteSearchQuery, options = {}) {
|
|
188
199
|
// verify required parameter 'albumInfoRemoteSearchQuery' is not null or undefined
|
|
189
200
|
assertParamExists('getMusicAlbumRemoteSearchResults', 'albumInfoRemoteSearchQuery', albumInfoRemoteSearchQuery);
|
|
190
201
|
const localVarPath = `/Items/RemoteSearch/MusicAlbum`;
|
|
@@ -216,7 +227,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
216
227
|
* @param {*} [options] Override http request option.
|
|
217
228
|
* @throws {RequiredError}
|
|
218
229
|
*/
|
|
219
|
-
getMusicArtistRemoteSearchResults: (
|
|
230
|
+
getMusicArtistRemoteSearchResults: (artistInfoRemoteSearchQuery_1, ...args_7) => __awaiter(this, [artistInfoRemoteSearchQuery_1, ...args_7], void 0, function* (artistInfoRemoteSearchQuery, options = {}) {
|
|
220
231
|
// verify required parameter 'artistInfoRemoteSearchQuery' is not null or undefined
|
|
221
232
|
assertParamExists('getMusicArtistRemoteSearchResults', 'artistInfoRemoteSearchQuery', artistInfoRemoteSearchQuery);
|
|
222
233
|
const localVarPath = `/Items/RemoteSearch/MusicArtist`;
|
|
@@ -248,7 +259,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
248
259
|
* @param {*} [options] Override http request option.
|
|
249
260
|
* @throws {RequiredError}
|
|
250
261
|
*/
|
|
251
|
-
getMusicVideoRemoteSearchResults: (
|
|
262
|
+
getMusicVideoRemoteSearchResults: (musicVideoInfoRemoteSearchQuery_1, ...args_8) => __awaiter(this, [musicVideoInfoRemoteSearchQuery_1, ...args_8], void 0, function* (musicVideoInfoRemoteSearchQuery, options = {}) {
|
|
252
263
|
// verify required parameter 'musicVideoInfoRemoteSearchQuery' is not null or undefined
|
|
253
264
|
assertParamExists('getMusicVideoRemoteSearchResults', 'musicVideoInfoRemoteSearchQuery', musicVideoInfoRemoteSearchQuery);
|
|
254
265
|
const localVarPath = `/Items/RemoteSearch/MusicVideo`;
|
|
@@ -280,7 +291,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
280
291
|
* @param {*} [options] Override http request option.
|
|
281
292
|
* @throws {RequiredError}
|
|
282
293
|
*/
|
|
283
|
-
getPersonRemoteSearchResults: (
|
|
294
|
+
getPersonRemoteSearchResults: (personLookupInfoRemoteSearchQuery_1, ...args_9) => __awaiter(this, [personLookupInfoRemoteSearchQuery_1, ...args_9], void 0, function* (personLookupInfoRemoteSearchQuery, options = {}) {
|
|
284
295
|
// verify required parameter 'personLookupInfoRemoteSearchQuery' is not null or undefined
|
|
285
296
|
assertParamExists('getPersonRemoteSearchResults', 'personLookupInfoRemoteSearchQuery', personLookupInfoRemoteSearchQuery);
|
|
286
297
|
const localVarPath = `/Items/RemoteSearch/Person`;
|
|
@@ -312,7 +323,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
312
323
|
* @param {*} [options] Override http request option.
|
|
313
324
|
* @throws {RequiredError}
|
|
314
325
|
*/
|
|
315
|
-
getSeriesRemoteSearchResults: (
|
|
326
|
+
getSeriesRemoteSearchResults: (seriesInfoRemoteSearchQuery_1, ...args_10) => __awaiter(this, [seriesInfoRemoteSearchQuery_1, ...args_10], void 0, function* (seriesInfoRemoteSearchQuery, options = {}) {
|
|
316
327
|
// verify required parameter 'seriesInfoRemoteSearchQuery' is not null or undefined
|
|
317
328
|
assertParamExists('getSeriesRemoteSearchResults', 'seriesInfoRemoteSearchQuery', seriesInfoRemoteSearchQuery);
|
|
318
329
|
const localVarPath = `/Items/RemoteSearch/Series`;
|
|
@@ -344,7 +355,7 @@ const ItemLookupApiAxiosParamCreator = function (configuration) {
|
|
|
344
355
|
* @param {*} [options] Override http request option.
|
|
345
356
|
* @throws {RequiredError}
|
|
346
357
|
*/
|
|
347
|
-
getTrailerRemoteSearchResults: (
|
|
358
|
+
getTrailerRemoteSearchResults: (trailerInfoRemoteSearchQuery_1, ...args_11) => __awaiter(this, [trailerInfoRemoteSearchQuery_1, ...args_11], void 0, function* (trailerInfoRemoteSearchQuery, options = {}) {
|
|
348
359
|
// verify required parameter 'trailerInfoRemoteSearchQuery' is not null or undefined
|
|
349
360
|
assertParamExists('getTrailerRemoteSearchResults', 'trailerInfoRemoteSearchQuery', trailerInfoRemoteSearchQuery);
|
|
350
361
|
const localVarPath = `/Items/RemoteSearch/Trailer`;
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* ItemRefreshApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -21,7 +32,7 @@ const ItemRefreshApiAxiosParamCreator = function (configuration) {
|
|
|
21
32
|
* @param {*} [options] Override http request option.
|
|
22
33
|
* @throws {RequiredError}
|
|
23
34
|
*/
|
|
24
|
-
refreshItem: (
|
|
35
|
+
refreshItem: (itemId_1, metadataRefreshMode_1, imageRefreshMode_1, replaceAllMetadata_1, replaceAllImages_1, ...args_1) => __awaiter(this, [itemId_1, metadataRefreshMode_1, imageRefreshMode_1, replaceAllMetadata_1, replaceAllImages_1, ...args_1], void 0, function* (itemId, metadataRefreshMode, imageRefreshMode, replaceAllMetadata, replaceAllImages, options = {}) {
|
|
25
36
|
// verify required parameter 'itemId' is not null or undefined
|
|
26
37
|
assertParamExists('refreshItem', 'itemId', itemId);
|
|
27
38
|
const localVarPath = `/Items/{itemId}/Refresh`
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* ItemUpdateApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -17,7 +28,7 @@ const ItemUpdateApiAxiosParamCreator = function (configuration) {
|
|
|
17
28
|
* @param {*} [options] Override http request option.
|
|
18
29
|
* @throws {RequiredError}
|
|
19
30
|
*/
|
|
20
|
-
getMetadataEditorInfo: (
|
|
31
|
+
getMetadataEditorInfo: (itemId_1, ...args_1) => __awaiter(this, [itemId_1, ...args_1], void 0, function* (itemId, options = {}) {
|
|
21
32
|
// verify required parameter 'itemId' is not null or undefined
|
|
22
33
|
assertParamExists('getMetadataEditorInfo', 'itemId', itemId);
|
|
23
34
|
const localVarPath = `/Items/{itemId}/MetadataEditor`
|
|
@@ -49,7 +60,7 @@ const ItemUpdateApiAxiosParamCreator = function (configuration) {
|
|
|
49
60
|
* @param {*} [options] Override http request option.
|
|
50
61
|
* @throws {RequiredError}
|
|
51
62
|
*/
|
|
52
|
-
updateItem: (
|
|
63
|
+
updateItem: (itemId_2, baseItemDto_1, ...args_2) => __awaiter(this, [itemId_2, baseItemDto_1, ...args_2], void 0, function* (itemId, baseItemDto, options = {}) {
|
|
53
64
|
// verify required parameter 'itemId' is not null or undefined
|
|
54
65
|
assertParamExists('updateItem', 'itemId', itemId);
|
|
55
66
|
// verify required parameter 'baseItemDto' is not null or undefined
|
|
@@ -85,7 +96,7 @@ const ItemUpdateApiAxiosParamCreator = function (configuration) {
|
|
|
85
96
|
* @param {*} [options] Override http request option.
|
|
86
97
|
* @throws {RequiredError}
|
|
87
98
|
*/
|
|
88
|
-
updateItemContentType: (
|
|
99
|
+
updateItemContentType: (itemId_3, contentType_1, ...args_3) => __awaiter(this, [itemId_3, contentType_1, ...args_3], void 0, function* (itemId, contentType, options = {}) {
|
|
89
100
|
// verify required parameter 'itemId' is not null or undefined
|
|
90
101
|
assertParamExists('updateItemContentType', 'itemId', itemId);
|
|
91
102
|
const localVarPath = `/Items/{itemId}/ContentType`
|