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.
Files changed (136) hide show
  1. package/.github/workflows/release.yml +25 -0
  2. package/.idea/bmlt-server-typescript-client.iml +9 -0
  3. package/.idea/misc.xml +6 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/vcs.xml +6 -0
  6. package/.openapi-generator/FILES +46 -0
  7. package/.openapi-generator/VERSION +1 -0
  8. package/.openapi-generator-ignore +23 -0
  9. package/Makefile +18 -0
  10. package/README.md +46 -0
  11. package/dist/apis/ServerApi.d.ts +424 -0
  12. package/dist/apis/ServerApi.js +1828 -0
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +19 -0
  15. package/dist/index.d.ts +3 -0
  16. package/dist/index.js +21 -0
  17. package/dist/models/AuthenticationError.d.ts +32 -0
  18. package/dist/models/AuthenticationError.js +52 -0
  19. package/dist/models/AuthorizationError.d.ts +32 -0
  20. package/dist/models/AuthorizationError.js +52 -0
  21. package/dist/models/ConflictError.d.ts +32 -0
  22. package/dist/models/ConflictError.js +52 -0
  23. package/dist/models/ErrorTest.d.ts +44 -0
  24. package/dist/models/ErrorTest.js +54 -0
  25. package/dist/models/Format.d.ts +51 -0
  26. package/dist/models/Format.js +65 -0
  27. package/dist/models/FormatBase.d.ts +45 -0
  28. package/dist/models/FormatBase.js +55 -0
  29. package/dist/models/FormatCreate.d.ts +45 -0
  30. package/dist/models/FormatCreate.js +57 -0
  31. package/dist/models/FormatPartialUpdate.d.ts +45 -0
  32. package/dist/models/FormatPartialUpdate.js +55 -0
  33. package/dist/models/FormatTranslation.d.ts +50 -0
  34. package/dist/models/FormatTranslation.js +64 -0
  35. package/dist/models/FormatUpdate.d.ts +45 -0
  36. package/dist/models/FormatUpdate.js +57 -0
  37. package/dist/models/Meeting.d.ts +256 -0
  38. package/dist/models/Meeting.js +154 -0
  39. package/dist/models/MeetingBase.d.ts +250 -0
  40. package/dist/models/MeetingBase.js +122 -0
  41. package/dist/models/MeetingChangeResource.d.ts +50 -0
  42. package/dist/models/MeetingChangeResource.js +56 -0
  43. package/dist/models/MeetingCreate.d.ts +250 -0
  44. package/dist/models/MeetingCreate.js +142 -0
  45. package/dist/models/MeetingPartialUpdate.d.ts +250 -0
  46. package/dist/models/MeetingPartialUpdate.js +142 -0
  47. package/dist/models/MeetingUpdate.d.ts +250 -0
  48. package/dist/models/MeetingUpdate.js +142 -0
  49. package/dist/models/NotFoundError.d.ts +32 -0
  50. package/dist/models/NotFoundError.js +52 -0
  51. package/dist/models/Server.d.ts +69 -0
  52. package/dist/models/Server.js +73 -0
  53. package/dist/models/ServerBase.d.ts +63 -0
  54. package/dist/models/ServerBase.js +61 -0
  55. package/dist/models/ServerBaseStatistics.d.ts +40 -0
  56. package/dist/models/ServerBaseStatistics.js +58 -0
  57. package/dist/models/ServerBaseStatisticsMeetings.d.ts +56 -0
  58. package/dist/models/ServerBaseStatisticsMeetings.js +68 -0
  59. package/dist/models/ServerBaseStatisticsServiceBodies.d.ts +50 -0
  60. package/dist/models/ServerBaseStatisticsServiceBodies.js +64 -0
  61. package/dist/models/ServerError.d.ts +32 -0
  62. package/dist/models/ServerError.js +52 -0
  63. package/dist/models/ServiceBody.d.ts +92 -0
  64. package/dist/models/ServiceBody.js +92 -0
  65. package/dist/models/ServiceBodyBase.d.ts +86 -0
  66. package/dist/models/ServiceBodyBase.js +68 -0
  67. package/dist/models/ServiceBodyCreate.d.ts +86 -0
  68. package/dist/models/ServiceBodyCreate.js +80 -0
  69. package/dist/models/ServiceBodyPartialUpdate.d.ts +86 -0
  70. package/dist/models/ServiceBodyPartialUpdate.js +68 -0
  71. package/dist/models/ServiceBodyUpdate.d.ts +86 -0
  72. package/dist/models/ServiceBodyUpdate.js +80 -0
  73. package/dist/models/Token.d.ts +50 -0
  74. package/dist/models/Token.js +64 -0
  75. package/dist/models/TokenCredentials.d.ts +38 -0
  76. package/dist/models/TokenCredentials.js +56 -0
  77. package/dist/models/User.d.ts +68 -0
  78. package/dist/models/User.js +76 -0
  79. package/dist/models/UserBase.d.ts +62 -0
  80. package/dist/models/UserBase.js +60 -0
  81. package/dist/models/UserCreate.d.ts +68 -0
  82. package/dist/models/UserCreate.js +70 -0
  83. package/dist/models/UserPartialUpdate.d.ts +68 -0
  84. package/dist/models/UserPartialUpdate.js +62 -0
  85. package/dist/models/UserUpdate.d.ts +68 -0
  86. package/dist/models/UserUpdate.js +68 -0
  87. package/dist/models/ValidationError.d.ts +40 -0
  88. package/dist/models/ValidationError.js +56 -0
  89. package/dist/models/index.d.ts +36 -0
  90. package/dist/models/index.js +54 -0
  91. package/dist/runtime.d.ts +184 -0
  92. package/dist/runtime.js +564 -0
  93. package/openapi.json +1 -0
  94. package/package.json +19 -0
  95. package/src/apis/ServerApi.ts +1529 -0
  96. package/src/apis/index.ts +3 -0
  97. package/src/index.ts +5 -0
  98. package/src/models/AuthenticationError.ts +66 -0
  99. package/src/models/AuthorizationError.ts +66 -0
  100. package/src/models/ConflictError.ts +66 -0
  101. package/src/models/ErrorTest.ts +81 -0
  102. package/src/models/Format.ts +101 -0
  103. package/src/models/FormatBase.ts +89 -0
  104. package/src/models/FormatCreate.ts +90 -0
  105. package/src/models/FormatPartialUpdate.ts +89 -0
  106. package/src/models/FormatTranslation.ts +93 -0
  107. package/src/models/FormatUpdate.ts +90 -0
  108. package/src/models/Meeting.ts +376 -0
  109. package/src/models/MeetingBase.ts +353 -0
  110. package/src/models/MeetingChangeResource.ts +89 -0
  111. package/src/models/MeetingCreate.ts +363 -0
  112. package/src/models/MeetingPartialUpdate.ts +363 -0
  113. package/src/models/MeetingUpdate.ts +363 -0
  114. package/src/models/NotFoundError.ts +66 -0
  115. package/src/models/Server.ts +126 -0
  116. package/src/models/ServerBase.ts +113 -0
  117. package/src/models/ServerBaseStatistics.ts +90 -0
  118. package/src/models/ServerBaseStatisticsMeetings.ts +102 -0
  119. package/src/models/ServerBaseStatisticsServiceBodies.ts +93 -0
  120. package/src/models/ServerError.ts +66 -0
  121. package/src/models/ServiceBody.ts +156 -0
  122. package/src/models/ServiceBodyBase.ts +137 -0
  123. package/src/models/ServiceBodyCreate.ts +143 -0
  124. package/src/models/ServiceBodyPartialUpdate.ts +137 -0
  125. package/src/models/ServiceBodyUpdate.ts +143 -0
  126. package/src/models/Token.ts +93 -0
  127. package/src/models/TokenCredentials.ts +75 -0
  128. package/src/models/User.ts +120 -0
  129. package/src/models/UserBase.ts +105 -0
  130. package/src/models/UserCreate.ts +117 -0
  131. package/src/models/UserPartialUpdate.ts +113 -0
  132. package/src/models/UserUpdate.ts +116 -0
  133. package/src/models/ValidationError.ts +75 -0
  134. package/src/models/index.ts +38 -0
  135. package/src/runtime.ts +432 -0
  136. package/tsconfig.json +20 -0
