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