@jellyfin/sdk 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -4
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +39 -36
- package/lib/generated-client/api/activity-log-api.js +19 -11
- package/lib/generated-client/api/api-key-api.js +35 -31
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +47 -43
- package/lib/generated-client/api/audio-api.d.ts +20 -20
- package/lib/generated-client/api/audio-api.js +45 -43
- package/lib/generated-client/api/branding-api.js +32 -28
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +54 -54
- package/lib/generated-client/api/client-log-api.js +19 -11
- package/lib/generated-client/api/collection-api.js +35 -31
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +51 -117
- package/lib/generated-client/api/dashboard-api.js +26 -20
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +54 -60
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +39 -37
- package/lib/generated-client/api/dynamic-hls-api.d.ts +49 -31
- package/lib/generated-client/api/dynamic-hls-api.js +104 -100
- package/lib/generated-client/api/environment-api.js +59 -61
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +30 -24
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +30 -24
- package/lib/generated-client/api/hls-segment-api.js +48 -48
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +394 -1307
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +125 -131
- package/lib/generated-client/api/item-lookup-api.js +99 -111
- package/lib/generated-client/api/item-refresh-api.js +19 -11
- package/lib/generated-client/api/item-update-api.js +35 -31
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +191 -617
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +214 -254
- package/lib/generated-client/api/library-structure-api.js +75 -81
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +343 -415
- package/lib/generated-client/api/localization-api.js +43 -41
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/lyrics-api.js +449 -0
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +54 -56
- package/lib/generated-client/api/movies-api.js +19 -11
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +30 -24
- package/lib/generated-client/api/package-api.js +59 -61
- package/lib/generated-client/api/persons-api.js +27 -21
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +416 -71
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +127 -153
- package/lib/generated-client/api/plugins-api.js +83 -91
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +83 -75
- package/lib/generated-client/api/remote-image-api.js +35 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +51 -51
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +34 -26
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +145 -173
- package/lib/generated-client/api/startup-api.js +67 -71
- package/lib/generated-client/api/studios-api.js +27 -21
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +99 -109
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +31 -23
- package/lib/generated-client/api/sync-play-api.js +179 -211
- package/lib/generated-client/api/system-api.js +88 -98
- package/lib/generated-client/api/time-sync-api.js +18 -10
- package/lib/generated-client/api/tmdb-api.js +19 -11
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +40 -32
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +208 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +58 -50
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +33 -27
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +152 -319
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +190 -200
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +47 -41
- package/lib/generated-client/api/video-attachments-api.js +18 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +63 -67
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +33 -27
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +19 -11
- package/lib/generated-client/index.js +19 -10
- package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
- package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
- package/lib/generated-client/models/audio-spatial-format.js +24 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
- package/lib/generated-client/models/base-item-dto.d.ts +37 -17
- package/lib/generated-client/models/base-item-person.d.ts +4 -3
- package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
- package/lib/generated-client/models/client-capabilities.d.ts +16 -19
- package/lib/generated-client/models/collection-type-options.d.ts +9 -9
- package/lib/generated-client/models/collection-type-options.js +9 -9
- package/lib/generated-client/models/collection-type.d.ts +31 -0
- package/lib/generated-client/models/collection-type.js +34 -0
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +6 -0
- package/lib/generated-client/models/device-profile.d.ts +0 -171
- package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
- package/lib/generated-client/models/dlna-profile-type.js +2 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
- package/lib/generated-client/models/encoding-options.d.ts +77 -40
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/extra-type.d.ts +30 -0
- package/lib/generated-client/models/extra-type.js +33 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
- package/lib/generated-client/models/general-command-message.d.ts +37 -0
- package/lib/generated-client/models/general-command-type.d.ts +1 -0
- package/lib/generated-client/models/general-command-type.js +2 -1
- package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update.d.ts +31 -0
- package/lib/generated-client/models/group-update.d.ts +20 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
- package/lib/generated-client/models/hardware-encoding-type.js +2 -1
- package/lib/generated-client/models/image-format.d.ts +1 -0
- package/lib/generated-client/models/image-format.js +2 -1
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
- package/lib/generated-client/models/index.d.ts +74 -25
- package/lib/generated-client/models/index.js +17 -6
- package/lib/generated-client/models/item-fields.d.ts +1 -2
- package/lib/generated-client/models/item-fields.js +1 -2
- package/lib/generated-client/models/item-sort-by.d.ts +50 -0
- package/lib/generated-client/models/item-sort-by.js +53 -0
- package/lib/generated-client/models/library-changed-message.d.ts +37 -0
- package/lib/generated-client/models/library-options.d.ts +36 -0
- package/lib/generated-client/models/live-tv-options.d.ts +12 -0
- package/lib/generated-client/models/log-file.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +31 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
- package/lib/generated-client/models/media-source-info.d.ts +3 -2
- package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
- package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
- package/lib/generated-client/models/media-stream-type.d.ts +1 -0
- package/lib/generated-client/models/media-stream-type.js +2 -1
- package/lib/generated-client/models/media-stream.d.ts +27 -6
- package/lib/generated-client/models/media-type.d.ts +23 -0
- package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
- package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
- package/lib/generated-client/models/network-configuration.d.ts +50 -116
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/person-kind.d.ts +43 -0
- package/lib/generated-client/models/person-kind.js +46 -0
- package/lib/generated-client/models/play-message.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
- package/lib/generated-client/models/play-queue-update-reason.js +31 -0
- package/lib/generated-client/models/play-queue-update.d.ts +69 -0
- package/lib/generated-client/models/playback-order.d.ts +20 -0
- package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
- package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
- package/lib/generated-client/models/playback-request-type.d.ts +35 -0
- package/lib/generated-client/models/playback-request-type.js +38 -0
- package/lib/generated-client/models/playback-start-info.d.ts +7 -0
- package/lib/generated-client/models/player-state-info.d.ts +7 -0
- package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
- package/lib/generated-client/models/playstate-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
- package/lib/generated-client/models/process-priority-class.d.ts +24 -0
- package/lib/generated-client/models/process-priority-class.js +27 -0
- package/lib/generated-client/models/public-system-info.d.ts +1 -0
- package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/restart-required-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
- package/lib/generated-client/models/search-hint.d.ts +19 -16
- package/lib/generated-client/models/series-status.d.ts +2 -1
- package/lib/generated-client/models/series-status.js +3 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/server-configuration.d.ts +45 -0
- package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
- package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
- package/lib/generated-client/models/session-info.d.ts +9 -9
- package/lib/generated-client/models/sessions-message.d.ts +37 -0
- package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
- package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
- package/lib/generated-client/models/string-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
- package/lib/generated-client/models/system-info.d.ts +17 -6
- package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/transcoding-info.d.ts +3 -2
- package/lib/generated-client/models/transcoding-info.js +15 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
- package/lib/generated-client/models/trickplay-info.d.ts +59 -0
- package/lib/generated-client/models/trickplay-options.d.ts +85 -0
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
- package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
- package/lib/generated-client/models/user-configuration.d.ts +6 -0
- package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
- package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
- package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
- package/lib/generated-client/models/user-dto.d.ts +1 -0
- package/lib/generated-client/models/user-policy.d.ts +26 -2
- package/lib/generated-client/models/user-updated-message.d.ts +37 -0
- package/lib/generated-client/models/video-range-type.d.ts +27 -0
- package/lib/generated-client/models/video-range-type.js +30 -0
- package/lib/generated-client/models/video-range.d.ts +21 -0
- package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
- package/lib/generated-client/models/web-socket-message.d.ts +18 -0
- package/lib/utils/api/image-api.d.ts +2 -2
- package/lib/utils/api/image-api.js +2 -2
- package/lib/utils/api/image-urls-api.d.ts +55 -0
- package/lib/utils/api/image-urls-api.js +115 -0
- package/lib/utils/api/index.d.ts +2 -4
- package/lib/utils/api/index.js +2 -4
- package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
- package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
- package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
- package/lib/utils/api/trickplay-api.js +12 -0
- package/lib/utils/authentication.js +5 -6
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +2 -1
- package/lib/utils/versioning.d.ts +9 -0
- package/lib/utils/versioning.js +32 -0
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -22
- package/lib/generated-client/api/dlna-api.js +0 -422
- package/lib/generated-client/api/dlna-server-api.js +0 -1088
- package/lib/generated-client/api/image-by-name-api.js +0 -423
- package/lib/generated-client/api/notifications-api.js +0 -484
- package/lib/node_modules/tslib/tslib.es6.js +0 -26
- package/lib/utils/api/dlna-server-api.js +0 -12
- package/lib/utils/api/image-by-name-api.d.ts +0 -8
- package/lib/utils/api/image-by-name-api.js +0 -12
- package/lib/utils/api/notifications-api.d.ts +0 -8
- package/lib/utils/api/notifications-api.js +0 -12
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Jellyfin API
|
|
12
|
+
*
|
|
13
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
14
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
15
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
16
|
+
*/
|
|
7
17
|
/**
|
|
8
18
|
* YearsApi - axios parameter creator
|
|
9
19
|
* @export
|
|
@@ -18,7 +28,7 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
18
28
|
* @param {*} [options] Override http request option.
|
|
19
29
|
* @throws {RequiredError}
|
|
20
30
|
*/
|
|
21
|
-
getYear: (year, userId, options = {}) =>
|
|
31
|
+
getYear: async (year, userId, options = {}) => {
|
|
22
32
|
// verify required parameter 'year' is not null or undefined
|
|
23
33
|
assertParamExists('getYear', 'year', year);
|
|
24
34
|
const localVarPath = `/Years/{year}`
|
|
@@ -29,22 +39,22 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
29
39
|
if (configuration) {
|
|
30
40
|
baseOptions = configuration.baseOptions;
|
|
31
41
|
}
|
|
32
|
-
const localVarRequestOptions =
|
|
42
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
33
43
|
const localVarHeaderParameter = {};
|
|
34
44
|
const localVarQueryParameter = {};
|
|
35
45
|
// authentication CustomAuthentication required
|
|
36
|
-
|
|
46
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
37
47
|
if (userId !== undefined) {
|
|
38
48
|
localVarQueryParameter['userId'] = userId;
|
|
39
49
|
}
|
|
40
50
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41
51
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42
|
-
localVarRequestOptions.headers =
|
|
52
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43
53
|
return {
|
|
44
54
|
url: toPathString(localVarUrlObj),
|
|
45
55
|
options: localVarRequestOptions,
|
|
46
56
|
};
|
|
47
|
-
}
|
|
57
|
+
},
|
|
48
58
|
/**
|
|
49
59
|
*
|
|
50
60
|
* @summary Get years.
|
|
@@ -55,8 +65,8 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
55
65
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
56
66
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
57
67
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
58
|
-
* @param {Array<
|
|
59
|
-
* @param {Array<
|
|
68
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
69
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
60
70
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
61
71
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
62
72
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -66,7 +76,7 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
66
76
|
* @param {*} [options] Override http request option.
|
|
67
77
|
* @throws {RequiredError}
|
|
68
78
|
*/
|
|
69
|
-
getYears: (startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options = {}) =>
|
|
79
|
+
getYears: async (startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options = {}) => {
|
|
70
80
|
const localVarPath = `/Years`;
|
|
71
81
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -74,11 +84,11 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
74
84
|
if (configuration) {
|
|
75
85
|
baseOptions = configuration.baseOptions;
|
|
76
86
|
}
|
|
77
|
-
const localVarRequestOptions =
|
|
87
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
78
88
|
const localVarHeaderParameter = {};
|
|
79
89
|
const localVarQueryParameter = {};
|
|
80
90
|
// authentication CustomAuthentication required
|
|
81
|
-
|
|
91
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
82
92
|
if (startIndex !== undefined) {
|
|
83
93
|
localVarQueryParameter['startIndex'] = startIndex;
|
|
84
94
|
}
|
|
@@ -126,12 +136,12 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
126
136
|
}
|
|
127
137
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
138
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
-
localVarRequestOptions.headers =
|
|
139
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
130
140
|
return {
|
|
131
141
|
url: toPathString(localVarUrlObj),
|
|
132
142
|
options: localVarRequestOptions,
|
|
133
143
|
};
|
|
134
|
-
}
|
|
144
|
+
},
|
|
135
145
|
};
|
|
136
146
|
};
|
|
137
147
|
/**
|
|
@@ -149,11 +159,9 @@ const YearsApiFp = function (configuration) {
|
|
|
149
159
|
* @param {*} [options] Override http request option.
|
|
150
160
|
* @throws {RequiredError}
|
|
151
161
|
*/
|
|
152
|
-
getYear(year, userId, options) {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
156
|
-
});
|
|
162
|
+
async getYear(year, userId, options) {
|
|
163
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getYear(year, userId, options);
|
|
164
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
157
165
|
},
|
|
158
166
|
/**
|
|
159
167
|
*
|
|
@@ -165,8 +173,8 @@ const YearsApiFp = function (configuration) {
|
|
|
165
173
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
166
174
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
167
175
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
168
|
-
* @param {Array<
|
|
169
|
-
* @param {Array<
|
|
176
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
177
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
170
178
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
171
179
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
172
180
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -176,11 +184,9 @@ const YearsApiFp = function (configuration) {
|
|
|
176
184
|
* @param {*} [options] Override http request option.
|
|
177
185
|
* @throws {RequiredError}
|
|
178
186
|
*/
|
|
179
|
-
getYears(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options) {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
183
|
-
});
|
|
187
|
+
async getYears(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options) {
|
|
188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getYears(startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options);
|
|
189
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
184
190
|
},
|
|
185
191
|
};
|
|
186
192
|
};
|
|
@@ -212,8 +218,8 @@ const YearsApiFactory = function (configuration, basePath, axios) {
|
|
|
212
218
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
213
219
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
214
220
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
215
|
-
* @param {Array<
|
|
216
|
-
* @param {Array<
|
|
221
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
222
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
217
223
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
218
224
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
219
225
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -20,15 +20,12 @@ export * from './api/configuration-api';
|
|
|
20
20
|
export * from './api/dashboard-api';
|
|
21
21
|
export * from './api/devices-api';
|
|
22
22
|
export * from './api/display-preferences-api';
|
|
23
|
-
export * from './api/dlna-api';
|
|
24
|
-
export * from './api/dlna-server-api';
|
|
25
23
|
export * from './api/dynamic-hls-api';
|
|
26
24
|
export * from './api/environment-api';
|
|
27
25
|
export * from './api/filter-api';
|
|
28
26
|
export * from './api/genres-api';
|
|
29
27
|
export * from './api/hls-segment-api';
|
|
30
28
|
export * from './api/image-api';
|
|
31
|
-
export * from './api/image-by-name-api';
|
|
32
29
|
export * from './api/instant-mix-api';
|
|
33
30
|
export * from './api/item-lookup-api';
|
|
34
31
|
export * from './api/item-refresh-api';
|
|
@@ -38,10 +35,10 @@ export * from './api/library-api';
|
|
|
38
35
|
export * from './api/library-structure-api';
|
|
39
36
|
export * from './api/live-tv-api';
|
|
40
37
|
export * from './api/localization-api';
|
|
38
|
+
export * from './api/lyrics-api';
|
|
41
39
|
export * from './api/media-info-api';
|
|
42
40
|
export * from './api/movies-api';
|
|
43
41
|
export * from './api/music-genres-api';
|
|
44
|
-
export * from './api/notifications-api';
|
|
45
42
|
export * from './api/package-api';
|
|
46
43
|
export * from './api/persons-api';
|
|
47
44
|
export * from './api/playlists-api';
|
|
@@ -61,6 +58,7 @@ export * from './api/system-api';
|
|
|
61
58
|
export * from './api/time-sync-api';
|
|
62
59
|
export * from './api/tmdb-api';
|
|
63
60
|
export * from './api/trailers-api';
|
|
61
|
+
export * from './api/trickplay-api';
|
|
64
62
|
export * from './api/tv-shows-api';
|
|
65
63
|
export * from './api/universal-audio-api';
|
|
66
64
|
export * from './api/user-api';
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
* Jellyfin API
|
|
10
|
+
*
|
|
11
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
12
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
13
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
14
|
+
*/
|
|
15
|
+
// Some imports not used depending on template conditions
|
|
16
|
+
// @ts-ignore
|
|
4
17
|
const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
5
18
|
/**
|
|
6
19
|
*
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { __awaiter } from '../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import { RequiredError } from './base.js';
|
|
3
2
|
|
|
4
3
|
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
* Jellyfin API
|
|
10
|
+
*
|
|
11
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
12
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
13
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
14
|
+
*/
|
|
5
15
|
/**
|
|
6
16
|
*
|
|
7
17
|
* @export
|
|
@@ -21,15 +31,13 @@ const assertParamExists = function (functionName, paramName, paramValue) {
|
|
|
21
31
|
*
|
|
22
32
|
* @export
|
|
23
33
|
*/
|
|
24
|
-
const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
});
|
|
34
|
+
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
35
|
+
if (configuration && configuration.apiKey) {
|
|
36
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
37
|
+
? await configuration.apiKey(keyParamName)
|
|
38
|
+
: await configuration.apiKey;
|
|
39
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
40
|
+
}
|
|
33
41
|
};
|
|
34
42
|
/**
|
|
35
43
|
*
|
|
@@ -78,7 +86,7 @@ const toPathString = function (url) {
|
|
|
78
86
|
*/
|
|
79
87
|
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
80
88
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
81
|
-
const axiosRequestArgs =
|
|
89
|
+
const axiosRequestArgs = { ...axiosArgs.options, url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url };
|
|
82
90
|
return axios.request(axiosRequestArgs);
|
|
83
91
|
};
|
|
84
92
|
};
|
|
@@ -10,15 +10,12 @@ export { ConfigurationApi, ConfigurationApiAxiosParamCreator, ConfigurationApiFa
|
|
|
10
10
|
export { DashboardApi, DashboardApiAxiosParamCreator, DashboardApiFactory, DashboardApiFp } from './api/dashboard-api.js';
|
|
11
11
|
export { DevicesApi, DevicesApiAxiosParamCreator, DevicesApiFactory, DevicesApiFp } from './api/devices-api.js';
|
|
12
12
|
export { DisplayPreferencesApi, DisplayPreferencesApiAxiosParamCreator, DisplayPreferencesApiFactory, DisplayPreferencesApiFp } from './api/display-preferences-api.js';
|
|
13
|
-
export { DlnaApi, DlnaApiAxiosParamCreator, DlnaApiFactory, DlnaApiFp } from './api/dlna-api.js';
|
|
14
|
-
export { DlnaServerApi, DlnaServerApiAxiosParamCreator, DlnaServerApiFactory, DlnaServerApiFp } from './api/dlna-server-api.js';
|
|
15
13
|
export { DynamicHlsApi, DynamicHlsApiAxiosParamCreator, DynamicHlsApiFactory, DynamicHlsApiFp } from './api/dynamic-hls-api.js';
|
|
16
14
|
export { EnvironmentApi, EnvironmentApiAxiosParamCreator, EnvironmentApiFactory, EnvironmentApiFp } from './api/environment-api.js';
|
|
17
15
|
export { FilterApi, FilterApiAxiosParamCreator, FilterApiFactory, FilterApiFp } from './api/filter-api.js';
|
|
18
16
|
export { GenresApi, GenresApiAxiosParamCreator, GenresApiFactory, GenresApiFp } from './api/genres-api.js';
|
|
19
17
|
export { HlsSegmentApi, HlsSegmentApiAxiosParamCreator, HlsSegmentApiFactory, HlsSegmentApiFp } from './api/hls-segment-api.js';
|
|
20
18
|
export { ImageApi, ImageApiAxiosParamCreator, ImageApiFactory, ImageApiFp } from './api/image-api.js';
|
|
21
|
-
export { ImageByNameApi, ImageByNameApiAxiosParamCreator, ImageByNameApiFactory, ImageByNameApiFp } from './api/image-by-name-api.js';
|
|
22
19
|
export { InstantMixApi, InstantMixApiAxiosParamCreator, InstantMixApiFactory, InstantMixApiFp } from './api/instant-mix-api.js';
|
|
23
20
|
export { ItemLookupApi, ItemLookupApiAxiosParamCreator, ItemLookupApiFactory, ItemLookupApiFp } from './api/item-lookup-api.js';
|
|
24
21
|
export { ItemRefreshApi, ItemRefreshApiAxiosParamCreator, ItemRefreshApiFactory, ItemRefreshApiFp } from './api/item-refresh-api.js';
|
|
@@ -28,10 +25,10 @@ export { LibraryApi, LibraryApiAxiosParamCreator, LibraryApiFactory, LibraryApiF
|
|
|
28
25
|
export { LibraryStructureApi, LibraryStructureApiAxiosParamCreator, LibraryStructureApiFactory, LibraryStructureApiFp } from './api/library-structure-api.js';
|
|
29
26
|
export { LiveTvApi, LiveTvApiAxiosParamCreator, LiveTvApiFactory, LiveTvApiFp } from './api/live-tv-api.js';
|
|
30
27
|
export { LocalizationApi, LocalizationApiAxiosParamCreator, LocalizationApiFactory, LocalizationApiFp } from './api/localization-api.js';
|
|
28
|
+
export { LyricsApi, LyricsApiAxiosParamCreator, LyricsApiFactory, LyricsApiFp } from './api/lyrics-api.js';
|
|
31
29
|
export { MediaInfoApi, MediaInfoApiAxiosParamCreator, MediaInfoApiFactory, MediaInfoApiFp } from './api/media-info-api.js';
|
|
32
30
|
export { MoviesApi, MoviesApiAxiosParamCreator, MoviesApiFactory, MoviesApiFp } from './api/movies-api.js';
|
|
33
31
|
export { MusicGenresApi, MusicGenresApiAxiosParamCreator, MusicGenresApiFactory, MusicGenresApiFp } from './api/music-genres-api.js';
|
|
34
|
-
export { NotificationsApi, NotificationsApiAxiosParamCreator, NotificationsApiFactory, NotificationsApiFp } from './api/notifications-api.js';
|
|
35
32
|
export { PackageApi, PackageApiAxiosParamCreator, PackageApiFactory, PackageApiFp } from './api/package-api.js';
|
|
36
33
|
export { PersonsApi, PersonsApiAxiosParamCreator, PersonsApiFactory, PersonsApiFp } from './api/persons-api.js';
|
|
37
34
|
export { PlaylistsApi, PlaylistsApiAxiosParamCreator, PlaylistsApiFactory, PlaylistsApiFp } from './api/playlists-api.js';
|
|
@@ -51,6 +48,7 @@ export { SystemApi, SystemApiAxiosParamCreator, SystemApiFactory, SystemApiFp }
|
|
|
51
48
|
export { TimeSyncApi, TimeSyncApiAxiosParamCreator, TimeSyncApiFactory, TimeSyncApiFp } from './api/time-sync-api.js';
|
|
52
49
|
export { TmdbApi, TmdbApiAxiosParamCreator, TmdbApiFactory, TmdbApiFp } from './api/tmdb-api.js';
|
|
53
50
|
export { TrailersApi, TrailersApiAxiosParamCreator, TrailersApiFactory, TrailersApiFp } from './api/trailers-api.js';
|
|
51
|
+
export { TrickplayApi, TrickplayApiAxiosParamCreator, TrickplayApiFactory, TrickplayApiFp } from './api/trickplay-api.js';
|
|
54
52
|
export { TvShowsApi, TvShowsApiAxiosParamCreator, TvShowsApiFactory, TvShowsApiFp } from './api/tv-shows-api.js';
|
|
55
53
|
export { UniversalAudioApi, UniversalAudioApiAxiosParamCreator, UniversalAudioApiFactory, UniversalAudioApiFp } from './api/universal-audio-api.js';
|
|
56
54
|
export { UserApi, UserApiAxiosParamCreator, UserApiFactory, UserApiFp } from './api/user-api.js';
|
|
@@ -60,23 +58,24 @@ export { VideoAttachmentsApi, VideoAttachmentsApiAxiosParamCreator, VideoAttachm
|
|
|
60
58
|
export { VideosApi, VideosApiAxiosParamCreator, VideosApiFactory, VideosApiFp } from './api/videos-api.js';
|
|
61
59
|
export { YearsApi, YearsApiAxiosParamCreator, YearsApiFactory, YearsApiFp } from './api/years-api.js';
|
|
62
60
|
export { Configuration } from './configuration.js';
|
|
63
|
-
export {
|
|
61
|
+
export { AudioSpatialFormat } from './models/audio-spatial-format.js';
|
|
64
62
|
export { BaseItemKind } from './models/base-item-kind.js';
|
|
65
63
|
export { ChannelItemSortField } from './models/channel-item-sort-field.js';
|
|
66
64
|
export { ChannelMediaContentType } from './models/channel-media-content-type.js';
|
|
67
65
|
export { ChannelMediaType } from './models/channel-media-type.js';
|
|
68
66
|
export { ChannelType } from './models/channel-type.js';
|
|
69
67
|
export { CodecType } from './models/codec-type.js';
|
|
68
|
+
export { CollectionType } from './models/collection-type.js';
|
|
70
69
|
export { CollectionTypeOptions } from './models/collection-type-options.js';
|
|
71
70
|
export { DayOfWeek } from './models/day-of-week.js';
|
|
72
71
|
export { DayPattern } from './models/day-pattern.js';
|
|
73
|
-
export { DeviceProfileType } from './models/device-profile-type.js';
|
|
74
72
|
export { DlnaProfileType } from './models/dlna-profile-type.js';
|
|
73
|
+
export { DownMixStereoAlgorithms } from './models/down-mix-stereo-algorithms.js';
|
|
75
74
|
export { DynamicDayOfWeek } from './models/dynamic-day-of-week.js';
|
|
76
75
|
export { EmbeddedSubtitleOptions } from './models/embedded-subtitle-options.js';
|
|
77
76
|
export { EncodingContext } from './models/encoding-context.js';
|
|
78
77
|
export { ExternalIdMediaType } from './models/external-id-media-type.js';
|
|
79
|
-
export {
|
|
78
|
+
export { ExtraType } from './models/extra-type.js';
|
|
80
79
|
export { FileSystemEntryType } from './models/file-system-entry-type.js';
|
|
81
80
|
export { ForgotPasswordAction } from './models/forgot-password-action.js';
|
|
82
81
|
export { GeneralCommandType } from './models/general-command-type.js';
|
|
@@ -86,30 +85,37 @@ export { GroupShuffleMode } from './models/group-shuffle-mode.js';
|
|
|
86
85
|
export { GroupStateType } from './models/group-state-type.js';
|
|
87
86
|
export { GroupUpdateType } from './models/group-update-type.js';
|
|
88
87
|
export { HardwareEncodingType } from './models/hardware-encoding-type.js';
|
|
89
|
-
export { HeaderMatchType } from './models/header-match-type.js';
|
|
90
88
|
export { ImageFormat } from './models/image-format.js';
|
|
91
89
|
export { ImageOrientation } from './models/image-orientation.js';
|
|
90
|
+
export { ImageResolution } from './models/image-resolution.js';
|
|
92
91
|
export { ImageSavingConvention } from './models/image-saving-convention.js';
|
|
93
92
|
export { ImageType } from './models/image-type.js';
|
|
94
93
|
export { IsoType } from './models/iso-type.js';
|
|
95
94
|
export { ItemFields } from './models/item-fields.js';
|
|
96
95
|
export { ItemFilter } from './models/item-filter.js';
|
|
96
|
+
export { ItemSortBy } from './models/item-sort-by.js';
|
|
97
97
|
export { KeepUntil } from './models/keep-until.js';
|
|
98
98
|
export { LiveTvServiceStatus } from './models/live-tv-service-status.js';
|
|
99
99
|
export { LocationType } from './models/location-type.js';
|
|
100
100
|
export { LogLevel } from './models/log-level.js';
|
|
101
101
|
export { MediaProtocol } from './models/media-protocol.js';
|
|
102
102
|
export { MediaSourceType } from './models/media-source-type.js';
|
|
103
|
+
export { MediaStreamProtocol } from './models/media-stream-protocol.js';
|
|
103
104
|
export { MediaStreamType } from './models/media-stream-type.js';
|
|
105
|
+
export { MediaType } from './models/media-type.js';
|
|
104
106
|
export { MetadataField } from './models/metadata-field.js';
|
|
105
107
|
export { MetadataRefreshMode } from './models/metadata-refresh-mode.js';
|
|
106
|
-
export {
|
|
108
|
+
export { PersonKind } from './models/person-kind.js';
|
|
107
109
|
export { PlayAccess } from './models/play-access.js';
|
|
108
110
|
export { PlayCommand } from './models/play-command.js';
|
|
109
111
|
export { PlayMethod } from './models/play-method.js';
|
|
112
|
+
export { PlayQueueUpdateReason } from './models/play-queue-update-reason.js';
|
|
110
113
|
export { PlaybackErrorCode } from './models/playback-error-code.js';
|
|
114
|
+
export { PlaybackOrder } from './models/playback-order.js';
|
|
115
|
+
export { PlaybackRequestType } from './models/playback-request-type.js';
|
|
111
116
|
export { PlaystateCommand } from './models/playstate-command.js';
|
|
112
117
|
export { PluginStatus } from './models/plugin-status.js';
|
|
118
|
+
export { ProcessPriorityClass } from './models/process-priority-class.js';
|
|
113
119
|
export { ProfileConditionType } from './models/profile-condition-type.js';
|
|
114
120
|
export { ProfileConditionValue } from './models/profile-condition-value.js';
|
|
115
121
|
export { ProgramAudio } from './models/program-audio.js';
|
|
@@ -119,7 +125,6 @@ export { RecordingStatus } from './models/recording-status.js';
|
|
|
119
125
|
export { RepeatMode } from './models/repeat-mode.js';
|
|
120
126
|
export { ScrollDirection } from './models/scroll-direction.js';
|
|
121
127
|
export { SendCommandType } from './models/send-command-type.js';
|
|
122
|
-
export { SendToUserType } from './models/send-to-user-type.js';
|
|
123
128
|
export { SeriesStatus } from './models/series-status.js';
|
|
124
129
|
export { SessionMessageType } from './models/session-message-type.js';
|
|
125
130
|
export { SortOrder } from './models/sort-order.js';
|
|
@@ -130,7 +135,11 @@ export { TaskCompletionStatus } from './models/task-completion-status.js';
|
|
|
130
135
|
export { TaskState } from './models/task-state.js';
|
|
131
136
|
export { TranscodeReason } from './models/transcode-reason.js';
|
|
132
137
|
export { TranscodeSeekInfo } from './models/transcode-seek-info.js';
|
|
138
|
+
export { TranscodingInfoTranscodeReasonsEnum } from './models/transcoding-info.js';
|
|
133
139
|
export { TransportStreamTimestamp } from './models/transport-stream-timestamp.js';
|
|
140
|
+
export { TrickplayScanBehavior } from './models/trickplay-scan-behavior.js';
|
|
134
141
|
export { UnratedItem } from './models/unrated-item.js';
|
|
135
142
|
export { Video3DFormat } from './models/video3-dformat.js';
|
|
143
|
+
export { VideoRange } from './models/video-range.js';
|
|
144
|
+
export { VideoRangeType } from './models/video-range-type.js';
|
|
136
145
|
export { VideoType } from './models/video-type.js';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import { ActivityLogEntry } from './activity-log-entry';
|
|
12
|
+
import { SessionMessageType } from './session-message-type';
|
|
13
|
+
/**
|
|
14
|
+
* Activity log created message.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ActivityLogEntryMessage
|
|
17
|
+
*/
|
|
18
|
+
export interface ActivityLogEntryMessage {
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the data.
|
|
21
|
+
* @type {Array<ActivityLogEntry>}
|
|
22
|
+
* @memberof ActivityLogEntryMessage
|
|
23
|
+
*/
|
|
24
|
+
'Data'?: Array<ActivityLogEntry> | null;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the message id.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ActivityLogEntryMessage
|
|
29
|
+
*/
|
|
30
|
+
'MessageId'?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SessionMessageType}
|
|
34
|
+
* @memberof ActivityLogEntryMessage
|
|
35
|
+
*/
|
|
36
|
+
'MessageType'?: SessionMessageType;
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import { SessionMessageType } from './session-message-type';
|
|
12
|
+
/**
|
|
13
|
+
* Activity log entry start message. Data is the timing data encoded as \"$initialDelay,$interval\" in ms.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActivityLogEntryStartMessage
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivityLogEntryStartMessage {
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the data.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ActivityLogEntryStartMessage
|
|
22
|
+
*/
|
|
23
|
+
'Data'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SessionMessageType}
|
|
27
|
+
* @memberof ActivityLogEntryStartMessage
|
|
28
|
+
*/
|
|
29
|
+
'MessageType'?: SessionMessageType;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import { SessionMessageType } from './session-message-type';
|
|
12
|
+
/**
|
|
13
|
+
* Activity log entry stop message.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActivityLogEntryStopMessage
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivityLogEntryStopMessage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {SessionMessageType}
|
|
21
|
+
* @memberof ActivityLogEntryStopMessage
|
|
22
|
+
*/
|
|
23
|
+
'MessageType'?: SessionMessageType;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* An enum representing formats of spatial audio.
|
|
13
|
+
* @export
|
|
14
|
+
* @enum {string}
|
|
15
|
+
*/
|
|
16
|
+
export declare const AudioSpatialFormat: {
|
|
17
|
+
readonly None: "None";
|
|
18
|
+
readonly DolbyAtmos: "DolbyAtmos";
|
|
19
|
+
readonly Dtsx: "DTSX";
|
|
20
|
+
};
|
|
21
|
+
export type AudioSpatialFormat = typeof AudioSpatialFormat[keyof typeof AudioSpatialFormat];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5
|
+
* Do not edit the class manually.
|
|
6
|
+
*
|
|
7
|
+
* Jellyfin API
|
|
8
|
+
*
|
|
9
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
10
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
11
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* An enum representing formats of spatial audio.
|
|
15
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
const AudioSpatialFormat = {
|
|
19
|
+
None: 'None',
|
|
20
|
+
DolbyAtmos: 'DolbyAtmos',
|
|
21
|
+
Dtsx: 'DTSX'
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { AudioSpatialFormat };
|
|
@@ -26,11 +26,4 @@ export interface AuthenticateUserByName {
|
|
|
26
26
|
* @memberof AuthenticateUserByName
|
|
27
27
|
*/
|
|
28
28
|
'Pw'?: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* Gets or sets the sha1-hashed password.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof AuthenticateUserByName
|
|
33
|
-
* @deprecated
|
|
34
|
-
*/
|
|
35
|
-
'Password'?: string | null;
|
|
36
29
|
}
|