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,363 @@
|
|
|
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 MeetingUpdate
|
|
20
|
+
*/
|
|
21
|
+
export interface MeetingUpdate {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof MeetingUpdate
|
|
26
|
+
*/
|
|
27
|
+
serviceBodyId: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Array<number>}
|
|
31
|
+
* @memberof MeetingUpdate
|
|
32
|
+
*/
|
|
33
|
+
formatIds: Array<number>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof MeetingUpdate
|
|
38
|
+
*/
|
|
39
|
+
venueType: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof MeetingUpdate
|
|
44
|
+
*/
|
|
45
|
+
temporarilyVirtual?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof MeetingUpdate
|
|
50
|
+
*/
|
|
51
|
+
day: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MeetingUpdate
|
|
56
|
+
*/
|
|
57
|
+
startTime: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof MeetingUpdate
|
|
62
|
+
*/
|
|
63
|
+
duration: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof MeetingUpdate
|
|
68
|
+
*/
|
|
69
|
+
timeZone?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof MeetingUpdate
|
|
74
|
+
*/
|
|
75
|
+
latitude: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof MeetingUpdate
|
|
80
|
+
*/
|
|
81
|
+
longitude: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof MeetingUpdate
|
|
86
|
+
*/
|
|
87
|
+
published: boolean;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof MeetingUpdate
|
|
92
|
+
*/
|
|
93
|
+
email?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof MeetingUpdate
|
|
98
|
+
*/
|
|
99
|
+
worldId?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof MeetingUpdate
|
|
104
|
+
*/
|
|
105
|
+
name: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof MeetingUpdate
|
|
110
|
+
*/
|
|
111
|
+
locationText?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof MeetingUpdate
|
|
116
|
+
*/
|
|
117
|
+
locationInfo?: string;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof MeetingUpdate
|
|
122
|
+
*/
|
|
123
|
+
locationStreet?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof MeetingUpdate
|
|
128
|
+
*/
|
|
129
|
+
locationNeighborhood?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof MeetingUpdate
|
|
134
|
+
*/
|
|
135
|
+
locationCitySubsection?: string;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof MeetingUpdate
|
|
140
|
+
*/
|
|
141
|
+
locationMunicipality?: string;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof MeetingUpdate
|
|
146
|
+
*/
|
|
147
|
+
locationSubProvince?: string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof MeetingUpdate
|
|
152
|
+
*/
|
|
153
|
+
locationProvince?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof MeetingUpdate
|
|
158
|
+
*/
|
|
159
|
+
locationPostalCode1?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof MeetingUpdate
|
|
164
|
+
*/
|
|
165
|
+
locationNation?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof MeetingUpdate
|
|
170
|
+
*/
|
|
171
|
+
phoneMeetingNumber?: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof MeetingUpdate
|
|
176
|
+
*/
|
|
177
|
+
virtualMeetingLink?: string;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof MeetingUpdate
|
|
182
|
+
*/
|
|
183
|
+
virtualMeetingAdditionalInfo?: string;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof MeetingUpdate
|
|
188
|
+
*/
|
|
189
|
+
contactName1?: string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof MeetingUpdate
|
|
194
|
+
*/
|
|
195
|
+
contactName2?: string;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof MeetingUpdate
|
|
200
|
+
*/
|
|
201
|
+
contactPhone1?: string;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof MeetingUpdate
|
|
206
|
+
*/
|
|
207
|
+
contactPhone2?: string;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof MeetingUpdate
|
|
212
|
+
*/
|
|
213
|
+
contactEmail1?: string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof MeetingUpdate
|
|
218
|
+
*/
|
|
219
|
+
contactEmail2?: string;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof MeetingUpdate
|
|
224
|
+
*/
|
|
225
|
+
busLines?: string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof MeetingUpdate
|
|
230
|
+
*/
|
|
231
|
+
trainLines?: string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof MeetingUpdate
|
|
236
|
+
*/
|
|
237
|
+
comments?: string;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {{ [key: string]: string; }}
|
|
241
|
+
* @memberof MeetingUpdate
|
|
242
|
+
*/
|
|
243
|
+
customFields?: { [key: string]: string; };
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Check if a given object implements the MeetingUpdate interface.
|
|
248
|
+
*/
|
|
249
|
+
export function instanceOfMeetingUpdate(value: object): value is MeetingUpdate {
|
|
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
|
+
return true;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export function MeetingUpdateFromJSON(json: any): MeetingUpdate {
|
|
264
|
+
return MeetingUpdateFromJSONTyped(json, false);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export function MeetingUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingUpdate {
|
|
268
|
+
if (json == null) {
|
|
269
|
+
return json;
|
|
270
|
+
}
|
|
271
|
+
return {
|
|
272
|
+
|
|
273
|
+
'serviceBodyId': json['serviceBodyId'],
|
|
274
|
+
'formatIds': json['formatIds'],
|
|
275
|
+
'venueType': json['venueType'],
|
|
276
|
+
'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
|
|
277
|
+
'day': json['day'],
|
|
278
|
+
'startTime': json['startTime'],
|
|
279
|
+
'duration': json['duration'],
|
|
280
|
+
'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
|
|
281
|
+
'latitude': json['latitude'],
|
|
282
|
+
'longitude': json['longitude'],
|
|
283
|
+
'published': json['published'],
|
|
284
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
285
|
+
'worldId': json['worldId'] == null ? undefined : json['worldId'],
|
|
286
|
+
'name': json['name'],
|
|
287
|
+
'locationText': json['location_text'] == null ? undefined : json['location_text'],
|
|
288
|
+
'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
|
|
289
|
+
'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
|
|
290
|
+
'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
|
|
291
|
+
'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
|
|
292
|
+
'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'],
|
|
293
|
+
'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'],
|
|
294
|
+
'locationProvince': json['location_province'] == null ? undefined : json['location_province'],
|
|
295
|
+
'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'],
|
|
296
|
+
'locationNation': json['location_nation'] == null ? undefined : json['location_nation'],
|
|
297
|
+
'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
|
|
298
|
+
'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
|
|
299
|
+
'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
|
|
300
|
+
'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
|
|
301
|
+
'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'],
|
|
302
|
+
'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
|
|
303
|
+
'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'],
|
|
304
|
+
'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
|
|
305
|
+
'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'],
|
|
306
|
+
'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
|
|
307
|
+
'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
|
|
308
|
+
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
309
|
+
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export function MeetingUpdateToJSON(json: any): MeetingUpdate {
|
|
314
|
+
return MeetingUpdateToJSONTyped(json, false);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export function MeetingUpdateToJSONTyped(value?: MeetingUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
318
|
+
if (value == null) {
|
|
319
|
+
return value;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
return {
|
|
323
|
+
|
|
324
|
+
'serviceBodyId': value['serviceBodyId'],
|
|
325
|
+
'formatIds': value['formatIds'],
|
|
326
|
+
'venueType': value['venueType'],
|
|
327
|
+
'temporarilyVirtual': value['temporarilyVirtual'],
|
|
328
|
+
'day': value['day'],
|
|
329
|
+
'startTime': value['startTime'],
|
|
330
|
+
'duration': value['duration'],
|
|
331
|
+
'timeZone': value['timeZone'],
|
|
332
|
+
'latitude': value['latitude'],
|
|
333
|
+
'longitude': value['longitude'],
|
|
334
|
+
'published': value['published'],
|
|
335
|
+
'email': value['email'],
|
|
336
|
+
'worldId': value['worldId'],
|
|
337
|
+
'name': value['name'],
|
|
338
|
+
'location_text': value['locationText'],
|
|
339
|
+
'location_info': value['locationInfo'],
|
|
340
|
+
'location_street': value['locationStreet'],
|
|
341
|
+
'location_neighborhood': value['locationNeighborhood'],
|
|
342
|
+
'location_city_subsection': value['locationCitySubsection'],
|
|
343
|
+
'location_municipality': value['locationMunicipality'],
|
|
344
|
+
'location_sub_province': value['locationSubProvince'],
|
|
345
|
+
'location_province': value['locationProvince'],
|
|
346
|
+
'location_postal_code_1': value['locationPostalCode1'],
|
|
347
|
+
'location_nation': value['locationNation'],
|
|
348
|
+
'phone_meeting_number': value['phoneMeetingNumber'],
|
|
349
|
+
'virtual_meeting_link': value['virtualMeetingLink'],
|
|
350
|
+
'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
|
|
351
|
+
'contact_name_1': value['contactName1'],
|
|
352
|
+
'contact_name_2': value['contactName2'],
|
|
353
|
+
'contact_phone_1': value['contactPhone1'],
|
|
354
|
+
'contact_phone_2': value['contactPhone2'],
|
|
355
|
+
'contact_email_1': value['contactEmail1'],
|
|
356
|
+
'contact_email_2': value['contactEmail2'],
|
|
357
|
+
'bus_lines': value['busLines'],
|
|
358
|
+
'train_lines': value['trainLines'],
|
|
359
|
+
'comments': value['comments'],
|
|
360
|
+
'customFields': value['customFields'],
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
|
|
@@ -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 NotFoundError
|
|
20
|
+
*/
|
|
21
|
+
export interface NotFoundError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NotFoundError
|
|
26
|
+
*/
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the NotFoundError interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfNotFoundError(value: object): value is NotFoundError {
|
|
34
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function NotFoundErrorFromJSON(json: any): NotFoundError {
|
|
39
|
+
return NotFoundErrorFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function NotFoundErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundError {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'message': json['message'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function NotFoundErrorToJSON(json: any): NotFoundError {
|
|
53
|
+
return NotFoundErrorToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function NotFoundErrorToJSONTyped(value?: NotFoundError | 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,126 @@
|
|
|
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 { ServerBaseStatistics } from './ServerBaseStatistics';
|
|
17
|
+
import {
|
|
18
|
+
ServerBaseStatisticsFromJSON,
|
|
19
|
+
ServerBaseStatisticsFromJSONTyped,
|
|
20
|
+
ServerBaseStatisticsToJSON,
|
|
21
|
+
ServerBaseStatisticsToJSONTyped,
|
|
22
|
+
} from './ServerBaseStatistics';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface Server
|
|
28
|
+
*/
|
|
29
|
+
export interface Server {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Server
|
|
34
|
+
*/
|
|
35
|
+
sourceId: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Server
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Server
|
|
46
|
+
*/
|
|
47
|
+
url: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {ServerBaseStatistics}
|
|
51
|
+
* @memberof Server
|
|
52
|
+
*/
|
|
53
|
+
statistics?: ServerBaseStatistics;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Server
|
|
58
|
+
*/
|
|
59
|
+
serverInfo?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof Server
|
|
64
|
+
*/
|
|
65
|
+
lastSuccessfulImport: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof Server
|
|
70
|
+
*/
|
|
71
|
+
id: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the Server interface.
|
|
76
|
+
*/
|
|
77
|
+
export function instanceOfServer(value: object): value is Server {
|
|
78
|
+
if (!('sourceId' in value) || value['sourceId'] === undefined) return false;
|
|
79
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
80
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
81
|
+
if (!('lastSuccessfulImport' in value) || value['lastSuccessfulImport'] === undefined) return false;
|
|
82
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function ServerFromJSON(json: any): Server {
|
|
87
|
+
return ServerFromJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Server {
|
|
91
|
+
if (json == null) {
|
|
92
|
+
return json;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'sourceId': json['sourceId'],
|
|
97
|
+
'name': json['name'],
|
|
98
|
+
'url': json['url'],
|
|
99
|
+
'statistics': json['statistics'] == null ? undefined : ServerBaseStatisticsFromJSON(json['statistics']),
|
|
100
|
+
'serverInfo': json['serverInfo'] == null ? undefined : json['serverInfo'],
|
|
101
|
+
'lastSuccessfulImport': (new Date(json['lastSuccessfulImport'])),
|
|
102
|
+
'id': json['id'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function ServerToJSON(json: any): Server {
|
|
107
|
+
return ServerToJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function ServerToJSONTyped(value?: Server | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'sourceId': value['sourceId'],
|
|
118
|
+
'name': value['name'],
|
|
119
|
+
'url': value['url'],
|
|
120
|
+
'statistics': ServerBaseStatisticsToJSON(value['statistics']),
|
|
121
|
+
'serverInfo': value['serverInfo'],
|
|
122
|
+
'lastSuccessfulImport': ((value['lastSuccessfulImport']).toISOString()),
|
|
123
|
+
'id': value['id'],
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
@@ -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
|
+
import type { ServerBaseStatistics } from './ServerBaseStatistics';
|
|
17
|
+
import {
|
|
18
|
+
ServerBaseStatisticsFromJSON,
|
|
19
|
+
ServerBaseStatisticsFromJSONTyped,
|
|
20
|
+
ServerBaseStatisticsToJSON,
|
|
21
|
+
ServerBaseStatisticsToJSONTyped,
|
|
22
|
+
} from './ServerBaseStatistics';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ServerBase
|
|
28
|
+
*/
|
|
29
|
+
export interface ServerBase {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ServerBase
|
|
34
|
+
*/
|
|
35
|
+
sourceId?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ServerBase
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ServerBase
|
|
46
|
+
*/
|
|
47
|
+
url?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {ServerBaseStatistics}
|
|
51
|
+
* @memberof ServerBase
|
|
52
|
+
*/
|
|
53
|
+
statistics?: ServerBaseStatistics;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ServerBase
|
|
58
|
+
*/
|
|
59
|
+
serverInfo?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof ServerBase
|
|
64
|
+
*/
|
|
65
|
+
lastSuccessfulImport?: Date;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the ServerBase interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfServerBase(value: object): value is ServerBase {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ServerBaseFromJSON(json: any): ServerBase {
|
|
76
|
+
return ServerBaseFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ServerBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerBase {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'sourceId': json['sourceId'] == null ? undefined : json['sourceId'],
|
|
86
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
87
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
88
|
+
'statistics': json['statistics'] == null ? undefined : ServerBaseStatisticsFromJSON(json['statistics']),
|
|
89
|
+
'serverInfo': json['serverInfo'] == null ? undefined : json['serverInfo'],
|
|
90
|
+
'lastSuccessfulImport': json['lastSuccessfulImport'] == null ? undefined : (new Date(json['lastSuccessfulImport'])),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ServerBaseToJSON(json: any): ServerBase {
|
|
95
|
+
return ServerBaseToJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function ServerBaseToJSONTyped(value?: ServerBase | null, ignoreDiscriminator: boolean = false): any {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'sourceId': value['sourceId'],
|
|
106
|
+
'name': value['name'],
|
|
107
|
+
'url': value['url'],
|
|
108
|
+
'statistics': ServerBaseStatisticsToJSON(value['statistics']),
|
|
109
|
+
'serverInfo': value['serverInfo'],
|
|
110
|
+
'lastSuccessfulImport': value['lastSuccessfulImport'] == null ? undefined : ((value['lastSuccessfulImport']).toISOString()),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|