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,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,43 @@
|
|
|
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
|
+
export function SemanticServerInfoAggregatorModeEnabledFromJSON(json) {
|
|
15
|
+
return SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function SemanticServerInfoAggregatorModeEnabledFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if (json == null) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
if (typeof json === 'string') {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json === 'boolean') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
export function SemanticServerInfoAggregatorModeEnabledToJSON(json) {
|
|
30
|
+
return SemanticServerInfoAggregatorModeEnabledToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticServerInfoAggregatorModeEnabledToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
if (typeof value === 'string') {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
if (typeof value === 'boolean') {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
@@ -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,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 SemanticServiceBody interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSemanticServiceBody(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SemanticServiceBodyFromJSON(json) {
|
|
21
|
+
return SemanticServiceBodyFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SemanticServiceBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
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'] });
|
|
28
|
+
}
|
|
29
|
+
export function SemanticServiceBodyToJSON(json) {
|
|
30
|
+
return SemanticServiceBodyToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function SemanticServiceBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
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'] });
|
|
37
|
+
}
|
|
@@ -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,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ServerInfoAggregatorModeEnabledFromJSON, ServerInfoAggregatorModeEnabledToJSON, } from './ServerInfoAggregatorModeEnabled';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ServerInfoDistanceUnitsEnum = {
|
|
19
|
+
Mi: 'mi',
|
|
20
|
+
Km: 'km'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ServerInfo interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfServerInfo(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function ServerInfoFromJSON(json) {
|
|
29
|
+
return ServerInfoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function ServerInfoFromJSONTyped(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 : ServerInfoAggregatorModeEnabledFromJSON(json['aggregator_mode_enabled']) });
|
|
36
|
+
}
|
|
37
|
+
export function ServerInfoToJSON(json) {
|
|
38
|
+
return ServerInfoToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ServerInfoToJSONTyped(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': ServerInfoAggregatorModeEnabledToJSON(value['aggregatorModeEnabled']) });
|
|
45
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export function ServerInfoAggregatorModeEnabledFromJSON(json) {
|
|
15
|
+
return ServerInfoAggregatorModeEnabledFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function ServerInfoAggregatorModeEnabledFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if (json == null) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
if (typeof json === 'string') {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json === 'boolean') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
export function ServerInfoAggregatorModeEnabledToJSON(json) {
|
|
30
|
+
return ServerInfoAggregatorModeEnabledToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ServerInfoAggregatorModeEnabledToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
if (typeof value === 'string') {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
if (typeof value === 'boolean') {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BMLT Semantic API
|
|
3
|
+
* OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ServiceBody
|
|
16
|
+
*/
|
|
17
|
+
export interface ServiceBody {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ServiceBody
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ServiceBody
|
|
29
|
+
*/
|
|
30
|
+
parentId?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ServiceBody
|
|
35
|
+
*/
|
|
36
|
+
name?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ServiceBody
|
|
41
|
+
*/
|
|
42
|
+
description?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ServiceBody
|
|
47
|
+
*/
|
|
48
|
+
type?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ServiceBody
|
|
53
|
+
*/
|
|
54
|
+
url?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ServiceBody
|
|
59
|
+
*/
|
|
60
|
+
helpline?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ServiceBody
|
|
65
|
+
*/
|
|
66
|
+
worldId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Aggregator mode only.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ServiceBody
|
|
71
|
+
*/
|
|
72
|
+
rootServerId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Aggregator mode only.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ServiceBody
|
|
77
|
+
*/
|
|
78
|
+
rootServerUri?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the ServiceBody interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfServiceBody(value: object): value is ServiceBody;
|
|
84
|
+
export declare function ServiceBodyFromJSON(json: any): ServiceBody;
|
|
85
|
+
export declare function ServiceBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceBody;
|
|
86
|
+
export declare function ServiceBodyToJSON(json: any): ServiceBody;
|
|
87
|
+
export declare function ServiceBodyToJSONTyped(value?: ServiceBody | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ServiceBody interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfServiceBody(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ServiceBodyFromJSON(json) {
|
|
21
|
+
return ServiceBodyFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ServiceBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
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'] });
|
|
28
|
+
}
|
|
29
|
+
export function ServiceBodyToJSON(json) {
|
|
30
|
+
return ServiceBodyToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ServiceBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
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'] });
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './GetCoverageArea200Response';
|
|
2
|
+
export * from './GetFieldKeys200ResponseInner';
|
|
3
|
+
export * from './GetFieldValues200ResponseInner';
|
|
4
|
+
export * from './GetSearchResults200Response';
|
|
5
|
+
export * from './GetSearchResults200ResponseOneOf';
|
|
6
|
+
export * from './SemanticError';
|
|
7
|
+
export * from './SemanticFormat';
|
|
8
|
+
export * from './SemanticMeeting';
|
|
9
|
+
export * from './SemanticMeetingChange';
|
|
10
|
+
export * from './SemanticServerInfo';
|
|
11
|
+
export * from './SemanticServerInfoAggregatorModeEnabled';
|
|
12
|
+
export * from './SemanticServiceBody';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './GetCoverageArea200Response';
|
|
4
|
+
export * from './GetFieldKeys200ResponseInner';
|
|
5
|
+
export * from './GetFieldValues200ResponseInner';
|
|
6
|
+
export * from './GetSearchResults200Response';
|
|
7
|
+
export * from './GetSearchResults200ResponseOneOf';
|
|
8
|
+
export * from './SemanticError';
|
|
9
|
+
export * from './SemanticFormat';
|
|
10
|
+
export * from './SemanticMeeting';
|
|
11
|
+
export * from './SemanticMeetingChange';
|
|
12
|
+
export * from './SemanticServerInfo';
|
|
13
|
+
export * from './SemanticServerInfoAggregatorModeEnabled';
|
|
14
|
+
export * from './SemanticServiceBody';
|