@jellyfin/sdk 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -4
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +39 -36
- package/lib/generated-client/api/activity-log-api.js +19 -11
- package/lib/generated-client/api/api-key-api.js +35 -31
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +47 -43
- package/lib/generated-client/api/audio-api.d.ts +20 -20
- package/lib/generated-client/api/audio-api.js +45 -43
- package/lib/generated-client/api/branding-api.js +32 -28
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +54 -54
- package/lib/generated-client/api/client-log-api.js +19 -11
- package/lib/generated-client/api/collection-api.js +35 -31
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +51 -117
- package/lib/generated-client/api/dashboard-api.js +26 -20
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +54 -60
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +39 -37
- package/lib/generated-client/api/dynamic-hls-api.d.ts +49 -31
- package/lib/generated-client/api/dynamic-hls-api.js +104 -100
- package/lib/generated-client/api/environment-api.js +59 -61
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +30 -24
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +30 -24
- package/lib/generated-client/api/hls-segment-api.js +48 -48
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +394 -1307
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +125 -131
- package/lib/generated-client/api/item-lookup-api.js +99 -111
- package/lib/generated-client/api/item-refresh-api.js +19 -11
- package/lib/generated-client/api/item-update-api.js +35 -31
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +191 -617
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +214 -254
- package/lib/generated-client/api/library-structure-api.js +75 -81
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +343 -415
- package/lib/generated-client/api/localization-api.js +43 -41
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/lyrics-api.js +449 -0
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +54 -56
- package/lib/generated-client/api/movies-api.js +19 -11
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +30 -24
- package/lib/generated-client/api/package-api.js +59 -61
- package/lib/generated-client/api/persons-api.js +27 -21
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +416 -71
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +127 -153
- package/lib/generated-client/api/plugins-api.js +83 -91
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +83 -75
- package/lib/generated-client/api/remote-image-api.js +35 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +51 -51
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +34 -26
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +145 -173
- package/lib/generated-client/api/startup-api.js +67 -71
- package/lib/generated-client/api/studios-api.js +27 -21
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +99 -109
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +31 -23
- package/lib/generated-client/api/sync-play-api.js +179 -211
- package/lib/generated-client/api/system-api.js +88 -98
- package/lib/generated-client/api/time-sync-api.js +18 -10
- package/lib/generated-client/api/tmdb-api.js +19 -11
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +40 -32
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +208 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +58 -50
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +33 -27
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +152 -319
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +190 -200
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +47 -41
- package/lib/generated-client/api/video-attachments-api.js +18 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +63 -67
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +33 -27
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +19 -11
- package/lib/generated-client/index.js +19 -10
- package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
- package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
- package/lib/generated-client/models/audio-spatial-format.js +24 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
- package/lib/generated-client/models/base-item-dto.d.ts +37 -17
- package/lib/generated-client/models/base-item-person.d.ts +4 -3
- package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
- package/lib/generated-client/models/client-capabilities.d.ts +16 -19
- package/lib/generated-client/models/collection-type-options.d.ts +9 -9
- package/lib/generated-client/models/collection-type-options.js +9 -9
- package/lib/generated-client/models/collection-type.d.ts +31 -0
- package/lib/generated-client/models/collection-type.js +34 -0
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +6 -0
- package/lib/generated-client/models/device-profile.d.ts +0 -171
- package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
- package/lib/generated-client/models/dlna-profile-type.js +2 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
- package/lib/generated-client/models/encoding-options.d.ts +77 -40
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/extra-type.d.ts +30 -0
- package/lib/generated-client/models/extra-type.js +33 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
- package/lib/generated-client/models/general-command-message.d.ts +37 -0
- package/lib/generated-client/models/general-command-type.d.ts +1 -0
- package/lib/generated-client/models/general-command-type.js +2 -1
- package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update.d.ts +31 -0
- package/lib/generated-client/models/group-update.d.ts +20 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
- package/lib/generated-client/models/hardware-encoding-type.js +2 -1
- package/lib/generated-client/models/image-format.d.ts +1 -0
- package/lib/generated-client/models/image-format.js +2 -1
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
- package/lib/generated-client/models/index.d.ts +74 -25
- package/lib/generated-client/models/index.js +17 -6
- package/lib/generated-client/models/item-fields.d.ts +1 -2
- package/lib/generated-client/models/item-fields.js +1 -2
- package/lib/generated-client/models/item-sort-by.d.ts +50 -0
- package/lib/generated-client/models/item-sort-by.js +53 -0
- package/lib/generated-client/models/library-changed-message.d.ts +37 -0
- package/lib/generated-client/models/library-options.d.ts +36 -0
- package/lib/generated-client/models/live-tv-options.d.ts +12 -0
- package/lib/generated-client/models/log-file.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +31 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
- package/lib/generated-client/models/media-source-info.d.ts +3 -2
- package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
- package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
- package/lib/generated-client/models/media-stream-type.d.ts +1 -0
- package/lib/generated-client/models/media-stream-type.js +2 -1
- package/lib/generated-client/models/media-stream.d.ts +27 -6
- package/lib/generated-client/models/media-type.d.ts +23 -0
- package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
- package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
- package/lib/generated-client/models/network-configuration.d.ts +50 -116
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/person-kind.d.ts +43 -0
- package/lib/generated-client/models/person-kind.js +46 -0
- package/lib/generated-client/models/play-message.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
- package/lib/generated-client/models/play-queue-update-reason.js +31 -0
- package/lib/generated-client/models/play-queue-update.d.ts +69 -0
- package/lib/generated-client/models/playback-order.d.ts +20 -0
- package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
- package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
- package/lib/generated-client/models/playback-request-type.d.ts +35 -0
- package/lib/generated-client/models/playback-request-type.js +38 -0
- package/lib/generated-client/models/playback-start-info.d.ts +7 -0
- package/lib/generated-client/models/player-state-info.d.ts +7 -0
- package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
- package/lib/generated-client/models/playstate-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
- package/lib/generated-client/models/process-priority-class.d.ts +24 -0
- package/lib/generated-client/models/process-priority-class.js +27 -0
- package/lib/generated-client/models/public-system-info.d.ts +1 -0
- package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/restart-required-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
- package/lib/generated-client/models/search-hint.d.ts +19 -16
- package/lib/generated-client/models/series-status.d.ts +2 -1
- package/lib/generated-client/models/series-status.js +3 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/server-configuration.d.ts +45 -0
- package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
- package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
- package/lib/generated-client/models/session-info.d.ts +9 -9
- package/lib/generated-client/models/sessions-message.d.ts +37 -0
- package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
- package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
- package/lib/generated-client/models/string-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
- package/lib/generated-client/models/system-info.d.ts +17 -6
- package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/transcoding-info.d.ts +3 -2
- package/lib/generated-client/models/transcoding-info.js +15 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
- package/lib/generated-client/models/trickplay-info.d.ts +59 -0
- package/lib/generated-client/models/trickplay-options.d.ts +85 -0
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
- package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
- package/lib/generated-client/models/user-configuration.d.ts +6 -0
- package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
- package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
- package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
- package/lib/generated-client/models/user-dto.d.ts +1 -0
- package/lib/generated-client/models/user-policy.d.ts +26 -2
- package/lib/generated-client/models/user-updated-message.d.ts +37 -0
- package/lib/generated-client/models/video-range-type.d.ts +27 -0
- package/lib/generated-client/models/video-range-type.js +30 -0
- package/lib/generated-client/models/video-range.d.ts +21 -0
- package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
- package/lib/generated-client/models/web-socket-message.d.ts +18 -0
- package/lib/utils/api/image-api.d.ts +2 -2
- package/lib/utils/api/image-api.js +2 -2
- package/lib/utils/api/image-urls-api.d.ts +55 -0
- package/lib/utils/api/image-urls-api.js +115 -0
- package/lib/utils/api/index.d.ts +2 -4
- package/lib/utils/api/index.js +2 -4
- package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
- package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
- package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
- package/lib/utils/api/trickplay-api.js +12 -0
- package/lib/utils/authentication.js +5 -6
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +2 -1
- package/lib/utils/versioning.d.ts +9 -0
- package/lib/utils/versioning.js +32 -0
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -22
- package/lib/generated-client/api/dlna-api.js +0 -422
- package/lib/generated-client/api/dlna-server-api.js +0 -1088
- package/lib/generated-client/api/image-by-name-api.js +0 -423
- package/lib/generated-client/api/notifications-api.js +0 -484
- package/lib/node_modules/tslib/tslib.es6.js +0 -26
- package/lib/utils/api/dlna-server-api.js +0 -12
- package/lib/utils/api/image-by-name-api.d.ts +0 -8
- package/lib/utils/api/image-by-name-api.js +0 -12
- package/lib/utils/api/notifications-api.d.ts +0 -8
- package/lib/utils/api/notifications-api.js +0 -12
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Jellyfin API
|
|
12
|
+
*
|
|
13
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
14
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
15
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
16
|
+
*/
|
|
7
17
|
/**
|
|
8
18
|
* LibraryStructureApi - axios parameter creator
|
|
9
19
|
* @export
|
|
@@ -18,7 +28,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
18
28
|
* @param {*} [options] Override http request option.
|
|
19
29
|
* @throws {RequiredError}
|
|
20
30
|
*/
|
|
21
|
-
addMediaPath: (mediaPathDto, refreshLibrary, options = {}) =>
|
|
31
|
+
addMediaPath: async (mediaPathDto, refreshLibrary, options = {}) => {
|
|
22
32
|
// verify required parameter 'mediaPathDto' is not null or undefined
|
|
23
33
|
assertParamExists('addMediaPath', 'mediaPathDto', mediaPathDto);
|
|
24
34
|
const localVarPath = `/Library/VirtualFolders/Paths`;
|
|
@@ -28,24 +38,24 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
28
38
|
if (configuration) {
|
|
29
39
|
baseOptions = configuration.baseOptions;
|
|
30
40
|
}
|
|
31
|
-
const localVarRequestOptions =
|
|
41
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
32
42
|
const localVarHeaderParameter = {};
|
|
33
43
|
const localVarQueryParameter = {};
|
|
34
44
|
// authentication CustomAuthentication required
|
|
35
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36
46
|
if (refreshLibrary !== undefined) {
|
|
37
47
|
localVarQueryParameter['refreshLibrary'] = refreshLibrary;
|
|
38
48
|
}
|
|
39
49
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
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
|
localVarRequestOptions.data = serializeDataIfNeeded(mediaPathDto, localVarRequestOptions, configuration);
|
|
44
54
|
return {
|
|
45
55
|
url: toPathString(localVarUrlObj),
|
|
46
56
|
options: localVarRequestOptions,
|
|
47
57
|
};
|
|
48
|
-
}
|
|
58
|
+
},
|
|
49
59
|
/**
|
|
50
60
|
*
|
|
51
61
|
* @summary Adds a virtual folder.
|
|
@@ -57,7 +67,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
57
67
|
* @param {*} [options] Override http request option.
|
|
58
68
|
* @throws {RequiredError}
|
|
59
69
|
*/
|
|
60
|
-
addVirtualFolder: (name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options = {}) =>
|
|
70
|
+
addVirtualFolder: async (name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options = {}) => {
|
|
61
71
|
const localVarPath = `/Library/VirtualFolders`;
|
|
62
72
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63
73
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -65,11 +75,11 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
65
75
|
if (configuration) {
|
|
66
76
|
baseOptions = configuration.baseOptions;
|
|
67
77
|
}
|
|
68
|
-
const localVarRequestOptions =
|
|
78
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
69
79
|
const localVarHeaderParameter = {};
|
|
70
80
|
const localVarQueryParameter = {};
|
|
71
81
|
// authentication CustomAuthentication required
|
|
72
|
-
|
|
82
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
73
83
|
if (name !== undefined) {
|
|
74
84
|
localVarQueryParameter['name'] = name;
|
|
75
85
|
}
|
|
@@ -85,20 +95,20 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
85
95
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
86
96
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
97
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
-
localVarRequestOptions.headers =
|
|
98
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
99
|
localVarRequestOptions.data = serializeDataIfNeeded(addVirtualFolderDto, localVarRequestOptions, configuration);
|
|
90
100
|
return {
|
|
91
101
|
url: toPathString(localVarUrlObj),
|
|
92
102
|
options: localVarRequestOptions,
|
|
93
103
|
};
|
|
94
|
-
}
|
|
104
|
+
},
|
|
95
105
|
/**
|
|
96
106
|
*
|
|
97
107
|
* @summary Gets all virtual folders.
|
|
98
108
|
* @param {*} [options] Override http request option.
|
|
99
109
|
* @throws {RequiredError}
|
|
100
110
|
*/
|
|
101
|
-
getVirtualFolders: (options = {}) =>
|
|
111
|
+
getVirtualFolders: async (options = {}) => {
|
|
102
112
|
const localVarPath = `/Library/VirtualFolders`;
|
|
103
113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
114
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -106,19 +116,19 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
106
116
|
if (configuration) {
|
|
107
117
|
baseOptions = configuration.baseOptions;
|
|
108
118
|
}
|
|
109
|
-
const localVarRequestOptions =
|
|
119
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
110
120
|
const localVarHeaderParameter = {};
|
|
111
121
|
const localVarQueryParameter = {};
|
|
112
122
|
// authentication CustomAuthentication required
|
|
113
|
-
|
|
123
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
114
124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
115
125
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
|
-
localVarRequestOptions.headers =
|
|
126
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
117
127
|
return {
|
|
118
128
|
url: toPathString(localVarUrlObj),
|
|
119
129
|
options: localVarRequestOptions,
|
|
120
130
|
};
|
|
121
|
-
}
|
|
131
|
+
},
|
|
122
132
|
/**
|
|
123
133
|
*
|
|
124
134
|
* @summary Remove a media path.
|
|
@@ -128,7 +138,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
128
138
|
* @param {*} [options] Override http request option.
|
|
129
139
|
* @throws {RequiredError}
|
|
130
140
|
*/
|
|
131
|
-
removeMediaPath: (name, path, refreshLibrary, options = {}) =>
|
|
141
|
+
removeMediaPath: async (name, path, refreshLibrary, options = {}) => {
|
|
132
142
|
const localVarPath = `/Library/VirtualFolders/Paths`;
|
|
133
143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
134
144
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -136,11 +146,11 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
136
146
|
if (configuration) {
|
|
137
147
|
baseOptions = configuration.baseOptions;
|
|
138
148
|
}
|
|
139
|
-
const localVarRequestOptions =
|
|
149
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
140
150
|
const localVarHeaderParameter = {};
|
|
141
151
|
const localVarQueryParameter = {};
|
|
142
152
|
// authentication CustomAuthentication required
|
|
143
|
-
|
|
153
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
144
154
|
if (name !== undefined) {
|
|
145
155
|
localVarQueryParameter['name'] = name;
|
|
146
156
|
}
|
|
@@ -152,12 +162,12 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
152
162
|
}
|
|
153
163
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
164
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
-
localVarRequestOptions.headers =
|
|
165
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
156
166
|
return {
|
|
157
167
|
url: toPathString(localVarUrlObj),
|
|
158
168
|
options: localVarRequestOptions,
|
|
159
169
|
};
|
|
160
|
-
}
|
|
170
|
+
},
|
|
161
171
|
/**
|
|
162
172
|
*
|
|
163
173
|
* @summary Removes a virtual folder.
|
|
@@ -166,7 +176,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
166
176
|
* @param {*} [options] Override http request option.
|
|
167
177
|
* @throws {RequiredError}
|
|
168
178
|
*/
|
|
169
|
-
removeVirtualFolder: (name, refreshLibrary, options = {}) =>
|
|
179
|
+
removeVirtualFolder: async (name, refreshLibrary, options = {}) => {
|
|
170
180
|
const localVarPath = `/Library/VirtualFolders`;
|
|
171
181
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
182
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -174,11 +184,11 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
174
184
|
if (configuration) {
|
|
175
185
|
baseOptions = configuration.baseOptions;
|
|
176
186
|
}
|
|
177
|
-
const localVarRequestOptions =
|
|
187
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
178
188
|
const localVarHeaderParameter = {};
|
|
179
189
|
const localVarQueryParameter = {};
|
|
180
190
|
// authentication CustomAuthentication required
|
|
181
|
-
|
|
191
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
182
192
|
if (name !== undefined) {
|
|
183
193
|
localVarQueryParameter['name'] = name;
|
|
184
194
|
}
|
|
@@ -187,12 +197,12 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
187
197
|
}
|
|
188
198
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
-
localVarRequestOptions.headers =
|
|
200
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
191
201
|
return {
|
|
192
202
|
url: toPathString(localVarUrlObj),
|
|
193
203
|
options: localVarRequestOptions,
|
|
194
204
|
};
|
|
195
|
-
}
|
|
205
|
+
},
|
|
196
206
|
/**
|
|
197
207
|
*
|
|
198
208
|
* @summary Renames a virtual folder.
|
|
@@ -202,7 +212,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
202
212
|
* @param {*} [options] Override http request option.
|
|
203
213
|
* @throws {RequiredError}
|
|
204
214
|
*/
|
|
205
|
-
renameVirtualFolder: (name, newName, refreshLibrary, options = {}) =>
|
|
215
|
+
renameVirtualFolder: async (name, newName, refreshLibrary, options = {}) => {
|
|
206
216
|
const localVarPath = `/Library/VirtualFolders/Name`;
|
|
207
217
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
208
218
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -210,11 +220,11 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
210
220
|
if (configuration) {
|
|
211
221
|
baseOptions = configuration.baseOptions;
|
|
212
222
|
}
|
|
213
|
-
const localVarRequestOptions =
|
|
223
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
214
224
|
const localVarHeaderParameter = {};
|
|
215
225
|
const localVarQueryParameter = {};
|
|
216
226
|
// authentication CustomAuthentication required
|
|
217
|
-
|
|
227
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
218
228
|
if (name !== undefined) {
|
|
219
229
|
localVarQueryParameter['name'] = name;
|
|
220
230
|
}
|
|
@@ -226,12 +236,12 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
226
236
|
}
|
|
227
237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
228
238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
229
|
-
localVarRequestOptions.headers =
|
|
239
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
230
240
|
return {
|
|
231
241
|
url: toPathString(localVarUrlObj),
|
|
232
242
|
options: localVarRequestOptions,
|
|
233
243
|
};
|
|
234
|
-
}
|
|
244
|
+
},
|
|
235
245
|
/**
|
|
236
246
|
*
|
|
237
247
|
* @summary Update library options.
|
|
@@ -239,7 +249,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
239
249
|
* @param {*} [options] Override http request option.
|
|
240
250
|
* @throws {RequiredError}
|
|
241
251
|
*/
|
|
242
|
-
updateLibraryOptions: (updateLibraryOptionsDto, options = {}) =>
|
|
252
|
+
updateLibraryOptions: async (updateLibraryOptionsDto, options = {}) => {
|
|
243
253
|
const localVarPath = `/Library/VirtualFolders/LibraryOptions`;
|
|
244
254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -247,21 +257,21 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
247
257
|
if (configuration) {
|
|
248
258
|
baseOptions = configuration.baseOptions;
|
|
249
259
|
}
|
|
250
|
-
const localVarRequestOptions =
|
|
260
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
251
261
|
const localVarHeaderParameter = {};
|
|
252
262
|
const localVarQueryParameter = {};
|
|
253
263
|
// authentication CustomAuthentication required
|
|
254
|
-
|
|
264
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
255
265
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
266
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
257
267
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
-
localVarRequestOptions.headers =
|
|
268
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
259
269
|
localVarRequestOptions.data = serializeDataIfNeeded(updateLibraryOptionsDto, localVarRequestOptions, configuration);
|
|
260
270
|
return {
|
|
261
271
|
url: toPathString(localVarUrlObj),
|
|
262
272
|
options: localVarRequestOptions,
|
|
263
273
|
};
|
|
264
|
-
}
|
|
274
|
+
},
|
|
265
275
|
/**
|
|
266
276
|
*
|
|
267
277
|
* @summary Updates a media path.
|
|
@@ -269,7 +279,7 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
269
279
|
* @param {*} [options] Override http request option.
|
|
270
280
|
* @throws {RequiredError}
|
|
271
281
|
*/
|
|
272
|
-
updateMediaPath: (updateMediaPathRequestDto, options = {}) =>
|
|
282
|
+
updateMediaPath: async (updateMediaPathRequestDto, options = {}) => {
|
|
273
283
|
// verify required parameter 'updateMediaPathRequestDto' is not null or undefined
|
|
274
284
|
assertParamExists('updateMediaPath', 'updateMediaPathRequestDto', updateMediaPathRequestDto);
|
|
275
285
|
const localVarPath = `/Library/VirtualFolders/Paths/Update`;
|
|
@@ -279,21 +289,21 @@ const LibraryStructureApiAxiosParamCreator = function (configuration) {
|
|
|
279
289
|
if (configuration) {
|
|
280
290
|
baseOptions = configuration.baseOptions;
|
|
281
291
|
}
|
|
282
|
-
const localVarRequestOptions =
|
|
292
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
283
293
|
const localVarHeaderParameter = {};
|
|
284
294
|
const localVarQueryParameter = {};
|
|
285
295
|
// authentication CustomAuthentication required
|
|
286
|
-
|
|
296
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
287
297
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
288
298
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
299
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
|
-
localVarRequestOptions.headers =
|
|
300
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
291
301
|
localVarRequestOptions.data = serializeDataIfNeeded(updateMediaPathRequestDto, localVarRequestOptions, configuration);
|
|
292
302
|
return {
|
|
293
303
|
url: toPathString(localVarUrlObj),
|
|
294
304
|
options: localVarRequestOptions,
|
|
295
305
|
};
|
|
296
|
-
}
|
|
306
|
+
},
|
|
297
307
|
};
|
|
298
308
|
};
|
|
299
309
|
/**
|
|
@@ -311,11 +321,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
311
321
|
* @param {*} [options] Override http request option.
|
|
312
322
|
* @throws {RequiredError}
|
|
313
323
|
*/
|
|
314
|
-
addMediaPath(mediaPathDto, refreshLibrary, options) {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
318
|
-
});
|
|
324
|
+
async addMediaPath(mediaPathDto, refreshLibrary, options) {
|
|
325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addMediaPath(mediaPathDto, refreshLibrary, options);
|
|
326
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
319
327
|
},
|
|
320
328
|
/**
|
|
321
329
|
*
|
|
@@ -328,11 +336,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
328
336
|
* @param {*} [options] Override http request option.
|
|
329
337
|
* @throws {RequiredError}
|
|
330
338
|
*/
|
|
331
|
-
addVirtualFolder(name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
335
|
-
});
|
|
339
|
+
async addVirtualFolder(name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options) {
|
|
340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addVirtualFolder(name, collectionType, paths, refreshLibrary, addVirtualFolderDto, options);
|
|
341
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
336
342
|
},
|
|
337
343
|
/**
|
|
338
344
|
*
|
|
@@ -340,11 +346,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
340
346
|
* @param {*} [options] Override http request option.
|
|
341
347
|
* @throws {RequiredError}
|
|
342
348
|
*/
|
|
343
|
-
getVirtualFolders(options) {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
347
|
-
});
|
|
349
|
+
async getVirtualFolders(options) {
|
|
350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVirtualFolders(options);
|
|
351
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
348
352
|
},
|
|
349
353
|
/**
|
|
350
354
|
*
|
|
@@ -355,11 +359,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
355
359
|
* @param {*} [options] Override http request option.
|
|
356
360
|
* @throws {RequiredError}
|
|
357
361
|
*/
|
|
358
|
-
removeMediaPath(name, path, refreshLibrary, options) {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
|
-
});
|
|
362
|
+
async removeMediaPath(name, path, refreshLibrary, options) {
|
|
363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeMediaPath(name, path, refreshLibrary, options);
|
|
364
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
365
|
},
|
|
364
366
|
/**
|
|
365
367
|
*
|
|
@@ -369,11 +371,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
369
371
|
* @param {*} [options] Override http request option.
|
|
370
372
|
* @throws {RequiredError}
|
|
371
373
|
*/
|
|
372
|
-
removeVirtualFolder(name, refreshLibrary, options) {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
|
-
});
|
|
374
|
+
async removeVirtualFolder(name, refreshLibrary, options) {
|
|
375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeVirtualFolder(name, refreshLibrary, options);
|
|
376
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
377
377
|
},
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
@@ -384,11 +384,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
385
385
|
* @throws {RequiredError}
|
|
386
386
|
*/
|
|
387
|
-
renameVirtualFolder(name, newName, refreshLibrary, options) {
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
391
|
-
});
|
|
387
|
+
async renameVirtualFolder(name, newName, refreshLibrary, options) {
|
|
388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.renameVirtualFolder(name, newName, refreshLibrary, options);
|
|
389
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
392
390
|
},
|
|
393
391
|
/**
|
|
394
392
|
*
|
|
@@ -397,11 +395,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
397
395
|
* @param {*} [options] Override http request option.
|
|
398
396
|
* @throws {RequiredError}
|
|
399
397
|
*/
|
|
400
|
-
updateLibraryOptions(updateLibraryOptionsDto, options) {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
404
|
-
});
|
|
398
|
+
async updateLibraryOptions(updateLibraryOptionsDto, options) {
|
|
399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLibraryOptions(updateLibraryOptionsDto, options);
|
|
400
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
401
|
},
|
|
406
402
|
/**
|
|
407
403
|
*
|
|
@@ -410,11 +406,9 @@ const LibraryStructureApiFp = function (configuration) {
|
|
|
410
406
|
* @param {*} [options] Override http request option.
|
|
411
407
|
* @throws {RequiredError}
|
|
412
408
|
*/
|
|
413
|
-
updateMediaPath(updateMediaPathRequestDto, options) {
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
|
-
});
|
|
409
|
+
async updateMediaPath(updateMediaPathRequestDto, options) {
|
|
410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateMediaPath(updateMediaPathRequestDto, options);
|
|
411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
418
412
|
},
|
|
419
413
|
};
|
|
420
414
|
};
|
|
@@ -19,6 +19,7 @@ import { GetProgramsDto } from '../models';
|
|
|
19
19
|
import { GuideInfo } from '../models';
|
|
20
20
|
import { ImageType } from '../models';
|
|
21
21
|
import { ItemFields } from '../models';
|
|
22
|
+
import { ItemSortBy } from '../models';
|
|
22
23
|
import { ListingsProviderInfo } from '../models';
|
|
23
24
|
import { LiveTvInfo } from '../models';
|
|
24
25
|
import { NameIdPair } from '../models';
|
|
@@ -214,14 +215,14 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
214
215
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
215
216
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
216
217
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
217
|
-
* @param {Array<
|
|
218
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
218
219
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
219
220
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
220
221
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
221
222
|
* @param {*} [options] Override http request option.
|
|
222
223
|
* @throws {RequiredError}
|
|
223
224
|
*/
|
|
224
|
-
getLiveTvChannels: (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<
|
|
225
|
+
getLiveTvChannels: (type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
226
|
/**
|
|
226
227
|
*
|
|
227
228
|
* @summary Gets available live tv services.
|
|
@@ -247,7 +248,7 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
247
248
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
248
249
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
249
250
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
250
|
-
* @param {Array<
|
|
251
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
251
252
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
252
253
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
253
254
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
@@ -262,7 +263,7 @@ export declare const LiveTvApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
262
263
|
* @param {*} [options] Override http request option.
|
|
263
264
|
* @throws {RequiredError}
|
|
264
265
|
*/
|
|
265
|
-
getLiveTvPrograms: (channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<
|
|
266
|
+
getLiveTvPrograms: (channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
266
267
|
/**
|
|
267
268
|
*
|
|
268
269
|
* @summary Gets a live tv program.
|
|
@@ -654,14 +655,14 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
|
|
|
654
655
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
655
656
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
656
657
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
657
|
-
* @param {Array<
|
|
658
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
658
659
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
659
660
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
660
661
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
661
662
|
* @param {*} [options] Override http request option.
|
|
662
663
|
* @throws {RequiredError}
|
|
663
664
|
*/
|
|
664
|
-
getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<
|
|
665
|
+
getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
665
666
|
/**
|
|
666
667
|
*
|
|
667
668
|
* @summary Gets available live tv services.
|
|
@@ -687,7 +688,7 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
|
|
|
687
688
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
688
689
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
689
690
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
690
|
-
* @param {Array<
|
|
691
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
691
692
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
692
693
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
693
694
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
@@ -702,7 +703,7 @@ export declare const LiveTvApiFp: (configuration?: Configuration) => {
|
|
|
702
703
|
* @param {*} [options] Override http request option.
|
|
703
704
|
* @throws {RequiredError}
|
|
704
705
|
*/
|
|
705
|
-
getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<
|
|
706
|
+
getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
706
707
|
/**
|
|
707
708
|
*
|
|
708
709
|
* @summary Gets a live tv program.
|
|
@@ -1094,14 +1095,14 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
|
|
|
1094
1095
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
1095
1096
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
1096
1097
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
1097
|
-
* @param {Array<
|
|
1098
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
1098
1099
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
1099
1100
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
1100
1101
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
1101
1102
|
* @param {*} [options] Override http request option.
|
|
1102
1103
|
* @throws {RequiredError}
|
|
1103
1104
|
*/
|
|
1104
|
-
getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<
|
|
1105
|
+
getLiveTvChannels(type?: ChannelType, userId?: string, startIndex?: number, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, limit?: number, isFavorite?: boolean, isLiked?: boolean, isDisliked?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, fields?: Array<ItemFields>, enableUserData?: boolean, sortBy?: Array<ItemSortBy>, sortOrder?: SortOrder, enableFavoriteSorting?: boolean, addCurrentProgram?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
1105
1106
|
/**
|
|
1106
1107
|
*
|
|
1107
1108
|
* @summary Gets available live tv services.
|
|
@@ -1127,7 +1128,7 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
|
|
|
1127
1128
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
1128
1129
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
1129
1130
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
1130
|
-
* @param {Array<
|
|
1131
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
1131
1132
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
1132
1133
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
1133
1134
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
@@ -1142,7 +1143,7 @@ export declare const LiveTvApiFactory: (configuration?: Configuration, basePath?
|
|
|
1142
1143
|
* @param {*} [options] Override http request option.
|
|
1143
1144
|
* @throws {RequiredError}
|
|
1144
1145
|
*/
|
|
1145
|
-
getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<
|
|
1146
|
+
getLiveTvPrograms(channelIds?: Array<string>, userId?: string, minStartDate?: string, hasAired?: boolean, isAiring?: boolean, maxStartDate?: string, minEndDate?: string, maxEndDate?: string, isMovie?: boolean, isSeries?: boolean, isNews?: boolean, isKids?: boolean, isSports?: boolean, startIndex?: number, limit?: number, sortBy?: Array<ItemSortBy>, sortOrder?: Array<SortOrder>, genres?: Array<string>, genreIds?: Array<string>, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, seriesTimerId?: string, librarySeriesId?: string, fields?: Array<ItemFields>, enableTotalRecordCount?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
1146
1147
|
/**
|
|
1147
1148
|
*
|
|
1148
1149
|
* @summary Gets a live tv program.
|
|
@@ -1730,10 +1731,10 @@ export interface LiveTvApiGetLiveTvChannelsRequest {
|
|
|
1730
1731
|
readonly enableUserData?: boolean;
|
|
1731
1732
|
/**
|
|
1732
1733
|
* Optional. Key to sort by.
|
|
1733
|
-
* @type {Array<
|
|
1734
|
+
* @type {Array<ItemSortBy>}
|
|
1734
1735
|
* @memberof LiveTvApiGetLiveTvChannels
|
|
1735
1736
|
*/
|
|
1736
|
-
readonly sortBy?: Array<
|
|
1737
|
+
readonly sortBy?: Array<ItemSortBy>;
|
|
1737
1738
|
/**
|
|
1738
1739
|
* Optional. Sort order.
|
|
1739
1740
|
* @type {SortOrder}
|
|
@@ -1851,10 +1852,10 @@ export interface LiveTvApiGetLiveTvProgramsRequest {
|
|
|
1851
1852
|
readonly limit?: number;
|
|
1852
1853
|
/**
|
|
1853
1854
|
* Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
1854
|
-
* @type {Array<
|
|
1855
|
+
* @type {Array<ItemSortBy>}
|
|
1855
1856
|
* @memberof LiveTvApiGetLiveTvPrograms
|
|
1856
1857
|
*/
|
|
1857
|
-
readonly sortBy?: Array<
|
|
1858
|
+
readonly sortBy?: Array<ItemSortBy>;
|
|
1858
1859
|
/**
|
|
1859
1860
|
* Sort Order - Ascending,Descending.
|
|
1860
1861
|
* @type {Array<SortOrder>}
|