@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 { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, 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
|
* LiveTvApi - axios parameter creator
|
|
9
19
|
* @export
|
|
@@ -20,7 +30,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
20
30
|
* @param {*} [options] Override http request option.
|
|
21
31
|
* @throws {RequiredError}
|
|
22
32
|
*/
|
|
23
|
-
addListingProvider: (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) =>
|
|
33
|
+
addListingProvider: async (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) => {
|
|
24
34
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
25
35
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
36
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -28,11 +38,11 @@ const LiveTvApiAxiosParamCreator = 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 (pw !== undefined) {
|
|
37
47
|
localVarQueryParameter['pw'] = pw;
|
|
38
48
|
}
|
|
@@ -45,13 +55,13 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
45
55
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
46
56
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48
|
-
localVarRequestOptions.headers =
|
|
58
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
49
59
|
localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration);
|
|
50
60
|
return {
|
|
51
61
|
url: toPathString(localVarUrlObj),
|
|
52
62
|
options: localVarRequestOptions,
|
|
53
63
|
};
|
|
54
|
-
}
|
|
64
|
+
},
|
|
55
65
|
/**
|
|
56
66
|
*
|
|
57
67
|
* @summary Adds a tuner host.
|
|
@@ -59,7 +69,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
59
69
|
* @param {*} [options] Override http request option.
|
|
60
70
|
* @throws {RequiredError}
|
|
61
71
|
*/
|
|
62
|
-
addTunerHost: (tunerHostInfo, options = {}) =>
|
|
72
|
+
addTunerHost: async (tunerHostInfo, options = {}) => {
|
|
63
73
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
64
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
75
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -67,21 +77,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
67
77
|
if (configuration) {
|
|
68
78
|
baseOptions = configuration.baseOptions;
|
|
69
79
|
}
|
|
70
|
-
const localVarRequestOptions =
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
71
81
|
const localVarHeaderParameter = {};
|
|
72
82
|
const localVarQueryParameter = {};
|
|
73
83
|
// authentication CustomAuthentication required
|
|
74
|
-
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
75
85
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
86
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
87
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
-
localVarRequestOptions.headers =
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
79
89
|
localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration);
|
|
80
90
|
return {
|
|
81
91
|
url: toPathString(localVarUrlObj),
|
|
82
92
|
options: localVarRequestOptions,
|
|
83
93
|
};
|
|
84
|
-
}
|
|
94
|
+
},
|
|
85
95
|
/**
|
|
86
96
|
*
|
|
87
97
|
* @summary Cancels a live tv series timer.
|
|
@@ -89,7 +99,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
89
99
|
* @param {*} [options] Override http request option.
|
|
90
100
|
* @throws {RequiredError}
|
|
91
101
|
*/
|
|
92
|
-
cancelSeriesTimer: (timerId, options = {}) =>
|
|
102
|
+
cancelSeriesTimer: async (timerId, options = {}) => {
|
|
93
103
|
// verify required parameter 'timerId' is not null or undefined
|
|
94
104
|
assertParamExists('cancelSeriesTimer', 'timerId', timerId);
|
|
95
105
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -100,19 +110,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
100
110
|
if (configuration) {
|
|
101
111
|
baseOptions = configuration.baseOptions;
|
|
102
112
|
}
|
|
103
|
-
const localVarRequestOptions =
|
|
113
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
104
114
|
const localVarHeaderParameter = {};
|
|
105
115
|
const localVarQueryParameter = {};
|
|
106
116
|
// authentication CustomAuthentication required
|
|
107
|
-
|
|
117
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
108
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
-
localVarRequestOptions.headers =
|
|
120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
111
121
|
return {
|
|
112
122
|
url: toPathString(localVarUrlObj),
|
|
113
123
|
options: localVarRequestOptions,
|
|
114
124
|
};
|
|
115
|
-
}
|
|
125
|
+
},
|
|
116
126
|
/**
|
|
117
127
|
*
|
|
118
128
|
* @summary Cancels a live tv timer.
|
|
@@ -120,7 +130,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
120
130
|
* @param {*} [options] Override http request option.
|
|
121
131
|
* @throws {RequiredError}
|
|
122
132
|
*/
|
|
123
|
-
cancelTimer: (timerId, options = {}) =>
|
|
133
|
+
cancelTimer: async (timerId, options = {}) => {
|
|
124
134
|
// verify required parameter 'timerId' is not null or undefined
|
|
125
135
|
assertParamExists('cancelTimer', 'timerId', timerId);
|
|
126
136
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -131,19 +141,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
131
141
|
if (configuration) {
|
|
132
142
|
baseOptions = configuration.baseOptions;
|
|
133
143
|
}
|
|
134
|
-
const localVarRequestOptions =
|
|
144
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
135
145
|
const localVarHeaderParameter = {};
|
|
136
146
|
const localVarQueryParameter = {};
|
|
137
147
|
// authentication CustomAuthentication required
|
|
138
|
-
|
|
148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
139
149
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
150
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
-
localVarRequestOptions.headers =
|
|
151
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
142
152
|
return {
|
|
143
153
|
url: toPathString(localVarUrlObj),
|
|
144
154
|
options: localVarRequestOptions,
|
|
145
155
|
};
|
|
146
|
-
}
|
|
156
|
+
},
|
|
147
157
|
/**
|
|
148
158
|
*
|
|
149
159
|
* @summary Creates a live tv series timer.
|
|
@@ -151,7 +161,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
151
161
|
* @param {*} [options] Override http request option.
|
|
152
162
|
* @throws {RequiredError}
|
|
153
163
|
*/
|
|
154
|
-
createSeriesTimer: (seriesTimerInfoDto, options = {}) =>
|
|
164
|
+
createSeriesTimer: async (seriesTimerInfoDto, options = {}) => {
|
|
155
165
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
156
166
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
157
167
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -159,21 +169,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
159
169
|
if (configuration) {
|
|
160
170
|
baseOptions = configuration.baseOptions;
|
|
161
171
|
}
|
|
162
|
-
const localVarRequestOptions =
|
|
172
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
163
173
|
const localVarHeaderParameter = {};
|
|
164
174
|
const localVarQueryParameter = {};
|
|
165
175
|
// authentication CustomAuthentication required
|
|
166
|
-
|
|
176
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
167
177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
168
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
169
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
170
|
-
localVarRequestOptions.headers =
|
|
180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
171
181
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
172
182
|
return {
|
|
173
183
|
url: toPathString(localVarUrlObj),
|
|
174
184
|
options: localVarRequestOptions,
|
|
175
185
|
};
|
|
176
|
-
}
|
|
186
|
+
},
|
|
177
187
|
/**
|
|
178
188
|
*
|
|
179
189
|
* @summary Creates a live tv timer.
|
|
@@ -181,7 +191,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
181
191
|
* @param {*} [options] Override http request option.
|
|
182
192
|
* @throws {RequiredError}
|
|
183
193
|
*/
|
|
184
|
-
createTimer: (timerInfoDto, options = {}) =>
|
|
194
|
+
createTimer: async (timerInfoDto, options = {}) => {
|
|
185
195
|
const localVarPath = `/LiveTv/Timers`;
|
|
186
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
187
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -189,21 +199,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
189
199
|
if (configuration) {
|
|
190
200
|
baseOptions = configuration.baseOptions;
|
|
191
201
|
}
|
|
192
|
-
const localVarRequestOptions =
|
|
202
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
193
203
|
const localVarHeaderParameter = {};
|
|
194
204
|
const localVarQueryParameter = {};
|
|
195
205
|
// authentication CustomAuthentication required
|
|
196
|
-
|
|
206
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
197
207
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
198
208
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
199
209
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
|
-
localVarRequestOptions.headers =
|
|
210
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
201
211
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
202
212
|
return {
|
|
203
213
|
url: toPathString(localVarUrlObj),
|
|
204
214
|
options: localVarRequestOptions,
|
|
205
215
|
};
|
|
206
|
-
}
|
|
216
|
+
},
|
|
207
217
|
/**
|
|
208
218
|
*
|
|
209
219
|
* @summary Delete listing provider.
|
|
@@ -211,7 +221,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
211
221
|
* @param {*} [options] Override http request option.
|
|
212
222
|
* @throws {RequiredError}
|
|
213
223
|
*/
|
|
214
|
-
deleteListingProvider: (id, options = {}) =>
|
|
224
|
+
deleteListingProvider: async (id, options = {}) => {
|
|
215
225
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
216
226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
217
227
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -219,22 +229,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
219
229
|
if (configuration) {
|
|
220
230
|
baseOptions = configuration.baseOptions;
|
|
221
231
|
}
|
|
222
|
-
const localVarRequestOptions =
|
|
232
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
223
233
|
const localVarHeaderParameter = {};
|
|
224
234
|
const localVarQueryParameter = {};
|
|
225
235
|
// authentication CustomAuthentication required
|
|
226
|
-
|
|
236
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
227
237
|
if (id !== undefined) {
|
|
228
238
|
localVarQueryParameter['id'] = id;
|
|
229
239
|
}
|
|
230
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
231
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
232
|
-
localVarRequestOptions.headers =
|
|
242
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
233
243
|
return {
|
|
234
244
|
url: toPathString(localVarUrlObj),
|
|
235
245
|
options: localVarRequestOptions,
|
|
236
246
|
};
|
|
237
|
-
}
|
|
247
|
+
},
|
|
238
248
|
/**
|
|
239
249
|
*
|
|
240
250
|
* @summary Deletes a live tv recording.
|
|
@@ -242,7 +252,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
242
252
|
* @param {*} [options] Override http request option.
|
|
243
253
|
* @throws {RequiredError}
|
|
244
254
|
*/
|
|
245
|
-
deleteRecording: (recordingId, options = {}) =>
|
|
255
|
+
deleteRecording: async (recordingId, options = {}) => {
|
|
246
256
|
// verify required parameter 'recordingId' is not null or undefined
|
|
247
257
|
assertParamExists('deleteRecording', 'recordingId', recordingId);
|
|
248
258
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -253,19 +263,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
253
263
|
if (configuration) {
|
|
254
264
|
baseOptions = configuration.baseOptions;
|
|
255
265
|
}
|
|
256
|
-
const localVarRequestOptions =
|
|
266
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
257
267
|
const localVarHeaderParameter = {};
|
|
258
268
|
const localVarQueryParameter = {};
|
|
259
269
|
// authentication CustomAuthentication required
|
|
260
|
-
|
|
270
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
261
271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
262
272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
263
|
-
localVarRequestOptions.headers =
|
|
273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
264
274
|
return {
|
|
265
275
|
url: toPathString(localVarUrlObj),
|
|
266
276
|
options: localVarRequestOptions,
|
|
267
277
|
};
|
|
268
|
-
}
|
|
278
|
+
},
|
|
269
279
|
/**
|
|
270
280
|
*
|
|
271
281
|
* @summary Deletes a tuner host.
|
|
@@ -273,7 +283,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
273
283
|
* @param {*} [options] Override http request option.
|
|
274
284
|
* @throws {RequiredError}
|
|
275
285
|
*/
|
|
276
|
-
deleteTunerHost: (id, options = {}) =>
|
|
286
|
+
deleteTunerHost: async (id, options = {}) => {
|
|
277
287
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
278
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -281,22 +291,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
281
291
|
if (configuration) {
|
|
282
292
|
baseOptions = configuration.baseOptions;
|
|
283
293
|
}
|
|
284
|
-
const localVarRequestOptions =
|
|
294
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
285
295
|
const localVarHeaderParameter = {};
|
|
286
296
|
const localVarQueryParameter = {};
|
|
287
297
|
// authentication CustomAuthentication required
|
|
288
|
-
|
|
298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
289
299
|
if (id !== undefined) {
|
|
290
300
|
localVarQueryParameter['id'] = id;
|
|
291
301
|
}
|
|
292
302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
293
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
294
|
-
localVarRequestOptions.headers =
|
|
304
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
295
305
|
return {
|
|
296
306
|
url: toPathString(localVarUrlObj),
|
|
297
307
|
options: localVarRequestOptions,
|
|
298
308
|
};
|
|
299
|
-
}
|
|
309
|
+
},
|
|
300
310
|
/**
|
|
301
311
|
*
|
|
302
312
|
* @summary Discover tuners.
|
|
@@ -304,7 +314,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
304
314
|
* @param {*} [options] Override http request option.
|
|
305
315
|
* @throws {RequiredError}
|
|
306
316
|
*/
|
|
307
|
-
discoverTuners: (newDevicesOnly, options = {}) =>
|
|
317
|
+
discoverTuners: async (newDevicesOnly, options = {}) => {
|
|
308
318
|
const localVarPath = `/LiveTv/Tuners/Discover`;
|
|
309
319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
310
320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -312,22 +322,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
312
322
|
if (configuration) {
|
|
313
323
|
baseOptions = configuration.baseOptions;
|
|
314
324
|
}
|
|
315
|
-
const localVarRequestOptions =
|
|
325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
316
326
|
const localVarHeaderParameter = {};
|
|
317
327
|
const localVarQueryParameter = {};
|
|
318
328
|
// authentication CustomAuthentication required
|
|
319
|
-
|
|
329
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
320
330
|
if (newDevicesOnly !== undefined) {
|
|
321
331
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
322
332
|
}
|
|
323
333
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
324
334
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
325
|
-
localVarRequestOptions.headers =
|
|
335
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
326
336
|
return {
|
|
327
337
|
url: toPathString(localVarUrlObj),
|
|
328
338
|
options: localVarRequestOptions,
|
|
329
339
|
};
|
|
330
|
-
}
|
|
340
|
+
},
|
|
331
341
|
/**
|
|
332
342
|
*
|
|
333
343
|
* @summary Discover tuners.
|
|
@@ -335,7 +345,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
335
345
|
* @param {*} [options] Override http request option.
|
|
336
346
|
* @throws {RequiredError}
|
|
337
347
|
*/
|
|
338
|
-
discvoverTuners: (newDevicesOnly, options = {}) =>
|
|
348
|
+
discvoverTuners: async (newDevicesOnly, options = {}) => {
|
|
339
349
|
const localVarPath = `/LiveTv/Tuners/Discvover`;
|
|
340
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
341
351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -343,22 +353,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
343
353
|
if (configuration) {
|
|
344
354
|
baseOptions = configuration.baseOptions;
|
|
345
355
|
}
|
|
346
|
-
const localVarRequestOptions =
|
|
356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
347
357
|
const localVarHeaderParameter = {};
|
|
348
358
|
const localVarQueryParameter = {};
|
|
349
359
|
// authentication CustomAuthentication required
|
|
350
|
-
|
|
360
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
351
361
|
if (newDevicesOnly !== undefined) {
|
|
352
362
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
353
363
|
}
|
|
354
364
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
365
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
-
localVarRequestOptions.headers =
|
|
366
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
357
367
|
return {
|
|
358
368
|
url: toPathString(localVarUrlObj),
|
|
359
369
|
options: localVarRequestOptions,
|
|
360
370
|
};
|
|
361
|
-
}
|
|
371
|
+
},
|
|
362
372
|
/**
|
|
363
373
|
*
|
|
364
374
|
* @summary Gets a live tv channel.
|
|
@@ -367,7 +377,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
367
377
|
* @param {*} [options] Override http request option.
|
|
368
378
|
* @throws {RequiredError}
|
|
369
379
|
*/
|
|
370
|
-
getChannel: (channelId, userId, options = {}) =>
|
|
380
|
+
getChannel: async (channelId, userId, options = {}) => {
|
|
371
381
|
// verify required parameter 'channelId' is not null or undefined
|
|
372
382
|
assertParamExists('getChannel', 'channelId', channelId);
|
|
373
383
|
const localVarPath = `/LiveTv/Channels/{channelId}`
|
|
@@ -378,22 +388,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
378
388
|
if (configuration) {
|
|
379
389
|
baseOptions = configuration.baseOptions;
|
|
380
390
|
}
|
|
381
|
-
const localVarRequestOptions =
|
|
391
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
382
392
|
const localVarHeaderParameter = {};
|
|
383
393
|
const localVarQueryParameter = {};
|
|
384
394
|
// authentication CustomAuthentication required
|
|
385
|
-
|
|
395
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
386
396
|
if (userId !== undefined) {
|
|
387
397
|
localVarQueryParameter['userId'] = userId;
|
|
388
398
|
}
|
|
389
399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
-
localVarRequestOptions.headers =
|
|
401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
392
402
|
return {
|
|
393
403
|
url: toPathString(localVarUrlObj),
|
|
394
404
|
options: localVarRequestOptions,
|
|
395
405
|
};
|
|
396
|
-
}
|
|
406
|
+
},
|
|
397
407
|
/**
|
|
398
408
|
*
|
|
399
409
|
* @summary Get channel mapping options.
|
|
@@ -401,7 +411,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
401
411
|
* @param {*} [options] Override http request option.
|
|
402
412
|
* @throws {RequiredError}
|
|
403
413
|
*/
|
|
404
|
-
getChannelMappingOptions: (providerId, options = {}) =>
|
|
414
|
+
getChannelMappingOptions: async (providerId, options = {}) => {
|
|
405
415
|
const localVarPath = `/LiveTv/ChannelMappingOptions`;
|
|
406
416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
407
417
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -409,29 +419,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
409
419
|
if (configuration) {
|
|
410
420
|
baseOptions = configuration.baseOptions;
|
|
411
421
|
}
|
|
412
|
-
const localVarRequestOptions =
|
|
422
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
413
423
|
const localVarHeaderParameter = {};
|
|
414
424
|
const localVarQueryParameter = {};
|
|
415
425
|
// authentication CustomAuthentication required
|
|
416
|
-
|
|
426
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
417
427
|
if (providerId !== undefined) {
|
|
418
428
|
localVarQueryParameter['providerId'] = providerId;
|
|
419
429
|
}
|
|
420
430
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
421
431
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
422
|
-
localVarRequestOptions.headers =
|
|
432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
423
433
|
return {
|
|
424
434
|
url: toPathString(localVarUrlObj),
|
|
425
435
|
options: localVarRequestOptions,
|
|
426
436
|
};
|
|
427
|
-
}
|
|
437
|
+
},
|
|
428
438
|
/**
|
|
429
439
|
*
|
|
430
440
|
* @summary Gets default listings provider info.
|
|
431
441
|
* @param {*} [options] Override http request option.
|
|
432
442
|
* @throws {RequiredError}
|
|
433
443
|
*/
|
|
434
|
-
getDefaultListingProvider: (options = {}) =>
|
|
444
|
+
getDefaultListingProvider: async (options = {}) => {
|
|
435
445
|
const localVarPath = `/LiveTv/ListingProviders/Default`;
|
|
436
446
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
437
447
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -439,19 +449,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
439
449
|
if (configuration) {
|
|
440
450
|
baseOptions = configuration.baseOptions;
|
|
441
451
|
}
|
|
442
|
-
const localVarRequestOptions =
|
|
452
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
443
453
|
const localVarHeaderParameter = {};
|
|
444
454
|
const localVarQueryParameter = {};
|
|
445
455
|
// authentication CustomAuthentication required
|
|
446
|
-
|
|
456
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
447
457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
448
458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
449
|
-
localVarRequestOptions.headers =
|
|
459
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
450
460
|
return {
|
|
451
461
|
url: toPathString(localVarUrlObj),
|
|
452
462
|
options: localVarRequestOptions,
|
|
453
463
|
};
|
|
454
|
-
}
|
|
464
|
+
},
|
|
455
465
|
/**
|
|
456
466
|
*
|
|
457
467
|
* @summary Gets the default values for a new timer.
|
|
@@ -459,7 +469,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
459
469
|
* @param {*} [options] Override http request option.
|
|
460
470
|
* @throws {RequiredError}
|
|
461
471
|
*/
|
|
462
|
-
getDefaultTimer: (programId, options = {}) =>
|
|
472
|
+
getDefaultTimer: async (programId, options = {}) => {
|
|
463
473
|
const localVarPath = `/LiveTv/Timers/Defaults`;
|
|
464
474
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
465
475
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -467,29 +477,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
467
477
|
if (configuration) {
|
|
468
478
|
baseOptions = configuration.baseOptions;
|
|
469
479
|
}
|
|
470
|
-
const localVarRequestOptions =
|
|
480
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
471
481
|
const localVarHeaderParameter = {};
|
|
472
482
|
const localVarQueryParameter = {};
|
|
473
483
|
// authentication CustomAuthentication required
|
|
474
|
-
|
|
484
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
475
485
|
if (programId !== undefined) {
|
|
476
486
|
localVarQueryParameter['programId'] = programId;
|
|
477
487
|
}
|
|
478
488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
479
489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
480
|
-
localVarRequestOptions.headers =
|
|
490
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
481
491
|
return {
|
|
482
492
|
url: toPathString(localVarUrlObj),
|
|
483
493
|
options: localVarRequestOptions,
|
|
484
494
|
};
|
|
485
|
-
}
|
|
495
|
+
},
|
|
486
496
|
/**
|
|
487
497
|
*
|
|
488
498
|
* @summary Get guid info.
|
|
489
499
|
* @param {*} [options] Override http request option.
|
|
490
500
|
* @throws {RequiredError}
|
|
491
501
|
*/
|
|
492
|
-
getGuideInfo: (options = {}) =>
|
|
502
|
+
getGuideInfo: async (options = {}) => {
|
|
493
503
|
const localVarPath = `/LiveTv/GuideInfo`;
|
|
494
504
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
505
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -497,19 +507,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
497
507
|
if (configuration) {
|
|
498
508
|
baseOptions = configuration.baseOptions;
|
|
499
509
|
}
|
|
500
|
-
const localVarRequestOptions =
|
|
510
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
501
511
|
const localVarHeaderParameter = {};
|
|
502
512
|
const localVarQueryParameter = {};
|
|
503
513
|
// authentication CustomAuthentication required
|
|
504
|
-
|
|
514
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
505
515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
|
-
localVarRequestOptions.headers =
|
|
517
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
508
518
|
return {
|
|
509
519
|
url: toPathString(localVarUrlObj),
|
|
510
520
|
options: localVarRequestOptions,
|
|
511
521
|
};
|
|
512
|
-
}
|
|
522
|
+
},
|
|
513
523
|
/**
|
|
514
524
|
*
|
|
515
525
|
* @summary Gets available lineups.
|
|
@@ -520,7 +530,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
520
530
|
* @param {*} [options] Override http request option.
|
|
521
531
|
* @throws {RequiredError}
|
|
522
532
|
*/
|
|
523
|
-
getLineups: (id, type, location, country, options = {}) =>
|
|
533
|
+
getLineups: async (id, type, location, country, options = {}) => {
|
|
524
534
|
const localVarPath = `/LiveTv/ListingProviders/Lineups`;
|
|
525
535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
526
536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -528,11 +538,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
528
538
|
if (configuration) {
|
|
529
539
|
baseOptions = configuration.baseOptions;
|
|
530
540
|
}
|
|
531
|
-
const localVarRequestOptions =
|
|
541
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
532
542
|
const localVarHeaderParameter = {};
|
|
533
543
|
const localVarQueryParameter = {};
|
|
534
544
|
// authentication CustomAuthentication required
|
|
535
|
-
|
|
545
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
536
546
|
if (id !== undefined) {
|
|
537
547
|
localVarQueryParameter['id'] = id;
|
|
538
548
|
}
|
|
@@ -547,12 +557,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
547
557
|
}
|
|
548
558
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
549
559
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
550
|
-
localVarRequestOptions.headers =
|
|
560
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
551
561
|
return {
|
|
552
562
|
url: toPathString(localVarUrlObj),
|
|
553
563
|
options: localVarRequestOptions,
|
|
554
564
|
};
|
|
555
|
-
}
|
|
565
|
+
},
|
|
556
566
|
/**
|
|
557
567
|
*
|
|
558
568
|
* @summary Gets a live tv recording stream.
|
|
@@ -560,7 +570,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
560
570
|
* @param {*} [options] Override http request option.
|
|
561
571
|
* @throws {RequiredError}
|
|
562
572
|
*/
|
|
563
|
-
getLiveRecordingFile: (recordingId, options = {}) =>
|
|
573
|
+
getLiveRecordingFile: async (recordingId, options = {}) => {
|
|
564
574
|
// verify required parameter 'recordingId' is not null or undefined
|
|
565
575
|
assertParamExists('getLiveRecordingFile', 'recordingId', recordingId);
|
|
566
576
|
const localVarPath = `/LiveTv/LiveRecordings/{recordingId}/stream`
|
|
@@ -571,17 +581,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
571
581
|
if (configuration) {
|
|
572
582
|
baseOptions = configuration.baseOptions;
|
|
573
583
|
}
|
|
574
|
-
const localVarRequestOptions =
|
|
584
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
575
585
|
const localVarHeaderParameter = {};
|
|
576
586
|
const localVarQueryParameter = {};
|
|
577
587
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
578
588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
579
|
-
localVarRequestOptions.headers =
|
|
589
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
580
590
|
return {
|
|
581
591
|
url: toPathString(localVarUrlObj),
|
|
582
592
|
options: localVarRequestOptions,
|
|
583
593
|
};
|
|
584
|
-
}
|
|
594
|
+
},
|
|
585
595
|
/**
|
|
586
596
|
*
|
|
587
597
|
* @summary Gets a live tv channel stream.
|
|
@@ -590,7 +600,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
590
600
|
* @param {*} [options] Override http request option.
|
|
591
601
|
* @throws {RequiredError}
|
|
592
602
|
*/
|
|
593
|
-
getLiveStreamFile: (streamId, container, options = {}) =>
|
|
603
|
+
getLiveStreamFile: async (streamId, container, options = {}) => {
|
|
594
604
|
// verify required parameter 'streamId' is not null or undefined
|
|
595
605
|
assertParamExists('getLiveStreamFile', 'streamId', streamId);
|
|
596
606
|
// verify required parameter 'container' is not null or undefined
|
|
@@ -604,17 +614,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
604
614
|
if (configuration) {
|
|
605
615
|
baseOptions = configuration.baseOptions;
|
|
606
616
|
}
|
|
607
|
-
const localVarRequestOptions =
|
|
617
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
608
618
|
const localVarHeaderParameter = {};
|
|
609
619
|
const localVarQueryParameter = {};
|
|
610
620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
611
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
612
|
-
localVarRequestOptions.headers =
|
|
622
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
613
623
|
return {
|
|
614
624
|
url: toPathString(localVarUrlObj),
|
|
615
625
|
options: localVarRequestOptions,
|
|
616
626
|
};
|
|
617
|
-
}
|
|
627
|
+
},
|
|
618
628
|
/**
|
|
619
629
|
*
|
|
620
630
|
* @summary Gets available live tv channels.
|
|
@@ -635,14 +645,14 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
635
645
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
636
646
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
637
647
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
638
|
-
* @param {Array<
|
|
648
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
639
649
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
640
650
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
641
651
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
642
652
|
* @param {*} [options] Override http request option.
|
|
643
653
|
* @throws {RequiredError}
|
|
644
654
|
*/
|
|
645
|
-
getLiveTvChannels: (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) =>
|
|
655
|
+
getLiveTvChannels: async (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) => {
|
|
646
656
|
const localVarPath = `/LiveTv/Channels`;
|
|
647
657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
648
658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -650,11 +660,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
650
660
|
if (configuration) {
|
|
651
661
|
baseOptions = configuration.baseOptions;
|
|
652
662
|
}
|
|
653
|
-
const localVarRequestOptions =
|
|
663
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
654
664
|
const localVarHeaderParameter = {};
|
|
655
665
|
const localVarQueryParameter = {};
|
|
656
666
|
// authentication CustomAuthentication required
|
|
657
|
-
|
|
667
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
658
668
|
if (type !== undefined) {
|
|
659
669
|
localVarQueryParameter['type'] = type;
|
|
660
670
|
}
|
|
@@ -720,19 +730,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
720
730
|
}
|
|
721
731
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
722
732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
723
|
-
localVarRequestOptions.headers =
|
|
733
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
724
734
|
return {
|
|
725
735
|
url: toPathString(localVarUrlObj),
|
|
726
736
|
options: localVarRequestOptions,
|
|
727
737
|
};
|
|
728
|
-
}
|
|
738
|
+
},
|
|
729
739
|
/**
|
|
730
740
|
*
|
|
731
741
|
* @summary Gets available live tv services.
|
|
732
742
|
* @param {*} [options] Override http request option.
|
|
733
743
|
* @throws {RequiredError}
|
|
734
744
|
*/
|
|
735
|
-
getLiveTvInfo: (options = {}) =>
|
|
745
|
+
getLiveTvInfo: async (options = {}) => {
|
|
736
746
|
const localVarPath = `/LiveTv/Info`;
|
|
737
747
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
738
748
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -740,19 +750,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
740
750
|
if (configuration) {
|
|
741
751
|
baseOptions = configuration.baseOptions;
|
|
742
752
|
}
|
|
743
|
-
const localVarRequestOptions =
|
|
753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
744
754
|
const localVarHeaderParameter = {};
|
|
745
755
|
const localVarQueryParameter = {};
|
|
746
756
|
// authentication CustomAuthentication required
|
|
747
|
-
|
|
757
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
748
758
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
749
759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
750
|
-
localVarRequestOptions.headers =
|
|
760
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
751
761
|
return {
|
|
752
762
|
url: toPathString(localVarUrlObj),
|
|
753
763
|
options: localVarRequestOptions,
|
|
754
764
|
};
|
|
755
|
-
}
|
|
765
|
+
},
|
|
756
766
|
/**
|
|
757
767
|
*
|
|
758
768
|
* @summary Gets available live tv epgs.
|
|
@@ -771,7 +781,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
771
781
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
772
782
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
773
783
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
774
|
-
* @param {Array<
|
|
784
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
775
785
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
776
786
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
777
787
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
@@ -786,7 +796,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
786
796
|
* @param {*} [options] Override http request option.
|
|
787
797
|
* @throws {RequiredError}
|
|
788
798
|
*/
|
|
789
|
-
getLiveTvPrograms: (channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options = {}) =>
|
|
799
|
+
getLiveTvPrograms: async (channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options = {}) => {
|
|
790
800
|
const localVarPath = `/LiveTv/Programs`;
|
|
791
801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
792
802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -794,11 +804,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
794
804
|
if (configuration) {
|
|
795
805
|
baseOptions = configuration.baseOptions;
|
|
796
806
|
}
|
|
797
|
-
const localVarRequestOptions =
|
|
807
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
798
808
|
const localVarHeaderParameter = {};
|
|
799
809
|
const localVarQueryParameter = {};
|
|
800
810
|
// authentication CustomAuthentication required
|
|
801
|
-
|
|
811
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
802
812
|
if (channelIds) {
|
|
803
813
|
localVarQueryParameter['channelIds'] = channelIds;
|
|
804
814
|
}
|
|
@@ -890,12 +900,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
890
900
|
}
|
|
891
901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
892
902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
893
|
-
localVarRequestOptions.headers =
|
|
903
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
894
904
|
return {
|
|
895
905
|
url: toPathString(localVarUrlObj),
|
|
896
906
|
options: localVarRequestOptions,
|
|
897
907
|
};
|
|
898
|
-
}
|
|
908
|
+
},
|
|
899
909
|
/**
|
|
900
910
|
*
|
|
901
911
|
* @summary Gets a live tv program.
|
|
@@ -904,7 +914,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
904
914
|
* @param {*} [options] Override http request option.
|
|
905
915
|
* @throws {RequiredError}
|
|
906
916
|
*/
|
|
907
|
-
getProgram: (programId, userId, options = {}) =>
|
|
917
|
+
getProgram: async (programId, userId, options = {}) => {
|
|
908
918
|
// verify required parameter 'programId' is not null or undefined
|
|
909
919
|
assertParamExists('getProgram', 'programId', programId);
|
|
910
920
|
const localVarPath = `/LiveTv/Programs/{programId}`
|
|
@@ -915,22 +925,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
915
925
|
if (configuration) {
|
|
916
926
|
baseOptions = configuration.baseOptions;
|
|
917
927
|
}
|
|
918
|
-
const localVarRequestOptions =
|
|
928
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
919
929
|
const localVarHeaderParameter = {};
|
|
920
930
|
const localVarQueryParameter = {};
|
|
921
931
|
// authentication CustomAuthentication required
|
|
922
|
-
|
|
932
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
923
933
|
if (userId !== undefined) {
|
|
924
934
|
localVarQueryParameter['userId'] = userId;
|
|
925
935
|
}
|
|
926
936
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
927
937
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
928
|
-
localVarRequestOptions.headers =
|
|
938
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
929
939
|
return {
|
|
930
940
|
url: toPathString(localVarUrlObj),
|
|
931
941
|
options: localVarRequestOptions,
|
|
932
942
|
};
|
|
933
|
-
}
|
|
943
|
+
},
|
|
934
944
|
/**
|
|
935
945
|
*
|
|
936
946
|
* @summary Gets available live tv epgs.
|
|
@@ -938,7 +948,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
938
948
|
* @param {*} [options] Override http request option.
|
|
939
949
|
* @throws {RequiredError}
|
|
940
950
|
*/
|
|
941
|
-
getPrograms: (getProgramsDto, options = {}) =>
|
|
951
|
+
getPrograms: async (getProgramsDto, options = {}) => {
|
|
942
952
|
const localVarPath = `/LiveTv/Programs`;
|
|
943
953
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
944
954
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -946,21 +956,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
946
956
|
if (configuration) {
|
|
947
957
|
baseOptions = configuration.baseOptions;
|
|
948
958
|
}
|
|
949
|
-
const localVarRequestOptions =
|
|
959
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
950
960
|
const localVarHeaderParameter = {};
|
|
951
961
|
const localVarQueryParameter = {};
|
|
952
962
|
// authentication CustomAuthentication required
|
|
953
|
-
|
|
963
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
954
964
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
955
965
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
956
966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
957
|
-
localVarRequestOptions.headers =
|
|
967
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
958
968
|
localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration);
|
|
959
969
|
return {
|
|
960
970
|
url: toPathString(localVarUrlObj),
|
|
961
971
|
options: localVarRequestOptions,
|
|
962
972
|
};
|
|
963
|
-
}
|
|
973
|
+
},
|
|
964
974
|
/**
|
|
965
975
|
*
|
|
966
976
|
* @summary Gets recommended live tv epgs.
|
|
@@ -983,7 +993,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
983
993
|
* @param {*} [options] Override http request option.
|
|
984
994
|
* @throws {RequiredError}
|
|
985
995
|
*/
|
|
986
|
-
getRecommendedPrograms: (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) =>
|
|
996
|
+
getRecommendedPrograms: async (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
987
997
|
const localVarPath = `/LiveTv/Programs/Recommended`;
|
|
988
998
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
989
999
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -991,11 +1001,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
991
1001
|
if (configuration) {
|
|
992
1002
|
baseOptions = configuration.baseOptions;
|
|
993
1003
|
}
|
|
994
|
-
const localVarRequestOptions =
|
|
1004
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
995
1005
|
const localVarHeaderParameter = {};
|
|
996
1006
|
const localVarQueryParameter = {};
|
|
997
1007
|
// authentication CustomAuthentication required
|
|
998
|
-
|
|
1008
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
999
1009
|
if (userId !== undefined) {
|
|
1000
1010
|
localVarQueryParameter['userId'] = userId;
|
|
1001
1011
|
}
|
|
@@ -1046,12 +1056,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1046
1056
|
}
|
|
1047
1057
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1048
1058
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1049
|
-
localVarRequestOptions.headers =
|
|
1059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1050
1060
|
return {
|
|
1051
1061
|
url: toPathString(localVarUrlObj),
|
|
1052
1062
|
options: localVarRequestOptions,
|
|
1053
1063
|
};
|
|
1054
|
-
}
|
|
1064
|
+
},
|
|
1055
1065
|
/**
|
|
1056
1066
|
*
|
|
1057
1067
|
* @summary Gets a live tv recording.
|
|
@@ -1060,7 +1070,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1060
1070
|
* @param {*} [options] Override http request option.
|
|
1061
1071
|
* @throws {RequiredError}
|
|
1062
1072
|
*/
|
|
1063
|
-
getRecording: (recordingId, userId, options = {}) =>
|
|
1073
|
+
getRecording: async (recordingId, userId, options = {}) => {
|
|
1064
1074
|
// verify required parameter 'recordingId' is not null or undefined
|
|
1065
1075
|
assertParamExists('getRecording', 'recordingId', recordingId);
|
|
1066
1076
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -1071,22 +1081,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1071
1081
|
if (configuration) {
|
|
1072
1082
|
baseOptions = configuration.baseOptions;
|
|
1073
1083
|
}
|
|
1074
|
-
const localVarRequestOptions =
|
|
1084
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1075
1085
|
const localVarHeaderParameter = {};
|
|
1076
1086
|
const localVarQueryParameter = {};
|
|
1077
1087
|
// authentication CustomAuthentication required
|
|
1078
|
-
|
|
1088
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1079
1089
|
if (userId !== undefined) {
|
|
1080
1090
|
localVarQueryParameter['userId'] = userId;
|
|
1081
1091
|
}
|
|
1082
1092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1083
1093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1084
|
-
localVarRequestOptions.headers =
|
|
1094
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1085
1095
|
return {
|
|
1086
1096
|
url: toPathString(localVarUrlObj),
|
|
1087
1097
|
options: localVarRequestOptions,
|
|
1088
1098
|
};
|
|
1089
|
-
}
|
|
1099
|
+
},
|
|
1090
1100
|
/**
|
|
1091
1101
|
*
|
|
1092
1102
|
* @summary Gets recording folders.
|
|
@@ -1094,7 +1104,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1094
1104
|
* @param {*} [options] Override http request option.
|
|
1095
1105
|
* @throws {RequiredError}
|
|
1096
1106
|
*/
|
|
1097
|
-
getRecordingFolders: (userId, options = {}) =>
|
|
1107
|
+
getRecordingFolders: async (userId, options = {}) => {
|
|
1098
1108
|
const localVarPath = `/LiveTv/Recordings/Folders`;
|
|
1099
1109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1100
1110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1102,22 +1112,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1102
1112
|
if (configuration) {
|
|
1103
1113
|
baseOptions = configuration.baseOptions;
|
|
1104
1114
|
}
|
|
1105
|
-
const localVarRequestOptions =
|
|
1115
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1106
1116
|
const localVarHeaderParameter = {};
|
|
1107
1117
|
const localVarQueryParameter = {};
|
|
1108
1118
|
// authentication CustomAuthentication required
|
|
1109
|
-
|
|
1119
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1110
1120
|
if (userId !== undefined) {
|
|
1111
1121
|
localVarQueryParameter['userId'] = userId;
|
|
1112
1122
|
}
|
|
1113
1123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1114
1124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1115
|
-
localVarRequestOptions.headers =
|
|
1125
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1116
1126
|
return {
|
|
1117
1127
|
url: toPathString(localVarUrlObj),
|
|
1118
1128
|
options: localVarRequestOptions,
|
|
1119
1129
|
};
|
|
1120
|
-
}
|
|
1130
|
+
},
|
|
1121
1131
|
/**
|
|
1122
1132
|
*
|
|
1123
1133
|
* @summary Get recording group.
|
|
@@ -1126,7 +1136,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1126
1136
|
* @deprecated
|
|
1127
1137
|
* @throws {RequiredError}
|
|
1128
1138
|
*/
|
|
1129
|
-
getRecordingGroup: (groupId, options = {}) =>
|
|
1139
|
+
getRecordingGroup: async (groupId, options = {}) => {
|
|
1130
1140
|
// verify required parameter 'groupId' is not null or undefined
|
|
1131
1141
|
assertParamExists('getRecordingGroup', 'groupId', groupId);
|
|
1132
1142
|
const localVarPath = `/LiveTv/Recordings/Groups/{groupId}`
|
|
@@ -1137,19 +1147,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1137
1147
|
if (configuration) {
|
|
1138
1148
|
baseOptions = configuration.baseOptions;
|
|
1139
1149
|
}
|
|
1140
|
-
const localVarRequestOptions =
|
|
1150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1141
1151
|
const localVarHeaderParameter = {};
|
|
1142
1152
|
const localVarQueryParameter = {};
|
|
1143
1153
|
// authentication CustomAuthentication required
|
|
1144
|
-
|
|
1154
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1145
1155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1146
1156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1147
|
-
localVarRequestOptions.headers =
|
|
1157
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1148
1158
|
return {
|
|
1149
1159
|
url: toPathString(localVarUrlObj),
|
|
1150
1160
|
options: localVarRequestOptions,
|
|
1151
1161
|
};
|
|
1152
|
-
}
|
|
1162
|
+
},
|
|
1153
1163
|
/**
|
|
1154
1164
|
*
|
|
1155
1165
|
* @summary Gets live tv recording groups.
|
|
@@ -1158,7 +1168,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1158
1168
|
* @deprecated
|
|
1159
1169
|
* @throws {RequiredError}
|
|
1160
1170
|
*/
|
|
1161
|
-
getRecordingGroups: (userId, options = {}) =>
|
|
1171
|
+
getRecordingGroups: async (userId, options = {}) => {
|
|
1162
1172
|
const localVarPath = `/LiveTv/Recordings/Groups`;
|
|
1163
1173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1164
1174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1166,22 +1176,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1166
1176
|
if (configuration) {
|
|
1167
1177
|
baseOptions = configuration.baseOptions;
|
|
1168
1178
|
}
|
|
1169
|
-
const localVarRequestOptions =
|
|
1179
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1170
1180
|
const localVarHeaderParameter = {};
|
|
1171
1181
|
const localVarQueryParameter = {};
|
|
1172
1182
|
// authentication CustomAuthentication required
|
|
1173
|
-
|
|
1183
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1174
1184
|
if (userId !== undefined) {
|
|
1175
1185
|
localVarQueryParameter['userId'] = userId;
|
|
1176
1186
|
}
|
|
1177
1187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1178
1188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1179
|
-
localVarRequestOptions.headers =
|
|
1189
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1180
1190
|
return {
|
|
1181
1191
|
url: toPathString(localVarUrlObj),
|
|
1182
1192
|
options: localVarRequestOptions,
|
|
1183
1193
|
};
|
|
1184
|
-
}
|
|
1194
|
+
},
|
|
1185
1195
|
/**
|
|
1186
1196
|
*
|
|
1187
1197
|
* @summary Gets live tv recordings.
|
|
@@ -1207,7 +1217,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1207
1217
|
* @param {*} [options] Override http request option.
|
|
1208
1218
|
* @throws {RequiredError}
|
|
1209
1219
|
*/
|
|
1210
|
-
getRecordings: (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) =>
|
|
1220
|
+
getRecordings: async (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) => {
|
|
1211
1221
|
const localVarPath = `/LiveTv/Recordings`;
|
|
1212
1222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1213
1223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1215,11 +1225,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1215
1225
|
if (configuration) {
|
|
1216
1226
|
baseOptions = configuration.baseOptions;
|
|
1217
1227
|
}
|
|
1218
|
-
const localVarRequestOptions =
|
|
1228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1219
1229
|
const localVarHeaderParameter = {};
|
|
1220
1230
|
const localVarQueryParameter = {};
|
|
1221
1231
|
// authentication CustomAuthentication required
|
|
1222
|
-
|
|
1232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1223
1233
|
if (channelId !== undefined) {
|
|
1224
1234
|
localVarQueryParameter['channelId'] = channelId;
|
|
1225
1235
|
}
|
|
@@ -1279,12 +1289,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1279
1289
|
}
|
|
1280
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1281
1291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1282
|
-
localVarRequestOptions.headers =
|
|
1292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1283
1293
|
return {
|
|
1284
1294
|
url: toPathString(localVarUrlObj),
|
|
1285
1295
|
options: localVarRequestOptions,
|
|
1286
1296
|
};
|
|
1287
|
-
}
|
|
1297
|
+
},
|
|
1288
1298
|
/**
|
|
1289
1299
|
*
|
|
1290
1300
|
* @summary Gets live tv recording series.
|
|
@@ -1306,7 +1316,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1306
1316
|
* @deprecated
|
|
1307
1317
|
* @throws {RequiredError}
|
|
1308
1318
|
*/
|
|
1309
|
-
getRecordingsSeries: (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) =>
|
|
1319
|
+
getRecordingsSeries: async (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
1310
1320
|
const localVarPath = `/LiveTv/Recordings/Series`;
|
|
1311
1321
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1312
1322
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1314,11 +1324,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1314
1324
|
if (configuration) {
|
|
1315
1325
|
baseOptions = configuration.baseOptions;
|
|
1316
1326
|
}
|
|
1317
|
-
const localVarRequestOptions =
|
|
1327
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1318
1328
|
const localVarHeaderParameter = {};
|
|
1319
1329
|
const localVarQueryParameter = {};
|
|
1320
1330
|
// authentication CustomAuthentication required
|
|
1321
|
-
|
|
1331
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1322
1332
|
if (channelId !== undefined) {
|
|
1323
1333
|
localVarQueryParameter['channelId'] = channelId;
|
|
1324
1334
|
}
|
|
@@ -1363,19 +1373,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1363
1373
|
}
|
|
1364
1374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1365
1375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1366
|
-
localVarRequestOptions.headers =
|
|
1376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1367
1377
|
return {
|
|
1368
1378
|
url: toPathString(localVarUrlObj),
|
|
1369
1379
|
options: localVarRequestOptions,
|
|
1370
1380
|
};
|
|
1371
|
-
}
|
|
1381
|
+
},
|
|
1372
1382
|
/**
|
|
1373
1383
|
*
|
|
1374
1384
|
* @summary Gets available countries.
|
|
1375
1385
|
* @param {*} [options] Override http request option.
|
|
1376
1386
|
* @throws {RequiredError}
|
|
1377
1387
|
*/
|
|
1378
|
-
getSchedulesDirectCountries: (options = {}) =>
|
|
1388
|
+
getSchedulesDirectCountries: async (options = {}) => {
|
|
1379
1389
|
const localVarPath = `/LiveTv/ListingProviders/SchedulesDirect/Countries`;
|
|
1380
1390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1381
1391
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1383,19 +1393,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1383
1393
|
if (configuration) {
|
|
1384
1394
|
baseOptions = configuration.baseOptions;
|
|
1385
1395
|
}
|
|
1386
|
-
const localVarRequestOptions =
|
|
1396
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1387
1397
|
const localVarHeaderParameter = {};
|
|
1388
1398
|
const localVarQueryParameter = {};
|
|
1389
1399
|
// authentication CustomAuthentication required
|
|
1390
|
-
|
|
1400
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1391
1401
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1392
1402
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1393
|
-
localVarRequestOptions.headers =
|
|
1403
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1394
1404
|
return {
|
|
1395
1405
|
url: toPathString(localVarUrlObj),
|
|
1396
1406
|
options: localVarRequestOptions,
|
|
1397
1407
|
};
|
|
1398
|
-
}
|
|
1408
|
+
},
|
|
1399
1409
|
/**
|
|
1400
1410
|
*
|
|
1401
1411
|
* @summary Gets a live tv series timer.
|
|
@@ -1403,7 +1413,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1403
1413
|
* @param {*} [options] Override http request option.
|
|
1404
1414
|
* @throws {RequiredError}
|
|
1405
1415
|
*/
|
|
1406
|
-
getSeriesTimer: (timerId, options = {}) =>
|
|
1416
|
+
getSeriesTimer: async (timerId, options = {}) => {
|
|
1407
1417
|
// verify required parameter 'timerId' is not null or undefined
|
|
1408
1418
|
assertParamExists('getSeriesTimer', 'timerId', timerId);
|
|
1409
1419
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1414,19 +1424,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1414
1424
|
if (configuration) {
|
|
1415
1425
|
baseOptions = configuration.baseOptions;
|
|
1416
1426
|
}
|
|
1417
|
-
const localVarRequestOptions =
|
|
1427
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1418
1428
|
const localVarHeaderParameter = {};
|
|
1419
1429
|
const localVarQueryParameter = {};
|
|
1420
1430
|
// authentication CustomAuthentication required
|
|
1421
|
-
|
|
1431
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1422
1432
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1423
1433
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1424
|
-
localVarRequestOptions.headers =
|
|
1434
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1425
1435
|
return {
|
|
1426
1436
|
url: toPathString(localVarUrlObj),
|
|
1427
1437
|
options: localVarRequestOptions,
|
|
1428
1438
|
};
|
|
1429
|
-
}
|
|
1439
|
+
},
|
|
1430
1440
|
/**
|
|
1431
1441
|
*
|
|
1432
1442
|
* @summary Gets live tv series timers.
|
|
@@ -1435,7 +1445,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1435
1445
|
* @param {*} [options] Override http request option.
|
|
1436
1446
|
* @throws {RequiredError}
|
|
1437
1447
|
*/
|
|
1438
|
-
getSeriesTimers: (sortBy, sortOrder, options = {}) =>
|
|
1448
|
+
getSeriesTimers: async (sortBy, sortOrder, options = {}) => {
|
|
1439
1449
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
1440
1450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1441
1451
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1443,11 +1453,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1443
1453
|
if (configuration) {
|
|
1444
1454
|
baseOptions = configuration.baseOptions;
|
|
1445
1455
|
}
|
|
1446
|
-
const localVarRequestOptions =
|
|
1456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1447
1457
|
const localVarHeaderParameter = {};
|
|
1448
1458
|
const localVarQueryParameter = {};
|
|
1449
1459
|
// authentication CustomAuthentication required
|
|
1450
|
-
|
|
1460
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1451
1461
|
if (sortBy !== undefined) {
|
|
1452
1462
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
1453
1463
|
}
|
|
@@ -1456,12 +1466,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1456
1466
|
}
|
|
1457
1467
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1458
1468
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1459
|
-
localVarRequestOptions.headers =
|
|
1469
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1460
1470
|
return {
|
|
1461
1471
|
url: toPathString(localVarUrlObj),
|
|
1462
1472
|
options: localVarRequestOptions,
|
|
1463
1473
|
};
|
|
1464
|
-
}
|
|
1474
|
+
},
|
|
1465
1475
|
/**
|
|
1466
1476
|
*
|
|
1467
1477
|
* @summary Gets a timer.
|
|
@@ -1469,7 +1479,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1469
1479
|
* @param {*} [options] Override http request option.
|
|
1470
1480
|
* @throws {RequiredError}
|
|
1471
1481
|
*/
|
|
1472
|
-
getTimer: (timerId, options = {}) =>
|
|
1482
|
+
getTimer: async (timerId, options = {}) => {
|
|
1473
1483
|
// verify required parameter 'timerId' is not null or undefined
|
|
1474
1484
|
assertParamExists('getTimer', 'timerId', timerId);
|
|
1475
1485
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1480,19 +1490,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1480
1490
|
if (configuration) {
|
|
1481
1491
|
baseOptions = configuration.baseOptions;
|
|
1482
1492
|
}
|
|
1483
|
-
const localVarRequestOptions =
|
|
1493
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1484
1494
|
const localVarHeaderParameter = {};
|
|
1485
1495
|
const localVarQueryParameter = {};
|
|
1486
1496
|
// authentication CustomAuthentication required
|
|
1487
|
-
|
|
1497
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1488
1498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1489
1499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1490
|
-
localVarRequestOptions.headers =
|
|
1500
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1491
1501
|
return {
|
|
1492
1502
|
url: toPathString(localVarUrlObj),
|
|
1493
1503
|
options: localVarRequestOptions,
|
|
1494
1504
|
};
|
|
1495
|
-
}
|
|
1505
|
+
},
|
|
1496
1506
|
/**
|
|
1497
1507
|
*
|
|
1498
1508
|
* @summary Gets the live tv timers.
|
|
@@ -1503,7 +1513,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1503
1513
|
* @param {*} [options] Override http request option.
|
|
1504
1514
|
* @throws {RequiredError}
|
|
1505
1515
|
*/
|
|
1506
|
-
getTimers: (channelId, seriesTimerId, isActive, isScheduled, options = {}) =>
|
|
1516
|
+
getTimers: async (channelId, seriesTimerId, isActive, isScheduled, options = {}) => {
|
|
1507
1517
|
const localVarPath = `/LiveTv/Timers`;
|
|
1508
1518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1509
1519
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1511,11 +1521,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1511
1521
|
if (configuration) {
|
|
1512
1522
|
baseOptions = configuration.baseOptions;
|
|
1513
1523
|
}
|
|
1514
|
-
const localVarRequestOptions =
|
|
1524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1515
1525
|
const localVarHeaderParameter = {};
|
|
1516
1526
|
const localVarQueryParameter = {};
|
|
1517
1527
|
// authentication CustomAuthentication required
|
|
1518
|
-
|
|
1528
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1519
1529
|
if (channelId !== undefined) {
|
|
1520
1530
|
localVarQueryParameter['channelId'] = channelId;
|
|
1521
1531
|
}
|
|
@@ -1530,19 +1540,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1530
1540
|
}
|
|
1531
1541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1532
1542
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1533
|
-
localVarRequestOptions.headers =
|
|
1543
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1534
1544
|
return {
|
|
1535
1545
|
url: toPathString(localVarUrlObj),
|
|
1536
1546
|
options: localVarRequestOptions,
|
|
1537
1547
|
};
|
|
1538
|
-
}
|
|
1548
|
+
},
|
|
1539
1549
|
/**
|
|
1540
1550
|
*
|
|
1541
1551
|
* @summary Get tuner host types.
|
|
1542
1552
|
* @param {*} [options] Override http request option.
|
|
1543
1553
|
* @throws {RequiredError}
|
|
1544
1554
|
*/
|
|
1545
|
-
getTunerHostTypes: (options = {}) =>
|
|
1555
|
+
getTunerHostTypes: async (options = {}) => {
|
|
1546
1556
|
const localVarPath = `/LiveTv/TunerHosts/Types`;
|
|
1547
1557
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1548
1558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1550,19 +1560,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1550
1560
|
if (configuration) {
|
|
1551
1561
|
baseOptions = configuration.baseOptions;
|
|
1552
1562
|
}
|
|
1553
|
-
const localVarRequestOptions =
|
|
1563
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1554
1564
|
const localVarHeaderParameter = {};
|
|
1555
1565
|
const localVarQueryParameter = {};
|
|
1556
1566
|
// authentication CustomAuthentication required
|
|
1557
|
-
|
|
1567
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1558
1568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1559
1569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1560
|
-
localVarRequestOptions.headers =
|
|
1570
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1561
1571
|
return {
|
|
1562
1572
|
url: toPathString(localVarUrlObj),
|
|
1563
1573
|
options: localVarRequestOptions,
|
|
1564
1574
|
};
|
|
1565
|
-
}
|
|
1575
|
+
},
|
|
1566
1576
|
/**
|
|
1567
1577
|
*
|
|
1568
1578
|
* @summary Resets a tv tuner.
|
|
@@ -1570,7 +1580,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1570
1580
|
* @param {*} [options] Override http request option.
|
|
1571
1581
|
* @throws {RequiredError}
|
|
1572
1582
|
*/
|
|
1573
|
-
resetTuner: (tunerId, options = {}) =>
|
|
1583
|
+
resetTuner: async (tunerId, options = {}) => {
|
|
1574
1584
|
// verify required parameter 'tunerId' is not null or undefined
|
|
1575
1585
|
assertParamExists('resetTuner', 'tunerId', tunerId);
|
|
1576
1586
|
const localVarPath = `/LiveTv/Tuners/{tunerId}/Reset`
|
|
@@ -1581,19 +1591,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1581
1591
|
if (configuration) {
|
|
1582
1592
|
baseOptions = configuration.baseOptions;
|
|
1583
1593
|
}
|
|
1584
|
-
const localVarRequestOptions =
|
|
1594
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1585
1595
|
const localVarHeaderParameter = {};
|
|
1586
1596
|
const localVarQueryParameter = {};
|
|
1587
1597
|
// authentication CustomAuthentication required
|
|
1588
|
-
|
|
1598
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1589
1599
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1590
1600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1591
|
-
localVarRequestOptions.headers =
|
|
1601
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1592
1602
|
return {
|
|
1593
1603
|
url: toPathString(localVarUrlObj),
|
|
1594
1604
|
options: localVarRequestOptions,
|
|
1595
1605
|
};
|
|
1596
|
-
}
|
|
1606
|
+
},
|
|
1597
1607
|
/**
|
|
1598
1608
|
*
|
|
1599
1609
|
* @summary Set channel mappings.
|
|
@@ -1601,7 +1611,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1601
1611
|
* @param {*} [options] Override http request option.
|
|
1602
1612
|
* @throws {RequiredError}
|
|
1603
1613
|
*/
|
|
1604
|
-
setChannelMapping: (setChannelMappingDto, options = {}) =>
|
|
1614
|
+
setChannelMapping: async (setChannelMappingDto, options = {}) => {
|
|
1605
1615
|
// verify required parameter 'setChannelMappingDto' is not null or undefined
|
|
1606
1616
|
assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto);
|
|
1607
1617
|
const localVarPath = `/LiveTv/ChannelMappings`;
|
|
@@ -1611,21 +1621,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1611
1621
|
if (configuration) {
|
|
1612
1622
|
baseOptions = configuration.baseOptions;
|
|
1613
1623
|
}
|
|
1614
|
-
const localVarRequestOptions =
|
|
1624
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1615
1625
|
const localVarHeaderParameter = {};
|
|
1616
1626
|
const localVarQueryParameter = {};
|
|
1617
1627
|
// authentication CustomAuthentication required
|
|
1618
|
-
|
|
1628
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1619
1629
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1620
1630
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1621
1631
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1622
|
-
localVarRequestOptions.headers =
|
|
1632
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1623
1633
|
localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration);
|
|
1624
1634
|
return {
|
|
1625
1635
|
url: toPathString(localVarUrlObj),
|
|
1626
1636
|
options: localVarRequestOptions,
|
|
1627
1637
|
};
|
|
1628
|
-
}
|
|
1638
|
+
},
|
|
1629
1639
|
/**
|
|
1630
1640
|
*
|
|
1631
1641
|
* @summary Updates a live tv series timer.
|
|
@@ -1634,7 +1644,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1634
1644
|
* @param {*} [options] Override http request option.
|
|
1635
1645
|
* @throws {RequiredError}
|
|
1636
1646
|
*/
|
|
1637
|
-
updateSeriesTimer: (timerId, seriesTimerInfoDto, options = {}) =>
|
|
1647
|
+
updateSeriesTimer: async (timerId, seriesTimerInfoDto, options = {}) => {
|
|
1638
1648
|
// verify required parameter 'timerId' is not null or undefined
|
|
1639
1649
|
assertParamExists('updateSeriesTimer', 'timerId', timerId);
|
|
1640
1650
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1645,21 +1655,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1645
1655
|
if (configuration) {
|
|
1646
1656
|
baseOptions = configuration.baseOptions;
|
|
1647
1657
|
}
|
|
1648
|
-
const localVarRequestOptions =
|
|
1658
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1649
1659
|
const localVarHeaderParameter = {};
|
|
1650
1660
|
const localVarQueryParameter = {};
|
|
1651
1661
|
// authentication CustomAuthentication required
|
|
1652
|
-
|
|
1662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1653
1663
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1654
1664
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1655
1665
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1656
|
-
localVarRequestOptions.headers =
|
|
1666
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1657
1667
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
1658
1668
|
return {
|
|
1659
1669
|
url: toPathString(localVarUrlObj),
|
|
1660
1670
|
options: localVarRequestOptions,
|
|
1661
1671
|
};
|
|
1662
|
-
}
|
|
1672
|
+
},
|
|
1663
1673
|
/**
|
|
1664
1674
|
*
|
|
1665
1675
|
* @summary Updates a live tv timer.
|
|
@@ -1668,7 +1678,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1668
1678
|
* @param {*} [options] Override http request option.
|
|
1669
1679
|
* @throws {RequiredError}
|
|
1670
1680
|
*/
|
|
1671
|
-
updateTimer: (timerId, timerInfoDto, options = {}) =>
|
|
1681
|
+
updateTimer: async (timerId, timerInfoDto, options = {}) => {
|
|
1672
1682
|
// verify required parameter 'timerId' is not null or undefined
|
|
1673
1683
|
assertParamExists('updateTimer', 'timerId', timerId);
|
|
1674
1684
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1679,21 +1689,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1679
1689
|
if (configuration) {
|
|
1680
1690
|
baseOptions = configuration.baseOptions;
|
|
1681
1691
|
}
|
|
1682
|
-
const localVarRequestOptions =
|
|
1692
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1683
1693
|
const localVarHeaderParameter = {};
|
|
1684
1694
|
const localVarQueryParameter = {};
|
|
1685
1695
|
// authentication CustomAuthentication required
|
|
1686
|
-
|
|
1696
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1687
1697
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1688
1698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1689
1699
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1690
|
-
localVarRequestOptions.headers =
|
|
1700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1691
1701
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
1692
1702
|
return {
|
|
1693
1703
|
url: toPathString(localVarUrlObj),
|
|
1694
1704
|
options: localVarRequestOptions,
|
|
1695
1705
|
};
|
|
1696
|
-
}
|
|
1706
|
+
},
|
|
1697
1707
|
};
|
|
1698
1708
|
};
|
|
1699
1709
|
/**
|
|
@@ -1713,11 +1723,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1713
1723
|
* @param {*} [options] Override http request option.
|
|
1714
1724
|
* @throws {RequiredError}
|
|
1715
1725
|
*/
|
|
1716
|
-
addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1720
|
-
});
|
|
1726
|
+
async addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
|
|
1727
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
|
|
1728
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1721
1729
|
},
|
|
1722
1730
|
/**
|
|
1723
1731
|
*
|
|
@@ -1726,11 +1734,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1726
1734
|
* @param {*} [options] Override http request option.
|
|
1727
1735
|
* @throws {RequiredError}
|
|
1728
1736
|
*/
|
|
1729
|
-
addTunerHost(tunerHostInfo, options) {
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1733
|
-
});
|
|
1737
|
+
async addTunerHost(tunerHostInfo, options) {
|
|
1738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
|
|
1739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1734
1740
|
},
|
|
1735
1741
|
/**
|
|
1736
1742
|
*
|
|
@@ -1739,11 +1745,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1739
1745
|
* @param {*} [options] Override http request option.
|
|
1740
1746
|
* @throws {RequiredError}
|
|
1741
1747
|
*/
|
|
1742
|
-
cancelSeriesTimer(timerId, options) {
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1746
|
-
});
|
|
1748
|
+
async cancelSeriesTimer(timerId, options) {
|
|
1749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
|
|
1750
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1747
1751
|
},
|
|
1748
1752
|
/**
|
|
1749
1753
|
*
|
|
@@ -1752,11 +1756,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1752
1756
|
* @param {*} [options] Override http request option.
|
|
1753
1757
|
* @throws {RequiredError}
|
|
1754
1758
|
*/
|
|
1755
|
-
cancelTimer(timerId, options) {
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1759
|
-
});
|
|
1759
|
+
async cancelTimer(timerId, options) {
|
|
1760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelTimer(timerId, options);
|
|
1761
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1760
1762
|
},
|
|
1761
1763
|
/**
|
|
1762
1764
|
*
|
|
@@ -1765,11 +1767,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1765
1767
|
* @param {*} [options] Override http request option.
|
|
1766
1768
|
* @throws {RequiredError}
|
|
1767
1769
|
*/
|
|
1768
|
-
createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1772
|
-
});
|
|
1770
|
+
async createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
|
|
1772
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1773
1773
|
},
|
|
1774
1774
|
/**
|
|
1775
1775
|
*
|
|
@@ -1778,11 +1778,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1778
1778
|
* @param {*} [options] Override http request option.
|
|
1779
1779
|
* @throws {RequiredError}
|
|
1780
1780
|
*/
|
|
1781
|
-
createTimer(timerInfoDto, options) {
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1785
|
-
});
|
|
1781
|
+
async createTimer(timerInfoDto, options) {
|
|
1782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(timerInfoDto, options);
|
|
1783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1786
1784
|
},
|
|
1787
1785
|
/**
|
|
1788
1786
|
*
|
|
@@ -1791,11 +1789,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1791
1789
|
* @param {*} [options] Override http request option.
|
|
1792
1790
|
* @throws {RequiredError}
|
|
1793
1791
|
*/
|
|
1794
|
-
deleteListingProvider(id, options) {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1798
|
-
});
|
|
1792
|
+
async deleteListingProvider(id, options) {
|
|
1793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteListingProvider(id, options);
|
|
1794
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1799
1795
|
},
|
|
1800
1796
|
/**
|
|
1801
1797
|
*
|
|
@@ -1804,11 +1800,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1804
1800
|
* @param {*} [options] Override http request option.
|
|
1805
1801
|
* @throws {RequiredError}
|
|
1806
1802
|
*/
|
|
1807
|
-
deleteRecording(recordingId, options) {
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1811
|
-
});
|
|
1803
|
+
async deleteRecording(recordingId, options) {
|
|
1804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(recordingId, options);
|
|
1805
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1812
1806
|
},
|
|
1813
1807
|
/**
|
|
1814
1808
|
*
|
|
@@ -1817,11 +1811,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1817
1811
|
* @param {*} [options] Override http request option.
|
|
1818
1812
|
* @throws {RequiredError}
|
|
1819
1813
|
*/
|
|
1820
|
-
deleteTunerHost(id, options) {
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1824
|
-
});
|
|
1814
|
+
async deleteTunerHost(id, options) {
|
|
1815
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTunerHost(id, options);
|
|
1816
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1825
1817
|
},
|
|
1826
1818
|
/**
|
|
1827
1819
|
*
|
|
@@ -1830,11 +1822,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1830
1822
|
* @param {*} [options] Override http request option.
|
|
1831
1823
|
* @throws {RequiredError}
|
|
1832
1824
|
*/
|
|
1833
|
-
discoverTuners(newDevicesOnly, options) {
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1837
|
-
});
|
|
1825
|
+
async discoverTuners(newDevicesOnly, options) {
|
|
1826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
|
|
1827
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1838
1828
|
},
|
|
1839
1829
|
/**
|
|
1840
1830
|
*
|
|
@@ -1843,11 +1833,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1843
1833
|
* @param {*} [options] Override http request option.
|
|
1844
1834
|
* @throws {RequiredError}
|
|
1845
1835
|
*/
|
|
1846
|
-
discvoverTuners(newDevicesOnly, options) {
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1850
|
-
});
|
|
1836
|
+
async discvoverTuners(newDevicesOnly, options) {
|
|
1837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
|
|
1838
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1851
1839
|
},
|
|
1852
1840
|
/**
|
|
1853
1841
|
*
|
|
@@ -1857,11 +1845,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1857
1845
|
* @param {*} [options] Override http request option.
|
|
1858
1846
|
* @throws {RequiredError}
|
|
1859
1847
|
*/
|
|
1860
|
-
getChannel(channelId, userId, options) {
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1864
|
-
});
|
|
1848
|
+
async getChannel(channelId, userId, options) {
|
|
1849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannel(channelId, userId, options);
|
|
1850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1865
1851
|
},
|
|
1866
1852
|
/**
|
|
1867
1853
|
*
|
|
@@ -1870,11 +1856,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1870
1856
|
* @param {*} [options] Override http request option.
|
|
1871
1857
|
* @throws {RequiredError}
|
|
1872
1858
|
*/
|
|
1873
|
-
getChannelMappingOptions(providerId, options) {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1877
|
-
});
|
|
1859
|
+
async getChannelMappingOptions(providerId, options) {
|
|
1860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
|
|
1861
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1878
1862
|
},
|
|
1879
1863
|
/**
|
|
1880
1864
|
*
|
|
@@ -1882,11 +1866,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1882
1866
|
* @param {*} [options] Override http request option.
|
|
1883
1867
|
* @throws {RequiredError}
|
|
1884
1868
|
*/
|
|
1885
|
-
getDefaultListingProvider(options) {
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1889
|
-
});
|
|
1869
|
+
async getDefaultListingProvider(options) {
|
|
1870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultListingProvider(options);
|
|
1871
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1890
1872
|
},
|
|
1891
1873
|
/**
|
|
1892
1874
|
*
|
|
@@ -1895,11 +1877,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1895
1877
|
* @param {*} [options] Override http request option.
|
|
1896
1878
|
* @throws {RequiredError}
|
|
1897
1879
|
*/
|
|
1898
|
-
getDefaultTimer(programId, options) {
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1902
|
-
});
|
|
1880
|
+
async getDefaultTimer(programId, options) {
|
|
1881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTimer(programId, options);
|
|
1882
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1903
1883
|
},
|
|
1904
1884
|
/**
|
|
1905
1885
|
*
|
|
@@ -1907,11 +1887,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1907
1887
|
* @param {*} [options] Override http request option.
|
|
1908
1888
|
* @throws {RequiredError}
|
|
1909
1889
|
*/
|
|
1910
|
-
getGuideInfo(options) {
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1914
|
-
});
|
|
1890
|
+
async getGuideInfo(options) {
|
|
1891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGuideInfo(options);
|
|
1892
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1915
1893
|
},
|
|
1916
1894
|
/**
|
|
1917
1895
|
*
|
|
@@ -1923,11 +1901,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1923
1901
|
* @param {*} [options] Override http request option.
|
|
1924
1902
|
* @throws {RequiredError}
|
|
1925
1903
|
*/
|
|
1926
|
-
getLineups(id, type, location, country, options) {
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1930
|
-
});
|
|
1904
|
+
async getLineups(id, type, location, country, options) {
|
|
1905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLineups(id, type, location, country, options);
|
|
1906
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1931
1907
|
},
|
|
1932
1908
|
/**
|
|
1933
1909
|
*
|
|
@@ -1936,11 +1912,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1936
1912
|
* @param {*} [options] Override http request option.
|
|
1937
1913
|
* @throws {RequiredError}
|
|
1938
1914
|
*/
|
|
1939
|
-
getLiveRecordingFile(recordingId, options) {
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1943
|
-
});
|
|
1915
|
+
async getLiveRecordingFile(recordingId, options) {
|
|
1916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
|
|
1917
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1944
1918
|
},
|
|
1945
1919
|
/**
|
|
1946
1920
|
*
|
|
@@ -1950,11 +1924,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1950
1924
|
* @param {*} [options] Override http request option.
|
|
1951
1925
|
* @throws {RequiredError}
|
|
1952
1926
|
*/
|
|
1953
|
-
getLiveStreamFile(streamId, container, options) {
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1957
|
-
});
|
|
1927
|
+
async getLiveStreamFile(streamId, container, options) {
|
|
1928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
|
|
1929
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1958
1930
|
},
|
|
1959
1931
|
/**
|
|
1960
1932
|
*
|
|
@@ -1976,18 +1948,16 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1976
1948
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
1977
1949
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
1978
1950
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
1979
|
-
* @param {Array<
|
|
1951
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
1980
1952
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
1981
1953
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
1982
1954
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
1983
1955
|
* @param {*} [options] Override http request option.
|
|
1984
1956
|
* @throws {RequiredError}
|
|
1985
1957
|
*/
|
|
1986
|
-
getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1990
|
-
});
|
|
1958
|
+
async getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
|
|
1959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options);
|
|
1960
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1991
1961
|
},
|
|
1992
1962
|
/**
|
|
1993
1963
|
*
|
|
@@ -1995,11 +1965,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1995
1965
|
* @param {*} [options] Override http request option.
|
|
1996
1966
|
* @throws {RequiredError}
|
|
1997
1967
|
*/
|
|
1998
|
-
getLiveTvInfo(options) {
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2002
|
-
});
|
|
1968
|
+
async getLiveTvInfo(options) {
|
|
1969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvInfo(options);
|
|
1970
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2003
1971
|
},
|
|
2004
1972
|
/**
|
|
2005
1973
|
*
|
|
@@ -2019,7 +1987,7 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2019
1987
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2020
1988
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2021
1989
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2022
|
-
* @param {Array<
|
|
1990
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
2023
1991
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
2024
1992
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
2025
1993
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
@@ -2034,11 +2002,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2034
2002
|
* @param {*} [options] Override http request option.
|
|
2035
2003
|
* @throws {RequiredError}
|
|
2036
2004
|
*/
|
|
2037
|
-
getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2041
|
-
});
|
|
2005
|
+
async getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
|
|
2006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options);
|
|
2007
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2042
2008
|
},
|
|
2043
2009
|
/**
|
|
2044
2010
|
*
|
|
@@ -2048,11 +2014,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2048
2014
|
* @param {*} [options] Override http request option.
|
|
2049
2015
|
* @throws {RequiredError}
|
|
2050
2016
|
*/
|
|
2051
|
-
getProgram(programId, userId, options) {
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2055
|
-
});
|
|
2017
|
+
async getProgram(programId, userId, options) {
|
|
2018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(programId, userId, options);
|
|
2019
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2056
2020
|
},
|
|
2057
2021
|
/**
|
|
2058
2022
|
*
|
|
@@ -2061,11 +2025,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2061
2025
|
* @param {*} [options] Override http request option.
|
|
2062
2026
|
* @throws {RequiredError}
|
|
2063
2027
|
*/
|
|
2064
|
-
getPrograms(getProgramsDto, options) {
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2068
|
-
});
|
|
2028
|
+
async getPrograms(getProgramsDto, options) {
|
|
2029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
|
|
2030
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2069
2031
|
},
|
|
2070
2032
|
/**
|
|
2071
2033
|
*
|
|
@@ -2089,11 +2051,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2089
2051
|
* @param {*} [options] Override http request option.
|
|
2090
2052
|
* @throws {RequiredError}
|
|
2091
2053
|
*/
|
|
2092
|
-
getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2096
|
-
});
|
|
2054
|
+
async getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2055
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options);
|
|
2056
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2097
2057
|
},
|
|
2098
2058
|
/**
|
|
2099
2059
|
*
|
|
@@ -2103,11 +2063,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2103
2063
|
* @param {*} [options] Override http request option.
|
|
2104
2064
|
* @throws {RequiredError}
|
|
2105
2065
|
*/
|
|
2106
|
-
getRecording(recordingId, userId, options) {
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2110
|
-
});
|
|
2066
|
+
async getRecording(recordingId, userId, options) {
|
|
2067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(recordingId, userId, options);
|
|
2068
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2111
2069
|
},
|
|
2112
2070
|
/**
|
|
2113
2071
|
*
|
|
@@ -2116,11 +2074,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2116
2074
|
* @param {*} [options] Override http request option.
|
|
2117
2075
|
* @throws {RequiredError}
|
|
2118
2076
|
*/
|
|
2119
|
-
getRecordingFolders(userId, options) {
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2123
|
-
});
|
|
2077
|
+
async getRecordingFolders(userId, options) {
|
|
2078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingFolders(userId, options);
|
|
2079
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2124
2080
|
},
|
|
2125
2081
|
/**
|
|
2126
2082
|
*
|
|
@@ -2130,11 +2086,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2130
2086
|
* @deprecated
|
|
2131
2087
|
* @throws {RequiredError}
|
|
2132
2088
|
*/
|
|
2133
|
-
getRecordingGroup(groupId, options) {
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2137
|
-
});
|
|
2089
|
+
async getRecordingGroup(groupId, options) {
|
|
2090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroup(groupId, options);
|
|
2091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2138
2092
|
},
|
|
2139
2093
|
/**
|
|
2140
2094
|
*
|
|
@@ -2144,11 +2098,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2144
2098
|
* @deprecated
|
|
2145
2099
|
* @throws {RequiredError}
|
|
2146
2100
|
*/
|
|
2147
|
-
getRecordingGroups(userId, options) {
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2151
|
-
});
|
|
2101
|
+
async getRecordingGroups(userId, options) {
|
|
2102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroups(userId, options);
|
|
2103
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2152
2104
|
},
|
|
2153
2105
|
/**
|
|
2154
2106
|
*
|
|
@@ -2175,11 +2127,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2175
2127
|
* @param {*} [options] Override http request option.
|
|
2176
2128
|
* @throws {RequiredError}
|
|
2177
2129
|
*/
|
|
2178
|
-
getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2182
|
-
});
|
|
2130
|
+
async getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
|
|
2131
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options);
|
|
2132
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2183
2133
|
},
|
|
2184
2134
|
/**
|
|
2185
2135
|
*
|
|
@@ -2202,11 +2152,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2202
2152
|
* @deprecated
|
|
2203
2153
|
* @throws {RequiredError}
|
|
2204
2154
|
*/
|
|
2205
|
-
getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2209
|
-
});
|
|
2155
|
+
async getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options);
|
|
2157
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2210
2158
|
},
|
|
2211
2159
|
/**
|
|
2212
2160
|
*
|
|
@@ -2214,11 +2162,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2214
2162
|
* @param {*} [options] Override http request option.
|
|
2215
2163
|
* @throws {RequiredError}
|
|
2216
2164
|
*/
|
|
2217
|
-
getSchedulesDirectCountries(options) {
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2221
|
-
});
|
|
2165
|
+
async getSchedulesDirectCountries(options) {
|
|
2166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchedulesDirectCountries(options);
|
|
2167
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2222
2168
|
},
|
|
2223
2169
|
/**
|
|
2224
2170
|
*
|
|
@@ -2227,11 +2173,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2227
2173
|
* @param {*} [options] Override http request option.
|
|
2228
2174
|
* @throws {RequiredError}
|
|
2229
2175
|
*/
|
|
2230
|
-
getSeriesTimer(timerId, options) {
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2234
|
-
});
|
|
2176
|
+
async getSeriesTimer(timerId, options) {
|
|
2177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimer(timerId, options);
|
|
2178
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2235
2179
|
},
|
|
2236
2180
|
/**
|
|
2237
2181
|
*
|
|
@@ -2241,11 +2185,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2241
2185
|
* @param {*} [options] Override http request option.
|
|
2242
2186
|
* @throws {RequiredError}
|
|
2243
2187
|
*/
|
|
2244
|
-
getSeriesTimers(sortBy, sortOrder, options) {
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2248
|
-
});
|
|
2188
|
+
async getSeriesTimers(sortBy, sortOrder, options) {
|
|
2189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
|
|
2190
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2249
2191
|
},
|
|
2250
2192
|
/**
|
|
2251
2193
|
*
|
|
@@ -2254,11 +2196,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2254
2196
|
* @param {*} [options] Override http request option.
|
|
2255
2197
|
* @throws {RequiredError}
|
|
2256
2198
|
*/
|
|
2257
|
-
getTimer(timerId, options) {
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2261
|
-
});
|
|
2199
|
+
async getTimer(timerId, options) {
|
|
2200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimer(timerId, options);
|
|
2201
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2262
2202
|
},
|
|
2263
2203
|
/**
|
|
2264
2204
|
*
|
|
@@ -2270,11 +2210,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2270
2210
|
* @param {*} [options] Override http request option.
|
|
2271
2211
|
* @throws {RequiredError}
|
|
2272
2212
|
*/
|
|
2273
|
-
getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2277
|
-
});
|
|
2213
|
+
async getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
|
|
2214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimers(channelId, seriesTimerId, isActive, isScheduled, options);
|
|
2215
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2278
2216
|
},
|
|
2279
2217
|
/**
|
|
2280
2218
|
*
|
|
@@ -2282,11 +2220,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2282
2220
|
* @param {*} [options] Override http request option.
|
|
2283
2221
|
* @throws {RequiredError}
|
|
2284
2222
|
*/
|
|
2285
|
-
getTunerHostTypes(options) {
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2289
|
-
});
|
|
2223
|
+
async getTunerHostTypes(options) {
|
|
2224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTunerHostTypes(options);
|
|
2225
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2290
2226
|
},
|
|
2291
2227
|
/**
|
|
2292
2228
|
*
|
|
@@ -2295,11 +2231,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2295
2231
|
* @param {*} [options] Override http request option.
|
|
2296
2232
|
* @throws {RequiredError}
|
|
2297
2233
|
*/
|
|
2298
|
-
resetTuner(tunerId, options) {
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2302
|
-
});
|
|
2234
|
+
async resetTuner(tunerId, options) {
|
|
2235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetTuner(tunerId, options);
|
|
2236
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2303
2237
|
},
|
|
2304
2238
|
/**
|
|
2305
2239
|
*
|
|
@@ -2308,11 +2242,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2308
2242
|
* @param {*} [options] Override http request option.
|
|
2309
2243
|
* @throws {RequiredError}
|
|
2310
2244
|
*/
|
|
2311
|
-
setChannelMapping(setChannelMappingDto, options) {
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2315
|
-
});
|
|
2245
|
+
async setChannelMapping(setChannelMappingDto, options) {
|
|
2246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
|
|
2247
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2316
2248
|
},
|
|
2317
2249
|
/**
|
|
2318
2250
|
*
|
|
@@ -2322,11 +2254,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2322
2254
|
* @param {*} [options] Override http request option.
|
|
2323
2255
|
* @throws {RequiredError}
|
|
2324
2256
|
*/
|
|
2325
|
-
updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2329
|
-
});
|
|
2257
|
+
async updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
|
|
2259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2330
2260
|
},
|
|
2331
2261
|
/**
|
|
2332
2262
|
*
|
|
@@ -2336,11 +2266,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2336
2266
|
* @param {*} [options] Override http request option.
|
|
2337
2267
|
* @throws {RequiredError}
|
|
2338
2268
|
*/
|
|
2339
|
-
updateTimer(timerId, timerInfoDto, options) {
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2343
|
-
});
|
|
2269
|
+
async updateTimer(timerId, timerInfoDto, options) {
|
|
2270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
|
|
2271
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2344
2272
|
},
|
|
2345
2273
|
};
|
|
2346
2274
|
};
|
|
@@ -2567,7 +2495,7 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2567
2495
|
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
2568
2496
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2569
2497
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
2570
|
-
* @param {Array<
|
|
2498
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
2571
2499
|
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
2572
2500
|
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
2573
2501
|
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
@@ -2604,7 +2532,7 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2604
2532
|
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2605
2533
|
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2606
2534
|
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2607
|
-
* @param {Array<
|
|
2535
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
2608
2536
|
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
2609
2537
|
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
2610
2538
|
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|