bmlt-server-semantic-client 1.0.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 (174) hide show
  1. package/.github/workflows/release.yml +25 -0
  2. package/.openapi-generator/FILES +44 -0
  3. package/.openapi-generator/VERSION +1 -0
  4. package/.openapi-generator-ignore +23 -0
  5. package/Makefile +31 -0
  6. package/README.md +125 -0
  7. package/dist/apis/FieldsApi.d.ts +56 -0
  8. package/dist/apis/FieldsApi.js +123 -0
  9. package/dist/apis/FormatsApi.d.ts +44 -0
  10. package/dist/apis/FormatsApi.js +87 -0
  11. package/dist/apis/MeetingsApi.d.ts +157 -0
  12. package/dist/apis/MeetingsApi.js +288 -0
  13. package/dist/apis/ServerApi.d.ts +43 -0
  14. package/dist/apis/ServerApi.js +104 -0
  15. package/dist/apis/ServiceBodiesApi.d.ts +51 -0
  16. package/dist/apis/ServiceBodiesApi.js +91 -0
  17. package/dist/apis/index.d.ts +5 -0
  18. package/dist/apis/index.js +23 -0
  19. package/dist/esm/apis/FieldsApi.d.ts +56 -0
  20. package/dist/esm/apis/FieldsApi.js +119 -0
  21. package/dist/esm/apis/FormatsApi.d.ts +44 -0
  22. package/dist/esm/apis/FormatsApi.js +83 -0
  23. package/dist/esm/apis/MeetingsApi.d.ts +157 -0
  24. package/dist/esm/apis/MeetingsApi.js +284 -0
  25. package/dist/esm/apis/ServerApi.d.ts +43 -0
  26. package/dist/esm/apis/ServerApi.js +100 -0
  27. package/dist/esm/apis/ServiceBodiesApi.d.ts +51 -0
  28. package/dist/esm/apis/ServiceBodiesApi.js +87 -0
  29. package/dist/esm/apis/index.d.ts +5 -0
  30. package/dist/esm/apis/index.js +7 -0
  31. package/dist/esm/index.d.ts +3 -0
  32. package/dist/esm/index.js +5 -0
  33. package/dist/esm/models/Format.d.ts +81 -0
  34. package/dist/esm/models/Format.js +37 -0
  35. package/dist/esm/models/GetCoverageArea200Response.d.ts +50 -0
  36. package/dist/esm/models/GetCoverageArea200Response.js +47 -0
  37. package/dist/esm/models/GetFieldKeys200ResponseInner.d.ts +38 -0
  38. package/dist/esm/models/GetFieldKeys200ResponseInner.js +43 -0
  39. package/dist/esm/models/GetFieldValues200ResponseInner.d.ts +38 -0
  40. package/dist/esm/models/GetFieldValues200ResponseInner.js +43 -0
  41. package/dist/esm/models/GetSearchResults200Response.d.ts +24 -0
  42. package/dist/esm/models/GetSearchResults200Response.js +68 -0
  43. package/dist/esm/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
  44. package/dist/esm/models/GetSearchResults200ResponseOneOf.js +45 -0
  45. package/dist/esm/models/Meeting.d.ts +255 -0
  46. package/dist/esm/models/Meeting.js +37 -0
  47. package/dist/esm/models/MeetingChange.d.ts +89 -0
  48. package/dist/esm/models/MeetingChange.js +37 -0
  49. package/dist/esm/models/ModelError.d.ts +33 -0
  50. package/dist/esm/models/ModelError.js +37 -0
  51. package/dist/esm/models/SemanticError.d.ts +33 -0
  52. package/dist/esm/models/SemanticError.js +37 -0
  53. package/dist/esm/models/SemanticFormat.d.ts +81 -0
  54. package/dist/esm/models/SemanticFormat.js +37 -0
  55. package/dist/esm/models/SemanticMeeting.d.ts +255 -0
  56. package/dist/esm/models/SemanticMeeting.js +37 -0
  57. package/dist/esm/models/SemanticMeetingChange.d.ts +89 -0
  58. package/dist/esm/models/SemanticMeetingChange.js +37 -0
  59. package/dist/esm/models/SemanticServerInfo.d.ts +156 -0
  60. package/dist/esm/models/SemanticServerInfo.js +45 -0
  61. package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
  62. package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.js +43 -0
  63. package/dist/esm/models/SemanticServiceBody.d.ts +87 -0
  64. package/dist/esm/models/SemanticServiceBody.js +37 -0
  65. package/dist/esm/models/ServerInfo.d.ts +156 -0
  66. package/dist/esm/models/ServerInfo.js +45 -0
  67. package/dist/esm/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
  68. package/dist/esm/models/ServerInfoAggregatorModeEnabled.js +43 -0
  69. package/dist/esm/models/ServiceBody.d.ts +87 -0
  70. package/dist/esm/models/ServiceBody.js +37 -0
  71. package/dist/esm/models/index.d.ts +12 -0
  72. package/dist/esm/models/index.js +14 -0
  73. package/dist/esm/runtime.d.ts +184 -0
  74. package/dist/esm/runtime.js +349 -0
  75. package/dist/index.d.ts +3 -0
  76. package/dist/index.js +21 -0
  77. package/dist/models/Format.d.ts +81 -0
  78. package/dist/models/Format.js +44 -0
  79. package/dist/models/GetCoverageArea200Response.d.ts +50 -0
  80. package/dist/models/GetCoverageArea200Response.js +54 -0
  81. package/dist/models/GetFieldKeys200ResponseInner.d.ts +38 -0
  82. package/dist/models/GetFieldKeys200ResponseInner.js +50 -0
  83. package/dist/models/GetFieldValues200ResponseInner.d.ts +38 -0
  84. package/dist/models/GetFieldValues200ResponseInner.js +50 -0
  85. package/dist/models/GetSearchResults200Response.d.ts +24 -0
  86. package/dist/models/GetSearchResults200Response.js +74 -0
  87. package/dist/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
  88. package/dist/models/GetSearchResults200ResponseOneOf.js +52 -0
  89. package/dist/models/Meeting.d.ts +255 -0
  90. package/dist/models/Meeting.js +44 -0
  91. package/dist/models/MeetingChange.d.ts +89 -0
  92. package/dist/models/MeetingChange.js +44 -0
  93. package/dist/models/ModelError.d.ts +33 -0
  94. package/dist/models/ModelError.js +44 -0
  95. package/dist/models/SemanticError.d.ts +33 -0
  96. package/dist/models/SemanticError.js +44 -0
  97. package/dist/models/SemanticFormat.d.ts +81 -0
  98. package/dist/models/SemanticFormat.js +44 -0
  99. package/dist/models/SemanticMeeting.d.ts +255 -0
  100. package/dist/models/SemanticMeeting.js +44 -0
  101. package/dist/models/SemanticMeetingChange.d.ts +89 -0
  102. package/dist/models/SemanticMeetingChange.js +44 -0
  103. package/dist/models/SemanticServerInfo.d.ts +156 -0
  104. package/dist/models/SemanticServerInfo.js +53 -0
  105. package/dist/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
  106. package/dist/models/SemanticServerInfoAggregatorModeEnabled.js +49 -0
  107. package/dist/models/SemanticServiceBody.d.ts +87 -0
  108. package/dist/models/SemanticServiceBody.js +44 -0
  109. package/dist/models/ServerInfo.d.ts +156 -0
  110. package/dist/models/ServerInfo.js +53 -0
  111. package/dist/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
  112. package/dist/models/ServerInfoAggregatorModeEnabled.js +49 -0
  113. package/dist/models/ServiceBody.d.ts +87 -0
  114. package/dist/models/ServiceBody.js +44 -0
  115. package/dist/models/index.d.ts +12 -0
  116. package/dist/models/index.js +30 -0
  117. package/dist/runtime.d.ts +184 -0
  118. package/dist/runtime.js +365 -0
  119. package/docs/FieldsApi.md +139 -0
  120. package/docs/Format.md +50 -0
  121. package/docs/FormatsApi.md +83 -0
  122. package/docs/GetCoverageArea200Response.md +40 -0
  123. package/docs/GetFieldKeys200ResponseInner.md +36 -0
  124. package/docs/GetFieldValues200ResponseInner.md +36 -0
  125. package/docs/GetSearchResults200Response.md +36 -0
  126. package/docs/GetSearchResults200ResponseOneOf.md +36 -0
  127. package/docs/Meeting.md +109 -0
  128. package/docs/MeetingChange.md +52 -0
  129. package/docs/MeetingsApi.md +261 -0
  130. package/docs/ModelError.md +34 -0
  131. package/docs/SemanticError.md +34 -0
  132. package/docs/SemanticFormat.md +50 -0
  133. package/docs/SemanticMeeting.md +109 -0
  134. package/docs/SemanticMeetingChange.md +52 -0
  135. package/docs/SemanticServerInfo.md +72 -0
  136. package/docs/SemanticServerInfoAggregatorModeEnabled.md +33 -0
  137. package/docs/SemanticServiceBody.md +52 -0
  138. package/docs/ServerApi.md +124 -0
  139. package/docs/ServerInfo.md +72 -0
  140. package/docs/ServerInfoAggregatorModeEnabled.md +33 -0
  141. package/docs/ServiceBodiesApi.md +80 -0
  142. package/docs/ServiceBody.md +52 -0
  143. package/openapi.json +1 -0
  144. package/package.json +21 -0
  145. package/src/apis/FieldsApi.ts +145 -0
  146. package/src/apis/FormatsApi.ts +96 -0
  147. package/src/apis/MeetingsApi.ts +392 -0
  148. package/src/apis/ServerApi.ts +106 -0
  149. package/src/apis/ServiceBodiesApi.ts +99 -0
  150. package/src/apis/index.ts +7 -0
  151. package/src/index.ts +5 -0
  152. package/src/models/Format.ts +132 -0
  153. package/src/models/GetCoverageArea200Response.ts +89 -0
  154. package/src/models/GetFieldKeys200ResponseInner.ts +73 -0
  155. package/src/models/GetFieldValues200ResponseInner.ts +73 -0
  156. package/src/models/GetSearchResults200Response.ts +99 -0
  157. package/src/models/GetSearchResults200ResponseOneOf.ts +88 -0
  158. package/src/models/Meeting.ts +364 -0
  159. package/src/models/MeetingChange.ts +140 -0
  160. package/src/models/ModelError.ts +68 -0
  161. package/src/models/SemanticError.ts +68 -0
  162. package/src/models/SemanticFormat.ts +132 -0
  163. package/src/models/SemanticMeeting.ts +364 -0
  164. package/src/models/SemanticMeetingChange.ts +140 -0
  165. package/src/models/SemanticServerInfo.ts +239 -0
  166. package/src/models/SemanticServerInfoAggregatorModeEnabled.ts +55 -0
  167. package/src/models/SemanticServiceBody.ts +140 -0
  168. package/src/models/ServerInfo.ts +239 -0
  169. package/src/models/ServerInfoAggregatorModeEnabled.ts +55 -0
  170. package/src/models/ServiceBody.ts +140 -0
  171. package/src/models/index.ts +14 -0
  172. package/src/runtime.ts +449 -0
  173. package/tsconfig.esm.json +7 -0
  174. package/tsconfig.json +16 -0
