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,50 @@
|
|
|
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 GetCoverageArea200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCoverageArea200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetCoverageArea200Response
|
|
22
|
+
*/
|
|
23
|
+
nwCornerLongitude?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetCoverageArea200Response
|
|
28
|
+
*/
|
|
29
|
+
nwCornerLatitude?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetCoverageArea200Response
|
|
34
|
+
*/
|
|
35
|
+
seCornerLongitude?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetCoverageArea200Response
|
|
40
|
+
*/
|
|
41
|
+
seCornerLatitude?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetCoverageArea200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetCoverageArea200Response(value: object): value is GetCoverageArea200Response;
|
|
47
|
+
export declare function GetCoverageArea200ResponseFromJSON(json: any): GetCoverageArea200Response;
|
|
48
|
+
export declare function GetCoverageArea200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCoverageArea200Response;
|
|
49
|
+
export declare function GetCoverageArea200ResponseToJSON(json: any): GetCoverageArea200Response;
|
|
50
|
+
export declare function GetCoverageArea200ResponseToJSONTyped(value?: GetCoverageArea200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfGetCoverageArea200Response = instanceOfGetCoverageArea200Response;
|
|
17
|
+
exports.GetCoverageArea200ResponseFromJSON = GetCoverageArea200ResponseFromJSON;
|
|
18
|
+
exports.GetCoverageArea200ResponseFromJSONTyped = GetCoverageArea200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetCoverageArea200ResponseToJSON = GetCoverageArea200ResponseToJSON;
|
|
20
|
+
exports.GetCoverageArea200ResponseToJSONTyped = GetCoverageArea200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetCoverageArea200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetCoverageArea200Response(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GetCoverageArea200ResponseFromJSON(json) {
|
|
28
|
+
return GetCoverageArea200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GetCoverageArea200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'nwCornerLongitude': json['nw_corner_longitude'] == null ? undefined : json['nw_corner_longitude'],
|
|
36
|
+
'nwCornerLatitude': json['nw_corner_latitude'] == null ? undefined : json['nw_corner_latitude'],
|
|
37
|
+
'seCornerLongitude': json['se_corner_longitude'] == null ? undefined : json['se_corner_longitude'],
|
|
38
|
+
'seCornerLatitude': json['se_corner_latitude'] == null ? undefined : json['se_corner_latitude'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GetCoverageArea200ResponseToJSON(json) {
|
|
42
|
+
return GetCoverageArea200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetCoverageArea200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'nw_corner_longitude': value['nwCornerLongitude'],
|
|
50
|
+
'nw_corner_latitude': value['nwCornerLatitude'],
|
|
51
|
+
'se_corner_longitude': value['seCornerLongitude'],
|
|
52
|
+
'se_corner_latitude': value['seCornerLatitude'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 GetFieldKeys200ResponseInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetFieldKeys200ResponseInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetFieldKeys200ResponseInner
|
|
22
|
+
*/
|
|
23
|
+
key?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetFieldKeys200ResponseInner
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetFieldKeys200ResponseInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetFieldKeys200ResponseInner(value: object): value is GetFieldKeys200ResponseInner;
|
|
35
|
+
export declare function GetFieldKeys200ResponseInnerFromJSON(json: any): GetFieldKeys200ResponseInner;
|
|
36
|
+
export declare function GetFieldKeys200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFieldKeys200ResponseInner;
|
|
37
|
+
export declare function GetFieldKeys200ResponseInnerToJSON(json: any): GetFieldKeys200ResponseInner;
|
|
38
|
+
export declare function GetFieldKeys200ResponseInnerToJSONTyped(value?: GetFieldKeys200ResponseInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetFieldKeys200ResponseInner = instanceOfGetFieldKeys200ResponseInner;
|
|
17
|
+
exports.GetFieldKeys200ResponseInnerFromJSON = GetFieldKeys200ResponseInnerFromJSON;
|
|
18
|
+
exports.GetFieldKeys200ResponseInnerFromJSONTyped = GetFieldKeys200ResponseInnerFromJSONTyped;
|
|
19
|
+
exports.GetFieldKeys200ResponseInnerToJSON = GetFieldKeys200ResponseInnerToJSON;
|
|
20
|
+
exports.GetFieldKeys200ResponseInnerToJSONTyped = GetFieldKeys200ResponseInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetFieldKeys200ResponseInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetFieldKeys200ResponseInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GetFieldKeys200ResponseInnerFromJSON(json) {
|
|
28
|
+
return GetFieldKeys200ResponseInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GetFieldKeys200ResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GetFieldKeys200ResponseInnerToJSON(json) {
|
|
40
|
+
return GetFieldKeys200ResponseInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function GetFieldKeys200ResponseInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'key': value['key'],
|
|
48
|
+
'description': value['description'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 GetFieldValues200ResponseInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetFieldValues200ResponseInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetFieldValues200ResponseInner
|
|
22
|
+
*/
|
|
23
|
+
ids?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetFieldValues200ResponseInner
|
|
28
|
+
*/
|
|
29
|
+
meetingKeyValue?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetFieldValues200ResponseInner interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetFieldValues200ResponseInner(value: object): value is GetFieldValues200ResponseInner;
|
|
35
|
+
export declare function GetFieldValues200ResponseInnerFromJSON(json: any): GetFieldValues200ResponseInner;
|
|
36
|
+
export declare function GetFieldValues200ResponseInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetFieldValues200ResponseInner;
|
|
37
|
+
export declare function GetFieldValues200ResponseInnerToJSON(json: any): GetFieldValues200ResponseInner;
|
|
38
|
+
export declare function GetFieldValues200ResponseInnerToJSONTyped(value?: GetFieldValues200ResponseInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetFieldValues200ResponseInner = instanceOfGetFieldValues200ResponseInner;
|
|
17
|
+
exports.GetFieldValues200ResponseInnerFromJSON = GetFieldValues200ResponseInnerFromJSON;
|
|
18
|
+
exports.GetFieldValues200ResponseInnerFromJSONTyped = GetFieldValues200ResponseInnerFromJSONTyped;
|
|
19
|
+
exports.GetFieldValues200ResponseInnerToJSON = GetFieldValues200ResponseInnerToJSON;
|
|
20
|
+
exports.GetFieldValues200ResponseInnerToJSONTyped = GetFieldValues200ResponseInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetFieldValues200ResponseInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetFieldValues200ResponseInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function GetFieldValues200ResponseInnerFromJSON(json) {
|
|
28
|
+
return GetFieldValues200ResponseInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function GetFieldValues200ResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'ids': json['ids'] == null ? undefined : json['ids'],
|
|
36
|
+
'meetingKeyValue': json['meeting_key_value'] == null ? undefined : json['meeting_key_value'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GetFieldValues200ResponseInnerToJSON(json) {
|
|
40
|
+
return GetFieldValues200ResponseInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function GetFieldValues200ResponseInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'ids': value['ids'],
|
|
48
|
+
'meeting_key_value': value['meetingKeyValue'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { SemanticFormat } from './SemanticFormat';
|
|
13
|
+
import type { SemanticMeeting } from './SemanticMeeting';
|
|
14
|
+
import type { GetSearchResults200ResponseOneOf } from './GetSearchResults200ResponseOneOf';
|
|
15
|
+
/**
|
|
16
|
+
* @type GetSearchResults200Response
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type GetSearchResults200Response = Array<SemanticFormat> | Array<SemanticMeeting> | GetSearchResults200ResponseOneOf;
|
|
21
|
+
export declare function GetSearchResults200ResponseFromJSON(json: any): GetSearchResults200Response;
|
|
22
|
+
export declare function GetSearchResults200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSearchResults200Response;
|
|
23
|
+
export declare function GetSearchResults200ResponseToJSON(json: any): any;
|
|
24
|
+
export declare function GetSearchResults200ResponseToJSONTyped(value?: GetSearchResults200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.GetSearchResults200ResponseFromJSON = GetSearchResults200ResponseFromJSON;
|
|
17
|
+
exports.GetSearchResults200ResponseFromJSONTyped = GetSearchResults200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetSearchResults200ResponseToJSON = GetSearchResults200ResponseToJSON;
|
|
19
|
+
exports.GetSearchResults200ResponseToJSONTyped = GetSearchResults200ResponseToJSONTyped;
|
|
20
|
+
const SemanticFormat_1 = require("./SemanticFormat");
|
|
21
|
+
const SemanticMeeting_1 = require("./SemanticMeeting");
|
|
22
|
+
const GetSearchResults200ResponseOneOf_1 = require("./GetSearchResults200ResponseOneOf");
|
|
23
|
+
function GetSearchResults200ResponseFromJSON(json) {
|
|
24
|
+
return GetSearchResults200ResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
function GetSearchResults200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json !== 'object') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if ((0, GetSearchResults200ResponseOneOf_1.instanceOfGetSearchResults200ResponseOneOf)(json)) {
|
|
34
|
+
return (0, GetSearchResults200ResponseOneOf_1.GetSearchResults200ResponseOneOfFromJSONTyped)(json, true);
|
|
35
|
+
}
|
|
36
|
+
if (Array.isArray(json)) {
|
|
37
|
+
if (json.every(item => typeof item === 'object')) {
|
|
38
|
+
if (json.every(item => (0, SemanticFormat_1.instanceOfSemanticFormat)(item))) {
|
|
39
|
+
return json.map(value => (0, SemanticFormat_1.SemanticFormatFromJSONTyped)(value, true));
|
|
40
|
+
}
|
|
41
|
+
if (json.every(item => (0, SemanticMeeting_1.instanceOfSemanticMeeting)(item))) {
|
|
42
|
+
return json.map(value => (0, SemanticMeeting_1.SemanticMeetingFromJSONTyped)(value, true));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
function GetSearchResults200ResponseToJSON(json) {
|
|
50
|
+
return GetSearchResults200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetSearchResults200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
if (typeof value !== 'object') {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
if ((0, GetSearchResults200ResponseOneOf_1.instanceOfGetSearchResults200ResponseOneOf)(value)) {
|
|
60
|
+
return (0, GetSearchResults200ResponseOneOf_1.GetSearchResults200ResponseOneOfToJSON)(value);
|
|
61
|
+
}
|
|
62
|
+
if (Array.isArray(value)) {
|
|
63
|
+
if (value.every(item => typeof item === 'object')) {
|
|
64
|
+
if (value.every(item => (0, SemanticFormat_1.instanceOfSemanticFormat)(item))) {
|
|
65
|
+
return value.map(value => (0, SemanticFormat_1.SemanticFormatToJSON)(value));
|
|
66
|
+
}
|
|
67
|
+
if (value.every(item => (0, SemanticMeeting_1.instanceOfSemanticMeeting)(item))) {
|
|
68
|
+
return value.map(value => (0, SemanticMeeting_1.SemanticMeetingToJSON)(value));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {};
|
|
74
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { SemanticFormat } from './SemanticFormat';
|
|
13
|
+
import type { SemanticMeeting } from './SemanticMeeting';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetSearchResults200ResponseOneOf
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSearchResults200ResponseOneOf {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<SemanticMeeting>}
|
|
23
|
+
* @memberof GetSearchResults200ResponseOneOf
|
|
24
|
+
*/
|
|
25
|
+
meetings?: Array<SemanticMeeting>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SemanticFormat>}
|
|
29
|
+
* @memberof GetSearchResults200ResponseOneOf
|
|
30
|
+
*/
|
|
31
|
+
formats?: Array<SemanticFormat>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetSearchResults200ResponseOneOf interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetSearchResults200ResponseOneOf(value: object): value is GetSearchResults200ResponseOneOf;
|
|
37
|
+
export declare function GetSearchResults200ResponseOneOfFromJSON(json: any): GetSearchResults200ResponseOneOf;
|
|
38
|
+
export declare function GetSearchResults200ResponseOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSearchResults200ResponseOneOf;
|
|
39
|
+
export declare function GetSearchResults200ResponseOneOfToJSON(json: any): GetSearchResults200ResponseOneOf;
|
|
40
|
+
export declare function GetSearchResults200ResponseOneOfToJSONTyped(value?: GetSearchResults200ResponseOneOf | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfGetSearchResults200ResponseOneOf = instanceOfGetSearchResults200ResponseOneOf;
|
|
17
|
+
exports.GetSearchResults200ResponseOneOfFromJSON = GetSearchResults200ResponseOneOfFromJSON;
|
|
18
|
+
exports.GetSearchResults200ResponseOneOfFromJSONTyped = GetSearchResults200ResponseOneOfFromJSONTyped;
|
|
19
|
+
exports.GetSearchResults200ResponseOneOfToJSON = GetSearchResults200ResponseOneOfToJSON;
|
|
20
|
+
exports.GetSearchResults200ResponseOneOfToJSONTyped = GetSearchResults200ResponseOneOfToJSONTyped;
|
|
21
|
+
const SemanticFormat_1 = require("./SemanticFormat");
|
|
22
|
+
const SemanticMeeting_1 = require("./SemanticMeeting");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetSearchResults200ResponseOneOf interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetSearchResults200ResponseOneOf(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetSearchResults200ResponseOneOfFromJSON(json) {
|
|
30
|
+
return GetSearchResults200ResponseOneOfFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetSearchResults200ResponseOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'meetings': json['meetings'] == null ? undefined : (json['meetings'].map(SemanticMeeting_1.SemanticMeetingFromJSON)),
|
|
38
|
+
'formats': json['formats'] == null ? undefined : (json['formats'].map(SemanticFormat_1.SemanticFormatFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GetSearchResults200ResponseOneOfToJSON(json) {
|
|
42
|
+
return GetSearchResults200ResponseOneOfToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetSearchResults200ResponseOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'meetings': value['meetings'] == null ? undefined : (value['meetings'].map(SemanticMeeting_1.SemanticMeetingToJSON)),
|
|
50
|
+
'formats': value['formats'] == null ? undefined : (value['formats'].map(SemanticFormat_1.SemanticFormatToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|