@jellyfin/sdk 0.9.0 → 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 +5 -0
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.js +8 -11
- package/lib/generated-client/api/api-key-api.js +24 -31
- package/lib/generated-client/api/artists-api.js +24 -31
- package/lib/generated-client/api/audio-api.d.ts +12 -12
- package/lib/generated-client/api/audio-api.js +28 -37
- package/lib/generated-client/api/branding-api.js +21 -28
- package/lib/generated-client/api/channels-api.js +40 -51
- package/lib/generated-client/api/client-log-api.js +8 -11
- package/lib/generated-client/api/collection-api.js +24 -31
- package/lib/generated-client/api/configuration-api.js +40 -51
- package/lib/generated-client/api/dashboard-api.js +15 -20
- package/lib/generated-client/api/devices-api.js +40 -51
- package/lib/generated-client/api/display-preferences-api.js +16 -21
- package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
- package/lib/generated-client/api/dynamic-hls-api.js +72 -91
- package/lib/generated-client/api/environment-api.js +48 -61
- package/lib/generated-client/api/filter-api.js +16 -21
- package/lib/generated-client/api/genres-api.js +16 -21
- package/lib/generated-client/api/hls-segment-api.js +37 -48
- package/lib/generated-client/api/image-api.js +269 -344
- package/lib/generated-client/api/instant-mix-api.js +64 -81
- package/lib/generated-client/api/item-lookup-api.js +88 -111
- package/lib/generated-client/api/item-refresh-api.js +8 -11
- package/lib/generated-client/api/item-update-api.js +24 -31
- package/lib/generated-client/api/items-api.js +32 -41
- package/lib/generated-client/api/library-api.js +200 -251
- package/lib/generated-client/api/library-structure-api.js +64 -81
- package/lib/generated-client/api/live-tv-api.js +326 -409
- package/lib/generated-client/api/localization-api.js +32 -41
- package/lib/generated-client/api/lyrics-api.js +48 -61
- package/lib/generated-client/api/media-info-api.js +40 -51
- package/lib/generated-client/api/movies-api.js +8 -11
- package/lib/generated-client/api/music-genres-api.js +16 -21
- package/lib/generated-client/api/package-api.js +48 -61
- package/lib/generated-client/api/persons-api.js +16 -21
- package/lib/generated-client/api/playlists-api.js +80 -101
- package/lib/generated-client/api/playstate-api.js +72 -91
- package/lib/generated-client/api/plugins-api.js +72 -91
- package/lib/generated-client/api/quick-connect-api.js +29 -38
- package/lib/generated-client/api/remote-image-api.js +24 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
- package/lib/generated-client/api/search-api.js +8 -11
- package/lib/generated-client/api/session-api.js +128 -161
- package/lib/generated-client/api/startup-api.js +56 -71
- package/lib/generated-client/api/studios-api.js +16 -21
- package/lib/generated-client/api/subtitle-api.js +78 -99
- package/lib/generated-client/api/suggestions-api.js +8 -11
- package/lib/generated-client/api/sync-play-api.js +168 -211
- package/lib/generated-client/api/system-api.js +77 -98
- package/lib/generated-client/api/time-sync-api.js +7 -10
- package/lib/generated-client/api/tmdb-api.js +8 -11
- package/lib/generated-client/api/trailers-api.js +8 -11
- package/lib/generated-client/api/trickplay-api.js +16 -21
- package/lib/generated-client/api/tv-shows-api.js +32 -41
- package/lib/generated-client/api/universal-audio-api.js +16 -21
- package/lib/generated-client/api/user-api.js +107 -136
- package/lib/generated-client/api/user-library-api.js +80 -101
- package/lib/generated-client/api/user-views-api.js +16 -21
- package/lib/generated-client/api/video-attachments-api.js +7 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +52 -67
- package/lib/generated-client/api/years-api.js +16 -21
- package/lib/generated-client/common.js +8 -11
- package/lib/generated-client/models/search-hint.d.ts +1 -1
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +10 -10
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,4 +1,3 @@
|
|
|
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';
|
|
@@ -31,7 +30,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
31
30
|
* @param {*} [options] Override http request option.
|
|
32
31
|
* @throws {RequiredError}
|
|
33
32
|
*/
|
|
34
|
-
addListingProvider:
|
|
33
|
+
addListingProvider: async (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) => {
|
|
35
34
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
36
35
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37
36
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -39,11 +38,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
39
38
|
if (configuration) {
|
|
40
39
|
baseOptions = configuration.baseOptions;
|
|
41
40
|
}
|
|
42
|
-
const localVarRequestOptions =
|
|
41
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43
42
|
const localVarHeaderParameter = {};
|
|
44
43
|
const localVarQueryParameter = {};
|
|
45
44
|
// authentication CustomAuthentication required
|
|
46
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47
46
|
if (pw !== undefined) {
|
|
48
47
|
localVarQueryParameter['pw'] = pw;
|
|
49
48
|
}
|
|
@@ -56,13 +55,13 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
56
55
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57
56
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
-
localVarRequestOptions.headers =
|
|
58
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
60
59
|
localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration);
|
|
61
60
|
return {
|
|
62
61
|
url: toPathString(localVarUrlObj),
|
|
63
62
|
options: localVarRequestOptions,
|
|
64
63
|
};
|
|
65
|
-
}
|
|
64
|
+
},
|
|
66
65
|
/**
|
|
67
66
|
*
|
|
68
67
|
* @summary Adds a tuner host.
|
|
@@ -70,7 +69,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
* @param {*} [options] Override http request option.
|
|
71
70
|
* @throws {RequiredError}
|
|
72
71
|
*/
|
|
73
|
-
addTunerHost:
|
|
72
|
+
addTunerHost: async (tunerHostInfo, options = {}) => {
|
|
74
73
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
75
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
75
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -78,21 +77,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
78
77
|
if (configuration) {
|
|
79
78
|
baseOptions = configuration.baseOptions;
|
|
80
79
|
}
|
|
81
|
-
const localVarRequestOptions =
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
82
81
|
const localVarHeaderParameter = {};
|
|
83
82
|
const localVarQueryParameter = {};
|
|
84
83
|
// authentication CustomAuthentication required
|
|
85
|
-
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
86
85
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87
86
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
87
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
-
localVarRequestOptions.headers =
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
90
89
|
localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration);
|
|
91
90
|
return {
|
|
92
91
|
url: toPathString(localVarUrlObj),
|
|
93
92
|
options: localVarRequestOptions,
|
|
94
93
|
};
|
|
95
|
-
}
|
|
94
|
+
},
|
|
96
95
|
/**
|
|
97
96
|
*
|
|
98
97
|
* @summary Cancels a live tv series timer.
|
|
@@ -100,7 +99,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
101
100
|
* @throws {RequiredError}
|
|
102
101
|
*/
|
|
103
|
-
cancelSeriesTimer:
|
|
102
|
+
cancelSeriesTimer: async (timerId, options = {}) => {
|
|
104
103
|
// verify required parameter 'timerId' is not null or undefined
|
|
105
104
|
assertParamExists('cancelSeriesTimer', 'timerId', timerId);
|
|
106
105
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -111,19 +110,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
111
110
|
if (configuration) {
|
|
112
111
|
baseOptions = configuration.baseOptions;
|
|
113
112
|
}
|
|
114
|
-
const localVarRequestOptions =
|
|
113
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
115
114
|
const localVarHeaderParameter = {};
|
|
116
115
|
const localVarQueryParameter = {};
|
|
117
116
|
// authentication CustomAuthentication required
|
|
118
|
-
|
|
117
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
119
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
-
localVarRequestOptions.headers =
|
|
120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
122
121
|
return {
|
|
123
122
|
url: toPathString(localVarUrlObj),
|
|
124
123
|
options: localVarRequestOptions,
|
|
125
124
|
};
|
|
126
|
-
}
|
|
125
|
+
},
|
|
127
126
|
/**
|
|
128
127
|
*
|
|
129
128
|
* @summary Cancels a live tv timer.
|
|
@@ -131,7 +130,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
131
130
|
* @param {*} [options] Override http request option.
|
|
132
131
|
* @throws {RequiredError}
|
|
133
132
|
*/
|
|
134
|
-
cancelTimer:
|
|
133
|
+
cancelTimer: async (timerId, options = {}) => {
|
|
135
134
|
// verify required parameter 'timerId' is not null or undefined
|
|
136
135
|
assertParamExists('cancelTimer', 'timerId', timerId);
|
|
137
136
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -142,19 +141,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
if (configuration) {
|
|
143
142
|
baseOptions = configuration.baseOptions;
|
|
144
143
|
}
|
|
145
|
-
const localVarRequestOptions =
|
|
144
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
146
145
|
const localVarHeaderParameter = {};
|
|
147
146
|
const localVarQueryParameter = {};
|
|
148
147
|
// authentication CustomAuthentication required
|
|
149
|
-
|
|
148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
150
149
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
150
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
-
localVarRequestOptions.headers =
|
|
151
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
153
152
|
return {
|
|
154
153
|
url: toPathString(localVarUrlObj),
|
|
155
154
|
options: localVarRequestOptions,
|
|
156
155
|
};
|
|
157
|
-
}
|
|
156
|
+
},
|
|
158
157
|
/**
|
|
159
158
|
*
|
|
160
159
|
* @summary Creates a live tv series timer.
|
|
@@ -162,7 +161,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
162
161
|
* @param {*} [options] Override http request option.
|
|
163
162
|
* @throws {RequiredError}
|
|
164
163
|
*/
|
|
165
|
-
createSeriesTimer:
|
|
164
|
+
createSeriesTimer: async (seriesTimerInfoDto, options = {}) => {
|
|
166
165
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
167
166
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
168
167
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -170,21 +169,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
170
169
|
if (configuration) {
|
|
171
170
|
baseOptions = configuration.baseOptions;
|
|
172
171
|
}
|
|
173
|
-
const localVarRequestOptions =
|
|
172
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
174
173
|
const localVarHeaderParameter = {};
|
|
175
174
|
const localVarQueryParameter = {};
|
|
176
175
|
// authentication CustomAuthentication required
|
|
177
|
-
|
|
176
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
178
177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
179
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
180
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
|
-
localVarRequestOptions.headers =
|
|
180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
182
181
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
183
182
|
return {
|
|
184
183
|
url: toPathString(localVarUrlObj),
|
|
185
184
|
options: localVarRequestOptions,
|
|
186
185
|
};
|
|
187
|
-
}
|
|
186
|
+
},
|
|
188
187
|
/**
|
|
189
188
|
*
|
|
190
189
|
* @summary Creates a live tv timer.
|
|
@@ -192,7 +191,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
192
191
|
* @param {*} [options] Override http request option.
|
|
193
192
|
* @throws {RequiredError}
|
|
194
193
|
*/
|
|
195
|
-
createTimer:
|
|
194
|
+
createTimer: async (timerInfoDto, options = {}) => {
|
|
196
195
|
const localVarPath = `/LiveTv/Timers`;
|
|
197
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -200,21 +199,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
200
199
|
if (configuration) {
|
|
201
200
|
baseOptions = configuration.baseOptions;
|
|
202
201
|
}
|
|
203
|
-
const localVarRequestOptions =
|
|
202
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
204
203
|
const localVarHeaderParameter = {};
|
|
205
204
|
const localVarQueryParameter = {};
|
|
206
205
|
// authentication CustomAuthentication required
|
|
207
|
-
|
|
206
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
208
207
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
209
208
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
210
209
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
-
localVarRequestOptions.headers =
|
|
210
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
212
211
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
213
212
|
return {
|
|
214
213
|
url: toPathString(localVarUrlObj),
|
|
215
214
|
options: localVarRequestOptions,
|
|
216
215
|
};
|
|
217
|
-
}
|
|
216
|
+
},
|
|
218
217
|
/**
|
|
219
218
|
*
|
|
220
219
|
* @summary Delete listing provider.
|
|
@@ -222,7 +221,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
222
221
|
* @param {*} [options] Override http request option.
|
|
223
222
|
* @throws {RequiredError}
|
|
224
223
|
*/
|
|
225
|
-
deleteListingProvider:
|
|
224
|
+
deleteListingProvider: async (id, options = {}) => {
|
|
226
225
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
227
226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
228
227
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -230,22 +229,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
230
229
|
if (configuration) {
|
|
231
230
|
baseOptions = configuration.baseOptions;
|
|
232
231
|
}
|
|
233
|
-
const localVarRequestOptions =
|
|
232
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
234
233
|
const localVarHeaderParameter = {};
|
|
235
234
|
const localVarQueryParameter = {};
|
|
236
235
|
// authentication CustomAuthentication required
|
|
237
|
-
|
|
236
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
238
237
|
if (id !== undefined) {
|
|
239
238
|
localVarQueryParameter['id'] = id;
|
|
240
239
|
}
|
|
241
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
242
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
|
-
localVarRequestOptions.headers =
|
|
242
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
244
243
|
return {
|
|
245
244
|
url: toPathString(localVarUrlObj),
|
|
246
245
|
options: localVarRequestOptions,
|
|
247
246
|
};
|
|
248
|
-
}
|
|
247
|
+
},
|
|
249
248
|
/**
|
|
250
249
|
*
|
|
251
250
|
* @summary Deletes a live tv recording.
|
|
@@ -253,7 +252,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
253
252
|
* @param {*} [options] Override http request option.
|
|
254
253
|
* @throws {RequiredError}
|
|
255
254
|
*/
|
|
256
|
-
deleteRecording:
|
|
255
|
+
deleteRecording: async (recordingId, options = {}) => {
|
|
257
256
|
// verify required parameter 'recordingId' is not null or undefined
|
|
258
257
|
assertParamExists('deleteRecording', 'recordingId', recordingId);
|
|
259
258
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -264,19 +263,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
264
263
|
if (configuration) {
|
|
265
264
|
baseOptions = configuration.baseOptions;
|
|
266
265
|
}
|
|
267
|
-
const localVarRequestOptions =
|
|
266
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
268
267
|
const localVarHeaderParameter = {};
|
|
269
268
|
const localVarQueryParameter = {};
|
|
270
269
|
// authentication CustomAuthentication required
|
|
271
|
-
|
|
270
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
272
271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
|
-
localVarRequestOptions.headers =
|
|
273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
275
274
|
return {
|
|
276
275
|
url: toPathString(localVarUrlObj),
|
|
277
276
|
options: localVarRequestOptions,
|
|
278
277
|
};
|
|
279
|
-
}
|
|
278
|
+
},
|
|
280
279
|
/**
|
|
281
280
|
*
|
|
282
281
|
* @summary Deletes a tuner host.
|
|
@@ -284,7 +283,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
284
283
|
* @param {*} [options] Override http request option.
|
|
285
284
|
* @throws {RequiredError}
|
|
286
285
|
*/
|
|
287
|
-
deleteTunerHost:
|
|
286
|
+
deleteTunerHost: async (id, options = {}) => {
|
|
288
287
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
289
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -292,22 +291,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
292
291
|
if (configuration) {
|
|
293
292
|
baseOptions = configuration.baseOptions;
|
|
294
293
|
}
|
|
295
|
-
const localVarRequestOptions =
|
|
294
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
296
295
|
const localVarHeaderParameter = {};
|
|
297
296
|
const localVarQueryParameter = {};
|
|
298
297
|
// authentication CustomAuthentication required
|
|
299
|
-
|
|
298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
300
299
|
if (id !== undefined) {
|
|
301
300
|
localVarQueryParameter['id'] = id;
|
|
302
301
|
}
|
|
303
302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers =
|
|
304
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
305
|
return {
|
|
307
306
|
url: toPathString(localVarUrlObj),
|
|
308
307
|
options: localVarRequestOptions,
|
|
309
308
|
};
|
|
310
|
-
}
|
|
309
|
+
},
|
|
311
310
|
/**
|
|
312
311
|
*
|
|
313
312
|
* @summary Discover tuners.
|
|
@@ -315,7 +314,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
315
314
|
* @param {*} [options] Override http request option.
|
|
316
315
|
* @throws {RequiredError}
|
|
317
316
|
*/
|
|
318
|
-
discoverTuners:
|
|
317
|
+
discoverTuners: async (newDevicesOnly, options = {}) => {
|
|
319
318
|
const localVarPath = `/LiveTv/Tuners/Discover`;
|
|
320
319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -323,22 +322,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
323
322
|
if (configuration) {
|
|
324
323
|
baseOptions = configuration.baseOptions;
|
|
325
324
|
}
|
|
326
|
-
const localVarRequestOptions =
|
|
325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
327
326
|
const localVarHeaderParameter = {};
|
|
328
327
|
const localVarQueryParameter = {};
|
|
329
328
|
// authentication CustomAuthentication required
|
|
330
|
-
|
|
329
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
331
330
|
if (newDevicesOnly !== undefined) {
|
|
332
331
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
333
332
|
}
|
|
334
333
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
335
334
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
|
-
localVarRequestOptions.headers =
|
|
335
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
337
336
|
return {
|
|
338
337
|
url: toPathString(localVarUrlObj),
|
|
339
338
|
options: localVarRequestOptions,
|
|
340
339
|
};
|
|
341
|
-
}
|
|
340
|
+
},
|
|
342
341
|
/**
|
|
343
342
|
*
|
|
344
343
|
* @summary Discover tuners.
|
|
@@ -346,7 +345,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
346
345
|
* @param {*} [options] Override http request option.
|
|
347
346
|
* @throws {RequiredError}
|
|
348
347
|
*/
|
|
349
|
-
discvoverTuners:
|
|
348
|
+
discvoverTuners: async (newDevicesOnly, options = {}) => {
|
|
350
349
|
const localVarPath = `/LiveTv/Tuners/Discvover`;
|
|
351
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -354,22 +353,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
354
353
|
if (configuration) {
|
|
355
354
|
baseOptions = configuration.baseOptions;
|
|
356
355
|
}
|
|
357
|
-
const localVarRequestOptions =
|
|
356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
358
357
|
const localVarHeaderParameter = {};
|
|
359
358
|
const localVarQueryParameter = {};
|
|
360
359
|
// authentication CustomAuthentication required
|
|
361
|
-
|
|
360
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
362
361
|
if (newDevicesOnly !== undefined) {
|
|
363
362
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
364
363
|
}
|
|
365
364
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
366
365
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
367
|
-
localVarRequestOptions.headers =
|
|
366
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
368
367
|
return {
|
|
369
368
|
url: toPathString(localVarUrlObj),
|
|
370
369
|
options: localVarRequestOptions,
|
|
371
370
|
};
|
|
372
|
-
}
|
|
371
|
+
},
|
|
373
372
|
/**
|
|
374
373
|
*
|
|
375
374
|
* @summary Gets a live tv channel.
|
|
@@ -378,7 +377,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
378
377
|
* @param {*} [options] Override http request option.
|
|
379
378
|
* @throws {RequiredError}
|
|
380
379
|
*/
|
|
381
|
-
getChannel:
|
|
380
|
+
getChannel: async (channelId, userId, options = {}) => {
|
|
382
381
|
// verify required parameter 'channelId' is not null or undefined
|
|
383
382
|
assertParamExists('getChannel', 'channelId', channelId);
|
|
384
383
|
const localVarPath = `/LiveTv/Channels/{channelId}`
|
|
@@ -389,22 +388,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
389
388
|
if (configuration) {
|
|
390
389
|
baseOptions = configuration.baseOptions;
|
|
391
390
|
}
|
|
392
|
-
const localVarRequestOptions =
|
|
391
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
393
392
|
const localVarHeaderParameter = {};
|
|
394
393
|
const localVarQueryParameter = {};
|
|
395
394
|
// authentication CustomAuthentication required
|
|
396
|
-
|
|
395
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
397
396
|
if (userId !== undefined) {
|
|
398
397
|
localVarQueryParameter['userId'] = userId;
|
|
399
398
|
}
|
|
400
399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
-
localVarRequestOptions.headers =
|
|
401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
403
402
|
return {
|
|
404
403
|
url: toPathString(localVarUrlObj),
|
|
405
404
|
options: localVarRequestOptions,
|
|
406
405
|
};
|
|
407
|
-
}
|
|
406
|
+
},
|
|
408
407
|
/**
|
|
409
408
|
*
|
|
410
409
|
* @summary Get channel mapping options.
|
|
@@ -412,7 +411,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
412
411
|
* @param {*} [options] Override http request option.
|
|
413
412
|
* @throws {RequiredError}
|
|
414
413
|
*/
|
|
415
|
-
getChannelMappingOptions:
|
|
414
|
+
getChannelMappingOptions: async (providerId, options = {}) => {
|
|
416
415
|
const localVarPath = `/LiveTv/ChannelMappingOptions`;
|
|
417
416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
418
417
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -420,29 +419,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
420
419
|
if (configuration) {
|
|
421
420
|
baseOptions = configuration.baseOptions;
|
|
422
421
|
}
|
|
423
|
-
const localVarRequestOptions =
|
|
422
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
424
423
|
const localVarHeaderParameter = {};
|
|
425
424
|
const localVarQueryParameter = {};
|
|
426
425
|
// authentication CustomAuthentication required
|
|
427
|
-
|
|
426
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
428
427
|
if (providerId !== undefined) {
|
|
429
428
|
localVarQueryParameter['providerId'] = providerId;
|
|
430
429
|
}
|
|
431
430
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
431
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
-
localVarRequestOptions.headers =
|
|
432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
434
433
|
return {
|
|
435
434
|
url: toPathString(localVarUrlObj),
|
|
436
435
|
options: localVarRequestOptions,
|
|
437
436
|
};
|
|
438
|
-
}
|
|
437
|
+
},
|
|
439
438
|
/**
|
|
440
439
|
*
|
|
441
440
|
* @summary Gets default listings provider info.
|
|
442
441
|
* @param {*} [options] Override http request option.
|
|
443
442
|
* @throws {RequiredError}
|
|
444
443
|
*/
|
|
445
|
-
getDefaultListingProvider:
|
|
444
|
+
getDefaultListingProvider: async (options = {}) => {
|
|
446
445
|
const localVarPath = `/LiveTv/ListingProviders/Default`;
|
|
447
446
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
448
447
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -450,19 +449,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
450
449
|
if (configuration) {
|
|
451
450
|
baseOptions = configuration.baseOptions;
|
|
452
451
|
}
|
|
453
|
-
const localVarRequestOptions =
|
|
452
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
454
453
|
const localVarHeaderParameter = {};
|
|
455
454
|
const localVarQueryParameter = {};
|
|
456
455
|
// authentication CustomAuthentication required
|
|
457
|
-
|
|
456
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
458
457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
459
458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
460
|
-
localVarRequestOptions.headers =
|
|
459
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
461
460
|
return {
|
|
462
461
|
url: toPathString(localVarUrlObj),
|
|
463
462
|
options: localVarRequestOptions,
|
|
464
463
|
};
|
|
465
|
-
}
|
|
464
|
+
},
|
|
466
465
|
/**
|
|
467
466
|
*
|
|
468
467
|
* @summary Gets the default values for a new timer.
|
|
@@ -470,7 +469,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
470
469
|
* @param {*} [options] Override http request option.
|
|
471
470
|
* @throws {RequiredError}
|
|
472
471
|
*/
|
|
473
|
-
getDefaultTimer:
|
|
472
|
+
getDefaultTimer: async (programId, options = {}) => {
|
|
474
473
|
const localVarPath = `/LiveTv/Timers/Defaults`;
|
|
475
474
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
476
475
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -478,29 +477,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
478
477
|
if (configuration) {
|
|
479
478
|
baseOptions = configuration.baseOptions;
|
|
480
479
|
}
|
|
481
|
-
const localVarRequestOptions =
|
|
480
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
482
481
|
const localVarHeaderParameter = {};
|
|
483
482
|
const localVarQueryParameter = {};
|
|
484
483
|
// authentication CustomAuthentication required
|
|
485
|
-
|
|
484
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
486
485
|
if (programId !== undefined) {
|
|
487
486
|
localVarQueryParameter['programId'] = programId;
|
|
488
487
|
}
|
|
489
488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
490
489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
491
|
-
localVarRequestOptions.headers =
|
|
490
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
492
491
|
return {
|
|
493
492
|
url: toPathString(localVarUrlObj),
|
|
494
493
|
options: localVarRequestOptions,
|
|
495
494
|
};
|
|
496
|
-
}
|
|
495
|
+
},
|
|
497
496
|
/**
|
|
498
497
|
*
|
|
499
498
|
* @summary Get guid info.
|
|
500
499
|
* @param {*} [options] Override http request option.
|
|
501
500
|
* @throws {RequiredError}
|
|
502
501
|
*/
|
|
503
|
-
getGuideInfo:
|
|
502
|
+
getGuideInfo: async (options = {}) => {
|
|
504
503
|
const localVarPath = `/LiveTv/GuideInfo`;
|
|
505
504
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
506
505
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -508,19 +507,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
508
507
|
if (configuration) {
|
|
509
508
|
baseOptions = configuration.baseOptions;
|
|
510
509
|
}
|
|
511
|
-
const localVarRequestOptions =
|
|
510
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
512
511
|
const localVarHeaderParameter = {};
|
|
513
512
|
const localVarQueryParameter = {};
|
|
514
513
|
// authentication CustomAuthentication required
|
|
515
|
-
|
|
514
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
516
515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
517
516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
-
localVarRequestOptions.headers =
|
|
517
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
519
518
|
return {
|
|
520
519
|
url: toPathString(localVarUrlObj),
|
|
521
520
|
options: localVarRequestOptions,
|
|
522
521
|
};
|
|
523
|
-
}
|
|
522
|
+
},
|
|
524
523
|
/**
|
|
525
524
|
*
|
|
526
525
|
* @summary Gets available lineups.
|
|
@@ -531,7 +530,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
531
530
|
* @param {*} [options] Override http request option.
|
|
532
531
|
* @throws {RequiredError}
|
|
533
532
|
*/
|
|
534
|
-
getLineups:
|
|
533
|
+
getLineups: async (id, type, location, country, options = {}) => {
|
|
535
534
|
const localVarPath = `/LiveTv/ListingProviders/Lineups`;
|
|
536
535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
537
536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -539,11 +538,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
539
538
|
if (configuration) {
|
|
540
539
|
baseOptions = configuration.baseOptions;
|
|
541
540
|
}
|
|
542
|
-
const localVarRequestOptions =
|
|
541
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
543
542
|
const localVarHeaderParameter = {};
|
|
544
543
|
const localVarQueryParameter = {};
|
|
545
544
|
// authentication CustomAuthentication required
|
|
546
|
-
|
|
545
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
547
546
|
if (id !== undefined) {
|
|
548
547
|
localVarQueryParameter['id'] = id;
|
|
549
548
|
}
|
|
@@ -558,12 +557,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
558
557
|
}
|
|
559
558
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
560
559
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
561
|
-
localVarRequestOptions.headers =
|
|
560
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
562
561
|
return {
|
|
563
562
|
url: toPathString(localVarUrlObj),
|
|
564
563
|
options: localVarRequestOptions,
|
|
565
564
|
};
|
|
566
|
-
}
|
|
565
|
+
},
|
|
567
566
|
/**
|
|
568
567
|
*
|
|
569
568
|
* @summary Gets a live tv recording stream.
|
|
@@ -571,7 +570,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
571
570
|
* @param {*} [options] Override http request option.
|
|
572
571
|
* @throws {RequiredError}
|
|
573
572
|
*/
|
|
574
|
-
getLiveRecordingFile:
|
|
573
|
+
getLiveRecordingFile: async (recordingId, options = {}) => {
|
|
575
574
|
// verify required parameter 'recordingId' is not null or undefined
|
|
576
575
|
assertParamExists('getLiveRecordingFile', 'recordingId', recordingId);
|
|
577
576
|
const localVarPath = `/LiveTv/LiveRecordings/{recordingId}/stream`
|
|
@@ -582,17 +581,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
582
581
|
if (configuration) {
|
|
583
582
|
baseOptions = configuration.baseOptions;
|
|
584
583
|
}
|
|
585
|
-
const localVarRequestOptions =
|
|
584
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
586
585
|
const localVarHeaderParameter = {};
|
|
587
586
|
const localVarQueryParameter = {};
|
|
588
587
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
589
588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
|
-
localVarRequestOptions.headers =
|
|
589
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
591
590
|
return {
|
|
592
591
|
url: toPathString(localVarUrlObj),
|
|
593
592
|
options: localVarRequestOptions,
|
|
594
593
|
};
|
|
595
|
-
}
|
|
594
|
+
},
|
|
596
595
|
/**
|
|
597
596
|
*
|
|
598
597
|
* @summary Gets a live tv channel stream.
|
|
@@ -601,7 +600,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
601
600
|
* @param {*} [options] Override http request option.
|
|
602
601
|
* @throws {RequiredError}
|
|
603
602
|
*/
|
|
604
|
-
getLiveStreamFile:
|
|
603
|
+
getLiveStreamFile: async (streamId, container, options = {}) => {
|
|
605
604
|
// verify required parameter 'streamId' is not null or undefined
|
|
606
605
|
assertParamExists('getLiveStreamFile', 'streamId', streamId);
|
|
607
606
|
// verify required parameter 'container' is not null or undefined
|
|
@@ -615,17 +614,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
615
614
|
if (configuration) {
|
|
616
615
|
baseOptions = configuration.baseOptions;
|
|
617
616
|
}
|
|
618
|
-
const localVarRequestOptions =
|
|
617
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
619
618
|
const localVarHeaderParameter = {};
|
|
620
619
|
const localVarQueryParameter = {};
|
|
621
620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
622
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
623
|
-
localVarRequestOptions.headers =
|
|
622
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
624
623
|
return {
|
|
625
624
|
url: toPathString(localVarUrlObj),
|
|
626
625
|
options: localVarRequestOptions,
|
|
627
626
|
};
|
|
628
|
-
}
|
|
627
|
+
},
|
|
629
628
|
/**
|
|
630
629
|
*
|
|
631
630
|
* @summary Gets available live tv channels.
|
|
@@ -653,7 +652,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
653
652
|
* @param {*} [options] Override http request option.
|
|
654
653
|
* @throws {RequiredError}
|
|
655
654
|
*/
|
|
656
|
-
getLiveTvChannels:
|
|
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 = {}) => {
|
|
657
656
|
const localVarPath = `/LiveTv/Channels`;
|
|
658
657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
659
658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -661,11 +660,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
661
660
|
if (configuration) {
|
|
662
661
|
baseOptions = configuration.baseOptions;
|
|
663
662
|
}
|
|
664
|
-
const localVarRequestOptions =
|
|
663
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
665
664
|
const localVarHeaderParameter = {};
|
|
666
665
|
const localVarQueryParameter = {};
|
|
667
666
|
// authentication CustomAuthentication required
|
|
668
|
-
|
|
667
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
669
668
|
if (type !== undefined) {
|
|
670
669
|
localVarQueryParameter['type'] = type;
|
|
671
670
|
}
|
|
@@ -731,19 +730,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
731
730
|
}
|
|
732
731
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
733
732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
734
|
-
localVarRequestOptions.headers =
|
|
733
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
735
734
|
return {
|
|
736
735
|
url: toPathString(localVarUrlObj),
|
|
737
736
|
options: localVarRequestOptions,
|
|
738
737
|
};
|
|
739
|
-
}
|
|
738
|
+
},
|
|
740
739
|
/**
|
|
741
740
|
*
|
|
742
741
|
* @summary Gets available live tv services.
|
|
743
742
|
* @param {*} [options] Override http request option.
|
|
744
743
|
* @throws {RequiredError}
|
|
745
744
|
*/
|
|
746
|
-
getLiveTvInfo:
|
|
745
|
+
getLiveTvInfo: async (options = {}) => {
|
|
747
746
|
const localVarPath = `/LiveTv/Info`;
|
|
748
747
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
749
748
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -751,19 +750,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
751
750
|
if (configuration) {
|
|
752
751
|
baseOptions = configuration.baseOptions;
|
|
753
752
|
}
|
|
754
|
-
const localVarRequestOptions =
|
|
753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
755
754
|
const localVarHeaderParameter = {};
|
|
756
755
|
const localVarQueryParameter = {};
|
|
757
756
|
// authentication CustomAuthentication required
|
|
758
|
-
|
|
757
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
759
758
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
760
759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
761
|
-
localVarRequestOptions.headers =
|
|
760
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
762
761
|
return {
|
|
763
762
|
url: toPathString(localVarUrlObj),
|
|
764
763
|
options: localVarRequestOptions,
|
|
765
764
|
};
|
|
766
|
-
}
|
|
765
|
+
},
|
|
767
766
|
/**
|
|
768
767
|
*
|
|
769
768
|
* @summary Gets available live tv epgs.
|
|
@@ -797,7 +796,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
797
796
|
* @param {*} [options] Override http request option.
|
|
798
797
|
* @throws {RequiredError}
|
|
799
798
|
*/
|
|
800
|
-
getLiveTvPrograms:
|
|
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 = {}) => {
|
|
801
800
|
const localVarPath = `/LiveTv/Programs`;
|
|
802
801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
803
802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -805,11 +804,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
805
804
|
if (configuration) {
|
|
806
805
|
baseOptions = configuration.baseOptions;
|
|
807
806
|
}
|
|
808
|
-
const localVarRequestOptions =
|
|
807
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
809
808
|
const localVarHeaderParameter = {};
|
|
810
809
|
const localVarQueryParameter = {};
|
|
811
810
|
// authentication CustomAuthentication required
|
|
812
|
-
|
|
811
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
813
812
|
if (channelIds) {
|
|
814
813
|
localVarQueryParameter['channelIds'] = channelIds;
|
|
815
814
|
}
|
|
@@ -901,12 +900,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
901
900
|
}
|
|
902
901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
903
902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
904
|
-
localVarRequestOptions.headers =
|
|
903
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
905
904
|
return {
|
|
906
905
|
url: toPathString(localVarUrlObj),
|
|
907
906
|
options: localVarRequestOptions,
|
|
908
907
|
};
|
|
909
|
-
}
|
|
908
|
+
},
|
|
910
909
|
/**
|
|
911
910
|
*
|
|
912
911
|
* @summary Gets a live tv program.
|
|
@@ -915,7 +914,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
915
914
|
* @param {*} [options] Override http request option.
|
|
916
915
|
* @throws {RequiredError}
|
|
917
916
|
*/
|
|
918
|
-
getProgram:
|
|
917
|
+
getProgram: async (programId, userId, options = {}) => {
|
|
919
918
|
// verify required parameter 'programId' is not null or undefined
|
|
920
919
|
assertParamExists('getProgram', 'programId', programId);
|
|
921
920
|
const localVarPath = `/LiveTv/Programs/{programId}`
|
|
@@ -926,22 +925,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
926
925
|
if (configuration) {
|
|
927
926
|
baseOptions = configuration.baseOptions;
|
|
928
927
|
}
|
|
929
|
-
const localVarRequestOptions =
|
|
928
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
930
929
|
const localVarHeaderParameter = {};
|
|
931
930
|
const localVarQueryParameter = {};
|
|
932
931
|
// authentication CustomAuthentication required
|
|
933
|
-
|
|
932
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
934
933
|
if (userId !== undefined) {
|
|
935
934
|
localVarQueryParameter['userId'] = userId;
|
|
936
935
|
}
|
|
937
936
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
938
937
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
939
|
-
localVarRequestOptions.headers =
|
|
938
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
940
939
|
return {
|
|
941
940
|
url: toPathString(localVarUrlObj),
|
|
942
941
|
options: localVarRequestOptions,
|
|
943
942
|
};
|
|
944
|
-
}
|
|
943
|
+
},
|
|
945
944
|
/**
|
|
946
945
|
*
|
|
947
946
|
* @summary Gets available live tv epgs.
|
|
@@ -949,7 +948,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
949
948
|
* @param {*} [options] Override http request option.
|
|
950
949
|
* @throws {RequiredError}
|
|
951
950
|
*/
|
|
952
|
-
getPrograms:
|
|
951
|
+
getPrograms: async (getProgramsDto, options = {}) => {
|
|
953
952
|
const localVarPath = `/LiveTv/Programs`;
|
|
954
953
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
955
954
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -957,21 +956,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
957
956
|
if (configuration) {
|
|
958
957
|
baseOptions = configuration.baseOptions;
|
|
959
958
|
}
|
|
960
|
-
const localVarRequestOptions =
|
|
959
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
961
960
|
const localVarHeaderParameter = {};
|
|
962
961
|
const localVarQueryParameter = {};
|
|
963
962
|
// authentication CustomAuthentication required
|
|
964
|
-
|
|
963
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
965
964
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
966
965
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
967
966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
968
|
-
localVarRequestOptions.headers =
|
|
967
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
969
968
|
localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration);
|
|
970
969
|
return {
|
|
971
970
|
url: toPathString(localVarUrlObj),
|
|
972
971
|
options: localVarRequestOptions,
|
|
973
972
|
};
|
|
974
|
-
}
|
|
973
|
+
},
|
|
975
974
|
/**
|
|
976
975
|
*
|
|
977
976
|
* @summary Gets recommended live tv epgs.
|
|
@@ -994,7 +993,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
994
993
|
* @param {*} [options] Override http request option.
|
|
995
994
|
* @throws {RequiredError}
|
|
996
995
|
*/
|
|
997
|
-
getRecommendedPrograms:
|
|
996
|
+
getRecommendedPrograms: async (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
998
997
|
const localVarPath = `/LiveTv/Programs/Recommended`;
|
|
999
998
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1000
999
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1002,11 +1001,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1002
1001
|
if (configuration) {
|
|
1003
1002
|
baseOptions = configuration.baseOptions;
|
|
1004
1003
|
}
|
|
1005
|
-
const localVarRequestOptions =
|
|
1004
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1006
1005
|
const localVarHeaderParameter = {};
|
|
1007
1006
|
const localVarQueryParameter = {};
|
|
1008
1007
|
// authentication CustomAuthentication required
|
|
1009
|
-
|
|
1008
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1010
1009
|
if (userId !== undefined) {
|
|
1011
1010
|
localVarQueryParameter['userId'] = userId;
|
|
1012
1011
|
}
|
|
@@ -1057,12 +1056,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1057
1056
|
}
|
|
1058
1057
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1059
1058
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1060
|
-
localVarRequestOptions.headers =
|
|
1059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1061
1060
|
return {
|
|
1062
1061
|
url: toPathString(localVarUrlObj),
|
|
1063
1062
|
options: localVarRequestOptions,
|
|
1064
1063
|
};
|
|
1065
|
-
}
|
|
1064
|
+
},
|
|
1066
1065
|
/**
|
|
1067
1066
|
*
|
|
1068
1067
|
* @summary Gets a live tv recording.
|
|
@@ -1071,7 +1070,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1071
1070
|
* @param {*} [options] Override http request option.
|
|
1072
1071
|
* @throws {RequiredError}
|
|
1073
1072
|
*/
|
|
1074
|
-
getRecording:
|
|
1073
|
+
getRecording: async (recordingId, userId, options = {}) => {
|
|
1075
1074
|
// verify required parameter 'recordingId' is not null or undefined
|
|
1076
1075
|
assertParamExists('getRecording', 'recordingId', recordingId);
|
|
1077
1076
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -1082,22 +1081,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1082
1081
|
if (configuration) {
|
|
1083
1082
|
baseOptions = configuration.baseOptions;
|
|
1084
1083
|
}
|
|
1085
|
-
const localVarRequestOptions =
|
|
1084
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1086
1085
|
const localVarHeaderParameter = {};
|
|
1087
1086
|
const localVarQueryParameter = {};
|
|
1088
1087
|
// authentication CustomAuthentication required
|
|
1089
|
-
|
|
1088
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1090
1089
|
if (userId !== undefined) {
|
|
1091
1090
|
localVarQueryParameter['userId'] = userId;
|
|
1092
1091
|
}
|
|
1093
1092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1094
1093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1095
|
-
localVarRequestOptions.headers =
|
|
1094
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1096
1095
|
return {
|
|
1097
1096
|
url: toPathString(localVarUrlObj),
|
|
1098
1097
|
options: localVarRequestOptions,
|
|
1099
1098
|
};
|
|
1100
|
-
}
|
|
1099
|
+
},
|
|
1101
1100
|
/**
|
|
1102
1101
|
*
|
|
1103
1102
|
* @summary Gets recording folders.
|
|
@@ -1105,7 +1104,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1105
1104
|
* @param {*} [options] Override http request option.
|
|
1106
1105
|
* @throws {RequiredError}
|
|
1107
1106
|
*/
|
|
1108
|
-
getRecordingFolders:
|
|
1107
|
+
getRecordingFolders: async (userId, options = {}) => {
|
|
1109
1108
|
const localVarPath = `/LiveTv/Recordings/Folders`;
|
|
1110
1109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1111
1110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1113,22 +1112,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1113
1112
|
if (configuration) {
|
|
1114
1113
|
baseOptions = configuration.baseOptions;
|
|
1115
1114
|
}
|
|
1116
|
-
const localVarRequestOptions =
|
|
1115
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1117
1116
|
const localVarHeaderParameter = {};
|
|
1118
1117
|
const localVarQueryParameter = {};
|
|
1119
1118
|
// authentication CustomAuthentication required
|
|
1120
|
-
|
|
1119
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1121
1120
|
if (userId !== undefined) {
|
|
1122
1121
|
localVarQueryParameter['userId'] = userId;
|
|
1123
1122
|
}
|
|
1124
1123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1125
1124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1126
|
-
localVarRequestOptions.headers =
|
|
1125
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1127
1126
|
return {
|
|
1128
1127
|
url: toPathString(localVarUrlObj),
|
|
1129
1128
|
options: localVarRequestOptions,
|
|
1130
1129
|
};
|
|
1131
|
-
}
|
|
1130
|
+
},
|
|
1132
1131
|
/**
|
|
1133
1132
|
*
|
|
1134
1133
|
* @summary Get recording group.
|
|
@@ -1137,7 +1136,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1137
1136
|
* @deprecated
|
|
1138
1137
|
* @throws {RequiredError}
|
|
1139
1138
|
*/
|
|
1140
|
-
getRecordingGroup:
|
|
1139
|
+
getRecordingGroup: async (groupId, options = {}) => {
|
|
1141
1140
|
// verify required parameter 'groupId' is not null or undefined
|
|
1142
1141
|
assertParamExists('getRecordingGroup', 'groupId', groupId);
|
|
1143
1142
|
const localVarPath = `/LiveTv/Recordings/Groups/{groupId}`
|
|
@@ -1148,19 +1147,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1148
1147
|
if (configuration) {
|
|
1149
1148
|
baseOptions = configuration.baseOptions;
|
|
1150
1149
|
}
|
|
1151
|
-
const localVarRequestOptions =
|
|
1150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1152
1151
|
const localVarHeaderParameter = {};
|
|
1153
1152
|
const localVarQueryParameter = {};
|
|
1154
1153
|
// authentication CustomAuthentication required
|
|
1155
|
-
|
|
1154
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1156
1155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1157
1156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1158
|
-
localVarRequestOptions.headers =
|
|
1157
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1159
1158
|
return {
|
|
1160
1159
|
url: toPathString(localVarUrlObj),
|
|
1161
1160
|
options: localVarRequestOptions,
|
|
1162
1161
|
};
|
|
1163
|
-
}
|
|
1162
|
+
},
|
|
1164
1163
|
/**
|
|
1165
1164
|
*
|
|
1166
1165
|
* @summary Gets live tv recording groups.
|
|
@@ -1169,7 +1168,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1169
1168
|
* @deprecated
|
|
1170
1169
|
* @throws {RequiredError}
|
|
1171
1170
|
*/
|
|
1172
|
-
getRecordingGroups:
|
|
1171
|
+
getRecordingGroups: async (userId, options = {}) => {
|
|
1173
1172
|
const localVarPath = `/LiveTv/Recordings/Groups`;
|
|
1174
1173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1175
1174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1177,22 +1176,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1176
|
if (configuration) {
|
|
1178
1177
|
baseOptions = configuration.baseOptions;
|
|
1179
1178
|
}
|
|
1180
|
-
const localVarRequestOptions =
|
|
1179
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1181
1180
|
const localVarHeaderParameter = {};
|
|
1182
1181
|
const localVarQueryParameter = {};
|
|
1183
1182
|
// authentication CustomAuthentication required
|
|
1184
|
-
|
|
1183
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1185
1184
|
if (userId !== undefined) {
|
|
1186
1185
|
localVarQueryParameter['userId'] = userId;
|
|
1187
1186
|
}
|
|
1188
1187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1189
1188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1190
|
-
localVarRequestOptions.headers =
|
|
1189
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1191
1190
|
return {
|
|
1192
1191
|
url: toPathString(localVarUrlObj),
|
|
1193
1192
|
options: localVarRequestOptions,
|
|
1194
1193
|
};
|
|
1195
|
-
}
|
|
1194
|
+
},
|
|
1196
1195
|
/**
|
|
1197
1196
|
*
|
|
1198
1197
|
* @summary Gets live tv recordings.
|
|
@@ -1218,7 +1217,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1218
1217
|
* @param {*} [options] Override http request option.
|
|
1219
1218
|
* @throws {RequiredError}
|
|
1220
1219
|
*/
|
|
1221
|
-
getRecordings:
|
|
1220
|
+
getRecordings: async (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) => {
|
|
1222
1221
|
const localVarPath = `/LiveTv/Recordings`;
|
|
1223
1222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1224
1223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1226,11 +1225,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1226
1225
|
if (configuration) {
|
|
1227
1226
|
baseOptions = configuration.baseOptions;
|
|
1228
1227
|
}
|
|
1229
|
-
const localVarRequestOptions =
|
|
1228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1230
1229
|
const localVarHeaderParameter = {};
|
|
1231
1230
|
const localVarQueryParameter = {};
|
|
1232
1231
|
// authentication CustomAuthentication required
|
|
1233
|
-
|
|
1232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1234
1233
|
if (channelId !== undefined) {
|
|
1235
1234
|
localVarQueryParameter['channelId'] = channelId;
|
|
1236
1235
|
}
|
|
@@ -1290,12 +1289,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1290
1289
|
}
|
|
1291
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1292
1291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1293
|
-
localVarRequestOptions.headers =
|
|
1292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1294
1293
|
return {
|
|
1295
1294
|
url: toPathString(localVarUrlObj),
|
|
1296
1295
|
options: localVarRequestOptions,
|
|
1297
1296
|
};
|
|
1298
|
-
}
|
|
1297
|
+
},
|
|
1299
1298
|
/**
|
|
1300
1299
|
*
|
|
1301
1300
|
* @summary Gets live tv recording series.
|
|
@@ -1317,7 +1316,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1317
1316
|
* @deprecated
|
|
1318
1317
|
* @throws {RequiredError}
|
|
1319
1318
|
*/
|
|
1320
|
-
getRecordingsSeries:
|
|
1319
|
+
getRecordingsSeries: async (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
1321
1320
|
const localVarPath = `/LiveTv/Recordings/Series`;
|
|
1322
1321
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1323
1322
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1325,11 +1324,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1324
|
if (configuration) {
|
|
1326
1325
|
baseOptions = configuration.baseOptions;
|
|
1327
1326
|
}
|
|
1328
|
-
const localVarRequestOptions =
|
|
1327
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1329
1328
|
const localVarHeaderParameter = {};
|
|
1330
1329
|
const localVarQueryParameter = {};
|
|
1331
1330
|
// authentication CustomAuthentication required
|
|
1332
|
-
|
|
1331
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1333
1332
|
if (channelId !== undefined) {
|
|
1334
1333
|
localVarQueryParameter['channelId'] = channelId;
|
|
1335
1334
|
}
|
|
@@ -1374,19 +1373,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1374
1373
|
}
|
|
1375
1374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1376
1375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1377
|
-
localVarRequestOptions.headers =
|
|
1376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1378
1377
|
return {
|
|
1379
1378
|
url: toPathString(localVarUrlObj),
|
|
1380
1379
|
options: localVarRequestOptions,
|
|
1381
1380
|
};
|
|
1382
|
-
}
|
|
1381
|
+
},
|
|
1383
1382
|
/**
|
|
1384
1383
|
*
|
|
1385
1384
|
* @summary Gets available countries.
|
|
1386
1385
|
* @param {*} [options] Override http request option.
|
|
1387
1386
|
* @throws {RequiredError}
|
|
1388
1387
|
*/
|
|
1389
|
-
getSchedulesDirectCountries:
|
|
1388
|
+
getSchedulesDirectCountries: async (options = {}) => {
|
|
1390
1389
|
const localVarPath = `/LiveTv/ListingProviders/SchedulesDirect/Countries`;
|
|
1391
1390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1392
1391
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1394,19 +1393,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1393
|
if (configuration) {
|
|
1395
1394
|
baseOptions = configuration.baseOptions;
|
|
1396
1395
|
}
|
|
1397
|
-
const localVarRequestOptions =
|
|
1396
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1398
1397
|
const localVarHeaderParameter = {};
|
|
1399
1398
|
const localVarQueryParameter = {};
|
|
1400
1399
|
// authentication CustomAuthentication required
|
|
1401
|
-
|
|
1400
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1402
1401
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1403
1402
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1404
|
-
localVarRequestOptions.headers =
|
|
1403
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1405
1404
|
return {
|
|
1406
1405
|
url: toPathString(localVarUrlObj),
|
|
1407
1406
|
options: localVarRequestOptions,
|
|
1408
1407
|
};
|
|
1409
|
-
}
|
|
1408
|
+
},
|
|
1410
1409
|
/**
|
|
1411
1410
|
*
|
|
1412
1411
|
* @summary Gets a live tv series timer.
|
|
@@ -1414,7 +1413,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1414
1413
|
* @param {*} [options] Override http request option.
|
|
1415
1414
|
* @throws {RequiredError}
|
|
1416
1415
|
*/
|
|
1417
|
-
getSeriesTimer:
|
|
1416
|
+
getSeriesTimer: async (timerId, options = {}) => {
|
|
1418
1417
|
// verify required parameter 'timerId' is not null or undefined
|
|
1419
1418
|
assertParamExists('getSeriesTimer', 'timerId', timerId);
|
|
1420
1419
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1425,19 +1424,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1425
1424
|
if (configuration) {
|
|
1426
1425
|
baseOptions = configuration.baseOptions;
|
|
1427
1426
|
}
|
|
1428
|
-
const localVarRequestOptions =
|
|
1427
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1429
1428
|
const localVarHeaderParameter = {};
|
|
1430
1429
|
const localVarQueryParameter = {};
|
|
1431
1430
|
// authentication CustomAuthentication required
|
|
1432
|
-
|
|
1431
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1433
1432
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1434
1433
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1435
|
-
localVarRequestOptions.headers =
|
|
1434
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1436
1435
|
return {
|
|
1437
1436
|
url: toPathString(localVarUrlObj),
|
|
1438
1437
|
options: localVarRequestOptions,
|
|
1439
1438
|
};
|
|
1440
|
-
}
|
|
1439
|
+
},
|
|
1441
1440
|
/**
|
|
1442
1441
|
*
|
|
1443
1442
|
* @summary Gets live tv series timers.
|
|
@@ -1446,7 +1445,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1446
1445
|
* @param {*} [options] Override http request option.
|
|
1447
1446
|
* @throws {RequiredError}
|
|
1448
1447
|
*/
|
|
1449
|
-
getSeriesTimers:
|
|
1448
|
+
getSeriesTimers: async (sortBy, sortOrder, options = {}) => {
|
|
1450
1449
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
1451
1450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1452
1451
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1454,11 +1453,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1453
|
if (configuration) {
|
|
1455
1454
|
baseOptions = configuration.baseOptions;
|
|
1456
1455
|
}
|
|
1457
|
-
const localVarRequestOptions =
|
|
1456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1458
1457
|
const localVarHeaderParameter = {};
|
|
1459
1458
|
const localVarQueryParameter = {};
|
|
1460
1459
|
// authentication CustomAuthentication required
|
|
1461
|
-
|
|
1460
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1462
1461
|
if (sortBy !== undefined) {
|
|
1463
1462
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
1464
1463
|
}
|
|
@@ -1467,12 +1466,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1467
1466
|
}
|
|
1468
1467
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1469
1468
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1470
|
-
localVarRequestOptions.headers =
|
|
1469
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1471
1470
|
return {
|
|
1472
1471
|
url: toPathString(localVarUrlObj),
|
|
1473
1472
|
options: localVarRequestOptions,
|
|
1474
1473
|
};
|
|
1475
|
-
}
|
|
1474
|
+
},
|
|
1476
1475
|
/**
|
|
1477
1476
|
*
|
|
1478
1477
|
* @summary Gets a timer.
|
|
@@ -1480,7 +1479,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1480
1479
|
* @param {*} [options] Override http request option.
|
|
1481
1480
|
* @throws {RequiredError}
|
|
1482
1481
|
*/
|
|
1483
|
-
getTimer:
|
|
1482
|
+
getTimer: async (timerId, options = {}) => {
|
|
1484
1483
|
// verify required parameter 'timerId' is not null or undefined
|
|
1485
1484
|
assertParamExists('getTimer', 'timerId', timerId);
|
|
1486
1485
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1491,19 +1490,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1491
1490
|
if (configuration) {
|
|
1492
1491
|
baseOptions = configuration.baseOptions;
|
|
1493
1492
|
}
|
|
1494
|
-
const localVarRequestOptions =
|
|
1493
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1495
1494
|
const localVarHeaderParameter = {};
|
|
1496
1495
|
const localVarQueryParameter = {};
|
|
1497
1496
|
// authentication CustomAuthentication required
|
|
1498
|
-
|
|
1497
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1499
1498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1500
1499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1501
|
-
localVarRequestOptions.headers =
|
|
1500
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1502
1501
|
return {
|
|
1503
1502
|
url: toPathString(localVarUrlObj),
|
|
1504
1503
|
options: localVarRequestOptions,
|
|
1505
1504
|
};
|
|
1506
|
-
}
|
|
1505
|
+
},
|
|
1507
1506
|
/**
|
|
1508
1507
|
*
|
|
1509
1508
|
* @summary Gets the live tv timers.
|
|
@@ -1514,7 +1513,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1514
1513
|
* @param {*} [options] Override http request option.
|
|
1515
1514
|
* @throws {RequiredError}
|
|
1516
1515
|
*/
|
|
1517
|
-
getTimers:
|
|
1516
|
+
getTimers: async (channelId, seriesTimerId, isActive, isScheduled, options = {}) => {
|
|
1518
1517
|
const localVarPath = `/LiveTv/Timers`;
|
|
1519
1518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1520
1519
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1522,11 +1521,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1522
1521
|
if (configuration) {
|
|
1523
1522
|
baseOptions = configuration.baseOptions;
|
|
1524
1523
|
}
|
|
1525
|
-
const localVarRequestOptions =
|
|
1524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1526
1525
|
const localVarHeaderParameter = {};
|
|
1527
1526
|
const localVarQueryParameter = {};
|
|
1528
1527
|
// authentication CustomAuthentication required
|
|
1529
|
-
|
|
1528
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1530
1529
|
if (channelId !== undefined) {
|
|
1531
1530
|
localVarQueryParameter['channelId'] = channelId;
|
|
1532
1531
|
}
|
|
@@ -1541,19 +1540,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1541
1540
|
}
|
|
1542
1541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1543
1542
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1544
|
-
localVarRequestOptions.headers =
|
|
1543
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1545
1544
|
return {
|
|
1546
1545
|
url: toPathString(localVarUrlObj),
|
|
1547
1546
|
options: localVarRequestOptions,
|
|
1548
1547
|
};
|
|
1549
|
-
}
|
|
1548
|
+
},
|
|
1550
1549
|
/**
|
|
1551
1550
|
*
|
|
1552
1551
|
* @summary Get tuner host types.
|
|
1553
1552
|
* @param {*} [options] Override http request option.
|
|
1554
1553
|
* @throws {RequiredError}
|
|
1555
1554
|
*/
|
|
1556
|
-
getTunerHostTypes:
|
|
1555
|
+
getTunerHostTypes: async (options = {}) => {
|
|
1557
1556
|
const localVarPath = `/LiveTv/TunerHosts/Types`;
|
|
1558
1557
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1559
1558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1561,19 +1560,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1561
1560
|
if (configuration) {
|
|
1562
1561
|
baseOptions = configuration.baseOptions;
|
|
1563
1562
|
}
|
|
1564
|
-
const localVarRequestOptions =
|
|
1563
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1565
1564
|
const localVarHeaderParameter = {};
|
|
1566
1565
|
const localVarQueryParameter = {};
|
|
1567
1566
|
// authentication CustomAuthentication required
|
|
1568
|
-
|
|
1567
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1569
1568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1570
1569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1571
|
-
localVarRequestOptions.headers =
|
|
1570
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1572
1571
|
return {
|
|
1573
1572
|
url: toPathString(localVarUrlObj),
|
|
1574
1573
|
options: localVarRequestOptions,
|
|
1575
1574
|
};
|
|
1576
|
-
}
|
|
1575
|
+
},
|
|
1577
1576
|
/**
|
|
1578
1577
|
*
|
|
1579
1578
|
* @summary Resets a tv tuner.
|
|
@@ -1581,7 +1580,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1581
1580
|
* @param {*} [options] Override http request option.
|
|
1582
1581
|
* @throws {RequiredError}
|
|
1583
1582
|
*/
|
|
1584
|
-
resetTuner:
|
|
1583
|
+
resetTuner: async (tunerId, options = {}) => {
|
|
1585
1584
|
// verify required parameter 'tunerId' is not null or undefined
|
|
1586
1585
|
assertParamExists('resetTuner', 'tunerId', tunerId);
|
|
1587
1586
|
const localVarPath = `/LiveTv/Tuners/{tunerId}/Reset`
|
|
@@ -1592,19 +1591,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1592
1591
|
if (configuration) {
|
|
1593
1592
|
baseOptions = configuration.baseOptions;
|
|
1594
1593
|
}
|
|
1595
|
-
const localVarRequestOptions =
|
|
1594
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1596
1595
|
const localVarHeaderParameter = {};
|
|
1597
1596
|
const localVarQueryParameter = {};
|
|
1598
1597
|
// authentication CustomAuthentication required
|
|
1599
|
-
|
|
1598
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1600
1599
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1601
1600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1602
|
-
localVarRequestOptions.headers =
|
|
1601
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1603
1602
|
return {
|
|
1604
1603
|
url: toPathString(localVarUrlObj),
|
|
1605
1604
|
options: localVarRequestOptions,
|
|
1606
1605
|
};
|
|
1607
|
-
}
|
|
1606
|
+
},
|
|
1608
1607
|
/**
|
|
1609
1608
|
*
|
|
1610
1609
|
* @summary Set channel mappings.
|
|
@@ -1612,7 +1611,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1612
1611
|
* @param {*} [options] Override http request option.
|
|
1613
1612
|
* @throws {RequiredError}
|
|
1614
1613
|
*/
|
|
1615
|
-
setChannelMapping:
|
|
1614
|
+
setChannelMapping: async (setChannelMappingDto, options = {}) => {
|
|
1616
1615
|
// verify required parameter 'setChannelMappingDto' is not null or undefined
|
|
1617
1616
|
assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto);
|
|
1618
1617
|
const localVarPath = `/LiveTv/ChannelMappings`;
|
|
@@ -1622,21 +1621,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1622
1621
|
if (configuration) {
|
|
1623
1622
|
baseOptions = configuration.baseOptions;
|
|
1624
1623
|
}
|
|
1625
|
-
const localVarRequestOptions =
|
|
1624
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1626
1625
|
const localVarHeaderParameter = {};
|
|
1627
1626
|
const localVarQueryParameter = {};
|
|
1628
1627
|
// authentication CustomAuthentication required
|
|
1629
|
-
|
|
1628
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1630
1629
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1631
1630
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1632
1631
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1633
|
-
localVarRequestOptions.headers =
|
|
1632
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1634
1633
|
localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration);
|
|
1635
1634
|
return {
|
|
1636
1635
|
url: toPathString(localVarUrlObj),
|
|
1637
1636
|
options: localVarRequestOptions,
|
|
1638
1637
|
};
|
|
1639
|
-
}
|
|
1638
|
+
},
|
|
1640
1639
|
/**
|
|
1641
1640
|
*
|
|
1642
1641
|
* @summary Updates a live tv series timer.
|
|
@@ -1645,7 +1644,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1645
1644
|
* @param {*} [options] Override http request option.
|
|
1646
1645
|
* @throws {RequiredError}
|
|
1647
1646
|
*/
|
|
1648
|
-
updateSeriesTimer:
|
|
1647
|
+
updateSeriesTimer: async (timerId, seriesTimerInfoDto, options = {}) => {
|
|
1649
1648
|
// verify required parameter 'timerId' is not null or undefined
|
|
1650
1649
|
assertParamExists('updateSeriesTimer', 'timerId', timerId);
|
|
1651
1650
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1656,21 +1655,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1656
1655
|
if (configuration) {
|
|
1657
1656
|
baseOptions = configuration.baseOptions;
|
|
1658
1657
|
}
|
|
1659
|
-
const localVarRequestOptions =
|
|
1658
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1660
1659
|
const localVarHeaderParameter = {};
|
|
1661
1660
|
const localVarQueryParameter = {};
|
|
1662
1661
|
// authentication CustomAuthentication required
|
|
1663
|
-
|
|
1662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1664
1663
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1665
1664
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1666
1665
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1667
|
-
localVarRequestOptions.headers =
|
|
1666
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1668
1667
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
1669
1668
|
return {
|
|
1670
1669
|
url: toPathString(localVarUrlObj),
|
|
1671
1670
|
options: localVarRequestOptions,
|
|
1672
1671
|
};
|
|
1673
|
-
}
|
|
1672
|
+
},
|
|
1674
1673
|
/**
|
|
1675
1674
|
*
|
|
1676
1675
|
* @summary Updates a live tv timer.
|
|
@@ -1679,7 +1678,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1679
1678
|
* @param {*} [options] Override http request option.
|
|
1680
1679
|
* @throws {RequiredError}
|
|
1681
1680
|
*/
|
|
1682
|
-
updateTimer:
|
|
1681
|
+
updateTimer: async (timerId, timerInfoDto, options = {}) => {
|
|
1683
1682
|
// verify required parameter 'timerId' is not null or undefined
|
|
1684
1683
|
assertParamExists('updateTimer', 'timerId', timerId);
|
|
1685
1684
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1690,21 +1689,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1690
1689
|
if (configuration) {
|
|
1691
1690
|
baseOptions = configuration.baseOptions;
|
|
1692
1691
|
}
|
|
1693
|
-
const localVarRequestOptions =
|
|
1692
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1694
1693
|
const localVarHeaderParameter = {};
|
|
1695
1694
|
const localVarQueryParameter = {};
|
|
1696
1695
|
// authentication CustomAuthentication required
|
|
1697
|
-
|
|
1696
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1698
1697
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1699
1698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1700
1699
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1701
|
-
localVarRequestOptions.headers =
|
|
1700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1702
1701
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
1703
1702
|
return {
|
|
1704
1703
|
url: toPathString(localVarUrlObj),
|
|
1705
1704
|
options: localVarRequestOptions,
|
|
1706
1705
|
};
|
|
1707
|
-
}
|
|
1706
|
+
},
|
|
1708
1707
|
};
|
|
1709
1708
|
};
|
|
1710
1709
|
/**
|
|
@@ -1724,11 +1723,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1724
1723
|
* @param {*} [options] Override http request option.
|
|
1725
1724
|
* @throws {RequiredError}
|
|
1726
1725
|
*/
|
|
1727
|
-
addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1731
|
-
});
|
|
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);
|
|
1732
1729
|
},
|
|
1733
1730
|
/**
|
|
1734
1731
|
*
|
|
@@ -1737,11 +1734,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1737
1734
|
* @param {*} [options] Override http request option.
|
|
1738
1735
|
* @throws {RequiredError}
|
|
1739
1736
|
*/
|
|
1740
|
-
addTunerHost(tunerHostInfo, options) {
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1744
|
-
});
|
|
1737
|
+
async addTunerHost(tunerHostInfo, options) {
|
|
1738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
|
|
1739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1745
1740
|
},
|
|
1746
1741
|
/**
|
|
1747
1742
|
*
|
|
@@ -1750,11 +1745,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1750
1745
|
* @param {*} [options] Override http request option.
|
|
1751
1746
|
* @throws {RequiredError}
|
|
1752
1747
|
*/
|
|
1753
|
-
cancelSeriesTimer(timerId, options) {
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1757
|
-
});
|
|
1748
|
+
async cancelSeriesTimer(timerId, options) {
|
|
1749
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
|
|
1750
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1758
1751
|
},
|
|
1759
1752
|
/**
|
|
1760
1753
|
*
|
|
@@ -1763,11 +1756,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1763
1756
|
* @param {*} [options] Override http request option.
|
|
1764
1757
|
* @throws {RequiredError}
|
|
1765
1758
|
*/
|
|
1766
|
-
cancelTimer(timerId, options) {
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1770
|
-
});
|
|
1759
|
+
async cancelTimer(timerId, options) {
|
|
1760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelTimer(timerId, options);
|
|
1761
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1771
1762
|
},
|
|
1772
1763
|
/**
|
|
1773
1764
|
*
|
|
@@ -1776,11 +1767,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1776
1767
|
* @param {*} [options] Override http request option.
|
|
1777
1768
|
* @throws {RequiredError}
|
|
1778
1769
|
*/
|
|
1779
|
-
createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1783
|
-
});
|
|
1770
|
+
async createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
|
|
1772
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1784
1773
|
},
|
|
1785
1774
|
/**
|
|
1786
1775
|
*
|
|
@@ -1789,11 +1778,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1789
1778
|
* @param {*} [options] Override http request option.
|
|
1790
1779
|
* @throws {RequiredError}
|
|
1791
1780
|
*/
|
|
1792
|
-
createTimer(timerInfoDto, options) {
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1796
|
-
});
|
|
1781
|
+
async createTimer(timerInfoDto, options) {
|
|
1782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(timerInfoDto, options);
|
|
1783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1797
1784
|
},
|
|
1798
1785
|
/**
|
|
1799
1786
|
*
|
|
@@ -1802,11 +1789,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1802
1789
|
* @param {*} [options] Override http request option.
|
|
1803
1790
|
* @throws {RequiredError}
|
|
1804
1791
|
*/
|
|
1805
|
-
deleteListingProvider(id, options) {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1809
|
-
});
|
|
1792
|
+
async deleteListingProvider(id, options) {
|
|
1793
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteListingProvider(id, options);
|
|
1794
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1810
1795
|
},
|
|
1811
1796
|
/**
|
|
1812
1797
|
*
|
|
@@ -1815,11 +1800,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1815
1800
|
* @param {*} [options] Override http request option.
|
|
1816
1801
|
* @throws {RequiredError}
|
|
1817
1802
|
*/
|
|
1818
|
-
deleteRecording(recordingId, options) {
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1822
|
-
});
|
|
1803
|
+
async deleteRecording(recordingId, options) {
|
|
1804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(recordingId, options);
|
|
1805
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1823
1806
|
},
|
|
1824
1807
|
/**
|
|
1825
1808
|
*
|
|
@@ -1828,11 +1811,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1828
1811
|
* @param {*} [options] Override http request option.
|
|
1829
1812
|
* @throws {RequiredError}
|
|
1830
1813
|
*/
|
|
1831
|
-
deleteTunerHost(id, options) {
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1835
|
-
});
|
|
1814
|
+
async deleteTunerHost(id, options) {
|
|
1815
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTunerHost(id, options);
|
|
1816
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1836
1817
|
},
|
|
1837
1818
|
/**
|
|
1838
1819
|
*
|
|
@@ -1841,11 +1822,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1841
1822
|
* @param {*} [options] Override http request option.
|
|
1842
1823
|
* @throws {RequiredError}
|
|
1843
1824
|
*/
|
|
1844
|
-
discoverTuners(newDevicesOnly, options) {
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1848
|
-
});
|
|
1825
|
+
async discoverTuners(newDevicesOnly, options) {
|
|
1826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
|
|
1827
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1849
1828
|
},
|
|
1850
1829
|
/**
|
|
1851
1830
|
*
|
|
@@ -1854,11 +1833,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1854
1833
|
* @param {*} [options] Override http request option.
|
|
1855
1834
|
* @throws {RequiredError}
|
|
1856
1835
|
*/
|
|
1857
|
-
discvoverTuners(newDevicesOnly, options) {
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1861
|
-
});
|
|
1836
|
+
async discvoverTuners(newDevicesOnly, options) {
|
|
1837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
|
|
1838
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1862
1839
|
},
|
|
1863
1840
|
/**
|
|
1864
1841
|
*
|
|
@@ -1868,11 +1845,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1868
1845
|
* @param {*} [options] Override http request option.
|
|
1869
1846
|
* @throws {RequiredError}
|
|
1870
1847
|
*/
|
|
1871
|
-
getChannel(channelId, userId, options) {
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1875
|
-
});
|
|
1848
|
+
async getChannel(channelId, userId, options) {
|
|
1849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannel(channelId, userId, options);
|
|
1850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1876
1851
|
},
|
|
1877
1852
|
/**
|
|
1878
1853
|
*
|
|
@@ -1881,11 +1856,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1881
1856
|
* @param {*} [options] Override http request option.
|
|
1882
1857
|
* @throws {RequiredError}
|
|
1883
1858
|
*/
|
|
1884
|
-
getChannelMappingOptions(providerId, options) {
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1888
|
-
});
|
|
1859
|
+
async getChannelMappingOptions(providerId, options) {
|
|
1860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
|
|
1861
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1889
1862
|
},
|
|
1890
1863
|
/**
|
|
1891
1864
|
*
|
|
@@ -1893,11 +1866,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1893
1866
|
* @param {*} [options] Override http request option.
|
|
1894
1867
|
* @throws {RequiredError}
|
|
1895
1868
|
*/
|
|
1896
|
-
getDefaultListingProvider(options) {
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1900
|
-
});
|
|
1869
|
+
async getDefaultListingProvider(options) {
|
|
1870
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultListingProvider(options);
|
|
1871
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1901
1872
|
},
|
|
1902
1873
|
/**
|
|
1903
1874
|
*
|
|
@@ -1906,11 +1877,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1906
1877
|
* @param {*} [options] Override http request option.
|
|
1907
1878
|
* @throws {RequiredError}
|
|
1908
1879
|
*/
|
|
1909
|
-
getDefaultTimer(programId, options) {
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1913
|
-
});
|
|
1880
|
+
async getDefaultTimer(programId, options) {
|
|
1881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTimer(programId, options);
|
|
1882
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1914
1883
|
},
|
|
1915
1884
|
/**
|
|
1916
1885
|
*
|
|
@@ -1918,11 +1887,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1918
1887
|
* @param {*} [options] Override http request option.
|
|
1919
1888
|
* @throws {RequiredError}
|
|
1920
1889
|
*/
|
|
1921
|
-
getGuideInfo(options) {
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1925
|
-
});
|
|
1890
|
+
async getGuideInfo(options) {
|
|
1891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGuideInfo(options);
|
|
1892
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1926
1893
|
},
|
|
1927
1894
|
/**
|
|
1928
1895
|
*
|
|
@@ -1934,11 +1901,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1934
1901
|
* @param {*} [options] Override http request option.
|
|
1935
1902
|
* @throws {RequiredError}
|
|
1936
1903
|
*/
|
|
1937
|
-
getLineups(id, type, location, country, options) {
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1941
|
-
});
|
|
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);
|
|
1942
1907
|
},
|
|
1943
1908
|
/**
|
|
1944
1909
|
*
|
|
@@ -1947,11 +1912,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1947
1912
|
* @param {*} [options] Override http request option.
|
|
1948
1913
|
* @throws {RequiredError}
|
|
1949
1914
|
*/
|
|
1950
|
-
getLiveRecordingFile(recordingId, options) {
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1954
|
-
});
|
|
1915
|
+
async getLiveRecordingFile(recordingId, options) {
|
|
1916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
|
|
1917
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1955
1918
|
},
|
|
1956
1919
|
/**
|
|
1957
1920
|
*
|
|
@@ -1961,11 +1924,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1961
1924
|
* @param {*} [options] Override http request option.
|
|
1962
1925
|
* @throws {RequiredError}
|
|
1963
1926
|
*/
|
|
1964
|
-
getLiveStreamFile(streamId, container, options) {
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1968
|
-
});
|
|
1927
|
+
async getLiveStreamFile(streamId, container, options) {
|
|
1928
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
|
|
1929
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1969
1930
|
},
|
|
1970
1931
|
/**
|
|
1971
1932
|
*
|
|
@@ -1994,11 +1955,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1994
1955
|
* @param {*} [options] Override http request option.
|
|
1995
1956
|
* @throws {RequiredError}
|
|
1996
1957
|
*/
|
|
1997
|
-
getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2001
|
-
});
|
|
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);
|
|
2002
1961
|
},
|
|
2003
1962
|
/**
|
|
2004
1963
|
*
|
|
@@ -2006,11 +1965,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2006
1965
|
* @param {*} [options] Override http request option.
|
|
2007
1966
|
* @throws {RequiredError}
|
|
2008
1967
|
*/
|
|
2009
|
-
getLiveTvInfo(options) {
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2013
|
-
});
|
|
1968
|
+
async getLiveTvInfo(options) {
|
|
1969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvInfo(options);
|
|
1970
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2014
1971
|
},
|
|
2015
1972
|
/**
|
|
2016
1973
|
*
|
|
@@ -2045,11 +2002,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2045
2002
|
* @param {*} [options] Override http request option.
|
|
2046
2003
|
* @throws {RequiredError}
|
|
2047
2004
|
*/
|
|
2048
|
-
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) {
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2052
|
-
});
|
|
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);
|
|
2053
2008
|
},
|
|
2054
2009
|
/**
|
|
2055
2010
|
*
|
|
@@ -2059,11 +2014,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2059
2014
|
* @param {*} [options] Override http request option.
|
|
2060
2015
|
* @throws {RequiredError}
|
|
2061
2016
|
*/
|
|
2062
|
-
getProgram(programId, userId, options) {
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2066
|
-
});
|
|
2017
|
+
async getProgram(programId, userId, options) {
|
|
2018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(programId, userId, options);
|
|
2019
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2067
2020
|
},
|
|
2068
2021
|
/**
|
|
2069
2022
|
*
|
|
@@ -2072,11 +2025,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2072
2025
|
* @param {*} [options] Override http request option.
|
|
2073
2026
|
* @throws {RequiredError}
|
|
2074
2027
|
*/
|
|
2075
|
-
getPrograms(getProgramsDto, options) {
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2079
|
-
});
|
|
2028
|
+
async getPrograms(getProgramsDto, options) {
|
|
2029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
|
|
2030
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2080
2031
|
},
|
|
2081
2032
|
/**
|
|
2082
2033
|
*
|
|
@@ -2100,11 +2051,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2100
2051
|
* @param {*} [options] Override http request option.
|
|
2101
2052
|
* @throws {RequiredError}
|
|
2102
2053
|
*/
|
|
2103
|
-
getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2107
|
-
});
|
|
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);
|
|
2108
2057
|
},
|
|
2109
2058
|
/**
|
|
2110
2059
|
*
|
|
@@ -2114,11 +2063,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2114
2063
|
* @param {*} [options] Override http request option.
|
|
2115
2064
|
* @throws {RequiredError}
|
|
2116
2065
|
*/
|
|
2117
|
-
getRecording(recordingId, userId, options) {
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2121
|
-
});
|
|
2066
|
+
async getRecording(recordingId, userId, options) {
|
|
2067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(recordingId, userId, options);
|
|
2068
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2122
2069
|
},
|
|
2123
2070
|
/**
|
|
2124
2071
|
*
|
|
@@ -2127,11 +2074,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2127
2074
|
* @param {*} [options] Override http request option.
|
|
2128
2075
|
* @throws {RequiredError}
|
|
2129
2076
|
*/
|
|
2130
|
-
getRecordingFolders(userId, options) {
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2134
|
-
});
|
|
2077
|
+
async getRecordingFolders(userId, options) {
|
|
2078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingFolders(userId, options);
|
|
2079
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2135
2080
|
},
|
|
2136
2081
|
/**
|
|
2137
2082
|
*
|
|
@@ -2141,11 +2086,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2141
2086
|
* @deprecated
|
|
2142
2087
|
* @throws {RequiredError}
|
|
2143
2088
|
*/
|
|
2144
|
-
getRecordingGroup(groupId, options) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2148
|
-
});
|
|
2089
|
+
async getRecordingGroup(groupId, options) {
|
|
2090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroup(groupId, options);
|
|
2091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2149
2092
|
},
|
|
2150
2093
|
/**
|
|
2151
2094
|
*
|
|
@@ -2155,11 +2098,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2155
2098
|
* @deprecated
|
|
2156
2099
|
* @throws {RequiredError}
|
|
2157
2100
|
*/
|
|
2158
|
-
getRecordingGroups(userId, options) {
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2162
|
-
});
|
|
2101
|
+
async getRecordingGroups(userId, options) {
|
|
2102
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroups(userId, options);
|
|
2103
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2163
2104
|
},
|
|
2164
2105
|
/**
|
|
2165
2106
|
*
|
|
@@ -2186,11 +2127,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2186
2127
|
* @param {*} [options] Override http request option.
|
|
2187
2128
|
* @throws {RequiredError}
|
|
2188
2129
|
*/
|
|
2189
|
-
getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2193
|
-
});
|
|
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);
|
|
2194
2133
|
},
|
|
2195
2134
|
/**
|
|
2196
2135
|
*
|
|
@@ -2213,11 +2152,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2213
2152
|
* @deprecated
|
|
2214
2153
|
* @throws {RequiredError}
|
|
2215
2154
|
*/
|
|
2216
|
-
getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2220
|
-
});
|
|
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);
|
|
2221
2158
|
},
|
|
2222
2159
|
/**
|
|
2223
2160
|
*
|
|
@@ -2225,11 +2162,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2225
2162
|
* @param {*} [options] Override http request option.
|
|
2226
2163
|
* @throws {RequiredError}
|
|
2227
2164
|
*/
|
|
2228
|
-
getSchedulesDirectCountries(options) {
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2232
|
-
});
|
|
2165
|
+
async getSchedulesDirectCountries(options) {
|
|
2166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchedulesDirectCountries(options);
|
|
2167
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2233
2168
|
},
|
|
2234
2169
|
/**
|
|
2235
2170
|
*
|
|
@@ -2238,11 +2173,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2238
2173
|
* @param {*} [options] Override http request option.
|
|
2239
2174
|
* @throws {RequiredError}
|
|
2240
2175
|
*/
|
|
2241
|
-
getSeriesTimer(timerId, options) {
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2245
|
-
});
|
|
2176
|
+
async getSeriesTimer(timerId, options) {
|
|
2177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimer(timerId, options);
|
|
2178
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2246
2179
|
},
|
|
2247
2180
|
/**
|
|
2248
2181
|
*
|
|
@@ -2252,11 +2185,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2252
2185
|
* @param {*} [options] Override http request option.
|
|
2253
2186
|
* @throws {RequiredError}
|
|
2254
2187
|
*/
|
|
2255
|
-
getSeriesTimers(sortBy, sortOrder, options) {
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2259
|
-
});
|
|
2188
|
+
async getSeriesTimers(sortBy, sortOrder, options) {
|
|
2189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
|
|
2190
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2260
2191
|
},
|
|
2261
2192
|
/**
|
|
2262
2193
|
*
|
|
@@ -2265,11 +2196,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2265
2196
|
* @param {*} [options] Override http request option.
|
|
2266
2197
|
* @throws {RequiredError}
|
|
2267
2198
|
*/
|
|
2268
|
-
getTimer(timerId, options) {
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2272
|
-
});
|
|
2199
|
+
async getTimer(timerId, options) {
|
|
2200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimer(timerId, options);
|
|
2201
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2273
2202
|
},
|
|
2274
2203
|
/**
|
|
2275
2204
|
*
|
|
@@ -2281,11 +2210,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2281
2210
|
* @param {*} [options] Override http request option.
|
|
2282
2211
|
* @throws {RequiredError}
|
|
2283
2212
|
*/
|
|
2284
|
-
getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2288
|
-
});
|
|
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);
|
|
2289
2216
|
},
|
|
2290
2217
|
/**
|
|
2291
2218
|
*
|
|
@@ -2293,11 +2220,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2293
2220
|
* @param {*} [options] Override http request option.
|
|
2294
2221
|
* @throws {RequiredError}
|
|
2295
2222
|
*/
|
|
2296
|
-
getTunerHostTypes(options) {
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2300
|
-
});
|
|
2223
|
+
async getTunerHostTypes(options) {
|
|
2224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTunerHostTypes(options);
|
|
2225
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2301
2226
|
},
|
|
2302
2227
|
/**
|
|
2303
2228
|
*
|
|
@@ -2306,11 +2231,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2306
2231
|
* @param {*} [options] Override http request option.
|
|
2307
2232
|
* @throws {RequiredError}
|
|
2308
2233
|
*/
|
|
2309
|
-
resetTuner(tunerId, options) {
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2313
|
-
});
|
|
2234
|
+
async resetTuner(tunerId, options) {
|
|
2235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetTuner(tunerId, options);
|
|
2236
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2314
2237
|
},
|
|
2315
2238
|
/**
|
|
2316
2239
|
*
|
|
@@ -2319,11 +2242,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2319
2242
|
* @param {*} [options] Override http request option.
|
|
2320
2243
|
* @throws {RequiredError}
|
|
2321
2244
|
*/
|
|
2322
|
-
setChannelMapping(setChannelMappingDto, options) {
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2326
|
-
});
|
|
2245
|
+
async setChannelMapping(setChannelMappingDto, options) {
|
|
2246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
|
|
2247
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2327
2248
|
},
|
|
2328
2249
|
/**
|
|
2329
2250
|
*
|
|
@@ -2333,11 +2254,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2333
2254
|
* @param {*} [options] Override http request option.
|
|
2334
2255
|
* @throws {RequiredError}
|
|
2335
2256
|
*/
|
|
2336
|
-
updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2340
|
-
});
|
|
2257
|
+
async updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
|
|
2259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2341
2260
|
},
|
|
2342
2261
|
/**
|
|
2343
2262
|
*
|
|
@@ -2347,11 +2266,9 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2347
2266
|
* @param {*} [options] Override http request option.
|
|
2348
2267
|
* @throws {RequiredError}
|
|
2349
2268
|
*/
|
|
2350
|
-
updateTimer(timerId, timerInfoDto, options) {
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2354
|
-
});
|
|
2269
|
+
async updateTimer(timerId, timerInfoDto, options) {
|
|
2270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
|
|
2271
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2355
2272
|
},
|
|
2356
2273
|
};
|
|
2357
2274
|
};
|