bmlt-server-client 2.0.0 → 2.0.1

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 (200) hide show
  1. package/.github/workflows/release.yml +4 -4
  2. package/.openapi-generator/FILES +44 -0
  3. package/.openapi-generator/VERSION +1 -1
  4. package/Makefile +2 -1
  5. package/README.md +172 -28
  6. package/dist/apis/RootServerApi.d.ts +25 -1
  7. package/dist/apis/RootServerApi.js +960 -1531
  8. package/dist/esm/apis/RootServerApi.d.ts +448 -0
  9. package/dist/esm/apis/RootServerApi.js +1253 -0
  10. package/dist/esm/apis/index.d.ts +1 -0
  11. package/dist/esm/apis/index.js +3 -0
  12. package/dist/esm/index.d.ts +3 -0
  13. package/dist/esm/index.js +5 -0
  14. package/dist/esm/models/AuthenticationError.d.ts +32 -0
  15. package/dist/esm/models/AuthenticationError.js +43 -0
  16. package/dist/esm/models/AuthorizationError.d.ts +32 -0
  17. package/dist/esm/models/AuthorizationError.js +43 -0
  18. package/dist/esm/models/ConflictError.d.ts +32 -0
  19. package/dist/esm/models/ConflictError.js +43 -0
  20. package/dist/esm/models/ErrorTest.d.ts +44 -0
  21. package/dist/esm/models/ErrorTest.js +45 -0
  22. package/dist/esm/models/Format.d.ts +51 -0
  23. package/dist/esm/models/Format.js +56 -0
  24. package/dist/esm/models/FormatBase.d.ts +45 -0
  25. package/dist/esm/models/FormatBase.js +46 -0
  26. package/dist/esm/models/FormatCreate.d.ts +45 -0
  27. package/dist/esm/models/FormatCreate.js +48 -0
  28. package/dist/esm/models/FormatPartialUpdate.d.ts +45 -0
  29. package/dist/esm/models/FormatPartialUpdate.js +46 -0
  30. package/dist/esm/models/FormatTranslation.d.ts +50 -0
  31. package/dist/esm/models/FormatTranslation.js +55 -0
  32. package/dist/esm/models/FormatUpdate.d.ts +45 -0
  33. package/dist/esm/models/FormatUpdate.js +48 -0
  34. package/dist/esm/models/Meeting.d.ts +256 -0
  35. package/dist/esm/models/Meeting.js +145 -0
  36. package/dist/esm/models/MeetingBase.d.ts +250 -0
  37. package/dist/esm/models/MeetingBase.js +113 -0
  38. package/dist/esm/models/MeetingChangeResource.d.ts +50 -0
  39. package/dist/esm/models/MeetingChangeResource.js +47 -0
  40. package/dist/esm/models/MeetingCreate.d.ts +250 -0
  41. package/dist/esm/models/MeetingCreate.js +133 -0
  42. package/dist/esm/models/MeetingPartialUpdate.d.ts +250 -0
  43. package/dist/esm/models/MeetingPartialUpdate.js +113 -0
  44. package/dist/esm/models/MeetingUpdate.d.ts +250 -0
  45. package/dist/esm/models/MeetingUpdate.js +133 -0
  46. package/dist/esm/models/NotFoundError.d.ts +32 -0
  47. package/dist/esm/models/NotFoundError.js +43 -0
  48. package/dist/esm/models/RootServer.d.ts +69 -0
  49. package/dist/esm/models/RootServer.js +64 -0
  50. package/dist/esm/models/RootServerBase.d.ts +63 -0
  51. package/dist/esm/models/RootServerBase.js +52 -0
  52. package/dist/esm/models/RootServerBaseStatistics.d.ts +40 -0
  53. package/dist/esm/models/RootServerBaseStatistics.js +49 -0
  54. package/dist/esm/models/RootServerBaseStatisticsMeetings.d.ts +56 -0
  55. package/dist/esm/models/RootServerBaseStatisticsMeetings.js +59 -0
  56. package/dist/esm/models/RootServerBaseStatisticsServiceBodies.d.ts +50 -0
  57. package/dist/esm/models/RootServerBaseStatisticsServiceBodies.js +55 -0
  58. package/dist/esm/models/ServerError.d.ts +32 -0
  59. package/dist/esm/models/ServerError.js +43 -0
  60. package/dist/esm/models/ServiceBody.d.ts +92 -0
  61. package/dist/esm/models/ServiceBody.js +83 -0
  62. package/dist/esm/models/ServiceBodyBase.d.ts +86 -0
  63. package/dist/esm/models/ServiceBodyBase.js +59 -0
  64. package/dist/esm/models/ServiceBodyCreate.d.ts +86 -0
  65. package/dist/esm/models/ServiceBodyCreate.js +71 -0
  66. package/dist/esm/models/ServiceBodyPartialUpdate.d.ts +86 -0
  67. package/dist/esm/models/ServiceBodyPartialUpdate.js +59 -0
  68. package/dist/esm/models/ServiceBodyUpdate.d.ts +86 -0
  69. package/dist/esm/models/ServiceBodyUpdate.js +71 -0
  70. package/dist/esm/models/SettingsBase.d.ts +158 -0
  71. package/dist/esm/models/SettingsBase.js +83 -0
  72. package/dist/esm/models/SettingsObject.d.ts +158 -0
  73. package/dist/esm/models/SettingsObject.js +83 -0
  74. package/dist/esm/models/SettingsUpdate.d.ts +158 -0
  75. package/dist/esm/models/SettingsUpdate.js +83 -0
  76. package/dist/esm/models/Token.d.ts +50 -0
  77. package/dist/esm/models/Token.js +55 -0
  78. package/dist/esm/models/TokenCredentials.d.ts +38 -0
  79. package/dist/esm/models/TokenCredentials.js +47 -0
  80. package/dist/esm/models/User.d.ts +74 -0
  81. package/dist/esm/models/User.js +69 -0
  82. package/dist/esm/models/UserBase.d.ts +62 -0
  83. package/dist/esm/models/UserBase.js +51 -0
  84. package/dist/esm/models/UserCreate.d.ts +68 -0
  85. package/dist/esm/models/UserCreate.js +61 -0
  86. package/dist/esm/models/UserPartialUpdate.d.ts +68 -0
  87. package/dist/esm/models/UserPartialUpdate.js +53 -0
  88. package/dist/esm/models/UserUpdate.d.ts +68 -0
  89. package/dist/esm/models/UserUpdate.js +59 -0
  90. package/dist/esm/models/ValidationError.d.ts +40 -0
  91. package/dist/esm/models/ValidationError.js +47 -0
  92. package/dist/esm/models/index.d.ts +39 -0
  93. package/dist/esm/models/index.js +41 -0
  94. package/dist/esm/runtime.d.ts +184 -0
  95. package/dist/esm/runtime.js +334 -0
  96. package/dist/models/AuthenticationError.js +6 -8
  97. package/dist/models/AuthorizationError.js +6 -8
  98. package/dist/models/ConflictError.js +6 -8
  99. package/dist/models/ErrorTest.js +6 -8
  100. package/dist/models/Format.js +7 -9
  101. package/dist/models/FormatBase.js +7 -9
  102. package/dist/models/FormatCreate.js +7 -9
  103. package/dist/models/FormatPartialUpdate.js +7 -9
  104. package/dist/models/FormatTranslation.js +6 -8
  105. package/dist/models/FormatUpdate.js +7 -9
  106. package/dist/models/Meeting.js +6 -8
  107. package/dist/models/MeetingBase.js +6 -8
  108. package/dist/models/MeetingChangeResource.js +6 -8
  109. package/dist/models/MeetingCreate.js +6 -8
  110. package/dist/models/MeetingPartialUpdate.d.ts +10 -10
  111. package/dist/models/MeetingPartialUpdate.js +16 -38
  112. package/dist/models/MeetingUpdate.js +6 -8
  113. package/dist/models/NotFoundError.js +6 -8
  114. package/dist/models/RootServer.js +8 -10
  115. package/dist/models/RootServerBase.js +8 -10
  116. package/dist/models/RootServerBaseStatistics.js +8 -10
  117. package/dist/models/RootServerBaseStatisticsMeetings.js +6 -8
  118. package/dist/models/RootServerBaseStatisticsServiceBodies.js +6 -8
  119. package/dist/models/ServerError.js +6 -8
  120. package/dist/models/ServiceBody.js +6 -8
  121. package/dist/models/ServiceBodyBase.js +6 -8
  122. package/dist/models/ServiceBodyCreate.js +6 -8
  123. package/dist/models/ServiceBodyPartialUpdate.js +6 -8
  124. package/dist/models/ServiceBodyUpdate.js +6 -8
  125. package/dist/models/SettingsBase.d.ts +158 -0
  126. package/dist/models/SettingsBase.js +90 -0
  127. package/dist/models/SettingsObject.d.ts +158 -0
  128. package/dist/models/SettingsObject.js +90 -0
  129. package/dist/models/SettingsUpdate.d.ts +158 -0
  130. package/dist/models/SettingsUpdate.js +90 -0
  131. package/dist/models/Token.js +6 -8
  132. package/dist/models/TokenCredentials.js +6 -8
  133. package/dist/models/User.d.ts +6 -0
  134. package/dist/models/User.js +8 -8
  135. package/dist/models/UserBase.js +6 -8
  136. package/dist/models/UserCreate.js +6 -8
  137. package/dist/models/UserPartialUpdate.js +6 -8
  138. package/dist/models/UserUpdate.js +6 -8
  139. package/dist/models/ValidationError.js +6 -8
  140. package/dist/models/index.d.ts +3 -0
  141. package/dist/models/index.js +3 -0
  142. package/dist/runtime.d.ts +9 -9
  143. package/dist/runtime.js +226 -440
  144. package/docs/AuthenticationError.md +34 -0
  145. package/docs/AuthorizationError.md +34 -0
  146. package/docs/ConflictError.md +34 -0
  147. package/docs/ErrorTest.md +38 -0
  148. package/docs/Format.md +40 -0
  149. package/docs/FormatBase.md +38 -0
  150. package/docs/FormatCreate.md +38 -0
  151. package/docs/FormatPartialUpdate.md +38 -0
  152. package/docs/FormatTranslation.md +40 -0
  153. package/docs/FormatUpdate.md +38 -0
  154. package/docs/Meeting.md +108 -0
  155. package/docs/MeetingBase.md +106 -0
  156. package/docs/MeetingChangeResource.md +40 -0
  157. package/docs/MeetingCreate.md +106 -0
  158. package/docs/MeetingPartialUpdate.md +106 -0
  159. package/docs/MeetingUpdate.md +106 -0
  160. package/docs/NotFoundError.md +34 -0
  161. package/docs/RootServer.md +46 -0
  162. package/docs/RootServerApi.md +2514 -0
  163. package/docs/RootServerBase.md +44 -0
  164. package/docs/RootServerBaseStatistics.md +36 -0
  165. package/docs/RootServerBaseStatisticsMeetings.md +42 -0
  166. package/docs/RootServerBaseStatisticsServiceBodies.md +40 -0
  167. package/docs/ServerError.md +34 -0
  168. package/docs/ServiceBody.md +54 -0
  169. package/docs/ServiceBodyBase.md +52 -0
  170. package/docs/ServiceBodyCreate.md +52 -0
  171. package/docs/ServiceBodyPartialUpdate.md +52 -0
  172. package/docs/ServiceBodyUpdate.md +52 -0
  173. package/docs/SettingsBase.md +76 -0
  174. package/docs/SettingsObject.md +76 -0
  175. package/docs/SettingsUpdate.md +77 -0
  176. package/docs/Token.md +40 -0
  177. package/docs/TokenCredentials.md +36 -0
  178. package/docs/User.md +48 -0
  179. package/docs/UserBase.md +44 -0
  180. package/docs/UserCreate.md +46 -0
  181. package/docs/UserPartialUpdate.md +46 -0
  182. package/docs/UserUpdate.md +46 -0
  183. package/docs/ValidationError.md +36 -0
  184. package/openapi.json +1 -1
  185. package/package.json +5 -3
  186. package/src/apis/RootServerApi.ts +242 -32
  187. package/src/models/MeetingPartialUpdate.ts +20 -30
  188. package/src/models/RootServer.ts +1 -1
  189. package/src/models/RootServerBase.ts +1 -1
  190. package/src/models/SettingsBase.ts +233 -0
  191. package/src/models/SettingsObject.ts +233 -0
  192. package/src/models/SettingsUpdate.ts +233 -0
  193. package/src/models/User.ts +8 -0
  194. package/src/models/index.ts +3 -0
  195. package/tsconfig.esm.json +7 -0
  196. package/tsconfig.json +1 -5
  197. package/.idea/bmlt-server-typescript-client.iml +0 -9
  198. package/.idea/misc.xml +0 -6
  199. package/.idea/modules.xml +0 -8
  200. package/.idea/vcs.xml +0 -6
