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,239 @@
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
+ import type { SemanticServerInfoAggregatorModeEnabled } from './SemanticServerInfoAggregatorModeEnabled';
17
+ import {
18
+ SemanticServerInfoAggregatorModeEnabledFromJSON,
19
+ SemanticServerInfoAggregatorModeEnabledFromJSONTyped,
20
+ SemanticServerInfoAggregatorModeEnabledToJSON,
21
+ SemanticServerInfoAggregatorModeEnabledToJSONTyped,
22
+ } from './SemanticServerInfoAggregatorModeEnabled';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SemanticServerInfo
28
+ */
29
+ export interface SemanticServerInfo {
30
+ [key: string]: any | any;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SemanticServerInfo
35
+ */
36
+ version?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SemanticServerInfo
41
+ */
42
+ versionInt?: string;
43
+ /**
44
+ * Comma-separated language codes.
45
+ * @type {string}
46
+ * @memberof SemanticServerInfo
47
+ */
48
+ langs?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof SemanticServerInfo
53
+ */
54
+ nativeLang?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof SemanticServerInfo
59
+ */
60
+ centerLongitude?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SemanticServerInfo
65
+ */
66
+ centerLatitude?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof SemanticServerInfo
71
+ */
72
+ centerZoom?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof SemanticServerInfo
77
+ */
78
+ defaultDuration?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof SemanticServerInfo
83
+ */
84
+ regionBias?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof SemanticServerInfo
89
+ */
90
+ charSet?: string;
91
+ /**
92
+ *
93
+ * @type {SemanticServerInfoDistanceUnitsEnum}
94
+ * @memberof SemanticServerInfo
95
+ */
96
+ distanceUnits?: SemanticServerInfoDistanceUnitsEnum;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof SemanticServerInfo
101
+ */
102
+ semanticAdmin?: string;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof SemanticServerInfo
107
+ */
108
+ emailEnabled?: string;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof SemanticServerInfo
113
+ */
114
+ emailIncludesServiceBodies?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof SemanticServerInfo
119
+ */
120
+ changesPerMeeting?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof SemanticServerInfo
125
+ */
126
+ meetingStatesAndProvinces?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof SemanticServerInfo
131
+ */
132
+ meetingCountiesAndSubProvinces?: string;
133
+ /**
134
+ * Comma-separated list of field keys exposed by this server.
135
+ * @type {string}
136
+ * @memberof SemanticServerInfo
137
+ */
138
+ availableKeys?: string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof SemanticServerInfo
143
+ */
144
+ googleApiKey?: string;
145
+ /**
146
+ *
147
+ * @type {SemanticServerInfoAggregatorModeEnabled}
148
+ * @memberof SemanticServerInfo
149
+ */
150
+ aggregatorModeEnabled?: SemanticServerInfoAggregatorModeEnabled;
151
+ }
152
+
153
+
154
+ /**
155
+ * @export
156
+ */
157
+ export const SemanticServerInfoDistanceUnitsEnum = {
158
+ Mi: 'mi',
159
+ Km: 'km'
160
+ } as const;
161
+ export type SemanticServerInfoDistanceUnitsEnum = typeof SemanticServerInfoDistanceUnitsEnum[keyof typeof SemanticServerInfoDistanceUnitsEnum];
162
+
163
+
164
+ /**
165
+ * Check if a given object implements the SemanticServerInfo interface.
166
+ */
167
+ export function instanceOfSemanticServerInfo(value: object): value is SemanticServerInfo {
168
+ return true;
169
+ }
170
+
171
+ export function SemanticServerInfoFromJSON(json: any): SemanticServerInfo {
172
+ return SemanticServerInfoFromJSONTyped(json, false);
173
+ }
174
+
175
+ export function SemanticServerInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServerInfo {
176
+ if (json == null) {
177
+ return json;
178
+ }
179
+ return {
180
+
181
+ ...json,
182
+ 'version': json['version'] == null ? undefined : json['version'],
183
+ 'versionInt': json['versionInt'] == null ? undefined : json['versionInt'],
184
+ 'langs': json['langs'] == null ? undefined : json['langs'],
185
+ 'nativeLang': json['nativeLang'] == null ? undefined : json['nativeLang'],
186
+ 'centerLongitude': json['centerLongitude'] == null ? undefined : json['centerLongitude'],
187
+ 'centerLatitude': json['centerLatitude'] == null ? undefined : json['centerLatitude'],
188
+ 'centerZoom': json['centerZoom'] == null ? undefined : json['centerZoom'],
189
+ 'defaultDuration': json['defaultDuration'] == null ? undefined : json['defaultDuration'],
190
+ 'regionBias': json['regionBias'] == null ? undefined : json['regionBias'],
191
+ 'charSet': json['charSet'] == null ? undefined : json['charSet'],
192
+ 'distanceUnits': json['distanceUnits'] == null ? undefined : json['distanceUnits'],
193
+ 'semanticAdmin': json['semanticAdmin'] == null ? undefined : json['semanticAdmin'],
194
+ 'emailEnabled': json['emailEnabled'] == null ? undefined : json['emailEnabled'],
195
+ 'emailIncludesServiceBodies': json['emailIncludesServiceBodies'] == null ? undefined : json['emailIncludesServiceBodies'],
196
+ 'changesPerMeeting': json['changesPerMeeting'] == null ? undefined : json['changesPerMeeting'],
197
+ 'meetingStatesAndProvinces': json['meeting_states_and_provinces'] == null ? undefined : json['meeting_states_and_provinces'],
198
+ 'meetingCountiesAndSubProvinces': json['meeting_counties_and_sub_provinces'] == null ? undefined : json['meeting_counties_and_sub_provinces'],
199
+ 'availableKeys': json['available_keys'] == null ? undefined : json['available_keys'],
200
+ 'googleApiKey': json['google_api_key'] == null ? undefined : json['google_api_key'],
201
+ 'aggregatorModeEnabled': json['aggregator_mode_enabled'] == null ? undefined : SemanticServerInfoAggregatorModeEnabledFromJSON(json['aggregator_mode_enabled']),
202
+ };
203
+ }
204
+
205
+ export function SemanticServerInfoToJSON(json: any): SemanticServerInfo {
206
+ return SemanticServerInfoToJSONTyped(json, false);
207
+ }
208
+
209
+ export function SemanticServerInfoToJSONTyped(value?: SemanticServerInfo | null, ignoreDiscriminator: boolean = false): any {
210
+ if (value == null) {
211
+ return value;
212
+ }
213
+
214
+ return {
215
+
216
+ ...value,
217
+ 'version': value['version'],
218
+ 'versionInt': value['versionInt'],
219
+ 'langs': value['langs'],
220
+ 'nativeLang': value['nativeLang'],
221
+ 'centerLongitude': value['centerLongitude'],
222
+ 'centerLatitude': value['centerLatitude'],
223
+ 'centerZoom': value['centerZoom'],
224
+ 'defaultDuration': value['defaultDuration'],
225
+ 'regionBias': value['regionBias'],
226
+ 'charSet': value['charSet'],
227
+ 'distanceUnits': value['distanceUnits'],
228
+ 'semanticAdmin': value['semanticAdmin'],
229
+ 'emailEnabled': value['emailEnabled'],
230
+ 'emailIncludesServiceBodies': value['emailIncludesServiceBodies'],
231
+ 'changesPerMeeting': value['changesPerMeeting'],
232
+ 'meeting_states_and_provinces': value['meetingStatesAndProvinces'],
233
+ 'meeting_counties_and_sub_provinces': value['meetingCountiesAndSubProvinces'],
234
+ 'available_keys': value['availableKeys'],
235
+ 'google_api_key': value['googleApiKey'],
236
+ 'aggregator_mode_enabled': SemanticServerInfoAggregatorModeEnabledToJSON(value['aggregatorModeEnabled']),
237
+ };
238
+ }
239
+
@@ -0,0 +1,55 @@
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
+ /**
16
+ * @type SemanticServerInfoAggregatorModeEnabled
17
+ * `1` / `true` if this server is running in aggregator mode.
18
+ * @export
19
+ */
20
+ export type SemanticServerInfoAggregatorModeEnabled = boolean | string;
21
+
22
+ export function SemanticServerInfoAggregatorModeEnabledFromJSON(json: any): SemanticServerInfoAggregatorModeEnabled {
23
+ return SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServerInfoAggregatorModeEnabled {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ if (typeof json === 'string') {
31
+ return json;
32
+ }
33
+ if (typeof json === 'boolean') {
34
+ return json;
35
+ }
36
+ return {} as any;
37
+ }
38
+
39
+ export function SemanticServerInfoAggregatorModeEnabledToJSON(json: any): any {
40
+ return SemanticServerInfoAggregatorModeEnabledToJSONTyped(json, false);
41
+ }
42
+
43
+ export function SemanticServerInfoAggregatorModeEnabledToJSONTyped(value?: SemanticServerInfoAggregatorModeEnabled | null, ignoreDiscriminator: boolean = false): any {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ if (typeof value === 'string') {
48
+ return value;
49
+ }
50
+ if (typeof value === 'boolean') {
51
+ return value;
52
+ }
53
+ return {};
54
+ }
55
+
@@ -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 SemanticServiceBody
20
+ */
21
+ export interface SemanticServiceBody {
22
+ [key: string]: any | any;
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SemanticServiceBody
27
+ */
28
+ id?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SemanticServiceBody
33
+ */
34
+ parentId?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SemanticServiceBody
39
+ */
40
+ name?: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof SemanticServiceBody
45
+ */
46
+ description?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof SemanticServiceBody
51
+ */
52
+ type?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof SemanticServiceBody
57
+ */
58
+ url?: string;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof SemanticServiceBody
63
+ */
64
+ helpline?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof SemanticServiceBody
69
+ */
70
+ worldId?: string;
71
+ /**
72
+ * Aggregator mode only.
73
+ * @type {string}
74
+ * @memberof SemanticServiceBody
75
+ */
76
+ rootServerId?: string;
77
+ /**
78
+ * Aggregator mode only.
79
+ * @type {string}
80
+ * @memberof SemanticServiceBody
81
+ */
82
+ rootServerUri?: string;
83
+ }
84
+
85
+ /**
86
+ * Check if a given object implements the SemanticServiceBody interface.
87
+ */
88
+ export function instanceOfSemanticServiceBody(value: object): value is SemanticServiceBody {
89
+ return true;
90
+ }
91
+
92
+ export function SemanticServiceBodyFromJSON(json: any): SemanticServiceBody {
93
+ return SemanticServiceBodyFromJSONTyped(json, false);
94
+ }
95
+
96
+ export function SemanticServiceBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServiceBody {
97
+ if (json == null) {
98
+ return json;
99
+ }
100
+ return {
101
+
102
+ ...json,
103
+ 'id': json['id'] == null ? undefined : json['id'],
104
+ 'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
105
+ 'name': json['name'] == null ? undefined : json['name'],
106
+ 'description': json['description'] == null ? undefined : json['description'],
107
+ 'type': json['type'] == null ? undefined : json['type'],
108
+ 'url': json['url'] == null ? undefined : json['url'],
109
+ 'helpline': json['helpline'] == null ? undefined : json['helpline'],
110
+ 'worldId': json['world_id'] == null ? undefined : json['world_id'],
111
+ 'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'],
112
+ 'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'],
113
+ };
114
+ }
115
+
116
+ export function SemanticServiceBodyToJSON(json: any): SemanticServiceBody {
117
+ return SemanticServiceBodyToJSONTyped(json, false);
118
+ }
119
+
120
+ export function SemanticServiceBodyToJSONTyped(value?: SemanticServiceBody | null, ignoreDiscriminator: boolean = false): any {
121
+ if (value == null) {
122
+ return value;
123
+ }
124
+
125
+ return {
126
+
127
+ ...value,
128
+ 'id': value['id'],
129
+ 'parent_id': value['parentId'],
130
+ 'name': value['name'],
131
+ 'description': value['description'],
132
+ 'type': value['type'],
133
+ 'url': value['url'],
134
+ 'helpline': value['helpline'],
135
+ 'world_id': value['worldId'],
136
+ 'root_server_id': value['rootServerId'],
137
+ 'root_server_uri': value['rootServerUri'],
138
+ };
139
+ }
140
+
@@ -0,0 +1,239 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * BMLT Semantic API
5
+ * OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface 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 - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **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
+ import type { ServerInfoAggregatorModeEnabled } from './ServerInfoAggregatorModeEnabled';
17
+ import {
18
+ ServerInfoAggregatorModeEnabledFromJSON,
19
+ ServerInfoAggregatorModeEnabledFromJSONTyped,
20
+ ServerInfoAggregatorModeEnabledToJSON,
21
+ ServerInfoAggregatorModeEnabledToJSONTyped,
22
+ } from './ServerInfoAggregatorModeEnabled';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ServerInfo
28
+ */
29
+ export interface ServerInfo {
30
+ [key: string]: any | any;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ServerInfo
35
+ */
36
+ version?: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ServerInfo
41
+ */
42
+ versionInt?: string;
43
+ /**
44
+ * Comma-separated language codes.
45
+ * @type {string}
46
+ * @memberof ServerInfo
47
+ */
48
+ langs?: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ServerInfo
53
+ */
54
+ nativeLang?: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ServerInfo
59
+ */
60
+ centerLongitude?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof ServerInfo
65
+ */
66
+ centerLatitude?: string;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof ServerInfo
71
+ */
72
+ centerZoom?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ServerInfo
77
+ */
78
+ defaultDuration?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ServerInfo
83
+ */
84
+ regionBias?: string;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ServerInfo
89
+ */
90
+ charSet?: string;
91
+ /**
92
+ *
93
+ * @type {ServerInfoDistanceUnitsEnum}
94
+ * @memberof ServerInfo
95
+ */
96
+ distanceUnits?: ServerInfoDistanceUnitsEnum;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof ServerInfo
101
+ */
102
+ semanticAdmin?: string;
103
+ /**
104
+ *
105
+ * @type {string}
106
+ * @memberof ServerInfo
107
+ */
108
+ emailEnabled?: string;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof ServerInfo
113
+ */
114
+ emailIncludesServiceBodies?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof ServerInfo
119
+ */
120
+ changesPerMeeting?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof ServerInfo
125
+ */
126
+ meetingStatesAndProvinces?: string;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof ServerInfo
131
+ */
132
+ meetingCountiesAndSubProvinces?: string;
133
+ /**
134
+ * Comma-separated list of field keys exposed by this server.
135
+ * @type {string}
136
+ * @memberof ServerInfo
137
+ */
138
+ availableKeys?: string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof ServerInfo
143
+ */
144
+ googleApiKey?: string;
145
+ /**
146
+ *
147
+ * @type {ServerInfoAggregatorModeEnabled}
148
+ * @memberof ServerInfo
149
+ */
150
+ aggregatorModeEnabled?: ServerInfoAggregatorModeEnabled;
151
+ }
152
+
153
+
154
+ /**
155
+ * @export
156
+ */
157
+ export const ServerInfoDistanceUnitsEnum = {
158
+ Mi: 'mi',
159
+ Km: 'km'
160
+ } as const;
161
+ export type ServerInfoDistanceUnitsEnum = typeof ServerInfoDistanceUnitsEnum[keyof typeof ServerInfoDistanceUnitsEnum];
162
+
163
+
164
+ /**
165
+ * Check if a given object implements the ServerInfo interface.
166
+ */
167
+ export function instanceOfServerInfo(value: object): value is ServerInfo {
168
+ return true;
169
+ }
170
+
171
+ export function ServerInfoFromJSON(json: any): ServerInfo {
172
+ return ServerInfoFromJSONTyped(json, false);
173
+ }
174
+
175
+ export function ServerInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerInfo {
176
+ if (json == null) {
177
+ return json;
178
+ }
179
+ return {
180
+
181
+ ...json,
182
+ 'version': json['version'] == null ? undefined : json['version'],
183
+ 'versionInt': json['versionInt'] == null ? undefined : json['versionInt'],
184
+ 'langs': json['langs'] == null ? undefined : json['langs'],
185
+ 'nativeLang': json['nativeLang'] == null ? undefined : json['nativeLang'],
186
+ 'centerLongitude': json['centerLongitude'] == null ? undefined : json['centerLongitude'],
187
+ 'centerLatitude': json['centerLatitude'] == null ? undefined : json['centerLatitude'],
188
+ 'centerZoom': json['centerZoom'] == null ? undefined : json['centerZoom'],
189
+ 'defaultDuration': json['defaultDuration'] == null ? undefined : json['defaultDuration'],
190
+ 'regionBias': json['regionBias'] == null ? undefined : json['regionBias'],
191
+ 'charSet': json['charSet'] == null ? undefined : json['charSet'],
192
+ 'distanceUnits': json['distanceUnits'] == null ? undefined : json['distanceUnits'],
193
+ 'semanticAdmin': json['semanticAdmin'] == null ? undefined : json['semanticAdmin'],
194
+ 'emailEnabled': json['emailEnabled'] == null ? undefined : json['emailEnabled'],
195
+ 'emailIncludesServiceBodies': json['emailIncludesServiceBodies'] == null ? undefined : json['emailIncludesServiceBodies'],
196
+ 'changesPerMeeting': json['changesPerMeeting'] == null ? undefined : json['changesPerMeeting'],
197
+ 'meetingStatesAndProvinces': json['meeting_states_and_provinces'] == null ? undefined : json['meeting_states_and_provinces'],
198
+ 'meetingCountiesAndSubProvinces': json['meeting_counties_and_sub_provinces'] == null ? undefined : json['meeting_counties_and_sub_provinces'],
199
+ 'availableKeys': json['available_keys'] == null ? undefined : json['available_keys'],
200
+ 'googleApiKey': json['google_api_key'] == null ? undefined : json['google_api_key'],
201
+ 'aggregatorModeEnabled': json['aggregator_mode_enabled'] == null ? undefined : ServerInfoAggregatorModeEnabledFromJSON(json['aggregator_mode_enabled']),
202
+ };
203
+ }
204
+
205
+ export function ServerInfoToJSON(json: any): ServerInfo {
206
+ return ServerInfoToJSONTyped(json, false);
207
+ }
208
+
209
+ export function ServerInfoToJSONTyped(value?: ServerInfo | null, ignoreDiscriminator: boolean = false): any {
210
+ if (value == null) {
211
+ return value;
212
+ }
213
+
214
+ return {
215
+
216
+ ...value,
217
+ 'version': value['version'],
218
+ 'versionInt': value['versionInt'],
219
+ 'langs': value['langs'],
220
+ 'nativeLang': value['nativeLang'],
221
+ 'centerLongitude': value['centerLongitude'],
222
+ 'centerLatitude': value['centerLatitude'],
223
+ 'centerZoom': value['centerZoom'],
224
+ 'defaultDuration': value['defaultDuration'],
225
+ 'regionBias': value['regionBias'],
226
+ 'charSet': value['charSet'],
227
+ 'distanceUnits': value['distanceUnits'],
228
+ 'semanticAdmin': value['semanticAdmin'],
229
+ 'emailEnabled': value['emailEnabled'],
230
+ 'emailIncludesServiceBodies': value['emailIncludesServiceBodies'],
231
+ 'changesPerMeeting': value['changesPerMeeting'],
232
+ 'meeting_states_and_provinces': value['meetingStatesAndProvinces'],
233
+ 'meeting_counties_and_sub_provinces': value['meetingCountiesAndSubProvinces'],
234
+ 'available_keys': value['availableKeys'],
235
+ 'google_api_key': value['googleApiKey'],
236
+ 'aggregator_mode_enabled': ServerInfoAggregatorModeEnabledToJSON(value['aggregatorModeEnabled']),
237
+ };
238
+ }
239
+