Skip to content

Commit 5281576

Browse files
committed
add jitr
1 parent a1694c4 commit 5281576

36 files changed

+49
-37
lines changed

.openapi-generator/FILES

-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,3 @@ src/model/PublicKeyCertificate.js
6969
src/model/PublicKeyCredential.js
7070
src/model/RegistryCredential.js
7171
src/model/X509CertificateDetails.js
72-
test/model/Policy.spec.js

docs/DeviceRegistry.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**eventNotificationConfigs** | [**[EventNotificationConfig]**](EventNotificationConfig.md) | | [optional]
1717
**logNotificationConfig** | [**NotificationConfig**](NotificationConfig.md) | | [optional]
1818
**stateNotificationConfig** | [**NotificationConfig**](NotificationConfig.md) | | [optional]
19+
**jitrNotificationConfig** | [**NotificationConfig**](NotificationConfig.md) | | [optional]
1920
**numberOfDevices** | **Number** | | [optional] [readonly]
2021
**numberOfGateways** | **Number** | | [optional] [readonly]
2122

docs/RegistryApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ bearerAuth.accessToken = "YOUR ACCESS TOKEN"
267267
let apiInstance = new OmniCoreModelAndStateManagementApi.RegistryApi();
268268
let subscriptionId = "subscriptionId_example"; // String | Subscription ID
269269
let registryId = "registryId_example"; // String | Registry ID
270-
let updateMask = "updateMask_example"; // String | values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials
270+
let updateMask = "updateMask_example"; // String | values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,jitrNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials
271271
let opts = {
272272
'registry': new OmniCoreModelAndStateManagementApi.DeviceRegistry() // DeviceRegistry | application/json
273273
};
@@ -287,7 +287,7 @@ Name | Type | Description | Notes
287287
------------- | ------------- | ------------- | -------------
288288
**subscriptionId** | **String**| Subscription ID |
289289
**registryId** | **String**| Registry ID |
290-
**updateMask** | **String**| values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials |
290+
**updateMask** | **String**| values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,jitrNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials |
291291
**registry** | [**DeviceRegistry**](DeviceRegistry.md)| application/json | [optional]
292292

293293
### Return type

src/ApiClient.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/api/DeviceApi.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/api/RegistryApi.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
@@ -238,7 +238,7 @@ export default class RegistryApi {
238238
* Update a registry
239239
* @param {String} subscriptionId Subscription ID
240240
* @param {String} registryId Registry ID
241-
* @param {module:model/String} updateMask values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials
241+
* @param {module:model/String} updateMask values to be updated: eventNotificationConfigs,stateNotificationConfig.pubsub_topic_name,logNotificationConfig.pubsub_topic_name,jitrNotificationConfig.pubsub_topic_name,mqttConfig.mqtt_enabled_state,httpConfig.http_enabled_state,logLevel,credentials
242242
* @param {Object} opts Optional parameters
243243
* @param {module:model/DeviceRegistry} opts.registry application/json
244244
* @param {module:api/RegistryApi~updateRegistryCallback} callback The callback function, accepting three arguments: error, data, response

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/BindRequest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/BindRequestIdsGateway.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/BlockCommunicationBody.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/Device.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/DeviceCommand.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/DeviceConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/DeviceConfiguration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/DeviceCredential.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/DeviceRegistry.js

+13-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
@@ -91,6 +91,9 @@ class DeviceRegistry {
9191
if (data.hasOwnProperty('stateNotificationConfig')) {
9292
obj['stateNotificationConfig'] = NotificationConfig.constructFromObject(data['stateNotificationConfig']);
9393
}
94+
if (data.hasOwnProperty('jitrNotificationConfig')) {
95+
obj['jitrNotificationConfig'] = NotificationConfig.constructFromObject(data['jitrNotificationConfig']);
96+
}
9497
if (data.hasOwnProperty('numberOfDevices')) {
9598
obj['numberOfDevices'] = ApiClient.convertToType(data['numberOfDevices'], 'Number');
9699
}
@@ -169,6 +172,10 @@ class DeviceRegistry {
169172
if (data['stateNotificationConfig']) { // data not null
170173
NotificationConfig.validateJSON(data['stateNotificationConfig']);
171174
}
175+
// validate the optional field `jitrNotificationConfig`
176+
if (data['jitrNotificationConfig']) { // data not null
177+
NotificationConfig.validateJSON(data['jitrNotificationConfig']);
178+
}
172179

173180
return true;
174181
}
@@ -238,6 +245,11 @@ DeviceRegistry.prototype['logNotificationConfig'] = undefined;
238245
*/
239246
DeviceRegistry.prototype['stateNotificationConfig'] = undefined;
240247

248+
/**
249+
* @member {module:model/NotificationConfig} jitrNotificationConfig
250+
*/
251+
DeviceRegistry.prototype['jitrNotificationConfig'] = undefined;
252+
241253
/**
242254
* @member {Number} numberOfDevices
243255
*/

src/model/DeviceState.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ErrorFrame.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ErrorStatus.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/EventNotificationConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/GatewayConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/GenericErrorResponse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/HttpConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/Info.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ListDeviceConfigVersionsResponse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ListDeviceRegistries.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ListDeviceStatesResponse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/ListDevicesResponse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/LogLevel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/MqttConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/NotificationConfig.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/Policy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/PublicKeyCertificate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/PublicKeyCredential.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/RegistryCredential.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/model/X509CertificateDetails.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This is an OmniCore Model and State Management server.
44
*
55
* The version of the OpenAPI document: 1.0
6-
* Contact: support@korewireless.com
6+
* Contact: omnicoresupport@korewireless.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

0 commit comments

Comments
 (0)