@@ -0,0 +1,250 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MeetingUpdate
16
+ */
17
+ export interface MeetingUpdate {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof MeetingUpdate
22
+ */
23
+ serviceBodyId: number;
24
+ /**
25
+ *
26
+ * @type {Array<number>}
27
+ * @memberof MeetingUpdate
28
+ */
29
+ formatIds: Array<number>;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof MeetingUpdate
34
+ */
35
+ venueType: number;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof MeetingUpdate
40
+ */
41
+ temporarilyVirtual?: boolean;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof MeetingUpdate
46
+ */
47
+ day: number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof MeetingUpdate
52
+ */
53
+ startTime: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof MeetingUpdate
58
+ */
59
+ duration: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof MeetingUpdate
64
+ */
65
+ timeZone?: string;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof MeetingUpdate
70
+ */
71
+ latitude: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof MeetingUpdate
76
+ */
77
+ longitude: number;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof MeetingUpdate
82
+ */
83
+ published: boolean;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof MeetingUpdate
88
+ */
89
+ email?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof MeetingUpdate
94
+ */
95
+ worldId?: string;
96
+ /**
97
+ *
98
+ * @type {string}
99
+ * @memberof MeetingUpdate
100
+ */
101
+ name: string;
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof MeetingUpdate
106
+ */
107
+ locationText?: string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof MeetingUpdate
112
+ */
113
+ locationInfo?: string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof MeetingUpdate
118
+ */
119
+ locationStreet?: string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof MeetingUpdate
124
+ */
125
+ locationNeighborhood?: string;
126
+ /**
127
+ *
128
+ * @type {string}
129
+ * @memberof MeetingUpdate
130
+ */
131
+ locationCitySubsection?: string;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof MeetingUpdate
136
+ */
137
+ locationMunicipality?: string;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof MeetingUpdate
142
+ */
143
+ locationSubProvince?: string;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof MeetingUpdate
148
+ */
149
+ locationProvince?: string;
150
+ /**
151
+ *
152
+ * @type {string}
153
+ * @memberof MeetingUpdate
154
+ */
155
+ locationPostalCode1?: string;
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof MeetingUpdate
160
+ */
161
+ locationNation?: string;
162
+ /**
163
+ *
164
+ * @type {string}
165
+ * @memberof MeetingUpdate
166
+ */
167
+ phoneMeetingNumber?: string;
168
+ /**
169
+ *
170
+ * @type {string}
171
+ * @memberof MeetingUpdate
172
+ */
173
+ virtualMeetingLink?: string;
174
+ /**
175
+ *
176
+ * @type {string}
177
+ * @memberof MeetingUpdate
178
+ */
179
+ virtualMeetingAdditionalInfo?: string;
180
+ /**
181
+ *
182
+ * @type {string}
183
+ * @memberof MeetingUpdate
184
+ */
185
+ contactName1?: string;
186
+ /**
187
+ *
188
+ * @type {string}
189
+ * @memberof MeetingUpdate
190
+ */
191
+ contactName2?: string;
192
+ /**
193
+ *
194
+ * @type {string}
195
+ * @memberof MeetingUpdate
196
+ */
197
+ contactPhone1?: string;
198
+ /**
199
+ *
200
+ * @type {string}
201
+ * @memberof MeetingUpdate
202
+ */
203
+ contactPhone2?: string;
204
+ /**
205
+ *
206
+ * @type {string}
207
+ * @memberof MeetingUpdate
208
+ */
209
+ contactEmail1?: string;
210
+ /**
211
+ *
212
+ * @type {string}
213
+ * @memberof MeetingUpdate
214
+ */
215
+ contactEmail2?: string;
216
+ /**
217
+ *
218
+ * @type {string}
219
+ * @memberof MeetingUpdate
220
+ */
221
+ busLines?: string;
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof MeetingUpdate
226
+ */
227
+ trainLines?: string;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof MeetingUpdate
232
+ */
233
+ comments?: string;
234
+ /**
235
+ *
236
+ * @type {{ [key: string]: string; }}
237
+ * @memberof MeetingUpdate
238
+ */
239
+ customFields?: {
240
+ [key: string]: string;
241
+ };
242
+ }
243
+ /**
244
+ * Check if a given object implements the MeetingUpdate interface.
245
+ */
246
+ export declare function instanceOfMeetingUpdate(value: object): value is MeetingUpdate;
247
+ export declare function MeetingUpdateFromJSON(json: any): MeetingUpdate;
248
+ export declare function MeetingUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingUpdate;
249
+ export declare function MeetingUpdateToJSON(json: any): MeetingUpdate;
250
+ export declare function MeetingUpdateToJSONTyped(value?: MeetingUpdate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,133 @@
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
+ * Check if a given object implements the MeetingUpdate interface.
16
+ */
17
+ export function instanceOfMeetingUpdate(value) {
18
+ if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined)
19
+ return false;
20
+ if (!('formatIds' in value) || value['formatIds'] === undefined)
21
+ return false;
22
+ if (!('venueType' in value) || value['venueType'] === undefined)
23
+ return false;
24
+ if (!('day' in value) || value['day'] === undefined)
25
+ return false;
26
+ if (!('startTime' in value) || value['startTime'] === undefined)
27
+ return false;
28
+ if (!('duration' in value) || value['duration'] === undefined)
29
+ return false;
30
+ if (!('latitude' in value) || value['latitude'] === undefined)
31
+ return false;
32
+ if (!('longitude' in value) || value['longitude'] === undefined)
33
+ return false;
34
+ if (!('published' in value) || value['published'] === undefined)
35
+ return false;
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ return true;
39
+ }
40
+ export function MeetingUpdateFromJSON(json) {
41
+ return MeetingUpdateFromJSONTyped(json, false);
42
+ }
43
+ export function MeetingUpdateFromJSONTyped(json, ignoreDiscriminator) {
44
+ if (json == null) {
45
+ return json;
46
+ }
47
+ return {
48
+ 'serviceBodyId': json['serviceBodyId'],
49
+ 'formatIds': json['formatIds'],
50
+ 'venueType': json['venueType'],
51
+ 'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
52
+ 'day': json['day'],
53
+ 'startTime': json['startTime'],
54
+ 'duration': json['duration'],
55
+ 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
56
+ 'latitude': json['latitude'],
57
+ 'longitude': json['longitude'],
58
+ 'published': json['published'],
59
+ 'email': json['email'] == null ? undefined : json['email'],
60
+ 'worldId': json['worldId'] == null ? undefined : json['worldId'],
61
+ 'name': json['name'],
62
+ 'locationText': json['location_text'] == null ? undefined : json['location_text'],
63
+ 'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
64
+ 'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
65
+ 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
66
+ 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
67
+ 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'],
68
+ 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'],
69
+ 'locationProvince': json['location_province'] == null ? undefined : json['location_province'],
70
+ 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'],
71
+ 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'],
72
+ 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
73
+ 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
74
+ 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
75
+ 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
76
+ 'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'],
77
+ 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
78
+ 'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'],
79
+ 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
80
+ 'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'],
81
+ 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
82
+ 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
83
+ 'comments': json['comments'] == null ? undefined : json['comments'],
84
+ 'customFields': json['customFields'] == null ? undefined : json['customFields'],
85
+ };
86
+ }
87
+ export function MeetingUpdateToJSON(json) {
88
+ return MeetingUpdateToJSONTyped(json, false);
89
+ }
90
+ export function MeetingUpdateToJSONTyped(value, ignoreDiscriminator = false) {
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+ return {
95
+ 'serviceBodyId': value['serviceBodyId'],
96
+ 'formatIds': value['formatIds'],
97
+ 'venueType': value['venueType'],
98
+ 'temporarilyVirtual': value['temporarilyVirtual'],
99
+ 'day': value['day'],
100
+ 'startTime': value['startTime'],
101
+ 'duration': value['duration'],
102
+ 'timeZone': value['timeZone'],
103
+ 'latitude': value['latitude'],
104
+ 'longitude': value['longitude'],
105
+ 'published': value['published'],
106
+ 'email': value['email'],
107
+ 'worldId': value['worldId'],
108
+ 'name': value['name'],
109
+ 'location_text': value['locationText'],
110
+ 'location_info': value['locationInfo'],
111
+ 'location_street': value['locationStreet'],
112
+ 'location_neighborhood': value['locationNeighborhood'],
113
+ 'location_city_subsection': value['locationCitySubsection'],
114
+ 'location_municipality': value['locationMunicipality'],
115
+ 'location_sub_province': value['locationSubProvince'],
116
+ 'location_province': value['locationProvince'],
117
+ 'location_postal_code_1': value['locationPostalCode1'],
118
+ 'location_nation': value['locationNation'],
119
+ 'phone_meeting_number': value['phoneMeetingNumber'],
120
+ 'virtual_meeting_link': value['virtualMeetingLink'],
121
+ 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
122
+ 'contact_name_1': value['contactName1'],
123
+ 'contact_name_2': value['contactName2'],
124
+ 'contact_phone_1': value['contactPhone1'],
125
+ 'contact_phone_2': value['contactPhone2'],
126
+ 'contact_email_1': value['contactEmail1'],
127
+ 'contact_email_2': value['contactEmail2'],
128
+ 'bus_lines': value['busLines'],
129
+ 'train_lines': value['trainLines'],
130
+ 'comments': value['comments'],
131
+ 'customFields': value['customFields'],
132
+ };
133
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface NotFoundError
16
+ */
17
+ export interface NotFoundError {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NotFoundError
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the NotFoundError interface.
27
+ */
28
+ export declare function instanceOfNotFoundError(value: object): value is NotFoundError;
29
+ export declare function NotFoundErrorFromJSON(json: any): NotFoundError;
30
+ export declare function NotFoundErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundError;
31
+ export declare function NotFoundErrorToJSON(json: any): NotFoundError;
32
+ export declare function NotFoundErrorToJSONTyped(value?: NotFoundError | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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
+ * Check if a given object implements the NotFoundError interface.
16
+ */
17
+ export function instanceOfNotFoundError(value) {
18
+ if (!('message' in value) || value['message'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function NotFoundErrorFromJSON(json) {
23
+ return NotFoundErrorFromJSONTyped(json, false);
24
+ }
25
+ export function NotFoundErrorFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'message': json['message'],
31
+ };
32
+ }
33
+ export function NotFoundErrorToJSON(json) {
34
+ return NotFoundErrorToJSONTyped(json, false);
35
+ }
36
+ export function NotFoundErrorToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'message': value['message'],
42
+ };
43
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RootServerBaseStatistics } from './RootServerBaseStatistics';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RootServer
17
+ */
18
+ export interface RootServer {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof RootServer
23
+ */
24
+ sourceId: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RootServer
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof RootServer
35
+ */
36
+ url: string;
37
+ /**
38
+ *
39
+ * @type {RootServerBaseStatistics}
40
+ * @memberof RootServer
41
+ */
42
+ statistics?: RootServerBaseStatistics;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof RootServer
47
+ */
48
+ serverInfo?: string;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof RootServer
53
+ */
54
+ lastSuccessfulImport: Date;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof RootServer
59
+ */
60
+ id: number;
61
+ }
62
+ /**
63
+ * Check if a given object implements the RootServer interface.
64
+ */
65
+ export declare function instanceOfRootServer(value: object): value is RootServer;
66
+ export declare function RootServerFromJSON(json: any): RootServer;
67
+ export declare function RootServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServer;
68
+ export declare function RootServerToJSON(json: any): RootServer;
69
+ export declare function RootServerToJSONTyped(value?: RootServer | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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
+ import { RootServerBaseStatisticsFromJSON, RootServerBaseStatisticsToJSON, } from './RootServerBaseStatistics';
15
+ /**
16
+ * Check if a given object implements the RootServer interface.
17
+ */
18
+ export function instanceOfRootServer(value) {
19
+ if (!('sourceId' in value) || value['sourceId'] === undefined)
20
+ return false;
21
+ if (!('name' in value) || value['name'] === undefined)
22
+ return false;
23
+ if (!('url' in value) || value['url'] === undefined)
24
+ return false;
25
+ if (!('lastSuccessfulImport' in value) || value['lastSuccessfulImport'] === undefined)
26
+ return false;
27
+ if (!('id' in value) || value['id'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function RootServerFromJSON(json) {
32
+ return RootServerFromJSONTyped(json, false);
33
+ }
34
+ export function RootServerFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'sourceId': json['sourceId'],
40
+ 'name': json['name'],
41
+ 'url': json['url'],
42
+ 'statistics': json['statistics'] == null ? undefined : RootServerBaseStatisticsFromJSON(json['statistics']),
43
+ 'serverInfo': json['serverInfo'] == null ? undefined : json['serverInfo'],
44
+ 'lastSuccessfulImport': (new Date(json['lastSuccessfulImport'])),
45
+ 'id': json['id'],
46
+ };
47
+ }
48
+ export function RootServerToJSON(json) {
49
+ return RootServerToJSONTyped(json, false);
50
+ }
51
+ export function RootServerToJSONTyped(value, ignoreDiscriminator = false) {
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'sourceId': value['sourceId'],
57
+ 'name': value['name'],
58
+ 'url': value['url'],
59
+ 'statistics': RootServerBaseStatisticsToJSON(value['statistics']),
60
+ 'serverInfo': value['serverInfo'],
61
+ 'lastSuccessfulImport': value['lastSuccessfulImport'].toISOString(),
62
+ 'id': value['id'],
63
+ };
64
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * BMLT
3
+ * BMLT Admin API Documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { RootServerBaseStatistics } from './RootServerBaseStatistics';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RootServerBase
17
+ */
18
+ export interface RootServerBase {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof RootServerBase
23
+ */
24
+ sourceId?: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof RootServerBase
29
+ */
30
+ name?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof RootServerBase
35
+ */
36
+ url?: string;
37
+ /**
38
+ *
39
+ * @type {RootServerBaseStatistics}
40
+ * @memberof RootServerBase
41
+ */
42
+ statistics?: RootServerBaseStatistics;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof RootServerBase
47
+ */
48
+ serverInfo?: string;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof RootServerBase
53
+ */
54
+ lastSuccessfulImport?: Date;
55
+ }
56
+ /**
57
+ * Check if a given object implements the RootServerBase interface.
58
+ */
59
+ export declare function instanceOfRootServerBase(value: object): value is RootServerBase;
60
+ export declare function RootServerBaseFromJSON(json: any): RootServerBase;
61
+ export declare function RootServerBaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RootServerBase;
62
+ export declare function RootServerBaseToJSON(json: any): RootServerBase;
63
+ export declare function RootServerBaseToJSONTyped(value?: RootServerBase | null, ignoreDiscriminator?: boolean): any;