@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 { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
4
3
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
@@ -28,7 +27,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
28
27
|
* @param {*} [options] Override http request option.
|
|
29
28
|
* @throws {RequiredError}
|
|
30
29
|
*/
|
|
31
|
-
syncPlayBuffering:
|
|
30
|
+
syncPlayBuffering: async (bufferRequestDto, options = {}) => {
|
|
32
31
|
// verify required parameter 'bufferRequestDto' is not null or undefined
|
|
33
32
|
assertParamExists('syncPlayBuffering', 'bufferRequestDto', bufferRequestDto);
|
|
34
33
|
const localVarPath = `/SyncPlay/Buffering`;
|
|
@@ -38,21 +37,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
38
37
|
if (configuration) {
|
|
39
38
|
baseOptions = configuration.baseOptions;
|
|
40
39
|
}
|
|
41
|
-
const localVarRequestOptions =
|
|
40
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
42
41
|
const localVarHeaderParameter = {};
|
|
43
42
|
const localVarQueryParameter = {};
|
|
44
43
|
// authentication CustomAuthentication required
|
|
45
|
-
|
|
44
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
46
45
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
47
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49
|
-
localVarRequestOptions.headers =
|
|
48
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
50
49
|
localVarRequestOptions.data = serializeDataIfNeeded(bufferRequestDto, localVarRequestOptions, configuration);
|
|
51
50
|
return {
|
|
52
51
|
url: toPathString(localVarUrlObj),
|
|
53
52
|
options: localVarRequestOptions,
|
|
54
53
|
};
|
|
55
|
-
}
|
|
54
|
+
},
|
|
56
55
|
/**
|
|
57
56
|
*
|
|
58
57
|
* @summary Create a new SyncPlay group.
|
|
@@ -60,7 +59,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
syncPlayCreateGroup:
|
|
62
|
+
syncPlayCreateGroup: async (newGroupRequestDto, options = {}) => {
|
|
64
63
|
// verify required parameter 'newGroupRequestDto' is not null or undefined
|
|
65
64
|
assertParamExists('syncPlayCreateGroup', 'newGroupRequestDto', newGroupRequestDto);
|
|
66
65
|
const localVarPath = `/SyncPlay/New`;
|
|
@@ -70,28 +69,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
if (configuration) {
|
|
71
70
|
baseOptions = configuration.baseOptions;
|
|
72
71
|
}
|
|
73
|
-
const localVarRequestOptions =
|
|
72
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
74
73
|
const localVarHeaderParameter = {};
|
|
75
74
|
const localVarQueryParameter = {};
|
|
76
75
|
// authentication CustomAuthentication required
|
|
77
|
-
|
|
76
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
78
77
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
79
78
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
80
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
81
|
-
localVarRequestOptions.headers =
|
|
80
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
82
81
|
localVarRequestOptions.data = serializeDataIfNeeded(newGroupRequestDto, localVarRequestOptions, configuration);
|
|
83
82
|
return {
|
|
84
83
|
url: toPathString(localVarUrlObj),
|
|
85
84
|
options: localVarRequestOptions,
|
|
86
85
|
};
|
|
87
|
-
}
|
|
86
|
+
},
|
|
88
87
|
/**
|
|
89
88
|
*
|
|
90
89
|
* @summary Gets all SyncPlay groups.
|
|
91
90
|
* @param {*} [options] Override http request option.
|
|
92
91
|
* @throws {RequiredError}
|
|
93
92
|
*/
|
|
94
|
-
syncPlayGetGroups:
|
|
93
|
+
syncPlayGetGroups: async (options = {}) => {
|
|
95
94
|
const localVarPath = `/SyncPlay/List`;
|
|
96
95
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
96
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -99,19 +98,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
99
98
|
if (configuration) {
|
|
100
99
|
baseOptions = configuration.baseOptions;
|
|
101
100
|
}
|
|
102
|
-
const localVarRequestOptions =
|
|
101
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
103
102
|
const localVarHeaderParameter = {};
|
|
104
103
|
const localVarQueryParameter = {};
|
|
105
104
|
// authentication CustomAuthentication required
|
|
106
|
-
|
|
105
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
107
106
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
108
107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109
|
-
localVarRequestOptions.headers =
|
|
108
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
110
109
|
return {
|
|
111
110
|
url: toPathString(localVarUrlObj),
|
|
112
111
|
options: localVarRequestOptions,
|
|
113
112
|
};
|
|
114
|
-
}
|
|
113
|
+
},
|
|
115
114
|
/**
|
|
116
115
|
*
|
|
117
116
|
* @summary Join an existing SyncPlay group.
|
|
@@ -119,7 +118,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
119
118
|
* @param {*} [options] Override http request option.
|
|
120
119
|
* @throws {RequiredError}
|
|
121
120
|
*/
|
|
122
|
-
syncPlayJoinGroup:
|
|
121
|
+
syncPlayJoinGroup: async (joinGroupRequestDto, options = {}) => {
|
|
123
122
|
// verify required parameter 'joinGroupRequestDto' is not null or undefined
|
|
124
123
|
assertParamExists('syncPlayJoinGroup', 'joinGroupRequestDto', joinGroupRequestDto);
|
|
125
124
|
const localVarPath = `/SyncPlay/Join`;
|
|
@@ -129,28 +128,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
129
128
|
if (configuration) {
|
|
130
129
|
baseOptions = configuration.baseOptions;
|
|
131
130
|
}
|
|
132
|
-
const localVarRequestOptions =
|
|
131
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
133
132
|
const localVarHeaderParameter = {};
|
|
134
133
|
const localVarQueryParameter = {};
|
|
135
134
|
// authentication CustomAuthentication required
|
|
136
|
-
|
|
135
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
137
136
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
137
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139
138
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
-
localVarRequestOptions.headers =
|
|
139
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
141
140
|
localVarRequestOptions.data = serializeDataIfNeeded(joinGroupRequestDto, localVarRequestOptions, configuration);
|
|
142
141
|
return {
|
|
143
142
|
url: toPathString(localVarUrlObj),
|
|
144
143
|
options: localVarRequestOptions,
|
|
145
144
|
};
|
|
146
|
-
}
|
|
145
|
+
},
|
|
147
146
|
/**
|
|
148
147
|
*
|
|
149
148
|
* @summary Leave the joined SyncPlay group.
|
|
150
149
|
* @param {*} [options] Override http request option.
|
|
151
150
|
* @throws {RequiredError}
|
|
152
151
|
*/
|
|
153
|
-
syncPlayLeaveGroup:
|
|
152
|
+
syncPlayLeaveGroup: async (options = {}) => {
|
|
154
153
|
const localVarPath = `/SyncPlay/Leave`;
|
|
155
154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
156
155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -158,19 +157,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
158
157
|
if (configuration) {
|
|
159
158
|
baseOptions = configuration.baseOptions;
|
|
160
159
|
}
|
|
161
|
-
const localVarRequestOptions =
|
|
160
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
162
161
|
const localVarHeaderParameter = {};
|
|
163
162
|
const localVarQueryParameter = {};
|
|
164
163
|
// authentication CustomAuthentication required
|
|
165
|
-
|
|
164
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
166
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
-
localVarRequestOptions.headers =
|
|
167
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
169
168
|
return {
|
|
170
169
|
url: toPathString(localVarUrlObj),
|
|
171
170
|
options: localVarRequestOptions,
|
|
172
171
|
};
|
|
173
|
-
}
|
|
172
|
+
},
|
|
174
173
|
/**
|
|
175
174
|
*
|
|
176
175
|
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
@@ -178,7 +177,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
178
177
|
* @param {*} [options] Override http request option.
|
|
179
178
|
* @throws {RequiredError}
|
|
180
179
|
*/
|
|
181
|
-
syncPlayMovePlaylistItem:
|
|
180
|
+
syncPlayMovePlaylistItem: async (movePlaylistItemRequestDto, options = {}) => {
|
|
182
181
|
// verify required parameter 'movePlaylistItemRequestDto' is not null or undefined
|
|
183
182
|
assertParamExists('syncPlayMovePlaylistItem', 'movePlaylistItemRequestDto', movePlaylistItemRequestDto);
|
|
184
183
|
const localVarPath = `/SyncPlay/MovePlaylistItem`;
|
|
@@ -188,21 +187,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
188
187
|
if (configuration) {
|
|
189
188
|
baseOptions = configuration.baseOptions;
|
|
190
189
|
}
|
|
191
|
-
const localVarRequestOptions =
|
|
190
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
192
191
|
const localVarHeaderParameter = {};
|
|
193
192
|
const localVarQueryParameter = {};
|
|
194
193
|
// authentication CustomAuthentication required
|
|
195
|
-
|
|
194
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
196
195
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
197
196
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
-
localVarRequestOptions.headers =
|
|
198
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
200
199
|
localVarRequestOptions.data = serializeDataIfNeeded(movePlaylistItemRequestDto, localVarRequestOptions, configuration);
|
|
201
200
|
return {
|
|
202
201
|
url: toPathString(localVarUrlObj),
|
|
203
202
|
options: localVarRequestOptions,
|
|
204
203
|
};
|
|
205
|
-
}
|
|
204
|
+
},
|
|
206
205
|
/**
|
|
207
206
|
*
|
|
208
207
|
* @summary Request next item in SyncPlay group.
|
|
@@ -210,7 +209,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
210
209
|
* @param {*} [options] Override http request option.
|
|
211
210
|
* @throws {RequiredError}
|
|
212
211
|
*/
|
|
213
|
-
syncPlayNextItem:
|
|
212
|
+
syncPlayNextItem: async (nextItemRequestDto, options = {}) => {
|
|
214
213
|
// verify required parameter 'nextItemRequestDto' is not null or undefined
|
|
215
214
|
assertParamExists('syncPlayNextItem', 'nextItemRequestDto', nextItemRequestDto);
|
|
216
215
|
const localVarPath = `/SyncPlay/NextItem`;
|
|
@@ -220,28 +219,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
220
219
|
if (configuration) {
|
|
221
220
|
baseOptions = configuration.baseOptions;
|
|
222
221
|
}
|
|
223
|
-
const localVarRequestOptions =
|
|
222
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
224
223
|
const localVarHeaderParameter = {};
|
|
225
224
|
const localVarQueryParameter = {};
|
|
226
225
|
// authentication CustomAuthentication required
|
|
227
|
-
|
|
226
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
228
227
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
229
228
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
229
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
-
localVarRequestOptions.headers =
|
|
230
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
232
231
|
localVarRequestOptions.data = serializeDataIfNeeded(nextItemRequestDto, localVarRequestOptions, configuration);
|
|
233
232
|
return {
|
|
234
233
|
url: toPathString(localVarUrlObj),
|
|
235
234
|
options: localVarRequestOptions,
|
|
236
235
|
};
|
|
237
|
-
}
|
|
236
|
+
},
|
|
238
237
|
/**
|
|
239
238
|
*
|
|
240
239
|
* @summary Request pause in SyncPlay group.
|
|
241
240
|
* @param {*} [options] Override http request option.
|
|
242
241
|
* @throws {RequiredError}
|
|
243
242
|
*/
|
|
244
|
-
syncPlayPause:
|
|
243
|
+
syncPlayPause: async (options = {}) => {
|
|
245
244
|
const localVarPath = `/SyncPlay/Pause`;
|
|
246
245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
246
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -249,19 +248,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
249
248
|
if (configuration) {
|
|
250
249
|
baseOptions = configuration.baseOptions;
|
|
251
250
|
}
|
|
252
|
-
const localVarRequestOptions =
|
|
251
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
253
252
|
const localVarHeaderParameter = {};
|
|
254
253
|
const localVarQueryParameter = {};
|
|
255
254
|
// authentication CustomAuthentication required
|
|
256
|
-
|
|
255
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
257
256
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
257
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
259
|
-
localVarRequestOptions.headers =
|
|
258
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
260
259
|
return {
|
|
261
260
|
url: toPathString(localVarUrlObj),
|
|
262
261
|
options: localVarRequestOptions,
|
|
263
262
|
};
|
|
264
|
-
}
|
|
263
|
+
},
|
|
265
264
|
/**
|
|
266
265
|
*
|
|
267
266
|
* @summary Update session ping.
|
|
@@ -269,7 +268,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
269
268
|
* @param {*} [options] Override http request option.
|
|
270
269
|
* @throws {RequiredError}
|
|
271
270
|
*/
|
|
272
|
-
syncPlayPing:
|
|
271
|
+
syncPlayPing: async (pingRequestDto, options = {}) => {
|
|
273
272
|
// verify required parameter 'pingRequestDto' is not null or undefined
|
|
274
273
|
assertParamExists('syncPlayPing', 'pingRequestDto', pingRequestDto);
|
|
275
274
|
const localVarPath = `/SyncPlay/Ping`;
|
|
@@ -279,21 +278,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
279
278
|
if (configuration) {
|
|
280
279
|
baseOptions = configuration.baseOptions;
|
|
281
280
|
}
|
|
282
|
-
const localVarRequestOptions =
|
|
281
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
283
282
|
const localVarHeaderParameter = {};
|
|
284
283
|
const localVarQueryParameter = {};
|
|
285
284
|
// authentication CustomAuthentication required
|
|
286
|
-
|
|
285
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
287
286
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
288
287
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
289
288
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
|
-
localVarRequestOptions.headers =
|
|
289
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
291
290
|
localVarRequestOptions.data = serializeDataIfNeeded(pingRequestDto, localVarRequestOptions, configuration);
|
|
292
291
|
return {
|
|
293
292
|
url: toPathString(localVarUrlObj),
|
|
294
293
|
options: localVarRequestOptions,
|
|
295
294
|
};
|
|
296
|
-
}
|
|
295
|
+
},
|
|
297
296
|
/**
|
|
298
297
|
*
|
|
299
298
|
* @summary Request previous item in SyncPlay group.
|
|
@@ -301,7 +300,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
301
300
|
* @param {*} [options] Override http request option.
|
|
302
301
|
* @throws {RequiredError}
|
|
303
302
|
*/
|
|
304
|
-
syncPlayPreviousItem:
|
|
303
|
+
syncPlayPreviousItem: async (previousItemRequestDto, options = {}) => {
|
|
305
304
|
// verify required parameter 'previousItemRequestDto' is not null or undefined
|
|
306
305
|
assertParamExists('syncPlayPreviousItem', 'previousItemRequestDto', previousItemRequestDto);
|
|
307
306
|
const localVarPath = `/SyncPlay/PreviousItem`;
|
|
@@ -311,21 +310,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
311
310
|
if (configuration) {
|
|
312
311
|
baseOptions = configuration.baseOptions;
|
|
313
312
|
}
|
|
314
|
-
const localVarRequestOptions =
|
|
313
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
315
314
|
const localVarHeaderParameter = {};
|
|
316
315
|
const localVarQueryParameter = {};
|
|
317
316
|
// authentication CustomAuthentication required
|
|
318
|
-
|
|
317
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
319
318
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
320
319
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
321
320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
-
localVarRequestOptions.headers =
|
|
321
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
323
322
|
localVarRequestOptions.data = serializeDataIfNeeded(previousItemRequestDto, localVarRequestOptions, configuration);
|
|
324
323
|
return {
|
|
325
324
|
url: toPathString(localVarUrlObj),
|
|
326
325
|
options: localVarRequestOptions,
|
|
327
326
|
};
|
|
328
|
-
}
|
|
327
|
+
},
|
|
329
328
|
/**
|
|
330
329
|
*
|
|
331
330
|
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
@@ -333,7 +332,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
333
332
|
* @param {*} [options] Override http request option.
|
|
334
333
|
* @throws {RequiredError}
|
|
335
334
|
*/
|
|
336
|
-
syncPlayQueue:
|
|
335
|
+
syncPlayQueue: async (queueRequestDto, options = {}) => {
|
|
337
336
|
// verify required parameter 'queueRequestDto' is not null or undefined
|
|
338
337
|
assertParamExists('syncPlayQueue', 'queueRequestDto', queueRequestDto);
|
|
339
338
|
const localVarPath = `/SyncPlay/Queue`;
|
|
@@ -343,21 +342,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
343
342
|
if (configuration) {
|
|
344
343
|
baseOptions = configuration.baseOptions;
|
|
345
344
|
}
|
|
346
|
-
const localVarRequestOptions =
|
|
345
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
347
346
|
const localVarHeaderParameter = {};
|
|
348
347
|
const localVarQueryParameter = {};
|
|
349
348
|
// authentication CustomAuthentication required
|
|
350
|
-
|
|
349
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
351
350
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
352
351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
353
352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
|
-
localVarRequestOptions.headers =
|
|
353
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
355
354
|
localVarRequestOptions.data = serializeDataIfNeeded(queueRequestDto, localVarRequestOptions, configuration);
|
|
356
355
|
return {
|
|
357
356
|
url: toPathString(localVarUrlObj),
|
|
358
357
|
options: localVarRequestOptions,
|
|
359
358
|
};
|
|
360
|
-
}
|
|
359
|
+
},
|
|
361
360
|
/**
|
|
362
361
|
*
|
|
363
362
|
* @summary Notify SyncPlay group that member is ready for playback.
|
|
@@ -365,7 +364,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
365
364
|
* @param {*} [options] Override http request option.
|
|
366
365
|
* @throws {RequiredError}
|
|
367
366
|
*/
|
|
368
|
-
syncPlayReady:
|
|
367
|
+
syncPlayReady: async (readyRequestDto, options = {}) => {
|
|
369
368
|
// verify required parameter 'readyRequestDto' is not null or undefined
|
|
370
369
|
assertParamExists('syncPlayReady', 'readyRequestDto', readyRequestDto);
|
|
371
370
|
const localVarPath = `/SyncPlay/Ready`;
|
|
@@ -375,21 +374,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
375
374
|
if (configuration) {
|
|
376
375
|
baseOptions = configuration.baseOptions;
|
|
377
376
|
}
|
|
378
|
-
const localVarRequestOptions =
|
|
377
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
379
378
|
const localVarHeaderParameter = {};
|
|
380
379
|
const localVarQueryParameter = {};
|
|
381
380
|
// authentication CustomAuthentication required
|
|
382
|
-
|
|
381
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
383
382
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
384
383
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
385
384
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
386
|
-
localVarRequestOptions.headers =
|
|
385
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
387
386
|
localVarRequestOptions.data = serializeDataIfNeeded(readyRequestDto, localVarRequestOptions, configuration);
|
|
388
387
|
return {
|
|
389
388
|
url: toPathString(localVarUrlObj),
|
|
390
389
|
options: localVarRequestOptions,
|
|
391
390
|
};
|
|
392
|
-
}
|
|
391
|
+
},
|
|
393
392
|
/**
|
|
394
393
|
*
|
|
395
394
|
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
@@ -397,7 +396,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
397
396
|
* @param {*} [options] Override http request option.
|
|
398
397
|
* @throws {RequiredError}
|
|
399
398
|
*/
|
|
400
|
-
syncPlayRemoveFromPlaylist:
|
|
399
|
+
syncPlayRemoveFromPlaylist: async (removeFromPlaylistRequestDto, options = {}) => {
|
|
401
400
|
// verify required parameter 'removeFromPlaylistRequestDto' is not null or undefined
|
|
402
401
|
assertParamExists('syncPlayRemoveFromPlaylist', 'removeFromPlaylistRequestDto', removeFromPlaylistRequestDto);
|
|
403
402
|
const localVarPath = `/SyncPlay/RemoveFromPlaylist`;
|
|
@@ -407,21 +406,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
407
406
|
if (configuration) {
|
|
408
407
|
baseOptions = configuration.baseOptions;
|
|
409
408
|
}
|
|
410
|
-
const localVarRequestOptions =
|
|
409
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
411
410
|
const localVarHeaderParameter = {};
|
|
412
411
|
const localVarQueryParameter = {};
|
|
413
412
|
// authentication CustomAuthentication required
|
|
414
|
-
|
|
413
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
415
414
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
416
415
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
417
416
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
|
-
localVarRequestOptions.headers =
|
|
417
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
419
418
|
localVarRequestOptions.data = serializeDataIfNeeded(removeFromPlaylistRequestDto, localVarRequestOptions, configuration);
|
|
420
419
|
return {
|
|
421
420
|
url: toPathString(localVarUrlObj),
|
|
422
421
|
options: localVarRequestOptions,
|
|
423
422
|
};
|
|
424
|
-
}
|
|
423
|
+
},
|
|
425
424
|
/**
|
|
426
425
|
*
|
|
427
426
|
* @summary Request seek in SyncPlay group.
|
|
@@ -429,7 +428,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
429
428
|
* @param {*} [options] Override http request option.
|
|
430
429
|
* @throws {RequiredError}
|
|
431
430
|
*/
|
|
432
|
-
syncPlaySeek:
|
|
431
|
+
syncPlaySeek: async (seekRequestDto, options = {}) => {
|
|
433
432
|
// verify required parameter 'seekRequestDto' is not null or undefined
|
|
434
433
|
assertParamExists('syncPlaySeek', 'seekRequestDto', seekRequestDto);
|
|
435
434
|
const localVarPath = `/SyncPlay/Seek`;
|
|
@@ -439,21 +438,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
439
438
|
if (configuration) {
|
|
440
439
|
baseOptions = configuration.baseOptions;
|
|
441
440
|
}
|
|
442
|
-
const localVarRequestOptions =
|
|
441
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
443
442
|
const localVarHeaderParameter = {};
|
|
444
443
|
const localVarQueryParameter = {};
|
|
445
444
|
// authentication CustomAuthentication required
|
|
446
|
-
|
|
445
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
447
446
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
448
447
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
449
448
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
450
|
-
localVarRequestOptions.headers =
|
|
449
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
451
450
|
localVarRequestOptions.data = serializeDataIfNeeded(seekRequestDto, localVarRequestOptions, configuration);
|
|
452
451
|
return {
|
|
453
452
|
url: toPathString(localVarUrlObj),
|
|
454
453
|
options: localVarRequestOptions,
|
|
455
454
|
};
|
|
456
|
-
}
|
|
455
|
+
},
|
|
457
456
|
/**
|
|
458
457
|
*
|
|
459
458
|
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
@@ -461,7 +460,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
461
460
|
* @param {*} [options] Override http request option.
|
|
462
461
|
* @throws {RequiredError}
|
|
463
462
|
*/
|
|
464
|
-
syncPlaySetIgnoreWait:
|
|
463
|
+
syncPlaySetIgnoreWait: async (ignoreWaitRequestDto, options = {}) => {
|
|
465
464
|
// verify required parameter 'ignoreWaitRequestDto' is not null or undefined
|
|
466
465
|
assertParamExists('syncPlaySetIgnoreWait', 'ignoreWaitRequestDto', ignoreWaitRequestDto);
|
|
467
466
|
const localVarPath = `/SyncPlay/SetIgnoreWait`;
|
|
@@ -471,21 +470,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
471
470
|
if (configuration) {
|
|
472
471
|
baseOptions = configuration.baseOptions;
|
|
473
472
|
}
|
|
474
|
-
const localVarRequestOptions =
|
|
473
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
475
474
|
const localVarHeaderParameter = {};
|
|
476
475
|
const localVarQueryParameter = {};
|
|
477
476
|
// authentication CustomAuthentication required
|
|
478
|
-
|
|
477
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
479
478
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
480
479
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
481
480
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
482
|
-
localVarRequestOptions.headers =
|
|
481
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
483
482
|
localVarRequestOptions.data = serializeDataIfNeeded(ignoreWaitRequestDto, localVarRequestOptions, configuration);
|
|
484
483
|
return {
|
|
485
484
|
url: toPathString(localVarUrlObj),
|
|
486
485
|
options: localVarRequestOptions,
|
|
487
486
|
};
|
|
488
|
-
}
|
|
487
|
+
},
|
|
489
488
|
/**
|
|
490
489
|
*
|
|
491
490
|
* @summary Request to set new playlist in SyncPlay group.
|
|
@@ -493,7 +492,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
493
492
|
* @param {*} [options] Override http request option.
|
|
494
493
|
* @throws {RequiredError}
|
|
495
494
|
*/
|
|
496
|
-
syncPlaySetNewQueue:
|
|
495
|
+
syncPlaySetNewQueue: async (playRequestDto, options = {}) => {
|
|
497
496
|
// verify required parameter 'playRequestDto' is not null or undefined
|
|
498
497
|
assertParamExists('syncPlaySetNewQueue', 'playRequestDto', playRequestDto);
|
|
499
498
|
const localVarPath = `/SyncPlay/SetNewQueue`;
|
|
@@ -503,21 +502,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
503
502
|
if (configuration) {
|
|
504
503
|
baseOptions = configuration.baseOptions;
|
|
505
504
|
}
|
|
506
|
-
const localVarRequestOptions =
|
|
505
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
507
506
|
const localVarHeaderParameter = {};
|
|
508
507
|
const localVarQueryParameter = {};
|
|
509
508
|
// authentication CustomAuthentication required
|
|
510
|
-
|
|
509
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
511
510
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
512
511
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
513
512
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
514
|
-
localVarRequestOptions.headers =
|
|
513
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
515
514
|
localVarRequestOptions.data = serializeDataIfNeeded(playRequestDto, localVarRequestOptions, configuration);
|
|
516
515
|
return {
|
|
517
516
|
url: toPathString(localVarUrlObj),
|
|
518
517
|
options: localVarRequestOptions,
|
|
519
518
|
};
|
|
520
|
-
}
|
|
519
|
+
},
|
|
521
520
|
/**
|
|
522
521
|
*
|
|
523
522
|
* @summary Request to change playlist item in SyncPlay group.
|
|
@@ -525,7 +524,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
525
524
|
* @param {*} [options] Override http request option.
|
|
526
525
|
* @throws {RequiredError}
|
|
527
526
|
*/
|
|
528
|
-
syncPlaySetPlaylistItem:
|
|
527
|
+
syncPlaySetPlaylistItem: async (setPlaylistItemRequestDto, options = {}) => {
|
|
529
528
|
// verify required parameter 'setPlaylistItemRequestDto' is not null or undefined
|
|
530
529
|
assertParamExists('syncPlaySetPlaylistItem', 'setPlaylistItemRequestDto', setPlaylistItemRequestDto);
|
|
531
530
|
const localVarPath = `/SyncPlay/SetPlaylistItem`;
|
|
@@ -535,21 +534,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
535
534
|
if (configuration) {
|
|
536
535
|
baseOptions = configuration.baseOptions;
|
|
537
536
|
}
|
|
538
|
-
const localVarRequestOptions =
|
|
537
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
539
538
|
const localVarHeaderParameter = {};
|
|
540
539
|
const localVarQueryParameter = {};
|
|
541
540
|
// authentication CustomAuthentication required
|
|
542
|
-
|
|
541
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
543
542
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
544
543
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
545
544
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
546
|
-
localVarRequestOptions.headers =
|
|
545
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
547
546
|
localVarRequestOptions.data = serializeDataIfNeeded(setPlaylistItemRequestDto, localVarRequestOptions, configuration);
|
|
548
547
|
return {
|
|
549
548
|
url: toPathString(localVarUrlObj),
|
|
550
549
|
options: localVarRequestOptions,
|
|
551
550
|
};
|
|
552
|
-
}
|
|
551
|
+
},
|
|
553
552
|
/**
|
|
554
553
|
*
|
|
555
554
|
* @summary Request to set repeat mode in SyncPlay group.
|
|
@@ -557,7 +556,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
557
556
|
* @param {*} [options] Override http request option.
|
|
558
557
|
* @throws {RequiredError}
|
|
559
558
|
*/
|
|
560
|
-
syncPlaySetRepeatMode:
|
|
559
|
+
syncPlaySetRepeatMode: async (setRepeatModeRequestDto, options = {}) => {
|
|
561
560
|
// verify required parameter 'setRepeatModeRequestDto' is not null or undefined
|
|
562
561
|
assertParamExists('syncPlaySetRepeatMode', 'setRepeatModeRequestDto', setRepeatModeRequestDto);
|
|
563
562
|
const localVarPath = `/SyncPlay/SetRepeatMode`;
|
|
@@ -567,21 +566,21 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
567
566
|
if (configuration) {
|
|
568
567
|
baseOptions = configuration.baseOptions;
|
|
569
568
|
}
|
|
570
|
-
const localVarRequestOptions =
|
|
569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
571
570
|
const localVarHeaderParameter = {};
|
|
572
571
|
const localVarQueryParameter = {};
|
|
573
572
|
// authentication CustomAuthentication required
|
|
574
|
-
|
|
573
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
575
574
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
576
575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
577
576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
578
|
-
localVarRequestOptions.headers =
|
|
577
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
579
578
|
localVarRequestOptions.data = serializeDataIfNeeded(setRepeatModeRequestDto, localVarRequestOptions, configuration);
|
|
580
579
|
return {
|
|
581
580
|
url: toPathString(localVarUrlObj),
|
|
582
581
|
options: localVarRequestOptions,
|
|
583
582
|
};
|
|
584
|
-
}
|
|
583
|
+
},
|
|
585
584
|
/**
|
|
586
585
|
*
|
|
587
586
|
* @summary Request to set shuffle mode in SyncPlay group.
|
|
@@ -589,7 +588,7 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
589
588
|
* @param {*} [options] Override http request option.
|
|
590
589
|
* @throws {RequiredError}
|
|
591
590
|
*/
|
|
592
|
-
syncPlaySetShuffleMode:
|
|
591
|
+
syncPlaySetShuffleMode: async (setShuffleModeRequestDto, options = {}) => {
|
|
593
592
|
// verify required parameter 'setShuffleModeRequestDto' is not null or undefined
|
|
594
593
|
assertParamExists('syncPlaySetShuffleMode', 'setShuffleModeRequestDto', setShuffleModeRequestDto);
|
|
595
594
|
const localVarPath = `/SyncPlay/SetShuffleMode`;
|
|
@@ -599,28 +598,28 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
599
598
|
if (configuration) {
|
|
600
599
|
baseOptions = configuration.baseOptions;
|
|
601
600
|
}
|
|
602
|
-
const localVarRequestOptions =
|
|
601
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
603
602
|
const localVarHeaderParameter = {};
|
|
604
603
|
const localVarQueryParameter = {};
|
|
605
604
|
// authentication CustomAuthentication required
|
|
606
|
-
|
|
605
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
607
606
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
608
607
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
609
608
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
610
|
-
localVarRequestOptions.headers =
|
|
609
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
611
610
|
localVarRequestOptions.data = serializeDataIfNeeded(setShuffleModeRequestDto, localVarRequestOptions, configuration);
|
|
612
611
|
return {
|
|
613
612
|
url: toPathString(localVarUrlObj),
|
|
614
613
|
options: localVarRequestOptions,
|
|
615
614
|
};
|
|
616
|
-
}
|
|
615
|
+
},
|
|
617
616
|
/**
|
|
618
617
|
*
|
|
619
618
|
* @summary Request stop in SyncPlay group.
|
|
620
619
|
* @param {*} [options] Override http request option.
|
|
621
620
|
* @throws {RequiredError}
|
|
622
621
|
*/
|
|
623
|
-
syncPlayStop:
|
|
622
|
+
syncPlayStop: async (options = {}) => {
|
|
624
623
|
const localVarPath = `/SyncPlay/Stop`;
|
|
625
624
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
626
625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -628,26 +627,26 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
628
627
|
if (configuration) {
|
|
629
628
|
baseOptions = configuration.baseOptions;
|
|
630
629
|
}
|
|
631
|
-
const localVarRequestOptions =
|
|
630
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
632
631
|
const localVarHeaderParameter = {};
|
|
633
632
|
const localVarQueryParameter = {};
|
|
634
633
|
// authentication CustomAuthentication required
|
|
635
|
-
|
|
634
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
636
635
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
637
636
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
638
|
-
localVarRequestOptions.headers =
|
|
637
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
639
638
|
return {
|
|
640
639
|
url: toPathString(localVarUrlObj),
|
|
641
640
|
options: localVarRequestOptions,
|
|
642
641
|
};
|
|
643
|
-
}
|
|
642
|
+
},
|
|
644
643
|
/**
|
|
645
644
|
*
|
|
646
645
|
* @summary Request unpause in SyncPlay group.
|
|
647
646
|
* @param {*} [options] Override http request option.
|
|
648
647
|
* @throws {RequiredError}
|
|
649
648
|
*/
|
|
650
|
-
syncPlayUnpause:
|
|
649
|
+
syncPlayUnpause: async (options = {}) => {
|
|
651
650
|
const localVarPath = `/SyncPlay/Unpause`;
|
|
652
651
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
653
652
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -655,19 +654,19 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
655
654
|
if (configuration) {
|
|
656
655
|
baseOptions = configuration.baseOptions;
|
|
657
656
|
}
|
|
658
|
-
const localVarRequestOptions =
|
|
657
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
659
658
|
const localVarHeaderParameter = {};
|
|
660
659
|
const localVarQueryParameter = {};
|
|
661
660
|
// authentication CustomAuthentication required
|
|
662
|
-
|
|
661
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
663
662
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
664
663
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
665
|
-
localVarRequestOptions.headers =
|
|
664
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
666
665
|
return {
|
|
667
666
|
url: toPathString(localVarUrlObj),
|
|
668
667
|
options: localVarRequestOptions,
|
|
669
668
|
};
|
|
670
|
-
}
|
|
669
|
+
},
|
|
671
670
|
};
|
|
672
671
|
};
|
|
673
672
|
/**
|
|
@@ -684,11 +683,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
684
683
|
* @param {*} [options] Override http request option.
|
|
685
684
|
* @throws {RequiredError}
|
|
686
685
|
*/
|
|
687
|
-
syncPlayBuffering(bufferRequestDto, options) {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
691
|
-
});
|
|
686
|
+
async syncPlayBuffering(bufferRequestDto, options) {
|
|
687
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayBuffering(bufferRequestDto, options);
|
|
688
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
692
689
|
},
|
|
693
690
|
/**
|
|
694
691
|
*
|
|
@@ -697,11 +694,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
697
694
|
* @param {*} [options] Override http request option.
|
|
698
695
|
* @throws {RequiredError}
|
|
699
696
|
*/
|
|
700
|
-
syncPlayCreateGroup(newGroupRequestDto, options) {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
704
|
-
});
|
|
697
|
+
async syncPlayCreateGroup(newGroupRequestDto, options) {
|
|
698
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayCreateGroup(newGroupRequestDto, options);
|
|
699
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
705
700
|
},
|
|
706
701
|
/**
|
|
707
702
|
*
|
|
@@ -709,11 +704,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
709
704
|
* @param {*} [options] Override http request option.
|
|
710
705
|
* @throws {RequiredError}
|
|
711
706
|
*/
|
|
712
|
-
syncPlayGetGroups(options) {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
716
|
-
});
|
|
707
|
+
async syncPlayGetGroups(options) {
|
|
708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayGetGroups(options);
|
|
709
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
717
710
|
},
|
|
718
711
|
/**
|
|
719
712
|
*
|
|
@@ -722,11 +715,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
722
715
|
* @param {*} [options] Override http request option.
|
|
723
716
|
* @throws {RequiredError}
|
|
724
717
|
*/
|
|
725
|
-
syncPlayJoinGroup(joinGroupRequestDto, options) {
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
729
|
-
});
|
|
718
|
+
async syncPlayJoinGroup(joinGroupRequestDto, options) {
|
|
719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayJoinGroup(joinGroupRequestDto, options);
|
|
720
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
730
721
|
},
|
|
731
722
|
/**
|
|
732
723
|
*
|
|
@@ -734,11 +725,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
734
725
|
* @param {*} [options] Override http request option.
|
|
735
726
|
* @throws {RequiredError}
|
|
736
727
|
*/
|
|
737
|
-
syncPlayLeaveGroup(options) {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
741
|
-
});
|
|
728
|
+
async syncPlayLeaveGroup(options) {
|
|
729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayLeaveGroup(options);
|
|
730
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
742
731
|
},
|
|
743
732
|
/**
|
|
744
733
|
*
|
|
@@ -747,11 +736,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
747
736
|
* @param {*} [options] Override http request option.
|
|
748
737
|
* @throws {RequiredError}
|
|
749
738
|
*/
|
|
750
|
-
syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options) {
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
754
|
-
});
|
|
739
|
+
async syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options) {
|
|
740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayMovePlaylistItem(movePlaylistItemRequestDto, options);
|
|
741
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
755
742
|
},
|
|
756
743
|
/**
|
|
757
744
|
*
|
|
@@ -760,11 +747,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
760
747
|
* @param {*} [options] Override http request option.
|
|
761
748
|
* @throws {RequiredError}
|
|
762
749
|
*/
|
|
763
|
-
syncPlayNextItem(nextItemRequestDto, options) {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
767
|
-
});
|
|
750
|
+
async syncPlayNextItem(nextItemRequestDto, options) {
|
|
751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayNextItem(nextItemRequestDto, options);
|
|
752
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
768
753
|
},
|
|
769
754
|
/**
|
|
770
755
|
*
|
|
@@ -772,11 +757,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
772
757
|
* @param {*} [options] Override http request option.
|
|
773
758
|
* @throws {RequiredError}
|
|
774
759
|
*/
|
|
775
|
-
syncPlayPause(options) {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
779
|
-
});
|
|
760
|
+
async syncPlayPause(options) {
|
|
761
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPause(options);
|
|
762
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
780
763
|
},
|
|
781
764
|
/**
|
|
782
765
|
*
|
|
@@ -785,11 +768,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
785
768
|
* @param {*} [options] Override http request option.
|
|
786
769
|
* @throws {RequiredError}
|
|
787
770
|
*/
|
|
788
|
-
syncPlayPing(pingRequestDto, options) {
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
792
|
-
});
|
|
771
|
+
async syncPlayPing(pingRequestDto, options) {
|
|
772
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPing(pingRequestDto, options);
|
|
773
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
793
774
|
},
|
|
794
775
|
/**
|
|
795
776
|
*
|
|
@@ -798,11 +779,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
798
779
|
* @param {*} [options] Override http request option.
|
|
799
780
|
* @throws {RequiredError}
|
|
800
781
|
*/
|
|
801
|
-
syncPlayPreviousItem(previousItemRequestDto, options) {
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
805
|
-
});
|
|
782
|
+
async syncPlayPreviousItem(previousItemRequestDto, options) {
|
|
783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayPreviousItem(previousItemRequestDto, options);
|
|
784
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
806
785
|
},
|
|
807
786
|
/**
|
|
808
787
|
*
|
|
@@ -811,11 +790,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
811
790
|
* @param {*} [options] Override http request option.
|
|
812
791
|
* @throws {RequiredError}
|
|
813
792
|
*/
|
|
814
|
-
syncPlayQueue(queueRequestDto, options) {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
818
|
-
});
|
|
793
|
+
async syncPlayQueue(queueRequestDto, options) {
|
|
794
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayQueue(queueRequestDto, options);
|
|
795
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
819
796
|
},
|
|
820
797
|
/**
|
|
821
798
|
*
|
|
@@ -824,11 +801,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
824
801
|
* @param {*} [options] Override http request option.
|
|
825
802
|
* @throws {RequiredError}
|
|
826
803
|
*/
|
|
827
|
-
syncPlayReady(readyRequestDto, options) {
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
831
|
-
});
|
|
804
|
+
async syncPlayReady(readyRequestDto, options) {
|
|
805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayReady(readyRequestDto, options);
|
|
806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
832
807
|
},
|
|
833
808
|
/**
|
|
834
809
|
*
|
|
@@ -837,11 +812,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
837
812
|
* @param {*} [options] Override http request option.
|
|
838
813
|
* @throws {RequiredError}
|
|
839
814
|
*/
|
|
840
|
-
syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options) {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
844
|
-
});
|
|
815
|
+
async syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options) {
|
|
816
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayRemoveFromPlaylist(removeFromPlaylistRequestDto, options);
|
|
817
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
845
818
|
},
|
|
846
819
|
/**
|
|
847
820
|
*
|
|
@@ -850,11 +823,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
850
823
|
* @param {*} [options] Override http request option.
|
|
851
824
|
* @throws {RequiredError}
|
|
852
825
|
*/
|
|
853
|
-
syncPlaySeek(seekRequestDto, options) {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
857
|
-
});
|
|
826
|
+
async syncPlaySeek(seekRequestDto, options) {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySeek(seekRequestDto, options);
|
|
828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
829
|
},
|
|
859
830
|
/**
|
|
860
831
|
*
|
|
@@ -863,11 +834,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
863
834
|
* @param {*} [options] Override http request option.
|
|
864
835
|
* @throws {RequiredError}
|
|
865
836
|
*/
|
|
866
|
-
syncPlaySetIgnoreWait(ignoreWaitRequestDto, options) {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
870
|
-
});
|
|
837
|
+
async syncPlaySetIgnoreWait(ignoreWaitRequestDto, options) {
|
|
838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetIgnoreWait(ignoreWaitRequestDto, options);
|
|
839
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
871
840
|
},
|
|
872
841
|
/**
|
|
873
842
|
*
|
|
@@ -876,11 +845,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
876
845
|
* @param {*} [options] Override http request option.
|
|
877
846
|
* @throws {RequiredError}
|
|
878
847
|
*/
|
|
879
|
-
syncPlaySetNewQueue(playRequestDto, options) {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
883
|
-
});
|
|
848
|
+
async syncPlaySetNewQueue(playRequestDto, options) {
|
|
849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetNewQueue(playRequestDto, options);
|
|
850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
884
851
|
},
|
|
885
852
|
/**
|
|
886
853
|
*
|
|
@@ -889,11 +856,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
889
856
|
* @param {*} [options] Override http request option.
|
|
890
857
|
* @throws {RequiredError}
|
|
891
858
|
*/
|
|
892
|
-
syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options) {
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
896
|
-
});
|
|
859
|
+
async syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetPlaylistItem(setPlaylistItemRequestDto, options);
|
|
861
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
897
862
|
},
|
|
898
863
|
/**
|
|
899
864
|
*
|
|
@@ -902,11 +867,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
902
867
|
* @param {*} [options] Override http request option.
|
|
903
868
|
* @throws {RequiredError}
|
|
904
869
|
*/
|
|
905
|
-
syncPlaySetRepeatMode(setRepeatModeRequestDto, options) {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
909
|
-
});
|
|
870
|
+
async syncPlaySetRepeatMode(setRepeatModeRequestDto, options) {
|
|
871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetRepeatMode(setRepeatModeRequestDto, options);
|
|
872
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
910
873
|
},
|
|
911
874
|
/**
|
|
912
875
|
*
|
|
@@ -915,11 +878,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
915
878
|
* @param {*} [options] Override http request option.
|
|
916
879
|
* @throws {RequiredError}
|
|
917
880
|
*/
|
|
918
|
-
syncPlaySetShuffleMode(setShuffleModeRequestDto, options) {
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
922
|
-
});
|
|
881
|
+
async syncPlaySetShuffleMode(setShuffleModeRequestDto, options) {
|
|
882
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlaySetShuffleMode(setShuffleModeRequestDto, options);
|
|
883
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
923
884
|
},
|
|
924
885
|
/**
|
|
925
886
|
*
|
|
@@ -927,11 +888,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
927
888
|
* @param {*} [options] Override http request option.
|
|
928
889
|
* @throws {RequiredError}
|
|
929
890
|
*/
|
|
930
|
-
syncPlayStop(options) {
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
934
|
-
});
|
|
891
|
+
async syncPlayStop(options) {
|
|
892
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayStop(options);
|
|
893
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
935
894
|
},
|
|
936
895
|
/**
|
|
937
896
|
*
|
|
@@ -939,11 +898,9 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
939
898
|
* @param {*} [options] Override http request option.
|
|
940
899
|
* @throws {RequiredError}
|
|
941
900
|
*/
|
|
942
|
-
syncPlayUnpause(options) {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
946
|
-
});
|
|
901
|
+
async syncPlayUnpause(options) {
|
|
902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayUnpause(options);
|
|
903
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
947
904
|
},
|
|
948
905
|
};
|
|
949
906
|
};
|