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.
Files changed (174) hide show
  1. package/.github/workflows/release.yml +25 -0
  2. package/.openapi-generator/FILES +44 -0
  3. package/.openapi-generator/VERSION +1 -0
  4. package/.openapi-generator-ignore +23 -0
  5. package/Makefile +31 -0
  6. package/README.md +125 -0
  7. package/dist/apis/FieldsApi.d.ts +56 -0
  8. package/dist/apis/FieldsApi.js +123 -0
  9. package/dist/apis/FormatsApi.d.ts +44 -0
  10. package/dist/apis/FormatsApi.js +87 -0
  11. package/dist/apis/MeetingsApi.d.ts +157 -0
  12. package/dist/apis/MeetingsApi.js +288 -0
  13. package/dist/apis/ServerApi.d.ts +43 -0
  14. package/dist/apis/ServerApi.js +104 -0
  15. package/dist/apis/ServiceBodiesApi.d.ts +51 -0
  16. package/dist/apis/ServiceBodiesApi.js +91 -0
  17. package/dist/apis/index.d.ts +5 -0
  18. package/dist/apis/index.js +23 -0
  19. package/dist/esm/apis/FieldsApi.d.ts +56 -0
  20. package/dist/esm/apis/FieldsApi.js +119 -0
  21. package/dist/esm/apis/FormatsApi.d.ts +44 -0
  22. package/dist/esm/apis/FormatsApi.js +83 -0
  23. package/dist/esm/apis/MeetingsApi.d.ts +157 -0
  24. package/dist/esm/apis/MeetingsApi.js +284 -0
  25. package/dist/esm/apis/ServerApi.d.ts +43 -0
  26. package/dist/esm/apis/ServerApi.js +100 -0
  27. package/dist/esm/apis/ServiceBodiesApi.d.ts +51 -0
  28. package/dist/esm/apis/ServiceBodiesApi.js +87 -0
  29. package/dist/esm/apis/index.d.ts +5 -0
  30. package/dist/esm/apis/index.js +7 -0
  31. package/dist/esm/index.d.ts +3 -0
  32. package/dist/esm/index.js +5 -0
  33. package/dist/esm/models/Format.d.ts +81 -0
  34. package/dist/esm/models/Format.js +37 -0
  35. package/dist/esm/models/GetCoverageArea200Response.d.ts +50 -0
  36. package/dist/esm/models/GetCoverageArea200Response.js +47 -0
  37. package/dist/esm/models/GetFieldKeys200ResponseInner.d.ts +38 -0
  38. package/dist/esm/models/GetFieldKeys200ResponseInner.js +43 -0
  39. package/dist/esm/models/GetFieldValues200ResponseInner.d.ts +38 -0
  40. package/dist/esm/models/GetFieldValues200ResponseInner.js +43 -0
  41. package/dist/esm/models/GetSearchResults200Response.d.ts +24 -0
  42. package/dist/esm/models/GetSearchResults200Response.js +68 -0
  43. package/dist/esm/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
  44. package/dist/esm/models/GetSearchResults200ResponseOneOf.js +45 -0
  45. package/dist/esm/models/Meeting.d.ts +255 -0
  46. package/dist/esm/models/Meeting.js +37 -0
  47. package/dist/esm/models/MeetingChange.d.ts +89 -0
  48. package/dist/esm/models/MeetingChange.js +37 -0
  49. package/dist/esm/models/ModelError.d.ts +33 -0
  50. package/dist/esm/models/ModelError.js +37 -0
  51. package/dist/esm/models/SemanticError.d.ts +33 -0
  52. package/dist/esm/models/SemanticError.js +37 -0
  53. package/dist/esm/models/SemanticFormat.d.ts +81 -0
  54. package/dist/esm/models/SemanticFormat.js +37 -0
  55. package/dist/esm/models/SemanticMeeting.d.ts +255 -0
  56. package/dist/esm/models/SemanticMeeting.js +37 -0
  57. package/dist/esm/models/SemanticMeetingChange.d.ts +89 -0
  58. package/dist/esm/models/SemanticMeetingChange.js +37 -0
  59. package/dist/esm/models/SemanticServerInfo.d.ts +156 -0
  60. package/dist/esm/models/SemanticServerInfo.js +45 -0
  61. package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
  62. package/dist/esm/models/SemanticServerInfoAggregatorModeEnabled.js +43 -0
  63. package/dist/esm/models/SemanticServiceBody.d.ts +87 -0
  64. package/dist/esm/models/SemanticServiceBody.js +37 -0
  65. package/dist/esm/models/ServerInfo.d.ts +156 -0
  66. package/dist/esm/models/ServerInfo.js +45 -0
  67. package/dist/esm/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
  68. package/dist/esm/models/ServerInfoAggregatorModeEnabled.js +43 -0
  69. package/dist/esm/models/ServiceBody.d.ts +87 -0
  70. package/dist/esm/models/ServiceBody.js +37 -0
  71. package/dist/esm/models/index.d.ts +12 -0
  72. package/dist/esm/models/index.js +14 -0
  73. package/dist/esm/runtime.d.ts +184 -0
  74. package/dist/esm/runtime.js +349 -0
  75. package/dist/index.d.ts +3 -0
  76. package/dist/index.js +21 -0
  77. package/dist/models/Format.d.ts +81 -0
  78. package/dist/models/Format.js +44 -0
  79. package/dist/models/GetCoverageArea200Response.d.ts +50 -0
  80. package/dist/models/GetCoverageArea200Response.js +54 -0
  81. package/dist/models/GetFieldKeys200ResponseInner.d.ts +38 -0
  82. package/dist/models/GetFieldKeys200ResponseInner.js +50 -0
  83. package/dist/models/GetFieldValues200ResponseInner.d.ts +38 -0
  84. package/dist/models/GetFieldValues200ResponseInner.js +50 -0
  85. package/dist/models/GetSearchResults200Response.d.ts +24 -0
  86. package/dist/models/GetSearchResults200Response.js +74 -0
  87. package/dist/models/GetSearchResults200ResponseOneOf.d.ts +40 -0
  88. package/dist/models/GetSearchResults200ResponseOneOf.js +52 -0
  89. package/dist/models/Meeting.d.ts +255 -0
  90. package/dist/models/Meeting.js +44 -0
  91. package/dist/models/MeetingChange.d.ts +89 -0
  92. package/dist/models/MeetingChange.js +44 -0
  93. package/dist/models/ModelError.d.ts +33 -0
  94. package/dist/models/ModelError.js +44 -0
  95. package/dist/models/SemanticError.d.ts +33 -0
  96. package/dist/models/SemanticError.js +44 -0
  97. package/dist/models/SemanticFormat.d.ts +81 -0
  98. package/dist/models/SemanticFormat.js +44 -0
  99. package/dist/models/SemanticMeeting.d.ts +255 -0
  100. package/dist/models/SemanticMeeting.js +44 -0
  101. package/dist/models/SemanticMeetingChange.d.ts +89 -0
  102. package/dist/models/SemanticMeetingChange.js +44 -0
  103. package/dist/models/SemanticServerInfo.d.ts +156 -0
  104. package/dist/models/SemanticServerInfo.js +53 -0
  105. package/dist/models/SemanticServerInfoAggregatorModeEnabled.d.ts +21 -0
  106. package/dist/models/SemanticServerInfoAggregatorModeEnabled.js +49 -0
  107. package/dist/models/SemanticServiceBody.d.ts +87 -0
  108. package/dist/models/SemanticServiceBody.js +44 -0
  109. package/dist/models/ServerInfo.d.ts +156 -0
  110. package/dist/models/ServerInfo.js +53 -0
  111. package/dist/models/ServerInfoAggregatorModeEnabled.d.ts +21 -0
  112. package/dist/models/ServerInfoAggregatorModeEnabled.js +49 -0
  113. package/dist/models/ServiceBody.d.ts +87 -0
  114. package/dist/models/ServiceBody.js +44 -0
  115. package/dist/models/index.d.ts +12 -0
  116. package/dist/models/index.js +30 -0
  117. package/dist/runtime.d.ts +184 -0
  118. package/dist/runtime.js +365 -0
  119. package/docs/FieldsApi.md +139 -0
  120. package/docs/Format.md +50 -0
  121. package/docs/FormatsApi.md +83 -0
  122. package/docs/GetCoverageArea200Response.md +40 -0
  123. package/docs/GetFieldKeys200ResponseInner.md +36 -0
  124. package/docs/GetFieldValues200ResponseInner.md +36 -0
  125. package/docs/GetSearchResults200Response.md +36 -0
  126. package/docs/GetSearchResults200ResponseOneOf.md +36 -0
  127. package/docs/Meeting.md +109 -0
  128. package/docs/MeetingChange.md +52 -0
  129. package/docs/MeetingsApi.md +261 -0
  130. package/docs/ModelError.md +34 -0
  131. package/docs/SemanticError.md +34 -0
  132. package/docs/SemanticFormat.md +50 -0
  133. package/docs/SemanticMeeting.md +109 -0
  134. package/docs/SemanticMeetingChange.md +52 -0
  135. package/docs/SemanticServerInfo.md +72 -0
  136. package/docs/SemanticServerInfoAggregatorModeEnabled.md +33 -0
  137. package/docs/SemanticServiceBody.md +52 -0
  138. package/docs/ServerApi.md +124 -0
  139. package/docs/ServerInfo.md +72 -0
  140. package/docs/ServerInfoAggregatorModeEnabled.md +33 -0
  141. package/docs/ServiceBodiesApi.md +80 -0
  142. package/docs/ServiceBody.md +52 -0
  143. package/openapi.json +1 -0
  144. package/package.json +21 -0
  145. package/src/apis/FieldsApi.ts +145 -0
  146. package/src/apis/FormatsApi.ts +96 -0
  147. package/src/apis/MeetingsApi.ts +392 -0
  148. package/src/apis/ServerApi.ts +106 -0
  149. package/src/apis/ServiceBodiesApi.ts +99 -0
  150. package/src/apis/index.ts +7 -0
  151. package/src/index.ts +5 -0
  152. package/src/models/Format.ts +132 -0
  153. package/src/models/GetCoverageArea200Response.ts +89 -0
  154. package/src/models/GetFieldKeys200ResponseInner.ts +73 -0
  155. package/src/models/GetFieldValues200ResponseInner.ts +73 -0
  156. package/src/models/GetSearchResults200Response.ts +99 -0
  157. package/src/models/GetSearchResults200ResponseOneOf.ts +88 -0
  158. package/src/models/Meeting.ts +364 -0
  159. package/src/models/MeetingChange.ts +140 -0
  160. package/src/models/ModelError.ts +68 -0
  161. package/src/models/SemanticError.ts +68 -0
  162. package/src/models/SemanticFormat.ts +132 -0
  163. package/src/models/SemanticMeeting.ts +364 -0
  164. package/src/models/SemanticMeetingChange.ts +140 -0
  165. package/src/models/SemanticServerInfo.ts +239 -0
  166. package/src/models/SemanticServerInfoAggregatorModeEnabled.ts +55 -0
  167. package/src/models/SemanticServiceBody.ts +140 -0
  168. package/src/models/ServerInfo.ts +239 -0
  169. package/src/models/ServerInfoAggregatorModeEnabled.ts +55 -0
  170. package/src/models/ServiceBody.ts +140 -0
  171. package/src/models/index.ts +14 -0
  172. package/src/runtime.ts +449 -0
  173. package/tsconfig.esm.json +7 -0
  174. package/tsconfig.json +16 -0
