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,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 SemanticFormat interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSemanticFormat(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SemanticFormatFromJSON(json) {
|
|
21
|
+
return SemanticFormatFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SemanticFormatFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return Object.assign(Object.assign({}, json), { 'keyString': json['key_string'] == null ? undefined : json['key_string'], 'nameString': json['name_string'] == null ? undefined : json['name_string'], 'descriptionString': json['description_string'] == null ? undefined : json['description_string'], 'lang': json['lang'] == null ? undefined : json['lang'], 'id': json['id'] == null ? undefined : json['id'], 'worldId': json['world_id'] == null ? undefined : json['world_id'], 'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'], 'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'], 'formatTypeEnum': json['format_type_enum'] == null ? undefined : json['format_type_enum'] });
|
|
28
|
+
}
|
|
29
|
+
export function SemanticFormatToJSON(json) {
|
|
30
|
+
return SemanticFormatToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticFormatToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
return Object.assign(Object.assign({}, value), { 'key_string': value['keyString'], 'name_string': value['nameString'], 'description_string': value['descriptionString'], 'lang': value['lang'], 'id': value['id'], 'world_id': value['worldId'], 'root_server_id': value['rootServerId'], 'root_server_uri': value['rootServerUri'], 'format_type_enum': value['formatTypeEnum'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
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
|
+
* A meeting record. The actual field set depends on the server's enabled fields and the `data_field_key` parameter.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SemanticMeeting
|
|
16
|
+
*/
|
|
17
|
+
export interface SemanticMeeting {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Numeric meeting ID, returned as a string.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SemanticMeeting
|
|
23
|
+
*/
|
|
24
|
+
idBigint?: string;
|
|
25
|
+
/**
|
|
26
|
+
* NAWS world committee code.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SemanticMeeting
|
|
29
|
+
*/
|
|
30
|
+
worldidMixed?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SemanticMeeting
|
|
35
|
+
*/
|
|
36
|
+
sharedGroupIdBigint?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SemanticMeeting
|
|
41
|
+
*/
|
|
42
|
+
serviceBodyBigint?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 1=Sunday … 7=Saturday.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SemanticMeeting
|
|
47
|
+
*/
|
|
48
|
+
weekdayTinyint?: string;
|
|
49
|
+
/**
|
|
50
|
+
* 1=In-person, 2=Virtual, 3=Hybrid.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SemanticMeeting
|
|
53
|
+
*/
|
|
54
|
+
venueType?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Local start time, HH:MM:SS.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SemanticMeeting
|
|
59
|
+
*/
|
|
60
|
+
startTime?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Duration, HH:MM:SS.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SemanticMeeting
|
|
65
|
+
*/
|
|
66
|
+
durationTime?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SemanticMeeting
|
|
71
|
+
*/
|
|
72
|
+
timeZone?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Comma-separated format key strings.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SemanticMeeting
|
|
77
|
+
*/
|
|
78
|
+
formats?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SemanticMeeting
|
|
83
|
+
*/
|
|
84
|
+
langEnum?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SemanticMeeting
|
|
89
|
+
*/
|
|
90
|
+
longitude?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SemanticMeeting
|
|
95
|
+
*/
|
|
96
|
+
latitude?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Present only when sorting by distance.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SemanticMeeting
|
|
101
|
+
*/
|
|
102
|
+
distanceInKm?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Present only when sorting by distance.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SemanticMeeting
|
|
107
|
+
*/
|
|
108
|
+
distanceInMiles?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof SemanticMeeting
|
|
113
|
+
*/
|
|
114
|
+
meetingName?: string;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof SemanticMeeting
|
|
119
|
+
*/
|
|
120
|
+
locationText?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof SemanticMeeting
|
|
125
|
+
*/
|
|
126
|
+
locationInfo?: string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof SemanticMeeting
|
|
131
|
+
*/
|
|
132
|
+
locationStreet?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof SemanticMeeting
|
|
137
|
+
*/
|
|
138
|
+
locationCitySubsection?: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof SemanticMeeting
|
|
143
|
+
*/
|
|
144
|
+
locationNeighborhood?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof SemanticMeeting
|
|
149
|
+
*/
|
|
150
|
+
locationMunicipality?: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof SemanticMeeting
|
|
155
|
+
*/
|
|
156
|
+
locationSubProvince?: string;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof SemanticMeeting
|
|
161
|
+
*/
|
|
162
|
+
locationProvince?: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof SemanticMeeting
|
|
167
|
+
*/
|
|
168
|
+
locationPostalCode1?: string;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof SemanticMeeting
|
|
173
|
+
*/
|
|
174
|
+
locationNation?: string;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof SemanticMeeting
|
|
179
|
+
*/
|
|
180
|
+
comments?: string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof SemanticMeeting
|
|
185
|
+
*/
|
|
186
|
+
trainLines?: string;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof SemanticMeeting
|
|
191
|
+
*/
|
|
192
|
+
busLines?: string;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof SemanticMeeting
|
|
197
|
+
*/
|
|
198
|
+
phoneMeetingNumber?: string;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof SemanticMeeting
|
|
203
|
+
*/
|
|
204
|
+
virtualMeetingLink?: string;
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof SemanticMeeting
|
|
209
|
+
*/
|
|
210
|
+
virtualMeetingAdditionalInfo?: string;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof SemanticMeeting
|
|
215
|
+
*/
|
|
216
|
+
contactName1?: string;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof SemanticMeeting
|
|
221
|
+
*/
|
|
222
|
+
contactPhone1?: string;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof SemanticMeeting
|
|
227
|
+
*/
|
|
228
|
+
contactEmail1?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Aggregator mode only — ID of the root server this meeting came from.
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof SemanticMeeting
|
|
233
|
+
*/
|
|
234
|
+
rootServerId?: string;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof SemanticMeeting
|
|
239
|
+
*/
|
|
240
|
+
rootServerUri?: string;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @memberof SemanticMeeting
|
|
245
|
+
*/
|
|
246
|
+
formatSharedIdList?: string;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Check if a given object implements the SemanticMeeting interface.
|
|
250
|
+
*/
|
|
251
|
+
export declare function instanceOfSemanticMeeting(value: object): value is SemanticMeeting;
|
|
252
|
+
export declare function SemanticMeetingFromJSON(json: any): SemanticMeeting;
|
|
253
|
+
export declare function SemanticMeetingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticMeeting;
|
|
254
|
+
export declare function SemanticMeetingToJSON(json: any): SemanticMeeting;
|
|
255
|
+
export declare function SemanticMeetingToJSONTyped(value?: SemanticMeeting | 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 SemanticMeeting interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSemanticMeeting(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SemanticMeetingFromJSON(json) {
|
|
21
|
+
return SemanticMeetingFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SemanticMeetingFromJSONTyped(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 SemanticMeetingToJSON(json) {
|
|
30
|
+
return SemanticMeetingToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticMeetingToJSONTyped(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 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 SemanticMeetingChange
|
|
16
|
+
*/
|
|
17
|
+
export interface SemanticMeetingChange {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
* Unix timestamp of the change.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SemanticMeetingChange
|
|
23
|
+
*/
|
|
24
|
+
dateInt?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SemanticMeetingChange
|
|
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 SemanticMeetingChange
|
|
35
|
+
*/
|
|
36
|
+
changeType?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SemanticMeetingChange
|
|
41
|
+
*/
|
|
42
|
+
meetingId?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SemanticMeetingChange
|
|
47
|
+
*/
|
|
48
|
+
meetingName?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SemanticMeetingChange
|
|
53
|
+
*/
|
|
54
|
+
userId?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SemanticMeetingChange
|
|
59
|
+
*/
|
|
60
|
+
userName?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SemanticMeetingChange
|
|
65
|
+
*/
|
|
66
|
+
serviceBodyId?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SemanticMeetingChange
|
|
71
|
+
*/
|
|
72
|
+
serviceBodyName?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Per-field before/after values for change events.
|
|
75
|
+
* @type {{ [key: string]: any; }}
|
|
76
|
+
* @memberof SemanticMeetingChange
|
|
77
|
+
*/
|
|
78
|
+
details?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the SemanticMeetingChange interface.
|
|
84
|
+
*/
|
|
85
|
+
export declare function instanceOfSemanticMeetingChange(value: object): value is SemanticMeetingChange;
|
|
86
|
+
export declare function SemanticMeetingChangeFromJSON(json: any): SemanticMeetingChange;
|
|
87
|
+
export declare function SemanticMeetingChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticMeetingChange;
|
|
88
|
+
export declare function SemanticMeetingChangeToJSON(json: any): SemanticMeetingChange;
|
|
89
|
+
export declare function SemanticMeetingChangeToJSONTyped(value?: SemanticMeetingChange | 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 SemanticMeetingChange interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSemanticMeetingChange(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SemanticMeetingChangeFromJSON(json) {
|
|
21
|
+
return SemanticMeetingChangeFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SemanticMeetingChangeFromJSONTyped(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 SemanticMeetingChangeToJSON(json) {
|
|
30
|
+
return SemanticMeetingChangeToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticMeetingChangeToJSONTyped(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,156 @@
|
|
|
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
|
+
import type { SemanticServerInfoAggregatorModeEnabled } from './SemanticServerInfoAggregatorModeEnabled';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SemanticServerInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface SemanticServerInfo {
|
|
19
|
+
[key: string]: any | any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SemanticServerInfo
|
|
24
|
+
*/
|
|
25
|
+
version?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SemanticServerInfo
|
|
30
|
+
*/
|
|
31
|
+
versionInt?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Comma-separated language codes.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SemanticServerInfo
|
|
36
|
+
*/
|
|
37
|
+
langs?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SemanticServerInfo
|
|
42
|
+
*/
|
|
43
|
+
nativeLang?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof SemanticServerInfo
|
|
48
|
+
*/
|
|
49
|
+
centerLongitude?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof SemanticServerInfo
|
|
54
|
+
*/
|
|
55
|
+
centerLatitude?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof SemanticServerInfo
|
|
60
|
+
*/
|
|
61
|
+
centerZoom?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof SemanticServerInfo
|
|
66
|
+
*/
|
|
67
|
+
defaultDuration?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SemanticServerInfo
|
|
72
|
+
*/
|
|
73
|
+
regionBias?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof SemanticServerInfo
|
|
78
|
+
*/
|
|
79
|
+
charSet?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {SemanticServerInfoDistanceUnitsEnum}
|
|
83
|
+
* @memberof SemanticServerInfo
|
|
84
|
+
*/
|
|
85
|
+
distanceUnits?: SemanticServerInfoDistanceUnitsEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof SemanticServerInfo
|
|
90
|
+
*/
|
|
91
|
+
semanticAdmin?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof SemanticServerInfo
|
|
96
|
+
*/
|
|
97
|
+
emailEnabled?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SemanticServerInfo
|
|
102
|
+
*/
|
|
103
|
+
emailIncludesServiceBodies?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof SemanticServerInfo
|
|
108
|
+
*/
|
|
109
|
+
changesPerMeeting?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof SemanticServerInfo
|
|
114
|
+
*/
|
|
115
|
+
meetingStatesAndProvinces?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof SemanticServerInfo
|
|
120
|
+
*/
|
|
121
|
+
meetingCountiesAndSubProvinces?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Comma-separated list of field keys exposed by this server.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof SemanticServerInfo
|
|
126
|
+
*/
|
|
127
|
+
availableKeys?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof SemanticServerInfo
|
|
132
|
+
*/
|
|
133
|
+
googleApiKey?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {SemanticServerInfoAggregatorModeEnabled}
|
|
137
|
+
* @memberof SemanticServerInfo
|
|
138
|
+
*/
|
|
139
|
+
aggregatorModeEnabled?: SemanticServerInfoAggregatorModeEnabled;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
export declare const SemanticServerInfoDistanceUnitsEnum: {
|
|
145
|
+
readonly Mi: "mi";
|
|
146
|
+
readonly Km: "km";
|
|
147
|
+
};
|
|
148
|
+
export type SemanticServerInfoDistanceUnitsEnum = typeof SemanticServerInfoDistanceUnitsEnum[keyof typeof SemanticServerInfoDistanceUnitsEnum];
|
|
149
|
+
/**
|
|
150
|
+
* Check if a given object implements the SemanticServerInfo interface.
|
|
151
|
+
*/
|
|
152
|
+
export declare function instanceOfSemanticServerInfo(value: object): value is SemanticServerInfo;
|
|
153
|
+
export declare function SemanticServerInfoFromJSON(json: any): SemanticServerInfo;
|
|
154
|
+
export declare function SemanticServerInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServerInfo;
|
|
155
|
+
export declare function SemanticServerInfoToJSON(json: any): SemanticServerInfo;
|
|
156
|
+
export declare function SemanticServerInfoToJSONTyped(value?: SemanticServerInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
import { SemanticServerInfoAggregatorModeEnabledFromJSON, SemanticServerInfoAggregatorModeEnabledToJSON, } from './SemanticServerInfoAggregatorModeEnabled';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SemanticServerInfoDistanceUnitsEnum = {
|
|
19
|
+
Mi: 'mi',
|
|
20
|
+
Km: 'km'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SemanticServerInfo interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSemanticServerInfo(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function SemanticServerInfoFromJSON(json) {
|
|
29
|
+
return SemanticServerInfoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SemanticServerInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return Object.assign(Object.assign({}, json), { 'version': json['version'] == null ? undefined : json['version'], 'versionInt': json['versionInt'] == null ? undefined : json['versionInt'], 'langs': json['langs'] == null ? undefined : json['langs'], 'nativeLang': json['nativeLang'] == null ? undefined : json['nativeLang'], 'centerLongitude': json['centerLongitude'] == null ? undefined : json['centerLongitude'], 'centerLatitude': json['centerLatitude'] == null ? undefined : json['centerLatitude'], 'centerZoom': json['centerZoom'] == null ? undefined : json['centerZoom'], 'defaultDuration': json['defaultDuration'] == null ? undefined : json['defaultDuration'], 'regionBias': json['regionBias'] == null ? undefined : json['regionBias'], 'charSet': json['charSet'] == null ? undefined : json['charSet'], 'distanceUnits': json['distanceUnits'] == null ? undefined : json['distanceUnits'], 'semanticAdmin': json['semanticAdmin'] == null ? undefined : json['semanticAdmin'], 'emailEnabled': json['emailEnabled'] == null ? undefined : json['emailEnabled'], 'emailIncludesServiceBodies': json['emailIncludesServiceBodies'] == null ? undefined : json['emailIncludesServiceBodies'], 'changesPerMeeting': json['changesPerMeeting'] == null ? undefined : json['changesPerMeeting'], 'meetingStatesAndProvinces': json['meeting_states_and_provinces'] == null ? undefined : json['meeting_states_and_provinces'], 'meetingCountiesAndSubProvinces': json['meeting_counties_and_sub_provinces'] == null ? undefined : json['meeting_counties_and_sub_provinces'], 'availableKeys': json['available_keys'] == null ? undefined : json['available_keys'], 'googleApiKey': json['google_api_key'] == null ? undefined : json['google_api_key'], 'aggregatorModeEnabled': json['aggregator_mode_enabled'] == null ? undefined : SemanticServerInfoAggregatorModeEnabledFromJSON(json['aggregator_mode_enabled']) });
|
|
36
|
+
}
|
|
37
|
+
export function SemanticServerInfoToJSON(json) {
|
|
38
|
+
return SemanticServerInfoToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function SemanticServerInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return Object.assign(Object.assign({}, value), { 'version': value['version'], 'versionInt': value['versionInt'], 'langs': value['langs'], 'nativeLang': value['nativeLang'], 'centerLongitude': value['centerLongitude'], 'centerLatitude': value['centerLatitude'], 'centerZoom': value['centerZoom'], 'defaultDuration': value['defaultDuration'], 'regionBias': value['regionBias'], 'charSet': value['charSet'], 'distanceUnits': value['distanceUnits'], 'semanticAdmin': value['semanticAdmin'], 'emailEnabled': value['emailEnabled'], 'emailIncludesServiceBodies': value['emailIncludesServiceBodies'], 'changesPerMeeting': value['changesPerMeeting'], 'meeting_states_and_provinces': value['meetingStatesAndProvinces'], 'meeting_counties_and_sub_provinces': value['meetingCountiesAndSubProvinces'], 'available_keys': value['availableKeys'], 'google_api_key': value['googleApiKey'], 'aggregator_mode_enabled': SemanticServerInfoAggregatorModeEnabledToJSON(value['aggregatorModeEnabled']) });
|
|
45
|
+
}
|