@@ -0,0 +1,132 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * BMLT Semantic API
5
+ * OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
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 SemanticFormat
20
+ */
21
+ export interface SemanticFormat {
22
+ [key: string]: any | any;
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SemanticFormat
27
+ */
28
+ keyString?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SemanticFormat
33
+ */
34
+ nameString?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SemanticFormat
39
+ */
40
+ descriptionString?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof SemanticFormat
45
+ */
46
+ lang?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof SemanticFormat
51
+ */
52
+ id?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof SemanticFormat
57
+ */
58
+ worldId?: string;
59
+ /**
60
+ * Aggregator mode only.
61
+ * @type {string}
62
+ * @memberof SemanticFormat
63
+ */
64
+ rootServerId?: string;
65
+ /**
66
+ * Aggregator mode only.
67
+ * @type {string}
68
+ * @memberof SemanticFormat
69
+ */
70
+ rootServerUri?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof SemanticFormat
75
+ */
76
+ formatTypeEnum?: string;
77
+ }
78
+
79
+ /**
80
+ * Check if a given object implements the SemanticFormat interface.
81
+ */
82
+ export function instanceOfSemanticFormat(value: object): value is SemanticFormat {
83
+ return true;
84
+ }
85
+
86
+ export function SemanticFormatFromJSON(json: any): SemanticFormat {
87
+ return SemanticFormatFromJSONTyped(json, false);
88
+ }
89
+
90
+ export function SemanticFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticFormat {
91
+ if (json == null) {
92
+ return json;
93
+ }
94
+ return {
95
+
96
+ ...json,
97
+ 'keyString': json['key_string'] == null ? undefined : json['key_string'],
98
+ 'nameString': json['name_string'] == null ? undefined : json['name_string'],
99
+ 'descriptionString': json['description_string'] == null ? undefined : json['description_string'],
100
+ 'lang': json['lang'] == null ? undefined : json['lang'],
101
+ 'id': json['id'] == null ? undefined : json['id'],
102
+ 'worldId': json['world_id'] == null ? undefined : json['world_id'],
103
+ 'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'],
104
+ 'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'],
105
+ 'formatTypeEnum': json['format_type_enum'] == null ? undefined : json['format_type_enum'],
106
+ };
107
+ }
108
+
109
+ export function SemanticFormatToJSON(json: any): SemanticFormat {
110
+ return SemanticFormatToJSONTyped(json, false);
111
+ }
112
+
113
+ export function SemanticFormatToJSONTyped(value?: SemanticFormat | null, ignoreDiscriminator: boolean = false): any {
114
+ if (value == null) {
115
+ return value;
116
+ }
117
+
118
+ return {
119
+
120
+ ...value,
121
+ 'key_string': value['keyString'],
122
+ 'name_string': value['nameString'],
123
+ 'description_string': value['descriptionString'],
124
+ 'lang': value['lang'],
125
+ 'id': value['id'],
126
+ 'world_id': value['worldId'],
127
+ 'root_server_id': value['rootServerId'],
128
+ 'root_server_uri': value['rootServerUri'],
129
+ 'format_type_enum': value['formatTypeEnum'],
130
+ };
131
+ }
132
+
@@ -0,0 +1,364 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * BMLT Semantic API
5
+ * OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
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
+ * A meeting record. The actual field set depends on the server's enabled fields and the `data_field_key` parameter.
18
+ * @export
19
+ * @interface SemanticMeeting
20
+ */
21
+ export interface SemanticMeeting {
22
+ [key: string]: any | any;
23
+ /**
24
+ * Numeric meeting ID, returned as a string.
25
+ * @type {string}
26
+ * @memberof SemanticMeeting
27
+ */
28
+ idBigint?: string;
29
+ /**
30
+ * NAWS world committee code.
31
+ * @type {string}
32
+ * @memberof SemanticMeeting
33
+ */
34
+ worldidMixed?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SemanticMeeting
39
+ */
40
+ sharedGroupIdBigint?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof SemanticMeeting
45
+ */
46
+ serviceBodyBigint?: string;
47
+ /**
48
+ * 1=Sunday … 7=Saturday.
49
+ * @type {string}
50
+ * @memberof SemanticMeeting
51
+ */
52
+ weekdayTinyint?: string;
53
+ /**
54
+ * 1=In-person, 2=Virtual, 3=Hybrid.
55
+ * @type {string}
56
+ * @memberof SemanticMeeting
57
+ */
58
+ venueType?: string;
59
+ /**
60
+ * Local start time, HH:MM:SS.
61
+ * @type {string}
62
+ * @memberof SemanticMeeting
63
+ */
64
+ startTime?: string;
65
+ /**
66
+ * Duration, HH:MM:SS.
67
+ * @type {string}
68
+ * @memberof SemanticMeeting
69
+ */
70
+ durationTime?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof SemanticMeeting
75
+ */
76
+ timeZone?: string;
77
+ /**
78
+ * Comma-separated format key strings.
79
+ * @type {string}
80
+ * @memberof SemanticMeeting
81
+ */
82
+ formats?: string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof SemanticMeeting
87
+ */
88
+ langEnum?: string;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof SemanticMeeting
93
+ */
94
+ longitude?: string;
95
+ /**
96
+ *
97
+ * @type {string}
98
+ * @memberof SemanticMeeting
99
+ */
100
+ latitude?: string;
101
+ /**
102
+ * Present only when sorting by distance.
103
+ * @type {string}
104
+ * @memberof SemanticMeeting
105
+ */
106
+ distanceInKm?: string;
107
+ /**
108
+ * Present only when sorting by distance.
109
+ * @type {string}
110
+ * @memberof SemanticMeeting
111
+ */
112
+ distanceInMiles?: string;
113
+ /**
114
+ *
115
+ * @type {string}
116
+ * @memberof SemanticMeeting
117
+ */
118
+ meetingName?: string;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof SemanticMeeting
123
+ */
124
+ locationText?: string;
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof SemanticMeeting
129
+ */
130
+ locationInfo?: string;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof SemanticMeeting
135
+ */
136
+ locationStreet?: string;
137
+ /**
138
+ *
139
+ * @type {string}
140
+ * @memberof SemanticMeeting
141
+ */
142
+ locationCitySubsection?: string;
143
+ /**
144
+ *
145
+ * @type {string}
146
+ * @memberof SemanticMeeting
147
+ */
148
+ locationNeighborhood?: string;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof SemanticMeeting
153
+ */
154
+ locationMunicipality?: string;
155
+ /**
156
+ *
157
+ * @type {string}
158
+ * @memberof SemanticMeeting
159
+ */
160
+ locationSubProvince?: string;
161
+ /**
162
+ *
163
+ * @type {string}
164
+ * @memberof SemanticMeeting
165
+ */
166
+ locationProvince?: string;
167
+ /**
168
+ *
169
+ * @type {string}
170
+ * @memberof SemanticMeeting
171
+ */
172
+ locationPostalCode1?: string;
173
+ /**
174
+ *
175
+ * @type {string}
176
+ * @memberof SemanticMeeting
177
+ */
178
+ locationNation?: string;
179
+ /**
180
+ *
181
+ * @type {string}
182
+ * @memberof SemanticMeeting
183
+ */
184
+ comments?: string;
185
+ /**
186
+ *
187
+ * @type {string}
188
+ * @memberof SemanticMeeting
189
+ */
190
+ trainLines?: string;
191
+ /**
192
+ *
193
+ * @type {string}
194
+ * @memberof SemanticMeeting
195
+ */
196
+ busLines?: string;
197
+ /**
198
+ *
199
+ * @type {string}
200
+ * @memberof SemanticMeeting
201
+ */
202
+ phoneMeetingNumber?: string;
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof SemanticMeeting
207
+ */
208
+ virtualMeetingLink?: string;
209
+ /**
210
+ *
211
+ * @type {string}
212
+ * @memberof SemanticMeeting
213
+ */
214
+ virtualMeetingAdditionalInfo?: string;
215
+ /**
216
+ *
217
+ * @type {string}
218
+ * @memberof SemanticMeeting
219
+ */
220
+ contactName1?: string;
221
+ /**
222
+ *
223
+ * @type {string}
224
+ * @memberof SemanticMeeting
225
+ */
226
+ contactPhone1?: string;
227
+ /**
228
+ *
229
+ * @type {string}
230
+ * @memberof SemanticMeeting
231
+ */
232
+ contactEmail1?: string;
233
+ /**
234
+ * Aggregator mode only — ID of the root server this meeting came from.
235
+ * @type {string}
236
+ * @memberof SemanticMeeting
237
+ */
238
+ rootServerId?: string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof SemanticMeeting
243
+ */
244
+ rootServerUri?: string;
245
+ /**
246
+ *
247
+ * @type {string}
248
+ * @memberof SemanticMeeting
249
+ */
250
+ formatSharedIdList?: string;
251
+ }
252
+
253
+ /**
254
+ * Check if a given object implements the SemanticMeeting interface.
255
+ */
256
+ export function instanceOfSemanticMeeting(value: object): value is SemanticMeeting {
257
+ return true;
258
+ }
259
+
260
+ export function SemanticMeetingFromJSON(json: any): SemanticMeeting {
261
+ return SemanticMeetingFromJSONTyped(json, false);
262
+ }
263
+
264
+ export function SemanticMeetingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticMeeting {
265
+ if (json == null) {
266
+ return json;
267
+ }
268
+ return {
269
+
270
+ ...json,
271
+ 'idBigint': json['id_bigint'] == null ? undefined : json['id_bigint'],
272
+ 'worldidMixed': json['worldid_mixed'] == null ? undefined : json['worldid_mixed'],
273
+ 'sharedGroupIdBigint': json['shared_group_id_bigint'] == null ? undefined : json['shared_group_id_bigint'],
274
+ 'serviceBodyBigint': json['service_body_bigint'] == null ? undefined : json['service_body_bigint'],
275
+ 'weekdayTinyint': json['weekday_tinyint'] == null ? undefined : json['weekday_tinyint'],
276
+ 'venueType': json['venue_type'] == null ? undefined : json['venue_type'],
277
+ 'startTime': json['start_time'] == null ? undefined : json['start_time'],
278
+ 'durationTime': json['duration_time'] == null ? undefined : json['duration_time'],
279
+ 'timeZone': json['time_zone'] == null ? undefined : json['time_zone'],
280
+ 'formats': json['formats'] == null ? undefined : json['formats'],
281
+ 'langEnum': json['lang_enum'] == null ? undefined : json['lang_enum'],
282
+ 'longitude': json['longitude'] == null ? undefined : json['longitude'],
283
+ 'latitude': json['latitude'] == null ? undefined : json['latitude'],
284
+ 'distanceInKm': json['distance_in_km'] == null ? undefined : json['distance_in_km'],
285
+ 'distanceInMiles': json['distance_in_miles'] == null ? undefined : json['distance_in_miles'],
286
+ 'meetingName': json['meeting_name'] == null ? undefined : json['meeting_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
+ 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'],
291
+ 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'],
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
+ 'comments': json['comments'] == null ? undefined : json['comments'],
298
+ 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'],
299
+ 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'],
300
+ 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'],
301
+ 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'],
302
+ 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'],
303
+ 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'],
304
+ 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'],
305
+ 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'],
306
+ 'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'],
307
+ 'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'],
308
+ 'formatSharedIdList': json['format_shared_id_list'] == null ? undefined : json['format_shared_id_list'],
309
+ };
310
+ }
311
+
312
+ export function SemanticMeetingToJSON(json: any): SemanticMeeting {
313
+ return SemanticMeetingToJSONTyped(json, false);
314
+ }
315
+
316
+ export function SemanticMeetingToJSONTyped(value?: SemanticMeeting | null, ignoreDiscriminator: boolean = false): any {
317
+ if (value == null) {
318
+ return value;
319
+ }
320
+
321
+ return {
322
+
323
+ ...value,
324
+ 'id_bigint': value['idBigint'],
325
+ 'worldid_mixed': value['worldidMixed'],
326
+ 'shared_group_id_bigint': value['sharedGroupIdBigint'],
327
+ 'service_body_bigint': value['serviceBodyBigint'],
328
+ 'weekday_tinyint': value['weekdayTinyint'],
329
+ 'venue_type': value['venueType'],
330
+ 'start_time': value['startTime'],
331
+ 'duration_time': value['durationTime'],
332
+ 'time_zone': value['timeZone'],
333
+ 'formats': value['formats'],
334
+ 'lang_enum': value['langEnum'],
335
+ 'longitude': value['longitude'],
336
+ 'latitude': value['latitude'],
337
+ 'distance_in_km': value['distanceInKm'],
338
+ 'distance_in_miles': value['distanceInMiles'],
339
+ 'meeting_name': value['meetingName'],
340
+ 'location_text': value['locationText'],
341
+ 'location_info': value['locationInfo'],
342
+ 'location_street': value['locationStreet'],
343
+ 'location_city_subsection': value['locationCitySubsection'],
344
+ 'location_neighborhood': value['locationNeighborhood'],
345
+ 'location_municipality': value['locationMunicipality'],
346
+ 'location_sub_province': value['locationSubProvince'],
347
+ 'location_province': value['locationProvince'],
348
+ 'location_postal_code_1': value['locationPostalCode1'],
349
+ 'location_nation': value['locationNation'],
350
+ 'comments': value['comments'],
351
+ 'train_lines': value['trainLines'],
352
+ 'bus_lines': value['busLines'],
353
+ 'phone_meeting_number': value['phoneMeetingNumber'],
354
+ 'virtual_meeting_link': value['virtualMeetingLink'],
355
+ 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'],
356
+ 'contact_name_1': value['contactName1'],
357
+ 'contact_phone_1': value['contactPhone1'],
358
+ 'contact_email_1': value['contactEmail1'],
359
+ 'root_server_id': value['rootServerId'],
360
+ 'root_server_uri': value['rootServerUri'],
361
+ 'format_shared_id_list': value['formatSharedIdList'],
362
+ };
363
+ }
364
+
@@ -0,0 +1,140 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * BMLT Semantic API
5
+ * OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
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 SemanticMeetingChange
20
+ */
21
+ export interface SemanticMeetingChange {
22
+ [key: string]: any | any;
23
+ /**
24
+ * Unix timestamp of the change.
25
+ * @type {string}
26
+ * @memberof SemanticMeetingChange
27
+ */
28
+ dateInt?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SemanticMeetingChange
33
+ */
34
+ dateString?: string;
35
+ /**
36
+ * e.g. comdef_change_type_change, comdef_change_type_new, comdef_change_type_delete.
37
+ * @type {string}
38
+ * @memberof SemanticMeetingChange
39
+ */
40
+ changeType?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof SemanticMeetingChange
45
+ */
46
+ meetingId?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof SemanticMeetingChange
51
+ */
52
+ meetingName?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof SemanticMeetingChange
57
+ */
58
+ userId?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof SemanticMeetingChange
63
+ */
64
+ userName?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof SemanticMeetingChange
69
+ */
70
+ serviceBodyId?: string;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof SemanticMeetingChange
75
+ */
76
+ serviceBodyName?: string;
77
+ /**
78
+ * Per-field before/after values for change events.
79
+ * @type {{ [key: string]: any; }}
80
+ * @memberof SemanticMeetingChange
81
+ */
82
+ details?: { [key: string]: any; };
83
+ }
84
+
85
+ /**
86
+ * Check if a given object implements the SemanticMeetingChange interface.
87
+ */
88
+ export function instanceOfSemanticMeetingChange(value: object): value is SemanticMeetingChange {
89
+ return true;
90
+ }
91
+
92
+ export function SemanticMeetingChangeFromJSON(json: any): SemanticMeetingChange {
93
+ return SemanticMeetingChangeFromJSONTyped(json, false);
94
+ }
95
+
96
+ export function SemanticMeetingChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticMeetingChange {
97
+ if (json == null) {
98
+ return json;
99
+ }
100
+ return {
101
+
102
+ ...json,
103
+ 'dateInt': json['date_int'] == null ? undefined : json['date_int'],
104
+ 'dateString': json['date_string'] == null ? undefined : json['date_string'],
105
+ 'changeType': json['change_type'] == null ? undefined : json['change_type'],
106
+ 'meetingId': json['meeting_id'] == null ? undefined : json['meeting_id'],
107
+ 'meetingName': json['meeting_name'] == null ? undefined : json['meeting_name'],
108
+ 'userId': json['user_id'] == null ? undefined : json['user_id'],
109
+ 'userName': json['user_name'] == null ? undefined : json['user_name'],
110
+ 'serviceBodyId': json['service_body_id'] == null ? undefined : json['service_body_id'],
111
+ 'serviceBodyName': json['service_body_name'] == null ? undefined : json['service_body_name'],
112
+ 'details': json['details'] == null ? undefined : json['details'],
113
+ };
114
+ }
115
+
116
+ export function SemanticMeetingChangeToJSON(json: any): SemanticMeetingChange {
117
+ return SemanticMeetingChangeToJSONTyped(json, false);
118
+ }
119
+
120
+ export function SemanticMeetingChangeToJSONTyped(value?: SemanticMeetingChange | null, ignoreDiscriminator: boolean = false): any {
121
+ if (value == null) {
122
+ return value;
123
+ }
124
+
125
+ return {
126
+
127
+ ...value,
128
+ 'date_int': value['dateInt'],
129
+ 'date_string': value['dateString'],
130
+ 'change_type': value['changeType'],
131
+ 'meeting_id': value['meetingId'],
132
+ 'meeting_name': value['meetingName'],
133
+ 'user_id': value['userId'],
134
+ 'user_name': value['userName'],
135
+ 'service_body_id': value['serviceBodyId'],
136
+ 'service_body_name': value['serviceBodyName'],
137
+ 'details': value['details'],
138
+ };
139
+ }
140
+