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,36 @@
1
+
2
+ # GetFieldKeys200ResponseInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `key` | string
10
+ `description` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetFieldKeys200ResponseInner } from 'bmlt-server-semantic-client'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "key": null,
20
+ "description": null,
21
+ } satisfies GetFieldKeys200ResponseInner
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetFieldKeys200ResponseInner
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetFieldValues200ResponseInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `ids` | string
10
+ `meetingKeyValue` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetFieldValues200ResponseInner } from 'bmlt-server-semantic-client'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "ids": null,
20
+ "meetingKeyValue": null,
21
+ } satisfies GetFieldValues200ResponseInner
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetFieldValues200ResponseInner
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetSearchResults200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `meetings` | [Array<SemanticMeeting>](SemanticMeeting.md)
10
+ `formats` | [Array<SemanticFormat>](SemanticFormat.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetSearchResults200Response } from 'bmlt-server-semantic-client'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "meetings": null,
20
+ "formats": null,
21
+ } satisfies GetSearchResults200Response
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetSearchResults200Response
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetSearchResults200ResponseOneOf
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `meetings` | [Array<SemanticMeeting>](SemanticMeeting.md)
10
+ `formats` | [Array<SemanticFormat>](SemanticFormat.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetSearchResults200ResponseOneOf } from 'bmlt-server-semantic-client'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "meetings": null,
20
+ "formats": null,
21
+ } satisfies GetSearchResults200ResponseOneOf
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetSearchResults200ResponseOneOf
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,109 @@
1
+
2
+ # Meeting
3
+
4
+ A meeting record. The actual field set depends on the server\'s enabled fields and the `data_field_key` parameter.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `idBigint` | string
11
+ `worldidMixed` | string
12
+ `sharedGroupIdBigint` | string
13
+ `serviceBodyBigint` | string
14
+ `weekdayTinyint` | string
15
+ `venueType` | string
16
+ `startTime` | string
17
+ `durationTime` | string
18
+ `timeZone` | string
19
+ `formats` | string
20
+ `langEnum` | string
21
+ `longitude` | string
22
+ `latitude` | string
23
+ `distanceInKm` | string
24
+ `distanceInMiles` | string
25
+ `meetingName` | string
26
+ `locationText` | string
27
+ `locationInfo` | string
28
+ `locationStreet` | string
29
+ `locationCitySubsection` | string
30
+ `locationNeighborhood` | string
31
+ `locationMunicipality` | string
32
+ `locationSubProvince` | string
33
+ `locationProvince` | string
34
+ `locationPostalCode1` | string
35
+ `locationNation` | string
36
+ `comments` | string
37
+ `trainLines` | string
38
+ `busLines` | string
39
+ `phoneMeetingNumber` | string
40
+ `virtualMeetingLink` | string
41
+ `virtualMeetingAdditionalInfo` | string
42
+ `contactName1` | string
43
+ `contactPhone1` | string
44
+ `contactEmail1` | string
45
+ `rootServerId` | string
46
+ `rootServerUri` | string
47
+ `formatSharedIdList` | string
48
+
49
+ ## Example
50
+
51
+ ```typescript
52
+ import type { Meeting } from 'bmlt-server-semantic-client'
53
+
54
+ // TODO: Update the object below with actual values
55
+ const example = {
56
+ "idBigint": null,
57
+ "worldidMixed": null,
58
+ "sharedGroupIdBigint": null,
59
+ "serviceBodyBigint": null,
60
+ "weekdayTinyint": null,
61
+ "venueType": null,
62
+ "startTime": null,
63
+ "durationTime": null,
64
+ "timeZone": null,
65
+ "formats": null,
66
+ "langEnum": null,
67
+ "longitude": null,
68
+ "latitude": null,
69
+ "distanceInKm": null,
70
+ "distanceInMiles": null,
71
+ "meetingName": null,
72
+ "locationText": null,
73
+ "locationInfo": null,
74
+ "locationStreet": null,
75
+ "locationCitySubsection": null,
76
+ "locationNeighborhood": null,
77
+ "locationMunicipality": null,
78
+ "locationSubProvince": null,
79
+ "locationProvince": null,
80
+ "locationPostalCode1": null,
81
+ "locationNation": null,
82
+ "comments": null,
83
+ "trainLines": null,
84
+ "busLines": null,
85
+ "phoneMeetingNumber": null,
86
+ "virtualMeetingLink": null,
87
+ "virtualMeetingAdditionalInfo": null,
88
+ "contactName1": null,
89
+ "contactPhone1": null,
90
+ "contactEmail1": null,
91
+ "rootServerId": null,
92
+ "rootServerUri": null,
93
+ "formatSharedIdList": null,
94
+ } satisfies Meeting
95
+
96
+ console.log(example)
97
+
98
+ // Convert the instance to a JSON string
99
+ const exampleJSON: string = JSON.stringify(example)
100
+ console.log(exampleJSON)
101
+
102
+ // Parse the JSON string back to an object
103
+ const exampleParsed = JSON.parse(exampleJSON) as Meeting
104
+ console.log(exampleParsed)
105
+ ```
106
+
107
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
108
+
109
+
@@ -0,0 +1,52 @@
1
+
2
+ # MeetingChange
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `dateInt` | string
10
+ `dateString` | string
11
+ `changeType` | string
12
+ `meetingId` | string
13
+ `meetingName` | string
14
+ `userId` | string
15
+ `userName` | string
16
+ `serviceBodyId` | string
17
+ `serviceBodyName` | string
18
+ `details` | { [key: string]: any; }
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { MeetingChange } from 'bmlt-server-semantic-client'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "dateInt": null,
28
+ "dateString": null,
29
+ "changeType": null,
30
+ "meetingId": null,
31
+ "meetingName": null,
32
+ "userId": null,
33
+ "userName": null,
34
+ "serviceBodyId": null,
35
+ "serviceBodyName": null,
36
+ "details": null,
37
+ } satisfies MeetingChange
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as MeetingChange
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,261 @@
1
+ # MeetingsApi
2
+
3
+ All URIs are relative to *http://localhost:8000/main_server*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**getChanges**](MeetingsApi.md#getchanges) | **GET** /client_interface/json/?switcher=GetChanges | Get meeting changes within a date range |
8
+ | [**getSearchResults**](MeetingsApi.md#getsearchresults) | **GET** /client_interface/json/?switcher=GetSearchResults | Search for meetings |
9
+
10
+
11
+
12
+ ## getChanges
13
+
14
+ > Array<SemanticMeetingChange> getChanges(startDate, endDate, meetingId, serviceBodyId)
15
+
16
+ Get meeting changes within a date range
17
+
18
+ ### Example
19
+
20
+ ```ts
21
+ import {
22
+ Configuration,
23
+ MeetingsApi,
24
+ } from 'bmlt-server-semantic-client';
25
+ import type { GetChangesRequest } from 'bmlt-server-semantic-client';
26
+
27
+ async function example() {
28
+ console.log("🚀 Testing bmlt-server-semantic-client SDK...");
29
+ const api = new MeetingsApi();
30
+
31
+ const body = {
32
+ // Date | Start date (inclusive) in YYYY-MM-DD format. (optional)
33
+ startDate: 2013-10-20,
34
+ // Date | End date (inclusive) in YYYY-MM-DD format. (optional)
35
+ endDate: 2013-10-20,
36
+ // number | Restrict to changes for a single meeting. (optional)
37
+ meetingId: 56,
38
+ // number | Restrict to changes within a single service body. (optional)
39
+ serviceBodyId: 56,
40
+ } satisfies GetChangesRequest;
41
+
42
+ try {
43
+ const data = await api.getChanges(body);
44
+ console.log(data);
45
+ } catch (error) {
46
+ console.error(error);
47
+ }
48
+ }
49
+
50
+ // Run the test
51
+ example().catch(console.error);
52
+ ```
53
+
54
+ ### Parameters
55
+
56
+
57
+ | Name | Type | Description | Notes |
58
+ |------------- | ------------- | ------------- | -------------|
59
+ | **startDate** | `Date` | Start date (inclusive) in YYYY-MM-DD format. | [Optional] [Defaults to `undefined`] |
60
+ | **endDate** | `Date` | End date (inclusive) in YYYY-MM-DD format. | [Optional] [Defaults to `undefined`] |
61
+ | **meetingId** | `number` | Restrict to changes for a single meeting. | [Optional] [Defaults to `undefined`] |
62
+ | **serviceBodyId** | `number` | Restrict to changes within a single service body. | [Optional] [Defaults to `undefined`] |
63
+
64
+ ### Return type
65
+
66
+ [**Array<SemanticMeetingChange>**](SemanticMeetingChange.md)
67
+
68
+ ### Authorization
69
+
70
+ No authorization required
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: Not defined
75
+ - **Accept**: `application/json`
76
+
77
+
78
+ ### HTTP response details
79
+ | Status code | Description | Response headers |
80
+ |-------------|-------------|------------------|
81
+ | **200** | List of meeting changes | - |
82
+
83
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
84
+
85
+
86
+ ## getSearchResults
87
+
88
+ > GetSearchResults200Response getSearchResults(meetingIds, weekdays, venueTypes, formats, formatsComparisonOperator, services, recursive, getUsedFormats, getFormatsOnly, searchString, stringSearchIsAnAddress, searchStringRadius, startsAfterH, startsAfterM, startsBeforeH, startsBeforeM, endsBeforeH, endsBeforeM, minDurationH, minDurationM, maxDurationH, maxDurationM, latVal, longVal, geoWidth, geoWidthKm, sortResultsByDistance, meetingKey, meetingKeyValue, dataFieldKey, sortKeys, sortKey, pageSize, pageNum, advancedPublished, langEnum, rootServerIds)
89
+
90
+ Search for meetings
91
+
92
+ 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.
93
+
94
+ ### Example
95
+
96
+ ```ts
97
+ import {
98
+ Configuration,
99
+ MeetingsApi,
100
+ } from 'bmlt-server-semantic-client';
101
+ import type { GetSearchResultsRequest } from 'bmlt-server-semantic-client';
102
+
103
+ async function example() {
104
+ console.log("🚀 Testing bmlt-server-semantic-client SDK...");
105
+ const api = new MeetingsApi();
106
+
107
+ const body = {
108
+ // string | Comma-separated meeting IDs. Positive values include, negative values exclude (e.g. `123,456,-789`). (optional)
109
+ meetingIds: meetingIds_example,
110
+ // string | Days of week as comma-separated values. 1=Sunday … 7=Saturday. Negative values exclude. (optional)
111
+ weekdays: 2,3,4,
112
+ // string | Venue type filter, comma-separated. 1=In-person, 2=Virtual, 3=Hybrid. Negative values exclude. (optional)
113
+ venueTypes: venueTypes_example,
114
+ // string | Format IDs as comma-separated values. Positive includes, negative excludes. (optional)
115
+ formats: formats_example,
116
+ // 'AND' | 'OR' | Logical operator for combining multiple `formats` values. Defaults to AND. (optional)
117
+ formatsComparisonOperator: formatsComparisonOperator_example,
118
+ // string | Service body IDs as comma-separated values. Positive includes, negative excludes. (optional)
119
+ services: services_example,
120
+ // '0' | '1' | Set to `1` to include child service bodies when filtering by `services`. (optional)
121
+ recursive: recursive_example,
122
+ // '0' | '1' | Set to `1` to also return the formats used by the matched meetings (alters response shape to `{meetings, formats}`). (optional)
123
+ getUsedFormats: getUsedFormats_example,
124
+ // '0' | '1' | Set to `1` to return only the formats and omit the meetings (requires `get_used_formats=1`). (optional)
125
+ getFormatsOnly: getFormatsOnly_example,
126
+ // string | Free-text search string. URL-encode the value. (optional)
127
+ searchString: searchString_example,
128
+ // '0' | '1' | Set to `1` to interpret `SearchString` as an address to geocode. Requires a Google API key on the server. (optional)
129
+ stringSearchIsAnAddress: stringSearchIsAnAddress_example,
130
+ // number | Radius for address searches. Positive = distance (miles or km depending on server). Negative integer = auto-radius. (optional)
131
+ searchStringRadius: 8.14,
132
+ // number | Earliest start hour (0–23). (optional)
133
+ startsAfterH: 56,
134
+ // number | Earliest start minute (0–59). (optional)
135
+ startsAfterM: 56,
136
+ // number | Latest start hour (0–23). (optional)
137
+ startsBeforeH: 56,
138
+ // number | Latest start minute (0–59). (optional)
139
+ startsBeforeM: 56,
140
+ // number | Latest end hour (0–23). (optional)
141
+ endsBeforeH: 56,
142
+ // number | Latest end minute (0–59). (optional)
143
+ endsBeforeM: 56,
144
+ // number | Minimum duration, hours portion. (optional)
145
+ minDurationH: 56,
146
+ // number | Minimum duration, minutes portion (0–59). (optional)
147
+ minDurationM: 56,
148
+ // number | Maximum duration, hours portion. (optional)
149
+ maxDurationH: 56,
150
+ // number | Maximum duration, minutes portion (0–59). (optional)
151
+ maxDurationM: 56,
152
+ // number | Latitude for geographic search. (optional)
153
+ latVal: 3.4,
154
+ // number | Longitude for geographic search. (optional)
155
+ longVal: 3.4,
156
+ // number | Search radius in miles. Negative integer = auto-radius. (optional)
157
+ geoWidth: 8.14,
158
+ // number | Search radius in kilometers. Negative integer = auto-radius. (optional)
159
+ geoWidthKm: 8.14,
160
+ // '0' | '1' | Set to `1` to sort results by distance from `lat_val`/`long_val`. (optional)
161
+ sortResultsByDistance: sortResultsByDistance_example,
162
+ // string | Field key to filter on (used with `meeting_key_value`). (optional)
163
+ meetingKey: meetingKey_example,
164
+ // string | Value to match against the field named by `meeting_key`. (optional)
165
+ meetingKeyValue: meetingKeyValue_example,
166
+ // string | Comma-separated list of fields to include in each returned meeting (whitelist). (optional)
167
+ dataFieldKey: id_bigint,meeting_name,weekday_tinyint,start_time,
168
+ // string | Comma-separated list of fields to sort by. (optional)
169
+ sortKeys: sortKeys_example,
170
+ // 'weekday' | 'time' | 'town' | 'state' | 'weekday_state' | Predefined sort alias. (optional)
171
+ sortKey: sortKey_example,
172
+ // number | Number of results per page. (optional)
173
+ pageSize: 56,
174
+ // number | Page number, 1-based. Only meaningful when `page_size` is set. (optional)
175
+ pageNum: 56,
176
+ // -1 | 0 | Published-status filter. Omit to return only published meetings. `0` returns both. `-1` returns only unpublished (requires authentication). (optional)
177
+ advancedPublished: 56,
178
+ // string | Language code for translated format names (en, de, fr, es, it, pl, pt, sv, dk, fa). (optional)
179
+ langEnum: langEnum_example,
180
+ // string | Aggregator mode only. Comma-separated root server IDs. Positive includes, negative excludes. (optional)
181
+ rootServerIds: rootServerIds_example,
182
+ } satisfies GetSearchResultsRequest;
183
+
184
+ try {
185
+ const data = await api.getSearchResults(body);
186
+ console.log(data);
187
+ } catch (error) {
188
+ console.error(error);
189
+ }
190
+ }
191
+
192
+ // Run the test
193
+ example().catch(console.error);
194
+ ```
195
+
196
+ ### Parameters
197
+
198
+
199
+ | Name | Type | Description | Notes |
200
+ |------------- | ------------- | ------------- | -------------|
201
+ | **meetingIds** | `string` | Comma-separated meeting IDs. Positive values include, negative values exclude (e.g. `123,456,-789`). | [Optional] [Defaults to `undefined`] |
202
+ | **weekdays** | `string` | Days of week as comma-separated values. 1=Sunday … 7=Saturday. Negative values exclude. | [Optional] [Defaults to `undefined`] |
203
+ | **venueTypes** | `string` | Venue type filter, comma-separated. 1=In-person, 2=Virtual, 3=Hybrid. Negative values exclude. | [Optional] [Defaults to `undefined`] |
204
+ | **formats** | `string` | Format IDs as comma-separated values. Positive includes, negative excludes. | [Optional] [Defaults to `undefined`] |
205
+ | **formatsComparisonOperator** | `AND`, `OR` | Logical operator for combining multiple `formats` values. Defaults to AND. | [Optional] [Defaults to `'AND'`] [Enum: AND, OR] |
206
+ | **services** | `string` | Service body IDs as comma-separated values. Positive includes, negative excludes. | [Optional] [Defaults to `undefined`] |
207
+ | **recursive** | `0`, `1` | Set to `1` to include child service bodies when filtering by `services`. | [Optional] [Defaults to `undefined`] [Enum: 0, 1] |
208
+ | **getUsedFormats** | `0`, `1` | Set to `1` to also return the formats used by the matched meetings (alters response shape to `{meetings, formats}`). | [Optional] [Defaults to `undefined`] [Enum: 0, 1] |
209
+ | **getFormatsOnly** | `0`, `1` | Set to `1` to return only the formats and omit the meetings (requires `get_used_formats=1`). | [Optional] [Defaults to `undefined`] [Enum: 0, 1] |
210
+ | **searchString** | `string` | Free-text search string. URL-encode the value. | [Optional] [Defaults to `undefined`] |
211
+ | **stringSearchIsAnAddress** | `0`, `1` | Set to `1` to interpret `SearchString` as an address to geocode. Requires a Google API key on the server. | [Optional] [Defaults to `undefined`] [Enum: 0, 1] |
212
+ | **searchStringRadius** | `number` | Radius for address searches. Positive = distance (miles or km depending on server). Negative integer = auto-radius. | [Optional] [Defaults to `undefined`] |
213
+ | **startsAfterH** | `number` | Earliest start hour (0–23). | [Optional] [Defaults to `undefined`] |
214
+ | **startsAfterM** | `number` | Earliest start minute (0–59). | [Optional] [Defaults to `undefined`] |
215
+ | **startsBeforeH** | `number` | Latest start hour (0–23). | [Optional] [Defaults to `undefined`] |
216
+ | **startsBeforeM** | `number` | Latest start minute (0–59). | [Optional] [Defaults to `undefined`] |
217
+ | **endsBeforeH** | `number` | Latest end hour (0–23). | [Optional] [Defaults to `undefined`] |
218
+ | **endsBeforeM** | `number` | Latest end minute (0–59). | [Optional] [Defaults to `undefined`] |
219
+ | **minDurationH** | `number` | Minimum duration, hours portion. | [Optional] [Defaults to `undefined`] |
220
+ | **minDurationM** | `number` | Minimum duration, minutes portion (0–59). | [Optional] [Defaults to `undefined`] |
221
+ | **maxDurationH** | `number` | Maximum duration, hours portion. | [Optional] [Defaults to `undefined`] |
222
+ | **maxDurationM** | `number` | Maximum duration, minutes portion (0–59). | [Optional] [Defaults to `undefined`] |
223
+ | **latVal** | `number` | Latitude for geographic search. | [Optional] [Defaults to `undefined`] |
224
+ | **longVal** | `number` | Longitude for geographic search. | [Optional] [Defaults to `undefined`] |
225
+ | **geoWidth** | `number` | Search radius in miles. Negative integer = auto-radius. | [Optional] [Defaults to `undefined`] |
226
+ | **geoWidthKm** | `number` | Search radius in kilometers. Negative integer = auto-radius. | [Optional] [Defaults to `undefined`] |
227
+ | **sortResultsByDistance** | `0`, `1` | Set to `1` to sort results by distance from `lat_val`/`long_val`. | [Optional] [Defaults to `undefined`] [Enum: 0, 1] |
228
+ | **meetingKey** | `string` | Field key to filter on (used with `meeting_key_value`). | [Optional] [Defaults to `undefined`] |
229
+ | **meetingKeyValue** | `string` | Value to match against the field named by `meeting_key`. | [Optional] [Defaults to `undefined`] |
230
+ | **dataFieldKey** | `string` | Comma-separated list of fields to include in each returned meeting (whitelist). | [Optional] [Defaults to `undefined`] |
231
+ | **sortKeys** | `string` | Comma-separated list of fields to sort by. | [Optional] [Defaults to `undefined`] |
232
+ | **sortKey** | `weekday`, `time`, `town`, `state`, `weekday_state` | Predefined sort alias. | [Optional] [Defaults to `undefined`] [Enum: weekday, time, town, state, weekday_state] |
233
+ | **pageSize** | `number` | Number of results per page. | [Optional] [Defaults to `undefined`] |
234
+ | **pageNum** | `number` | Page number, 1-based. Only meaningful when `page_size` is set. | [Optional] [Defaults to `1`] |
235
+ | **advancedPublished** | `-1`, `0` | Published-status filter. Omit to return only published meetings. `0` returns both. `-1` returns only unpublished (requires authentication). | [Optional] [Defaults to `undefined`] [Enum: -1, 0] |
236
+ | **langEnum** | `string` | Language code for translated format names (en, de, fr, es, it, pl, pt, sv, dk, fa). | [Optional] [Defaults to `undefined`] |
237
+ | **rootServerIds** | `string` | Aggregator mode only. Comma-separated root server IDs. Positive includes, negative excludes. | [Optional] [Defaults to `undefined`] |
238
+
239
+ ### Return type
240
+
241
+ [**GetSearchResults200Response**](GetSearchResults200Response.md)
242
+
243
+ ### Authorization
244
+
245
+ No authorization required
246
+
247
+ ### HTTP request headers
248
+
249
+ - **Content-Type**: Not defined
250
+ - **Accept**: `application/json`
251
+
252
+
253
+ ### HTTP response details
254
+ | Status code | Description | Response headers |
255
+ |-------------|-------------|------------------|
256
+ | **200** | Meeting search results. May be a bare array of meetings, an array of formats when `get_formats_only=1`, or a `{meetings, formats}` envelope when `get_used_formats=1`. | - |
257
+ | **400** | Bad request — usually a missing required parameter. | - |
258
+ | **500** | Internal server error — for example, a geocoding failure when `StringSearchIsAnAddress=1`. | - |
259
+
260
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
261
+
@@ -0,0 +1,34 @@
1
+
2
+ # ModelError
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `error` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { ModelError } from 'bmlt-server-semantic-client'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "error": null,
19
+ } satisfies ModelError
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as ModelError
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # SemanticError
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `error` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { SemanticError } from 'bmlt-server-semantic-client'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "error": null,
19
+ } satisfies SemanticError
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as SemanticError
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+