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,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,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* BMLT Semantic API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SemanticServerInfoDistanceUnitsEnum = void 0;
|
|
17
|
+
exports.instanceOfSemanticServerInfo = instanceOfSemanticServerInfo;
|
|
18
|
+
exports.SemanticServerInfoFromJSON = SemanticServerInfoFromJSON;
|
|
19
|
+
exports.SemanticServerInfoFromJSONTyped = SemanticServerInfoFromJSONTyped;
|
|
20
|
+
exports.SemanticServerInfoToJSON = SemanticServerInfoToJSON;
|
|
21
|
+
exports.SemanticServerInfoToJSONTyped = SemanticServerInfoToJSONTyped;
|
|
22
|
+
const SemanticServerInfoAggregatorModeEnabled_1 = require("./SemanticServerInfoAggregatorModeEnabled");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SemanticServerInfoDistanceUnitsEnum = {
|
|
27
|
+
Mi: 'mi',
|
|
28
|
+
Km: 'km'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SemanticServerInfo interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfSemanticServerInfo(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function SemanticServerInfoFromJSON(json) {
|
|
37
|
+
return SemanticServerInfoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SemanticServerInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
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 : (0, SemanticServerInfoAggregatorModeEnabled_1.SemanticServerInfoAggregatorModeEnabledFromJSON)(json['aggregator_mode_enabled']) });
|
|
44
|
+
}
|
|
45
|
+
function SemanticServerInfoToJSON(json) {
|
|
46
|
+
return SemanticServerInfoToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function SemanticServerInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
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': (0, SemanticServerInfoAggregatorModeEnabled_1.SemanticServerInfoAggregatorModeEnabledToJSON)(value['aggregatorModeEnabled']) });
|
|
53
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* @type SemanticServerInfoAggregatorModeEnabled
|
|
14
|
+
* `1` / `true` if this server is running in aggregator mode.
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type SemanticServerInfoAggregatorModeEnabled = boolean | string;
|
|
18
|
+
export declare function SemanticServerInfoAggregatorModeEnabledFromJSON(json: any): SemanticServerInfoAggregatorModeEnabled;
|
|
19
|
+
export declare function SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServerInfoAggregatorModeEnabled;
|
|
20
|
+
export declare function SemanticServerInfoAggregatorModeEnabledToJSON(json: any): any;
|
|
21
|
+
export declare function SemanticServerInfoAggregatorModeEnabledToJSONTyped(value?: SemanticServerInfoAggregatorModeEnabled | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* BMLT Semantic API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SemanticServerInfoAggregatorModeEnabledFromJSON = SemanticServerInfoAggregatorModeEnabledFromJSON;
|
|
17
|
+
exports.SemanticServerInfoAggregatorModeEnabledFromJSONTyped = SemanticServerInfoAggregatorModeEnabledFromJSONTyped;
|
|
18
|
+
exports.SemanticServerInfoAggregatorModeEnabledToJSON = SemanticServerInfoAggregatorModeEnabledToJSON;
|
|
19
|
+
exports.SemanticServerInfoAggregatorModeEnabledToJSONTyped = SemanticServerInfoAggregatorModeEnabledToJSONTyped;
|
|
20
|
+
function SemanticServerInfoAggregatorModeEnabledFromJSON(json) {
|
|
21
|
+
return SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
function SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
if (typeof json === 'string') {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'boolean') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
function SemanticServerInfoAggregatorModeEnabledToJSON(json) {
|
|
36
|
+
return SemanticServerInfoAggregatorModeEnabledToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SemanticServerInfoAggregatorModeEnabledToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
if (typeof value === 'string') {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
if (typeof value === 'boolean') {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 SemanticServiceBody
|
|
16
|
+
*/
|
|
17
|
+
export interface SemanticServiceBody {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SemanticServiceBody
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SemanticServiceBody
|
|
29
|
+
*/
|
|
30
|
+
parentId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SemanticServiceBody
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SemanticServiceBody
|
|
41
|
+
*/
|
|
42
|
+
description?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SemanticServiceBody
|
|
47
|
+
*/
|
|
48
|
+
type?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SemanticServiceBody
|
|
53
|
+
*/
|
|
54
|
+
url?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SemanticServiceBody
|
|
59
|
+
*/
|
|
60
|
+
helpline?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SemanticServiceBody
|
|
65
|
+
*/
|
|
66
|
+
worldId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Aggregator mode only.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SemanticServiceBody
|
|
71
|
+
*/
|
|
72
|
+
rootServerId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Aggregator mode only.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SemanticServiceBody
|
|
77
|
+
*/
|
|
78
|
+
rootServerUri?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the SemanticServiceBody interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfSemanticServiceBody(value: object): value is SemanticServiceBody;
|
|
84
|
+
export declare function SemanticServiceBodyFromJSON(json: any): SemanticServiceBody;
|
|
85
|
+
export declare function SemanticServiceBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SemanticServiceBody;
|
|
86
|
+
export declare function SemanticServiceBodyToJSON(json: any): SemanticServiceBody;
|
|
87
|
+
export declare function SemanticServiceBodyToJSONTyped(value?: SemanticServiceBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* BMLT Semantic API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSemanticServiceBody = instanceOfSemanticServiceBody;
|
|
17
|
+
exports.SemanticServiceBodyFromJSON = SemanticServiceBodyFromJSON;
|
|
18
|
+
exports.SemanticServiceBodyFromJSONTyped = SemanticServiceBodyFromJSONTyped;
|
|
19
|
+
exports.SemanticServiceBodyToJSON = SemanticServiceBodyToJSON;
|
|
20
|
+
exports.SemanticServiceBodyToJSONTyped = SemanticServiceBodyToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SemanticServiceBody interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSemanticServiceBody(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SemanticServiceBodyFromJSON(json) {
|
|
28
|
+
return SemanticServiceBodyFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SemanticServiceBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'parentId': json['parent_id'] == null ? undefined : json['parent_id'], 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'type': json['type'] == null ? undefined : json['type'], 'url': json['url'] == null ? undefined : json['url'], 'helpline': json['helpline'] == null ? undefined : json['helpline'], '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'] });
|
|
35
|
+
}
|
|
36
|
+
function SemanticServiceBodyToJSON(json) {
|
|
37
|
+
return SemanticServiceBodyToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function SemanticServiceBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return Object.assign(Object.assign({}, value), { 'id': value['id'], 'parent_id': value['parentId'], 'name': value['name'], 'description': value['description'], 'type': value['type'], 'url': value['url'], 'helpline': value['helpline'], 'world_id': value['worldId'], 'root_server_id': value['rootServerId'], 'root_server_uri': value['rootServerUri'] });
|
|
44
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
import type { ServerInfoAggregatorModeEnabled } from './ServerInfoAggregatorModeEnabled';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServerInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface ServerInfo {
|
|
19
|
+
[key: string]: any | any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ServerInfo
|
|
24
|
+
*/
|
|
25
|
+
version?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ServerInfo
|
|
30
|
+
*/
|
|
31
|
+
versionInt?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Comma-separated language codes.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ServerInfo
|
|
36
|
+
*/
|
|
37
|
+
langs?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ServerInfo
|
|
42
|
+
*/
|
|
43
|
+
nativeLang?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ServerInfo
|
|
48
|
+
*/
|
|
49
|
+
centerLongitude?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ServerInfo
|
|
54
|
+
*/
|
|
55
|
+
centerLatitude?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ServerInfo
|
|
60
|
+
*/
|
|
61
|
+
centerZoom?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ServerInfo
|
|
66
|
+
*/
|
|
67
|
+
defaultDuration?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ServerInfo
|
|
72
|
+
*/
|
|
73
|
+
regionBias?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ServerInfo
|
|
78
|
+
*/
|
|
79
|
+
charSet?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {ServerInfoDistanceUnitsEnum}
|
|
83
|
+
* @memberof ServerInfo
|
|
84
|
+
*/
|
|
85
|
+
distanceUnits?: ServerInfoDistanceUnitsEnum;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof ServerInfo
|
|
90
|
+
*/
|
|
91
|
+
semanticAdmin?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof ServerInfo
|
|
96
|
+
*/
|
|
97
|
+
emailEnabled?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ServerInfo
|
|
102
|
+
*/
|
|
103
|
+
emailIncludesServiceBodies?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof ServerInfo
|
|
108
|
+
*/
|
|
109
|
+
changesPerMeeting?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof ServerInfo
|
|
114
|
+
*/
|
|
115
|
+
meetingStatesAndProvinces?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof ServerInfo
|
|
120
|
+
*/
|
|
121
|
+
meetingCountiesAndSubProvinces?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Comma-separated list of field keys exposed by this server.
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof ServerInfo
|
|
126
|
+
*/
|
|
127
|
+
availableKeys?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ServerInfo
|
|
132
|
+
*/
|
|
133
|
+
googleApiKey?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {ServerInfoAggregatorModeEnabled}
|
|
137
|
+
* @memberof ServerInfo
|
|
138
|
+
*/
|
|
139
|
+
aggregatorModeEnabled?: ServerInfoAggregatorModeEnabled;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
export declare const ServerInfoDistanceUnitsEnum: {
|
|
145
|
+
readonly Mi: "mi";
|
|
146
|
+
readonly Km: "km";
|
|
147
|
+
};
|
|
148
|
+
export type ServerInfoDistanceUnitsEnum = typeof ServerInfoDistanceUnitsEnum[keyof typeof ServerInfoDistanceUnitsEnum];
|
|
149
|
+
/**
|
|
150
|
+
* Check if a given object implements the ServerInfo interface.
|
|
151
|
+
*/
|
|
152
|
+
export declare function instanceOfServerInfo(value: object): value is ServerInfo;
|
|
153
|
+
export declare function ServerInfoFromJSON(json: any): ServerInfo;
|
|
154
|
+
export declare function ServerInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerInfo;
|
|
155
|
+
export declare function ServerInfoToJSON(json: any): ServerInfo;
|
|
156
|
+
export declare function ServerInfoToJSONTyped(value?: ServerInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* BMLT Semantic API
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ServerInfoDistanceUnitsEnum = void 0;
|
|
17
|
+
exports.instanceOfServerInfo = instanceOfServerInfo;
|
|
18
|
+
exports.ServerInfoFromJSON = ServerInfoFromJSON;
|
|
19
|
+
exports.ServerInfoFromJSONTyped = ServerInfoFromJSONTyped;
|
|
20
|
+
exports.ServerInfoToJSON = ServerInfoToJSON;
|
|
21
|
+
exports.ServerInfoToJSONTyped = ServerInfoToJSONTyped;
|
|
22
|
+
const ServerInfoAggregatorModeEnabled_1 = require("./ServerInfoAggregatorModeEnabled");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ServerInfoDistanceUnitsEnum = {
|
|
27
|
+
Mi: 'mi',
|
|
28
|
+
Km: 'km'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ServerInfo interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfServerInfo(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ServerInfoFromJSON(json) {
|
|
37
|
+
return ServerInfoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ServerInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
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 : (0, ServerInfoAggregatorModeEnabled_1.ServerInfoAggregatorModeEnabledFromJSON)(json['aggregator_mode_enabled']) });
|
|
44
|
+
}
|
|
45
|
+
function ServerInfoToJSON(json) {
|
|
46
|
+
return ServerInfoToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ServerInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
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': (0, ServerInfoAggregatorModeEnabled_1.ServerInfoAggregatorModeEnabledToJSON)(value['aggregatorModeEnabled']) });
|
|
53
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
* @type ServerInfoAggregatorModeEnabled
|
|
14
|
+
* 1 / true if this server is running in aggregator mode.
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type ServerInfoAggregatorModeEnabled = boolean | string;
|
|
18
|
+
export declare function ServerInfoAggregatorModeEnabledFromJSON(json: any): ServerInfoAggregatorModeEnabled;
|
|
19
|
+
export declare function ServerInfoAggregatorModeEnabledFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerInfoAggregatorModeEnabled;
|
|
20
|
+
export declare function ServerInfoAggregatorModeEnabledToJSON(json: any): any;
|
|
21
|
+
export declare function ServerInfoAggregatorModeEnabledToJSONTyped(value?: ServerInfoAggregatorModeEnabled | null, ignoreDiscriminator?: boolean): any;
|