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,142 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MeetingPartialUpdateToJSONTyped = exports.MeetingPartialUpdateToJSON = exports.MeetingPartialUpdateFromJSONTyped = exports.MeetingPartialUpdateFromJSON = exports.instanceOfMeetingPartialUpdate = void 0;
17
+ /**
18
+ * Check if a given object implements the MeetingPartialUpdate interface.
19
+ */
20
+ function instanceOfMeetingPartialUpdate(value) {
21
+ if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined)
22
+ return false;
23
+ if (!('formatIds' in value) || value['formatIds'] === undefined)
24
+ return false;
25
+ if (!('venueType' in value) || value['venueType'] === undefined)
26
+ return false;
27
+ if (!('day' in value) || value['day'] === undefined)
28
+ return false;
29
+ if (!('startTime' in value) || value['startTime'] === undefined)
30
+ return false;
31
+ if (!('duration' in value) || value['duration'] === undefined)
32
+ return false;
33
+ if (!('latitude' in value) || value['latitude'] === undefined)
34
+ return false;
35
+ if (!('longitude' in value) || value['longitude'] === undefined)
36
+ return false;
37
+ if (!('published' in value) || value['published'] === undefined)
38
+ return false;
39
+ if (!('name' in value) || value['name'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ exports.instanceOfMeetingPartialUpdate = instanceOfMeetingPartialUpdate;
44
+ function MeetingPartialUpdateFromJSON(json) {
45
+ return MeetingPartialUpdateFromJSONTyped(json, false);
46
+ }
47
+ exports.MeetingPartialUpdateFromJSON = MeetingPartialUpdateFromJSON;
48
+ function MeetingPartialUpdateFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'serviceBodyId': json['serviceBodyId'],
54
+ 'formatIds': json['formatIds'],
55
+ 'venueType': json['venueType'],
56
+ 'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
57
+ 'day': json['day'],
58
+ 'startTime': json['startTime'],
59
+ 'duration': json['duration'],
60
+ 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
61
+ 'latitude': json['latitude'],
62
+ 'longitude': json['longitude'],
63
+ 'published': json['published'],
64
+ 'email': json['email'] == null ? undefined : json['email'],
65
+ 'worldId': json['worldId'] == null ? undefined : json['worldId'],
66
+ 'name': json['name'],
67
+ 'locationText': json['location_text'] == null ? undefined : json['location_text'],
68
+ 'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
69
+ 'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
70
+ 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
71
+ 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
72
+ 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'],
73
+ 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'],
74
+ 'locationProvince': json['location_province'] == null ? undefined : json['location_province'],
75
+ 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'],
76
+ 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'],
77
+ 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
78
+ 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
79
+ 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
80
+ 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
81
+ 'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'],
82
+ 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
83
+ 'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'],
84
+ 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
85
+ 'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'],
86
+ 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
87
+ 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
88
+ 'comments': json['comments'] == null ? undefined : json['comments'],
89
+ 'customFields': json['customFields'] == null ? undefined : json['customFields'],
90
+ };
91
+ }
92
+ exports.MeetingPartialUpdateFromJSONTyped = MeetingPartialUpdateFromJSONTyped;
93
+ function MeetingPartialUpdateToJSON(json) {
94
+ return MeetingPartialUpdateToJSONTyped(json, false);
95
+ }
96
+ exports.MeetingPartialUpdateToJSON = MeetingPartialUpdateToJSON;
97
+ function MeetingPartialUpdateToJSONTyped(value, ignoreDiscriminator) {
98
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
99
+ if (value == null) {
100
+ return value;
101
+ }
102
+ return {
103
+ 'serviceBodyId': value['serviceBodyId'],
104
+ 'formatIds': value['formatIds'],
105
+ 'venueType': value['venueType'],
106
+ 'temporarilyVirtual': value['temporarilyVirtual'],
107
+ 'day': value['day'],
108
+ 'startTime': value['startTime'],
109
+ 'duration': value['duration'],
110
+ 'timeZone': value['timeZone'],
111
+ 'latitude': value['latitude'],
112
+ 'longitude': value['longitude'],
113
+ 'published': value['published'],
114
+ 'email': value['email'],
115
+ 'worldId': value['worldId'],
116
+ 'name': value['name'],
117
+ 'location_text': value['locationText'],
118
+ 'location_info': value['locationInfo'],
119
+ 'location_street': value['locationStreet'],
120
+ 'location_neighborhood': value['locationNeighborhood'],
121
+ 'location_city_subsection': value['locationCitySubsection'],
122
+ 'location_municipality': value['locationMunicipality'],
123
+ 'location_sub_province': value['locationSubProvince'],
124
+ 'location_province': value['locationProvince'],
125
+ 'location_postal_code_1': value['locationPostalCode1'],
126
+ 'location_nation': value['locationNation'],
127
+ 'phone_meeting_number': value['phoneMeetingNumber'],
128
+ 'virtual_meeting_link': value['virtualMeetingLink'],
129
+ 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
130
+ 'contact_name_1': value['contactName1'],
131
+ 'contact_name_2': value['contactName2'],
132
+ 'contact_phone_1': value['contactPhone1'],
133
+ 'contact_phone_2': value['contactPhone2'],
134
+ 'contact_email_1': value['contactEmail1'],
135
+ 'contact_email_2': value['contactEmail2'],
136
+ 'bus_lines': value['busLines'],
137
+ 'train_lines': value['trainLines'],
138
+ 'comments': value['comments'],
139
+ 'customFields': value['customFields'],
140
+ };
141
+ }
142
+ exports.MeetingPartialUpdateToJSONTyped = MeetingPartialUpdateToJSONTyped;
@@ -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,142 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MeetingUpdateToJSONTyped = exports.MeetingUpdateToJSON = exports.MeetingUpdateFromJSONTyped = exports.MeetingUpdateFromJSON = exports.instanceOfMeetingUpdate = void 0;
17
+ /**
18
+ * Check if a given object implements the MeetingUpdate interface.
19
+ */
20
+ function instanceOfMeetingUpdate(value) {
21
+ if (!('serviceBodyId' in value) || value['serviceBodyId'] === undefined)
22
+ return false;
23
+ if (!('formatIds' in value) || value['formatIds'] === undefined)
24
+ return false;
25
+ if (!('venueType' in value) || value['venueType'] === undefined)
26
+ return false;
27
+ if (!('day' in value) || value['day'] === undefined)
28
+ return false;
29
+ if (!('startTime' in value) || value['startTime'] === undefined)
30
+ return false;
31
+ if (!('duration' in value) || value['duration'] === undefined)
32
+ return false;
33
+ if (!('latitude' in value) || value['latitude'] === undefined)
34
+ return false;
35
+ if (!('longitude' in value) || value['longitude'] === undefined)
36
+ return false;
37
+ if (!('published' in value) || value['published'] === undefined)
38
+ return false;
39
+ if (!('name' in value) || value['name'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ exports.instanceOfMeetingUpdate = instanceOfMeetingUpdate;
44
+ function MeetingUpdateFromJSON(json) {
45
+ return MeetingUpdateFromJSONTyped(json, false);
46
+ }
47
+ exports.MeetingUpdateFromJSON = MeetingUpdateFromJSON;
48
+ function MeetingUpdateFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'serviceBodyId': json['serviceBodyId'],
54
+ 'formatIds': json['formatIds'],
55
+ 'venueType': json['venueType'],
56
+ 'temporarilyVirtual': json['temporarilyVirtual'] == null ? undefined : json['temporarilyVirtual'],
57
+ 'day': json['day'],
58
+ 'startTime': json['startTime'],
59
+ 'duration': json['duration'],
60
+ 'timeZone': json['timeZone'] == null ? undefined : json['timeZone'],
61
+ 'latitude': json['latitude'],
62
+ 'longitude': json['longitude'],
63
+ 'published': json['published'],
64
+ 'email': json['email'] == null ? undefined : json['email'],
65
+ 'worldId': json['worldId'] == null ? undefined : json['worldId'],
66
+ 'name': json['name'],
67
+ 'locationText': json['location_text'] == null ? undefined : json['location_text'],
68
+ 'locationInfo': json['location_info'] == null ? undefined : json['location_info'],
69
+ 'locationStreet': json['location_street'] == null ? undefined : json['location_street'],
70
+ 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
71
+ 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
72
+ 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'],
73
+ 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'],
74
+ 'locationProvince': json['location_province'] == null ? undefined : json['location_province'],
75
+ 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'],
76
+ 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'],
77
+ 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
78
+ 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
79
+ 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
80
+ 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
81
+ 'contactName2': json['contact_name_2'] == null ? undefined : json['contact_name_2'],
82
+ 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
83
+ 'contactPhone2': json['contact_phone_2'] == null ? undefined : json['contact_phone_2'],
84
+ 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
85
+ 'contactEmail2': json['contact_email_2'] == null ? undefined : json['contact_email_2'],
86
+ 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
87
+ 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
88
+ 'comments': json['comments'] == null ? undefined : json['comments'],
89
+ 'customFields': json['customFields'] == null ? undefined : json['customFields'],
90
+ };
91
+ }
92
+ exports.MeetingUpdateFromJSONTyped = MeetingUpdateFromJSONTyped;
93
+ function MeetingUpdateToJSON(json) {
94
+ return MeetingUpdateToJSONTyped(json, false);
95
+ }
96
+ exports.MeetingUpdateToJSON = MeetingUpdateToJSON;
97
+ function MeetingUpdateToJSONTyped(value, ignoreDiscriminator) {
98
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
99
+ if (value == null) {
100
+ return value;
101
+ }
102
+ return {
103
+ 'serviceBodyId': value['serviceBodyId'],
104
+ 'formatIds': value['formatIds'],
105
+ 'venueType': value['venueType'],
106
+ 'temporarilyVirtual': value['temporarilyVirtual'],
107
+ 'day': value['day'],
108
+ 'startTime': value['startTime'],
109
+ 'duration': value['duration'],
110
+ 'timeZone': value['timeZone'],
111
+ 'latitude': value['latitude'],
112
+ 'longitude': value['longitude'],
113
+ 'published': value['published'],
114
+ 'email': value['email'],
115
+ 'worldId': value['worldId'],
116
+ 'name': value['name'],
117
+ 'location_text': value['locationText'],
118
+ 'location_info': value['locationInfo'],
119
+ 'location_street': value['locationStreet'],
120
+ 'location_neighborhood': value['locationNeighborhood'],
121
+ 'location_city_subsection': value['locationCitySubsection'],
122
+ 'location_municipality': value['locationMunicipality'],
123
+ 'location_sub_province': value['locationSubProvince'],
124
+ 'location_province': value['locationProvince'],
125
+ 'location_postal_code_1': value['locationPostalCode1'],
126
+ 'location_nation': value['locationNation'],
127
+ 'phone_meeting_number': value['phoneMeetingNumber'],
128
+ 'virtual_meeting_link': value['virtualMeetingLink'],
129
+ 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
130
+ 'contact_name_1': value['contactName1'],
131
+ 'contact_name_2': value['contactName2'],
132
+ 'contact_phone_1': value['contactPhone1'],
133
+ 'contact_phone_2': value['contactPhone2'],
134
+ 'contact_email_1': value['contactEmail1'],
135
+ 'contact_email_2': value['contactEmail2'],
136
+ 'bus_lines': value['busLines'],
137
+ 'train_lines': value['trainLines'],
138
+ 'comments': value['comments'],
139
+ 'customFields': value['customFields'],
140
+ };
141
+ }
142
+ exports.MeetingUpdateToJSONTyped = MeetingUpdateToJSONTyped;
@@ -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,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * BMLT
6
+ * BMLT Admin API Documentation
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotFoundErrorToJSONTyped = exports.NotFoundErrorToJSON = exports.NotFoundErrorFromJSONTyped = exports.NotFoundErrorFromJSON = exports.instanceOfNotFoundError = void 0;
17
+ /**
18
+ * Check if a given object implements the NotFoundError interface.
19
+ */
20
+ function instanceOfNotFoundError(value) {
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfNotFoundError = instanceOfNotFoundError;
26
+ function NotFoundErrorFromJSON(json) {
27
+ return NotFoundErrorFromJSONTyped(json, false);
28
+ }
29
+ exports.NotFoundErrorFromJSON = NotFoundErrorFromJSON;
30
+ function NotFoundErrorFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'message': json['message'],
36
+ };
37
+ }
38
+ exports.NotFoundErrorFromJSONTyped = NotFoundErrorFromJSONTyped;
39
+ function NotFoundErrorToJSON(json) {
40
+ return NotFoundErrorToJSONTyped(json, false);
41
+ }
42
+ exports.NotFoundErrorToJSON = NotFoundErrorToJSON;
43
+ function NotFoundErrorToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'message': value['message'],
50
+ };
51
+ }
52
+ exports.NotFoundErrorToJSONTyped = NotFoundErrorToJSONTyped;
@@ -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 { ServerBaseStatistics } from './ServerBaseStatistics';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Server
17
+ */
18
+ export interface Server {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof Server
23
+ */
24
+ sourceId: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof Server
29
+ */
30
+ name: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof Server
35
+ */
36
+ url: string;
37
+ /**
38
+ *
39
+ * @type {ServerBaseStatistics}
40
+ * @memberof Server
41
+ */
42
+ statistics?: ServerBaseStatistics;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof Server
47
+ */
48
+ serverInfo?: string;
49
+ /**
50
+ *
51
+ * @type {Date}
52
+ * @memberof Server
53
+ */
54
+ lastSuccessfulImport: Date;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof Server
59
+ */
60
+ id: number;
61
+ }
62
+ /**
63
+ * Check if a given object implements the Server interface.
64
+ */
65
+ export declare function instanceOfServer(value: object): value is Server;
66
+ export declare function ServerFromJSON(json: any): Server;
67
+ export declare function ServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): Server;
68
+ export declare function ServerToJSON(json: any): Server;
69
+ export declare function ServerToJSONTyped(value?: Server | null, ignoreDiscriminator?: boolean): any;