@jellyfin/sdk 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/recommended-server-discovery.js +24 -16
- package/lib/generated-client/api/activity-log-api.js +12 -1
- package/lib/generated-client/api/api-key-api.js +14 -3
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +26 -15
- package/lib/generated-client/api/audio-api.d.ts +8 -8
- package/lib/generated-client/api/audio-api.js +21 -10
- package/lib/generated-client/api/branding-api.js +14 -3
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +19 -8
- package/lib/generated-client/api/client-log-api.js +12 -1
- package/lib/generated-client/api/collection-api.js +14 -3
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +16 -71
- package/lib/generated-client/api/dashboard-api.js +13 -2
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +21 -16
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +29 -22
- package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -10
- package/lib/generated-client/api/dynamic-hls-api.js +45 -22
- package/lib/generated-client/api/environment-api.js +17 -6
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +16 -5
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +16 -5
- package/lib/generated-client/api/hls-segment-api.js +16 -5
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +218 -1056
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +79 -68
- package/lib/generated-client/api/item-lookup-api.js +22 -11
- package/lib/generated-client/api/item-refresh-api.js +12 -1
- package/lib/generated-client/api/item-update-api.js +14 -3
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +178 -595
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +39 -28
- package/lib/generated-client/api/library-structure-api.js +19 -8
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +58 -47
- package/lib/generated-client/api/localization-api.js +15 -4
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/{dlna-api.js → lyrics-api.js} +165 -125
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +19 -10
- package/lib/generated-client/api/movies-api.js +12 -1
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +16 -5
- package/lib/generated-client/api/package-api.js +17 -6
- package/lib/generated-client/api/persons-api.js +13 -2
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +395 -29
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +74 -81
- package/lib/generated-client/api/plugins-api.js +20 -9
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +67 -50
- package/lib/generated-client/api/remote-image-api.js +14 -3
- package/lib/generated-client/api/scheduled-tasks-api.js +16 -5
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +29 -18
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +35 -30
- package/lib/generated-client/api/startup-api.js +18 -7
- package/lib/generated-client/api/studios-api.js +13 -2
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +33 -22
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +24 -13
- package/lib/generated-client/api/sync-play-api.js +32 -21
- package/lib/generated-client/api/system-api.js +21 -10
- package/lib/generated-client/api/time-sync-api.js +12 -1
- package/lib/generated-client/api/tmdb-api.js +12 -1
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +33 -22
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +213 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +32 -15
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +19 -8
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +65 -203
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +136 -125
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +33 -22
- package/lib/generated-client/api/video-attachments-api.js +12 -1
- package/lib/generated-client/api/videos-api.js +18 -7
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +19 -8
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +11 -0
- package/lib/generated-client/index.js +19 -10
- package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
- package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
- package/lib/generated-client/models/audio-spatial-format.js +24 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
- package/lib/generated-client/models/base-item-dto.d.ts +37 -17
- package/lib/generated-client/models/base-item-person.d.ts +4 -3
- package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
- package/lib/generated-client/models/client-capabilities.d.ts +16 -19
- package/lib/generated-client/models/collection-type-options.d.ts +9 -9
- package/lib/generated-client/models/collection-type-options.js +9 -9
- package/lib/generated-client/models/collection-type.d.ts +31 -0
- package/lib/generated-client/models/collection-type.js +34 -0
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +6 -0
- package/lib/generated-client/models/device-profile.d.ts +0 -171
- package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
- package/lib/generated-client/models/dlna-profile-type.js +2 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
- package/lib/generated-client/models/encoding-options.d.ts +77 -40
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/extra-type.d.ts +30 -0
- package/lib/generated-client/models/extra-type.js +33 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
- package/lib/generated-client/models/general-command-message.d.ts +37 -0
- package/lib/generated-client/models/general-command-type.d.ts +1 -0
- package/lib/generated-client/models/general-command-type.js +2 -1
- package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update.d.ts +31 -0
- package/lib/generated-client/models/group-update.d.ts +20 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
- package/lib/generated-client/models/hardware-encoding-type.js +2 -1
- package/lib/generated-client/models/image-format.d.ts +1 -0
- package/lib/generated-client/models/image-format.js +2 -1
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
- package/lib/generated-client/models/index.d.ts +74 -25
- package/lib/generated-client/models/index.js +17 -6
- package/lib/generated-client/models/item-fields.d.ts +1 -2
- package/lib/generated-client/models/item-fields.js +1 -2
- package/lib/generated-client/models/item-sort-by.d.ts +50 -0
- package/lib/generated-client/models/item-sort-by.js +53 -0
- package/lib/generated-client/models/library-changed-message.d.ts +37 -0
- package/lib/generated-client/models/library-options.d.ts +36 -0
- package/lib/generated-client/models/live-tv-options.d.ts +12 -0
- package/lib/generated-client/models/log-file.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +31 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
- package/lib/generated-client/models/media-source-info.d.ts +3 -2
- package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
- package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
- package/lib/generated-client/models/media-stream-type.d.ts +1 -0
- package/lib/generated-client/models/media-stream-type.js +2 -1
- package/lib/generated-client/models/media-stream.d.ts +27 -6
- package/lib/generated-client/models/media-type.d.ts +23 -0
- package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
- package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
- package/lib/generated-client/models/network-configuration.d.ts +50 -116
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/person-kind.d.ts +43 -0
- package/lib/generated-client/models/person-kind.js +46 -0
- package/lib/generated-client/models/play-message.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
- package/lib/generated-client/models/play-queue-update-reason.js +31 -0
- package/lib/generated-client/models/play-queue-update.d.ts +69 -0
- package/lib/generated-client/models/playback-order.d.ts +20 -0
- package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
- package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
- package/lib/generated-client/models/playback-request-type.d.ts +35 -0
- package/lib/generated-client/models/playback-request-type.js +38 -0
- package/lib/generated-client/models/playback-start-info.d.ts +7 -0
- package/lib/generated-client/models/player-state-info.d.ts +7 -0
- package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
- package/lib/generated-client/models/playstate-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
- package/lib/generated-client/models/process-priority-class.d.ts +24 -0
- package/lib/generated-client/models/process-priority-class.js +27 -0
- package/lib/generated-client/models/public-system-info.d.ts +1 -0
- package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/restart-required-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
- package/lib/generated-client/models/search-hint.d.ts +20 -17
- package/lib/generated-client/models/series-status.d.ts +2 -1
- package/lib/generated-client/models/series-status.js +3 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/server-configuration.d.ts +45 -0
- package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
- package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
- package/lib/generated-client/models/session-info.d.ts +9 -9
- package/lib/generated-client/models/sessions-message.d.ts +37 -0
- package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
- package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
- package/lib/generated-client/models/string-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
- package/lib/generated-client/models/system-info.d.ts +17 -6
- package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/transcoding-info.d.ts +3 -2
- package/lib/generated-client/models/transcoding-info.js +15 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
- package/lib/generated-client/models/trickplay-info.d.ts +59 -0
- package/lib/generated-client/models/trickplay-options.d.ts +85 -0
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
- package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
- package/lib/generated-client/models/user-configuration.d.ts +6 -0
- package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
- package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
- package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
- package/lib/generated-client/models/user-dto.d.ts +1 -0
- package/lib/generated-client/models/user-policy.d.ts +26 -2
- package/lib/generated-client/models/user-updated-message.d.ts +37 -0
- package/lib/generated-client/models/video-range-type.d.ts +27 -0
- package/lib/generated-client/models/video-range-type.js +30 -0
- package/lib/generated-client/models/video-range.d.ts +21 -0
- package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
- package/lib/generated-client/models/web-socket-message.d.ts +18 -0
- package/lib/node_modules/tslib/tslib.es6.js +9 -2
- package/lib/utils/api/image-api.d.ts +2 -2
- package/lib/utils/api/image-api.js +2 -2
- package/lib/utils/api/image-urls-api.d.ts +55 -0
- package/lib/utils/api/image-urls-api.js +103 -0
- package/lib/utils/api/index.d.ts +2 -4
- package/lib/utils/api/index.js +2 -4
- package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
- package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
- package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
- package/lib/utils/api/trickplay-api.js +12 -0
- package/lib/utils/authentication.js +5 -6
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +2 -1
- package/lib/utils/versioning.d.ts +9 -0
- package/lib/utils/versioning.js +32 -0
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +19 -22
- package/lib/generated-client/api/dlna-server-api.js +0 -1088
- package/lib/generated-client/api/image-by-name-api.js +0 -423
- package/lib/generated-client/api/notifications-api.js +0 -484
- package/lib/utils/api/dlna-server-api.js +0 -12
- package/lib/utils/api/image-by-name-api.d.ts +0 -8
- package/lib/utils/api/image-by-name-api.js +0 -12
- package/lib/utils/api/notifications-api.d.ts +0 -8
- package/lib/utils/api/notifications-api.js +0 -12
|
@@ -1,1088 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
-
import globalAxios from 'axios';
|
|
3
|
-
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
|
-
|
|
6
|
-
/* tslint:disable */
|
|
7
|
-
/**
|
|
8
|
-
* DlnaServerApi - axios parameter creator
|
|
9
|
-
* @export
|
|
10
|
-
*/
|
|
11
|
-
const DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
12
|
-
return {
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
16
|
-
* @param {string} serverId Server UUID.
|
|
17
|
-
* @param {*} [options] Override http request option.
|
|
18
|
-
* @throws {RequiredError}
|
|
19
|
-
*/
|
|
20
|
-
getConnectionManager: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
22
|
-
assertParamExists('getConnectionManager', 'serverId', serverId);
|
|
23
|
-
const localVarPath = `/Dlna/{serverId}/ConnectionManager`
|
|
24
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
25
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27
|
-
let baseOptions;
|
|
28
|
-
if (configuration) {
|
|
29
|
-
baseOptions = configuration.baseOptions;
|
|
30
|
-
}
|
|
31
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
32
|
-
const localVarHeaderParameter = {};
|
|
33
|
-
const localVarQueryParameter = {};
|
|
34
|
-
// authentication CustomAuthentication required
|
|
35
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39
|
-
return {
|
|
40
|
-
url: toPathString(localVarUrlObj),
|
|
41
|
-
options: localVarRequestOptions,
|
|
42
|
-
};
|
|
43
|
-
}),
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
47
|
-
* @param {string} serverId Server UUID.
|
|
48
|
-
* @param {*} [options] Override http request option.
|
|
49
|
-
* @throws {RequiredError}
|
|
50
|
-
*/
|
|
51
|
-
getConnectionManager2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
53
|
-
assertParamExists('getConnectionManager2', 'serverId', serverId);
|
|
54
|
-
const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager`
|
|
55
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
56
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
|
-
let baseOptions;
|
|
59
|
-
if (configuration) {
|
|
60
|
-
baseOptions = configuration.baseOptions;
|
|
61
|
-
}
|
|
62
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
63
|
-
const localVarHeaderParameter = {};
|
|
64
|
-
const localVarQueryParameter = {};
|
|
65
|
-
// authentication CustomAuthentication required
|
|
66
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
67
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
-
return {
|
|
71
|
-
url: toPathString(localVarUrlObj),
|
|
72
|
-
options: localVarRequestOptions,
|
|
73
|
-
};
|
|
74
|
-
}),
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
78
|
-
* @param {string} serverId Server UUID.
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
getConnectionManager3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
83
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
84
|
-
assertParamExists('getConnectionManager3', 'serverId', serverId);
|
|
85
|
-
const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml`
|
|
86
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
87
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
-
let baseOptions;
|
|
90
|
-
if (configuration) {
|
|
91
|
-
baseOptions = configuration.baseOptions;
|
|
92
|
-
}
|
|
93
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
94
|
-
const localVarHeaderParameter = {};
|
|
95
|
-
const localVarQueryParameter = {};
|
|
96
|
-
// authentication CustomAuthentication required
|
|
97
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
98
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
-
return {
|
|
102
|
-
url: toPathString(localVarUrlObj),
|
|
103
|
-
options: localVarRequestOptions,
|
|
104
|
-
};
|
|
105
|
-
}),
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @summary Gets Dlna content directory xml.
|
|
109
|
-
* @param {string} serverId Server UUID.
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
getContentDirectory: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
115
|
-
assertParamExists('getContentDirectory', 'serverId', serverId);
|
|
116
|
-
const localVarPath = `/Dlna/{serverId}/ContentDirectory`
|
|
117
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
118
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
-
let baseOptions;
|
|
121
|
-
if (configuration) {
|
|
122
|
-
baseOptions = configuration.baseOptions;
|
|
123
|
-
}
|
|
124
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
125
|
-
const localVarHeaderParameter = {};
|
|
126
|
-
const localVarQueryParameter = {};
|
|
127
|
-
// authentication CustomAuthentication required
|
|
128
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
129
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
132
|
-
return {
|
|
133
|
-
url: toPathString(localVarUrlObj),
|
|
134
|
-
options: localVarRequestOptions,
|
|
135
|
-
};
|
|
136
|
-
}),
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @summary Gets Dlna content directory xml.
|
|
140
|
-
* @param {string} serverId Server UUID.
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
*/
|
|
144
|
-
getContentDirectory2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
145
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
146
|
-
assertParamExists('getContentDirectory2', 'serverId', serverId);
|
|
147
|
-
const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory`
|
|
148
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
149
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
|
-
let baseOptions;
|
|
152
|
-
if (configuration) {
|
|
153
|
-
baseOptions = configuration.baseOptions;
|
|
154
|
-
}
|
|
155
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
156
|
-
const localVarHeaderParameter = {};
|
|
157
|
-
const localVarQueryParameter = {};
|
|
158
|
-
// authentication CustomAuthentication required
|
|
159
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
160
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
163
|
-
return {
|
|
164
|
-
url: toPathString(localVarUrlObj),
|
|
165
|
-
options: localVarRequestOptions,
|
|
166
|
-
};
|
|
167
|
-
}),
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @summary Gets Dlna content directory xml.
|
|
171
|
-
* @param {string} serverId Server UUID.
|
|
172
|
-
* @param {*} [options] Override http request option.
|
|
173
|
-
* @throws {RequiredError}
|
|
174
|
-
*/
|
|
175
|
-
getContentDirectory3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
177
|
-
assertParamExists('getContentDirectory3', 'serverId', serverId);
|
|
178
|
-
const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml`
|
|
179
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
180
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
182
|
-
let baseOptions;
|
|
183
|
-
if (configuration) {
|
|
184
|
-
baseOptions = configuration.baseOptions;
|
|
185
|
-
}
|
|
186
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
187
|
-
const localVarHeaderParameter = {};
|
|
188
|
-
const localVarQueryParameter = {};
|
|
189
|
-
// authentication CustomAuthentication required
|
|
190
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
191
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
-
return {
|
|
195
|
-
url: toPathString(localVarUrlObj),
|
|
196
|
-
options: localVarRequestOptions,
|
|
197
|
-
};
|
|
198
|
-
}),
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* @summary Get Description Xml.
|
|
202
|
-
* @param {string} serverId Server UUID.
|
|
203
|
-
* @param {*} [options] Override http request option.
|
|
204
|
-
* @throws {RequiredError}
|
|
205
|
-
*/
|
|
206
|
-
getDescriptionXml: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
207
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
208
|
-
assertParamExists('getDescriptionXml', 'serverId', serverId);
|
|
209
|
-
const localVarPath = `/Dlna/{serverId}/description`
|
|
210
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
211
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
|
-
let baseOptions;
|
|
214
|
-
if (configuration) {
|
|
215
|
-
baseOptions = configuration.baseOptions;
|
|
216
|
-
}
|
|
217
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
218
|
-
const localVarHeaderParameter = {};
|
|
219
|
-
const localVarQueryParameter = {};
|
|
220
|
-
// authentication CustomAuthentication required
|
|
221
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
222
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
225
|
-
return {
|
|
226
|
-
url: toPathString(localVarUrlObj),
|
|
227
|
-
options: localVarRequestOptions,
|
|
228
|
-
};
|
|
229
|
-
}),
|
|
230
|
-
/**
|
|
231
|
-
*
|
|
232
|
-
* @summary Get Description Xml.
|
|
233
|
-
* @param {string} serverId Server UUID.
|
|
234
|
-
* @param {*} [options] Override http request option.
|
|
235
|
-
* @throws {RequiredError}
|
|
236
|
-
*/
|
|
237
|
-
getDescriptionXml2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
238
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
239
|
-
assertParamExists('getDescriptionXml2', 'serverId', serverId);
|
|
240
|
-
const localVarPath = `/Dlna/{serverId}/description.xml`
|
|
241
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
242
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
244
|
-
let baseOptions;
|
|
245
|
-
if (configuration) {
|
|
246
|
-
baseOptions = configuration.baseOptions;
|
|
247
|
-
}
|
|
248
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
249
|
-
const localVarHeaderParameter = {};
|
|
250
|
-
const localVarQueryParameter = {};
|
|
251
|
-
// authentication CustomAuthentication required
|
|
252
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
253
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
256
|
-
return {
|
|
257
|
-
url: toPathString(localVarUrlObj),
|
|
258
|
-
options: localVarRequestOptions,
|
|
259
|
-
};
|
|
260
|
-
}),
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Gets a server icon.
|
|
264
|
-
* @param {string} fileName The icon filename.
|
|
265
|
-
* @param {*} [options] Override http request option.
|
|
266
|
-
* @throws {RequiredError}
|
|
267
|
-
*/
|
|
268
|
-
getIcon: (fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
269
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
270
|
-
assertParamExists('getIcon', 'fileName', fileName);
|
|
271
|
-
const localVarPath = `/Dlna/icons/{fileName}`
|
|
272
|
-
.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
|
|
273
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
274
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
275
|
-
let baseOptions;
|
|
276
|
-
if (configuration) {
|
|
277
|
-
baseOptions = configuration.baseOptions;
|
|
278
|
-
}
|
|
279
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
280
|
-
const localVarHeaderParameter = {};
|
|
281
|
-
const localVarQueryParameter = {};
|
|
282
|
-
// authentication CustomAuthentication required
|
|
283
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
284
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
285
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
286
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
287
|
-
return {
|
|
288
|
-
url: toPathString(localVarUrlObj),
|
|
289
|
-
options: localVarRequestOptions,
|
|
290
|
-
};
|
|
291
|
-
}),
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
* @summary Gets a server icon.
|
|
295
|
-
* @param {string} serverId Server UUID.
|
|
296
|
-
* @param {string} fileName The icon filename.
|
|
297
|
-
* @param {*} [options] Override http request option.
|
|
298
|
-
* @throws {RequiredError}
|
|
299
|
-
*/
|
|
300
|
-
getIconId: (serverId, fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
301
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
302
|
-
assertParamExists('getIconId', 'serverId', serverId);
|
|
303
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
304
|
-
assertParamExists('getIconId', 'fileName', fileName);
|
|
305
|
-
const localVarPath = `/Dlna/{serverId}/icons/{fileName}`
|
|
306
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)))
|
|
307
|
-
.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
|
|
308
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
-
let baseOptions;
|
|
311
|
-
if (configuration) {
|
|
312
|
-
baseOptions = configuration.baseOptions;
|
|
313
|
-
}
|
|
314
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
315
|
-
const localVarHeaderParameter = {};
|
|
316
|
-
const localVarQueryParameter = {};
|
|
317
|
-
// authentication CustomAuthentication required
|
|
318
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
319
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
320
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
322
|
-
return {
|
|
323
|
-
url: toPathString(localVarUrlObj),
|
|
324
|
-
options: localVarRequestOptions,
|
|
325
|
-
};
|
|
326
|
-
}),
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
330
|
-
* @param {string} serverId Server UUID.
|
|
331
|
-
* @param {*} [options] Override http request option.
|
|
332
|
-
* @throws {RequiredError}
|
|
333
|
-
*/
|
|
334
|
-
getMediaReceiverRegistrar: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
335
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
336
|
-
assertParamExists('getMediaReceiverRegistrar', 'serverId', serverId);
|
|
337
|
-
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar`
|
|
338
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
339
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
340
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
341
|
-
let baseOptions;
|
|
342
|
-
if (configuration) {
|
|
343
|
-
baseOptions = configuration.baseOptions;
|
|
344
|
-
}
|
|
345
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
346
|
-
const localVarHeaderParameter = {};
|
|
347
|
-
const localVarQueryParameter = {};
|
|
348
|
-
// authentication CustomAuthentication required
|
|
349
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
350
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
351
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
352
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
353
|
-
return {
|
|
354
|
-
url: toPathString(localVarUrlObj),
|
|
355
|
-
options: localVarRequestOptions,
|
|
356
|
-
};
|
|
357
|
-
}),
|
|
358
|
-
/**
|
|
359
|
-
*
|
|
360
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
361
|
-
* @param {string} serverId Server UUID.
|
|
362
|
-
* @param {*} [options] Override http request option.
|
|
363
|
-
* @throws {RequiredError}
|
|
364
|
-
*/
|
|
365
|
-
getMediaReceiverRegistrar2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
366
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
367
|
-
assertParamExists('getMediaReceiverRegistrar2', 'serverId', serverId);
|
|
368
|
-
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar`
|
|
369
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
370
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
371
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
372
|
-
let baseOptions;
|
|
373
|
-
if (configuration) {
|
|
374
|
-
baseOptions = configuration.baseOptions;
|
|
375
|
-
}
|
|
376
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
377
|
-
const localVarHeaderParameter = {};
|
|
378
|
-
const localVarQueryParameter = {};
|
|
379
|
-
// authentication CustomAuthentication required
|
|
380
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
381
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
382
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
384
|
-
return {
|
|
385
|
-
url: toPathString(localVarUrlObj),
|
|
386
|
-
options: localVarRequestOptions,
|
|
387
|
-
};
|
|
388
|
-
}),
|
|
389
|
-
/**
|
|
390
|
-
*
|
|
391
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
392
|
-
* @param {string} serverId Server UUID.
|
|
393
|
-
* @param {*} [options] Override http request option.
|
|
394
|
-
* @throws {RequiredError}
|
|
395
|
-
*/
|
|
396
|
-
getMediaReceiverRegistrar3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
397
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
398
|
-
assertParamExists('getMediaReceiverRegistrar3', 'serverId', serverId);
|
|
399
|
-
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml`
|
|
400
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
401
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
402
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
403
|
-
let baseOptions;
|
|
404
|
-
if (configuration) {
|
|
405
|
-
baseOptions = configuration.baseOptions;
|
|
406
|
-
}
|
|
407
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
408
|
-
const localVarHeaderParameter = {};
|
|
409
|
-
const localVarQueryParameter = {};
|
|
410
|
-
// authentication CustomAuthentication required
|
|
411
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
412
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
413
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
415
|
-
return {
|
|
416
|
-
url: toPathString(localVarUrlObj),
|
|
417
|
-
options: localVarRequestOptions,
|
|
418
|
-
};
|
|
419
|
-
}),
|
|
420
|
-
/**
|
|
421
|
-
*
|
|
422
|
-
* @summary Process a connection manager control request.
|
|
423
|
-
* @param {string} serverId Server UUID.
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
*/
|
|
427
|
-
processConnectionManagerControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
428
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
429
|
-
assertParamExists('processConnectionManagerControlRequest', 'serverId', serverId);
|
|
430
|
-
const localVarPath = `/Dlna/{serverId}/ConnectionManager/Control`
|
|
431
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
432
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
434
|
-
let baseOptions;
|
|
435
|
-
if (configuration) {
|
|
436
|
-
baseOptions = configuration.baseOptions;
|
|
437
|
-
}
|
|
438
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
439
|
-
const localVarHeaderParameter = {};
|
|
440
|
-
const localVarQueryParameter = {};
|
|
441
|
-
// authentication CustomAuthentication required
|
|
442
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
443
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
444
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
445
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
446
|
-
return {
|
|
447
|
-
url: toPathString(localVarUrlObj),
|
|
448
|
-
options: localVarRequestOptions,
|
|
449
|
-
};
|
|
450
|
-
}),
|
|
451
|
-
/**
|
|
452
|
-
*
|
|
453
|
-
* @summary Process a content directory control request.
|
|
454
|
-
* @param {string} serverId Server UUID.
|
|
455
|
-
* @param {*} [options] Override http request option.
|
|
456
|
-
* @throws {RequiredError}
|
|
457
|
-
*/
|
|
458
|
-
processContentDirectoryControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
459
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
460
|
-
assertParamExists('processContentDirectoryControlRequest', 'serverId', serverId);
|
|
461
|
-
const localVarPath = `/Dlna/{serverId}/ContentDirectory/Control`
|
|
462
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
463
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
464
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
465
|
-
let baseOptions;
|
|
466
|
-
if (configuration) {
|
|
467
|
-
baseOptions = configuration.baseOptions;
|
|
468
|
-
}
|
|
469
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
470
|
-
const localVarHeaderParameter = {};
|
|
471
|
-
const localVarQueryParameter = {};
|
|
472
|
-
// authentication CustomAuthentication required
|
|
473
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
474
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
475
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
476
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
477
|
-
return {
|
|
478
|
-
url: toPathString(localVarUrlObj),
|
|
479
|
-
options: localVarRequestOptions,
|
|
480
|
-
};
|
|
481
|
-
}),
|
|
482
|
-
/**
|
|
483
|
-
*
|
|
484
|
-
* @summary Process a media receiver registrar control request.
|
|
485
|
-
* @param {string} serverId Server UUID.
|
|
486
|
-
* @param {*} [options] Override http request option.
|
|
487
|
-
* @throws {RequiredError}
|
|
488
|
-
*/
|
|
489
|
-
processMediaReceiverRegistrarControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
490
|
-
// verify required parameter 'serverId' is not null or undefined
|
|
491
|
-
assertParamExists('processMediaReceiverRegistrarControlRequest', 'serverId', serverId);
|
|
492
|
-
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/Control`
|
|
493
|
-
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
494
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
496
|
-
let baseOptions;
|
|
497
|
-
if (configuration) {
|
|
498
|
-
baseOptions = configuration.baseOptions;
|
|
499
|
-
}
|
|
500
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
501
|
-
const localVarHeaderParameter = {};
|
|
502
|
-
const localVarQueryParameter = {};
|
|
503
|
-
// authentication CustomAuthentication required
|
|
504
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
505
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
508
|
-
return {
|
|
509
|
-
url: toPathString(localVarUrlObj),
|
|
510
|
-
options: localVarRequestOptions,
|
|
511
|
-
};
|
|
512
|
-
}),
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
/**
|
|
516
|
-
* DlnaServerApi - functional programming interface
|
|
517
|
-
* @export
|
|
518
|
-
*/
|
|
519
|
-
const DlnaServerApiFp = function (configuration) {
|
|
520
|
-
const localVarAxiosParamCreator = DlnaServerApiAxiosParamCreator(configuration);
|
|
521
|
-
return {
|
|
522
|
-
/**
|
|
523
|
-
*
|
|
524
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
525
|
-
* @param {string} serverId Server UUID.
|
|
526
|
-
* @param {*} [options] Override http request option.
|
|
527
|
-
* @throws {RequiredError}
|
|
528
|
-
*/
|
|
529
|
-
getConnectionManager(serverId, options) {
|
|
530
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
531
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager(serverId, options);
|
|
532
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
533
|
-
});
|
|
534
|
-
},
|
|
535
|
-
/**
|
|
536
|
-
*
|
|
537
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
538
|
-
* @param {string} serverId Server UUID.
|
|
539
|
-
* @param {*} [options] Override http request option.
|
|
540
|
-
* @throws {RequiredError}
|
|
541
|
-
*/
|
|
542
|
-
getConnectionManager2(serverId, options) {
|
|
543
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
544
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager2(serverId, options);
|
|
545
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
546
|
-
});
|
|
547
|
-
},
|
|
548
|
-
/**
|
|
549
|
-
*
|
|
550
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
551
|
-
* @param {string} serverId Server UUID.
|
|
552
|
-
* @param {*} [options] Override http request option.
|
|
553
|
-
* @throws {RequiredError}
|
|
554
|
-
*/
|
|
555
|
-
getConnectionManager3(serverId, options) {
|
|
556
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager3(serverId, options);
|
|
558
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
559
|
-
});
|
|
560
|
-
},
|
|
561
|
-
/**
|
|
562
|
-
*
|
|
563
|
-
* @summary Gets Dlna content directory xml.
|
|
564
|
-
* @param {string} serverId Server UUID.
|
|
565
|
-
* @param {*} [options] Override http request option.
|
|
566
|
-
* @throws {RequiredError}
|
|
567
|
-
*/
|
|
568
|
-
getContentDirectory(serverId, options) {
|
|
569
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
570
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory(serverId, options);
|
|
571
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
572
|
-
});
|
|
573
|
-
},
|
|
574
|
-
/**
|
|
575
|
-
*
|
|
576
|
-
* @summary Gets Dlna content directory xml.
|
|
577
|
-
* @param {string} serverId Server UUID.
|
|
578
|
-
* @param {*} [options] Override http request option.
|
|
579
|
-
* @throws {RequiredError}
|
|
580
|
-
*/
|
|
581
|
-
getContentDirectory2(serverId, options) {
|
|
582
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory2(serverId, options);
|
|
584
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
585
|
-
});
|
|
586
|
-
},
|
|
587
|
-
/**
|
|
588
|
-
*
|
|
589
|
-
* @summary Gets Dlna content directory xml.
|
|
590
|
-
* @param {string} serverId Server UUID.
|
|
591
|
-
* @param {*} [options] Override http request option.
|
|
592
|
-
* @throws {RequiredError}
|
|
593
|
-
*/
|
|
594
|
-
getContentDirectory3(serverId, options) {
|
|
595
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory3(serverId, options);
|
|
597
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
598
|
-
});
|
|
599
|
-
},
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @summary Get Description Xml.
|
|
603
|
-
* @param {string} serverId Server UUID.
|
|
604
|
-
* @param {*} [options] Override http request option.
|
|
605
|
-
* @throws {RequiredError}
|
|
606
|
-
*/
|
|
607
|
-
getDescriptionXml(serverId, options) {
|
|
608
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
609
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml(serverId, options);
|
|
610
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
611
|
-
});
|
|
612
|
-
},
|
|
613
|
-
/**
|
|
614
|
-
*
|
|
615
|
-
* @summary Get Description Xml.
|
|
616
|
-
* @param {string} serverId Server UUID.
|
|
617
|
-
* @param {*} [options] Override http request option.
|
|
618
|
-
* @throws {RequiredError}
|
|
619
|
-
*/
|
|
620
|
-
getDescriptionXml2(serverId, options) {
|
|
621
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
622
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml2(serverId, options);
|
|
623
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
624
|
-
});
|
|
625
|
-
},
|
|
626
|
-
/**
|
|
627
|
-
*
|
|
628
|
-
* @summary Gets a server icon.
|
|
629
|
-
* @param {string} fileName The icon filename.
|
|
630
|
-
* @param {*} [options] Override http request option.
|
|
631
|
-
* @throws {RequiredError}
|
|
632
|
-
*/
|
|
633
|
-
getIcon(fileName, options) {
|
|
634
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIcon(fileName, options);
|
|
636
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
637
|
-
});
|
|
638
|
-
},
|
|
639
|
-
/**
|
|
640
|
-
*
|
|
641
|
-
* @summary Gets a server icon.
|
|
642
|
-
* @param {string} serverId Server UUID.
|
|
643
|
-
* @param {string} fileName The icon filename.
|
|
644
|
-
* @param {*} [options] Override http request option.
|
|
645
|
-
* @throws {RequiredError}
|
|
646
|
-
*/
|
|
647
|
-
getIconId(serverId, fileName, options) {
|
|
648
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
649
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIconId(serverId, fileName, options);
|
|
650
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
651
|
-
});
|
|
652
|
-
},
|
|
653
|
-
/**
|
|
654
|
-
*
|
|
655
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
656
|
-
* @param {string} serverId Server UUID.
|
|
657
|
-
* @param {*} [options] Override http request option.
|
|
658
|
-
* @throws {RequiredError}
|
|
659
|
-
*/
|
|
660
|
-
getMediaReceiverRegistrar(serverId, options) {
|
|
661
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
662
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar(serverId, options);
|
|
663
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
664
|
-
});
|
|
665
|
-
},
|
|
666
|
-
/**
|
|
667
|
-
*
|
|
668
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
669
|
-
* @param {string} serverId Server UUID.
|
|
670
|
-
* @param {*} [options] Override http request option.
|
|
671
|
-
* @throws {RequiredError}
|
|
672
|
-
*/
|
|
673
|
-
getMediaReceiverRegistrar2(serverId, options) {
|
|
674
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
675
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar2(serverId, options);
|
|
676
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
677
|
-
});
|
|
678
|
-
},
|
|
679
|
-
/**
|
|
680
|
-
*
|
|
681
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
682
|
-
* @param {string} serverId Server UUID.
|
|
683
|
-
* @param {*} [options] Override http request option.
|
|
684
|
-
* @throws {RequiredError}
|
|
685
|
-
*/
|
|
686
|
-
getMediaReceiverRegistrar3(serverId, options) {
|
|
687
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
688
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar3(serverId, options);
|
|
689
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
690
|
-
});
|
|
691
|
-
},
|
|
692
|
-
/**
|
|
693
|
-
*
|
|
694
|
-
* @summary Process a connection manager control request.
|
|
695
|
-
* @param {string} serverId Server UUID.
|
|
696
|
-
* @param {*} [options] Override http request option.
|
|
697
|
-
* @throws {RequiredError}
|
|
698
|
-
*/
|
|
699
|
-
processConnectionManagerControlRequest(serverId, options) {
|
|
700
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
701
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.processConnectionManagerControlRequest(serverId, options);
|
|
702
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
703
|
-
});
|
|
704
|
-
},
|
|
705
|
-
/**
|
|
706
|
-
*
|
|
707
|
-
* @summary Process a content directory control request.
|
|
708
|
-
* @param {string} serverId Server UUID.
|
|
709
|
-
* @param {*} [options] Override http request option.
|
|
710
|
-
* @throws {RequiredError}
|
|
711
|
-
*/
|
|
712
|
-
processContentDirectoryControlRequest(serverId, options) {
|
|
713
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
714
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.processContentDirectoryControlRequest(serverId, options);
|
|
715
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
716
|
-
});
|
|
717
|
-
},
|
|
718
|
-
/**
|
|
719
|
-
*
|
|
720
|
-
* @summary Process a media receiver registrar control request.
|
|
721
|
-
* @param {string} serverId Server UUID.
|
|
722
|
-
* @param {*} [options] Override http request option.
|
|
723
|
-
* @throws {RequiredError}
|
|
724
|
-
*/
|
|
725
|
-
processMediaReceiverRegistrarControlRequest(serverId, options) {
|
|
726
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
727
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.processMediaReceiverRegistrarControlRequest(serverId, options);
|
|
728
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
729
|
-
});
|
|
730
|
-
},
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
/**
|
|
734
|
-
* DlnaServerApi - factory interface
|
|
735
|
-
* @export
|
|
736
|
-
*/
|
|
737
|
-
const DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
738
|
-
const localVarFp = DlnaServerApiFp(configuration);
|
|
739
|
-
return {
|
|
740
|
-
/**
|
|
741
|
-
*
|
|
742
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
743
|
-
* @param {string} serverId Server UUID.
|
|
744
|
-
* @param {*} [options] Override http request option.
|
|
745
|
-
* @throws {RequiredError}
|
|
746
|
-
*/
|
|
747
|
-
getConnectionManager(serverId, options) {
|
|
748
|
-
return localVarFp.getConnectionManager(serverId, options).then((request) => request(axios, basePath));
|
|
749
|
-
},
|
|
750
|
-
/**
|
|
751
|
-
*
|
|
752
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
753
|
-
* @param {string} serverId Server UUID.
|
|
754
|
-
* @param {*} [options] Override http request option.
|
|
755
|
-
* @throws {RequiredError}
|
|
756
|
-
*/
|
|
757
|
-
getConnectionManager2(serverId, options) {
|
|
758
|
-
return localVarFp.getConnectionManager2(serverId, options).then((request) => request(axios, basePath));
|
|
759
|
-
},
|
|
760
|
-
/**
|
|
761
|
-
*
|
|
762
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
763
|
-
* @param {string} serverId Server UUID.
|
|
764
|
-
* @param {*} [options] Override http request option.
|
|
765
|
-
* @throws {RequiredError}
|
|
766
|
-
*/
|
|
767
|
-
getConnectionManager3(serverId, options) {
|
|
768
|
-
return localVarFp.getConnectionManager3(serverId, options).then((request) => request(axios, basePath));
|
|
769
|
-
},
|
|
770
|
-
/**
|
|
771
|
-
*
|
|
772
|
-
* @summary Gets Dlna content directory xml.
|
|
773
|
-
* @param {string} serverId Server UUID.
|
|
774
|
-
* @param {*} [options] Override http request option.
|
|
775
|
-
* @throws {RequiredError}
|
|
776
|
-
*/
|
|
777
|
-
getContentDirectory(serverId, options) {
|
|
778
|
-
return localVarFp.getContentDirectory(serverId, options).then((request) => request(axios, basePath));
|
|
779
|
-
},
|
|
780
|
-
/**
|
|
781
|
-
*
|
|
782
|
-
* @summary Gets Dlna content directory xml.
|
|
783
|
-
* @param {string} serverId Server UUID.
|
|
784
|
-
* @param {*} [options] Override http request option.
|
|
785
|
-
* @throws {RequiredError}
|
|
786
|
-
*/
|
|
787
|
-
getContentDirectory2(serverId, options) {
|
|
788
|
-
return localVarFp.getContentDirectory2(serverId, options).then((request) => request(axios, basePath));
|
|
789
|
-
},
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @summary Gets Dlna content directory xml.
|
|
793
|
-
* @param {string} serverId Server UUID.
|
|
794
|
-
* @param {*} [options] Override http request option.
|
|
795
|
-
* @throws {RequiredError}
|
|
796
|
-
*/
|
|
797
|
-
getContentDirectory3(serverId, options) {
|
|
798
|
-
return localVarFp.getContentDirectory3(serverId, options).then((request) => request(axios, basePath));
|
|
799
|
-
},
|
|
800
|
-
/**
|
|
801
|
-
*
|
|
802
|
-
* @summary Get Description Xml.
|
|
803
|
-
* @param {string} serverId Server UUID.
|
|
804
|
-
* @param {*} [options] Override http request option.
|
|
805
|
-
* @throws {RequiredError}
|
|
806
|
-
*/
|
|
807
|
-
getDescriptionXml(serverId, options) {
|
|
808
|
-
return localVarFp.getDescriptionXml(serverId, options).then((request) => request(axios, basePath));
|
|
809
|
-
},
|
|
810
|
-
/**
|
|
811
|
-
*
|
|
812
|
-
* @summary Get Description Xml.
|
|
813
|
-
* @param {string} serverId Server UUID.
|
|
814
|
-
* @param {*} [options] Override http request option.
|
|
815
|
-
* @throws {RequiredError}
|
|
816
|
-
*/
|
|
817
|
-
getDescriptionXml2(serverId, options) {
|
|
818
|
-
return localVarFp.getDescriptionXml2(serverId, options).then((request) => request(axios, basePath));
|
|
819
|
-
},
|
|
820
|
-
/**
|
|
821
|
-
*
|
|
822
|
-
* @summary Gets a server icon.
|
|
823
|
-
* @param {string} fileName The icon filename.
|
|
824
|
-
* @param {*} [options] Override http request option.
|
|
825
|
-
* @throws {RequiredError}
|
|
826
|
-
*/
|
|
827
|
-
getIcon(fileName, options) {
|
|
828
|
-
return localVarFp.getIcon(fileName, options).then((request) => request(axios, basePath));
|
|
829
|
-
},
|
|
830
|
-
/**
|
|
831
|
-
*
|
|
832
|
-
* @summary Gets a server icon.
|
|
833
|
-
* @param {string} serverId Server UUID.
|
|
834
|
-
* @param {string} fileName The icon filename.
|
|
835
|
-
* @param {*} [options] Override http request option.
|
|
836
|
-
* @throws {RequiredError}
|
|
837
|
-
*/
|
|
838
|
-
getIconId(serverId, fileName, options) {
|
|
839
|
-
return localVarFp.getIconId(serverId, fileName, options).then((request) => request(axios, basePath));
|
|
840
|
-
},
|
|
841
|
-
/**
|
|
842
|
-
*
|
|
843
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
844
|
-
* @param {string} serverId Server UUID.
|
|
845
|
-
* @param {*} [options] Override http request option.
|
|
846
|
-
* @throws {RequiredError}
|
|
847
|
-
*/
|
|
848
|
-
getMediaReceiverRegistrar(serverId, options) {
|
|
849
|
-
return localVarFp.getMediaReceiverRegistrar(serverId, options).then((request) => request(axios, basePath));
|
|
850
|
-
},
|
|
851
|
-
/**
|
|
852
|
-
*
|
|
853
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
854
|
-
* @param {string} serverId Server UUID.
|
|
855
|
-
* @param {*} [options] Override http request option.
|
|
856
|
-
* @throws {RequiredError}
|
|
857
|
-
*/
|
|
858
|
-
getMediaReceiverRegistrar2(serverId, options) {
|
|
859
|
-
return localVarFp.getMediaReceiverRegistrar2(serverId, options).then((request) => request(axios, basePath));
|
|
860
|
-
},
|
|
861
|
-
/**
|
|
862
|
-
*
|
|
863
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
864
|
-
* @param {string} serverId Server UUID.
|
|
865
|
-
* @param {*} [options] Override http request option.
|
|
866
|
-
* @throws {RequiredError}
|
|
867
|
-
*/
|
|
868
|
-
getMediaReceiverRegistrar3(serverId, options) {
|
|
869
|
-
return localVarFp.getMediaReceiverRegistrar3(serverId, options).then((request) => request(axios, basePath));
|
|
870
|
-
},
|
|
871
|
-
/**
|
|
872
|
-
*
|
|
873
|
-
* @summary Process a connection manager control request.
|
|
874
|
-
* @param {string} serverId Server UUID.
|
|
875
|
-
* @param {*} [options] Override http request option.
|
|
876
|
-
* @throws {RequiredError}
|
|
877
|
-
*/
|
|
878
|
-
processConnectionManagerControlRequest(serverId, options) {
|
|
879
|
-
return localVarFp.processConnectionManagerControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
880
|
-
},
|
|
881
|
-
/**
|
|
882
|
-
*
|
|
883
|
-
* @summary Process a content directory control request.
|
|
884
|
-
* @param {string} serverId Server UUID.
|
|
885
|
-
* @param {*} [options] Override http request option.
|
|
886
|
-
* @throws {RequiredError}
|
|
887
|
-
*/
|
|
888
|
-
processContentDirectoryControlRequest(serverId, options) {
|
|
889
|
-
return localVarFp.processContentDirectoryControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
890
|
-
},
|
|
891
|
-
/**
|
|
892
|
-
*
|
|
893
|
-
* @summary Process a media receiver registrar control request.
|
|
894
|
-
* @param {string} serverId Server UUID.
|
|
895
|
-
* @param {*} [options] Override http request option.
|
|
896
|
-
* @throws {RequiredError}
|
|
897
|
-
*/
|
|
898
|
-
processMediaReceiverRegistrarControlRequest(serverId, options) {
|
|
899
|
-
return localVarFp.processMediaReceiverRegistrarControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
900
|
-
},
|
|
901
|
-
};
|
|
902
|
-
};
|
|
903
|
-
/**
|
|
904
|
-
* DlnaServerApi - object-oriented interface
|
|
905
|
-
* @export
|
|
906
|
-
* @class DlnaServerApi
|
|
907
|
-
* @extends {BaseAPI}
|
|
908
|
-
*/
|
|
909
|
-
class DlnaServerApi extends BaseAPI {
|
|
910
|
-
/**
|
|
911
|
-
*
|
|
912
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
913
|
-
* @param {DlnaServerApiGetConnectionManagerRequest} requestParameters Request parameters.
|
|
914
|
-
* @param {*} [options] Override http request option.
|
|
915
|
-
* @throws {RequiredError}
|
|
916
|
-
* @memberof DlnaServerApi
|
|
917
|
-
*/
|
|
918
|
-
getConnectionManager(requestParameters, options) {
|
|
919
|
-
return DlnaServerApiFp(this.configuration).getConnectionManager(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
*
|
|
923
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
924
|
-
* @param {DlnaServerApiGetConnectionManager2Request} requestParameters Request parameters.
|
|
925
|
-
* @param {*} [options] Override http request option.
|
|
926
|
-
* @throws {RequiredError}
|
|
927
|
-
* @memberof DlnaServerApi
|
|
928
|
-
*/
|
|
929
|
-
getConnectionManager2(requestParameters, options) {
|
|
930
|
-
return DlnaServerApiFp(this.configuration).getConnectionManager2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
931
|
-
}
|
|
932
|
-
/**
|
|
933
|
-
*
|
|
934
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
935
|
-
* @param {DlnaServerApiGetConnectionManager3Request} requestParameters Request parameters.
|
|
936
|
-
* @param {*} [options] Override http request option.
|
|
937
|
-
* @throws {RequiredError}
|
|
938
|
-
* @memberof DlnaServerApi
|
|
939
|
-
*/
|
|
940
|
-
getConnectionManager3(requestParameters, options) {
|
|
941
|
-
return DlnaServerApiFp(this.configuration).getConnectionManager3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
*
|
|
945
|
-
* @summary Gets Dlna content directory xml.
|
|
946
|
-
* @param {DlnaServerApiGetContentDirectoryRequest} requestParameters Request parameters.
|
|
947
|
-
* @param {*} [options] Override http request option.
|
|
948
|
-
* @throws {RequiredError}
|
|
949
|
-
* @memberof DlnaServerApi
|
|
950
|
-
*/
|
|
951
|
-
getContentDirectory(requestParameters, options) {
|
|
952
|
-
return DlnaServerApiFp(this.configuration).getContentDirectory(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
*
|
|
956
|
-
* @summary Gets Dlna content directory xml.
|
|
957
|
-
* @param {DlnaServerApiGetContentDirectory2Request} requestParameters Request parameters.
|
|
958
|
-
* @param {*} [options] Override http request option.
|
|
959
|
-
* @throws {RequiredError}
|
|
960
|
-
* @memberof DlnaServerApi
|
|
961
|
-
*/
|
|
962
|
-
getContentDirectory2(requestParameters, options) {
|
|
963
|
-
return DlnaServerApiFp(this.configuration).getContentDirectory2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
964
|
-
}
|
|
965
|
-
/**
|
|
966
|
-
*
|
|
967
|
-
* @summary Gets Dlna content directory xml.
|
|
968
|
-
* @param {DlnaServerApiGetContentDirectory3Request} requestParameters Request parameters.
|
|
969
|
-
* @param {*} [options] Override http request option.
|
|
970
|
-
* @throws {RequiredError}
|
|
971
|
-
* @memberof DlnaServerApi
|
|
972
|
-
*/
|
|
973
|
-
getContentDirectory3(requestParameters, options) {
|
|
974
|
-
return DlnaServerApiFp(this.configuration).getContentDirectory3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
*
|
|
978
|
-
* @summary Get Description Xml.
|
|
979
|
-
* @param {DlnaServerApiGetDescriptionXmlRequest} requestParameters Request parameters.
|
|
980
|
-
* @param {*} [options] Override http request option.
|
|
981
|
-
* @throws {RequiredError}
|
|
982
|
-
* @memberof DlnaServerApi
|
|
983
|
-
*/
|
|
984
|
-
getDescriptionXml(requestParameters, options) {
|
|
985
|
-
return DlnaServerApiFp(this.configuration).getDescriptionXml(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
*
|
|
989
|
-
* @summary Get Description Xml.
|
|
990
|
-
* @param {DlnaServerApiGetDescriptionXml2Request} requestParameters Request parameters.
|
|
991
|
-
* @param {*} [options] Override http request option.
|
|
992
|
-
* @throws {RequiredError}
|
|
993
|
-
* @memberof DlnaServerApi
|
|
994
|
-
*/
|
|
995
|
-
getDescriptionXml2(requestParameters, options) {
|
|
996
|
-
return DlnaServerApiFp(this.configuration).getDescriptionXml2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
997
|
-
}
|
|
998
|
-
/**
|
|
999
|
-
*
|
|
1000
|
-
* @summary Gets a server icon.
|
|
1001
|
-
* @param {DlnaServerApiGetIconRequest} requestParameters Request parameters.
|
|
1002
|
-
* @param {*} [options] Override http request option.
|
|
1003
|
-
* @throws {RequiredError}
|
|
1004
|
-
* @memberof DlnaServerApi
|
|
1005
|
-
*/
|
|
1006
|
-
getIcon(requestParameters, options) {
|
|
1007
|
-
return DlnaServerApiFp(this.configuration).getIcon(requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @summary Gets a server icon.
|
|
1012
|
-
* @param {DlnaServerApiGetIconIdRequest} requestParameters Request parameters.
|
|
1013
|
-
* @param {*} [options] Override http request option.
|
|
1014
|
-
* @throws {RequiredError}
|
|
1015
|
-
* @memberof DlnaServerApi
|
|
1016
|
-
*/
|
|
1017
|
-
getIconId(requestParameters, options) {
|
|
1018
|
-
return DlnaServerApiFp(this.configuration).getIconId(requestParameters.serverId, requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
|
|
1019
|
-
}
|
|
1020
|
-
/**
|
|
1021
|
-
*
|
|
1022
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
1023
|
-
* @param {DlnaServerApiGetMediaReceiverRegistrarRequest} requestParameters Request parameters.
|
|
1024
|
-
* @param {*} [options] Override http request option.
|
|
1025
|
-
* @throws {RequiredError}
|
|
1026
|
-
* @memberof DlnaServerApi
|
|
1027
|
-
*/
|
|
1028
|
-
getMediaReceiverRegistrar(requestParameters, options) {
|
|
1029
|
-
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1030
|
-
}
|
|
1031
|
-
/**
|
|
1032
|
-
*
|
|
1033
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
1034
|
-
* @param {DlnaServerApiGetMediaReceiverRegistrar2Request} requestParameters Request parameters.
|
|
1035
|
-
* @param {*} [options] Override http request option.
|
|
1036
|
-
* @throws {RequiredError}
|
|
1037
|
-
* @memberof DlnaServerApi
|
|
1038
|
-
*/
|
|
1039
|
-
getMediaReceiverRegistrar2(requestParameters, options) {
|
|
1040
|
-
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1041
|
-
}
|
|
1042
|
-
/**
|
|
1043
|
-
*
|
|
1044
|
-
* @summary Gets Dlna media receiver registrar xml.
|
|
1045
|
-
* @param {DlnaServerApiGetMediaReceiverRegistrar3Request} requestParameters Request parameters.
|
|
1046
|
-
* @param {*} [options] Override http request option.
|
|
1047
|
-
* @throws {RequiredError}
|
|
1048
|
-
* @memberof DlnaServerApi
|
|
1049
|
-
*/
|
|
1050
|
-
getMediaReceiverRegistrar3(requestParameters, options) {
|
|
1051
|
-
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
*
|
|
1055
|
-
* @summary Process a connection manager control request.
|
|
1056
|
-
* @param {DlnaServerApiProcessConnectionManagerControlRequestRequest} requestParameters Request parameters.
|
|
1057
|
-
* @param {*} [options] Override http request option.
|
|
1058
|
-
* @throws {RequiredError}
|
|
1059
|
-
* @memberof DlnaServerApi
|
|
1060
|
-
*/
|
|
1061
|
-
processConnectionManagerControlRequest(requestParameters, options) {
|
|
1062
|
-
return DlnaServerApiFp(this.configuration).processConnectionManagerControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1063
|
-
}
|
|
1064
|
-
/**
|
|
1065
|
-
*
|
|
1066
|
-
* @summary Process a content directory control request.
|
|
1067
|
-
* @param {DlnaServerApiProcessContentDirectoryControlRequestRequest} requestParameters Request parameters.
|
|
1068
|
-
* @param {*} [options] Override http request option.
|
|
1069
|
-
* @throws {RequiredError}
|
|
1070
|
-
* @memberof DlnaServerApi
|
|
1071
|
-
*/
|
|
1072
|
-
processContentDirectoryControlRequest(requestParameters, options) {
|
|
1073
|
-
return DlnaServerApiFp(this.configuration).processContentDirectoryControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
*
|
|
1077
|
-
* @summary Process a media receiver registrar control request.
|
|
1078
|
-
* @param {DlnaServerApiProcessMediaReceiverRegistrarControlRequestRequest} requestParameters Request parameters.
|
|
1079
|
-
* @param {*} [options] Override http request option.
|
|
1080
|
-
* @throws {RequiredError}
|
|
1081
|
-
* @memberof DlnaServerApi
|
|
1082
|
-
*/
|
|
1083
|
-
processMediaReceiverRegistrarControlRequest(requestParameters, options) {
|
|
1084
|
-
return DlnaServerApiFp(this.configuration).processMediaReceiverRegistrarControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
export { DlnaServerApi, DlnaServerApiAxiosParamCreator, DlnaServerApiFactory, DlnaServerApiFp };
|