@@ -0,0 +1,91 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.GetSemanticServiceBodiesParentsEnum = exports.GetSemanticServiceBodiesRecursiveEnum = exports.ServiceBodiesApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const SemanticServiceBody_1 = require("../models/SemanticServiceBody");
28
+ /**
29
+ *
30
+ */
31
+ class ServiceBodiesApi extends runtime.BaseAPI {
32
+ /**
33
+ * Creates request options for getSemanticServiceBodies without sending the request
34
+ */
35
+ getSemanticServiceBodiesRequestOpts(requestParameters) {
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ const queryParameters = {};
38
+ if (requestParameters['services'] != null) {
39
+ queryParameters['services'] = requestParameters['services'];
40
+ }
41
+ if (requestParameters['recursive'] != null) {
42
+ queryParameters['recursive'] = requestParameters['recursive'];
43
+ }
44
+ if (requestParameters['parents'] != null) {
45
+ queryParameters['parents'] = requestParameters['parents'];
46
+ }
47
+ const headerParameters = {};
48
+ let urlPath = `/client_interface/json/?switcher=GetServiceBodies`;
49
+ return {
50
+ path: urlPath,
51
+ method: 'GET',
52
+ headers: headerParameters,
53
+ query: queryParameters,
54
+ };
55
+ });
56
+ }
57
+ /**
58
+ * Get service bodies
59
+ */
60
+ getSemanticServiceBodiesRaw(requestParameters, initOverrides) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ const requestOptions = yield this.getSemanticServiceBodiesRequestOpts(requestParameters);
63
+ const response = yield this.request(requestOptions, initOverrides);
64
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SemanticServiceBody_1.SemanticServiceBodyFromJSON));
65
+ });
66
+ }
67
+ /**
68
+ * Get service bodies
69
+ */
70
+ getSemanticServiceBodies() {
71
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
72
+ const response = yield this.getSemanticServiceBodiesRaw(requestParameters, initOverrides);
73
+ return yield response.value();
74
+ });
75
+ }
76
+ }
77
+ exports.ServiceBodiesApi = ServiceBodiesApi;
78
+ /**
79
+ * @export
80
+ */
81
+ exports.GetSemanticServiceBodiesRecursiveEnum = {
82
+ _0: '0',
83
+ _1: '1'
84
+ };
85
+ /**
86
+ * @export
87
+ */
88
+ exports.GetSemanticServiceBodiesParentsEnum = {
89
+ _0: '0',
90
+ _1: '1'
91
+ };
@@ -0,0 +1,5 @@
1
+ export * from './FieldsApi';
2
+ export * from './FormatsApi';
3
+ export * from './MeetingsApi';
4
+ export * from './ServerApi';
5
+ export * from './ServiceBodiesApi';
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./FieldsApi"), exports);
20
+ __exportStar(require("./FormatsApi"), exports);
21
+ __exportStar(require("./MeetingsApi"), exports);
22
+ __exportStar(require("./ServerApi"), exports);
23
+ __exportStar(require("./ServiceBodiesApi"), exports);
@@ -0,0 +1,56 @@
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 * as runtime from '../runtime';
13
+ import { type GetFieldKeys200ResponseInner } from '../models/GetFieldKeys200ResponseInner';
14
+ import { type GetFieldValues200ResponseInner } from '../models/GetFieldValues200ResponseInner';
15
+ export interface GetFieldValuesRequest {
16
+ meetingKey: string;
17
+ specificFormats?: string;
18
+ allFormats?: GetFieldValuesAllFormatsEnum;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class FieldsApi extends runtime.BaseAPI {
24
+ /**
25
+ * Creates request options for getFieldKeys without sending the request
26
+ */
27
+ getFieldKeysRequestOpts(): Promise<runtime.RequestOpts>;
28
+ /**
29
+ * Get all available field keys
30
+ */
31
+ getFieldKeysRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetFieldKeys200ResponseInner>>>;
32
+ /**
33
+ * Get all available field keys
34
+ */
35
+ getFieldKeys(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetFieldKeys200ResponseInner>>;
36
+ /**
37
+ * Creates request options for getFieldValues without sending the request
38
+ */
39
+ getFieldValuesRequestOpts(requestParameters: GetFieldValuesRequest): Promise<runtime.RequestOpts>;
40
+ /**
41
+ * Get distinct values for a field
42
+ */
43
+ getFieldValuesRaw(requestParameters: GetFieldValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetFieldValues200ResponseInner>>>;
44
+ /**
45
+ * Get distinct values for a field
46
+ */
47
+ getFieldValues(requestParameters: GetFieldValuesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetFieldValues200ResponseInner>>;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const GetFieldValuesAllFormatsEnum: {
53
+ readonly _0: "0";
54
+ readonly _1: "1";
55
+ };
56
+ export type GetFieldValuesAllFormatsEnum = typeof GetFieldValuesAllFormatsEnum[keyof typeof GetFieldValuesAllFormatsEnum];
@@ -0,0 +1,119 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { GetFieldKeys200ResponseInnerFromJSON, } from '../models/GetFieldKeys200ResponseInner';
25
+ import { GetFieldValues200ResponseInnerFromJSON, } from '../models/GetFieldValues200ResponseInner';
26
+ /**
27
+ *
28
+ */
29
+ export class FieldsApi extends runtime.BaseAPI {
30
+ /**
31
+ * Creates request options for getFieldKeys without sending the request
32
+ */
33
+ getFieldKeysRequestOpts() {
34
+ return __awaiter(this, void 0, void 0, function* () {
35
+ const queryParameters = {};
36
+ const headerParameters = {};
37
+ let urlPath = `/client_interface/json/?switcher=GetFieldKeys`;
38
+ return {
39
+ path: urlPath,
40
+ method: 'GET',
41
+ headers: headerParameters,
42
+ query: queryParameters,
43
+ };
44
+ });
45
+ }
46
+ /**
47
+ * Get all available field keys
48
+ */
49
+ getFieldKeysRaw(initOverrides) {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ const requestOptions = yield this.getFieldKeysRequestOpts();
52
+ const response = yield this.request(requestOptions, initOverrides);
53
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GetFieldKeys200ResponseInnerFromJSON));
54
+ });
55
+ }
56
+ /**
57
+ * Get all available field keys
58
+ */
59
+ getFieldKeys(initOverrides) {
60
+ return __awaiter(this, void 0, void 0, function* () {
61
+ const response = yield this.getFieldKeysRaw(initOverrides);
62
+ return yield response.value();
63
+ });
64
+ }
65
+ /**
66
+ * Creates request options for getFieldValues without sending the request
67
+ */
68
+ getFieldValuesRequestOpts(requestParameters) {
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ if (requestParameters['meetingKey'] == null) {
71
+ throw new runtime.RequiredError('meetingKey', 'Required parameter "meetingKey" was null or undefined when calling getFieldValues().');
72
+ }
73
+ const queryParameters = {};
74
+ if (requestParameters['meetingKey'] != null) {
75
+ queryParameters['meeting_key'] = requestParameters['meetingKey'];
76
+ }
77
+ if (requestParameters['specificFormats'] != null) {
78
+ queryParameters['specific_formats'] = requestParameters['specificFormats'];
79
+ }
80
+ if (requestParameters['allFormats'] != null) {
81
+ queryParameters['all_formats'] = requestParameters['allFormats'];
82
+ }
83
+ const headerParameters = {};
84
+ let urlPath = `/client_interface/json/?switcher=GetFieldValues`;
85
+ return {
86
+ path: urlPath,
87
+ method: 'GET',
88
+ headers: headerParameters,
89
+ query: queryParameters,
90
+ };
91
+ });
92
+ }
93
+ /**
94
+ * Get distinct values for a field
95
+ */
96
+ getFieldValuesRaw(requestParameters, initOverrides) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ const requestOptions = yield this.getFieldValuesRequestOpts(requestParameters);
99
+ const response = yield this.request(requestOptions, initOverrides);
100
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GetFieldValues200ResponseInnerFromJSON));
101
+ });
102
+ }
103
+ /**
104
+ * Get distinct values for a field
105
+ */
106
+ getFieldValues(requestParameters, initOverrides) {
107
+ return __awaiter(this, void 0, void 0, function* () {
108
+ const response = yield this.getFieldValuesRaw(requestParameters, initOverrides);
109
+ return yield response.value();
110
+ });
111
+ }
112
+ }
113
+ /**
114
+ * @export
115
+ */
116
+ export const GetFieldValuesAllFormatsEnum = {
117
+ _0: '0',
118
+ _1: '1'
119
+ };
@@ -0,0 +1,44 @@
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 * as runtime from '../runtime';
13
+ import { type SemanticFormat } from '../models/SemanticFormat';
14
+ export interface GetSemanticFormatsRequest {
15
+ langEnum?: string;
16
+ showAll?: GetSemanticFormatsShowAllEnum;
17
+ formatIds?: string;
18
+ keyStrings?: string;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class FormatsApi extends runtime.BaseAPI {
24
+ /**
25
+ * Creates request options for getSemanticFormats without sending the request
26
+ */
27
+ getSemanticFormatsRequestOpts(requestParameters: GetSemanticFormatsRequest): Promise<runtime.RequestOpts>;
28
+ /**
29
+ * Get meeting formats
30
+ */
31
+ getSemanticFormatsRaw(requestParameters: GetSemanticFormatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SemanticFormat>>>;
32
+ /**
33
+ * Get meeting formats
34
+ */
35
+ getSemanticFormats(requestParameters?: GetSemanticFormatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SemanticFormat>>;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const GetSemanticFormatsShowAllEnum: {
41
+ readonly _0: "0";
42
+ readonly _1: "1";
43
+ };
44
+ export type GetSemanticFormatsShowAllEnum = typeof GetSemanticFormatsShowAllEnum[keyof typeof GetSemanticFormatsShowAllEnum];
@@ -0,0 +1,83 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import * as runtime from '../runtime';
24
+ import { SemanticFormatFromJSON, } from '../models/SemanticFormat';
25
+ /**
26
+ *
27
+ */
28
+ export class FormatsApi extends runtime.BaseAPI {
29
+ /**
30
+ * Creates request options for getSemanticFormats without sending the request
31
+ */
32
+ getSemanticFormatsRequestOpts(requestParameters) {
33
+ return __awaiter(this, void 0, void 0, function* () {
34
+ const queryParameters = {};
35
+ if (requestParameters['langEnum'] != null) {
36
+ queryParameters['lang_enum'] = requestParameters['langEnum'];
37
+ }
38
+ if (requestParameters['showAll'] != null) {
39
+ queryParameters['show_all'] = requestParameters['showAll'];
40
+ }
41
+ if (requestParameters['formatIds'] != null) {
42
+ queryParameters['format_ids'] = requestParameters['formatIds'];
43
+ }
44
+ if (requestParameters['keyStrings'] != null) {
45
+ queryParameters['key_strings'] = requestParameters['keyStrings'];
46
+ }
47
+ const headerParameters = {};
48
+ let urlPath = `/client_interface/json/?switcher=GetFormats`;
49
+ return {
50
+ path: urlPath,
51
+ method: 'GET',
52
+ headers: headerParameters,
53
+ query: queryParameters,
54
+ };
55
+ });
56
+ }
57
+ /**
58
+ * Get meeting formats
59
+ */
60
+ getSemanticFormatsRaw(requestParameters, initOverrides) {
61
+ return __awaiter(this, void 0, void 0, function* () {
62
+ const requestOptions = yield this.getSemanticFormatsRequestOpts(requestParameters);
63
+ const response = yield this.request(requestOptions, initOverrides);
64
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SemanticFormatFromJSON));
65
+ });
66
+ }
67
+ /**
68
+ * Get meeting formats
69
+ */
70
+ getSemanticFormats() {
71
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
72
+ const response = yield this.getSemanticFormatsRaw(requestParameters, initOverrides);
73
+ return yield response.value();
74
+ });
75
+ }
76
+ }
77
+ /**
78
+ * @export
79
+ */
80
+ export const GetSemanticFormatsShowAllEnum = {
81
+ _0: '0',
82
+ _1: '1'
83
+ };
@@ -0,0 +1,157 @@
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 * as runtime from '../runtime';
13
+ import { type GetSearchResults200Response } from '../models/GetSearchResults200Response';
14
+ import { type SemanticMeetingChange } from '../models/SemanticMeetingChange';
15
+ export interface GetChangesRequest {
16
+ startDate?: Date;
17
+ endDate?: Date;
18
+ meetingId?: number;
19
+ serviceBodyId?: number;
20
+ }
21
+ export interface GetSearchResultsRequest {
22
+ meetingIds?: string;
23
+ weekdays?: string;
24
+ venueTypes?: string;
25
+ formats?: string;
26
+ formatsComparisonOperator?: GetSearchResultsFormatsComparisonOperatorEnum;
27
+ services?: string;
28
+ recursive?: GetSearchResultsRecursiveEnum;
29
+ getUsedFormats?: GetSearchResultsGetUsedFormatsEnum;
30
+ getFormatsOnly?: GetSearchResultsGetFormatsOnlyEnum;
31
+ searchString?: string;
32
+ stringSearchIsAnAddress?: GetSearchResultsStringSearchIsAnAddressEnum;
33
+ searchStringRadius?: number;
34
+ startsAfterH?: number;
35
+ startsAfterM?: number;
36
+ startsBeforeH?: number;
37
+ startsBeforeM?: number;
38
+ endsBeforeH?: number;
39
+ endsBeforeM?: number;
40
+ minDurationH?: number;
41
+ minDurationM?: number;
42
+ maxDurationH?: number;
43
+ maxDurationM?: number;
44
+ latVal?: number;
45
+ longVal?: number;
46
+ geoWidth?: number;
47
+ geoWidthKm?: number;
48
+ sortResultsByDistance?: GetSearchResultsSortResultsByDistanceEnum;
49
+ meetingKey?: string;
50
+ meetingKeyValue?: string;
51
+ dataFieldKey?: string;
52
+ sortKeys?: string;
53
+ sortKey?: GetSearchResultsSortKeyEnum;
54
+ pageSize?: number;
55
+ pageNum?: number;
56
+ advancedPublished?: GetSearchResultsAdvancedPublishedEnum;
57
+ langEnum?: string;
58
+ rootServerIds?: string;
59
+ }
60
+ /**
61
+ *
62
+ */
63
+ export declare class MeetingsApi extends runtime.BaseAPI {
64
+ /**
65
+ * Creates request options for getChanges without sending the request
66
+ */
67
+ getChangesRequestOpts(requestParameters: GetChangesRequest): Promise<runtime.RequestOpts>;
68
+ /**
69
+ * Get meeting changes within a date range
70
+ */
71
+ getChangesRaw(requestParameters: GetChangesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SemanticMeetingChange>>>;
72
+ /**
73
+ * Get meeting changes within a date range
74
+ */
75
+ getChanges(requestParameters?: GetChangesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SemanticMeetingChange>>;
76
+ /**
77
+ * Creates request options for getSearchResults without sending the request
78
+ */
79
+ getSearchResultsRequestOpts(requestParameters: GetSearchResultsRequest): Promise<runtime.RequestOpts>;
80
+ /**
81
+ * Search meetings with extensive filtering (location, day, time, format, service body, text). In aggregator mode at least one filter parameter is required, otherwise the response will be an empty array.
82
+ * Search for meetings
83
+ */
84
+ getSearchResultsRaw(requestParameters: GetSearchResultsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSearchResults200Response>>;
85
+ /**
86
+ * Search meetings with extensive filtering (location, day, time, format, service body, text). In aggregator mode at least one filter parameter is required, otherwise the response will be an empty array.
87
+ * Search for meetings
88
+ */
89
+ getSearchResults(requestParameters?: GetSearchResultsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSearchResults200Response>;
90
+ }
91
+ /**
92
+ * @export
93
+ */
94
+ export declare const GetSearchResultsFormatsComparisonOperatorEnum: {
95
+ readonly And: "AND";
96
+ readonly Or: "OR";
97
+ };
98
+ export type GetSearchResultsFormatsComparisonOperatorEnum = typeof GetSearchResultsFormatsComparisonOperatorEnum[keyof typeof GetSearchResultsFormatsComparisonOperatorEnum];
99
+ /**
100
+ * @export
101
+ */
102
+ export declare const GetSearchResultsRecursiveEnum: {
103
+ readonly _0: "0";
104
+ readonly _1: "1";
105
+ };
106
+ export type GetSearchResultsRecursiveEnum = typeof GetSearchResultsRecursiveEnum[keyof typeof GetSearchResultsRecursiveEnum];
107
+ /**
108
+ * @export
109
+ */
110
+ export declare const GetSearchResultsGetUsedFormatsEnum: {
111
+ readonly _0: "0";
112
+ readonly _1: "1";
113
+ };
114
+ export type GetSearchResultsGetUsedFormatsEnum = typeof GetSearchResultsGetUsedFormatsEnum[keyof typeof GetSearchResultsGetUsedFormatsEnum];
115
+ /**
116
+ * @export
117
+ */
118
+ export declare const GetSearchResultsGetFormatsOnlyEnum: {
119
+ readonly _0: "0";
120
+ readonly _1: "1";
121
+ };
122
+ export type GetSearchResultsGetFormatsOnlyEnum = typeof GetSearchResultsGetFormatsOnlyEnum[keyof typeof GetSearchResultsGetFormatsOnlyEnum];
123
+ /**
124
+ * @export
125
+ */
126
+ export declare const GetSearchResultsStringSearchIsAnAddressEnum: {
127
+ readonly _0: "0";
128
+ readonly _1: "1";
129
+ };
130
+ export type GetSearchResultsStringSearchIsAnAddressEnum = typeof GetSearchResultsStringSearchIsAnAddressEnum[keyof typeof GetSearchResultsStringSearchIsAnAddressEnum];
131
+ /**
132
+ * @export
133
+ */
134
+ export declare const GetSearchResultsSortResultsByDistanceEnum: {
135
+ readonly _0: "0";
136
+ readonly _1: "1";
137
+ };
138
+ export type GetSearchResultsSortResultsByDistanceEnum = typeof GetSearchResultsSortResultsByDistanceEnum[keyof typeof GetSearchResultsSortResultsByDistanceEnum];
139
+ /**
140
+ * @export
141
+ */
142
+ export declare const GetSearchResultsSortKeyEnum: {
143
+ readonly Weekday: "weekday";
144
+ readonly Time: "time";
145
+ readonly Town: "town";
146
+ readonly State: "state";
147
+ readonly WeekdayState: "weekday_state";
148
+ };
149
+ export type GetSearchResultsSortKeyEnum = typeof GetSearchResultsSortKeyEnum[keyof typeof GetSearchResultsSortKeyEnum];
150
+ /**
151
+ * @export
152
+ */
153
+ export declare const GetSearchResultsAdvancedPublishedEnum: {
154
+ readonly NUMBER_MINUS_1: -1;
155
+ readonly NUMBER_0: 0;
156
+ };
157
+ export type GetSearchResultsAdvancedPublishedEnum = typeof GetSearchResultsAdvancedPublishedEnum[keyof typeof GetSearchResultsAdvancedPublishedEnum];