bmlt-server-client 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +25 -0
- package/.idea/bmlt-server-typescript-client.iml +9 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.openapi-generator/FILES +46 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/Makefile +18 -0
- package/README.md +46 -0
- package/dist/apis/ServerApi.d.ts +424 -0
- package/dist/apis/ServerApi.js +1828 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AuthenticationError.d.ts +32 -0
- package/dist/models/AuthenticationError.js +52 -0
- package/dist/models/AuthorizationError.d.ts +32 -0
- package/dist/models/AuthorizationError.js +52 -0
- package/dist/models/ConflictError.d.ts +32 -0
- package/dist/models/ConflictError.js +52 -0
- package/dist/models/ErrorTest.d.ts +44 -0
- package/dist/models/ErrorTest.js +54 -0
- package/dist/models/Format.d.ts +51 -0
- package/dist/models/Format.js +65 -0
- package/dist/models/FormatBase.d.ts +45 -0
- package/dist/models/FormatBase.js +55 -0
- package/dist/models/FormatCreate.d.ts +45 -0
- package/dist/models/FormatCreate.js +57 -0
- package/dist/models/FormatPartialUpdate.d.ts +45 -0
- package/dist/models/FormatPartialUpdate.js +55 -0
- package/dist/models/FormatTranslation.d.ts +50 -0
- package/dist/models/FormatTranslation.js +64 -0
- package/dist/models/FormatUpdate.d.ts +45 -0
- package/dist/models/FormatUpdate.js +57 -0
- package/dist/models/Meeting.d.ts +256 -0
- package/dist/models/Meeting.js +154 -0
- package/dist/models/MeetingBase.d.ts +250 -0
- package/dist/models/MeetingBase.js +122 -0
- package/dist/models/MeetingChangeResource.d.ts +50 -0
- package/dist/models/MeetingChangeResource.js +56 -0
- package/dist/models/MeetingCreate.d.ts +250 -0
- package/dist/models/MeetingCreate.js +142 -0
- package/dist/models/MeetingPartialUpdate.d.ts +250 -0
- package/dist/models/MeetingPartialUpdate.js +142 -0
- package/dist/models/MeetingUpdate.d.ts +250 -0
- package/dist/models/MeetingUpdate.js +142 -0
- package/dist/models/NotFoundError.d.ts +32 -0
- package/dist/models/NotFoundError.js +52 -0
- package/dist/models/Server.d.ts +69 -0
- package/dist/models/Server.js +73 -0
- package/dist/models/ServerBase.d.ts +63 -0
- package/dist/models/ServerBase.js +61 -0
- package/dist/models/ServerBaseStatistics.d.ts +40 -0
- package/dist/models/ServerBaseStatistics.js +58 -0
- package/dist/models/ServerBaseStatisticsMeetings.d.ts +56 -0
- package/dist/models/ServerBaseStatisticsMeetings.js +68 -0
- package/dist/models/ServerBaseStatisticsServiceBodies.d.ts +50 -0
- package/dist/models/ServerBaseStatisticsServiceBodies.js +64 -0
- package/dist/models/ServerError.d.ts +32 -0
- package/dist/models/ServerError.js +52 -0
- package/dist/models/ServiceBody.d.ts +92 -0
- package/dist/models/ServiceBody.js +92 -0
- package/dist/models/ServiceBodyBase.d.ts +86 -0
- package/dist/models/ServiceBodyBase.js +68 -0
- package/dist/models/ServiceBodyCreate.d.ts +86 -0
- package/dist/models/ServiceBodyCreate.js +80 -0
- package/dist/models/ServiceBodyPartialUpdate.d.ts +86 -0
- package/dist/models/ServiceBodyPartialUpdate.js +68 -0
- package/dist/models/ServiceBodyUpdate.d.ts +86 -0
- package/dist/models/ServiceBodyUpdate.js +80 -0
- package/dist/models/Token.d.ts +50 -0
- package/dist/models/Token.js +64 -0
- package/dist/models/TokenCredentials.d.ts +38 -0
- package/dist/models/TokenCredentials.js +56 -0
- package/dist/models/User.d.ts +68 -0
- package/dist/models/User.js +76 -0
- package/dist/models/UserBase.d.ts +62 -0
- package/dist/models/UserBase.js +60 -0
- package/dist/models/UserCreate.d.ts +68 -0
- package/dist/models/UserCreate.js +70 -0
- package/dist/models/UserPartialUpdate.d.ts +68 -0
- package/dist/models/UserPartialUpdate.js +62 -0
- package/dist/models/UserUpdate.d.ts +68 -0
- package/dist/models/UserUpdate.js +68 -0
- package/dist/models/ValidationError.d.ts +40 -0
- package/dist/models/ValidationError.js +56 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/openapi.json +1 -0
- package/package.json +19 -0
- package/src/apis/ServerApi.ts +1529 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/AuthenticationError.ts +66 -0
- package/src/models/AuthorizationError.ts +66 -0
- package/src/models/ConflictError.ts +66 -0
- package/src/models/ErrorTest.ts +81 -0
- package/src/models/Format.ts +101 -0
- package/src/models/FormatBase.ts +89 -0
- package/src/models/FormatCreate.ts +90 -0
- package/src/models/FormatPartialUpdate.ts +89 -0
- package/src/models/FormatTranslation.ts +93 -0
- package/src/models/FormatUpdate.ts +90 -0
- package/src/models/Meeting.ts +376 -0
- package/src/models/MeetingBase.ts +353 -0
- package/src/models/MeetingChangeResource.ts +89 -0
- package/src/models/MeetingCreate.ts +363 -0
- package/src/models/MeetingPartialUpdate.ts +363 -0
- package/src/models/MeetingUpdate.ts +363 -0
- package/src/models/NotFoundError.ts +66 -0
- package/src/models/Server.ts +126 -0
- package/src/models/ServerBase.ts +113 -0
- package/src/models/ServerBaseStatistics.ts +90 -0
- package/src/models/ServerBaseStatisticsMeetings.ts +102 -0
- package/src/models/ServerBaseStatisticsServiceBodies.ts +93 -0
- package/src/models/ServerError.ts +66 -0
- package/src/models/ServiceBody.ts +156 -0
- package/src/models/ServiceBodyBase.ts +137 -0
- package/src/models/ServiceBodyCreate.ts +143 -0
- package/src/models/ServiceBodyPartialUpdate.ts +137 -0
- package/src/models/ServiceBodyUpdate.ts +143 -0
- package/src/models/Token.ts +93 -0
- package/src/models/TokenCredentials.ts +75 -0
- package/src/models/User.ts +120 -0
- package/src/models/UserBase.ts +105 -0
- package/src/models/UserCreate.ts +117 -0
- package/src/models/UserPartialUpdate.ts +113 -0
- package/src/models/UserUpdate.ts +116 -0
- package/src/models/ValidationError.ts +75 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -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 { ServerBaseStatisticsServiceBodies } from './ServerBaseStatisticsServiceBodies';
|
|
17
|
+
import {
|
|
18
|
+
ServerBaseStatisticsServiceBodiesFromJSON,
|
|
19
|
+
ServerBaseStatisticsServiceBodiesFromJSONTyped,
|
|
20
|
+
ServerBaseStatisticsServiceBodiesToJSON,
|
|
21
|
+
ServerBaseStatisticsServiceBodiesToJSONTyped,
|
|
22
|
+
} from './ServerBaseStatisticsServiceBodies';
|
|
23
|
+
import type { ServerBaseStatisticsMeetings } from './ServerBaseStatisticsMeetings';
|
|
24
|
+
import {
|
|
25
|
+
ServerBaseStatisticsMeetingsFromJSON,
|
|
26
|
+
ServerBaseStatisticsMeetingsFromJSONTyped,
|
|
27
|
+
ServerBaseStatisticsMeetingsToJSON,
|
|
28
|
+
ServerBaseStatisticsMeetingsToJSONTyped,
|
|
29
|
+
} from './ServerBaseStatisticsMeetings';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ServerBaseStatistics
|
|
35
|
+
*/
|
|
36
|
+
export interface ServerBaseStatistics {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ServerBaseStatisticsServiceBodies}
|
|
40
|
+
* @memberof ServerBaseStatistics
|
|
41
|
+
*/
|
|
42
|
+
serviceBodies: ServerBaseStatisticsServiceBodies;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ServerBaseStatisticsMeetings}
|
|
46
|
+
* @memberof ServerBaseStatistics
|
|
47
|
+
*/
|
|
48
|
+
meetings: ServerBaseStatisticsMeetings;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ServerBaseStatistics interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfServerBaseStatistics(value: object): value is ServerBaseStatistics {
|
|
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 ServerBaseStatisticsFromJSON(json: any): ServerBaseStatistics {
|
|
61
|
+
return ServerBaseStatisticsFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ServerBaseStatisticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerBaseStatistics {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'serviceBodies': ServerBaseStatisticsServiceBodiesFromJSON(json['serviceBodies']),
|
|
71
|
+
'meetings': ServerBaseStatisticsMeetingsFromJSON(json['meetings']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ServerBaseStatisticsToJSON(json: any): ServerBaseStatistics {
|
|
76
|
+
return ServerBaseStatisticsToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ServerBaseStatisticsToJSONTyped(value?: ServerBaseStatistics | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'serviceBodies': ServerBaseStatisticsServiceBodiesToJSON(value['serviceBodies']),
|
|
87
|
+
'meetings': ServerBaseStatisticsMeetingsToJSON(value['meetings']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServerBaseStatisticsMeetings
|
|
20
|
+
*/
|
|
21
|
+
export interface ServerBaseStatisticsMeetings {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ServerBaseStatisticsMeetings
|
|
26
|
+
*/
|
|
27
|
+
numTotal: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ServerBaseStatisticsMeetings
|
|
32
|
+
*/
|
|
33
|
+
numInPerson: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ServerBaseStatisticsMeetings
|
|
38
|
+
*/
|
|
39
|
+
numVirtual: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ServerBaseStatisticsMeetings
|
|
44
|
+
*/
|
|
45
|
+
numHybrid: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ServerBaseStatisticsMeetings
|
|
50
|
+
*/
|
|
51
|
+
numUnknown: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ServerBaseStatisticsMeetings interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfServerBaseStatisticsMeetings(value: object): value is ServerBaseStatisticsMeetings {
|
|
58
|
+
if (!('numTotal' in value) || value['numTotal'] === undefined) return false;
|
|
59
|
+
if (!('numInPerson' in value) || value['numInPerson'] === undefined) return false;
|
|
60
|
+
if (!('numVirtual' in value) || value['numVirtual'] === undefined) return false;
|
|
61
|
+
if (!('numHybrid' in value) || value['numHybrid'] === undefined) return false;
|
|
62
|
+
if (!('numUnknown' in value) || value['numUnknown'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ServerBaseStatisticsMeetingsFromJSON(json: any): ServerBaseStatisticsMeetings {
|
|
67
|
+
return ServerBaseStatisticsMeetingsFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ServerBaseStatisticsMeetingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerBaseStatisticsMeetings {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'numTotal': json['numTotal'],
|
|
77
|
+
'numInPerson': json['numInPerson'],
|
|
78
|
+
'numVirtual': json['numVirtual'],
|
|
79
|
+
'numHybrid': json['numHybrid'],
|
|
80
|
+
'numUnknown': json['numUnknown'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ServerBaseStatisticsMeetingsToJSON(json: any): ServerBaseStatisticsMeetings {
|
|
85
|
+
return ServerBaseStatisticsMeetingsToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function ServerBaseStatisticsMeetingsToJSONTyped(value?: ServerBaseStatisticsMeetings | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'numTotal': value['numTotal'],
|
|
96
|
+
'numInPerson': value['numInPerson'],
|
|
97
|
+
'numVirtual': value['numVirtual'],
|
|
98
|
+
'numHybrid': value['numHybrid'],
|
|
99
|
+
'numUnknown': value['numUnknown'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServerBaseStatisticsServiceBodies
|
|
20
|
+
*/
|
|
21
|
+
export interface ServerBaseStatisticsServiceBodies {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ServerBaseStatisticsServiceBodies
|
|
26
|
+
*/
|
|
27
|
+
numZones: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ServerBaseStatisticsServiceBodies
|
|
32
|
+
*/
|
|
33
|
+
numRegions: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ServerBaseStatisticsServiceBodies
|
|
38
|
+
*/
|
|
39
|
+
numAreas: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ServerBaseStatisticsServiceBodies
|
|
44
|
+
*/
|
|
45
|
+
numGroups: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ServerBaseStatisticsServiceBodies interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfServerBaseStatisticsServiceBodies(value: object): value is ServerBaseStatisticsServiceBodies {
|
|
52
|
+
if (!('numZones' in value) || value['numZones'] === undefined) return false;
|
|
53
|
+
if (!('numRegions' in value) || value['numRegions'] === undefined) return false;
|
|
54
|
+
if (!('numAreas' in value) || value['numAreas'] === undefined) return false;
|
|
55
|
+
if (!('numGroups' in value) || value['numGroups'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ServerBaseStatisticsServiceBodiesFromJSON(json: any): ServerBaseStatisticsServiceBodies {
|
|
60
|
+
return ServerBaseStatisticsServiceBodiesFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ServerBaseStatisticsServiceBodiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerBaseStatisticsServiceBodies {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'numZones': json['numZones'],
|
|
70
|
+
'numRegions': json['numRegions'],
|
|
71
|
+
'numAreas': json['numAreas'],
|
|
72
|
+
'numGroups': json['numGroups'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ServerBaseStatisticsServiceBodiesToJSON(json: any): ServerBaseStatisticsServiceBodies {
|
|
77
|
+
return ServerBaseStatisticsServiceBodiesToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ServerBaseStatisticsServiceBodiesToJSONTyped(value?: ServerBaseStatisticsServiceBodies | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'numZones': value['numZones'],
|
|
88
|
+
'numRegions': value['numRegions'],
|
|
89
|
+
'numAreas': value['numAreas'],
|
|
90
|
+
'numGroups': value['numGroups'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServerError
|
|
20
|
+
*/
|
|
21
|
+
export interface ServerError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ServerError
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ServerError interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfServerError(value: object): value is ServerError {
|
|
34
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ServerErrorFromJSON(json: any): ServerError {
|
|
39
|
+
return ServerErrorFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ServerErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerError {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'message': json['message'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ServerErrorToJSON(json: any): ServerError {
|
|
53
|
+
return ServerErrorToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ServerErrorToJSONTyped(value?: ServerError | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'message': value['message'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServiceBody
|
|
20
|
+
*/
|
|
21
|
+
export interface ServiceBody {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ServiceBody
|
|
26
|
+
*/
|
|
27
|
+
parentId: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ServiceBody
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ServiceBody
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ServiceBody
|
|
44
|
+
*/
|
|
45
|
+
type: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ServiceBody
|
|
50
|
+
*/
|
|
51
|
+
adminUserId: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<number>}
|
|
55
|
+
* @memberof ServiceBody
|
|
56
|
+
*/
|
|
57
|
+
assignedUserIds: Array<number>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ServiceBody
|
|
62
|
+
*/
|
|
63
|
+
url: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ServiceBody
|
|
68
|
+
*/
|
|
69
|
+
helpline: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ServiceBody
|
|
74
|
+
*/
|
|
75
|
+
email: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ServiceBody
|
|
80
|
+
*/
|
|
81
|
+
worldId: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof ServiceBody
|
|
86
|
+
*/
|
|
87
|
+
id: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the ServiceBody interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfServiceBody(value: object): value is ServiceBody {
|
|
94
|
+
if (!('parentId' in value) || value['parentId'] === undefined) return false;
|
|
95
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
96
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
97
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
98
|
+
if (!('adminUserId' in value) || value['adminUserId'] === undefined) return false;
|
|
99
|
+
if (!('assignedUserIds' in value) || value['assignedUserIds'] === undefined) return false;
|
|
100
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
101
|
+
if (!('helpline' in value) || value['helpline'] === undefined) return false;
|
|
102
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
103
|
+
if (!('worldId' in value) || value['worldId'] === undefined) return false;
|
|
104
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
105
|
+
return true;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function ServiceBodyFromJSON(json: any): ServiceBody {
|
|
109
|
+
return ServiceBodyFromJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function ServiceBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceBody {
|
|
113
|
+
if (json == null) {
|
|
114
|
+
return json;
|
|
115
|
+
}
|
|
116
|
+
return {
|
|
117
|
+
|
|
118
|
+
'parentId': json['parentId'],
|
|
119
|
+
'name': json['name'],
|
|
120
|
+
'description': json['description'],
|
|
121
|
+
'type': json['type'],
|
|
122
|
+
'adminUserId': json['adminUserId'],
|
|
123
|
+
'assignedUserIds': json['assignedUserIds'],
|
|
124
|
+
'url': json['url'],
|
|
125
|
+
'helpline': json['helpline'],
|
|
126
|
+
'email': json['email'],
|
|
127
|
+
'worldId': json['worldId'],
|
|
128
|
+
'id': json['id'],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function ServiceBodyToJSON(json: any): ServiceBody {
|
|
133
|
+
return ServiceBodyToJSONTyped(json, false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function ServiceBodyToJSONTyped(value?: ServiceBody | null, ignoreDiscriminator: boolean = false): any {
|
|
137
|
+
if (value == null) {
|
|
138
|
+
return value;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
|
|
143
|
+
'parentId': value['parentId'],
|
|
144
|
+
'name': value['name'],
|
|
145
|
+
'description': value['description'],
|
|
146
|
+
'type': value['type'],
|
|
147
|
+
'adminUserId': value['adminUserId'],
|
|
148
|
+
'assignedUserIds': value['assignedUserIds'],
|
|
149
|
+
'url': value['url'],
|
|
150
|
+
'helpline': value['helpline'],
|
|
151
|
+
'email': value['email'],
|
|
152
|
+
'worldId': value['worldId'],
|
|
153
|
+
'id': value['id'],
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServiceBodyBase
|
|
20
|
+
*/
|
|
21
|
+
export interface ServiceBodyBase {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ServiceBodyBase
|
|
26
|
+
*/
|
|
27
|
+
parentId?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ServiceBodyBase
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ServiceBodyBase
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ServiceBodyBase
|
|
44
|
+
*/
|
|
45
|
+
type?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ServiceBodyBase
|
|
50
|
+
*/
|
|
51
|
+
adminUserId?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Array<number>}
|
|
55
|
+
* @memberof ServiceBodyBase
|
|
56
|
+
*/
|
|
57
|
+
assignedUserIds?: Array<number>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof ServiceBodyBase
|
|
62
|
+
*/
|
|
63
|
+
url?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof ServiceBodyBase
|
|
68
|
+
*/
|
|
69
|
+
helpline?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ServiceBodyBase
|
|
74
|
+
*/
|
|
75
|
+
email?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof ServiceBodyBase
|
|
80
|
+
*/
|
|
81
|
+
worldId?: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the ServiceBodyBase interface.
|
|
86
|
+
*/
|
|
87
|
+
export function instanceOfServiceBodyBase(value: object): value is ServiceBodyBase {
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function ServiceBodyBaseFromJSON(json: any): ServiceBodyBase {
|
|
92
|
+
return ServiceBodyBaseFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ServiceBodyBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceBodyBase {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
102
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
103
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
104
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
105
|
+
'adminUserId': json['adminUserId'] == null ? undefined : json['adminUserId'],
|
|
106
|
+
'assignedUserIds': json['assignedUserIds'] == null ? undefined : json['assignedUserIds'],
|
|
107
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
108
|
+
'helpline': json['helpline'] == null ? undefined : json['helpline'],
|
|
109
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
110
|
+
'worldId': json['worldId'] == null ? undefined : json['worldId'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function ServiceBodyBaseToJSON(json: any): ServiceBodyBase {
|
|
115
|
+
return ServiceBodyBaseToJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function ServiceBodyBaseToJSONTyped(value?: ServiceBodyBase | null, ignoreDiscriminator: boolean = false): any {
|
|
119
|
+
if (value == null) {
|
|
120
|
+
return value;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return {
|
|
124
|
+
|
|
125
|
+
'parentId': value['parentId'],
|
|
126
|
+
'name': value['name'],
|
|
127
|
+
'description': value['description'],
|
|
128
|
+
'type': value['type'],
|
|
129
|
+
'adminUserId': value['adminUserId'],
|
|
130
|
+
'assignedUserIds': value['assignedUserIds'],
|
|
131
|
+
'url': value['url'],
|
|
132
|
+
'helpline': value['helpline'],
|
|
133
|
+
'email': value['email'],
|
|
134
|
+
'worldId': value['worldId'],
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|