@@ -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 FormatTranslation
20
+ */
21
+ export interface FormatTranslation {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof FormatTranslation
26
+ */
27
+ key: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof FormatTranslation
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof FormatTranslation
38
+ */
39
+ description: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof FormatTranslation
44
+ */
45
+ language: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the FormatTranslation interface.
50
+ */
51
+ export function instanceOfFormatTranslation(value: object): value is FormatTranslation {
52
+ if (!('key' in value) || value['key'] === undefined) return false;
53
+ if (!('name' in value) || value['name'] === undefined) return false;
54
+ if (!('description' in value) || value['description'] === undefined) return false;
55
+ if (!('language' in value) || value['language'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function FormatTranslationFromJSON(json: any): FormatTranslation {
60
+ return FormatTranslationFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function FormatTranslationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormatTranslation {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'key': json['key'],
70
+ 'name': json['name'],
71
+ 'description': json['description'],
72
+ 'language': json['language'],
73
+ };
74
+ }
75
+
76
+ export function FormatTranslationToJSON(json: any): FormatTranslation {
77
+ return FormatTranslationToJSONTyped(json, false);
78
+ }
79
+
80
+ export function FormatTranslationToJSONTyped(value?: FormatTranslation | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'key': value['key'],
88
+ 'name': value['name'],
89
+ 'description': value['description'],
90
+ 'language': value['language'],
91
+ };
92
+ }
93
+
@@ -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 { FormatTranslation } from './FormatTranslation';
17
+ import {
18
+ FormatTranslationFromJSON,
19
+ FormatTranslationFromJSONTyped,
20
+ FormatTranslationToJSON,
21
+ FormatTranslationToJSONTyped,
22
+ } from './FormatTranslation';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface FormatUpdate
28
+ */
29
+ export interface FormatUpdate {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FormatUpdate
34
+ */
35
+ worldId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof FormatUpdate
40
+ */
41
+ type?: string;
42
+ /**
43
+ *
44
+ * @type {Array<FormatTranslation>}
45
+ * @memberof FormatUpdate
46
+ */
47
+ translations: Array<FormatTranslation>;
48
+ }
49
+
50
+ /**
51
+ * Check if a given object implements the FormatUpdate interface.
52
+ */
53
+ export function instanceOfFormatUpdate(value: object): value is FormatUpdate {
54
+ if (!('translations' in value) || value['translations'] === undefined) return false;
55
+ return true;
56
+ }
57
+
58
+ export function FormatUpdateFromJSON(json: any): FormatUpdate {
59
+ return FormatUpdateFromJSONTyped(json, false);
60
+ }
61
+
62
+ export function FormatUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormatUpdate {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+
68
+ 'worldId': json['worldId'] == null ? undefined : json['worldId'],
69
+ 'type': json['type'] == null ? undefined : json['type'],
70
+ 'translations': ((json['translations'] as Array<any>).map(FormatTranslationFromJSON)),
71
+ };
72
+ }
73
+
74
+ export function FormatUpdateToJSON(json: any): FormatUpdate {
75
+ return FormatUpdateToJSONTyped(json, false);
76
+ }
77
+
78
+ export function FormatUpdateToJSONTyped(value?: FormatUpdate | null, ignoreDiscriminator: boolean = false): any {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+
83
+ return {
84
+
85
+ 'worldId': value['worldId'],
86
+ 'type': value['type'],
87
+ 'translations': ((value['translations'] as Array<any>).map(FormatTranslationToJSON)),
88
+ };
89
+ }
90
+
@@ -0,0 +1,376 @@
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 Meeting
20
+ */
21
+ export interface Meeting {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof Meeting
26
+ */
27
+ serviceBodyId: number;
28
+ /**
29
+ *
30
+ * @type {Array<number>}
31
+ * @memberof Meeting
32
+ */
33
+ formatIds: Array<number>;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof Meeting
38
+ */
39
+ venueType: number;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof Meeting
44
+ */
45
+ temporarilyVirtual: boolean;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof Meeting
50
+ */
51
+ day: number;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Meeting
56
+ */
57
+ startTime: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Meeting
62
+ */
63
+ duration: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof Meeting
68
+ */
69
+ timeZone: string;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof Meeting
74
+ */
75
+ latitude: number;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof Meeting
80
+ */
81
+ longitude: number;
82
+ /**
83
+ *
84
+ * @type {boolean}
85
+ * @memberof Meeting
86
+ */
87
+ published: boolean;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof Meeting
92
+ */
93
+ email: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof Meeting
98
+ */
99
+ worldId: string;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof Meeting
104
+ */
105
+ name: string;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof Meeting
110
+ */
111
+ locationText?: string;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof Meeting
116
+ */
117
+ locationInfo?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof Meeting
122
+ */
123
+ locationStreet?: string;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof Meeting
128
+ */
129
+ locationNeighborhood?: string;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof Meeting
134
+ */
135
+ locationCitySubsection?: string;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof Meeting
140
+ */
141
+ locationMunicipality?: string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof Meeting
146
+ */
147
+ locationSubProvince?: string;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof Meeting
152
+ */
153
+ locationProvince?: string;
154
+ /**
155
+ *
156
+ * @type {string}
157
+ * @memberof Meeting
158
+ */
159
+ locationPostalCode1?: string;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof Meeting
164
+ */
165
+ locationNation?: string;
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof Meeting
170
+ */
171
+ phoneMeetingNumber?: string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof Meeting
176
+ */
177
+ virtualMeetingLink?: string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof Meeting
182
+ */
183
+ virtualMeetingAdditionalInfo?: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof Meeting
188
+ */
189
+ contactName1?: string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof Meeting
194
+ */
195
+ contactName2?: string;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof Meeting
200
+ */
201
+ contactPhone1?: string;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof Meeting
206
+ */
207
+ contactPhone2?: string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof Meeting
212
+ */
213
+ contactEmail1?: string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof Meeting
218
+ */
219
+ contactEmail2?: string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof Meeting
224
+ */
225
+ busLines?: string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof Meeting
230
+ */
231
+ trainLines?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof Meeting
236
+ */
237
+ comments?: string;
238
+ /**
239
+ *
240
+ * @type {{ [key: string]: string; }}
241
+ * @memberof Meeting
242
+ */
243
+ customFields?: { [key: string]: string; };
244
+ /**
245
+ *
246
+ * @type {number}
247
+ * @memberof Meeting
248
+ */
249
+ id: number;
250
+ }
251
+
252
+ /**
253
+ * Check if a given object implements the Meeting interface.
254
+ */
255
+ export function instanceOfMeeting(value: object): value is Meeting {
256
+ if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined) return false;
257
+ if (!('formatIds' in value) || value['formatIds'] === undefined) return false;
258
+ if (!('venueType' in value) || value['venueType'] === undefined) return false;
259
+ if (!('temporarilyVirtual' in value) || value['temporarilyVirtual'] === undefined) return false;
260
+ if (!('day' in value) || value['day'] === undefined) return false;
261
+ if (!('startTime' in value) || value['startTime'] === undefined) return false;
262
+ if (!('duration' in value) || value['duration'] === undefined) return false;
263
+ if (!('timeZone' in value) || value['timeZone'] === undefined) return false;
264
+ if (!('latitude' in value) || value['latitude'] === undefined) return false;
265
+ if (!('longitude' in value) || value['longitude'] === undefined) return false;
266
+ if (!('published' in value) || value['published'] === undefined) return false;
267
+ if (!('email' in value) || value['email'] === undefined) return false;
268
+ if (!('worldId' in value) || value['worldId'] === undefined) return false;
269
+ if (!('name' in value) || value['name'] === undefined) return false;
270
+ if (!('id' in value) || value['id'] === undefined) return false;
271
+ return true;
272
+ }
273
+
274
+ export function MeetingFromJSON(json: any): Meeting {
275
+ return MeetingFromJSONTyped(json, false);
276
+ }
277
+
278
+ export function MeetingFromJSONTyped(json: any, ignoreDiscriminator: boolean): Meeting {
279
+ if (json == null) {
280
+ return json;
281
+ }
282
+ return {
283
+
284
+ 'serviceBodyId': json['serviceBodyId'],
285
+ 'formatIds': json['formatIds'],
286
+ 'venueType': json['venueType'],
287
+ 'temporarilyVirtual': json['temporarilyVirtual'],
288
+ 'day': json['day'],
289
+ 'startTime': json['startTime'],
290
+ 'duration': json['duration'],
291
+ 'timeZone': json['timeZone'],
292
+ 'latitude': json['latitude'],
293
+ 'longitude': json['longitude'],
294
+ 'published': json['published'],
295
+ 'email': json['email'],
296
+ 'worldId': json['worldId'],
297
+ 'name': json['name'],
298
+ 'locationText': json['location_text'] == null ? undefined : json['location_text'],
299
+ 'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
300
+ 'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
301
+ 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
302
+ 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
303
+ 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'],
304
+ 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'],
305
+ 'locationProvince': json['location_province'] == null ? undefined : json['location_province'],
306
+ 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'],
307
+ 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'],
308
+ 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
309
+ 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
310
+ 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
311
+ 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
312
+ 'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'],
313
+ 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
314
+ 'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'],
315
+ 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
316
+ 'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'],
317
+ 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
318
+ 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
319
+ 'comments': json['comments'] == null ? undefined : json['comments'],
320
+ 'customFields': json['customFields'] == null ? undefined : json['customFields'],
321
+ 'id': json['id'],
322
+ };
323
+ }
324
+
325
+ export function MeetingToJSON(json: any): Meeting {
326
+ return MeetingToJSONTyped(json, false);
327
+ }
328
+
329
+ export function MeetingToJSONTyped(value?: Meeting | null, ignoreDiscriminator: boolean = false): any {
330
+ if (value == null) {
331
+ return value;
332
+ }
333
+
334
+ return {
335
+
336
+ 'serviceBodyId': value['serviceBodyId'],
337
+ 'formatIds': value['formatIds'],
338
+ 'venueType': value['venueType'],
339
+ 'temporarilyVirtual': value['temporarilyVirtual'],
340
+ 'day': value['day'],
341
+ 'startTime': value['startTime'],
342
+ 'duration': value['duration'],
343
+ 'timeZone': value['timeZone'],
344
+ 'latitude': value['latitude'],
345
+ 'longitude': value['longitude'],
346
+ 'published': value['published'],
347
+ 'email': value['email'],
348
+ 'worldId': value['worldId'],
349
+ 'name': value['name'],
350
+ 'location_text': value['locationText'],
351
+ 'location_info': value['locationInfo'],
352
+ 'location_street': value['locationStreet'],
353
+ 'location_neighborhood': value['locationNeighborhood'],
354
+ 'location_city_subsection': value['locationCitySubsection'],
355
+ 'location_municipality': value['locationMunicipality'],
356
+ 'location_sub_province': value['locationSubProvince'],
357
+ 'location_province': value['locationProvince'],
358
+ 'location_postal_code_1': value['locationPostalCode1'],
359
+ 'location_nation': value['locationNation'],
360
+ 'phone_meeting_number': value['phoneMeetingNumber'],
361
+ 'virtual_meeting_link': value['virtualMeetingLink'],
362
+ 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
363
+ 'contact_name_1': value['contactName1'],
364
+ 'contact_name_2': value['contactName2'],
365
+ 'contact_phone_1': value['contactPhone1'],
366
+ 'contact_phone_2': value['contactPhone2'],
367
+ 'contact_email_1': value['contactEmail1'],
368
+ 'contact_email_2': value['contactEmail2'],
369
+ 'bus_lines': value['busLines'],
370
+ 'train_lines': value['trainLines'],
371
+ 'comments': value['comments'],
372
+ 'customFields': value['customFields'],
373
+ 'id': value['id'],
374
+ };
375
+ }
376
+