bmlt-server-client 2.0.4 → 2.0.5
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/.openapi-generator/FILES +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -1
- package/dist/apis/RootServerApi.d.ts +177 -1
- package/dist/apis/RootServerApi.js +597 -223
- package/dist/esm/apis/RootServerApi.d.ts +177 -1
- package/dist/esm/apis/RootServerApi.js +563 -189
- package/dist/esm/models/ServiceBodyEditor.d.ts +44 -0
- package/dist/esm/models/ServiceBodyEditor.js +51 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/runtime.js +16 -1
- package/dist/models/ServiceBodyEditor.d.ts +44 -0
- package/dist/models/ServiceBodyEditor.js +58 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.js +16 -1
- package/docs/RootServerApi.md +75 -0
- package/docs/ServiceBodyEditor.md +38 -0
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/apis/RootServerApi.ts +607 -221
- package/src/models/ServiceBodyEditor.ts +84 -0
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +19 -2
|
@@ -24,16 +24,38 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.DeleteServiceBodyForceEnum = exports.RootServerApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const ErrorTest_1 = require("../models/ErrorTest");
|
|
28
|
+
const Format_1 = require("../models/Format");
|
|
29
|
+
const FormatCreate_1 = require("../models/FormatCreate");
|
|
30
|
+
const FormatPartialUpdate_1 = require("../models/FormatPartialUpdate");
|
|
31
|
+
const FormatUpdate_1 = require("../models/FormatUpdate");
|
|
32
|
+
const Meeting_1 = require("../models/Meeting");
|
|
33
|
+
const MeetingChangeResource_1 = require("../models/MeetingChangeResource");
|
|
34
|
+
const MeetingCreate_1 = require("../models/MeetingCreate");
|
|
35
|
+
const MeetingPartialUpdate_1 = require("../models/MeetingPartialUpdate");
|
|
36
|
+
const MeetingUpdate_1 = require("../models/MeetingUpdate");
|
|
37
|
+
const RootServer_1 = require("../models/RootServer");
|
|
38
|
+
const ServiceBody_1 = require("../models/ServiceBody");
|
|
39
|
+
const ServiceBodyCreate_1 = require("../models/ServiceBodyCreate");
|
|
40
|
+
const ServiceBodyEditor_1 = require("../models/ServiceBodyEditor");
|
|
41
|
+
const ServiceBodyPartialUpdate_1 = require("../models/ServiceBodyPartialUpdate");
|
|
42
|
+
const ServiceBodyUpdate_1 = require("../models/ServiceBodyUpdate");
|
|
43
|
+
const SettingsObject_1 = require("../models/SettingsObject");
|
|
44
|
+
const SettingsUpdate_1 = require("../models/SettingsUpdate");
|
|
45
|
+
const Token_1 = require("../models/Token");
|
|
46
|
+
const TokenCredentials_1 = require("../models/TokenCredentials");
|
|
47
|
+
const User_1 = require("../models/User");
|
|
48
|
+
const UserCreate_1 = require("../models/UserCreate");
|
|
49
|
+
const UserPartialUpdate_1 = require("../models/UserPartialUpdate");
|
|
50
|
+
const UserUpdate_1 = require("../models/UserUpdate");
|
|
28
51
|
/**
|
|
29
52
|
*
|
|
30
53
|
*/
|
|
31
54
|
class RootServerApi extends runtime.BaseAPI {
|
|
32
55
|
/**
|
|
33
|
-
*
|
|
34
|
-
* Revokes a token
|
|
56
|
+
* Creates request options for authLogout without sending the request
|
|
35
57
|
*/
|
|
36
|
-
|
|
58
|
+
authLogoutRequestOpts() {
|
|
37
59
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
60
|
const queryParameters = {};
|
|
39
61
|
const headerParameters = {};
|
|
@@ -42,12 +64,22 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
42
64
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
43
65
|
}
|
|
44
66
|
let urlPath = `/api/v1/auth/logout`;
|
|
45
|
-
|
|
67
|
+
return {
|
|
46
68
|
path: urlPath,
|
|
47
69
|
method: 'POST',
|
|
48
70
|
headers: headerParameters,
|
|
49
71
|
query: queryParameters,
|
|
50
|
-
}
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Revoke token and logout.
|
|
77
|
+
* Revokes a token
|
|
78
|
+
*/
|
|
79
|
+
authLogoutRaw(initOverrides) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
+
const requestOptions = yield this.authLogoutRequestOpts();
|
|
82
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
51
83
|
return new runtime.VoidApiResponse(response);
|
|
52
84
|
});
|
|
53
85
|
}
|
|
@@ -61,10 +93,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
61
93
|
});
|
|
62
94
|
}
|
|
63
95
|
/**
|
|
64
|
-
*
|
|
65
|
-
* Revokes and issues a new token
|
|
96
|
+
* Creates request options for authRefresh without sending the request
|
|
66
97
|
*/
|
|
67
|
-
|
|
98
|
+
authRefreshRequestOpts() {
|
|
68
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69
100
|
const queryParameters = {};
|
|
70
101
|
const headerParameters = {};
|
|
@@ -73,13 +104,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
73
104
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
74
105
|
}
|
|
75
106
|
let urlPath = `/api/v1/auth/refresh`;
|
|
76
|
-
|
|
107
|
+
return {
|
|
77
108
|
path: urlPath,
|
|
78
109
|
method: 'POST',
|
|
79
110
|
headers: headerParameters,
|
|
80
111
|
query: queryParameters,
|
|
81
|
-
}
|
|
82
|
-
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Refresh token.
|
|
117
|
+
* Revokes and issues a new token
|
|
118
|
+
*/
|
|
119
|
+
authRefreshRaw(initOverrides) {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
const requestOptions = yield this.authRefreshRequestOpts();
|
|
122
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
123
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Token_1.TokenFromJSON)(jsonValue));
|
|
83
124
|
});
|
|
84
125
|
}
|
|
85
126
|
/**
|
|
@@ -93,10 +134,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
93
134
|
});
|
|
94
135
|
}
|
|
95
136
|
/**
|
|
96
|
-
*
|
|
97
|
-
* Creates a token
|
|
137
|
+
* Creates request options for authToken without sending the request
|
|
98
138
|
*/
|
|
99
|
-
|
|
139
|
+
authTokenRequestOpts(requestParameters) {
|
|
100
140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
141
|
if (requestParameters['tokenCredentials'] == null) {
|
|
102
142
|
throw new runtime.RequiredError('tokenCredentials', 'Required parameter "tokenCredentials" was null or undefined when calling authToken().');
|
|
@@ -105,14 +145,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
105
145
|
const headerParameters = {};
|
|
106
146
|
headerParameters['Content-Type'] = 'application/json';
|
|
107
147
|
let urlPath = `/api/v1/auth/token`;
|
|
108
|
-
|
|
148
|
+
return {
|
|
109
149
|
path: urlPath,
|
|
110
150
|
method: 'POST',
|
|
111
151
|
headers: headerParameters,
|
|
112
152
|
query: queryParameters,
|
|
113
|
-
body: (0,
|
|
114
|
-
}
|
|
115
|
-
|
|
153
|
+
body: (0, TokenCredentials_1.TokenCredentialsToJSON)(requestParameters['tokenCredentials']),
|
|
154
|
+
};
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Exchange credentials for a new token
|
|
159
|
+
* Creates a token
|
|
160
|
+
*/
|
|
161
|
+
authTokenRaw(requestParameters, initOverrides) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const requestOptions = yield this.authTokenRequestOpts(requestParameters);
|
|
164
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
165
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Token_1.TokenFromJSON)(jsonValue));
|
|
116
166
|
});
|
|
117
167
|
}
|
|
118
168
|
/**
|
|
@@ -126,10 +176,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
126
176
|
});
|
|
127
177
|
}
|
|
128
178
|
/**
|
|
129
|
-
*
|
|
130
|
-
* Tests some errors
|
|
179
|
+
* Creates request options for createErrorTest without sending the request
|
|
131
180
|
*/
|
|
132
|
-
|
|
181
|
+
createErrorTestRequestOpts(requestParameters) {
|
|
133
182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
134
183
|
if (requestParameters['errorTest'] == null) {
|
|
135
184
|
throw new runtime.RequiredError('errorTest', 'Required parameter "errorTest" was null or undefined when calling createErrorTest().');
|
|
@@ -142,14 +191,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
142
191
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
143
192
|
}
|
|
144
193
|
let urlPath = `/api/v1/errortest`;
|
|
145
|
-
|
|
194
|
+
return {
|
|
146
195
|
path: urlPath,
|
|
147
196
|
method: 'POST',
|
|
148
197
|
headers: headerParameters,
|
|
149
198
|
query: queryParameters,
|
|
150
|
-
body: (0,
|
|
151
|
-
}
|
|
152
|
-
|
|
199
|
+
body: (0, ErrorTest_1.ErrorTestToJSON)(requestParameters['errorTest']),
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Tests some errors.
|
|
205
|
+
* Tests some errors
|
|
206
|
+
*/
|
|
207
|
+
createErrorTestRaw(requestParameters, initOverrides) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
209
|
+
const requestOptions = yield this.createErrorTestRequestOpts(requestParameters);
|
|
210
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
211
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ErrorTest_1.ErrorTestFromJSON)(jsonValue));
|
|
153
212
|
});
|
|
154
213
|
}
|
|
155
214
|
/**
|
|
@@ -163,10 +222,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
163
222
|
});
|
|
164
223
|
}
|
|
165
224
|
/**
|
|
166
|
-
* Creates
|
|
167
|
-
* Creates a format
|
|
225
|
+
* Creates request options for createFormat without sending the request
|
|
168
226
|
*/
|
|
169
|
-
|
|
227
|
+
createFormatRequestOpts(requestParameters) {
|
|
170
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
171
229
|
if (requestParameters['formatCreate'] == null) {
|
|
172
230
|
throw new runtime.RequiredError('formatCreate', 'Required parameter "formatCreate" was null or undefined when calling createFormat().');
|
|
@@ -179,14 +237,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
179
237
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
180
238
|
}
|
|
181
239
|
let urlPath = `/api/v1/formats`;
|
|
182
|
-
|
|
240
|
+
return {
|
|
183
241
|
path: urlPath,
|
|
184
242
|
method: 'POST',
|
|
185
243
|
headers: headerParameters,
|
|
186
244
|
query: queryParameters,
|
|
187
|
-
body: (0,
|
|
188
|
-
}
|
|
189
|
-
|
|
245
|
+
body: (0, FormatCreate_1.FormatCreateToJSON)(requestParameters['formatCreate']),
|
|
246
|
+
};
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Creates a format.
|
|
251
|
+
* Creates a format
|
|
252
|
+
*/
|
|
253
|
+
createFormatRaw(requestParameters, initOverrides) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
const requestOptions = yield this.createFormatRequestOpts(requestParameters);
|
|
256
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
257
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Format_1.FormatFromJSON)(jsonValue));
|
|
190
258
|
});
|
|
191
259
|
}
|
|
192
260
|
/**
|
|
@@ -200,10 +268,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
200
268
|
});
|
|
201
269
|
}
|
|
202
270
|
/**
|
|
203
|
-
* Creates
|
|
204
|
-
* Creates a meeting
|
|
271
|
+
* Creates request options for createMeeting without sending the request
|
|
205
272
|
*/
|
|
206
|
-
|
|
273
|
+
createMeetingRequestOpts(requestParameters) {
|
|
207
274
|
return __awaiter(this, void 0, void 0, function* () {
|
|
208
275
|
if (requestParameters['meetingCreate'] == null) {
|
|
209
276
|
throw new runtime.RequiredError('meetingCreate', 'Required parameter "meetingCreate" was null or undefined when calling createMeeting().');
|
|
@@ -216,14 +283,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
216
283
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
217
284
|
}
|
|
218
285
|
let urlPath = `/api/v1/meetings`;
|
|
219
|
-
|
|
286
|
+
return {
|
|
220
287
|
path: urlPath,
|
|
221
288
|
method: 'POST',
|
|
222
289
|
headers: headerParameters,
|
|
223
290
|
query: queryParameters,
|
|
224
|
-
body: (0,
|
|
225
|
-
}
|
|
226
|
-
|
|
291
|
+
body: (0, MeetingCreate_1.MeetingCreateToJSON)(requestParameters['meetingCreate']),
|
|
292
|
+
};
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Creates a meeting.
|
|
297
|
+
* Creates a meeting
|
|
298
|
+
*/
|
|
299
|
+
createMeetingRaw(requestParameters, initOverrides) {
|
|
300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
301
|
+
const requestOptions = yield this.createMeetingRequestOpts(requestParameters);
|
|
302
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
303
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Meeting_1.MeetingFromJSON)(jsonValue));
|
|
227
304
|
});
|
|
228
305
|
}
|
|
229
306
|
/**
|
|
@@ -237,10 +314,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
237
314
|
});
|
|
238
315
|
}
|
|
239
316
|
/**
|
|
240
|
-
* Creates
|
|
241
|
-
* Creates a service body
|
|
317
|
+
* Creates request options for createServiceBody without sending the request
|
|
242
318
|
*/
|
|
243
|
-
|
|
319
|
+
createServiceBodyRequestOpts(requestParameters) {
|
|
244
320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
245
321
|
if (requestParameters['serviceBodyCreate'] == null) {
|
|
246
322
|
throw new runtime.RequiredError('serviceBodyCreate', 'Required parameter "serviceBodyCreate" was null or undefined when calling createServiceBody().');
|
|
@@ -253,14 +329,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
253
329
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
254
330
|
}
|
|
255
331
|
let urlPath = `/api/v1/servicebodies`;
|
|
256
|
-
|
|
332
|
+
return {
|
|
257
333
|
path: urlPath,
|
|
258
334
|
method: 'POST',
|
|
259
335
|
headers: headerParameters,
|
|
260
336
|
query: queryParameters,
|
|
261
|
-
body: (0,
|
|
262
|
-
}
|
|
263
|
-
|
|
337
|
+
body: (0, ServiceBodyCreate_1.ServiceBodyCreateToJSON)(requestParameters['serviceBodyCreate']),
|
|
338
|
+
};
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Creates a service body.
|
|
343
|
+
* Creates a service body
|
|
344
|
+
*/
|
|
345
|
+
createServiceBodyRaw(requestParameters, initOverrides) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
347
|
+
const requestOptions = yield this.createServiceBodyRequestOpts(requestParameters);
|
|
348
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
349
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ServiceBody_1.ServiceBodyFromJSON)(jsonValue));
|
|
264
350
|
});
|
|
265
351
|
}
|
|
266
352
|
/**
|
|
@@ -274,10 +360,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
274
360
|
});
|
|
275
361
|
}
|
|
276
362
|
/**
|
|
277
|
-
* Creates
|
|
278
|
-
* Creates a user
|
|
363
|
+
* Creates request options for createUser without sending the request
|
|
279
364
|
*/
|
|
280
|
-
|
|
365
|
+
createUserRequestOpts(requestParameters) {
|
|
281
366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
282
367
|
if (requestParameters['userCreate'] == null) {
|
|
283
368
|
throw new runtime.RequiredError('userCreate', 'Required parameter "userCreate" was null or undefined when calling createUser().');
|
|
@@ -290,14 +375,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
290
375
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
291
376
|
}
|
|
292
377
|
let urlPath = `/api/v1/users`;
|
|
293
|
-
|
|
378
|
+
return {
|
|
294
379
|
path: urlPath,
|
|
295
380
|
method: 'POST',
|
|
296
381
|
headers: headerParameters,
|
|
297
382
|
query: queryParameters,
|
|
298
|
-
body: (0,
|
|
299
|
-
}
|
|
300
|
-
|
|
383
|
+
body: (0, UserCreate_1.UserCreateToJSON)(requestParameters['userCreate']),
|
|
384
|
+
};
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Creates a user.
|
|
389
|
+
* Creates a user
|
|
390
|
+
*/
|
|
391
|
+
createUserRaw(requestParameters, initOverrides) {
|
|
392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
+
const requestOptions = yield this.createUserRequestOpts(requestParameters);
|
|
394
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
395
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, User_1.UserFromJSON)(jsonValue));
|
|
301
396
|
});
|
|
302
397
|
}
|
|
303
398
|
/**
|
|
@@ -311,10 +406,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
311
406
|
});
|
|
312
407
|
}
|
|
313
408
|
/**
|
|
314
|
-
*
|
|
315
|
-
* Deletes a format
|
|
409
|
+
* Creates request options for deleteFormat without sending the request
|
|
316
410
|
*/
|
|
317
|
-
|
|
411
|
+
deleteFormatRequestOpts(requestParameters) {
|
|
318
412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
413
|
if (requestParameters['formatId'] == null) {
|
|
320
414
|
throw new runtime.RequiredError('formatId', 'Required parameter "formatId" was null or undefined when calling deleteFormat().');
|
|
@@ -326,13 +420,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
326
420
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
327
421
|
}
|
|
328
422
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
329
|
-
urlPath = urlPath.replace(
|
|
330
|
-
|
|
423
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
424
|
+
return {
|
|
331
425
|
path: urlPath,
|
|
332
426
|
method: 'DELETE',
|
|
333
427
|
headers: headerParameters,
|
|
334
428
|
query: queryParameters,
|
|
335
|
-
}
|
|
429
|
+
};
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Deletes a format by id.
|
|
434
|
+
* Deletes a format
|
|
435
|
+
*/
|
|
436
|
+
deleteFormatRaw(requestParameters, initOverrides) {
|
|
437
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
+
const requestOptions = yield this.deleteFormatRequestOpts(requestParameters);
|
|
439
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
336
440
|
return new runtime.VoidApiResponse(response);
|
|
337
441
|
});
|
|
338
442
|
}
|
|
@@ -346,10 +450,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
346
450
|
});
|
|
347
451
|
}
|
|
348
452
|
/**
|
|
349
|
-
*
|
|
350
|
-
* Deletes a meeting
|
|
453
|
+
* Creates request options for deleteMeeting without sending the request
|
|
351
454
|
*/
|
|
352
|
-
|
|
455
|
+
deleteMeetingRequestOpts(requestParameters) {
|
|
353
456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
354
457
|
if (requestParameters['meetingId'] == null) {
|
|
355
458
|
throw new runtime.RequiredError('meetingId', 'Required parameter "meetingId" was null or undefined when calling deleteMeeting().');
|
|
@@ -361,13 +464,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
361
464
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
362
465
|
}
|
|
363
466
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
364
|
-
urlPath = urlPath.replace(
|
|
365
|
-
|
|
467
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
468
|
+
return {
|
|
366
469
|
path: urlPath,
|
|
367
470
|
method: 'DELETE',
|
|
368
471
|
headers: headerParameters,
|
|
369
472
|
query: queryParameters,
|
|
370
|
-
}
|
|
473
|
+
};
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Deletes a meeting by id.
|
|
478
|
+
* Deletes a meeting
|
|
479
|
+
*/
|
|
480
|
+
deleteMeetingRaw(requestParameters, initOverrides) {
|
|
481
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
+
const requestOptions = yield this.deleteMeetingRequestOpts(requestParameters);
|
|
483
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
371
484
|
return new runtime.VoidApiResponse(response);
|
|
372
485
|
});
|
|
373
486
|
}
|
|
@@ -381,10 +494,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
381
494
|
});
|
|
382
495
|
}
|
|
383
496
|
/**
|
|
384
|
-
*
|
|
385
|
-
* Deletes a service body
|
|
497
|
+
* Creates request options for deleteServiceBody without sending the request
|
|
386
498
|
*/
|
|
387
|
-
|
|
499
|
+
deleteServiceBodyRequestOpts(requestParameters) {
|
|
388
500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
389
501
|
if (requestParameters['serviceBodyId'] == null) {
|
|
390
502
|
throw new runtime.RequiredError('serviceBodyId', 'Required parameter "serviceBodyId" was null or undefined when calling deleteServiceBody().');
|
|
@@ -399,13 +511,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
399
511
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
400
512
|
}
|
|
401
513
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
402
|
-
urlPath = urlPath.replace(
|
|
403
|
-
|
|
514
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
515
|
+
return {
|
|
404
516
|
path: urlPath,
|
|
405
517
|
method: 'DELETE',
|
|
406
518
|
headers: headerParameters,
|
|
407
519
|
query: queryParameters,
|
|
408
|
-
}
|
|
520
|
+
};
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* Deletes a service body by id. If the service body has meetings, use force=true to delete them as well.
|
|
525
|
+
* Deletes a service body
|
|
526
|
+
*/
|
|
527
|
+
deleteServiceBodyRaw(requestParameters, initOverrides) {
|
|
528
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
529
|
+
const requestOptions = yield this.deleteServiceBodyRequestOpts(requestParameters);
|
|
530
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
409
531
|
return new runtime.VoidApiResponse(response);
|
|
410
532
|
});
|
|
411
533
|
}
|
|
@@ -419,10 +541,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
419
541
|
});
|
|
420
542
|
}
|
|
421
543
|
/**
|
|
422
|
-
*
|
|
423
|
-
* Deletes a user
|
|
544
|
+
* Creates request options for deleteUser without sending the request
|
|
424
545
|
*/
|
|
425
|
-
|
|
546
|
+
deleteUserRequestOpts(requestParameters) {
|
|
426
547
|
return __awaiter(this, void 0, void 0, function* () {
|
|
427
548
|
if (requestParameters['userId'] == null) {
|
|
428
549
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling deleteUser().');
|
|
@@ -434,13 +555,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
434
555
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
435
556
|
}
|
|
436
557
|
let urlPath = `/api/v1/users/{userId}`;
|
|
437
|
-
urlPath = urlPath.replace(
|
|
438
|
-
|
|
558
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
559
|
+
return {
|
|
439
560
|
path: urlPath,
|
|
440
561
|
method: 'DELETE',
|
|
441
562
|
headers: headerParameters,
|
|
442
563
|
query: queryParameters,
|
|
443
|
-
}
|
|
564
|
+
};
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Deletes a user by id
|
|
569
|
+
* Deletes a user
|
|
570
|
+
*/
|
|
571
|
+
deleteUserRaw(requestParameters, initOverrides) {
|
|
572
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
+
const requestOptions = yield this.deleteUserRequestOpts(requestParameters);
|
|
574
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
444
575
|
return new runtime.VoidApiResponse(response);
|
|
445
576
|
});
|
|
446
577
|
}
|
|
@@ -454,10 +585,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
454
585
|
});
|
|
455
586
|
}
|
|
456
587
|
/**
|
|
457
|
-
*
|
|
458
|
-
* Retrieves a format
|
|
588
|
+
* Creates request options for getFormat without sending the request
|
|
459
589
|
*/
|
|
460
|
-
|
|
590
|
+
getFormatRequestOpts(requestParameters) {
|
|
461
591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
462
592
|
if (requestParameters['formatId'] == null) {
|
|
463
593
|
throw new runtime.RequiredError('formatId', 'Required parameter "formatId" was null or undefined when calling getFormat().');
|
|
@@ -469,14 +599,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
469
599
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
470
600
|
}
|
|
471
601
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
472
|
-
urlPath = urlPath.replace(
|
|
473
|
-
|
|
602
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
603
|
+
return {
|
|
474
604
|
path: urlPath,
|
|
475
605
|
method: 'GET',
|
|
476
606
|
headers: headerParameters,
|
|
477
607
|
query: queryParameters,
|
|
478
|
-
}
|
|
479
|
-
|
|
608
|
+
};
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Retrieve a format
|
|
613
|
+
* Retrieves a format
|
|
614
|
+
*/
|
|
615
|
+
getFormatRaw(requestParameters, initOverrides) {
|
|
616
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
617
|
+
const requestOptions = yield this.getFormatRequestOpts(requestParameters);
|
|
618
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
619
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Format_1.FormatFromJSON)(jsonValue));
|
|
480
620
|
});
|
|
481
621
|
}
|
|
482
622
|
/**
|
|
@@ -490,10 +630,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
490
630
|
});
|
|
491
631
|
}
|
|
492
632
|
/**
|
|
493
|
-
*
|
|
494
|
-
* Retrieves formats
|
|
633
|
+
* Creates request options for getFormats without sending the request
|
|
495
634
|
*/
|
|
496
|
-
|
|
635
|
+
getFormatsRequestOpts() {
|
|
497
636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
498
637
|
const queryParameters = {};
|
|
499
638
|
const headerParameters = {};
|
|
@@ -502,13 +641,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
502
641
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
503
642
|
}
|
|
504
643
|
let urlPath = `/api/v1/formats`;
|
|
505
|
-
|
|
644
|
+
return {
|
|
506
645
|
path: urlPath,
|
|
507
646
|
method: 'GET',
|
|
508
647
|
headers: headerParameters,
|
|
509
648
|
query: queryParameters,
|
|
510
|
-
}
|
|
511
|
-
|
|
649
|
+
};
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Retrieve formats
|
|
654
|
+
* Retrieves formats
|
|
655
|
+
*/
|
|
656
|
+
getFormatsRaw(initOverrides) {
|
|
657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
+
const requestOptions = yield this.getFormatsRequestOpts();
|
|
659
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
660
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Format_1.FormatFromJSON));
|
|
512
661
|
});
|
|
513
662
|
}
|
|
514
663
|
/**
|
|
@@ -522,10 +671,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
522
671
|
});
|
|
523
672
|
}
|
|
524
673
|
/**
|
|
525
|
-
*
|
|
526
|
-
* Retrieves laravel log
|
|
674
|
+
* Creates request options for getLaravelLog without sending the request
|
|
527
675
|
*/
|
|
528
|
-
|
|
676
|
+
getLaravelLogRequestOpts() {
|
|
529
677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
530
678
|
const queryParameters = {};
|
|
531
679
|
const headerParameters = {};
|
|
@@ -534,12 +682,22 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
534
682
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
535
683
|
}
|
|
536
684
|
let urlPath = `/api/v1/logs/laravel`;
|
|
537
|
-
|
|
685
|
+
return {
|
|
538
686
|
path: urlPath,
|
|
539
687
|
method: 'GET',
|
|
540
688
|
headers: headerParameters,
|
|
541
689
|
query: queryParameters,
|
|
542
|
-
}
|
|
690
|
+
};
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* Retrieve the laravel log if it exists.
|
|
695
|
+
* Retrieves laravel log
|
|
696
|
+
*/
|
|
697
|
+
getLaravelLogRaw(initOverrides) {
|
|
698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
699
|
+
const requestOptions = yield this.getLaravelLogRequestOpts();
|
|
700
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
543
701
|
return new runtime.BlobApiResponse(response);
|
|
544
702
|
});
|
|
545
703
|
}
|
|
@@ -554,10 +712,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
554
712
|
});
|
|
555
713
|
}
|
|
556
714
|
/**
|
|
557
|
-
*
|
|
558
|
-
* Retrieves a meeting
|
|
715
|
+
* Creates request options for getMeeting without sending the request
|
|
559
716
|
*/
|
|
560
|
-
|
|
717
|
+
getMeetingRequestOpts(requestParameters) {
|
|
561
718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
562
719
|
if (requestParameters['meetingId'] == null) {
|
|
563
720
|
throw new runtime.RequiredError('meetingId', 'Required parameter "meetingId" was null or undefined when calling getMeeting().');
|
|
@@ -569,14 +726,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
569
726
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
570
727
|
}
|
|
571
728
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
572
|
-
urlPath = urlPath.replace(
|
|
573
|
-
|
|
729
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
730
|
+
return {
|
|
574
731
|
path: urlPath,
|
|
575
732
|
method: 'GET',
|
|
576
733
|
headers: headerParameters,
|
|
577
734
|
query: queryParameters,
|
|
578
|
-
}
|
|
579
|
-
|
|
735
|
+
};
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* Retrieve a meeting.
|
|
740
|
+
* Retrieves a meeting
|
|
741
|
+
*/
|
|
742
|
+
getMeetingRaw(requestParameters, initOverrides) {
|
|
743
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
744
|
+
const requestOptions = yield this.getMeetingRequestOpts(requestParameters);
|
|
745
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
746
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, Meeting_1.MeetingFromJSON)(jsonValue));
|
|
580
747
|
});
|
|
581
748
|
}
|
|
582
749
|
/**
|
|
@@ -590,10 +757,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
590
757
|
});
|
|
591
758
|
}
|
|
592
759
|
/**
|
|
593
|
-
*
|
|
594
|
-
* Retrieve changes for a meeting
|
|
760
|
+
* Creates request options for getMeetingChanges without sending the request
|
|
595
761
|
*/
|
|
596
|
-
|
|
762
|
+
getMeetingChangesRequestOpts(requestParameters) {
|
|
597
763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
598
764
|
if (requestParameters['meetingId'] == null) {
|
|
599
765
|
throw new runtime.RequiredError('meetingId', 'Required parameter "meetingId" was null or undefined when calling getMeetingChanges().');
|
|
@@ -605,14 +771,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
605
771
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
606
772
|
}
|
|
607
773
|
let urlPath = `/api/v1/meetings/{meetingId}/changes`;
|
|
608
|
-
urlPath = urlPath.replace(
|
|
609
|
-
|
|
774
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
775
|
+
return {
|
|
610
776
|
path: urlPath,
|
|
611
777
|
method: 'GET',
|
|
612
778
|
headers: headerParameters,
|
|
613
779
|
query: queryParameters,
|
|
614
|
-
}
|
|
615
|
-
|
|
780
|
+
};
|
|
781
|
+
});
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Retrieve all changes made to a specific meeting.
|
|
785
|
+
* Retrieve changes for a meeting
|
|
786
|
+
*/
|
|
787
|
+
getMeetingChangesRaw(requestParameters, initOverrides) {
|
|
788
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
789
|
+
const requestOptions = yield this.getMeetingChangesRequestOpts(requestParameters);
|
|
790
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
791
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(MeetingChangeResource_1.MeetingChangeResourceFromJSON));
|
|
616
792
|
});
|
|
617
793
|
}
|
|
618
794
|
/**
|
|
@@ -626,10 +802,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
626
802
|
});
|
|
627
803
|
}
|
|
628
804
|
/**
|
|
629
|
-
*
|
|
630
|
-
* Retrieves meetings
|
|
805
|
+
* Creates request options for getMeetings without sending the request
|
|
631
806
|
*/
|
|
632
|
-
|
|
807
|
+
getMeetingsRequestOpts(requestParameters) {
|
|
633
808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
634
809
|
const queryParameters = {};
|
|
635
810
|
if (requestParameters['meetingIds'] != null) {
|
|
@@ -650,13 +825,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
650
825
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
651
826
|
}
|
|
652
827
|
let urlPath = `/api/v1/meetings`;
|
|
653
|
-
|
|
828
|
+
return {
|
|
654
829
|
path: urlPath,
|
|
655
830
|
method: 'GET',
|
|
656
831
|
headers: headerParameters,
|
|
657
832
|
query: queryParameters,
|
|
658
|
-
}
|
|
659
|
-
|
|
833
|
+
};
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Retrieve meetings for authenticated user.
|
|
838
|
+
* Retrieves meetings
|
|
839
|
+
*/
|
|
840
|
+
getMeetingsRaw(requestParameters, initOverrides) {
|
|
841
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
842
|
+
const requestOptions = yield this.getMeetingsRequestOpts(requestParameters);
|
|
843
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
844
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Meeting_1.MeetingFromJSON));
|
|
660
845
|
});
|
|
661
846
|
}
|
|
662
847
|
/**
|
|
@@ -670,10 +855,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
670
855
|
});
|
|
671
856
|
}
|
|
672
857
|
/**
|
|
673
|
-
*
|
|
674
|
-
* Retrieves a root server
|
|
858
|
+
* Creates request options for getRootServer without sending the request
|
|
675
859
|
*/
|
|
676
|
-
|
|
860
|
+
getRootServerRequestOpts(requestParameters) {
|
|
677
861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
678
862
|
if (requestParameters['rootServerId'] == null) {
|
|
679
863
|
throw new runtime.RequiredError('rootServerId', 'Required parameter "rootServerId" was null or undefined when calling getRootServer().');
|
|
@@ -681,14 +865,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
681
865
|
const queryParameters = {};
|
|
682
866
|
const headerParameters = {};
|
|
683
867
|
let urlPath = `/api/v1/rootservers/{rootServerId}`;
|
|
684
|
-
urlPath = urlPath.replace(
|
|
685
|
-
|
|
868
|
+
urlPath = urlPath.replace('{rootServerId}', encodeURIComponent(String(requestParameters['rootServerId'])));
|
|
869
|
+
return {
|
|
686
870
|
path: urlPath,
|
|
687
871
|
method: 'GET',
|
|
688
872
|
headers: headerParameters,
|
|
689
873
|
query: queryParameters,
|
|
690
|
-
}
|
|
691
|
-
|
|
874
|
+
};
|
|
875
|
+
});
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* Retrieve a single root server id.
|
|
879
|
+
* Retrieves a root server
|
|
880
|
+
*/
|
|
881
|
+
getRootServerRaw(requestParameters, initOverrides) {
|
|
882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
883
|
+
const requestOptions = yield this.getRootServerRequestOpts(requestParameters);
|
|
884
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
885
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RootServer_1.RootServerFromJSON)(jsonValue));
|
|
692
886
|
});
|
|
693
887
|
}
|
|
694
888
|
/**
|
|
@@ -702,21 +896,30 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
702
896
|
});
|
|
703
897
|
}
|
|
704
898
|
/**
|
|
705
|
-
*
|
|
706
|
-
* Retrieves root servers
|
|
899
|
+
* Creates request options for getRootServers without sending the request
|
|
707
900
|
*/
|
|
708
|
-
|
|
901
|
+
getRootServersRequestOpts() {
|
|
709
902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
710
903
|
const queryParameters = {};
|
|
711
904
|
const headerParameters = {};
|
|
712
905
|
let urlPath = `/api/v1/rootservers`;
|
|
713
|
-
|
|
906
|
+
return {
|
|
714
907
|
path: urlPath,
|
|
715
908
|
method: 'GET',
|
|
716
909
|
headers: headerParameters,
|
|
717
910
|
query: queryParameters,
|
|
718
|
-
}
|
|
719
|
-
|
|
911
|
+
};
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
* Retrieve root servers.
|
|
916
|
+
* Retrieves root servers
|
|
917
|
+
*/
|
|
918
|
+
getRootServersRaw(initOverrides) {
|
|
919
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
920
|
+
const requestOptions = yield this.getRootServersRequestOpts();
|
|
921
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
922
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(RootServer_1.RootServerFromJSON));
|
|
720
923
|
});
|
|
721
924
|
}
|
|
722
925
|
/**
|
|
@@ -730,10 +933,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
730
933
|
});
|
|
731
934
|
}
|
|
732
935
|
/**
|
|
733
|
-
*
|
|
734
|
-
* Retrieves service bodies
|
|
936
|
+
* Creates request options for getServiceBodies without sending the request
|
|
735
937
|
*/
|
|
736
|
-
|
|
938
|
+
getServiceBodiesRequestOpts() {
|
|
737
939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
738
940
|
const queryParameters = {};
|
|
739
941
|
const headerParameters = {};
|
|
@@ -742,13 +944,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
742
944
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
743
945
|
}
|
|
744
946
|
let urlPath = `/api/v1/servicebodies`;
|
|
745
|
-
|
|
947
|
+
return {
|
|
746
948
|
path: urlPath,
|
|
747
949
|
method: 'GET',
|
|
748
950
|
headers: headerParameters,
|
|
749
951
|
query: queryParameters,
|
|
750
|
-
}
|
|
751
|
-
|
|
952
|
+
};
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Retrieve service bodies for authenticated user.
|
|
957
|
+
* Retrieves service bodies
|
|
958
|
+
*/
|
|
959
|
+
getServiceBodiesRaw(initOverrides) {
|
|
960
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
961
|
+
const requestOptions = yield this.getServiceBodiesRequestOpts();
|
|
962
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
963
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ServiceBody_1.ServiceBodyFromJSON));
|
|
752
964
|
});
|
|
753
965
|
}
|
|
754
966
|
/**
|
|
@@ -762,10 +974,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
762
974
|
});
|
|
763
975
|
}
|
|
764
976
|
/**
|
|
765
|
-
*
|
|
766
|
-
* Retrieves a service body
|
|
977
|
+
* Creates request options for getServiceBody without sending the request
|
|
767
978
|
*/
|
|
768
|
-
|
|
979
|
+
getServiceBodyRequestOpts(requestParameters) {
|
|
769
980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
770
981
|
if (requestParameters['serviceBodyId'] == null) {
|
|
771
982
|
throw new runtime.RequiredError('serviceBodyId', 'Required parameter "serviceBodyId" was null or undefined when calling getServiceBody().');
|
|
@@ -777,14 +988,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
777
988
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
778
989
|
}
|
|
779
990
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
780
|
-
urlPath = urlPath.replace(
|
|
781
|
-
|
|
991
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
992
|
+
return {
|
|
782
993
|
path: urlPath,
|
|
783
994
|
method: 'GET',
|
|
784
995
|
headers: headerParameters,
|
|
785
996
|
query: queryParameters,
|
|
786
|
-
}
|
|
787
|
-
|
|
997
|
+
};
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Retrieve a single service body by id.
|
|
1002
|
+
* Retrieves a service body
|
|
1003
|
+
*/
|
|
1004
|
+
getServiceBodyRaw(requestParameters, initOverrides) {
|
|
1005
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1006
|
+
const requestOptions = yield this.getServiceBodyRequestOpts(requestParameters);
|
|
1007
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1008
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ServiceBody_1.ServiceBodyFromJSON)(jsonValue));
|
|
788
1009
|
});
|
|
789
1010
|
}
|
|
790
1011
|
/**
|
|
@@ -798,10 +1019,54 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
798
1019
|
});
|
|
799
1020
|
}
|
|
800
1021
|
/**
|
|
801
|
-
*
|
|
802
|
-
* Retrieves all settings
|
|
1022
|
+
* Creates request options for getServiceBodyEditors without sending the request
|
|
803
1023
|
*/
|
|
804
|
-
|
|
1024
|
+
getServiceBodyEditorsRequestOpts(requestParameters) {
|
|
1025
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1026
|
+
if (requestParameters['serviceBodyId'] == null) {
|
|
1027
|
+
throw new runtime.RequiredError('serviceBodyId', 'Required parameter "serviceBodyId" was null or undefined when calling getServiceBodyEditors().');
|
|
1028
|
+
}
|
|
1029
|
+
const queryParameters = {};
|
|
1030
|
+
const headerParameters = {};
|
|
1031
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1032
|
+
// oauth required
|
|
1033
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1034
|
+
}
|
|
1035
|
+
let urlPath = `/api/v1/servicebodies/{serviceBodyId}/editors`;
|
|
1036
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1037
|
+
return {
|
|
1038
|
+
path: urlPath,
|
|
1039
|
+
method: 'GET',
|
|
1040
|
+
headers: headerParameters,
|
|
1041
|
+
query: queryParameters,
|
|
1042
|
+
};
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* Retrieve the meeting list editors assigned to a service body. Each editor includes a readOnly flag that is true when the calling user does not otherwise have access to manage that user via the users API.
|
|
1047
|
+
* Retrieves the editors assigned to a service body
|
|
1048
|
+
*/
|
|
1049
|
+
getServiceBodyEditorsRaw(requestParameters, initOverrides) {
|
|
1050
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1051
|
+
const requestOptions = yield this.getServiceBodyEditorsRequestOpts(requestParameters);
|
|
1052
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1053
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ServiceBodyEditor_1.ServiceBodyEditorFromJSON));
|
|
1054
|
+
});
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* Retrieve the meeting list editors assigned to a service body. Each editor includes a readOnly flag that is true when the calling user does not otherwise have access to manage that user via the users API.
|
|
1058
|
+
* Retrieves the editors assigned to a service body
|
|
1059
|
+
*/
|
|
1060
|
+
getServiceBodyEditors(requestParameters, initOverrides) {
|
|
1061
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1062
|
+
const response = yield this.getServiceBodyEditorsRaw(requestParameters, initOverrides);
|
|
1063
|
+
return yield response.value();
|
|
1064
|
+
});
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* Creates request options for getSettings without sending the request
|
|
1068
|
+
*/
|
|
1069
|
+
getSettingsRequestOpts() {
|
|
805
1070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
806
1071
|
const queryParameters = {};
|
|
807
1072
|
const headerParameters = {};
|
|
@@ -810,13 +1075,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
810
1075
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
811
1076
|
}
|
|
812
1077
|
let urlPath = `/api/v1/settings`;
|
|
813
|
-
|
|
1078
|
+
return {
|
|
814
1079
|
path: urlPath,
|
|
815
1080
|
method: 'GET',
|
|
816
1081
|
headers: headerParameters,
|
|
817
1082
|
query: queryParameters,
|
|
818
|
-
}
|
|
819
|
-
|
|
1083
|
+
};
|
|
1084
|
+
});
|
|
1085
|
+
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Retrieve all server settings. Only accessible to server administrators.
|
|
1088
|
+
* Retrieves all settings
|
|
1089
|
+
*/
|
|
1090
|
+
getSettingsRaw(initOverrides) {
|
|
1091
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1092
|
+
const requestOptions = yield this.getSettingsRequestOpts();
|
|
1093
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1094
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, SettingsObject_1.SettingsObjectFromJSON)(jsonValue));
|
|
820
1095
|
});
|
|
821
1096
|
}
|
|
822
1097
|
/**
|
|
@@ -830,10 +1105,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
830
1105
|
});
|
|
831
1106
|
}
|
|
832
1107
|
/**
|
|
833
|
-
*
|
|
834
|
-
* Retrieves a single user
|
|
1108
|
+
* Creates request options for getUser without sending the request
|
|
835
1109
|
*/
|
|
836
|
-
|
|
1110
|
+
getUserRequestOpts(requestParameters) {
|
|
837
1111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
838
1112
|
if (requestParameters['userId'] == null) {
|
|
839
1113
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUser().');
|
|
@@ -845,14 +1119,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
845
1119
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
846
1120
|
}
|
|
847
1121
|
let urlPath = `/api/v1/users/{userId}`;
|
|
848
|
-
urlPath = urlPath.replace(
|
|
849
|
-
|
|
1122
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1123
|
+
return {
|
|
850
1124
|
path: urlPath,
|
|
851
1125
|
method: 'GET',
|
|
852
1126
|
headers: headerParameters,
|
|
853
1127
|
query: queryParameters,
|
|
854
|
-
}
|
|
855
|
-
|
|
1128
|
+
};
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Retrieve single user.
|
|
1133
|
+
* Retrieves a single user
|
|
1134
|
+
*/
|
|
1135
|
+
getUserRaw(requestParameters, initOverrides) {
|
|
1136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1137
|
+
const requestOptions = yield this.getUserRequestOpts(requestParameters);
|
|
1138
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1139
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, User_1.UserFromJSON)(jsonValue));
|
|
856
1140
|
});
|
|
857
1141
|
}
|
|
858
1142
|
/**
|
|
@@ -866,10 +1150,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
866
1150
|
});
|
|
867
1151
|
}
|
|
868
1152
|
/**
|
|
869
|
-
*
|
|
870
|
-
* Retrieves users
|
|
1153
|
+
* Creates request options for getUsers without sending the request
|
|
871
1154
|
*/
|
|
872
|
-
|
|
1155
|
+
getUsersRequestOpts() {
|
|
873
1156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
874
1157
|
const queryParameters = {};
|
|
875
1158
|
const headerParameters = {};
|
|
@@ -878,13 +1161,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
878
1161
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
879
1162
|
}
|
|
880
1163
|
let urlPath = `/api/v1/users`;
|
|
881
|
-
|
|
1164
|
+
return {
|
|
882
1165
|
path: urlPath,
|
|
883
1166
|
method: 'GET',
|
|
884
1167
|
headers: headerParameters,
|
|
885
1168
|
query: queryParameters,
|
|
886
|
-
}
|
|
887
|
-
|
|
1169
|
+
};
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Retrieve users for authenticated user.
|
|
1174
|
+
* Retrieves users
|
|
1175
|
+
*/
|
|
1176
|
+
getUsersRaw(initOverrides) {
|
|
1177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1178
|
+
const requestOptions = yield this.getUsersRequestOpts();
|
|
1179
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1180
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(User_1.UserFromJSON));
|
|
888
1181
|
});
|
|
889
1182
|
}
|
|
890
1183
|
/**
|
|
@@ -898,10 +1191,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
898
1191
|
});
|
|
899
1192
|
}
|
|
900
1193
|
/**
|
|
901
|
-
*
|
|
902
|
-
* Patches a user
|
|
1194
|
+
* Creates request options for partialUpdateUser without sending the request
|
|
903
1195
|
*/
|
|
904
|
-
|
|
1196
|
+
partialUpdateUserRequestOpts(requestParameters) {
|
|
905
1197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
906
1198
|
if (requestParameters['userId'] == null) {
|
|
907
1199
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling partialUpdateUser().');
|
|
@@ -917,14 +1209,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
917
1209
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
918
1210
|
}
|
|
919
1211
|
let urlPath = `/api/v1/users/{userId}`;
|
|
920
|
-
urlPath = urlPath.replace(
|
|
921
|
-
|
|
1212
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1213
|
+
return {
|
|
922
1214
|
path: urlPath,
|
|
923
1215
|
method: 'PATCH',
|
|
924
1216
|
headers: headerParameters,
|
|
925
1217
|
query: queryParameters,
|
|
926
|
-
body: (0,
|
|
927
|
-
}
|
|
1218
|
+
body: (0, UserPartialUpdate_1.UserPartialUpdateToJSON)(requestParameters['userPartialUpdate']),
|
|
1219
|
+
};
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
/**
|
|
1223
|
+
* Patches a user by id.
|
|
1224
|
+
* Patches a user
|
|
1225
|
+
*/
|
|
1226
|
+
partialUpdateUserRaw(requestParameters, initOverrides) {
|
|
1227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1228
|
+
const requestOptions = yield this.partialUpdateUserRequestOpts(requestParameters);
|
|
1229
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
928
1230
|
return new runtime.VoidApiResponse(response);
|
|
929
1231
|
});
|
|
930
1232
|
}
|
|
@@ -938,10 +1240,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
938
1240
|
});
|
|
939
1241
|
}
|
|
940
1242
|
/**
|
|
941
|
-
*
|
|
942
|
-
* Patches a format
|
|
1243
|
+
* Creates request options for patchFormat without sending the request
|
|
943
1244
|
*/
|
|
944
|
-
|
|
1245
|
+
patchFormatRequestOpts(requestParameters) {
|
|
945
1246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
946
1247
|
if (requestParameters['formatId'] == null) {
|
|
947
1248
|
throw new runtime.RequiredError('formatId', 'Required parameter "formatId" was null or undefined when calling patchFormat().');
|
|
@@ -957,14 +1258,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
957
1258
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
958
1259
|
}
|
|
959
1260
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
960
|
-
urlPath = urlPath.replace(
|
|
961
|
-
|
|
1261
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
1262
|
+
return {
|
|
962
1263
|
path: urlPath,
|
|
963
1264
|
method: 'PATCH',
|
|
964
1265
|
headers: headerParameters,
|
|
965
1266
|
query: queryParameters,
|
|
966
|
-
body: (0,
|
|
967
|
-
}
|
|
1267
|
+
body: (0, FormatPartialUpdate_1.FormatPartialUpdateToJSON)(requestParameters['formatPartialUpdate']),
|
|
1268
|
+
};
|
|
1269
|
+
});
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Patches a single format by id.
|
|
1273
|
+
* Patches a format
|
|
1274
|
+
*/
|
|
1275
|
+
patchFormatRaw(requestParameters, initOverrides) {
|
|
1276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1277
|
+
const requestOptions = yield this.patchFormatRequestOpts(requestParameters);
|
|
1278
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
968
1279
|
return new runtime.VoidApiResponse(response);
|
|
969
1280
|
});
|
|
970
1281
|
}
|
|
@@ -978,10 +1289,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
978
1289
|
});
|
|
979
1290
|
}
|
|
980
1291
|
/**
|
|
981
|
-
*
|
|
982
|
-
* Patches a meeting
|
|
1292
|
+
* Creates request options for patchMeeting without sending the request
|
|
983
1293
|
*/
|
|
984
|
-
|
|
1294
|
+
patchMeetingRequestOpts(requestParameters) {
|
|
985
1295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
986
1296
|
if (requestParameters['meetingId'] == null) {
|
|
987
1297
|
throw new runtime.RequiredError('meetingId', 'Required parameter "meetingId" was null or undefined when calling patchMeeting().');
|
|
@@ -1000,14 +1310,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1000
1310
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1001
1311
|
}
|
|
1002
1312
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
1003
|
-
urlPath = urlPath.replace(
|
|
1004
|
-
|
|
1313
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
1314
|
+
return {
|
|
1005
1315
|
path: urlPath,
|
|
1006
1316
|
method: 'PATCH',
|
|
1007
1317
|
headers: headerParameters,
|
|
1008
1318
|
query: queryParameters,
|
|
1009
|
-
body: (0,
|
|
1010
|
-
}
|
|
1319
|
+
body: (0, MeetingPartialUpdate_1.MeetingPartialUpdateToJSON)(requestParameters['meetingPartialUpdate']),
|
|
1320
|
+
};
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* Patches a meeting by id
|
|
1325
|
+
* Patches a meeting
|
|
1326
|
+
*/
|
|
1327
|
+
patchMeetingRaw(requestParameters, initOverrides) {
|
|
1328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1329
|
+
const requestOptions = yield this.patchMeetingRequestOpts(requestParameters);
|
|
1330
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1011
1331
|
return new runtime.VoidApiResponse(response);
|
|
1012
1332
|
});
|
|
1013
1333
|
}
|
|
@@ -1021,10 +1341,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1021
1341
|
});
|
|
1022
1342
|
}
|
|
1023
1343
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
* Patches a service body
|
|
1344
|
+
* Creates request options for patchServiceBody without sending the request
|
|
1026
1345
|
*/
|
|
1027
|
-
|
|
1346
|
+
patchServiceBodyRequestOpts(requestParameters) {
|
|
1028
1347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1029
1348
|
if (requestParameters['serviceBodyId'] == null) {
|
|
1030
1349
|
throw new runtime.RequiredError('serviceBodyId', 'Required parameter "serviceBodyId" was null or undefined when calling patchServiceBody().');
|
|
@@ -1040,14 +1359,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1040
1359
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1041
1360
|
}
|
|
1042
1361
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
1043
|
-
urlPath = urlPath.replace(
|
|
1044
|
-
|
|
1362
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1363
|
+
return {
|
|
1045
1364
|
path: urlPath,
|
|
1046
1365
|
method: 'PATCH',
|
|
1047
1366
|
headers: headerParameters,
|
|
1048
1367
|
query: queryParameters,
|
|
1049
|
-
body: (0,
|
|
1050
|
-
}
|
|
1368
|
+
body: (0, ServiceBodyPartialUpdate_1.ServiceBodyPartialUpdateToJSON)(requestParameters['serviceBodyPartialUpdate']),
|
|
1369
|
+
};
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Patches a single service body by id.
|
|
1374
|
+
* Patches a service body
|
|
1375
|
+
*/
|
|
1376
|
+
patchServiceBodyRaw(requestParameters, initOverrides) {
|
|
1377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1378
|
+
const requestOptions = yield this.patchServiceBodyRequestOpts(requestParameters);
|
|
1379
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1051
1380
|
return new runtime.VoidApiResponse(response);
|
|
1052
1381
|
});
|
|
1053
1382
|
}
|
|
@@ -1061,10 +1390,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1061
1390
|
});
|
|
1062
1391
|
}
|
|
1063
1392
|
/**
|
|
1064
|
-
*
|
|
1065
|
-
* Updates a format
|
|
1393
|
+
* Creates request options for updateFormat without sending the request
|
|
1066
1394
|
*/
|
|
1067
|
-
|
|
1395
|
+
updateFormatRequestOpts(requestParameters) {
|
|
1068
1396
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1069
1397
|
if (requestParameters['formatId'] == null) {
|
|
1070
1398
|
throw new runtime.RequiredError('formatId', 'Required parameter "formatId" was null or undefined when calling updateFormat().');
|
|
@@ -1080,14 +1408,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1080
1408
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1081
1409
|
}
|
|
1082
1410
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
1083
|
-
urlPath = urlPath.replace(
|
|
1084
|
-
|
|
1411
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
1412
|
+
return {
|
|
1085
1413
|
path: urlPath,
|
|
1086
1414
|
method: 'PUT',
|
|
1087
1415
|
headers: headerParameters,
|
|
1088
1416
|
query: queryParameters,
|
|
1089
|
-
body: (0,
|
|
1090
|
-
}
|
|
1417
|
+
body: (0, FormatUpdate_1.FormatUpdateToJSON)(requestParameters['formatUpdate']),
|
|
1418
|
+
};
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* Updates a format.
|
|
1423
|
+
* Updates a format
|
|
1424
|
+
*/
|
|
1425
|
+
updateFormatRaw(requestParameters, initOverrides) {
|
|
1426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1427
|
+
const requestOptions = yield this.updateFormatRequestOpts(requestParameters);
|
|
1428
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1091
1429
|
return new runtime.VoidApiResponse(response);
|
|
1092
1430
|
});
|
|
1093
1431
|
}
|
|
@@ -1101,10 +1439,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1101
1439
|
});
|
|
1102
1440
|
}
|
|
1103
1441
|
/**
|
|
1104
|
-
*
|
|
1105
|
-
* Updates a meeting
|
|
1442
|
+
* Creates request options for updateMeeting without sending the request
|
|
1106
1443
|
*/
|
|
1107
|
-
|
|
1444
|
+
updateMeetingRequestOpts(requestParameters) {
|
|
1108
1445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1109
1446
|
if (requestParameters['meetingId'] == null) {
|
|
1110
1447
|
throw new runtime.RequiredError('meetingId', 'Required parameter "meetingId" was null or undefined when calling updateMeeting().');
|
|
@@ -1120,14 +1457,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1120
1457
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1121
1458
|
}
|
|
1122
1459
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
1123
|
-
urlPath = urlPath.replace(
|
|
1124
|
-
|
|
1460
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
1461
|
+
return {
|
|
1125
1462
|
path: urlPath,
|
|
1126
1463
|
method: 'PUT',
|
|
1127
1464
|
headers: headerParameters,
|
|
1128
1465
|
query: queryParameters,
|
|
1129
|
-
body: (0,
|
|
1130
|
-
}
|
|
1466
|
+
body: (0, MeetingUpdate_1.MeetingUpdateToJSON)(requestParameters['meetingUpdate']),
|
|
1467
|
+
};
|
|
1468
|
+
});
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
* Updates a meeting.
|
|
1472
|
+
* Updates a meeting
|
|
1473
|
+
*/
|
|
1474
|
+
updateMeetingRaw(requestParameters, initOverrides) {
|
|
1475
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1476
|
+
const requestOptions = yield this.updateMeetingRequestOpts(requestParameters);
|
|
1477
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1131
1478
|
return new runtime.VoidApiResponse(response);
|
|
1132
1479
|
});
|
|
1133
1480
|
}
|
|
@@ -1141,10 +1488,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1141
1488
|
});
|
|
1142
1489
|
}
|
|
1143
1490
|
/**
|
|
1144
|
-
*
|
|
1145
|
-
* Updates a Service Body
|
|
1491
|
+
* Creates request options for updateServiceBody without sending the request
|
|
1146
1492
|
*/
|
|
1147
|
-
|
|
1493
|
+
updateServiceBodyRequestOpts(requestParameters) {
|
|
1148
1494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1149
1495
|
if (requestParameters['serviceBodyId'] == null) {
|
|
1150
1496
|
throw new runtime.RequiredError('serviceBodyId', 'Required parameter "serviceBodyId" was null or undefined when calling updateServiceBody().');
|
|
@@ -1160,14 +1506,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1160
1506
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1161
1507
|
}
|
|
1162
1508
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
1163
|
-
urlPath = urlPath.replace(
|
|
1164
|
-
|
|
1509
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1510
|
+
return {
|
|
1165
1511
|
path: urlPath,
|
|
1166
1512
|
method: 'PUT',
|
|
1167
1513
|
headers: headerParameters,
|
|
1168
1514
|
query: queryParameters,
|
|
1169
|
-
body: (0,
|
|
1170
|
-
}
|
|
1515
|
+
body: (0, ServiceBodyUpdate_1.ServiceBodyUpdateToJSON)(requestParameters['serviceBodyUpdate']),
|
|
1516
|
+
};
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Updates a single service body.
|
|
1521
|
+
* Updates a Service Body
|
|
1522
|
+
*/
|
|
1523
|
+
updateServiceBodyRaw(requestParameters, initOverrides) {
|
|
1524
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1525
|
+
const requestOptions = yield this.updateServiceBodyRequestOpts(requestParameters);
|
|
1526
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1171
1527
|
return new runtime.VoidApiResponse(response);
|
|
1172
1528
|
});
|
|
1173
1529
|
}
|
|
@@ -1181,10 +1537,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1181
1537
|
});
|
|
1182
1538
|
}
|
|
1183
1539
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
* Update settings
|
|
1540
|
+
* Creates request options for updateSettings without sending the request
|
|
1186
1541
|
*/
|
|
1187
|
-
|
|
1542
|
+
updateSettingsRequestOpts(requestParameters) {
|
|
1188
1543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1189
1544
|
if (requestParameters['settingsUpdate'] == null) {
|
|
1190
1545
|
throw new runtime.RequiredError('settingsUpdate', 'Required parameter "settingsUpdate" was null or undefined when calling updateSettings().');
|
|
@@ -1197,13 +1552,23 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1197
1552
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1198
1553
|
}
|
|
1199
1554
|
let urlPath = `/api/v1/settings`;
|
|
1200
|
-
|
|
1555
|
+
return {
|
|
1201
1556
|
path: urlPath,
|
|
1202
1557
|
method: 'PATCH',
|
|
1203
1558
|
headers: headerParameters,
|
|
1204
1559
|
query: queryParameters,
|
|
1205
|
-
body: (0,
|
|
1206
|
-
}
|
|
1560
|
+
body: (0, SettingsUpdate_1.SettingsUpdateToJSON)(requestParameters['settingsUpdate']),
|
|
1561
|
+
};
|
|
1562
|
+
});
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Updates one or more server settings. Only accessible to server administrators.
|
|
1566
|
+
* Update settings
|
|
1567
|
+
*/
|
|
1568
|
+
updateSettingsRaw(requestParameters, initOverrides) {
|
|
1569
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1570
|
+
const requestOptions = yield this.updateSettingsRequestOpts(requestParameters);
|
|
1571
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1207
1572
|
return new runtime.VoidApiResponse(response);
|
|
1208
1573
|
});
|
|
1209
1574
|
}
|
|
@@ -1217,10 +1582,9 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1217
1582
|
});
|
|
1218
1583
|
}
|
|
1219
1584
|
/**
|
|
1220
|
-
*
|
|
1221
|
-
* Update single user
|
|
1585
|
+
* Creates request options for updateUser without sending the request
|
|
1222
1586
|
*/
|
|
1223
|
-
|
|
1587
|
+
updateUserRequestOpts(requestParameters) {
|
|
1224
1588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1225
1589
|
if (requestParameters['userId'] == null) {
|
|
1226
1590
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling updateUser().');
|
|
@@ -1236,14 +1600,24 @@ class RootServerApi extends runtime.BaseAPI {
|
|
|
1236
1600
|
headerParameters["Authorization"] = yield this.configuration.accessToken("bmltToken", []);
|
|
1237
1601
|
}
|
|
1238
1602
|
let urlPath = `/api/v1/users/{userId}`;
|
|
1239
|
-
urlPath = urlPath.replace(
|
|
1240
|
-
|
|
1603
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1604
|
+
return {
|
|
1241
1605
|
path: urlPath,
|
|
1242
1606
|
method: 'PUT',
|
|
1243
1607
|
headers: headerParameters,
|
|
1244
1608
|
query: queryParameters,
|
|
1245
|
-
body: (0,
|
|
1246
|
-
}
|
|
1609
|
+
body: (0, UserUpdate_1.UserUpdateToJSON)(requestParameters['userUpdate']),
|
|
1610
|
+
};
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
/**
|
|
1614
|
+
* Updates a user.
|
|
1615
|
+
* Update single user
|
|
1616
|
+
*/
|
|
1617
|
+
updateUserRaw(requestParameters, initOverrides) {
|
|
1618
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1619
|
+
const requestOptions = yield this.updateUserRequestOpts(requestParameters);
|
|
1620
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1247
1621
|
return new runtime.VoidApiResponse(response);
|
|
1248
1622
|
});
|
|
1249
1623
|
}
|