@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
|
* MediaInfoApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -17,7 +28,7 @@ const MediaInfoApiAxiosParamCreator = function (configuration) {
|
|
|
17
28
|
* @param {*} [options] Override http request option.
|
|
18
29
|
* @throws {RequiredError}
|
|
19
30
|
*/
|
|
20
|
-
closeLiveStream: (
|
|
31
|
+
closeLiveStream: (liveStreamId_1, ...args_1) => __awaiter(this, [liveStreamId_1, ...args_1], void 0, function* (liveStreamId, options = {}) {
|
|
21
32
|
// verify required parameter 'liveStreamId' is not null or undefined
|
|
22
33
|
assertParamExists('closeLiveStream', 'liveStreamId', liveStreamId);
|
|
23
34
|
const localVarPath = `/LiveStreams/Close`;
|
|
@@ -50,7 +61,7 @@ const MediaInfoApiAxiosParamCreator = function (configuration) {
|
|
|
50
61
|
* @param {*} [options] Override http request option.
|
|
51
62
|
* @throws {RequiredError}
|
|
52
63
|
*/
|
|
53
|
-
getBitrateTestBytes: (
|
|
64
|
+
getBitrateTestBytes: (size_1, ...args_2) => __awaiter(this, [size_1, ...args_2], void 0, function* (size, options = {}) {
|
|
54
65
|
const localVarPath = `/Playback/BitrateTest`;
|
|
55
66
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
67
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -78,15 +89,13 @@ const MediaInfoApiAxiosParamCreator = function (configuration) {
|
|
|
78
89
|
*
|
|
79
90
|
* @summary Gets live playback media info for an item.
|
|
80
91
|
* @param {string} itemId The item id.
|
|
81
|
-
* @param {string} userId The user id.
|
|
92
|
+
* @param {string} [userId] The user id.
|
|
82
93
|
* @param {*} [options] Override http request option.
|
|
83
94
|
* @throws {RequiredError}
|
|
84
95
|
*/
|
|
85
|
-
getPlaybackInfo: (
|
|
96
|
+
getPlaybackInfo: (itemId_1, userId_1, ...args_3) => __awaiter(this, [itemId_1, userId_1, ...args_3], void 0, function* (itemId, userId, options = {}) {
|
|
86
97
|
// verify required parameter 'itemId' is not null or undefined
|
|
87
98
|
assertParamExists('getPlaybackInfo', 'itemId', itemId);
|
|
88
|
-
// verify required parameter 'userId' is not null or undefined
|
|
89
|
-
assertParamExists('getPlaybackInfo', 'userId', userId);
|
|
90
99
|
const localVarPath = `/Items/{itemId}/PlaybackInfo`
|
|
91
100
|
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
92
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -133,7 +142,7 @@ const MediaInfoApiAxiosParamCreator = function (configuration) {
|
|
|
133
142
|
* @param {*} [options] Override http request option.
|
|
134
143
|
* @throws {RequiredError}
|
|
135
144
|
*/
|
|
136
|
-
getPostedPlaybackInfo: (itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, playbackInfoDto, options = {})
|
|
145
|
+
getPostedPlaybackInfo: (itemId_2, userId_2, maxStreamingBitrate_1, startTimeTicks_1, audioStreamIndex_1, subtitleStreamIndex_1, maxAudioChannels_1, mediaSourceId_1, liveStreamId_2, autoOpenLiveStream_1, enableDirectPlay_1, enableDirectStream_1, enableTranscoding_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, playbackInfoDto_1, ...args_4) => __awaiter(this, [itemId_2, userId_2, maxStreamingBitrate_1, startTimeTicks_1, audioStreamIndex_1, subtitleStreamIndex_1, maxAudioChannels_1, mediaSourceId_1, liveStreamId_2, autoOpenLiveStream_1, enableDirectPlay_1, enableDirectStream_1, enableTranscoding_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, playbackInfoDto_1, ...args_4], void 0, function* (itemId, userId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, mediaSourceId, liveStreamId, autoOpenLiveStream, enableDirectPlay, enableDirectStream, enableTranscoding, allowVideoStreamCopy, allowAudioStreamCopy, playbackInfoDto, options = {}) {
|
|
137
146
|
// verify required parameter 'itemId' is not null or undefined
|
|
138
147
|
assertParamExists('getPostedPlaybackInfo', 'itemId', itemId);
|
|
139
148
|
const localVarPath = `/Items/{itemId}/PlaybackInfo`
|
|
@@ -219,7 +228,7 @@ const MediaInfoApiAxiosParamCreator = function (configuration) {
|
|
|
219
228
|
* @param {*} [options] Override http request option.
|
|
220
229
|
* @throws {RequiredError}
|
|
221
230
|
*/
|
|
222
|
-
openLiveStream: (
|
|
231
|
+
openLiveStream: (openToken_1, userId_3, playSessionId_1, maxStreamingBitrate_2, startTimeTicks_2, audioStreamIndex_2, subtitleStreamIndex_2, maxAudioChannels_2, itemId_3, enableDirectPlay_2, enableDirectStream_2, openLiveStreamDto_1, ...args_5) => __awaiter(this, [openToken_1, userId_3, playSessionId_1, maxStreamingBitrate_2, startTimeTicks_2, audioStreamIndex_2, subtitleStreamIndex_2, maxAudioChannels_2, itemId_3, enableDirectPlay_2, enableDirectStream_2, openLiveStreamDto_1, ...args_5], void 0, function* (openToken, userId, playSessionId, maxStreamingBitrate, startTimeTicks, audioStreamIndex, subtitleStreamIndex, maxAudioChannels, itemId, enableDirectPlay, enableDirectStream, openLiveStreamDto, options = {}) {
|
|
223
232
|
const localVarPath = `/LiveStreams/Open`;
|
|
224
233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
225
234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -314,7 +323,7 @@ const MediaInfoApiFp = function (configuration) {
|
|
|
314
323
|
*
|
|
315
324
|
* @summary Gets live playback media info for an item.
|
|
316
325
|
* @param {string} itemId The item id.
|
|
317
|
-
* @param {string} userId The user id.
|
|
326
|
+
* @param {string} [userId] The user id.
|
|
318
327
|
* @param {*} [options] Override http request option.
|
|
319
328
|
* @throws {RequiredError}
|
|
320
329
|
*/
|
|
@@ -409,7 +418,7 @@ const MediaInfoApiFactory = function (configuration, basePath, axios) {
|
|
|
409
418
|
*
|
|
410
419
|
* @summary Gets live playback media info for an item.
|
|
411
420
|
* @param {string} itemId The item id.
|
|
412
|
-
* @param {string} userId The user id.
|
|
421
|
+
* @param {string} [userId] The user id.
|
|
413
422
|
* @param {*} [options] Override http request option.
|
|
414
423
|
* @throws {RequiredError}
|
|
415
424
|
*/
|
|
@@ -4,6 +4,17 @@ import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, creat
|
|
|
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
|
* MoviesApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -21,7 +32,7 @@ const MoviesApiAxiosParamCreator = function (configuration) {
|
|
|
21
32
|
* @param {*} [options] Override http request option.
|
|
22
33
|
* @throws {RequiredError}
|
|
23
34
|
*/
|
|
24
|
-
getMovieRecommendations: (
|
|
35
|
+
getMovieRecommendations: (userId_1, parentId_1, fields_1, categoryLimit_1, itemLimit_1, ...args_1) => __awaiter(this, [userId_1, parentId_1, fields_1, categoryLimit_1, itemLimit_1, ...args_1], void 0, function* (userId, parentId, fields, categoryLimit, itemLimit, options = {}) {
|
|
25
36
|
const localVarPath = `/Movies/Recommendations`;
|
|
26
37
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27
38
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -16,6 +16,7 @@ import { BaseItemDtoQueryResult } from '../models';
|
|
|
16
16
|
import { BaseItemKind } from '../models';
|
|
17
17
|
import { ImageType } from '../models';
|
|
18
18
|
import { ItemFields } from '../models';
|
|
19
|
+
import { ItemSortBy } from '../models';
|
|
19
20
|
import { SortOrder } from '../models';
|
|
20
21
|
/**
|
|
21
22
|
* MusicGenresApi - axios parameter creator
|
|
@@ -48,7 +49,7 @@ export declare const MusicGenresApiAxiosParamCreator: (configuration?: Configura
|
|
|
48
49
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
49
50
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
50
51
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
51
|
-
* @param {Array<
|
|
52
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
52
53
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
53
54
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
54
55
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -56,7 +57,7 @@ export declare const MusicGenresApiAxiosParamCreator: (configuration?: Configura
|
|
|
56
57
|
* @deprecated
|
|
57
58
|
* @throws {RequiredError}
|
|
58
59
|
*/
|
|
59
|
-
getMusicGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<
|
|
60
|
+
getMusicGenres: (startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
61
|
};
|
|
61
62
|
/**
|
|
62
63
|
* MusicGenresApi - functional programming interface
|
|
@@ -89,7 +90,7 @@ export declare const MusicGenresApiFp: (configuration?: Configuration) => {
|
|
|
89
90
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
90
91
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
91
92
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
92
|
-
* @param {Array<
|
|
93
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
93
94
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
94
95
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
95
96
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -97,7 +98,7 @@ export declare const MusicGenresApiFp: (configuration?: Configuration) => {
|
|
|
97
98
|
* @deprecated
|
|
98
99
|
* @throws {RequiredError}
|
|
99
100
|
*/
|
|
100
|
-
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<
|
|
101
|
+
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
101
102
|
};
|
|
102
103
|
/**
|
|
103
104
|
* MusicGenresApi - factory interface
|
|
@@ -130,7 +131,7 @@ export declare const MusicGenresApiFactory: (configuration?: Configuration, base
|
|
|
130
131
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
131
132
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
132
133
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
133
|
-
* @param {Array<
|
|
134
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
134
135
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
135
136
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
136
137
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -138,7 +139,7 @@ export declare const MusicGenresApiFactory: (configuration?: Configuration, base
|
|
|
138
139
|
* @deprecated
|
|
139
140
|
* @throws {RequiredError}
|
|
140
141
|
*/
|
|
141
|
-
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<
|
|
142
|
+
getMusicGenres(startIndex?: number, limit?: number, searchTerm?: string, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, isFavorite?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, nameStartsWithOrGreater?: string, nameStartsWith?: string, nameLessThan?: string, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, enableImages?: boolean, enableTotalRecordCount?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
142
143
|
};
|
|
143
144
|
/**
|
|
144
145
|
* Request parameters for getMusicGenre operation in MusicGenresApi.
|
|
@@ -251,10 +252,10 @@ export interface MusicGenresApiGetMusicGenresRequest {
|
|
|
251
252
|
readonly nameLessThan?: string;
|
|
252
253
|
/**
|
|
253
254
|
* Optional. Specify one or more sort orders, comma delimited.
|
|
254
|
-
* @type {Array<
|
|
255
|
+
* @type {Array<ItemSortBy>}
|
|
255
256
|
* @memberof MusicGenresApiGetMusicGenres
|
|
256
257
|
*/
|
|
257
|
-
readonly sortBy?: Array<
|
|
258
|
+
readonly sortBy?: Array<ItemSortBy>;
|
|
258
259
|
/**
|
|
259
260
|
* Sort Order - Ascending,Descending.
|
|
260
261
|
* @type {Array<SortOrder>}
|
|
@@ -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
|
* MusicGenresApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -18,7 +29,7 @@ const MusicGenresApiAxiosParamCreator = function (configuration) {
|
|
|
18
29
|
* @param {*} [options] Override http request option.
|
|
19
30
|
* @throws {RequiredError}
|
|
20
31
|
*/
|
|
21
|
-
getMusicGenre: (
|
|
32
|
+
getMusicGenre: (genreName_1, userId_1, ...args_1) => __awaiter(this, [genreName_1, userId_1, ...args_1], void 0, function* (genreName, userId, options = {}) {
|
|
22
33
|
// verify required parameter 'genreName' is not null or undefined
|
|
23
34
|
assertParamExists('getMusicGenre', 'genreName', genreName);
|
|
24
35
|
const localVarPath = `/MusicGenres/{genreName}`
|
|
@@ -62,7 +73,7 @@ const MusicGenresApiAxiosParamCreator = function (configuration) {
|
|
|
62
73
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
63
74
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
64
75
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
65
|
-
* @param {Array<
|
|
76
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
66
77
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
67
78
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
68
79
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -70,7 +81,7 @@ const MusicGenresApiAxiosParamCreator = function (configuration) {
|
|
|
70
81
|
* @deprecated
|
|
71
82
|
* @throws {RequiredError}
|
|
72
83
|
*/
|
|
73
|
-
getMusicGenres: (startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options = {})
|
|
84
|
+
getMusicGenres: (startIndex_1, limit_1, searchTerm_1, parentId_1, fields_1, excludeItemTypes_1, includeItemTypes_1, isFavorite_1, imageTypeLimit_1, enableImageTypes_1, userId_2, nameStartsWithOrGreater_1, nameStartsWith_1, nameLessThan_1, sortBy_1, sortOrder_1, enableImages_1, enableTotalRecordCount_1, ...args_2) => __awaiter(this, [startIndex_1, limit_1, searchTerm_1, parentId_1, fields_1, excludeItemTypes_1, includeItemTypes_1, isFavorite_1, imageTypeLimit_1, enableImageTypes_1, userId_2, nameStartsWithOrGreater_1, nameStartsWith_1, nameLessThan_1, sortBy_1, sortOrder_1, enableImages_1, enableTotalRecordCount_1, ...args_2], void 0, function* (startIndex, limit, searchTerm, parentId, fields, excludeItemTypes, includeItemTypes, isFavorite, imageTypeLimit, enableImageTypes, userId, nameStartsWithOrGreater, nameStartsWith, nameLessThan, sortBy, sortOrder, enableImages, enableTotalRecordCount, options = {}) {
|
|
74
85
|
const localVarPath = `/MusicGenres`;
|
|
75
86
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
87
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -185,7 +196,7 @@ const MusicGenresApiFp = function (configuration) {
|
|
|
185
196
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
186
197
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
187
198
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
188
|
-
* @param {Array<
|
|
199
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
189
200
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
190
201
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
191
202
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -236,7 +247,7 @@ const MusicGenresApiFactory = function (configuration, basePath, axios) {
|
|
|
236
247
|
* @param {string} [nameStartsWithOrGreater] Optional filter by items whose name is sorted equally or greater than a given input string.
|
|
237
248
|
* @param {string} [nameStartsWith] Optional filter by items whose name is sorted equally than a given input string.
|
|
238
249
|
* @param {string} [nameLessThan] Optional filter by items whose name is equally or lesser than a given input string.
|
|
239
|
-
* @param {Array<
|
|
250
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited.
|
|
240
251
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
241
252
|
* @param {boolean} [enableImages] Optional, include image information in output.
|
|
242
253
|
* @param {boolean} [enableTotalRecordCount] Optional. Include total record count.
|
|
@@ -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
|
* PackageApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -17,7 +28,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
17
28
|
* @param {*} [options] Override http request option.
|
|
18
29
|
* @throws {RequiredError}
|
|
19
30
|
*/
|
|
20
|
-
cancelPackageInstallation: (
|
|
31
|
+
cancelPackageInstallation: (packageId_1, ...args_1) => __awaiter(this, [packageId_1, ...args_1], void 0, function* (packageId, options = {}) {
|
|
21
32
|
// verify required parameter 'packageId' is not null or undefined
|
|
22
33
|
assertParamExists('cancelPackageInstallation', 'packageId', packageId);
|
|
23
34
|
const localVarPath = `/Packages/Installing/{packageId}`
|
|
@@ -49,7 +60,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
49
60
|
* @param {*} [options] Override http request option.
|
|
50
61
|
* @throws {RequiredError}
|
|
51
62
|
*/
|
|
52
|
-
getPackageInfo: (
|
|
63
|
+
getPackageInfo: (name_1, assemblyGuid_1, ...args_2) => __awaiter(this, [name_1, assemblyGuid_1, ...args_2], void 0, function* (name, assemblyGuid, options = {}) {
|
|
53
64
|
// verify required parameter 'name' is not null or undefined
|
|
54
65
|
assertParamExists('getPackageInfo', 'name', name);
|
|
55
66
|
const localVarPath = `/Packages/{name}`
|
|
@@ -82,7 +93,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
82
93
|
* @param {*} [options] Override http request option.
|
|
83
94
|
* @throws {RequiredError}
|
|
84
95
|
*/
|
|
85
|
-
getPackages: (
|
|
96
|
+
getPackages: (...args_3) => __awaiter(this, [...args_3], void 0, function* (options = {}) {
|
|
86
97
|
const localVarPath = `/Packages`;
|
|
87
98
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
99
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -109,7 +120,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
109
120
|
* @param {*} [options] Override http request option.
|
|
110
121
|
* @throws {RequiredError}
|
|
111
122
|
*/
|
|
112
|
-
getRepositories: (
|
|
123
|
+
getRepositories: (...args_4) => __awaiter(this, [...args_4], void 0, function* (options = {}) {
|
|
113
124
|
const localVarPath = `/Repositories`;
|
|
114
125
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
115
126
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -140,7 +151,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
140
151
|
* @param {*} [options] Override http request option.
|
|
141
152
|
* @throws {RequiredError}
|
|
142
153
|
*/
|
|
143
|
-
installPackage: (
|
|
154
|
+
installPackage: (name_2, assemblyGuid_2, version_1, repositoryUrl_1, ...args_5) => __awaiter(this, [name_2, assemblyGuid_2, version_1, repositoryUrl_1, ...args_5], void 0, function* (name, assemblyGuid, version, repositoryUrl, options = {}) {
|
|
144
155
|
// verify required parameter 'name' is not null or undefined
|
|
145
156
|
assertParamExists('installPackage', 'name', name);
|
|
146
157
|
const localVarPath = `/Packages/Installed/{name}`
|
|
@@ -180,7 +191,7 @@ const PackageApiAxiosParamCreator = function (configuration) {
|
|
|
180
191
|
* @param {*} [options] Override http request option.
|
|
181
192
|
* @throws {RequiredError}
|
|
182
193
|
*/
|
|
183
|
-
setRepositories: (
|
|
194
|
+
setRepositories: (repositoryInfo_1, ...args_6) => __awaiter(this, [repositoryInfo_1, ...args_6], void 0, function* (repositoryInfo, options = {}) {
|
|
184
195
|
// verify required parameter 'repositoryInfo' is not null or undefined
|
|
185
196
|
assertParamExists('setRepositories', 'repositoryInfo', repositoryInfo);
|
|
186
197
|
const localVarPath = `/Repositories`;
|
|
@@ -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
|
* PersonsApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -18,7 +29,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
|
18
29
|
* @param {*} [options] Override http request option.
|
|
19
30
|
* @throws {RequiredError}
|
|
20
31
|
*/
|
|
21
|
-
getPerson: (
|
|
32
|
+
getPerson: (name_1, userId_1, ...args_1) => __awaiter(this, [name_1, userId_1, ...args_1], void 0, function* (name, userId, options = {}) {
|
|
22
33
|
// verify required parameter 'name' is not null or undefined
|
|
23
34
|
assertParamExists('getPerson', 'name', name);
|
|
24
35
|
const localVarPath = `/Persons/{name}`
|
|
@@ -64,7 +75,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
|
64
75
|
* @param {*} [options] Override http request option.
|
|
65
76
|
* @throws {RequiredError}
|
|
66
77
|
*/
|
|
67
|
-
getPersons: (
|
|
78
|
+
getPersons: (limit_1, searchTerm_1, fields_1, filters_1, isFavorite_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, excludePersonTypes_1, personTypes_1, appearsInItemId_1, userId_2, enableImages_1, ...args_2) => __awaiter(this, [limit_1, searchTerm_1, fields_1, filters_1, isFavorite_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, excludePersonTypes_1, personTypes_1, appearsInItemId_1, userId_2, enableImages_1, ...args_2], void 0, function* (limit, searchTerm, fields, filters, isFavorite, enableUserData, imageTypeLimit, enableImageTypes, excludePersonTypes, personTypes, appearsInItemId, userId, enableImages, options = {}) {
|
|
68
79
|
const localVarPath = `/Persons`;
|
|
69
80
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
81
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|