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.
- package/.github/workflows/release.yml +25 -0
- package/.openapi-generator/FILES +44 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/Makefile +31 -0
- package/README.md +125 -0
- package/dist/apis/FieldsApi.d.ts +56 -0
- package/dist/apis/FieldsApi.js +123 -0
- package/dist/apis/FormatsApi.d.ts +44 -0
- package/dist/apis/FormatsApi.js +87 -0
- package/dist/apis/MeetingsApi.d.ts +157 -0
- package/dist/apis/MeetingsApi.js +288 -0
- package/dist/apis/ServerApi.d.ts +43 -0
- package/dist/apis/ServerApi.js +104 -0
- package/dist/apis/ServiceBodiesApi.d.ts +51 -0
- package/dist/apis/ServiceBodiesApi.js +91 -0
- package/dist/apis/index.d.ts +5 -0
- package/dist/apis/index.js +23 -0
- package/dist/esm/apis/FieldsApi.d.ts +56 -0
- package/dist/esm/apis/FieldsApi.js +119 -0
- package/dist/esm/apis/FormatsApi.d.ts +44 -0
- package/dist/esm/apis/FormatsApi.js +83 -0
- package/dist/esm/apis/MeetingsApi.d.ts +157 -0
- package/dist/esm/apis/MeetingsApi.js +284 -0
- package/dist/esm/apis/ServerApi.d.ts +43 -0
- package/dist/esm/apis/ServerApi.js +100 -0
- package/dist/esm/apis/ServiceBodiesApi.d.ts +51 -0
- package/dist/esm/apis/ServiceBodiesApi.js +87 -0
- package/dist/esm/apis/index.d.ts +5 -0
- package/dist/esm/apis/index.js +7 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Format.d.ts +81 -0
- package/dist/esm/models/Format.js +37 -0
- package/dist/esm/models/GetCoverageArea200Response.d.ts +50 -0
- package/dist/esm/models/GetCoverageArea200Response.js +47 -0
- package/dist/esm/models/GetFieldKeys200ResponseInner.d.ts +38 -0
- package/dist/esm/models/GetFieldKeys200ResponseInner.js +43 -0
- package/dist/esm/models/GetFieldValues200ResponseInner.d.ts +38 -0
- package/dist/esm/models/GetFieldValues200ResponseInner.js +43 -0
- package/dist/esm/models/GetSearchResults200Response.d.ts +24 -0
- package/dist/esm/models/GetSearchResults200Response.js +68 -0
- package/dist/esm/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
- package/dist/esm/models/GetSearchResults200ResponseOneOf.js +45 -0
- package/dist/esm/models/Meeting.d.ts +255 -0
- package/dist/esm/models/Meeting.js +37 -0
- package/dist/esm/models/MeetingChange.d.ts +89 -0
- package/dist/esm/models/MeetingChange.js +37 -0
- package/dist/esm/models/ModelError.d.ts +33 -0
- package/dist/esm/models/ModelError.js +37 -0
- package/dist/esm/models/SemanticError.d.ts +33 -0
- package/dist/esm/models/SemanticError.js +37 -0
- package/dist/esm/models/SemanticFormat.d.ts +81 -0
- package/dist/esm/models/SemanticFormat.js +37 -0
- package/dist/esm/models/SemanticMeeting.d.ts +255 -0
- package/dist/esm/models/SemanticMeeting.js +37 -0
- package/dist/esm/models/SemanticMeetingChange.d.ts +89 -0
- package/dist/esm/models/SemanticMeetingChange.js +37 -0
- package/dist/esm/models/SemanticServerInfo.d.ts +156 -0
- package/dist/esm/models/SemanticServerInfo.js +45 -0
- package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
- package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.js +43 -0
- package/dist/esm/models/SemanticServiceBody.d.ts +87 -0
- package/dist/esm/models/SemanticServiceBody.js +37 -0
- package/dist/esm/models/ServerInfo.d.ts +156 -0
- package/dist/esm/models/ServerInfo.js +45 -0
- package/dist/esm/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
- package/dist/esm/models/ServerInfoAggregatorModeEnabled.js +43 -0
- package/dist/esm/models/ServiceBody.d.ts +87 -0
- package/dist/esm/models/ServiceBody.js +37 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +349 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Format.d.ts +81 -0
- package/dist/models/Format.js +44 -0
- package/dist/models/GetCoverageArea200Response.d.ts +50 -0
- package/dist/models/GetCoverageArea200Response.js +54 -0
- package/dist/models/GetFieldKeys200ResponseInner.d.ts +38 -0
- package/dist/models/GetFieldKeys200ResponseInner.js +50 -0
- package/dist/models/GetFieldValues200ResponseInner.d.ts +38 -0
- package/dist/models/GetFieldValues200ResponseInner.js +50 -0
- package/dist/models/GetSearchResults200Response.d.ts +24 -0
- package/dist/models/GetSearchResults200Response.js +74 -0
- package/dist/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
- package/dist/models/GetSearchResults200ResponseOneOf.js +52 -0
- package/dist/models/Meeting.d.ts +255 -0
- package/dist/models/Meeting.js +44 -0
- package/dist/models/MeetingChange.d.ts +89 -0
- package/dist/models/MeetingChange.js +44 -0
- package/dist/models/ModelError.d.ts +33 -0
- package/dist/models/ModelError.js +44 -0
- package/dist/models/SemanticError.d.ts +33 -0
- package/dist/models/SemanticError.js +44 -0
- package/dist/models/SemanticFormat.d.ts +81 -0
- package/dist/models/SemanticFormat.js +44 -0
- package/dist/models/SemanticMeeting.d.ts +255 -0
- package/dist/models/SemanticMeeting.js +44 -0
- package/dist/models/SemanticMeetingChange.d.ts +89 -0
- package/dist/models/SemanticMeetingChange.js +44 -0
- package/dist/models/SemanticServerInfo.d.ts +156 -0
- package/dist/models/SemanticServerInfo.js +53 -0
- package/dist/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
- package/dist/models/SemanticServerInfoAggregatorModeEnabled.js +49 -0
- package/dist/models/SemanticServiceBody.d.ts +87 -0
- package/dist/models/SemanticServiceBody.js +44 -0
- package/dist/models/ServerInfo.d.ts +156 -0
- package/dist/models/ServerInfo.js +53 -0
- package/dist/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
- package/dist/models/ServerInfoAggregatorModeEnabled.js +49 -0
- package/dist/models/ServiceBody.d.ts +87 -0
- package/dist/models/ServiceBody.js +44 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +30 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +365 -0
- package/docs/FieldsApi.md +139 -0
- package/docs/Format.md +50 -0
- package/docs/FormatsApi.md +83 -0
- package/docs/GetCoverageArea200Response.md +40 -0
- package/docs/GetFieldKeys200ResponseInner.md +36 -0
- package/docs/GetFieldValues200ResponseInner.md +36 -0
- package/docs/GetSearchResults200Response.md +36 -0
- package/docs/GetSearchResults200ResponseOneOf.md +36 -0
- package/docs/Meeting.md +109 -0
- package/docs/MeetingChange.md +52 -0
- package/docs/MeetingsApi.md +261 -0
- package/docs/ModelError.md +34 -0
- package/docs/SemanticError.md +34 -0
- package/docs/SemanticFormat.md +50 -0
- package/docs/SemanticMeeting.md +109 -0
- package/docs/SemanticMeetingChange.md +52 -0
- package/docs/SemanticServerInfo.md +72 -0
- package/docs/SemanticServerInfoAggregatorModeEnabled.md +33 -0
- package/docs/SemanticServiceBody.md +52 -0
- package/docs/ServerApi.md +124 -0
- package/docs/ServerInfo.md +72 -0
- package/docs/ServerInfoAggregatorModeEnabled.md +33 -0
- package/docs/ServiceBodiesApi.md +80 -0
- package/docs/ServiceBody.md +52 -0
- package/openapi.json +1 -0
- package/package.json +21 -0
- package/src/apis/FieldsApi.ts +145 -0
- package/src/apis/FormatsApi.ts +96 -0
- package/src/apis/MeetingsApi.ts +392 -0
- package/src/apis/ServerApi.ts +106 -0
- package/src/apis/ServiceBodiesApi.ts +99 -0
- package/src/apis/index.ts +7 -0
- package/src/index.ts +5 -0
- package/src/models/Format.ts +132 -0
- package/src/models/GetCoverageArea200Response.ts +89 -0
- package/src/models/GetFieldKeys200ResponseInner.ts +73 -0
- package/src/models/GetFieldValues200ResponseInner.ts +73 -0
- package/src/models/GetSearchResults200Response.ts +99 -0
- package/src/models/GetSearchResults200ResponseOneOf.ts +88 -0
- package/src/models/Meeting.ts +364 -0
- package/src/models/MeetingChange.ts +140 -0
- package/src/models/ModelError.ts +68 -0
- package/src/models/SemanticError.ts +68 -0
- package/src/models/SemanticFormat.ts +132 -0
- package/src/models/SemanticMeeting.ts +364 -0
- package/src/models/SemanticMeetingChange.ts +140 -0
- package/src/models/SemanticServerInfo.ts +239 -0
- package/src/models/SemanticServerInfoAggregatorModeEnabled.ts +55 -0
- package/src/models/SemanticServiceBody.ts +140 -0
- package/src/models/ServerInfo.ts +239 -0
- package/src/models/ServerInfoAggregatorModeEnabled.ts +55 -0
- package/src/models/ServiceBody.ts +140 -0
- package/src/models/index.ts +14 -0
- package/src/runtime.ts +449 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* 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.
|
|
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
|
+
* A meeting record. The actual field set depends on the server's enabled fields and the `data_field_key` parameter.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Meeting
|
|
16
|
+
*/
|
|
17
|
+
export interface Meeting {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Numeric meeting ID, returned as a string.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Meeting
|
|
23
|
+
*/
|
|
24
|
+
idBigint?: string;
|
|
25
|
+
/**
|
|
26
|
+
* NAWS world committee code.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Meeting
|
|
29
|
+
*/
|
|
30
|
+
worldidMixed?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Meeting
|
|
35
|
+
*/
|
|
36
|
+
sharedGroupIdBigint?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Meeting
|
|
41
|
+
*/
|
|
42
|
+
serviceBodyBigint?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 1=Sunday … 7=Saturday.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Meeting
|
|
47
|
+
*/
|
|
48
|
+
weekdayTinyint?: string;
|
|
49
|
+
/**
|
|
50
|
+
* 1=In-person, 2=Virtual, 3=Hybrid.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Meeting
|
|
53
|
+
*/
|
|
54
|
+
venueType?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Local start time, HH:MM:SS.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Meeting
|
|
59
|
+
*/
|
|
60
|
+
startTime?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Duration, HH:MM:SS.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Meeting
|
|
65
|
+
*/
|
|
66
|
+
durationTime?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Meeting
|
|
71
|
+
*/
|
|
72
|
+
timeZone?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Comma-separated format key strings.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Meeting
|
|
77
|
+
*/
|
|
78
|
+
formats?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof Meeting
|
|
83
|
+
*/
|
|
84
|
+
langEnum?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof Meeting
|
|
89
|
+
*/
|
|
90
|
+
longitude?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof Meeting
|
|
95
|
+
*/
|
|
96
|
+
latitude?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Present only when sorting by distance.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof Meeting
|
|
101
|
+
*/
|
|
102
|
+
distanceInKm?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Present only when sorting by distance.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof Meeting
|
|
107
|
+
*/
|
|
108
|
+
distanceInMiles?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof Meeting
|
|
113
|
+
*/
|
|
114
|
+
meetingName?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof Meeting
|
|
119
|
+
*/
|
|
120
|
+
locationText?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof Meeting
|
|
125
|
+
*/
|
|
126
|
+
locationInfo?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof Meeting
|
|
131
|
+
*/
|
|
132
|
+
locationStreet?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof Meeting
|
|
137
|
+
*/
|
|
138
|
+
locationCitySubsection?: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof Meeting
|
|
143
|
+
*/
|
|
144
|
+
locationNeighborhood?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof Meeting
|
|
149
|
+
*/
|
|
150
|
+
locationMunicipality?: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof Meeting
|
|
155
|
+
*/
|
|
156
|
+
locationSubProvince?: string;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof Meeting
|
|
161
|
+
*/
|
|
162
|
+
locationProvince?: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof Meeting
|
|
167
|
+
*/
|
|
168
|
+
locationPostalCode1?: string;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof Meeting
|
|
173
|
+
*/
|
|
174
|
+
locationNation?: string;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof Meeting
|
|
179
|
+
*/
|
|
180
|
+
comments?: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof Meeting
|
|
185
|
+
*/
|
|
186
|
+
trainLines?: string;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof Meeting
|
|
191
|
+
*/
|
|
192
|
+
busLines?: string;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof Meeting
|
|
197
|
+
*/
|
|
198
|
+
phoneMeetingNumber?: string;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof Meeting
|
|
203
|
+
*/
|
|
204
|
+
virtualMeetingLink?: string;
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof Meeting
|
|
209
|
+
*/
|
|
210
|
+
virtualMeetingAdditionalInfo?: string;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof Meeting
|
|
215
|
+
*/
|
|
216
|
+
contactName1?: string;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof Meeting
|
|
221
|
+
*/
|
|
222
|
+
contactPhone1?: string;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof Meeting
|
|
227
|
+
*/
|
|
228
|
+
contactEmail1?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Aggregator mode only — ID of the root server this meeting came from.
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof Meeting
|
|
233
|
+
*/
|
|
234
|
+
rootServerId?: string;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof Meeting
|
|
239
|
+
*/
|
|
240
|
+
rootServerUri?: string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof Meeting
|
|
245
|
+
*/
|
|
246
|
+
formatSharedIdList?: string;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Check if a given object implements the Meeting interface.
|
|
250
|
+
*/
|
|
251
|
+
export declare function instanceOfMeeting(value: object): value is Meeting;
|
|
252
|
+
export declare function MeetingFromJSON(json: any): Meeting;
|
|
253
|
+
export declare function MeetingFromJSONTyped(json: any, ignoreDiscriminator: boolean): Meeting;
|
|
254
|
+
export declare function MeetingToJSON(json: any): Meeting;
|
|
255
|
+
export declare function MeetingToJSONTyped(value?: Meeting | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Check if a given object implements the Meeting interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMeeting(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function MeetingFromJSON(json) {
|
|
21
|
+
return MeetingFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MeetingFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'idBigint': json['id_bigint'] == null ? undefined : json['id_bigint'], 'worldidMixed': json['worldid_mixed'] == null ? undefined : json['worldid_mixed'], 'sharedGroupIdBigint': json['shared_group_id_bigint'] == null ? undefined : json['shared_group_id_bigint'], 'serviceBodyBigint': json['service_body_bigint'] == null ? undefined : json['service_body_bigint'], 'weekdayTinyint': json['weekday_tinyint'] == null ? undefined : json['weekday_tinyint'], 'venueType': json['venue_type'] == null ? undefined : json['venue_type'], 'startTime': json['start_time'] == null ? undefined : json['start_time'], 'durationTime': json['duration_time'] == null ? undefined : json['duration_time'], 'timeZone': json['time_zone'] == null ? undefined : json['time_zone'], 'formats': json['formats'] == null ? undefined : json['formats'], 'langEnum': json['lang_enum'] == null ? undefined : json['lang_enum'], 'longitude': json['longitude'] == null ? undefined : json['longitude'], 'latitude': json['latitude'] == null ? undefined : json['latitude'], 'distanceInKm': json['distance_in_km'] == null ? undefined : json['distance_in_km'], 'distanceInMiles': json['distance_in_miles'] == null ? undefined : json['distance_in_miles'], 'meetingName': json['meeting_name'] == null ? undefined : json['meeting_name'], 'locationText': json['location_text'] == null ? undefined : json['location_text'], 'locationInfo': json['location_info'] == null ? undefined : json['location_info'], 'locationStreet': json['location_street'] == null ? undefined : json['location_street'], 'locationCitySubsection': json['location_city_subsection'] == null ? undefined : json['location_city_subsection'], 'locationNeighborhood': json['location_neighborhood'] == null ? undefined : json['location_neighborhood'], 'locationMunicipality': json['location_municipality'] == null ? undefined : json['location_municipality'], 'locationSubProvince': json['location_sub_province'] == null ? undefined : json['location_sub_province'], 'locationProvince': json['location_province'] == null ? undefined : json['location_province'], 'locationPostalCode1': json['location_postal_code_1'] == null ? undefined : json['location_postal_code_1'], 'locationNation': json['location_nation'] == null ? undefined : json['location_nation'], 'comments': json['comments'] == null ? undefined : json['comments'], 'trainLines': json['train_lines'] == null ? undefined : json['train_lines'], 'busLines': json['bus_lines'] == null ? undefined : json['bus_lines'], 'phoneMeetingNumber': json['phone_meeting_number'] == null ? undefined : json['phone_meeting_number'], 'virtualMeetingLink': json['virtual_meeting_link'] == null ? undefined : json['virtual_meeting_link'], 'virtualMeetingAdditionalInfo': json['virtual_meeting_additional_info'] == null ? undefined : json['virtual_meeting_additional_info'], 'contactName1': json['contact_name_1'] == null ? undefined : json['contact_name_1'], 'contactPhone1': json['contact_phone_1'] == null ? undefined : json['contact_phone_1'], 'contactEmail1': json['contact_email_1'] == null ? undefined : json['contact_email_1'], 'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'], 'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'], 'formatSharedIdList': json['format_shared_id_list'] == null ? undefined : json['format_shared_id_list'] });
|
|
28
|
+
}
|
|
29
|
+
export function MeetingToJSON(json) {
|
|
30
|
+
return MeetingToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function MeetingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return Object.assign(Object.assign({}, value), { 'id_bigint': value['idBigint'], 'worldid_mixed': value['worldidMixed'], 'shared_group_id_bigint': value['sharedGroupIdBigint'], 'service_body_bigint': value['serviceBodyBigint'], 'weekday_tinyint': value['weekdayTinyint'], 'venue_type': value['venueType'], 'start_time': value['startTime'], 'duration_time': value['durationTime'], 'time_zone': value['timeZone'], 'formats': value['formats'], 'lang_enum': value['langEnum'], 'longitude': value['longitude'], 'latitude': value['latitude'], 'distance_in_km': value['distanceInKm'], 'distance_in_miles': value['distanceInMiles'], 'meeting_name': value['meetingName'], 'location_text': value['locationText'], 'location_info': value['locationInfo'], 'location_street': value['locationStreet'], 'location_city_subsection': value['locationCitySubsection'], 'location_neighborhood': value['locationNeighborhood'], 'location_municipality': value['locationMunicipality'], 'location_sub_province': value['locationSubProvince'], 'location_province': value['locationProvince'], 'location_postal_code_1': value['locationPostalCode1'], 'location_nation': value['locationNation'], 'comments': value['comments'], 'train_lines': value['trainLines'], 'bus_lines': value['busLines'], 'phone_meeting_number': value['phoneMeetingNumber'], 'virtual_meeting_link': value['virtualMeetingLink'], 'virtual_meeting_additional_info': value['virtualMeetingAdditionalInfo'], 'contact_name_1': value['contactName1'], 'contact_phone_1': value['contactPhone1'], 'contact_email_1': value['contactEmail1'], 'root_server_id': value['rootServerId'], 'root_server_uri': value['rootServerUri'], 'format_shared_id_list': value['formatSharedIdList'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* 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.
|
|
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 MeetingChange
|
|
16
|
+
*/
|
|
17
|
+
export interface MeetingChange {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Unix timestamp of the change.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof MeetingChange
|
|
23
|
+
*/
|
|
24
|
+
dateInt?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MeetingChange
|
|
29
|
+
*/
|
|
30
|
+
dateString?: string;
|
|
31
|
+
/**
|
|
32
|
+
* e.g. comdef_change_type_change, comdef_change_type_new, comdef_change_type_delete.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof MeetingChange
|
|
35
|
+
*/
|
|
36
|
+
changeType?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof MeetingChange
|
|
41
|
+
*/
|
|
42
|
+
meetingId?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof MeetingChange
|
|
47
|
+
*/
|
|
48
|
+
meetingName?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof MeetingChange
|
|
53
|
+
*/
|
|
54
|
+
userId?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof MeetingChange
|
|
59
|
+
*/
|
|
60
|
+
userName?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof MeetingChange
|
|
65
|
+
*/
|
|
66
|
+
serviceBodyId?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof MeetingChange
|
|
71
|
+
*/
|
|
72
|
+
serviceBodyName?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Per-field before/after values for change events.
|
|
75
|
+
* @type {{ [key: string]: any; }}
|
|
76
|
+
* @memberof MeetingChange
|
|
77
|
+
*/
|
|
78
|
+
details?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the MeetingChange interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfMeetingChange(value: object): value is MeetingChange;
|
|
86
|
+
export declare function MeetingChangeFromJSON(json: any): MeetingChange;
|
|
87
|
+
export declare function MeetingChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingChange;
|
|
88
|
+
export declare function MeetingChangeToJSON(json: any): MeetingChange;
|
|
89
|
+
export declare function MeetingChangeToJSONTyped(value?: MeetingChange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Check if a given object implements the MeetingChange interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMeetingChange(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function MeetingChangeFromJSON(json) {
|
|
21
|
+
return MeetingChangeFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function MeetingChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'dateInt': json['date_int'] == null ? undefined : json['date_int'], 'dateString': json['date_string'] == null ? undefined : json['date_string'], 'changeType': json['change_type'] == null ? undefined : json['change_type'], 'meetingId': json['meeting_id'] == null ? undefined : json['meeting_id'], 'meetingName': json['meeting_name'] == null ? undefined : json['meeting_name'], 'userId': json['user_id'] == null ? undefined : json['user_id'], 'userName': json['user_name'] == null ? undefined : json['user_name'], 'serviceBodyId': json['service_body_id'] == null ? undefined : json['service_body_id'], 'serviceBodyName': json['service_body_name'] == null ? undefined : json['service_body_name'], 'details': json['details'] == null ? undefined : json['details'] });
|
|
28
|
+
}
|
|
29
|
+
export function MeetingChangeToJSON(json) {
|
|
30
|
+
return MeetingChangeToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function MeetingChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return Object.assign(Object.assign({}, value), { 'date_int': value['dateInt'], 'date_string': value['dateString'], 'change_type': value['changeType'], 'meeting_id': value['meetingId'], 'meeting_name': value['meetingName'], 'user_id': value['userId'], 'user_name': value['userName'], 'service_body_id': value['serviceBodyId'], 'service_body_name': value['serviceBodyName'], 'details': value['details'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* 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.
|
|
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 ModelError
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelError {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Human-readable error message.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ModelError
|
|
23
|
+
*/
|
|
24
|
+
error?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ModelError interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfModelError(value: object): value is ModelError;
|
|
30
|
+
export declare function ModelErrorFromJSON(json: any): ModelError;
|
|
31
|
+
export declare function ModelErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelError;
|
|
32
|
+
export declare function ModelErrorToJSON(json: any): ModelError;
|
|
33
|
+
export declare function ModelErrorToJSONTyped(value?: ModelError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Check if a given object implements the ModelError interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfModelError(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ModelErrorFromJSON(json) {
|
|
21
|
+
return ModelErrorFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ModelErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'error': json['error'] == null ? undefined : json['error'] });
|
|
28
|
+
}
|
|
29
|
+
export function ModelErrorToJSON(json) {
|
|
30
|
+
return ModelErrorToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ModelErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return Object.assign(Object.assign({}, value), { 'error': value['error'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* 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.
|
|
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 SemanticError
|
|
16
|
+
*/
|
|
17
|
+
export interface SemanticError {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Human-readable error message.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SemanticError
|
|
23
|
+
*/
|
|
24
|
+
error?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SemanticError interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSemanticError(value: object): value is SemanticError;
|
|
30
|
+
export declare function SemanticErrorFromJSON(json: any): SemanticError;
|
|
31
|
+
export declare function SemanticErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticError;
|
|
32
|
+
export declare function SemanticErrorToJSON(json: any): SemanticError;
|
|
33
|
+
export declare function SemanticErrorToJSONTyped(value?: SemanticError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Check if a given object implements the SemanticError interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSemanticError(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SemanticErrorFromJSON(json) {
|
|
21
|
+
return SemanticErrorFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SemanticErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'error': json['error'] == null ? undefined : json['error'] });
|
|
28
|
+
}
|
|
29
|
+
export function SemanticErrorToJSON(json) {
|
|
30
|
+
return SemanticErrorToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return Object.assign(Object.assign({}, value), { 'error': value['error'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* 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.
|
|
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 SemanticFormat
|
|
16
|
+
*/
|
|
17
|
+
export interface SemanticFormat {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SemanticFormat
|
|
23
|
+
*/
|
|
24
|
+
keyString?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SemanticFormat
|
|
29
|
+
*/
|
|
30
|
+
nameString?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SemanticFormat
|
|
35
|
+
*/
|
|
36
|
+
descriptionString?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SemanticFormat
|
|
41
|
+
*/
|
|
42
|
+
lang?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SemanticFormat
|
|
47
|
+
*/
|
|
48
|
+
id?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SemanticFormat
|
|
53
|
+
*/
|
|
54
|
+
worldId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Aggregator mode only.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SemanticFormat
|
|
59
|
+
*/
|
|
60
|
+
rootServerId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Aggregator mode only.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SemanticFormat
|
|
65
|
+
*/
|
|
66
|
+
rootServerUri?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SemanticFormat
|
|
71
|
+
*/
|
|
72
|
+
formatTypeEnum?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the SemanticFormat interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfSemanticFormat(value: object): value is SemanticFormat;
|
|
78
|
+
export declare function SemanticFormatFromJSON(json: any): SemanticFormat;
|
|
79
|
+
export declare function SemanticFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticFormat;
|
|
80
|
+
export declare function SemanticFormatToJSON(json: any): SemanticFormat;
|
|
81
|
+
export declare function SemanticFormatToJSONTyped(value?: SemanticFormat | null, ignoreDiscriminator?: boolean): any;
|