bmlt-server-client 1.3.0 → 1.3.1
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 +6 -6
- package/dist/apis/{ServerApi.d.ts → RootServerApi.d.ts} +16 -16
- package/dist/apis/{ServerApi.js → RootServerApi.js} +86 -86
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/MeetingPartialUpdate.d.ts +10 -10
- package/dist/models/MeetingPartialUpdate.js +10 -30
- package/dist/models/RootServer.d.ts +69 -0
- package/dist/models/{Server.js → RootServer.js} +17 -17
- package/dist/models/RootServerBase.d.ts +63 -0
- package/dist/models/{ServerBase.js → RootServerBase.js} +17 -17
- package/dist/models/RootServerBaseStatistics.d.ts +40 -0
- package/dist/models/RootServerBaseStatistics.js +58 -0
- package/dist/models/RootServerBaseStatisticsMeetings.d.ts +56 -0
- package/dist/models/{ServerBaseStatisticsMeetings.js → RootServerBaseStatisticsMeetings.js} +14 -14
- package/dist/models/RootServerBaseStatisticsServiceBodies.d.ts +50 -0
- package/dist/models/RootServerBaseStatisticsServiceBodies.js +64 -0
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js +5 -5
- package/openapi.json +1 -1
- package/package.json +1 -1
- package/src/apis/{ServerApi.ts → RootServerApi.ts} +27 -27
- package/src/apis/index.ts +1 -1
- package/src/models/MeetingPartialUpdate.ts +20 -30
- package/src/models/{Server.ts → RootServer.ts} +27 -27
- package/src/models/{ServerBase.ts → RootServerBase.ts} +26 -26
- package/src/models/RootServerBaseStatistics.ts +90 -0
- package/src/models/{ServerBaseStatisticsMeetings.ts → RootServerBaseStatisticsMeetings.ts} +15 -15
- package/src/models/{ServerBaseStatisticsServiceBodies.ts → RootServerBaseStatisticsServiceBodies.ts} +14 -14
- package/src/models/index.ts +5 -5
- package/dist/models/Server.d.ts +0 -69
- package/dist/models/ServerBase.d.ts +0 -63
- package/dist/models/ServerBaseStatistics.d.ts +0 -40
- package/dist/models/ServerBaseStatistics.js +0 -58
- package/dist/models/ServerBaseStatisticsMeetings.d.ts +0 -56
- package/dist/models/ServerBaseStatisticsServiceBodies.d.ts +0 -50
- package/dist/models/ServerBaseStatisticsServiceBodies.js +0 -64
- package/src/models/ServerBaseStatistics.ts +0 -90
|
@@ -24,19 +24,19 @@ export interface MeetingPartialUpdate {
|
|
|
24
24
|
* @type {number}
|
|
25
25
|
* @memberof MeetingPartialUpdate
|
|
26
26
|
*/
|
|
27
|
-
serviceBodyId
|
|
27
|
+
serviceBodyId?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {Array<number>}
|
|
31
31
|
* @memberof MeetingPartialUpdate
|
|
32
32
|
*/
|
|
33
|
-
formatIds
|
|
33
|
+
formatIds?: Array<number>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
37
|
* @memberof MeetingPartialUpdate
|
|
38
38
|
*/
|
|
39
|
-
venueType
|
|
39
|
+
venueType?: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
@@ -48,19 +48,19 @@ export interface MeetingPartialUpdate {
|
|
|
48
48
|
* @type {number}
|
|
49
49
|
* @memberof MeetingPartialUpdate
|
|
50
50
|
*/
|
|
51
|
-
day
|
|
51
|
+
day?: number;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof MeetingPartialUpdate
|
|
56
56
|
*/
|
|
57
|
-
startTime
|
|
57
|
+
startTime?: string;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof MeetingPartialUpdate
|
|
62
62
|
*/
|
|
63
|
-
duration
|
|
63
|
+
duration?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -72,19 +72,19 @@ export interface MeetingPartialUpdate {
|
|
|
72
72
|
* @type {number}
|
|
73
73
|
* @memberof MeetingPartialUpdate
|
|
74
74
|
*/
|
|
75
|
-
latitude
|
|
75
|
+
latitude?: number;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
79
79
|
* @memberof MeetingPartialUpdate
|
|
80
80
|
*/
|
|
81
|
-
longitude
|
|
81
|
+
longitude?: number;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {boolean}
|
|
85
85
|
* @memberof MeetingPartialUpdate
|
|
86
86
|
*/
|
|
87
|
-
published
|
|
87
|
+
published?: boolean;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {string}
|
|
@@ -102,7 +102,7 @@ export interface MeetingPartialUpdate {
|
|
|
102
102
|
* @type {string}
|
|
103
103
|
* @memberof MeetingPartialUpdate
|
|
104
104
|
*/
|
|
105
|
-
name
|
|
105
|
+
name?: string;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @type {string}
|
|
@@ -247,16 +247,6 @@ export interface MeetingPartialUpdate {
|
|
|
247
247
|
* Check if a given object implements the MeetingPartialUpdate interface.
|
|
248
248
|
*/
|
|
249
249
|
export function instanceOfMeetingPartialUpdate(value: object): value is MeetingPartialUpdate {
|
|
250
|
-
if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined) return false;
|
|
251
|
-
if (!('formatIds' in value) || value['formatIds'] === undefined) return false;
|
|
252
|
-
if (!('venueType' in value) || value['venueType'] === undefined) return false;
|
|
253
|
-
if (!('day' in value) || value['day'] === undefined) return false;
|
|
254
|
-
if (!('startTime' in value) || value['startTime'] === undefined) return false;
|
|
255
|
-
if (!('duration' in value) || value['duration'] === undefined) return false;
|
|
256
|
-
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
257
|
-
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
258
|
-
if (!('published' in value) || value['published'] === undefined) return false;
|
|
259
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
260
250
|
return true;
|
|
261
251
|
}
|
|
262
252
|
|
|
@@ -270,20 +260,20 @@ export function MeetingPartialUpdateFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
270
260
|
}
|
|
271
261
|
return {
|
|
272
262
|
|
|
273
|
-
'serviceBodyId': json['serviceBodyId'],
|
|
274
|
-
'formatIds': json['formatIds'],
|
|
275
|
-
'venueType': json['venueType'],
|
|
263
|
+
'serviceBodyId': json['serviceBodyId'] == null ? undefined : json['serviceBodyId'],
|
|
264
|
+
'formatIds': json['formatIds'] == null ? undefined : json['formatIds'],
|
|
265
|
+
'venueType': json['venueType'] == null ? undefined : json['venueType'],
|
|
276
266
|
'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
|
|
277
|
-
'day': json['day'],
|
|
278
|
-
'startTime': json['startTime'],
|
|
279
|
-
'duration': json['duration'],
|
|
267
|
+
'day': json['day'] == null ? undefined : json['day'],
|
|
268
|
+
'startTime': json['startTime'] == null ? undefined : json['startTime'],
|
|
269
|
+
'duration': json['duration'] == null ? undefined : json['duration'],
|
|
280
270
|
'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
|
|
281
|
-
'latitude': json['latitude'],
|
|
282
|
-
'longitude': json['longitude'],
|
|
283
|
-
'published': json['published'],
|
|
271
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
272
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
273
|
+
'published': json['published'] == null ? undefined : json['published'],
|
|
284
274
|
'email': json['email'] == null ? undefined : json['email'],
|
|
285
275
|
'worldId': json['worldId'] == null ? undefined : json['worldId'],
|
|
286
|
-
'name': json['name'],
|
|
276
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
287
277
|
'locationText': json['location_text'] == null ? undefined : json['location_text'],
|
|
288
278
|
'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
|
|
289
279
|
'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
|
|
@@ -13,68 +13,68 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { RootServerBaseStatistics } from './RootServerBaseStatistics';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
RootServerBaseStatisticsFromJSON,
|
|
19
|
+
RootServerBaseStatisticsFromJSONTyped,
|
|
20
|
+
RootServerBaseStatisticsToJSON,
|
|
21
|
+
RootServerBaseStatisticsToJSONTyped,
|
|
22
|
+
} from './RootServerBaseStatistics';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface RootServer
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface RootServer {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof RootServer
|
|
34
34
|
*/
|
|
35
35
|
sourceId: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof RootServer
|
|
40
40
|
*/
|
|
41
41
|
name: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof RootServer
|
|
46
46
|
*/
|
|
47
47
|
url: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof
|
|
50
|
+
* @type {RootServerBaseStatistics}
|
|
51
|
+
* @memberof RootServer
|
|
52
52
|
*/
|
|
53
|
-
statistics?:
|
|
53
|
+
statistics?: RootServerBaseStatistics;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof RootServer
|
|
58
58
|
*/
|
|
59
59
|
serverInfo?: string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {Date}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof RootServer
|
|
64
64
|
*/
|
|
65
65
|
lastSuccessfulImport: Date;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {number}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof RootServer
|
|
70
70
|
*/
|
|
71
71
|
id: number;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* Check if a given object implements the
|
|
75
|
+
* Check if a given object implements the RootServer interface.
|
|
76
76
|
*/
|
|
77
|
-
export function
|
|
77
|
+
export function instanceOfRootServer(value: object): value is RootServer {
|
|
78
78
|
if (!('sourceId' in value) || value['sourceId'] === undefined) return false;
|
|
79
79
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
80
80
|
if (!('url' in value) || value['url'] === undefined) return false;
|
|
@@ -83,11 +83,11 @@ export function instanceOfServer(value: object): value is Server {
|
|
|
83
83
|
return true;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function
|
|
87
|
-
return
|
|
86
|
+
export function RootServerFromJSON(json: any): RootServer {
|
|
87
|
+
return RootServerFromJSONTyped(json, false);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export function
|
|
90
|
+
export function RootServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServer {
|
|
91
91
|
if (json == null) {
|
|
92
92
|
return json;
|
|
93
93
|
}
|
|
@@ -96,18 +96,18 @@ export function ServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Se
|
|
|
96
96
|
'sourceId': json['sourceId'],
|
|
97
97
|
'name': json['name'],
|
|
98
98
|
'url': json['url'],
|
|
99
|
-
'statistics': json['statistics'] == null ? undefined :
|
|
99
|
+
'statistics': json['statistics'] == null ? undefined : RootServerBaseStatisticsFromJSON(json['statistics']),
|
|
100
100
|
'serverInfo': json['serverInfo'] == null ? undefined : json['serverInfo'],
|
|
101
101
|
'lastSuccessfulImport': (new Date(json['lastSuccessfulImport'])),
|
|
102
102
|
'id': json['id'],
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
export function
|
|
107
|
-
return
|
|
106
|
+
export function RootServerToJSON(json: any): RootServer {
|
|
107
|
+
return RootServerToJSONTyped(json, false);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
export function
|
|
110
|
+
export function RootServerToJSONTyped(value?: RootServer | null, ignoreDiscriminator: boolean = false): any {
|
|
111
111
|
if (value == null) {
|
|
112
112
|
return value;
|
|
113
113
|
}
|
|
@@ -117,7 +117,7 @@ export function ServerToJSONTyped(value?: Server | null, ignoreDiscriminator: bo
|
|
|
117
117
|
'sourceId': value['sourceId'],
|
|
118
118
|
'name': value['name'],
|
|
119
119
|
'url': value['url'],
|
|
120
|
-
'statistics':
|
|
120
|
+
'statistics': RootServerBaseStatisticsToJSON(value['statistics']),
|
|
121
121
|
'serverInfo': value['serverInfo'],
|
|
122
122
|
'lastSuccessfulImport': ((value['lastSuccessfulImport']).toISOString()),
|
|
123
123
|
'id': value['id'],
|
|
@@ -13,70 +13,70 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { RootServerBaseStatistics } from './RootServerBaseStatistics';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
RootServerBaseStatisticsFromJSON,
|
|
19
|
+
RootServerBaseStatisticsFromJSONTyped,
|
|
20
|
+
RootServerBaseStatisticsToJSON,
|
|
21
|
+
RootServerBaseStatisticsToJSONTyped,
|
|
22
|
+
} from './RootServerBaseStatistics';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface RootServerBase
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface RootServerBase {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof RootServerBase
|
|
34
34
|
*/
|
|
35
35
|
sourceId?: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof RootServerBase
|
|
40
40
|
*/
|
|
41
41
|
name?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof RootServerBase
|
|
46
46
|
*/
|
|
47
47
|
url?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof
|
|
50
|
+
* @type {RootServerBaseStatistics}
|
|
51
|
+
* @memberof RootServerBase
|
|
52
52
|
*/
|
|
53
|
-
statistics?:
|
|
53
|
+
statistics?: RootServerBaseStatistics;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof RootServerBase
|
|
58
58
|
*/
|
|
59
59
|
serverInfo?: string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {Date}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof RootServerBase
|
|
64
64
|
*/
|
|
65
65
|
lastSuccessfulImport?: Date;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* Check if a given object implements the
|
|
69
|
+
* Check if a given object implements the RootServerBase interface.
|
|
70
70
|
*/
|
|
71
|
-
export function
|
|
71
|
+
export function instanceOfRootServerBase(value: object): value is RootServerBase {
|
|
72
72
|
return true;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
75
|
+
export function RootServerBaseFromJSON(json: any): RootServerBase {
|
|
76
|
+
return RootServerBaseFromJSONTyped(json, false);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function RootServerBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServerBase {
|
|
80
80
|
if (json == null) {
|
|
81
81
|
return json;
|
|
82
82
|
}
|
|
@@ -85,17 +85,17 @@ export function ServerBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
85
85
|
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
86
86
|
'name': json['name'] == null ? undefined : json['name'],
|
|
87
87
|
'url': json['url'] == null ? undefined : json['url'],
|
|
88
|
-
'statistics': json['statistics'] == null ? undefined :
|
|
88
|
+
'statistics': json['statistics'] == null ? undefined : RootServerBaseStatisticsFromJSON(json['statistics']),
|
|
89
89
|
'serverInfo': json['serverInfo'] == null ? undefined : json['serverInfo'],
|
|
90
90
|
'lastSuccessfulImport': json['lastSuccessfulImport'] == null ? undefined : (new Date(json['lastSuccessfulImport'])),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export function
|
|
95
|
-
return
|
|
94
|
+
export function RootServerBaseToJSON(json: any): RootServerBase {
|
|
95
|
+
return RootServerBaseToJSONTyped(json, false);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export function
|
|
98
|
+
export function RootServerBaseToJSONTyped(value?: RootServerBase | null, ignoreDiscriminator: boolean = false): any {
|
|
99
99
|
if (value == null) {
|
|
100
100
|
return value;
|
|
101
101
|
}
|
|
@@ -105,7 +105,7 @@ export function ServerBaseToJSONTyped(value?: ServerBase | null, ignoreDiscrimin
|
|
|
105
105
|
'sourceId': value['sourceId'],
|
|
106
106
|
'name': value['name'],
|
|
107
107
|
'url': value['url'],
|
|
108
|
-
'statistics':
|
|
108
|
+
'statistics': RootServerBaseStatisticsToJSON(value['statistics']),
|
|
109
109
|
'serverInfo': value['serverInfo'],
|
|
110
110
|
'lastSuccessfulImport': value['lastSuccessfulImport'] == null ? undefined : ((value['lastSuccessfulImport']).toISOString()),
|
|
111
111
|
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT
|
|
5
|
+
* BMLT Admin API Documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RootServerBaseStatisticsMeetings } from './RootServerBaseStatisticsMeetings';
|
|
17
|
+
import {
|
|
18
|
+
RootServerBaseStatisticsMeetingsFromJSON,
|
|
19
|
+
RootServerBaseStatisticsMeetingsFromJSONTyped,
|
|
20
|
+
RootServerBaseStatisticsMeetingsToJSON,
|
|
21
|
+
RootServerBaseStatisticsMeetingsToJSONTyped,
|
|
22
|
+
} from './RootServerBaseStatisticsMeetings';
|
|
23
|
+
import type { RootServerBaseStatisticsServiceBodies } from './RootServerBaseStatisticsServiceBodies';
|
|
24
|
+
import {
|
|
25
|
+
RootServerBaseStatisticsServiceBodiesFromJSON,
|
|
26
|
+
RootServerBaseStatisticsServiceBodiesFromJSONTyped,
|
|
27
|
+
RootServerBaseStatisticsServiceBodiesToJSON,
|
|
28
|
+
RootServerBaseStatisticsServiceBodiesToJSONTyped,
|
|
29
|
+
} from './RootServerBaseStatisticsServiceBodies';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface RootServerBaseStatistics
|
|
35
|
+
*/
|
|
36
|
+
export interface RootServerBaseStatistics {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {RootServerBaseStatisticsServiceBodies}
|
|
40
|
+
* @memberof RootServerBaseStatistics
|
|
41
|
+
*/
|
|
42
|
+
serviceBodies: RootServerBaseStatisticsServiceBodies;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {RootServerBaseStatisticsMeetings}
|
|
46
|
+
* @memberof RootServerBaseStatistics
|
|
47
|
+
*/
|
|
48
|
+
meetings: RootServerBaseStatisticsMeetings;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the RootServerBaseStatistics interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfRootServerBaseStatistics(value: object): value is RootServerBaseStatistics {
|
|
55
|
+
if (!('serviceBodies' in value) || value['serviceBodies'] === undefined) return false;
|
|
56
|
+
if (!('meetings' in value) || value['meetings'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function RootServerBaseStatisticsFromJSON(json: any): RootServerBaseStatistics {
|
|
61
|
+
return RootServerBaseStatisticsFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RootServerBaseStatisticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServerBaseStatistics {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'serviceBodies': RootServerBaseStatisticsServiceBodiesFromJSON(json['serviceBodies']),
|
|
71
|
+
'meetings': RootServerBaseStatisticsMeetingsFromJSON(json['meetings']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function RootServerBaseStatisticsToJSON(json: any): RootServerBaseStatistics {
|
|
76
|
+
return RootServerBaseStatisticsToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function RootServerBaseStatisticsToJSONTyped(value?: RootServerBaseStatistics | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'serviceBodies': RootServerBaseStatisticsServiceBodiesToJSON(value['serviceBodies']),
|
|
87
|
+
'meetings': RootServerBaseStatisticsMeetingsToJSON(value['meetings']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -16,45 +16,45 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface RootServerBaseStatisticsMeetings
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface RootServerBaseStatisticsMeetings {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof RootServerBaseStatisticsMeetings
|
|
26
26
|
*/
|
|
27
27
|
numTotal: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof RootServerBaseStatisticsMeetings
|
|
32
32
|
*/
|
|
33
33
|
numInPerson: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof RootServerBaseStatisticsMeetings
|
|
38
38
|
*/
|
|
39
39
|
numVirtual: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof RootServerBaseStatisticsMeetings
|
|
44
44
|
*/
|
|
45
45
|
numHybrid: number;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {number}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof RootServerBaseStatisticsMeetings
|
|
50
50
|
*/
|
|
51
51
|
numUnknown: number;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Check if a given object implements the
|
|
55
|
+
* Check if a given object implements the RootServerBaseStatisticsMeetings interface.
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
57
|
+
export function instanceOfRootServerBaseStatisticsMeetings(value: object): value is RootServerBaseStatisticsMeetings {
|
|
58
58
|
if (!('numTotal' in value) || value['numTotal'] === undefined) return false;
|
|
59
59
|
if (!('numInPerson' in value) || value['numInPerson'] === undefined) return false;
|
|
60
60
|
if (!('numVirtual' in value) || value['numVirtual'] === undefined) return false;
|
|
@@ -63,11 +63,11 @@ export function instanceOfServerBaseStatisticsMeetings(value: object): value is
|
|
|
63
63
|
return true;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
export function
|
|
67
|
-
return
|
|
66
|
+
export function RootServerBaseStatisticsMeetingsFromJSON(json: any): RootServerBaseStatisticsMeetings {
|
|
67
|
+
return RootServerBaseStatisticsMeetingsFromJSONTyped(json, false);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export function
|
|
70
|
+
export function RootServerBaseStatisticsMeetingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServerBaseStatisticsMeetings {
|
|
71
71
|
if (json == null) {
|
|
72
72
|
return json;
|
|
73
73
|
}
|
|
@@ -81,11 +81,11 @@ export function ServerBaseStatisticsMeetingsFromJSONTyped(json: any, ignoreDiscr
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export function
|
|
85
|
-
return
|
|
84
|
+
export function RootServerBaseStatisticsMeetingsToJSON(json: any): RootServerBaseStatisticsMeetings {
|
|
85
|
+
return RootServerBaseStatisticsMeetingsToJSONTyped(json, false);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export function
|
|
88
|
+
export function RootServerBaseStatisticsMeetingsToJSONTyped(value?: RootServerBaseStatisticsMeetings | null, ignoreDiscriminator: boolean = false): any {
|
|
89
89
|
if (value == null) {
|
|
90
90
|
return value;
|
|
91
91
|
}
|
package/src/models/{ServerBaseStatisticsServiceBodies.ts → RootServerBaseStatisticsServiceBodies.ts}
RENAMED
|
@@ -16,39 +16,39 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface RootServerBaseStatisticsServiceBodies
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface RootServerBaseStatisticsServiceBodies {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof RootServerBaseStatisticsServiceBodies
|
|
26
26
|
*/
|
|
27
27
|
numZones: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof RootServerBaseStatisticsServiceBodies
|
|
32
32
|
*/
|
|
33
33
|
numRegions: number;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof RootServerBaseStatisticsServiceBodies
|
|
38
38
|
*/
|
|
39
39
|
numAreas: number;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof RootServerBaseStatisticsServiceBodies
|
|
44
44
|
*/
|
|
45
45
|
numGroups: number;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the RootServerBaseStatisticsServiceBodies interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
51
|
+
export function instanceOfRootServerBaseStatisticsServiceBodies(value: object): value is RootServerBaseStatisticsServiceBodies {
|
|
52
52
|
if (!('numZones' in value) || value['numZones'] === undefined) return false;
|
|
53
53
|
if (!('numRegions' in value) || value['numRegions'] === undefined) return false;
|
|
54
54
|
if (!('numAreas' in value) || value['numAreas'] === undefined) return false;
|
|
@@ -56,11 +56,11 @@ export function instanceOfServerBaseStatisticsServiceBodies(value: object): valu
|
|
|
56
56
|
return true;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function
|
|
60
|
-
return
|
|
59
|
+
export function RootServerBaseStatisticsServiceBodiesFromJSON(json: any): RootServerBaseStatisticsServiceBodies {
|
|
60
|
+
return RootServerBaseStatisticsServiceBodiesFromJSONTyped(json, false);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export function
|
|
63
|
+
export function RootServerBaseStatisticsServiceBodiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServerBaseStatisticsServiceBodies {
|
|
64
64
|
if (json == null) {
|
|
65
65
|
return json;
|
|
66
66
|
}
|
|
@@ -73,11 +73,11 @@ export function ServerBaseStatisticsServiceBodiesFromJSONTyped(json: any, ignore
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export function
|
|
77
|
-
return
|
|
76
|
+
export function RootServerBaseStatisticsServiceBodiesToJSON(json: any): RootServerBaseStatisticsServiceBodies {
|
|
77
|
+
return RootServerBaseStatisticsServiceBodiesToJSONTyped(json, false);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export function
|
|
80
|
+
export function RootServerBaseStatisticsServiceBodiesToJSONTyped(value?: RootServerBaseStatisticsServiceBodies | null, ignoreDiscriminator: boolean = false): any {
|
|
81
81
|
if (value == null) {
|
|
82
82
|
return value;
|
|
83
83
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -17,11 +17,11 @@ export * from './MeetingCreate';
|
|
|
17
17
|
export * from './MeetingPartialUpdate';
|
|
18
18
|
export * from './MeetingUpdate';
|
|
19
19
|
export * from './NotFoundError';
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
20
|
+
export * from './RootServer';
|
|
21
|
+
export * from './RootServerBase';
|
|
22
|
+
export * from './RootServerBaseStatistics';
|
|
23
|
+
export * from './RootServerBaseStatisticsMeetings';
|
|
24
|
+
export * from './RootServerBaseStatisticsServiceBodies';
|
|
25
25
|
export * from './ServerError';
|
|
26
26
|
export * from './ServiceBody';
|
|
27
27
|
export * from './ServiceBodyBase';
|