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,105 @@
|
|
|
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 UserBase
|
|
20
|
+
*/
|
|
21
|
+
export interface UserBase {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserBase
|
|
26
|
+
*/
|
|
27
|
+
username?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserBase
|
|
32
|
+
*/
|
|
33
|
+
type?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserBase
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserBase
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UserBase
|
|
50
|
+
*/
|
|
51
|
+
email?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof UserBase
|
|
56
|
+
*/
|
|
57
|
+
ownerId?: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the UserBase interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfUserBase(value: object): value is UserBase {
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function UserBaseFromJSON(json: any): UserBase {
|
|
68
|
+
return UserBaseFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function UserBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserBase {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
78
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
79
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
80
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
81
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
82
|
+
'ownerId': json['ownerId'] == null ? undefined : json['ownerId'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function UserBaseToJSON(json: any): UserBase {
|
|
87
|
+
return UserBaseToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function UserBaseToJSONTyped(value?: UserBase | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'username': value['username'],
|
|
98
|
+
'type': value['type'],
|
|
99
|
+
'displayName': value['displayName'],
|
|
100
|
+
'description': value['description'],
|
|
101
|
+
'email': value['email'],
|
|
102
|
+
'ownerId': value['ownerId'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,117 @@
|
|
|
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 UserCreate
|
|
20
|
+
*/
|
|
21
|
+
export interface UserCreate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserCreate
|
|
26
|
+
*/
|
|
27
|
+
username: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserCreate
|
|
32
|
+
*/
|
|
33
|
+
type: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserCreate
|
|
38
|
+
*/
|
|
39
|
+
displayName: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserCreate
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UserCreate
|
|
50
|
+
*/
|
|
51
|
+
email?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof UserCreate
|
|
56
|
+
*/
|
|
57
|
+
ownerId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UserCreate
|
|
62
|
+
*/
|
|
63
|
+
password: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the UserCreate interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfUserCreate(value: object): value is UserCreate {
|
|
70
|
+
if (!('username' in value) || value['username'] === undefined) return false;
|
|
71
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
72
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
73
|
+
if (!('password' in value) || value['password'] === undefined) return false;
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function UserCreateFromJSON(json: any): UserCreate {
|
|
78
|
+
return UserCreateFromJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function UserCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserCreate {
|
|
82
|
+
if (json == null) {
|
|
83
|
+
return json;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'username': json['username'],
|
|
88
|
+
'type': json['type'],
|
|
89
|
+
'displayName': json['displayName'],
|
|
90
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
91
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
92
|
+
'ownerId': json['ownerId'] == null ? undefined : json['ownerId'],
|
|
93
|
+
'password': json['password'],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function UserCreateToJSON(json: any): UserCreate {
|
|
98
|
+
return UserCreateToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function UserCreateToJSONTyped(value?: UserCreate | null, ignoreDiscriminator: boolean = false): any {
|
|
102
|
+
if (value == null) {
|
|
103
|
+
return value;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return {
|
|
107
|
+
|
|
108
|
+
'username': value['username'],
|
|
109
|
+
'type': value['type'],
|
|
110
|
+
'displayName': value['displayName'],
|
|
111
|
+
'description': value['description'],
|
|
112
|
+
'email': value['email'],
|
|
113
|
+
'ownerId': value['ownerId'],
|
|
114
|
+
'password': value['password'],
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
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 UserPartialUpdate
|
|
20
|
+
*/
|
|
21
|
+
export interface UserPartialUpdate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserPartialUpdate
|
|
26
|
+
*/
|
|
27
|
+
username?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserPartialUpdate
|
|
32
|
+
*/
|
|
33
|
+
type?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserPartialUpdate
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserPartialUpdate
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UserPartialUpdate
|
|
50
|
+
*/
|
|
51
|
+
email?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof UserPartialUpdate
|
|
56
|
+
*/
|
|
57
|
+
ownerId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UserPartialUpdate
|
|
62
|
+
*/
|
|
63
|
+
password?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the UserPartialUpdate interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfUserPartialUpdate(value: object): value is UserPartialUpdate {
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function UserPartialUpdateFromJSON(json: any): UserPartialUpdate {
|
|
74
|
+
return UserPartialUpdateFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function UserPartialUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPartialUpdate {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'username': json['username'] == null ? undefined : json['username'],
|
|
84
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
85
|
+
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
86
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
87
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
88
|
+
'ownerId': json['ownerId'] == null ? undefined : json['ownerId'],
|
|
89
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function UserPartialUpdateToJSON(json: any): UserPartialUpdate {
|
|
94
|
+
return UserPartialUpdateToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function UserPartialUpdateToJSONTyped(value?: UserPartialUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'username': value['username'],
|
|
105
|
+
'type': value['type'],
|
|
106
|
+
'displayName': value['displayName'],
|
|
107
|
+
'description': value['description'],
|
|
108
|
+
'email': value['email'],
|
|
109
|
+
'ownerId': value['ownerId'],
|
|
110
|
+
'password': value['password'],
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
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 UserUpdate
|
|
20
|
+
*/
|
|
21
|
+
export interface UserUpdate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserUpdate
|
|
26
|
+
*/
|
|
27
|
+
username: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserUpdate
|
|
32
|
+
*/
|
|
33
|
+
type: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserUpdate
|
|
38
|
+
*/
|
|
39
|
+
displayName: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UserUpdate
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UserUpdate
|
|
50
|
+
*/
|
|
51
|
+
email?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof UserUpdate
|
|
56
|
+
*/
|
|
57
|
+
ownerId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof UserUpdate
|
|
62
|
+
*/
|
|
63
|
+
password?: string;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the UserUpdate interface.
|
|
68
|
+
*/
|
|
69
|
+
export function instanceOfUserUpdate(value: object): value is UserUpdate {
|
|
70
|
+
if (!('username' in value) || value['username'] === undefined) return false;
|
|
71
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
72
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function UserUpdateFromJSON(json: any): UserUpdate {
|
|
77
|
+
return UserUpdateFromJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function UserUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserUpdate {
|
|
81
|
+
if (json == null) {
|
|
82
|
+
return json;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'username': json['username'],
|
|
87
|
+
'type': json['type'],
|
|
88
|
+
'displayName': json['displayName'],
|
|
89
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
90
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
91
|
+
'ownerId': json['ownerId'] == null ? undefined : json['ownerId'],
|
|
92
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function UserUpdateToJSON(json: any): UserUpdate {
|
|
97
|
+
return UserUpdateToJSONTyped(json, false);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function UserUpdateToJSONTyped(value?: UserUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return {
|
|
106
|
+
|
|
107
|
+
'username': value['username'],
|
|
108
|
+
'type': value['type'],
|
|
109
|
+
'displayName': value['displayName'],
|
|
110
|
+
'description': value['description'],
|
|
111
|
+
'email': value['email'],
|
|
112
|
+
'ownerId': value['ownerId'],
|
|
113
|
+
'password': value['password'],
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ValidationError
|
|
20
|
+
*/
|
|
21
|
+
export interface ValidationError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ValidationError
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
31
|
+
* @memberof ValidationError
|
|
32
|
+
*/
|
|
33
|
+
errors: { [key: string]: Array<string>; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ValidationError interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfValidationError(value: object): value is ValidationError {
|
|
40
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
41
|
+
if (!('errors' in value) || value['errors'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ValidationErrorFromJSON(json: any): ValidationError {
|
|
46
|
+
return ValidationErrorFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationError {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'message': json['message'],
|
|
56
|
+
'errors': json['errors'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ValidationErrorToJSON(json: any): ValidationError {
|
|
61
|
+
return ValidationErrorToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ValidationErrorToJSONTyped(value?: ValidationError | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'message': value['message'],
|
|
72
|
+
'errors': value['errors'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './AuthenticationError';
|
|
4
|
+
export * from './AuthorizationError';
|
|
5
|
+
export * from './ConflictError';
|
|
6
|
+
export * from './ErrorTest';
|
|
7
|
+
export * from './Format';
|
|
8
|
+
export * from './FormatBase';
|
|
9
|
+
export * from './FormatCreate';
|
|
10
|
+
export * from './FormatPartialUpdate';
|
|
11
|
+
export * from './FormatTranslation';
|
|
12
|
+
export * from './FormatUpdate';
|
|
13
|
+
export * from './Meeting';
|
|
14
|
+
export * from './MeetingBase';
|
|
15
|
+
export * from './MeetingChangeResource';
|
|
16
|
+
export * from './MeetingCreate';
|
|
17
|
+
export * from './MeetingPartialUpdate';
|
|
18
|
+
export * from './MeetingUpdate';
|
|
19
|
+
export * from './NotFoundError';
|
|
20
|
+
export * from './Server';
|
|
21
|
+
export * from './ServerBase';
|
|
22
|
+
export * from './ServerBaseStatistics';
|
|
23
|
+
export * from './ServerBaseStatisticsMeetings';
|
|
24
|
+
export * from './ServerBaseStatisticsServiceBodies';
|
|
25
|
+
export * from './ServerError';
|
|
26
|
+
export * from './ServiceBody';
|
|
27
|
+
export * from './ServiceBodyBase';
|
|
28
|
+
export * from './ServiceBodyCreate';
|
|
29
|
+
export * from './ServiceBodyPartialUpdate';
|
|
30
|
+
export * from './ServiceBodyUpdate';
|
|
31
|
+
export * from './Token';
|
|
32
|
+
export * from './TokenCredentials';
|
|
33
|
+
export * from './User';
|
|
34
|
+
export * from './UserBase';
|
|
35
|
+
export * from './UserCreate';
|
|
36
|
+
export * from './UserPartialUpdate';
|
|
37
|
+
export * from './UserUpdate';
|
|
38
|
+
export * from './ValidationError';
|