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,132 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the Basic Meeting List Toolbox (BMLT) Semantic Interface for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **PHP array syntax** — repeatable array parameters use trailing `[]` in the name (`weekdays[]=2&weekdays[]=3`). The parameter names in this spec preserve the brackets so generated clients emit them. - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Format
|
|
20
|
+
*/
|
|
21
|
+
export interface Format {
|
|
22
|
+
[key: string]: any | any;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof Format
|
|
27
|
+
*/
|
|
28
|
+
keyString?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Format
|
|
33
|
+
*/
|
|
34
|
+
nameString?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Format
|
|
39
|
+
*/
|
|
40
|
+
descriptionString?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof Format
|
|
45
|
+
*/
|
|
46
|
+
lang?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof Format
|
|
51
|
+
*/
|
|
52
|
+
id?: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof Format
|
|
57
|
+
*/
|
|
58
|
+
worldId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Aggregator mode only.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof Format
|
|
63
|
+
*/
|
|
64
|
+
rootServerId?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Aggregator mode only.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof Format
|
|
69
|
+
*/
|
|
70
|
+
rootServerUri?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Format
|
|
75
|
+
*/
|
|
76
|
+
formatTypeEnum?: string;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the Format interface.
|
|
81
|
+
*/
|
|
82
|
+
export function instanceOfFormat(value: object): value is Format {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function FormatFromJSON(json: any): Format {
|
|
87
|
+
return FormatFromJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function FormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Format {
|
|
91
|
+
if (json == null) {
|
|
92
|
+
return json;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
...json,
|
|
97
|
+
'keyString': json['key_string'] == null ? undefined : json['key_string'],
|
|
98
|
+
'nameString': json['name_string'] == null ? undefined : json['name_string'],
|
|
99
|
+
'descriptionString': json['description_string'] == null ? undefined : json['description_string'],
|
|
100
|
+
'lang': json['lang'] == null ? undefined : json['lang'],
|
|
101
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
102
|
+
'worldId': json['world_id'] == null ? undefined : json['world_id'],
|
|
103
|
+
'rootServerId': json['root_server_id'] == null ? undefined : json['root_server_id'],
|
|
104
|
+
'rootServerUri': json['root_server_uri'] == null ? undefined : json['root_server_uri'],
|
|
105
|
+
'formatTypeEnum': json['format_type_enum'] == null ? undefined : json['format_type_enum'],
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function FormatToJSON(json: any): Format {
|
|
110
|
+
return FormatToJSONTyped(json, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function FormatToJSONTyped(value?: Format | null, ignoreDiscriminator: boolean = false): any {
|
|
114
|
+
if (value == null) {
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return {
|
|
119
|
+
|
|
120
|
+
...value,
|
|
121
|
+
'key_string': value['keyString'],
|
|
122
|
+
'name_string': value['nameString'],
|
|
123
|
+
'description_string': value['descriptionString'],
|
|
124
|
+
'lang': value['lang'],
|
|
125
|
+
'id': value['id'],
|
|
126
|
+
'world_id': value['worldId'],
|
|
127
|
+
'root_server_id': value['rootServerId'],
|
|
128
|
+
'root_server_uri': value['rootServerUri'],
|
|
129
|
+
'format_type_enum': value['formatTypeEnum'],
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetCoverageArea200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface GetCoverageArea200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof GetCoverageArea200Response
|
|
26
|
+
*/
|
|
27
|
+
nwCornerLongitude?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof GetCoverageArea200Response
|
|
32
|
+
*/
|
|
33
|
+
nwCornerLatitude?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof GetCoverageArea200Response
|
|
38
|
+
*/
|
|
39
|
+
seCornerLongitude?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof GetCoverageArea200Response
|
|
44
|
+
*/
|
|
45
|
+
seCornerLatitude?: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the GetCoverageArea200Response interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfGetCoverageArea200Response(value: object): value is GetCoverageArea200Response {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function GetCoverageArea200ResponseFromJSON(json: any): GetCoverageArea200Response {
|
|
56
|
+
return GetCoverageArea200ResponseFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function GetCoverageArea200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCoverageArea200Response {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'nwCornerLongitude': json['nw_corner_longitude'] == null ? undefined : json['nw_corner_longitude'],
|
|
66
|
+
'nwCornerLatitude': json['nw_corner_latitude'] == null ? undefined : json['nw_corner_latitude'],
|
|
67
|
+
'seCornerLongitude': json['se_corner_longitude'] == null ? undefined : json['se_corner_longitude'],
|
|
68
|
+
'seCornerLatitude': json['se_corner_latitude'] == null ? undefined : json['se_corner_latitude'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function GetCoverageArea200ResponseToJSON(json: any): GetCoverageArea200Response {
|
|
73
|
+
return GetCoverageArea200ResponseToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function GetCoverageArea200ResponseToJSONTyped(value?: GetCoverageArea200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'nw_corner_longitude': value['nwCornerLongitude'],
|
|
84
|
+
'nw_corner_latitude': value['nwCornerLatitude'],
|
|
85
|
+
'se_corner_longitude': value['seCornerLongitude'],
|
|
86
|
+
'se_corner_latitude': value['seCornerLatitude'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetFieldKeys200ResponseInner
|
|
20
|
+
*/
|
|
21
|
+
export interface GetFieldKeys200ResponseInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetFieldKeys200ResponseInner
|
|
26
|
+
*/
|
|
27
|
+
key?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetFieldKeys200ResponseInner
|
|
32
|
+
*/
|
|
33
|
+
description?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the GetFieldKeys200ResponseInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfGetFieldKeys200ResponseInner(value: object): value is GetFieldKeys200ResponseInner {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function GetFieldKeys200ResponseInnerFromJSON(json: any): GetFieldKeys200ResponseInner {
|
|
44
|
+
return GetFieldKeys200ResponseInnerFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function GetFieldKeys200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFieldKeys200ResponseInner {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
54
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GetFieldKeys200ResponseInnerToJSON(json: any): GetFieldKeys200ResponseInner {
|
|
59
|
+
return GetFieldKeys200ResponseInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function GetFieldKeys200ResponseInnerToJSONTyped(value?: GetFieldKeys200ResponseInner | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'key': value['key'],
|
|
70
|
+
'description': value['description'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface GetFieldValues200ResponseInner
|
|
20
|
+
*/
|
|
21
|
+
export interface GetFieldValues200ResponseInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GetFieldValues200ResponseInner
|
|
26
|
+
*/
|
|
27
|
+
ids?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GetFieldValues200ResponseInner
|
|
32
|
+
*/
|
|
33
|
+
meetingKeyValue?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the GetFieldValues200ResponseInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfGetFieldValues200ResponseInner(value: object): value is GetFieldValues200ResponseInner {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function GetFieldValues200ResponseInnerFromJSON(json: any): GetFieldValues200ResponseInner {
|
|
44
|
+
return GetFieldValues200ResponseInnerFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function GetFieldValues200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFieldValues200ResponseInner {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'ids': json['ids'] == null ? undefined : json['ids'],
|
|
54
|
+
'meetingKeyValue': json['meeting_key_value'] == null ? undefined : json['meeting_key_value'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GetFieldValues200ResponseInnerToJSON(json: any): GetFieldValues200ResponseInner {
|
|
59
|
+
return GetFieldValues200ResponseInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function GetFieldValues200ResponseInnerToJSONTyped(value?: GetFieldValues200ResponseInner | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'ids': value['ids'],
|
|
70
|
+
'meeting_key_value': value['meetingKeyValue'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import type { SemanticFormat } from './SemanticFormat';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfSemanticFormat,
|
|
18
|
+
SemanticFormatFromJSON,
|
|
19
|
+
SemanticFormatFromJSONTyped,
|
|
20
|
+
SemanticFormatToJSON,
|
|
21
|
+
} from './SemanticFormat';
|
|
22
|
+
import type { SemanticMeeting } from './SemanticMeeting';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfSemanticMeeting,
|
|
25
|
+
SemanticMeetingFromJSON,
|
|
26
|
+
SemanticMeetingFromJSONTyped,
|
|
27
|
+
SemanticMeetingToJSON,
|
|
28
|
+
} from './SemanticMeeting';
|
|
29
|
+
import type { GetSearchResults200ResponseOneOf } from './GetSearchResults200ResponseOneOf';
|
|
30
|
+
import {
|
|
31
|
+
instanceOfGetSearchResults200ResponseOneOf,
|
|
32
|
+
GetSearchResults200ResponseOneOfFromJSON,
|
|
33
|
+
GetSearchResults200ResponseOneOfFromJSONTyped,
|
|
34
|
+
GetSearchResults200ResponseOneOfToJSON,
|
|
35
|
+
} from './GetSearchResults200ResponseOneOf';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type GetSearchResults200Response
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export type GetSearchResults200Response = Array<SemanticFormat> | Array<SemanticMeeting> | GetSearchResults200ResponseOneOf;
|
|
43
|
+
|
|
44
|
+
export function GetSearchResults200ResponseFromJSON(json: any): GetSearchResults200Response {
|
|
45
|
+
return GetSearchResults200ResponseFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function GetSearchResults200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSearchResults200Response {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
if (typeof json !== 'object') {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
if (instanceOfGetSearchResults200ResponseOneOf(json)) {
|
|
56
|
+
return GetSearchResults200ResponseOneOfFromJSONTyped(json, true);
|
|
57
|
+
}
|
|
58
|
+
if (Array.isArray(json)) {
|
|
59
|
+
if (json.every(item => typeof item === 'object')) {
|
|
60
|
+
if (json.every(item => instanceOfSemanticFormat(item))) {
|
|
61
|
+
return json.map(value => SemanticFormatFromJSONTyped(value, true));
|
|
62
|
+
}
|
|
63
|
+
if (json.every(item => instanceOfSemanticMeeting(item))) {
|
|
64
|
+
return json.map(value => SemanticMeetingFromJSONTyped(value, true));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {} as any;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function GetSearchResults200ResponseToJSON(json: any): any {
|
|
73
|
+
return GetSearchResults200ResponseToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function GetSearchResults200ResponseToJSONTyped(value?: GetSearchResults200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
if (typeof value !== 'object') {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
if (instanceOfGetSearchResults200ResponseOneOf(value)) {
|
|
84
|
+
return GetSearchResults200ResponseOneOfToJSON(value as GetSearchResults200ResponseOneOf);
|
|
85
|
+
}
|
|
86
|
+
if (Array.isArray(value)) {
|
|
87
|
+
if (value.every(item => typeof item === 'object')) {
|
|
88
|
+
if (value.every(item => instanceOfSemanticFormat(item))) {
|
|
89
|
+
return value.map(value => SemanticFormatToJSON(value as SemanticFormat));
|
|
90
|
+
}
|
|
91
|
+
if (value.every(item => instanceOfSemanticMeeting(item))) {
|
|
92
|
+
return value.map(value => SemanticMeetingToJSON(value as SemanticMeeting));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {};
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* BMLT Semantic API
|
|
5
|
+
* OpenAPI description of the BMLT Semantic Interface (the read-only meeting-query API) for the JSON data format. The semantic interface dispatches all operations from a single endpoint (`/client_interface/json/`) using a `switcher` query parameter. To keep each operation discoverable, this spec models each `switcher` value as a distinct path key with the query string baked in. Tools such as Swagger UI, Redoc, and openapi-generator handle these path keys correctly even though the OpenAPI spec technically expects unique URL paths. ### Things that do not map cleanly onto OpenAPI - **Sign-as-operator** — many filters (`formats`, `services`, `weekdays`, `venue_types`, `meeting_ids`, `root_server_ids`, `format_ids`) use *positive* values to include and *negative* values to exclude. JSON Schema cannot enforce that semantics; it is documented per parameter. - **Cross-parameter constraints** — in aggregator mode `GetSearchResults` requires at least one filter parameter. Invalid combinations typically return an empty array `[]` instead of an HTTP error. - **Empty-array errors** — many endpoints return `[]` for invalid input rather than a 4xx response body.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SemanticFormat } from './SemanticFormat';
|
|
17
|
+
import {
|
|
18
|
+
SemanticFormatFromJSON,
|
|
19
|
+
SemanticFormatFromJSONTyped,
|
|
20
|
+
SemanticFormatToJSON,
|
|
21
|
+
SemanticFormatToJSONTyped,
|
|
22
|
+
} from './SemanticFormat';
|
|
23
|
+
import type { SemanticMeeting } from './SemanticMeeting';
|
|
24
|
+
import {
|
|
25
|
+
SemanticMeetingFromJSON,
|
|
26
|
+
SemanticMeetingFromJSONTyped,
|
|
27
|
+
SemanticMeetingToJSON,
|
|
28
|
+
SemanticMeetingToJSONTyped,
|
|
29
|
+
} from './SemanticMeeting';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface GetSearchResults200ResponseOneOf
|
|
35
|
+
*/
|
|
36
|
+
export interface GetSearchResults200ResponseOneOf {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<SemanticMeeting>}
|
|
40
|
+
* @memberof GetSearchResults200ResponseOneOf
|
|
41
|
+
*/
|
|
42
|
+
meetings?: Array<SemanticMeeting>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<SemanticFormat>}
|
|
46
|
+
* @memberof GetSearchResults200ResponseOneOf
|
|
47
|
+
*/
|
|
48
|
+
formats?: Array<SemanticFormat>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the GetSearchResults200ResponseOneOf interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfGetSearchResults200ResponseOneOf(value: object): value is GetSearchResults200ResponseOneOf {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function GetSearchResults200ResponseOneOfFromJSON(json: any): GetSearchResults200ResponseOneOf {
|
|
59
|
+
return GetSearchResults200ResponseOneOfFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function GetSearchResults200ResponseOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSearchResults200ResponseOneOf {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'meetings': json['meetings'] == null ? undefined : ((json['meetings'] as Array<any>).map(SemanticMeetingFromJSON)),
|
|
69
|
+
'formats': json['formats'] == null ? undefined : ((json['formats'] as Array<any>).map(SemanticFormatFromJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function GetSearchResults200ResponseOneOfToJSON(json: any): GetSearchResults200ResponseOneOf {
|
|
74
|
+
return GetSearchResults200ResponseOneOfToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function GetSearchResults200ResponseOneOfToJSONTyped(value?: GetSearchResults200ResponseOneOf | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'meetings': value['meetings'] == null ? undefined : ((value['meetings'] as Array<any>).map(SemanticMeetingToJSON)),
|
|
85
|
+
'formats': value['formats'] == null ? undefined : ((value['formats'] as Array<any>).map(SemanticFormatToJSON)),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|