Skip to content

Commit 9d5e2e0

Browse files
committed
Updated with build 66b501cb-8c71-4996-aba1-a8dd331d5835 from OmniCore-SDK-Generator commit b41ef5ea0a782a1e7c452a9027647cd610814d3c
1 parent d517bdd commit 9d5e2e0

File tree

144 files changed

+850
-205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+850
-205
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
OmniCoreModelAndStateManagementApi - JavaScript client for omni_core_model_and_state_management_api
44
This is an OmniCore Model and State Management server.
55

6-
- API version: 1.8.6
7-
- Package version: 1.8.6
6+
- API version: 1.8.7
7+
- Package version: 1.8.7
88
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
99
For more information, please visit [http://www.korewireless.com](http://www.korewireless.com)
1010

@@ -161,6 +161,7 @@ Class | Method | HTTP request | Description
161161
*OmniCoreModelAndStateManagementApi.VaultApi* | [**createVaultKey**](docs/VaultApi.md#createVaultKey) | **POST** /vault/subscriptions/{subscriptionid}/encryptionkeys |
162162
*OmniCoreModelAndStateManagementApi.VaultApi* | [**deleteConfiguration**](docs/VaultApi.md#deleteConfiguration) | **DELETE** /vault/subscriptions/{subscriptionid}/configurations/{configid} |
163163
*OmniCoreModelAndStateManagementApi.VaultApi* | [**deleteVaultKey**](docs/VaultApi.md#deleteVaultKey) | **DELETE** /vault/subscriptions/{subscriptionid}/encryptionkeys/{keyid} |
164+
*OmniCoreModelAndStateManagementApi.VaultApi* | [**enableEncryption**](docs/VaultApi.md#enableEncryption) | **POST** /vault/subscriptions/{subscriptionid}/encryption |
164165
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getExports**](docs/VaultApi.md#getExports) | **GET** /vault/subscriptions/{subscriptionid}/exports |
165166
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getRegistryData**](docs/VaultApi.md#getRegistryData) | **GET** /vault/subscriptions/{subscriptionid}/folders |
166167
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getReplays**](docs/VaultApi.md#getReplays) | **GET** /vault/subscriptions/{subscriptionid}/replays |
@@ -170,6 +171,7 @@ Class | Method | HTTP request | Description
170171
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getVaultKeys**](docs/VaultApi.md#getVaultKeys) | **GET** /vault/subscriptions/{subscriptionid}/encryptionkeys |
171172
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getVaultMetrics**](docs/VaultApi.md#getVaultMetrics) | **GET** /vault/subscriptions/{subscriptionid}/metrics |
172173
*OmniCoreModelAndStateManagementApi.VaultApi* | [**getVaultStatus**](docs/VaultApi.md#getVaultStatus) | **GET** /vault/subscriptions/{subscriptionid}/status |
174+
*OmniCoreModelAndStateManagementApi.VaultApi* | [**setRetention**](docs/VaultApi.md#setRetention) | **POST** /vault/subscriptions/{subscriptionid}/retention |
173175
*OmniCoreModelAndStateManagementApi.VaultApi* | [**startExport**](docs/VaultApi.md#startExport) | **POST** /vault/subscriptions/{subscriptionid}/exports |
174176
*OmniCoreModelAndStateManagementApi.VaultApi* | [**startReplay**](docs/VaultApi.md#startReplay) | **POST** /vault/subscriptions/{subscriptionid}/replays |
175177

@@ -193,6 +195,7 @@ Class | Method | HTTP request | Description
193195
- [OmniCoreModelAndStateManagementApi.DeviceCredential](docs/DeviceCredential.md)
194196
- [OmniCoreModelAndStateManagementApi.DeviceRegistry](docs/DeviceRegistry.md)
195197
- [OmniCoreModelAndStateManagementApi.DeviceState](docs/DeviceState.md)
198+
- [OmniCoreModelAndStateManagementApi.EnableEncryptionBody](docs/EnableEncryptionBody.md)
196199
- [OmniCoreModelAndStateManagementApi.ErrorFrame](docs/ErrorFrame.md)
197200
- [OmniCoreModelAndStateManagementApi.ErrorStatus](docs/ErrorStatus.md)
198201
- [OmniCoreModelAndStateManagementApi.EventNotificationConfig](docs/EventNotificationConfig.md)
@@ -230,6 +233,7 @@ Class | Method | HTTP request | Description
230233
- [OmniCoreModelAndStateManagementApi.RegistryCredential](docs/RegistryCredential.md)
231234
- [OmniCoreModelAndStateManagementApi.Replay](docs/Replay.md)
232235
- [OmniCoreModelAndStateManagementApi.ReplayBody](docs/ReplayBody.md)
236+
- [OmniCoreModelAndStateManagementApi.SetRetentionBody](docs/SetRetentionBody.md)
233237
- [OmniCoreModelAndStateManagementApi.Sink](docs/Sink.md)
234238
- [OmniCoreModelAndStateManagementApi.StartExportBody](docs/StartExportBody.md)
235239
- [OmniCoreModelAndStateManagementApi.VaultConfiguration](docs/VaultConfiguration.md)

docs/EnableEncryptionBody.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# OmniCoreModelAndStateManagementApi.EnableEncryptionBody
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**action** | **String** | | [optional]
8+
**isEncrypted** | **Boolean** | | [optional]
9+
**encryptionKeyId** | **Number** | | [optional]
10+
11+

docs/SetRetentionBody.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# OmniCoreModelAndStateManagementApi.SetRetentionBody
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**retentionPeriod** | **String** | | [optional]
8+
9+

docs/VaultApi.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Method | HTTP request | Description
88
[**createVaultKey**](VaultApi.md#createVaultKey) | **POST** /vault/subscriptions/{subscriptionid}/encryptionkeys |
99
[**deleteConfiguration**](VaultApi.md#deleteConfiguration) | **DELETE** /vault/subscriptions/{subscriptionid}/configurations/{configid} |
1010
[**deleteVaultKey**](VaultApi.md#deleteVaultKey) | **DELETE** /vault/subscriptions/{subscriptionid}/encryptionkeys/{keyid} |
11+
[**enableEncryption**](VaultApi.md#enableEncryption) | **POST** /vault/subscriptions/{subscriptionid}/encryption |
1112
[**getExports**](VaultApi.md#getExports) | **GET** /vault/subscriptions/{subscriptionid}/exports |
1213
[**getRegistryData**](VaultApi.md#getRegistryData) | **GET** /vault/subscriptions/{subscriptionid}/folders |
1314
[**getReplays**](VaultApi.md#getReplays) | **GET** /vault/subscriptions/{subscriptionid}/replays |
@@ -17,6 +18,7 @@ Method | HTTP request | Description
1718
[**getVaultKeys**](VaultApi.md#getVaultKeys) | **GET** /vault/subscriptions/{subscriptionid}/encryptionkeys |
1819
[**getVaultMetrics**](VaultApi.md#getVaultMetrics) | **GET** /vault/subscriptions/{subscriptionid}/metrics |
1920
[**getVaultStatus**](VaultApi.md#getVaultStatus) | **GET** /vault/subscriptions/{subscriptionid}/status |
21+
[**setRetention**](VaultApi.md#setRetention) | **POST** /vault/subscriptions/{subscriptionid}/retention |
2022
[**startExport**](VaultApi.md#startExport) | **POST** /vault/subscriptions/{subscriptionid}/exports |
2123
[**startReplay**](VaultApi.md#startReplay) | **POST** /vault/subscriptions/{subscriptionid}/replays |
2224

@@ -250,6 +252,64 @@ Name | Type | Description | Notes
250252
- **Accept**: application/json
251253

252254

255+
## enableEncryption
256+
257+
> Frame enableEncryption(subscriptionid, opts)
258+
259+
260+
261+
Enable Encryption
262+
263+
### Example
264+
265+
```javascript
266+
import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
267+
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
268+
// Configure API key authorization: apiKey
269+
let apiKey = defaultClient.authentications['apiKey'];
270+
apiKey.apiKey = 'YOUR API KEY';
271+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
272+
//apiKey.apiKeyPrefix = 'Token';
273+
// Configure Bearer (JWT) access token for authorization: bearerAuth
274+
let bearerAuth = defaultClient.authentications['bearerAuth'];
275+
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
276+
277+
let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
278+
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
279+
let opts = {
280+
'enableEncryptionBody': new OmniCoreModelAndStateManagementApi.EnableEncryptionBody() // EnableEncryptionBody | application/json
281+
};
282+
apiInstance.enableEncryption(subscriptionid, opts, (error, data, response) => {
283+
if (error) {
284+
console.error(error);
285+
} else {
286+
console.log('API called successfully. Returned data: ' + data);
287+
}
288+
});
289+
```
290+
291+
### Parameters
292+
293+
294+
Name | Type | Description | Notes
295+
------------- | ------------- | ------------- | -------------
296+
**subscriptionid** | **String**| Subscription ID |
297+
**enableEncryptionBody** | [**EnableEncryptionBody**](EnableEncryptionBody.md)| application/json | [optional]
298+
299+
### Return type
300+
301+
[**Frame**](Frame.md)
302+
303+
### Authorization
304+
305+
[apiKey](../README.md#apiKey), [bearerAuth](../README.md#bearerAuth)
306+
307+
### HTTP request headers
308+
309+
- **Content-Type**: application/json
310+
- **Accept**: application/json
311+
312+
253313
## getExports
254314

255315
> GetExportsResponse getExports(subscriptionid)
@@ -754,6 +814,64 @@ Name | Type | Description | Notes
754814
- **Accept**: application/json
755815

756816

817+
## setRetention
818+
819+
> Frame setRetention(subscriptionid, opts)
820+
821+
822+
823+
Set Retention Period
824+
825+
### Example
826+
827+
```javascript
828+
import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
829+
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
830+
// Configure API key authorization: apiKey
831+
let apiKey = defaultClient.authentications['apiKey'];
832+
apiKey.apiKey = 'YOUR API KEY';
833+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
834+
//apiKey.apiKeyPrefix = 'Token';
835+
// Configure Bearer (JWT) access token for authorization: bearerAuth
836+
let bearerAuth = defaultClient.authentications['bearerAuth'];
837+
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
838+
839+
let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
840+
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
841+
let opts = {
842+
'setRetentionBody': new OmniCoreModelAndStateManagementApi.SetRetentionBody() // SetRetentionBody | application/json
843+
};
844+
apiInstance.setRetention(subscriptionid, opts, (error, data, response) => {
845+
if (error) {
846+
console.error(error);
847+
} else {
848+
console.log('API called successfully. Returned data: ' + data);
849+
}
850+
});
851+
```
852+
853+
### Parameters
854+
855+
856+
Name | Type | Description | Notes
857+
------------- | ------------- | ------------- | -------------
858+
**subscriptionid** | **String**| Subscription ID |
859+
**setRetentionBody** | [**SetRetentionBody**](SetRetentionBody.md)| application/json | [optional]
860+
861+
### Return type
862+
863+
[**Frame**](Frame.md)
864+
865+
### Authorization
866+
867+
[apiKey](../README.md#apiKey), [bearerAuth](../README.md#bearerAuth)
868+
869+
### HTTP request headers
870+
871+
- **Content-Type**: application/json
872+
- **Accept**: application/json
873+
874+
757875
## startExport
758876

759877
> Frame startExport(subscriptionid, opts)

docs/VaultStatusDetails.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@ Name | Type | Description | Notes
1111
**updatedon** | **String** | | [optional]
1212
**createdOn** | **String** | | [optional]
1313
**mqttId** | **String** | | [optional]
14+
**retentionPeriod** | **Number** | | [optional]
15+
**encryptionKeyId** | **Number** | | [optional]
16+
**isEncrypted** | **Boolean** | | [optional]
1417

1518

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "omni_core_model_and_state_management_api",
3-
"version": "1.8.6",
3+
"version": "1.8.7",
44
"description": "This is an OmniCore Model and State Management server.",
55
"license": "Unlicense",
66
"main": "dist/index.js",

src/ApiClient.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OmniCore Model and State Management API
33
* This is an OmniCore Model and State Management server.
44
*
5-
* The version of the OpenAPI document: 1.8.6
5+
* The version of the OpenAPI document: 1.8.7
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import querystring from "querystring";
1717

1818
/**
1919
* @module ApiClient
20-
* @version 1.8.6
20+
* @version 1.8.7
2121
*/
2222

2323
/**
@@ -56,7 +56,7 @@ class ApiClient {
5656
* @default {}
5757
*/
5858
this.defaultHeaders = {
59-
'User-Agent': 'OpenAPI-Generator/1.8.6/Javascript'
59+
'User-Agent': 'OpenAPI-Generator/1.8.7/Javascript'
6060
};
6161

6262
/**

src/api/DeviceApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OmniCore Model and State Management API
33
* This is an OmniCore Model and State Management server.
44
*
5-
* The version of the OpenAPI document: 1.8.6
5+
* The version of the OpenAPI document: 1.8.7
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ import ListDevicesResponse from '../model/ListDevicesResponse';
3030
/**
3131
* Device service.
3232
* @module api/DeviceApi
33-
* @version 1.8.6
33+
* @version 1.8.7
3434
*/
3535
export default class DeviceApi {
3636

src/api/MetricsApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OmniCore Model and State Management API
33
* This is an OmniCore Model and State Management server.
44
*
5-
* The version of the OpenAPI document: 1.8.6
5+
* The version of the OpenAPI document: 1.8.7
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,7 @@ import Metrics from '../model/Metrics';
1919
/**
2020
* Metrics service.
2121
* @module api/MetricsApi
22-
* @version 1.8.6
22+
* @version 1.8.7
2323
*/
2424
export default class MetricsApi {
2525

src/api/RegistryApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OmniCore Model and State Management API
33
* This is an OmniCore Model and State Management server.
44
*
5-
* The version of the OpenAPI document: 1.8.6
5+
* The version of the OpenAPI document: 1.8.7
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ import ListDeviceRegistries from '../model/ListDeviceRegistries';
2222
/**
2323
* Registry service.
2424
* @module api/RegistryApi
25-
* @version 1.8.6
25+
* @version 1.8.7
2626
*/
2727
export default class RegistryApi {
2828

0 commit comments

Comments
 (0)