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,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 MeetingPartialUpdate
20
+ */
21
+ export interface MeetingPartialUpdate {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof MeetingPartialUpdate
26
+ */
27
+ serviceBodyId: number;
28
+ /**
29
+ *
30
+ * @type {Array<number>}
31
+ * @memberof MeetingPartialUpdate
32
+ */
33
+ formatIds: Array<number>;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof MeetingPartialUpdate
38
+ */
39
+ venueType: number;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof MeetingPartialUpdate
44
+ */
45
+ temporarilyVirtual?: boolean;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof MeetingPartialUpdate
50
+ */
51
+ day: number;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof MeetingPartialUpdate
56
+ */
57
+ startTime: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof MeetingPartialUpdate
62
+ */
63
+ duration: string;
64
+ /**
65
+ *
66
+ * @type {string}
67
+ * @memberof MeetingPartialUpdate
68
+ */
69
+ timeZone?: string;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof MeetingPartialUpdate
74
+ */
75
+ latitude: number;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof MeetingPartialUpdate
80
+ */
81
+ longitude: number;
82
+ /**
83
+ *
84
+ * @type {boolean}
85
+ * @memberof MeetingPartialUpdate
86
+ */
87
+ published: boolean;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof MeetingPartialUpdate
92
+ */
93
+ email?: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof MeetingPartialUpdate
98
+ */
99
+ worldId?: string;
100
+ /**
101
+ *
102
+ * @type {string}
103
+ * @memberof MeetingPartialUpdate
104
+ */
105
+ name: string;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof MeetingPartialUpdate
110
+ */
111
+ locationText?: string;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof MeetingPartialUpdate
116
+ */
117
+ locationInfo?: string;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof MeetingPartialUpdate
122
+ */
123
+ locationStreet?: string;
124
+ /**
125
+ *
126
+ * @type {string}
127
+ * @memberof MeetingPartialUpdate
128
+ */
129
+ locationNeighborhood?: string;
130
+ /**
131
+ *
132
+ * @type {string}
133
+ * @memberof MeetingPartialUpdate
134
+ */
135
+ locationCitySubsection?: string;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof MeetingPartialUpdate
140
+ */
141
+ locationMunicipality?: string;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof MeetingPartialUpdate
146
+ */
147
+ locationSubProvince?: string;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof MeetingPartialUpdate
152
+ */
153
+ locationProvince?: string;
154
+ /**
155
+ *
156
+ * @type {string}
157
+ * @memberof MeetingPartialUpdate
158
+ */
159
+ locationPostalCode1?: string;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof MeetingPartialUpdate
164
+ */
165
+ locationNation?: string;
166
+ /**
167
+ *
168
+ * @type {string}
169
+ * @memberof MeetingPartialUpdate
170
+ */
171
+ phoneMeetingNumber?: string;
172
+ /**
173
+ *
174
+ * @type {string}
175
+ * @memberof MeetingPartialUpdate
176
+ */
177
+ virtualMeetingLink?: string;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof MeetingPartialUpdate
182
+ */
183
+ virtualMeetingAdditionalInfo?: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof MeetingPartialUpdate
188
+ */
189
+ contactName1?: string;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof MeetingPartialUpdate
194
+ */
195
+ contactName2?: string;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof MeetingPartialUpdate
200
+ */
201
+ contactPhone1?: string;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof MeetingPartialUpdate
206
+ */
207
+ contactPhone2?: string;
208
+ /**
209
+ *
210
+ * @type {string}
211
+ * @memberof MeetingPartialUpdate
212
+ */
213
+ contactEmail1?: string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof MeetingPartialUpdate
218
+ */
219
+ contactEmail2?: string;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof MeetingPartialUpdate
224
+ */
225
+ busLines?: string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof MeetingPartialUpdate
230
+ */
231
+ trainLines?: string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof MeetingPartialUpdate
236
+ */
237
+ comments?: string;
238
+ /**
239
+ *
240
+ * @type {{ [key: string]: string; }}
241
+ * @memberof MeetingPartialUpdate
242
+ */
243
+ customFields?: { [key: string]: string; };
244
+ }
245
+
246
+ /**
247
+ * Check if a given object implements the MeetingPartialUpdate interface.
248
+ */
249
+ export function instanceOfMeetingPartialUpdate(value: object): value is MeetingPartialUpdate {
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 MeetingPartialUpdateFromJSON(json: any): MeetingPartialUpdate {
264
+ return MeetingPartialUpdateFromJSONTyped(json, false);
265
+ }
266
+
267
+ export function MeetingPartialUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingPartialUpdate {
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 MeetingPartialUpdateToJSON(json: any): MeetingPartialUpdate {
314
+ return MeetingPartialUpdateToJSONTyped(json, false);
315
+ }
316
+
317
+ export function MeetingPartialUpdateToJSONTyped(value?: MeetingPartialUpdate | 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
+