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
|
@@ -12,99 +12,157 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
AuthenticationError,
|
|
19
|
-
AuthorizationError,
|
|
20
|
-
ConflictError,
|
|
21
|
-
ErrorTest,
|
|
22
|
-
Format,
|
|
23
|
-
FormatCreate,
|
|
24
|
-
FormatPartialUpdate,
|
|
25
|
-
FormatUpdate,
|
|
26
|
-
Meeting,
|
|
27
|
-
MeetingChangeResource,
|
|
28
|
-
MeetingCreate,
|
|
29
|
-
MeetingPartialUpdate,
|
|
30
|
-
MeetingUpdate,
|
|
31
|
-
NotFoundError,
|
|
32
|
-
RootServer,
|
|
33
|
-
ServerError,
|
|
34
|
-
ServiceBody,
|
|
35
|
-
ServiceBodyCreate,
|
|
36
|
-
ServiceBodyPartialUpdate,
|
|
37
|
-
ServiceBodyUpdate,
|
|
38
|
-
SettingsObject,
|
|
39
|
-
SettingsUpdate,
|
|
40
|
-
Token,
|
|
41
|
-
TokenCredentials,
|
|
42
|
-
User,
|
|
43
|
-
UserCreate,
|
|
44
|
-
UserPartialUpdate,
|
|
45
|
-
UserUpdate,
|
|
46
|
-
ValidationError,
|
|
47
|
-
} from '../models/index';
|
|
48
16
|
import {
|
|
17
|
+
type AuthenticationError,
|
|
49
18
|
AuthenticationErrorFromJSON,
|
|
50
19
|
AuthenticationErrorToJSON,
|
|
20
|
+
} from '../models/AuthenticationError';
|
|
21
|
+
import {
|
|
22
|
+
type AuthorizationError,
|
|
51
23
|
AuthorizationErrorFromJSON,
|
|
52
24
|
AuthorizationErrorToJSON,
|
|
25
|
+
} from '../models/AuthorizationError';
|
|
26
|
+
import {
|
|
27
|
+
type ConflictError,
|
|
53
28
|
ConflictErrorFromJSON,
|
|
54
29
|
ConflictErrorToJSON,
|
|
30
|
+
} from '../models/ConflictError';
|
|
31
|
+
import {
|
|
32
|
+
type ErrorTest,
|
|
55
33
|
ErrorTestFromJSON,
|
|
56
34
|
ErrorTestToJSON,
|
|
35
|
+
} from '../models/ErrorTest';
|
|
36
|
+
import {
|
|
37
|
+
type Format,
|
|
57
38
|
FormatFromJSON,
|
|
58
39
|
FormatToJSON,
|
|
40
|
+
} from '../models/Format';
|
|
41
|
+
import {
|
|
42
|
+
type FormatCreate,
|
|
59
43
|
FormatCreateFromJSON,
|
|
60
44
|
FormatCreateToJSON,
|
|
45
|
+
} from '../models/FormatCreate';
|
|
46
|
+
import {
|
|
47
|
+
type FormatPartialUpdate,
|
|
61
48
|
FormatPartialUpdateFromJSON,
|
|
62
49
|
FormatPartialUpdateToJSON,
|
|
50
|
+
} from '../models/FormatPartialUpdate';
|
|
51
|
+
import {
|
|
52
|
+
type FormatUpdate,
|
|
63
53
|
FormatUpdateFromJSON,
|
|
64
54
|
FormatUpdateToJSON,
|
|
55
|
+
} from '../models/FormatUpdate';
|
|
56
|
+
import {
|
|
57
|
+
type Meeting,
|
|
65
58
|
MeetingFromJSON,
|
|
66
59
|
MeetingToJSON,
|
|
60
|
+
} from '../models/Meeting';
|
|
61
|
+
import {
|
|
62
|
+
type MeetingChangeResource,
|
|
67
63
|
MeetingChangeResourceFromJSON,
|
|
68
64
|
MeetingChangeResourceToJSON,
|
|
65
|
+
} from '../models/MeetingChangeResource';
|
|
66
|
+
import {
|
|
67
|
+
type MeetingCreate,
|
|
69
68
|
MeetingCreateFromJSON,
|
|
70
69
|
MeetingCreateToJSON,
|
|
70
|
+
} from '../models/MeetingCreate';
|
|
71
|
+
import {
|
|
72
|
+
type MeetingPartialUpdate,
|
|
71
73
|
MeetingPartialUpdateFromJSON,
|
|
72
74
|
MeetingPartialUpdateToJSON,
|
|
75
|
+
} from '../models/MeetingPartialUpdate';
|
|
76
|
+
import {
|
|
77
|
+
type MeetingUpdate,
|
|
73
78
|
MeetingUpdateFromJSON,
|
|
74
79
|
MeetingUpdateToJSON,
|
|
80
|
+
} from '../models/MeetingUpdate';
|
|
81
|
+
import {
|
|
82
|
+
type NotFoundError,
|
|
75
83
|
NotFoundErrorFromJSON,
|
|
76
84
|
NotFoundErrorToJSON,
|
|
85
|
+
} from '../models/NotFoundError';
|
|
86
|
+
import {
|
|
87
|
+
type RootServer,
|
|
77
88
|
RootServerFromJSON,
|
|
78
89
|
RootServerToJSON,
|
|
90
|
+
} from '../models/RootServer';
|
|
91
|
+
import {
|
|
92
|
+
type ServerError,
|
|
79
93
|
ServerErrorFromJSON,
|
|
80
94
|
ServerErrorToJSON,
|
|
95
|
+
} from '../models/ServerError';
|
|
96
|
+
import {
|
|
97
|
+
type ServiceBody,
|
|
81
98
|
ServiceBodyFromJSON,
|
|
82
99
|
ServiceBodyToJSON,
|
|
100
|
+
} from '../models/ServiceBody';
|
|
101
|
+
import {
|
|
102
|
+
type ServiceBodyCreate,
|
|
83
103
|
ServiceBodyCreateFromJSON,
|
|
84
104
|
ServiceBodyCreateToJSON,
|
|
105
|
+
} from '../models/ServiceBodyCreate';
|
|
106
|
+
import {
|
|
107
|
+
type ServiceBodyEditor,
|
|
108
|
+
ServiceBodyEditorFromJSON,
|
|
109
|
+
ServiceBodyEditorToJSON,
|
|
110
|
+
} from '../models/ServiceBodyEditor';
|
|
111
|
+
import {
|
|
112
|
+
type ServiceBodyPartialUpdate,
|
|
85
113
|
ServiceBodyPartialUpdateFromJSON,
|
|
86
114
|
ServiceBodyPartialUpdateToJSON,
|
|
115
|
+
} from '../models/ServiceBodyPartialUpdate';
|
|
116
|
+
import {
|
|
117
|
+
type ServiceBodyUpdate,
|
|
87
118
|
ServiceBodyUpdateFromJSON,
|
|
88
119
|
ServiceBodyUpdateToJSON,
|
|
120
|
+
} from '../models/ServiceBodyUpdate';
|
|
121
|
+
import {
|
|
122
|
+
type SettingsObject,
|
|
89
123
|
SettingsObjectFromJSON,
|
|
90
124
|
SettingsObjectToJSON,
|
|
125
|
+
} from '../models/SettingsObject';
|
|
126
|
+
import {
|
|
127
|
+
type SettingsUpdate,
|
|
91
128
|
SettingsUpdateFromJSON,
|
|
92
129
|
SettingsUpdateToJSON,
|
|
130
|
+
} from '../models/SettingsUpdate';
|
|
131
|
+
import {
|
|
132
|
+
type Token,
|
|
93
133
|
TokenFromJSON,
|
|
94
134
|
TokenToJSON,
|
|
135
|
+
} from '../models/Token';
|
|
136
|
+
import {
|
|
137
|
+
type TokenCredentials,
|
|
95
138
|
TokenCredentialsFromJSON,
|
|
96
139
|
TokenCredentialsToJSON,
|
|
140
|
+
} from '../models/TokenCredentials';
|
|
141
|
+
import {
|
|
142
|
+
type User,
|
|
97
143
|
UserFromJSON,
|
|
98
144
|
UserToJSON,
|
|
145
|
+
} from '../models/User';
|
|
146
|
+
import {
|
|
147
|
+
type UserCreate,
|
|
99
148
|
UserCreateFromJSON,
|
|
100
149
|
UserCreateToJSON,
|
|
150
|
+
} from '../models/UserCreate';
|
|
151
|
+
import {
|
|
152
|
+
type UserPartialUpdate,
|
|
101
153
|
UserPartialUpdateFromJSON,
|
|
102
154
|
UserPartialUpdateToJSON,
|
|
155
|
+
} from '../models/UserPartialUpdate';
|
|
156
|
+
import {
|
|
157
|
+
type UserUpdate,
|
|
103
158
|
UserUpdateFromJSON,
|
|
104
159
|
UserUpdateToJSON,
|
|
160
|
+
} from '../models/UserUpdate';
|
|
161
|
+
import {
|
|
162
|
+
type ValidationError,
|
|
105
163
|
ValidationErrorFromJSON,
|
|
106
164
|
ValidationErrorToJSON,
|
|
107
|
-
} from '../models/
|
|
165
|
+
} from '../models/ValidationError';
|
|
108
166
|
|
|
109
167
|
export interface AuthTokenRequest {
|
|
110
168
|
tokenCredentials: TokenCredentials;
|
|
@@ -174,6 +232,10 @@ export interface GetServiceBodyRequest {
|
|
|
174
232
|
serviceBodyId: number;
|
|
175
233
|
}
|
|
176
234
|
|
|
235
|
+
export interface GetServiceBodyEditorsRequest {
|
|
236
|
+
serviceBodyId: number;
|
|
237
|
+
}
|
|
238
|
+
|
|
177
239
|
export interface GetUserRequest {
|
|
178
240
|
userId: number;
|
|
179
241
|
}
|
|
@@ -229,10 +291,9 @@ export interface UpdateUserRequest {
|
|
|
229
291
|
export class RootServerApi extends runtime.BaseAPI {
|
|
230
292
|
|
|
231
293
|
/**
|
|
232
|
-
*
|
|
233
|
-
* Revokes a token
|
|
294
|
+
* Creates request options for authLogout without sending the request
|
|
234
295
|
*/
|
|
235
|
-
async
|
|
296
|
+
async authLogoutRequestOpts(): Promise<runtime.RequestOpts> {
|
|
236
297
|
const queryParameters: any = {};
|
|
237
298
|
|
|
238
299
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -245,12 +306,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
245
306
|
|
|
246
307
|
let urlPath = `/api/v1/auth/logout`;
|
|
247
308
|
|
|
248
|
-
|
|
309
|
+
return {
|
|
249
310
|
path: urlPath,
|
|
250
311
|
method: 'POST',
|
|
251
312
|
headers: headerParameters,
|
|
252
313
|
query: queryParameters,
|
|
253
|
-
}
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Revoke token and logout.
|
|
319
|
+
* Revokes a token
|
|
320
|
+
*/
|
|
321
|
+
async authLogoutRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
322
|
+
const requestOptions = await this.authLogoutRequestOpts();
|
|
323
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
254
324
|
|
|
255
325
|
return new runtime.VoidApiResponse(response);
|
|
256
326
|
}
|
|
@@ -264,10 +334,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
264
334
|
}
|
|
265
335
|
|
|
266
336
|
/**
|
|
267
|
-
*
|
|
268
|
-
* Revokes and issues a new token
|
|
337
|
+
* Creates request options for authRefresh without sending the request
|
|
269
338
|
*/
|
|
270
|
-
async
|
|
339
|
+
async authRefreshRequestOpts(): Promise<runtime.RequestOpts> {
|
|
271
340
|
const queryParameters: any = {};
|
|
272
341
|
|
|
273
342
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -280,12 +349,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
280
349
|
|
|
281
350
|
let urlPath = `/api/v1/auth/refresh`;
|
|
282
351
|
|
|
283
|
-
|
|
352
|
+
return {
|
|
284
353
|
path: urlPath,
|
|
285
354
|
method: 'POST',
|
|
286
355
|
headers: headerParameters,
|
|
287
356
|
query: queryParameters,
|
|
288
|
-
}
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Refresh token.
|
|
362
|
+
* Revokes and issues a new token
|
|
363
|
+
*/
|
|
364
|
+
async authRefreshRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Token>> {
|
|
365
|
+
const requestOptions = await this.authRefreshRequestOpts();
|
|
366
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
289
367
|
|
|
290
368
|
return new runtime.JSONApiResponse(response, (jsonValue) => TokenFromJSON(jsonValue));
|
|
291
369
|
}
|
|
@@ -300,10 +378,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
300
378
|
}
|
|
301
379
|
|
|
302
380
|
/**
|
|
303
|
-
*
|
|
304
|
-
* Creates a token
|
|
381
|
+
* Creates request options for authToken without sending the request
|
|
305
382
|
*/
|
|
306
|
-
async
|
|
383
|
+
async authTokenRequestOpts(requestParameters: AuthTokenRequest): Promise<runtime.RequestOpts> {
|
|
307
384
|
if (requestParameters['tokenCredentials'] == null) {
|
|
308
385
|
throw new runtime.RequiredError(
|
|
309
386
|
'tokenCredentials',
|
|
@@ -320,13 +397,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
320
397
|
|
|
321
398
|
let urlPath = `/api/v1/auth/token`;
|
|
322
399
|
|
|
323
|
-
|
|
400
|
+
return {
|
|
324
401
|
path: urlPath,
|
|
325
402
|
method: 'POST',
|
|
326
403
|
headers: headerParameters,
|
|
327
404
|
query: queryParameters,
|
|
328
405
|
body: TokenCredentialsToJSON(requestParameters['tokenCredentials']),
|
|
329
|
-
}
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Exchange credentials for a new token
|
|
411
|
+
* Creates a token
|
|
412
|
+
*/
|
|
413
|
+
async authTokenRaw(requestParameters: AuthTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Token>> {
|
|
414
|
+
const requestOptions = await this.authTokenRequestOpts(requestParameters);
|
|
415
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
330
416
|
|
|
331
417
|
return new runtime.JSONApiResponse(response, (jsonValue) => TokenFromJSON(jsonValue));
|
|
332
418
|
}
|
|
@@ -341,10 +427,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
341
427
|
}
|
|
342
428
|
|
|
343
429
|
/**
|
|
344
|
-
*
|
|
345
|
-
* Tests some errors
|
|
430
|
+
* Creates request options for createErrorTest without sending the request
|
|
346
431
|
*/
|
|
347
|
-
async
|
|
432
|
+
async createErrorTestRequestOpts(requestParameters: CreateErrorTestRequest): Promise<runtime.RequestOpts> {
|
|
348
433
|
if (requestParameters['errorTest'] == null) {
|
|
349
434
|
throw new runtime.RequiredError(
|
|
350
435
|
'errorTest',
|
|
@@ -366,13 +451,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
366
451
|
|
|
367
452
|
let urlPath = `/api/v1/errortest`;
|
|
368
453
|
|
|
369
|
-
|
|
454
|
+
return {
|
|
370
455
|
path: urlPath,
|
|
371
456
|
method: 'POST',
|
|
372
457
|
headers: headerParameters,
|
|
373
458
|
query: queryParameters,
|
|
374
459
|
body: ErrorTestToJSON(requestParameters['errorTest']),
|
|
375
|
-
}
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Tests some errors.
|
|
465
|
+
* Tests some errors
|
|
466
|
+
*/
|
|
467
|
+
async createErrorTestRaw(requestParameters: CreateErrorTestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ErrorTest>> {
|
|
468
|
+
const requestOptions = await this.createErrorTestRequestOpts(requestParameters);
|
|
469
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
376
470
|
|
|
377
471
|
return new runtime.JSONApiResponse(response, (jsonValue) => ErrorTestFromJSON(jsonValue));
|
|
378
472
|
}
|
|
@@ -387,10 +481,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
387
481
|
}
|
|
388
482
|
|
|
389
483
|
/**
|
|
390
|
-
* Creates
|
|
391
|
-
* Creates a format
|
|
484
|
+
* Creates request options for createFormat without sending the request
|
|
392
485
|
*/
|
|
393
|
-
async
|
|
486
|
+
async createFormatRequestOpts(requestParameters: CreateFormatRequest): Promise<runtime.RequestOpts> {
|
|
394
487
|
if (requestParameters['formatCreate'] == null) {
|
|
395
488
|
throw new runtime.RequiredError(
|
|
396
489
|
'formatCreate',
|
|
@@ -412,13 +505,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
412
505
|
|
|
413
506
|
let urlPath = `/api/v1/formats`;
|
|
414
507
|
|
|
415
|
-
|
|
508
|
+
return {
|
|
416
509
|
path: urlPath,
|
|
417
510
|
method: 'POST',
|
|
418
511
|
headers: headerParameters,
|
|
419
512
|
query: queryParameters,
|
|
420
513
|
body: FormatCreateToJSON(requestParameters['formatCreate']),
|
|
421
|
-
}
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Creates a format.
|
|
519
|
+
* Creates a format
|
|
520
|
+
*/
|
|
521
|
+
async createFormatRaw(requestParameters: CreateFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Format>> {
|
|
522
|
+
const requestOptions = await this.createFormatRequestOpts(requestParameters);
|
|
523
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
422
524
|
|
|
423
525
|
return new runtime.JSONApiResponse(response, (jsonValue) => FormatFromJSON(jsonValue));
|
|
424
526
|
}
|
|
@@ -433,10 +535,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
433
535
|
}
|
|
434
536
|
|
|
435
537
|
/**
|
|
436
|
-
* Creates
|
|
437
|
-
* Creates a meeting
|
|
538
|
+
* Creates request options for createMeeting without sending the request
|
|
438
539
|
*/
|
|
439
|
-
async
|
|
540
|
+
async createMeetingRequestOpts(requestParameters: CreateMeetingRequest): Promise<runtime.RequestOpts> {
|
|
440
541
|
if (requestParameters['meetingCreate'] == null) {
|
|
441
542
|
throw new runtime.RequiredError(
|
|
442
543
|
'meetingCreate',
|
|
@@ -458,13 +559,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
458
559
|
|
|
459
560
|
let urlPath = `/api/v1/meetings`;
|
|
460
561
|
|
|
461
|
-
|
|
562
|
+
return {
|
|
462
563
|
path: urlPath,
|
|
463
564
|
method: 'POST',
|
|
464
565
|
headers: headerParameters,
|
|
465
566
|
query: queryParameters,
|
|
466
567
|
body: MeetingCreateToJSON(requestParameters['meetingCreate']),
|
|
467
|
-
}
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Creates a meeting.
|
|
573
|
+
* Creates a meeting
|
|
574
|
+
*/
|
|
575
|
+
async createMeetingRaw(requestParameters: CreateMeetingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Meeting>> {
|
|
576
|
+
const requestOptions = await this.createMeetingRequestOpts(requestParameters);
|
|
577
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
468
578
|
|
|
469
579
|
return new runtime.JSONApiResponse(response, (jsonValue) => MeetingFromJSON(jsonValue));
|
|
470
580
|
}
|
|
@@ -479,10 +589,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
479
589
|
}
|
|
480
590
|
|
|
481
591
|
/**
|
|
482
|
-
* Creates
|
|
483
|
-
* Creates a service body
|
|
592
|
+
* Creates request options for createServiceBody without sending the request
|
|
484
593
|
*/
|
|
485
|
-
async
|
|
594
|
+
async createServiceBodyRequestOpts(requestParameters: CreateServiceBodyRequest): Promise<runtime.RequestOpts> {
|
|
486
595
|
if (requestParameters['serviceBodyCreate'] == null) {
|
|
487
596
|
throw new runtime.RequiredError(
|
|
488
597
|
'serviceBodyCreate',
|
|
@@ -504,13 +613,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
504
613
|
|
|
505
614
|
let urlPath = `/api/v1/servicebodies`;
|
|
506
615
|
|
|
507
|
-
|
|
616
|
+
return {
|
|
508
617
|
path: urlPath,
|
|
509
618
|
method: 'POST',
|
|
510
619
|
headers: headerParameters,
|
|
511
620
|
query: queryParameters,
|
|
512
621
|
body: ServiceBodyCreateToJSON(requestParameters['serviceBodyCreate']),
|
|
513
|
-
}
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* Creates a service body.
|
|
627
|
+
* Creates a service body
|
|
628
|
+
*/
|
|
629
|
+
async createServiceBodyRaw(requestParameters: CreateServiceBodyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceBody>> {
|
|
630
|
+
const requestOptions = await this.createServiceBodyRequestOpts(requestParameters);
|
|
631
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
514
632
|
|
|
515
633
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServiceBodyFromJSON(jsonValue));
|
|
516
634
|
}
|
|
@@ -525,10 +643,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
525
643
|
}
|
|
526
644
|
|
|
527
645
|
/**
|
|
528
|
-
* Creates
|
|
529
|
-
* Creates a user
|
|
646
|
+
* Creates request options for createUser without sending the request
|
|
530
647
|
*/
|
|
531
|
-
async
|
|
648
|
+
async createUserRequestOpts(requestParameters: CreateUserRequest): Promise<runtime.RequestOpts> {
|
|
532
649
|
if (requestParameters['userCreate'] == null) {
|
|
533
650
|
throw new runtime.RequiredError(
|
|
534
651
|
'userCreate',
|
|
@@ -550,13 +667,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
550
667
|
|
|
551
668
|
let urlPath = `/api/v1/users`;
|
|
552
669
|
|
|
553
|
-
|
|
670
|
+
return {
|
|
554
671
|
path: urlPath,
|
|
555
672
|
method: 'POST',
|
|
556
673
|
headers: headerParameters,
|
|
557
674
|
query: queryParameters,
|
|
558
675
|
body: UserCreateToJSON(requestParameters['userCreate']),
|
|
559
|
-
}
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Creates a user.
|
|
681
|
+
* Creates a user
|
|
682
|
+
*/
|
|
683
|
+
async createUserRaw(requestParameters: CreateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>> {
|
|
684
|
+
const requestOptions = await this.createUserRequestOpts(requestParameters);
|
|
685
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
560
686
|
|
|
561
687
|
return new runtime.JSONApiResponse(response, (jsonValue) => UserFromJSON(jsonValue));
|
|
562
688
|
}
|
|
@@ -571,10 +697,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
571
697
|
}
|
|
572
698
|
|
|
573
699
|
/**
|
|
574
|
-
*
|
|
575
|
-
* Deletes a format
|
|
700
|
+
* Creates request options for deleteFormat without sending the request
|
|
576
701
|
*/
|
|
577
|
-
async
|
|
702
|
+
async deleteFormatRequestOpts(requestParameters: DeleteFormatRequest): Promise<runtime.RequestOpts> {
|
|
578
703
|
if (requestParameters['formatId'] == null) {
|
|
579
704
|
throw new runtime.RequiredError(
|
|
580
705
|
'formatId',
|
|
@@ -593,14 +718,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
593
718
|
|
|
594
719
|
|
|
595
720
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
596
|
-
urlPath = urlPath.replace(
|
|
721
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
597
722
|
|
|
598
|
-
|
|
723
|
+
return {
|
|
599
724
|
path: urlPath,
|
|
600
725
|
method: 'DELETE',
|
|
601
726
|
headers: headerParameters,
|
|
602
727
|
query: queryParameters,
|
|
603
|
-
}
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Deletes a format by id.
|
|
733
|
+
* Deletes a format
|
|
734
|
+
*/
|
|
735
|
+
async deleteFormatRaw(requestParameters: DeleteFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
736
|
+
const requestOptions = await this.deleteFormatRequestOpts(requestParameters);
|
|
737
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
604
738
|
|
|
605
739
|
return new runtime.VoidApiResponse(response);
|
|
606
740
|
}
|
|
@@ -614,10 +748,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
614
748
|
}
|
|
615
749
|
|
|
616
750
|
/**
|
|
617
|
-
*
|
|
618
|
-
* Deletes a meeting
|
|
751
|
+
* Creates request options for deleteMeeting without sending the request
|
|
619
752
|
*/
|
|
620
|
-
async
|
|
753
|
+
async deleteMeetingRequestOpts(requestParameters: DeleteMeetingRequest): Promise<runtime.RequestOpts> {
|
|
621
754
|
if (requestParameters['meetingId'] == null) {
|
|
622
755
|
throw new runtime.RequiredError(
|
|
623
756
|
'meetingId',
|
|
@@ -636,14 +769,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
636
769
|
|
|
637
770
|
|
|
638
771
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
639
|
-
urlPath = urlPath.replace(
|
|
772
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
640
773
|
|
|
641
|
-
|
|
774
|
+
return {
|
|
642
775
|
path: urlPath,
|
|
643
776
|
method: 'DELETE',
|
|
644
777
|
headers: headerParameters,
|
|
645
778
|
query: queryParameters,
|
|
646
|
-
}
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Deletes a meeting by id.
|
|
784
|
+
* Deletes a meeting
|
|
785
|
+
*/
|
|
786
|
+
async deleteMeetingRaw(requestParameters: DeleteMeetingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
787
|
+
const requestOptions = await this.deleteMeetingRequestOpts(requestParameters);
|
|
788
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
647
789
|
|
|
648
790
|
return new runtime.VoidApiResponse(response);
|
|
649
791
|
}
|
|
@@ -657,10 +799,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
657
799
|
}
|
|
658
800
|
|
|
659
801
|
/**
|
|
660
|
-
*
|
|
661
|
-
* Deletes a service body
|
|
802
|
+
* Creates request options for deleteServiceBody without sending the request
|
|
662
803
|
*/
|
|
663
|
-
async
|
|
804
|
+
async deleteServiceBodyRequestOpts(requestParameters: DeleteServiceBodyRequest): Promise<runtime.RequestOpts> {
|
|
664
805
|
if (requestParameters['serviceBodyId'] == null) {
|
|
665
806
|
throw new runtime.RequiredError(
|
|
666
807
|
'serviceBodyId',
|
|
@@ -683,14 +824,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
683
824
|
|
|
684
825
|
|
|
685
826
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
686
|
-
urlPath = urlPath.replace(
|
|
827
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
687
828
|
|
|
688
|
-
|
|
829
|
+
return {
|
|
689
830
|
path: urlPath,
|
|
690
831
|
method: 'DELETE',
|
|
691
832
|
headers: headerParameters,
|
|
692
833
|
query: queryParameters,
|
|
693
|
-
}
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Deletes a service body by id. If the service body has meetings, use force=true to delete them as well.
|
|
839
|
+
* Deletes a service body
|
|
840
|
+
*/
|
|
841
|
+
async deleteServiceBodyRaw(requestParameters: DeleteServiceBodyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
842
|
+
const requestOptions = await this.deleteServiceBodyRequestOpts(requestParameters);
|
|
843
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
694
844
|
|
|
695
845
|
return new runtime.VoidApiResponse(response);
|
|
696
846
|
}
|
|
@@ -704,10 +854,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
704
854
|
}
|
|
705
855
|
|
|
706
856
|
/**
|
|
707
|
-
*
|
|
708
|
-
* Deletes a user
|
|
857
|
+
* Creates request options for deleteUser without sending the request
|
|
709
858
|
*/
|
|
710
|
-
async
|
|
859
|
+
async deleteUserRequestOpts(requestParameters: DeleteUserRequest): Promise<runtime.RequestOpts> {
|
|
711
860
|
if (requestParameters['userId'] == null) {
|
|
712
861
|
throw new runtime.RequiredError(
|
|
713
862
|
'userId',
|
|
@@ -726,14 +875,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
726
875
|
|
|
727
876
|
|
|
728
877
|
let urlPath = `/api/v1/users/{userId}`;
|
|
729
|
-
urlPath = urlPath.replace(
|
|
878
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
730
879
|
|
|
731
|
-
|
|
880
|
+
return {
|
|
732
881
|
path: urlPath,
|
|
733
882
|
method: 'DELETE',
|
|
734
883
|
headers: headerParameters,
|
|
735
884
|
query: queryParameters,
|
|
736
|
-
}
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Deletes a user by id
|
|
890
|
+
* Deletes a user
|
|
891
|
+
*/
|
|
892
|
+
async deleteUserRaw(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
893
|
+
const requestOptions = await this.deleteUserRequestOpts(requestParameters);
|
|
894
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
737
895
|
|
|
738
896
|
return new runtime.VoidApiResponse(response);
|
|
739
897
|
}
|
|
@@ -747,10 +905,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
747
905
|
}
|
|
748
906
|
|
|
749
907
|
/**
|
|
750
|
-
*
|
|
751
|
-
* Retrieves a format
|
|
908
|
+
* Creates request options for getFormat without sending the request
|
|
752
909
|
*/
|
|
753
|
-
async
|
|
910
|
+
async getFormatRequestOpts(requestParameters: GetFormatRequest): Promise<runtime.RequestOpts> {
|
|
754
911
|
if (requestParameters['formatId'] == null) {
|
|
755
912
|
throw new runtime.RequiredError(
|
|
756
913
|
'formatId',
|
|
@@ -769,14 +926,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
769
926
|
|
|
770
927
|
|
|
771
928
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
772
|
-
urlPath = urlPath.replace(
|
|
929
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
773
930
|
|
|
774
|
-
|
|
931
|
+
return {
|
|
775
932
|
path: urlPath,
|
|
776
933
|
method: 'GET',
|
|
777
934
|
headers: headerParameters,
|
|
778
935
|
query: queryParameters,
|
|
779
|
-
}
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Retrieve a format
|
|
941
|
+
* Retrieves a format
|
|
942
|
+
*/
|
|
943
|
+
async getFormatRaw(requestParameters: GetFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Format>> {
|
|
944
|
+
const requestOptions = await this.getFormatRequestOpts(requestParameters);
|
|
945
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
780
946
|
|
|
781
947
|
return new runtime.JSONApiResponse(response, (jsonValue) => FormatFromJSON(jsonValue));
|
|
782
948
|
}
|
|
@@ -791,10 +957,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
791
957
|
}
|
|
792
958
|
|
|
793
959
|
/**
|
|
794
|
-
*
|
|
795
|
-
* Retrieves formats
|
|
960
|
+
* Creates request options for getFormats without sending the request
|
|
796
961
|
*/
|
|
797
|
-
async
|
|
962
|
+
async getFormatsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
798
963
|
const queryParameters: any = {};
|
|
799
964
|
|
|
800
965
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -807,12 +972,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
807
972
|
|
|
808
973
|
let urlPath = `/api/v1/formats`;
|
|
809
974
|
|
|
810
|
-
|
|
975
|
+
return {
|
|
811
976
|
path: urlPath,
|
|
812
977
|
method: 'GET',
|
|
813
978
|
headers: headerParameters,
|
|
814
979
|
query: queryParameters,
|
|
815
|
-
}
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Retrieve formats
|
|
985
|
+
* Retrieves formats
|
|
986
|
+
*/
|
|
987
|
+
async getFormatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Format>>> {
|
|
988
|
+
const requestOptions = await this.getFormatsRequestOpts();
|
|
989
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
816
990
|
|
|
817
991
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(FormatFromJSON));
|
|
818
992
|
}
|
|
@@ -827,10 +1001,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
827
1001
|
}
|
|
828
1002
|
|
|
829
1003
|
/**
|
|
830
|
-
*
|
|
831
|
-
* Retrieves laravel log
|
|
1004
|
+
* Creates request options for getLaravelLog without sending the request
|
|
832
1005
|
*/
|
|
833
|
-
async
|
|
1006
|
+
async getLaravelLogRequestOpts(): Promise<runtime.RequestOpts> {
|
|
834
1007
|
const queryParameters: any = {};
|
|
835
1008
|
|
|
836
1009
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -843,12 +1016,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
843
1016
|
|
|
844
1017
|
let urlPath = `/api/v1/logs/laravel`;
|
|
845
1018
|
|
|
846
|
-
|
|
1019
|
+
return {
|
|
847
1020
|
path: urlPath,
|
|
848
1021
|
method: 'GET',
|
|
849
1022
|
headers: headerParameters,
|
|
850
1023
|
query: queryParameters,
|
|
851
|
-
}
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Retrieve the laravel log if it exists.
|
|
1029
|
+
* Retrieves laravel log
|
|
1030
|
+
*/
|
|
1031
|
+
async getLaravelLogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>> {
|
|
1032
|
+
const requestOptions = await this.getLaravelLogRequestOpts();
|
|
1033
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
852
1034
|
|
|
853
1035
|
return new runtime.BlobApiResponse(response);
|
|
854
1036
|
}
|
|
@@ -863,10 +1045,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
863
1045
|
}
|
|
864
1046
|
|
|
865
1047
|
/**
|
|
866
|
-
*
|
|
867
|
-
* Retrieves a meeting
|
|
1048
|
+
* Creates request options for getMeeting without sending the request
|
|
868
1049
|
*/
|
|
869
|
-
async
|
|
1050
|
+
async getMeetingRequestOpts(requestParameters: GetMeetingRequest): Promise<runtime.RequestOpts> {
|
|
870
1051
|
if (requestParameters['meetingId'] == null) {
|
|
871
1052
|
throw new runtime.RequiredError(
|
|
872
1053
|
'meetingId',
|
|
@@ -885,14 +1066,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
885
1066
|
|
|
886
1067
|
|
|
887
1068
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
888
|
-
urlPath = urlPath.replace(
|
|
1069
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
889
1070
|
|
|
890
|
-
|
|
1071
|
+
return {
|
|
891
1072
|
path: urlPath,
|
|
892
1073
|
method: 'GET',
|
|
893
1074
|
headers: headerParameters,
|
|
894
1075
|
query: queryParameters,
|
|
895
|
-
}
|
|
1076
|
+
};
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Retrieve a meeting.
|
|
1081
|
+
* Retrieves a meeting
|
|
1082
|
+
*/
|
|
1083
|
+
async getMeetingRaw(requestParameters: GetMeetingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Meeting>> {
|
|
1084
|
+
const requestOptions = await this.getMeetingRequestOpts(requestParameters);
|
|
1085
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
896
1086
|
|
|
897
1087
|
return new runtime.JSONApiResponse(response, (jsonValue) => MeetingFromJSON(jsonValue));
|
|
898
1088
|
}
|
|
@@ -907,10 +1097,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
907
1097
|
}
|
|
908
1098
|
|
|
909
1099
|
/**
|
|
910
|
-
*
|
|
911
|
-
* Retrieve changes for a meeting
|
|
1100
|
+
* Creates request options for getMeetingChanges without sending the request
|
|
912
1101
|
*/
|
|
913
|
-
async
|
|
1102
|
+
async getMeetingChangesRequestOpts(requestParameters: GetMeetingChangesRequest): Promise<runtime.RequestOpts> {
|
|
914
1103
|
if (requestParameters['meetingId'] == null) {
|
|
915
1104
|
throw new runtime.RequiredError(
|
|
916
1105
|
'meetingId',
|
|
@@ -929,14 +1118,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
929
1118
|
|
|
930
1119
|
|
|
931
1120
|
let urlPath = `/api/v1/meetings/{meetingId}/changes`;
|
|
932
|
-
urlPath = urlPath.replace(
|
|
1121
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
933
1122
|
|
|
934
|
-
|
|
1123
|
+
return {
|
|
935
1124
|
path: urlPath,
|
|
936
1125
|
method: 'GET',
|
|
937
1126
|
headers: headerParameters,
|
|
938
1127
|
query: queryParameters,
|
|
939
|
-
}
|
|
1128
|
+
};
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Retrieve all changes made to a specific meeting.
|
|
1133
|
+
* Retrieve changes for a meeting
|
|
1134
|
+
*/
|
|
1135
|
+
async getMeetingChangesRaw(requestParameters: GetMeetingChangesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<MeetingChangeResource>>> {
|
|
1136
|
+
const requestOptions = await this.getMeetingChangesRequestOpts(requestParameters);
|
|
1137
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
940
1138
|
|
|
941
1139
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(MeetingChangeResourceFromJSON));
|
|
942
1140
|
}
|
|
@@ -951,10 +1149,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
951
1149
|
}
|
|
952
1150
|
|
|
953
1151
|
/**
|
|
954
|
-
*
|
|
955
|
-
* Retrieves meetings
|
|
1152
|
+
* Creates request options for getMeetings without sending the request
|
|
956
1153
|
*/
|
|
957
|
-
async
|
|
1154
|
+
async getMeetingsRequestOpts(requestParameters: GetMeetingsRequest): Promise<runtime.RequestOpts> {
|
|
958
1155
|
const queryParameters: any = {};
|
|
959
1156
|
|
|
960
1157
|
if (requestParameters['meetingIds'] != null) {
|
|
@@ -983,12 +1180,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
983
1180
|
|
|
984
1181
|
let urlPath = `/api/v1/meetings`;
|
|
985
1182
|
|
|
986
|
-
|
|
1183
|
+
return {
|
|
987
1184
|
path: urlPath,
|
|
988
1185
|
method: 'GET',
|
|
989
1186
|
headers: headerParameters,
|
|
990
1187
|
query: queryParameters,
|
|
991
|
-
}
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Retrieve meetings for authenticated user.
|
|
1193
|
+
* Retrieves meetings
|
|
1194
|
+
*/
|
|
1195
|
+
async getMeetingsRaw(requestParameters: GetMeetingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Meeting>>> {
|
|
1196
|
+
const requestOptions = await this.getMeetingsRequestOpts(requestParameters);
|
|
1197
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
992
1198
|
|
|
993
1199
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(MeetingFromJSON));
|
|
994
1200
|
}
|
|
@@ -1003,10 +1209,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1003
1209
|
}
|
|
1004
1210
|
|
|
1005
1211
|
/**
|
|
1006
|
-
*
|
|
1007
|
-
* Retrieves a root server
|
|
1212
|
+
* Creates request options for getRootServer without sending the request
|
|
1008
1213
|
*/
|
|
1009
|
-
async
|
|
1214
|
+
async getRootServerRequestOpts(requestParameters: GetRootServerRequest): Promise<runtime.RequestOpts> {
|
|
1010
1215
|
if (requestParameters['rootServerId'] == null) {
|
|
1011
1216
|
throw new runtime.RequiredError(
|
|
1012
1217
|
'rootServerId',
|
|
@@ -1020,14 +1225,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1020
1225
|
|
|
1021
1226
|
|
|
1022
1227
|
let urlPath = `/api/v1/rootservers/{rootServerId}`;
|
|
1023
|
-
urlPath = urlPath.replace(
|
|
1228
|
+
urlPath = urlPath.replace('{rootServerId}', encodeURIComponent(String(requestParameters['rootServerId'])));
|
|
1024
1229
|
|
|
1025
|
-
|
|
1230
|
+
return {
|
|
1026
1231
|
path: urlPath,
|
|
1027
1232
|
method: 'GET',
|
|
1028
1233
|
headers: headerParameters,
|
|
1029
1234
|
query: queryParameters,
|
|
1030
|
-
}
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Retrieve a single root server id.
|
|
1240
|
+
* Retrieves a root server
|
|
1241
|
+
*/
|
|
1242
|
+
async getRootServerRaw(requestParameters: GetRootServerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RootServer>> {
|
|
1243
|
+
const requestOptions = await this.getRootServerRequestOpts(requestParameters);
|
|
1244
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1031
1245
|
|
|
1032
1246
|
return new runtime.JSONApiResponse(response, (jsonValue) => RootServerFromJSON(jsonValue));
|
|
1033
1247
|
}
|
|
@@ -1042,10 +1256,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1042
1256
|
}
|
|
1043
1257
|
|
|
1044
1258
|
/**
|
|
1045
|
-
*
|
|
1046
|
-
* Retrieves root servers
|
|
1259
|
+
* Creates request options for getRootServers without sending the request
|
|
1047
1260
|
*/
|
|
1048
|
-
async
|
|
1261
|
+
async getRootServersRequestOpts(): Promise<runtime.RequestOpts> {
|
|
1049
1262
|
const queryParameters: any = {};
|
|
1050
1263
|
|
|
1051
1264
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1053,12 +1266,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1053
1266
|
|
|
1054
1267
|
let urlPath = `/api/v1/rootservers`;
|
|
1055
1268
|
|
|
1056
|
-
|
|
1269
|
+
return {
|
|
1057
1270
|
path: urlPath,
|
|
1058
1271
|
method: 'GET',
|
|
1059
1272
|
headers: headerParameters,
|
|
1060
1273
|
query: queryParameters,
|
|
1061
|
-
}
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Retrieve root servers.
|
|
1279
|
+
* Retrieves root servers
|
|
1280
|
+
*/
|
|
1281
|
+
async getRootServersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RootServer>>> {
|
|
1282
|
+
const requestOptions = await this.getRootServersRequestOpts();
|
|
1283
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1062
1284
|
|
|
1063
1285
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(RootServerFromJSON));
|
|
1064
1286
|
}
|
|
@@ -1073,10 +1295,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1073
1295
|
}
|
|
1074
1296
|
|
|
1075
1297
|
/**
|
|
1076
|
-
*
|
|
1077
|
-
* Retrieves service bodies
|
|
1298
|
+
* Creates request options for getServiceBodies without sending the request
|
|
1078
1299
|
*/
|
|
1079
|
-
async
|
|
1300
|
+
async getServiceBodiesRequestOpts(): Promise<runtime.RequestOpts> {
|
|
1080
1301
|
const queryParameters: any = {};
|
|
1081
1302
|
|
|
1082
1303
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1089,12 +1310,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1089
1310
|
|
|
1090
1311
|
let urlPath = `/api/v1/servicebodies`;
|
|
1091
1312
|
|
|
1092
|
-
|
|
1313
|
+
return {
|
|
1093
1314
|
path: urlPath,
|
|
1094
1315
|
method: 'GET',
|
|
1095
1316
|
headers: headerParameters,
|
|
1096
1317
|
query: queryParameters,
|
|
1097
|
-
}
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Retrieve service bodies for authenticated user.
|
|
1323
|
+
* Retrieves service bodies
|
|
1324
|
+
*/
|
|
1325
|
+
async getServiceBodiesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceBody>>> {
|
|
1326
|
+
const requestOptions = await this.getServiceBodiesRequestOpts();
|
|
1327
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1098
1328
|
|
|
1099
1329
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ServiceBodyFromJSON));
|
|
1100
1330
|
}
|
|
@@ -1109,10 +1339,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1109
1339
|
}
|
|
1110
1340
|
|
|
1111
1341
|
/**
|
|
1112
|
-
*
|
|
1113
|
-
* Retrieves a service body
|
|
1342
|
+
* Creates request options for getServiceBody without sending the request
|
|
1114
1343
|
*/
|
|
1115
|
-
async
|
|
1344
|
+
async getServiceBodyRequestOpts(requestParameters: GetServiceBodyRequest): Promise<runtime.RequestOpts> {
|
|
1116
1345
|
if (requestParameters['serviceBodyId'] == null) {
|
|
1117
1346
|
throw new runtime.RequiredError(
|
|
1118
1347
|
'serviceBodyId',
|
|
@@ -1131,14 +1360,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1131
1360
|
|
|
1132
1361
|
|
|
1133
1362
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
1134
|
-
urlPath = urlPath.replace(
|
|
1363
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1135
1364
|
|
|
1136
|
-
|
|
1365
|
+
return {
|
|
1137
1366
|
path: urlPath,
|
|
1138
1367
|
method: 'GET',
|
|
1139
1368
|
headers: headerParameters,
|
|
1140
1369
|
query: queryParameters,
|
|
1141
|
-
}
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Retrieve a single service body by id.
|
|
1375
|
+
* Retrieves a service body
|
|
1376
|
+
*/
|
|
1377
|
+
async getServiceBodyRaw(requestParameters: GetServiceBodyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceBody>> {
|
|
1378
|
+
const requestOptions = await this.getServiceBodyRequestOpts(requestParameters);
|
|
1379
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1142
1380
|
|
|
1143
1381
|
return new runtime.JSONApiResponse(response, (jsonValue) => ServiceBodyFromJSON(jsonValue));
|
|
1144
1382
|
}
|
|
@@ -1153,10 +1391,61 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1153
1391
|
}
|
|
1154
1392
|
|
|
1155
1393
|
/**
|
|
1156
|
-
*
|
|
1157
|
-
* Retrieves all settings
|
|
1394
|
+
* Creates request options for getServiceBodyEditors without sending the request
|
|
1158
1395
|
*/
|
|
1159
|
-
async
|
|
1396
|
+
async getServiceBodyEditorsRequestOpts(requestParameters: GetServiceBodyEditorsRequest): Promise<runtime.RequestOpts> {
|
|
1397
|
+
if (requestParameters['serviceBodyId'] == null) {
|
|
1398
|
+
throw new runtime.RequiredError(
|
|
1399
|
+
'serviceBodyId',
|
|
1400
|
+
'Required parameter "serviceBodyId" was null or undefined when calling getServiceBodyEditors().'
|
|
1401
|
+
);
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
const queryParameters: any = {};
|
|
1405
|
+
|
|
1406
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1407
|
+
|
|
1408
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1409
|
+
// oauth required
|
|
1410
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("bmltToken", []);
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
let urlPath = `/api/v1/servicebodies/{serviceBodyId}/editors`;
|
|
1415
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1416
|
+
|
|
1417
|
+
return {
|
|
1418
|
+
path: urlPath,
|
|
1419
|
+
method: 'GET',
|
|
1420
|
+
headers: headerParameters,
|
|
1421
|
+
query: queryParameters,
|
|
1422
|
+
};
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 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.
|
|
1427
|
+
* Retrieves the editors assigned to a service body
|
|
1428
|
+
*/
|
|
1429
|
+
async getServiceBodyEditorsRaw(requestParameters: GetServiceBodyEditorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ServiceBodyEditor>>> {
|
|
1430
|
+
const requestOptions = await this.getServiceBodyEditorsRequestOpts(requestParameters);
|
|
1431
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1432
|
+
|
|
1433
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ServiceBodyEditorFromJSON));
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* 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.
|
|
1438
|
+
* Retrieves the editors assigned to a service body
|
|
1439
|
+
*/
|
|
1440
|
+
async getServiceBodyEditors(requestParameters: GetServiceBodyEditorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ServiceBodyEditor>> {
|
|
1441
|
+
const response = await this.getServiceBodyEditorsRaw(requestParameters, initOverrides);
|
|
1442
|
+
return await response.value();
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* Creates request options for getSettings without sending the request
|
|
1447
|
+
*/
|
|
1448
|
+
async getSettingsRequestOpts(): Promise<runtime.RequestOpts> {
|
|
1160
1449
|
const queryParameters: any = {};
|
|
1161
1450
|
|
|
1162
1451
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1169,12 +1458,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1169
1458
|
|
|
1170
1459
|
let urlPath = `/api/v1/settings`;
|
|
1171
1460
|
|
|
1172
|
-
|
|
1461
|
+
return {
|
|
1173
1462
|
path: urlPath,
|
|
1174
1463
|
method: 'GET',
|
|
1175
1464
|
headers: headerParameters,
|
|
1176
1465
|
query: queryParameters,
|
|
1177
|
-
}
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Retrieve all server settings. Only accessible to server administrators.
|
|
1471
|
+
* Retrieves all settings
|
|
1472
|
+
*/
|
|
1473
|
+
async getSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SettingsObject>> {
|
|
1474
|
+
const requestOptions = await this.getSettingsRequestOpts();
|
|
1475
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1178
1476
|
|
|
1179
1477
|
return new runtime.JSONApiResponse(response, (jsonValue) => SettingsObjectFromJSON(jsonValue));
|
|
1180
1478
|
}
|
|
@@ -1189,10 +1487,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1189
1487
|
}
|
|
1190
1488
|
|
|
1191
1489
|
/**
|
|
1192
|
-
*
|
|
1193
|
-
* Retrieves a single user
|
|
1490
|
+
* Creates request options for getUser without sending the request
|
|
1194
1491
|
*/
|
|
1195
|
-
async
|
|
1492
|
+
async getUserRequestOpts(requestParameters: GetUserRequest): Promise<runtime.RequestOpts> {
|
|
1196
1493
|
if (requestParameters['userId'] == null) {
|
|
1197
1494
|
throw new runtime.RequiredError(
|
|
1198
1495
|
'userId',
|
|
@@ -1211,14 +1508,23 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1211
1508
|
|
|
1212
1509
|
|
|
1213
1510
|
let urlPath = `/api/v1/users/{userId}`;
|
|
1214
|
-
urlPath = urlPath.replace(
|
|
1511
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1215
1512
|
|
|
1216
|
-
|
|
1513
|
+
return {
|
|
1217
1514
|
path: urlPath,
|
|
1218
1515
|
method: 'GET',
|
|
1219
1516
|
headers: headerParameters,
|
|
1220
1517
|
query: queryParameters,
|
|
1221
|
-
}
|
|
1518
|
+
};
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Retrieve single user.
|
|
1523
|
+
* Retrieves a single user
|
|
1524
|
+
*/
|
|
1525
|
+
async getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>> {
|
|
1526
|
+
const requestOptions = await this.getUserRequestOpts(requestParameters);
|
|
1527
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1222
1528
|
|
|
1223
1529
|
return new runtime.JSONApiResponse(response, (jsonValue) => UserFromJSON(jsonValue));
|
|
1224
1530
|
}
|
|
@@ -1233,10 +1539,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1233
1539
|
}
|
|
1234
1540
|
|
|
1235
1541
|
/**
|
|
1236
|
-
*
|
|
1237
|
-
* Retrieves users
|
|
1542
|
+
* Creates request options for getUsers without sending the request
|
|
1238
1543
|
*/
|
|
1239
|
-
async
|
|
1544
|
+
async getUsersRequestOpts(): Promise<runtime.RequestOpts> {
|
|
1240
1545
|
const queryParameters: any = {};
|
|
1241
1546
|
|
|
1242
1547
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1249,12 +1554,21 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1249
1554
|
|
|
1250
1555
|
let urlPath = `/api/v1/users`;
|
|
1251
1556
|
|
|
1252
|
-
|
|
1557
|
+
return {
|
|
1253
1558
|
path: urlPath,
|
|
1254
1559
|
method: 'GET',
|
|
1255
1560
|
headers: headerParameters,
|
|
1256
1561
|
query: queryParameters,
|
|
1257
|
-
}
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* Retrieve users for authenticated user.
|
|
1567
|
+
* Retrieves users
|
|
1568
|
+
*/
|
|
1569
|
+
async getUsersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<User>>> {
|
|
1570
|
+
const requestOptions = await this.getUsersRequestOpts();
|
|
1571
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1258
1572
|
|
|
1259
1573
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UserFromJSON));
|
|
1260
1574
|
}
|
|
@@ -1269,10 +1583,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1269
1583
|
}
|
|
1270
1584
|
|
|
1271
1585
|
/**
|
|
1272
|
-
*
|
|
1273
|
-
* Patches a user
|
|
1586
|
+
* Creates request options for partialUpdateUser without sending the request
|
|
1274
1587
|
*/
|
|
1275
|
-
async
|
|
1588
|
+
async partialUpdateUserRequestOpts(requestParameters: PartialUpdateUserRequest): Promise<runtime.RequestOpts> {
|
|
1276
1589
|
if (requestParameters['userId'] == null) {
|
|
1277
1590
|
throw new runtime.RequiredError(
|
|
1278
1591
|
'userId',
|
|
@@ -1300,15 +1613,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1300
1613
|
|
|
1301
1614
|
|
|
1302
1615
|
let urlPath = `/api/v1/users/{userId}`;
|
|
1303
|
-
urlPath = urlPath.replace(
|
|
1616
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1304
1617
|
|
|
1305
|
-
|
|
1618
|
+
return {
|
|
1306
1619
|
path: urlPath,
|
|
1307
1620
|
method: 'PATCH',
|
|
1308
1621
|
headers: headerParameters,
|
|
1309
1622
|
query: queryParameters,
|
|
1310
1623
|
body: UserPartialUpdateToJSON(requestParameters['userPartialUpdate']),
|
|
1311
|
-
}
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Patches a user by id.
|
|
1629
|
+
* Patches a user
|
|
1630
|
+
*/
|
|
1631
|
+
async partialUpdateUserRaw(requestParameters: PartialUpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1632
|
+
const requestOptions = await this.partialUpdateUserRequestOpts(requestParameters);
|
|
1633
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1312
1634
|
|
|
1313
1635
|
return new runtime.VoidApiResponse(response);
|
|
1314
1636
|
}
|
|
@@ -1322,10 +1644,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1322
1644
|
}
|
|
1323
1645
|
|
|
1324
1646
|
/**
|
|
1325
|
-
*
|
|
1326
|
-
* Patches a format
|
|
1647
|
+
* Creates request options for patchFormat without sending the request
|
|
1327
1648
|
*/
|
|
1328
|
-
async
|
|
1649
|
+
async patchFormatRequestOpts(requestParameters: PatchFormatRequest): Promise<runtime.RequestOpts> {
|
|
1329
1650
|
if (requestParameters['formatId'] == null) {
|
|
1330
1651
|
throw new runtime.RequiredError(
|
|
1331
1652
|
'formatId',
|
|
@@ -1353,15 +1674,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1353
1674
|
|
|
1354
1675
|
|
|
1355
1676
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
1356
|
-
urlPath = urlPath.replace(
|
|
1677
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
1357
1678
|
|
|
1358
|
-
|
|
1679
|
+
return {
|
|
1359
1680
|
path: urlPath,
|
|
1360
1681
|
method: 'PATCH',
|
|
1361
1682
|
headers: headerParameters,
|
|
1362
1683
|
query: queryParameters,
|
|
1363
1684
|
body: FormatPartialUpdateToJSON(requestParameters['formatPartialUpdate']),
|
|
1364
|
-
}
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
/**
|
|
1689
|
+
* Patches a single format by id.
|
|
1690
|
+
* Patches a format
|
|
1691
|
+
*/
|
|
1692
|
+
async patchFormatRaw(requestParameters: PatchFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1693
|
+
const requestOptions = await this.patchFormatRequestOpts(requestParameters);
|
|
1694
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1365
1695
|
|
|
1366
1696
|
return new runtime.VoidApiResponse(response);
|
|
1367
1697
|
}
|
|
@@ -1375,10 +1705,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1375
1705
|
}
|
|
1376
1706
|
|
|
1377
1707
|
/**
|
|
1378
|
-
*
|
|
1379
|
-
* Patches a meeting
|
|
1708
|
+
* Creates request options for patchMeeting without sending the request
|
|
1380
1709
|
*/
|
|
1381
|
-
async
|
|
1710
|
+
async patchMeetingRequestOpts(requestParameters: PatchMeetingRequest): Promise<runtime.RequestOpts> {
|
|
1382
1711
|
if (requestParameters['meetingId'] == null) {
|
|
1383
1712
|
throw new runtime.RequiredError(
|
|
1384
1713
|
'meetingId',
|
|
@@ -1410,15 +1739,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1410
1739
|
|
|
1411
1740
|
|
|
1412
1741
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
1413
|
-
urlPath = urlPath.replace(
|
|
1742
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
1414
1743
|
|
|
1415
|
-
|
|
1744
|
+
return {
|
|
1416
1745
|
path: urlPath,
|
|
1417
1746
|
method: 'PATCH',
|
|
1418
1747
|
headers: headerParameters,
|
|
1419
1748
|
query: queryParameters,
|
|
1420
1749
|
body: MeetingPartialUpdateToJSON(requestParameters['meetingPartialUpdate']),
|
|
1421
|
-
}
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Patches a meeting by id
|
|
1755
|
+
* Patches a meeting
|
|
1756
|
+
*/
|
|
1757
|
+
async patchMeetingRaw(requestParameters: PatchMeetingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1758
|
+
const requestOptions = await this.patchMeetingRequestOpts(requestParameters);
|
|
1759
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1422
1760
|
|
|
1423
1761
|
return new runtime.VoidApiResponse(response);
|
|
1424
1762
|
}
|
|
@@ -1432,10 +1770,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1432
1770
|
}
|
|
1433
1771
|
|
|
1434
1772
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
* Patches a service body
|
|
1773
|
+
* Creates request options for patchServiceBody without sending the request
|
|
1437
1774
|
*/
|
|
1438
|
-
async
|
|
1775
|
+
async patchServiceBodyRequestOpts(requestParameters: PatchServiceBodyRequest): Promise<runtime.RequestOpts> {
|
|
1439
1776
|
if (requestParameters['serviceBodyId'] == null) {
|
|
1440
1777
|
throw new runtime.RequiredError(
|
|
1441
1778
|
'serviceBodyId',
|
|
@@ -1463,15 +1800,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1463
1800
|
|
|
1464
1801
|
|
|
1465
1802
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
1466
|
-
urlPath = urlPath.replace(
|
|
1803
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1467
1804
|
|
|
1468
|
-
|
|
1805
|
+
return {
|
|
1469
1806
|
path: urlPath,
|
|
1470
1807
|
method: 'PATCH',
|
|
1471
1808
|
headers: headerParameters,
|
|
1472
1809
|
query: queryParameters,
|
|
1473
1810
|
body: ServiceBodyPartialUpdateToJSON(requestParameters['serviceBodyPartialUpdate']),
|
|
1474
|
-
}
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
/**
|
|
1815
|
+
* Patches a single service body by id.
|
|
1816
|
+
* Patches a service body
|
|
1817
|
+
*/
|
|
1818
|
+
async patchServiceBodyRaw(requestParameters: PatchServiceBodyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1819
|
+
const requestOptions = await this.patchServiceBodyRequestOpts(requestParameters);
|
|
1820
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1475
1821
|
|
|
1476
1822
|
return new runtime.VoidApiResponse(response);
|
|
1477
1823
|
}
|
|
@@ -1485,10 +1831,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1485
1831
|
}
|
|
1486
1832
|
|
|
1487
1833
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
* Updates a format
|
|
1834
|
+
* Creates request options for updateFormat without sending the request
|
|
1490
1835
|
*/
|
|
1491
|
-
async
|
|
1836
|
+
async updateFormatRequestOpts(requestParameters: UpdateFormatRequest): Promise<runtime.RequestOpts> {
|
|
1492
1837
|
if (requestParameters['formatId'] == null) {
|
|
1493
1838
|
throw new runtime.RequiredError(
|
|
1494
1839
|
'formatId',
|
|
@@ -1516,15 +1861,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1516
1861
|
|
|
1517
1862
|
|
|
1518
1863
|
let urlPath = `/api/v1/formats/{formatId}`;
|
|
1519
|
-
urlPath = urlPath.replace(
|
|
1864
|
+
urlPath = urlPath.replace('{formatId}', encodeURIComponent(String(requestParameters['formatId'])));
|
|
1520
1865
|
|
|
1521
|
-
|
|
1866
|
+
return {
|
|
1522
1867
|
path: urlPath,
|
|
1523
1868
|
method: 'PUT',
|
|
1524
1869
|
headers: headerParameters,
|
|
1525
1870
|
query: queryParameters,
|
|
1526
1871
|
body: FormatUpdateToJSON(requestParameters['formatUpdate']),
|
|
1527
|
-
}
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* Updates a format.
|
|
1877
|
+
* Updates a format
|
|
1878
|
+
*/
|
|
1879
|
+
async updateFormatRaw(requestParameters: UpdateFormatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1880
|
+
const requestOptions = await this.updateFormatRequestOpts(requestParameters);
|
|
1881
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1528
1882
|
|
|
1529
1883
|
return new runtime.VoidApiResponse(response);
|
|
1530
1884
|
}
|
|
@@ -1538,10 +1892,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1538
1892
|
}
|
|
1539
1893
|
|
|
1540
1894
|
/**
|
|
1541
|
-
*
|
|
1542
|
-
* Updates a meeting
|
|
1895
|
+
* Creates request options for updateMeeting without sending the request
|
|
1543
1896
|
*/
|
|
1544
|
-
async
|
|
1897
|
+
async updateMeetingRequestOpts(requestParameters: UpdateMeetingRequest): Promise<runtime.RequestOpts> {
|
|
1545
1898
|
if (requestParameters['meetingId'] == null) {
|
|
1546
1899
|
throw new runtime.RequiredError(
|
|
1547
1900
|
'meetingId',
|
|
@@ -1569,15 +1922,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1569
1922
|
|
|
1570
1923
|
|
|
1571
1924
|
let urlPath = `/api/v1/meetings/{meetingId}`;
|
|
1572
|
-
urlPath = urlPath.replace(
|
|
1925
|
+
urlPath = urlPath.replace('{meetingId}', encodeURIComponent(String(requestParameters['meetingId'])));
|
|
1573
1926
|
|
|
1574
|
-
|
|
1927
|
+
return {
|
|
1575
1928
|
path: urlPath,
|
|
1576
1929
|
method: 'PUT',
|
|
1577
1930
|
headers: headerParameters,
|
|
1578
1931
|
query: queryParameters,
|
|
1579
1932
|
body: MeetingUpdateToJSON(requestParameters['meetingUpdate']),
|
|
1580
|
-
}
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* Updates a meeting.
|
|
1938
|
+
* Updates a meeting
|
|
1939
|
+
*/
|
|
1940
|
+
async updateMeetingRaw(requestParameters: UpdateMeetingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1941
|
+
const requestOptions = await this.updateMeetingRequestOpts(requestParameters);
|
|
1942
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1581
1943
|
|
|
1582
1944
|
return new runtime.VoidApiResponse(response);
|
|
1583
1945
|
}
|
|
@@ -1591,10 +1953,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1591
1953
|
}
|
|
1592
1954
|
|
|
1593
1955
|
/**
|
|
1594
|
-
*
|
|
1595
|
-
* Updates a Service Body
|
|
1956
|
+
* Creates request options for updateServiceBody without sending the request
|
|
1596
1957
|
*/
|
|
1597
|
-
async
|
|
1958
|
+
async updateServiceBodyRequestOpts(requestParameters: UpdateServiceBodyRequest): Promise<runtime.RequestOpts> {
|
|
1598
1959
|
if (requestParameters['serviceBodyId'] == null) {
|
|
1599
1960
|
throw new runtime.RequiredError(
|
|
1600
1961
|
'serviceBodyId',
|
|
@@ -1622,15 +1983,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1622
1983
|
|
|
1623
1984
|
|
|
1624
1985
|
let urlPath = `/api/v1/servicebodies/{serviceBodyId}`;
|
|
1625
|
-
urlPath = urlPath.replace(
|
|
1986
|
+
urlPath = urlPath.replace('{serviceBodyId}', encodeURIComponent(String(requestParameters['serviceBodyId'])));
|
|
1626
1987
|
|
|
1627
|
-
|
|
1988
|
+
return {
|
|
1628
1989
|
path: urlPath,
|
|
1629
1990
|
method: 'PUT',
|
|
1630
1991
|
headers: headerParameters,
|
|
1631
1992
|
query: queryParameters,
|
|
1632
1993
|
body: ServiceBodyUpdateToJSON(requestParameters['serviceBodyUpdate']),
|
|
1633
|
-
}
|
|
1994
|
+
};
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* Updates a single service body.
|
|
1999
|
+
* Updates a Service Body
|
|
2000
|
+
*/
|
|
2001
|
+
async updateServiceBodyRaw(requestParameters: UpdateServiceBodyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2002
|
+
const requestOptions = await this.updateServiceBodyRequestOpts(requestParameters);
|
|
2003
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1634
2004
|
|
|
1635
2005
|
return new runtime.VoidApiResponse(response);
|
|
1636
2006
|
}
|
|
@@ -1644,10 +2014,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1644
2014
|
}
|
|
1645
2015
|
|
|
1646
2016
|
/**
|
|
1647
|
-
*
|
|
1648
|
-
* Update settings
|
|
2017
|
+
* Creates request options for updateSettings without sending the request
|
|
1649
2018
|
*/
|
|
1650
|
-
async
|
|
2019
|
+
async updateSettingsRequestOpts(requestParameters: UpdateSettingsRequest): Promise<runtime.RequestOpts> {
|
|
1651
2020
|
if (requestParameters['settingsUpdate'] == null) {
|
|
1652
2021
|
throw new runtime.RequiredError(
|
|
1653
2022
|
'settingsUpdate',
|
|
@@ -1669,13 +2038,22 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1669
2038
|
|
|
1670
2039
|
let urlPath = `/api/v1/settings`;
|
|
1671
2040
|
|
|
1672
|
-
|
|
2041
|
+
return {
|
|
1673
2042
|
path: urlPath,
|
|
1674
2043
|
method: 'PATCH',
|
|
1675
2044
|
headers: headerParameters,
|
|
1676
2045
|
query: queryParameters,
|
|
1677
2046
|
body: SettingsUpdateToJSON(requestParameters['settingsUpdate']),
|
|
1678
|
-
}
|
|
2047
|
+
};
|
|
2048
|
+
}
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Updates one or more server settings. Only accessible to server administrators.
|
|
2052
|
+
* Update settings
|
|
2053
|
+
*/
|
|
2054
|
+
async updateSettingsRaw(requestParameters: UpdateSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2055
|
+
const requestOptions = await this.updateSettingsRequestOpts(requestParameters);
|
|
2056
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1679
2057
|
|
|
1680
2058
|
return new runtime.VoidApiResponse(response);
|
|
1681
2059
|
}
|
|
@@ -1689,10 +2067,9 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1689
2067
|
}
|
|
1690
2068
|
|
|
1691
2069
|
/**
|
|
1692
|
-
*
|
|
1693
|
-
* Update single user
|
|
2070
|
+
* Creates request options for updateUser without sending the request
|
|
1694
2071
|
*/
|
|
1695
|
-
async
|
|
2072
|
+
async updateUserRequestOpts(requestParameters: UpdateUserRequest): Promise<runtime.RequestOpts> {
|
|
1696
2073
|
if (requestParameters['userId'] == null) {
|
|
1697
2074
|
throw new runtime.RequiredError(
|
|
1698
2075
|
'userId',
|
|
@@ -1720,15 +2097,24 @@ export class RootServerApi extends runtime.BaseAPI {
|
|
|
1720
2097
|
|
|
1721
2098
|
|
|
1722
2099
|
let urlPath = `/api/v1/users/{userId}`;
|
|
1723
|
-
urlPath = urlPath.replace(
|
|
2100
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
1724
2101
|
|
|
1725
|
-
|
|
2102
|
+
return {
|
|
1726
2103
|
path: urlPath,
|
|
1727
2104
|
method: 'PUT',
|
|
1728
2105
|
headers: headerParameters,
|
|
1729
2106
|
query: queryParameters,
|
|
1730
2107
|
body: UserUpdateToJSON(requestParameters['userUpdate']),
|
|
1731
|
-
}
|
|
2108
|
+
};
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Updates a user.
|
|
2113
|
+
* Update single user
|
|
2114
|
+
*/
|
|
2115
|
+
async updateUserRaw(requestParameters: UpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2116
|
+
const requestOptions = await this.updateUserRequestOpts(requestParameters);
|
|
2117
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
1732
2118
|
|
|
1733
2119
|
return new runtime.VoidApiResponse(response);
|
|
1734
2120
|
}
|