From 45a2e62569c6442db2bde1095eb3297f82c82caf Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 21 Sep 2023 22:36:21 +0000 Subject: [PATCH 1/9] feat: Update OpenAPI file replicated from Notehub --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index a97439d3..9bd3d963 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1462,7 +1462,7 @@ paths: default: $ref: '#/components/responses/ErrorResponse' - /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin: + /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin: parameters: - $ref: '#/components/parameters/projectUIDParam' - $ref: '#/components/parameters/deviceUIDParam' From 16b16173bc1dce6f3beac051e7276dd542df7a54 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Fri, 22 Sep 2023 09:12:43 -0400 Subject: [PATCH 2/9] feat: regenerate fresh library --- src/.openapi-generator/FILES | 1 - src/README.md | 8 ++++---- src/docs/DeviceApi.md | 4 ++-- src/docs/EnvironmentVariablesApi.md | 4 ++-- src/src/api/DeviceApi.js | 4 ++-- src/src/api/EnvironmentVariablesApi.js | 4 ++-- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index cf703304..6e801eb1 100644 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -173,4 +173,3 @@ src/model/TowerLocation.js src/model/Twilio.js src/model/UpdateFleetRequest.js src/model/UserDbRoute.js -test/model/Slack.spec.js diff --git a/src/README.md b/src/README.md index 925addda..fd129799 100644 --- a/src/README.md +++ b/src/README.md @@ -131,7 +131,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -139,7 +139,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} | | _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} | @@ -150,11 +150,11 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events | diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index 7c1d9d22..6db68938 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -11,7 +11,7 @@ All URIs are relative to *https://api.notefile.net* | [**enableDevice**](DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | [**enableDeviceConnectivityAssurance**](DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | [**getDeviceEnvironmentVariables**](DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getDeviceFleets**](DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | [**getDeviceHealthLog**](DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | [**getDeviceLatest**](DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -19,7 +19,7 @@ All URIs are relative to *https://api.notefile.net* | [**getDeviceSessions**](DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | [**handleNoteSignal**](DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | [**putDeviceEnvironmentVariables**](DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putDeviceFleets**](DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | ## deleteDeviceEnvironmentVariable diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index 00e9fbc1..dec904b3 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -8,11 +8,11 @@ All URIs are relative to *https://api.notefile.net* | [**deleteFleetEnvironmentVariable**](EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | [**deleteProjectEnvironmentVariable**](EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | [**getDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getFleetEnvironmentVariables**](EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**getProjectEnvironmentVariables**](EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | [**putDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putFleetEnvironmentVariables**](EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**putProjectEnvironmentVariables**](EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index 971060cf..2f111b44 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -548,7 +548,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -1096,7 +1096,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index f9ca4ae2..b8cdad6c 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -343,7 +343,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -613,7 +613,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, From c660b2dcab8196855f28fdfc218b3dd98a404e37 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Fri, 22 Sep 2023 09:50:12 -0400 Subject: [PATCH 3/9] docs: update doc examples to reflect new props --- src/docs/DeviceApi.md | 62 ++++++++++++++++++----------- src/docs/EnvironmentVariablesApi.md | 62 ++++++++++++++++++----------- 2 files changed, 76 insertions(+), 48 deletions(-) diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index 6db68938..f8346d9a 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -350,35 +350,39 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from '@blues-inc/notehub-js'; +import * as NotehubJs from "@blues-inc/notehub-js"; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications['pin']; -pin.apiKey = 'YOUR API KEY'; +let pin = defaultClient.authentications["pin"]; +pin.apiKey = "YOUR API KEY"; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.airnote; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { - console.log('API called successfully. Returned data: ' + JSON.stringify(data)); -}, (error) => { - console.error(error); -}); - +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then( + (data) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }, + (error) => { + console.error(error); + } +); ``` ### Parameters | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -728,36 +732,46 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from '@blues-inc/notehub-js'; +import * as NotehubJs from "@blues-inc/notehub-js"; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications['pin']; -pin.apiKey = 'YOUR API KEY'; +let pin = defaultClient.authentications["pin"]; +pin.apiKey = "YOUR API KEY"; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.airnote; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { - console.log('API called successfully. Returned data: ' + JSON.stringify(data)); -}, (error) => { - console.error(error); -}); - +apiInstance + .putDeviceEnvironmentVariablesByPin( + productUID, + deviceUID, + environmentVariables + ) + .then( + (data) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }, + (error) => { + console.error(error); + } + ); ``` ### Parameters | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index dec904b3..f1766d83 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -206,35 +206,39 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from '@blues-inc/notehub-js'; +import * as NotehubJs from "@blues-inc/notehub-js"; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications['pin']; -pin.apiKey = 'YOUR API KEY'; +let pin = defaultClient.authentications["pin"]; +pin.apiKey = "YOUR API KEY"; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.airnote; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { - console.log('API called successfully. Returned data: ' + JSON.stringify(data)); -}, (error) => { - console.error(error); -}); - +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then( + (data) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }, + (error) => { + console.error(error); + } +); ``` ### Parameters | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -390,36 +394,46 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from '@blues-inc/notehub-js'; +import * as NotehubJs from "@blues-inc/notehub-js"; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications['pin']; -pin.apiKey = 'YOUR API KEY'; +let pin = defaultClient.authentications["pin"]; +pin.apiKey = "YOUR API KEY"; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.airnote; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { - console.log('API called successfully. Returned data: ' + JSON.stringify(data)); -}, (error) => { - console.error(error); -}); - +apiInstance + .putDeviceEnvironmentVariablesByPin( + productUID, + deviceUID, + environmentVariables + ) + .then( + (data) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }, + (error) => { + console.error(error); + } + ); ``` ### Parameters | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | From 89c9acde54b69ef853312eea7822ee1b3bffb0ee Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Fri, 22 Sep 2023 10:06:52 -0400 Subject: [PATCH 4/9] feat: update api to accept new param --- src/src/api/DeviceApi.js | 36 +++++++++++++------------- src/src/api/EnvironmentVariablesApi.js | 36 +++++++++++++------------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index 2f111b44..c9e4ce50 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -516,16 +516,16 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -536,7 +536,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -565,13 +565,13 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -1053,21 +1053,21 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -1084,7 +1084,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -1113,18 +1113,18 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index b8cdad6c..1feafc6f 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -311,16 +311,16 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -331,7 +331,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -360,13 +360,13 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -570,21 +570,21 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -601,7 +601,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -630,18 +630,18 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { From 9993c09ed13cb786501be8444797b804c8d2e9c1 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Fri, 22 Sep 2023 10:10:42 -0400 Subject: [PATCH 5/9] deps: bump notehub js version for npm deploy --- config.json | 2 +- src/README.md | 2 +- src/docs/DeviceApi.md | 62 +++++++------------ src/docs/EnvironmentVariablesApi.md | 62 +++++++------------ src/package.json | 2 +- src/src/ApiClient.js | 4 +- src/src/api/AuthorizationApi.js | 2 +- src/src/api/BillingAccountApi.js | 2 +- src/src/api/DeviceApi.js | 38 ++++++------ src/src/api/DevicesApi.js | 2 +- src/src/api/EnvironmentVariablesApi.js | 38 ++++++------ src/src/api/EventApi.js | 2 +- src/src/api/FilesApi.js | 2 +- src/src/api/FleetApi.js | 2 +- src/src/api/NotesApi.js | 2 +- src/src/api/ProductApi.js | 2 +- src/src/api/ProjectApi.js | 2 +- src/src/api/RouteApi.js | 2 +- src/src/api/RouteLogsApi.js | 2 +- src/src/index.js | 2 +- src/src/model/Aws.js | 2 +- src/src/model/Azure.js | 2 +- src/src/model/BillingAccount.js | 2 +- src/src/model/Body.js | 2 +- src/src/model/CloneProjectRequest.js | 2 +- src/src/model/Contact.js | 2 +- src/src/model/CreateFleetRequest.js | 2 +- src/src/model/CreateProductRequest.js | 2 +- src/src/model/CreateProjectRequest.js | 2 +- src/src/model/DFUEnv.js | 2 +- src/src/model/DFUState.js | 2 +- src/src/model/DeleteDeviceFleetsRequest.js | 2 +- src/src/model/Device.js | 2 +- src/src/model/DeviceSession.js | 2 +- src/src/model/DeviceTowerInfo.js | 2 +- src/src/model/DeviceUsage.js | 2 +- src/src/model/EnvironmentVariables.js | 2 +- src/src/model/Error.js | 2 +- src/src/model/Event.js | 2 +- src/src/model/Fleet.js | 2 +- .../model/GetBillingAccounts200Response.js | 2 +- ...etDeviceEnvironmentVariables200Response.js | 2 +- .../model/GetDeviceHealthLog200Response.js | 2 +- ...eviceHealthLog200ResponseHealthLogInner.js | 2 +- src/src/model/GetDeviceLatest200Response.js | 2 +- .../model/GetDevicePublicKey200Response.js | 2 +- src/src/model/GetDeviceSessions200Response.js | 2 +- .../GetProjectDevicePublicKeys200Response.js | 2 +- ...licKeys200ResponseDevicePublicKeysInner.js | 2 +- src/src/model/GetProjectDevices200Response.js | 2 +- src/src/model/GetProjectEvents200Response.js | 2 +- .../GetProjectEventsByCursor200Response.js | 2 +- src/src/model/GetProjectFleets200Response.js | 2 +- src/src/model/GetProjectMembers200Response.js | 2 +- .../model/GetProjectProducts200Response.js | 2 +- src/src/model/GetProjects200Response.js | 2 +- .../GetRouteLogsByRoute200ResponseInner.js | 2 +- src/src/model/Google.js | 2 +- src/src/model/HandleNoteChanges200Response.js | 2 +- src/src/model/HandleNoteGet200Response.js | 2 +- src/src/model/HandleNoteSignal200Response.js | 2 +- .../model/HandleNotefileChanges200Response.js | 2 +- ...HandleNotefileChangesPending200Response.js | 2 +- src/src/model/HandleNotefileDeleteRequest.js | 2 +- src/src/model/Http.js | 2 +- src/src/model/HttpFilter.js | 2 +- src/src/model/HttpTransform.js | 2 +- src/src/model/Location.js | 2 +- src/src/model/Login200Response.js | 2 +- src/src/model/LoginRequest.js | 2 +- src/src/model/Mqtt.js | 2 +- src/src/model/Note.js | 2 +- src/src/model/Product.js | 2 +- src/src/model/Project.js | 2 +- src/src/model/ProjectMember.js | 2 +- src/src/model/Proxy.js | 2 +- src/src/model/PutDeviceFleetsRequest.js | 2 +- src/src/model/Radresponder.js | 2 +- src/src/model/Route.js | 2 +- src/src/model/RouteSchema.js | 2 +- src/src/model/Slack.js | 2 +- src/src/model/Snowflake.js | 2 +- src/src/model/SnowflakeTransform.js | 2 +- src/src/model/Thingworx.js | 2 +- src/src/model/TowerLocation.js | 2 +- src/src/model/Twilio.js | 2 +- src/src/model/UpdateFleetRequest.js | 2 +- src/src/model/UserDbRoute.js | 2 +- 88 files changed, 171 insertions(+), 199 deletions(-) diff --git a/config.json b/config.json index 28b0c95a..acdcdfc3 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "licenseName": "MIT", "moduleName": "NotehubJs", "npmRepository": "https://registry.npmjs.org", - "projectVersion": "1.0.16", + "projectVersion": "1.0.17", "sourceFolder": "src", "usePromises": true } diff --git a/src/README.md b/src/README.md index fd129799..fdd56082 100644 --- a/src/README.md +++ b/src/README.md @@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.0.16 +- Package version: 1.0.17 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/) diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index f8346d9a..6db68938 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -350,39 +350,35 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) Get environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from "@blues-inc/notehub-js"; +import * as NotehubJs from '@blues-inc/notehub-js'; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications["pin"]; -pin.apiKey = "YOUR API KEY"; +let pin = defaultClient.authentications['pin']; +pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let productUID = com.blues.airnote; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then( - (data) => { - console.log( - "API called successfully. Returned data: " + JSON.stringify(data) - ); - }, - (error) => { - console.error(error); - } -); +apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(data)); +}, (error) => { + console.error(error); +}); + ``` ### Parameters | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -732,46 +728,36 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from "@blues-inc/notehub-js"; +import * as NotehubJs from '@blues-inc/notehub-js'; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications["pin"]; -pin.apiKey = "YOUR API KEY"; +let pin = defaultClient.authentications['pin']; +pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let productUID = com.blues.airnote; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance - .putDeviceEnvironmentVariablesByPin( - productUID, - deviceUID, - environmentVariables - ) - .then( - (data) => { - console.log( - "API called successfully. Returned data: " + JSON.stringify(data) - ); - }, - (error) => { - console.error(error); - } - ); +apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(data)); +}, (error) => { + console.error(error); +}); + ``` ### Parameters | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index f1766d83..dec904b3 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -206,39 +206,35 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) Get environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from "@blues-inc/notehub-js"; +import * as NotehubJs from '@blues-inc/notehub-js'; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications["pin"]; -pin.apiKey = "YOUR API KEY"; +let pin = defaultClient.authentications['pin']; +pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let productUID = com.blues.airnote; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then( - (data) => { - console.log( - "API called successfully. Returned data: " + JSON.stringify(data) - ); - }, - (error) => { - console.error(error); - } -); +apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(data)); +}, (error) => { + console.error(error); +}); + ``` ### Parameters | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -394,46 +390,36 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization ### Example ```javascript -import * as NotehubJs from "@blues-inc/notehub-js"; +import * as NotehubJs from '@blues-inc/notehub-js'; let defaultClient = NotehubJs.ApiClient.instance; // Configure API key authorization: pin -let pin = defaultClient.authentications["pin"]; -pin.apiKey = "YOUR API KEY"; +let pin = defaultClient.authentications['pin']; +pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let productUID = com.blues.airnote; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance - .putDeviceEnvironmentVariablesByPin( - productUID, - deviceUID, - environmentVariables - ) - .then( - (data) => { - console.log( - "API called successfully. Returned data: " + JSON.stringify(data) - ); - }, - (error) => { - console.error(error); - } - ); +apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { + console.log('API called successfully. Returned data: ' + JSON.stringify(data)); +}, (error) => { + console.error(error); +}); + ``` ### Parameters | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/package.json b/src/package.json index 83892ca4..849e577e 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@blues-inc/notehub-js", - "version": "1.0.16", + "version": "1.0.17", "description": "The OpenAPI definition for the Notehub.io API. ", "license": "MIT", "main": "dist/index.js", diff --git a/src/src/ApiClient.js b/src/src/ApiClient.js index 9526c037..4c2754eb 100644 --- a/src/src/ApiClient.js +++ b/src/src/ApiClient.js @@ -16,7 +16,7 @@ import querystring from "querystring"; /** * @module ApiClient - * @version 1.0.16 + * @version 1.0.17 */ /** @@ -55,7 +55,7 @@ class ApiClient { * @default {} */ this.defaultHeaders = { - "User-Agent": "OpenAPI-Generator/1.0.16/Javascript", + "User-Agent": "OpenAPI-Generator/1.0.17/Javascript", }; /** diff --git a/src/src/api/AuthorizationApi.js b/src/src/api/AuthorizationApi.js index 81a2c839..9480ef15 100644 --- a/src/src/api/AuthorizationApi.js +++ b/src/src/api/AuthorizationApi.js @@ -18,7 +18,7 @@ import LoginRequest from "../model/LoginRequest"; /** * Authorization service. * @module api/AuthorizationApi - * @version 1.0.16 + * @version 1.0.17 */ export default class AuthorizationApi { /** diff --git a/src/src/api/BillingAccountApi.js b/src/src/api/BillingAccountApi.js index 4e0d703f..2b8be8cb 100644 --- a/src/src/api/BillingAccountApi.js +++ b/src/src/api/BillingAccountApi.js @@ -18,7 +18,7 @@ import GetBillingAccounts200Response from "../model/GetBillingAccounts200Respons /** * BillingAccount service. * @module api/BillingAccountApi - * @version 1.0.16 + * @version 1.0.17 */ export default class BillingAccountApi { /** diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index c9e4ce50..bd930153 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -28,7 +28,7 @@ import PutDeviceFleetsRequest from "../model/PutDeviceFleetsRequest"; /** * Device service. * @module api/DeviceApi - * @version 1.0.16 + * @version 1.0.17 */ export default class DeviceApi { /** @@ -516,16 +516,16 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { let postBody = null; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -536,7 +536,7 @@ export default class DeviceApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -565,13 +565,13 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -1053,21 +1053,21 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -1084,7 +1084,7 @@ export default class DeviceApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -1113,18 +1113,18 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - productUID, + projectUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/DevicesApi.js b/src/src/api/DevicesApi.js index 1951a0f4..a87c9333 100644 --- a/src/src/api/DevicesApi.js +++ b/src/src/api/DevicesApi.js @@ -20,7 +20,7 @@ import GetProjectDevices200Response from "../model/GetProjectDevices200Response" /** * Devices service. * @module api/DevicesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class DevicesApi { /** diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index 1feafc6f..74b870ad 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -19,7 +19,7 @@ import GetDeviceEnvironmentVariables200Response from "../model/GetDeviceEnvironm /** * EnvironmentVariables service. * @module api/EnvironmentVariablesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class EnvironmentVariablesApi { /** @@ -311,16 +311,16 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { let postBody = null; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -331,7 +331,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -360,13 +360,13 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -570,21 +570,21 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -601,7 +601,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -630,18 +630,18 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - productUID, + projectUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/EventApi.js b/src/src/api/EventApi.js index da133c56..cb5495d2 100644 --- a/src/src/api/EventApi.js +++ b/src/src/api/EventApi.js @@ -19,7 +19,7 @@ import GetProjectEventsByCursor200Response from "../model/GetProjectEventsByCurs /** * Event service. * @module api/EventApi - * @version 1.0.16 + * @version 1.0.17 */ export default class EventApi { /** diff --git a/src/src/api/FilesApi.js b/src/src/api/FilesApi.js index 67b9009a..15d7f90c 100644 --- a/src/src/api/FilesApi.js +++ b/src/src/api/FilesApi.js @@ -20,7 +20,7 @@ import HandleNotefileDeleteRequest from "../model/HandleNotefileDeleteRequest"; /** * Files service. * @module api/FilesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class FilesApi { /** diff --git a/src/src/api/FleetApi.js b/src/src/api/FleetApi.js index df7dcafb..8a25fe8f 100644 --- a/src/src/api/FleetApi.js +++ b/src/src/api/FleetApi.js @@ -27,7 +27,7 @@ import UpdateFleetRequest from "../model/UpdateFleetRequest"; /** * Fleet service. * @module api/FleetApi - * @version 1.0.16 + * @version 1.0.17 */ export default class FleetApi { /** diff --git a/src/src/api/NotesApi.js b/src/src/api/NotesApi.js index 54f5e5e2..5f99d990 100644 --- a/src/src/api/NotesApi.js +++ b/src/src/api/NotesApi.js @@ -20,7 +20,7 @@ import Note from "../model/Note"; /** * Notes service. * @module api/NotesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class NotesApi { /** diff --git a/src/src/api/ProductApi.js b/src/src/api/ProductApi.js index d6306475..8e3329fb 100644 --- a/src/src/api/ProductApi.js +++ b/src/src/api/ProductApi.js @@ -21,7 +21,7 @@ import Project from "../model/Project"; /** * Product service. * @module api/ProductApi - * @version 1.0.16 + * @version 1.0.17 */ export default class ProductApi { /** diff --git a/src/src/api/ProjectApi.js b/src/src/api/ProjectApi.js index ba477117..192ef9bf 100644 --- a/src/src/api/ProjectApi.js +++ b/src/src/api/ProjectApi.js @@ -30,7 +30,7 @@ import Project from "../model/Project"; /** * Project service. * @module api/ProjectApi - * @version 1.0.16 + * @version 1.0.17 */ export default class ProjectApi { /** diff --git a/src/src/api/RouteApi.js b/src/src/api/RouteApi.js index cc0cbaaa..41037dfe 100644 --- a/src/src/api/RouteApi.js +++ b/src/src/api/RouteApi.js @@ -19,7 +19,7 @@ import UserDbRoute from "../model/UserDbRoute"; /** * Route service. * @module api/RouteApi - * @version 1.0.16 + * @version 1.0.17 */ export default class RouteApi { /** diff --git a/src/src/api/RouteLogsApi.js b/src/src/api/RouteLogsApi.js index 405df5ab..be518dcf 100644 --- a/src/src/api/RouteLogsApi.js +++ b/src/src/api/RouteLogsApi.js @@ -18,7 +18,7 @@ import GetRouteLogsByRoute200ResponseInner from "../model/GetRouteLogsByRoute200 /** * RouteLogs service. * @module api/RouteLogsApi - * @version 1.0.16 + * @version 1.0.17 */ export default class RouteLogsApi { /** diff --git a/src/src/index.js b/src/src/index.js index 1d25485d..7c9e656c 100644 --- a/src/src/index.js +++ b/src/src/index.js @@ -125,7 +125,7 @@ import RouteLogsApi from "./api/RouteLogsApi"; * *

* @module index - * @version 1.0.16 + * @version 1.0.17 */ export { /** diff --git a/src/src/model/Aws.js b/src/src/model/Aws.js index 3a5afce6..d157b79b 100644 --- a/src/src/model/Aws.js +++ b/src/src/model/Aws.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Aws model module. * @module model/Aws - * @version 1.0.16 + * @version 1.0.17 */ class Aws { /** diff --git a/src/src/model/Azure.js b/src/src/model/Azure.js index 15af609a..d70e115c 100644 --- a/src/src/model/Azure.js +++ b/src/src/model/Azure.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Azure model module. * @module model/Azure - * @version 1.0.16 + * @version 1.0.17 */ class Azure { /** diff --git a/src/src/model/BillingAccount.js b/src/src/model/BillingAccount.js index 1b34757e..e375e8d3 100644 --- a/src/src/model/BillingAccount.js +++ b/src/src/model/BillingAccount.js @@ -17,7 +17,7 @@ import BillingAccountRole from "./BillingAccountRole"; /** * The BillingAccount model module. * @module model/BillingAccount - * @version 1.0.16 + * @version 1.0.17 */ class BillingAccount { /** diff --git a/src/src/model/Body.js b/src/src/model/Body.js index 6a86a2fa..53b34a44 100644 --- a/src/src/model/Body.js +++ b/src/src/model/Body.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Body model module. * @module model/Body - * @version 1.0.16 + * @version 1.0.17 */ class Body { /** diff --git a/src/src/model/CloneProjectRequest.js b/src/src/model/CloneProjectRequest.js index 00400b87..b319cc73 100644 --- a/src/src/model/CloneProjectRequest.js +++ b/src/src/model/CloneProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CloneProjectRequest model module. * @module model/CloneProjectRequest - * @version 1.0.16 + * @version 1.0.17 */ class CloneProjectRequest { /** diff --git a/src/src/model/Contact.js b/src/src/model/Contact.js index a541b037..6785970f 100644 --- a/src/src/model/Contact.js +++ b/src/src/model/Contact.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Contact model module. * @module model/Contact - * @version 1.0.16 + * @version 1.0.17 */ class Contact { /** diff --git a/src/src/model/CreateFleetRequest.js b/src/src/model/CreateFleetRequest.js index fa22afaa..d399bfbf 100644 --- a/src/src/model/CreateFleetRequest.js +++ b/src/src/model/CreateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateFleetRequest model module. * @module model/CreateFleetRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateFleetRequest { /** diff --git a/src/src/model/CreateProductRequest.js b/src/src/model/CreateProductRequest.js index cb3dd836..9dc9f14d 100644 --- a/src/src/model/CreateProductRequest.js +++ b/src/src/model/CreateProductRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProductRequest model module. * @module model/CreateProductRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateProductRequest { /** diff --git a/src/src/model/CreateProjectRequest.js b/src/src/model/CreateProjectRequest.js index 5da81889..95d83fb8 100644 --- a/src/src/model/CreateProjectRequest.js +++ b/src/src/model/CreateProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProjectRequest model module. * @module model/CreateProjectRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateProjectRequest { /** diff --git a/src/src/model/DFUEnv.js b/src/src/model/DFUEnv.js index 4264eb68..c1dcdcc5 100644 --- a/src/src/model/DFUEnv.js +++ b/src/src/model/DFUEnv.js @@ -17,7 +17,7 @@ import DFUState from "./DFUState"; /** * The DFUEnv model module. * @module model/DFUEnv - * @version 1.0.16 + * @version 1.0.17 */ class DFUEnv { /** diff --git a/src/src/model/DFUState.js b/src/src/model/DFUState.js index ce35fa3e..f434f729 100644 --- a/src/src/model/DFUState.js +++ b/src/src/model/DFUState.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DFUState model module. * @module model/DFUState - * @version 1.0.16 + * @version 1.0.17 */ class DFUState { /** diff --git a/src/src/model/DeleteDeviceFleetsRequest.js b/src/src/model/DeleteDeviceFleetsRequest.js index 5a92bc7f..15cd92f5 100644 --- a/src/src/model/DeleteDeviceFleetsRequest.js +++ b/src/src/model/DeleteDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeleteDeviceFleetsRequest model module. * @module model/DeleteDeviceFleetsRequest - * @version 1.0.16 + * @version 1.0.17 */ class DeleteDeviceFleetsRequest { /** diff --git a/src/src/model/Device.js b/src/src/model/Device.js index 4fde9751..9709b777 100644 --- a/src/src/model/Device.js +++ b/src/src/model/Device.js @@ -20,7 +20,7 @@ import Location from "./Location"; /** * The Device model module. * @module model/Device - * @version 1.0.16 + * @version 1.0.17 */ class Device { /** diff --git a/src/src/model/DeviceSession.js b/src/src/model/DeviceSession.js index f646481b..aa8a123c 100644 --- a/src/src/model/DeviceSession.js +++ b/src/src/model/DeviceSession.js @@ -18,7 +18,7 @@ import TowerLocation from "./TowerLocation"; /** * The DeviceSession model module. * @module model/DeviceSession - * @version 1.0.16 + * @version 1.0.17 */ class DeviceSession { /** diff --git a/src/src/model/DeviceTowerInfo.js b/src/src/model/DeviceTowerInfo.js index 7760160c..8eff6c62 100644 --- a/src/src/model/DeviceTowerInfo.js +++ b/src/src/model/DeviceTowerInfo.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceTowerInfo model module. * @module model/DeviceTowerInfo - * @version 1.0.16 + * @version 1.0.17 */ class DeviceTowerInfo { /** diff --git a/src/src/model/DeviceUsage.js b/src/src/model/DeviceUsage.js index 19e6d269..2df2b401 100644 --- a/src/src/model/DeviceUsage.js +++ b/src/src/model/DeviceUsage.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceUsage model module. * @module model/DeviceUsage - * @version 1.0.16 + * @version 1.0.17 */ class DeviceUsage { /** diff --git a/src/src/model/EnvironmentVariables.js b/src/src/model/EnvironmentVariables.js index 7d7161bd..c167c0db 100644 --- a/src/src/model/EnvironmentVariables.js +++ b/src/src/model/EnvironmentVariables.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The EnvironmentVariables model module. * @module model/EnvironmentVariables - * @version 1.0.16 + * @version 1.0.17 */ class EnvironmentVariables { /** diff --git a/src/src/model/Error.js b/src/src/model/Error.js index 216a865c..af71d0c6 100644 --- a/src/src/model/Error.js +++ b/src/src/model/Error.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Error model module. * @module model/Error - * @version 1.0.16 + * @version 1.0.17 */ class Error { /** diff --git a/src/src/model/Event.js b/src/src/model/Event.js index a93c1a34..12f37222 100644 --- a/src/src/model/Event.js +++ b/src/src/model/Event.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Event model module. * @module model/Event - * @version 1.0.16 + * @version 1.0.17 */ class Event { /** diff --git a/src/src/model/Fleet.js b/src/src/model/Fleet.js index 9f558217..c565e0f4 100644 --- a/src/src/model/Fleet.js +++ b/src/src/model/Fleet.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Fleet model module. * @module model/Fleet - * @version 1.0.16 + * @version 1.0.17 */ class Fleet { /** diff --git a/src/src/model/GetBillingAccounts200Response.js b/src/src/model/GetBillingAccounts200Response.js index 99dfc2c1..00e51417 100644 --- a/src/src/model/GetBillingAccounts200Response.js +++ b/src/src/model/GetBillingAccounts200Response.js @@ -17,7 +17,7 @@ import BillingAccount from "./BillingAccount"; /** * The GetBillingAccounts200Response model module. * @module model/GetBillingAccounts200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetBillingAccounts200Response { /** diff --git a/src/src/model/GetDeviceEnvironmentVariables200Response.js b/src/src/model/GetDeviceEnvironmentVariables200Response.js index 9f9ed3ce..9656d719 100644 --- a/src/src/model/GetDeviceEnvironmentVariables200Response.js +++ b/src/src/model/GetDeviceEnvironmentVariables200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceEnvironmentVariables200Response model module. * @module model/GetDeviceEnvironmentVariables200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceEnvironmentVariables200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200Response.js b/src/src/model/GetDeviceHealthLog200Response.js index a6ed3ce9..0a0edbe0 100644 --- a/src/src/model/GetDeviceHealthLog200Response.js +++ b/src/src/model/GetDeviceHealthLog200Response.js @@ -17,7 +17,7 @@ import GetDeviceHealthLog200ResponseHealthLogInner from "./GetDeviceHealthLog200 /** * The GetDeviceHealthLog200Response model module. * @module model/GetDeviceHealthLog200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceHealthLog200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js index eb5e6d00..c61947d7 100644 --- a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js +++ b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceHealthLog200ResponseHealthLogInner model module. * @module model/GetDeviceHealthLog200ResponseHealthLogInner - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceHealthLog200ResponseHealthLogInner { /** diff --git a/src/src/model/GetDeviceLatest200Response.js b/src/src/model/GetDeviceLatest200Response.js index 932df3a4..2953e548 100644 --- a/src/src/model/GetDeviceLatest200Response.js +++ b/src/src/model/GetDeviceLatest200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetDeviceLatest200Response model module. * @module model/GetDeviceLatest200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceLatest200Response { /** diff --git a/src/src/model/GetDevicePublicKey200Response.js b/src/src/model/GetDevicePublicKey200Response.js index 21242757..480f6000 100644 --- a/src/src/model/GetDevicePublicKey200Response.js +++ b/src/src/model/GetDevicePublicKey200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDevicePublicKey200Response model module. * @module model/GetDevicePublicKey200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDevicePublicKey200Response { /** diff --git a/src/src/model/GetDeviceSessions200Response.js b/src/src/model/GetDeviceSessions200Response.js index 521b5d90..9e226495 100644 --- a/src/src/model/GetDeviceSessions200Response.js +++ b/src/src/model/GetDeviceSessions200Response.js @@ -17,7 +17,7 @@ import DeviceSession from "./DeviceSession"; /** * The GetDeviceSessions200Response model module. * @module model/GetDeviceSessions200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceSessions200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200Response.js b/src/src/model/GetProjectDevicePublicKeys200Response.js index 2aa8d42d..8801f654 100644 --- a/src/src/model/GetProjectDevicePublicKeys200Response.js +++ b/src/src/model/GetProjectDevicePublicKeys200Response.js @@ -17,7 +17,7 @@ import GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner from "./GetPro /** * The GetProjectDevicePublicKeys200Response model module. * @module model/GetProjectDevicePublicKeys200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevicePublicKeys200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js index a19d0280..9da82d1e 100644 --- a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +++ b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module. * @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner { /** diff --git a/src/src/model/GetProjectDevices200Response.js b/src/src/model/GetProjectDevices200Response.js index cc4a9fdf..c7dc4b8e 100644 --- a/src/src/model/GetProjectDevices200Response.js +++ b/src/src/model/GetProjectDevices200Response.js @@ -17,7 +17,7 @@ import Device from "./Device"; /** * The GetProjectDevices200Response model module. * @module model/GetProjectDevices200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevices200Response { /** diff --git a/src/src/model/GetProjectEvents200Response.js b/src/src/model/GetProjectEvents200Response.js index e1a6fb72..e0f64c05 100644 --- a/src/src/model/GetProjectEvents200Response.js +++ b/src/src/model/GetProjectEvents200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEvents200Response model module. * @module model/GetProjectEvents200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectEvents200Response { /** diff --git a/src/src/model/GetProjectEventsByCursor200Response.js b/src/src/model/GetProjectEventsByCursor200Response.js index 0cd9ec94..05c6fe53 100644 --- a/src/src/model/GetProjectEventsByCursor200Response.js +++ b/src/src/model/GetProjectEventsByCursor200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEventsByCursor200Response model module. * @module model/GetProjectEventsByCursor200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectEventsByCursor200Response { /** diff --git a/src/src/model/GetProjectFleets200Response.js b/src/src/model/GetProjectFleets200Response.js index 404e795b..50f6310d 100644 --- a/src/src/model/GetProjectFleets200Response.js +++ b/src/src/model/GetProjectFleets200Response.js @@ -17,7 +17,7 @@ import Fleet from "./Fleet"; /** * The GetProjectFleets200Response model module. * @module model/GetProjectFleets200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectFleets200Response { /** diff --git a/src/src/model/GetProjectMembers200Response.js b/src/src/model/GetProjectMembers200Response.js index c3228a09..10a0a8d7 100644 --- a/src/src/model/GetProjectMembers200Response.js +++ b/src/src/model/GetProjectMembers200Response.js @@ -17,7 +17,7 @@ import ProjectMember from "./ProjectMember"; /** * The GetProjectMembers200Response model module. * @module model/GetProjectMembers200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectMembers200Response { /** diff --git a/src/src/model/GetProjectProducts200Response.js b/src/src/model/GetProjectProducts200Response.js index 221b3d58..290b6ccc 100644 --- a/src/src/model/GetProjectProducts200Response.js +++ b/src/src/model/GetProjectProducts200Response.js @@ -17,7 +17,7 @@ import Product from "./Product"; /** * The GetProjectProducts200Response model module. * @module model/GetProjectProducts200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectProducts200Response { /** diff --git a/src/src/model/GetProjects200Response.js b/src/src/model/GetProjects200Response.js index d7a789c8..92bf13df 100644 --- a/src/src/model/GetProjects200Response.js +++ b/src/src/model/GetProjects200Response.js @@ -17,7 +17,7 @@ import Project from "./Project"; /** * The GetProjects200Response model module. * @module model/GetProjects200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjects200Response { /** diff --git a/src/src/model/GetRouteLogsByRoute200ResponseInner.js b/src/src/model/GetRouteLogsByRoute200ResponseInner.js index 85abbb4b..f0c328fe 100644 --- a/src/src/model/GetRouteLogsByRoute200ResponseInner.js +++ b/src/src/model/GetRouteLogsByRoute200ResponseInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetRouteLogsByRoute200ResponseInner model module. * @module model/GetRouteLogsByRoute200ResponseInner - * @version 1.0.16 + * @version 1.0.17 */ class GetRouteLogsByRoute200ResponseInner { /** diff --git a/src/src/model/Google.js b/src/src/model/Google.js index 98ba8663..269bd0aa 100644 --- a/src/src/model/Google.js +++ b/src/src/model/Google.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Google model module. * @module model/Google - * @version 1.0.16 + * @version 1.0.17 */ class Google { /** diff --git a/src/src/model/HandleNoteChanges200Response.js b/src/src/model/HandleNoteChanges200Response.js index 977cdc97..d170a857 100644 --- a/src/src/model/HandleNoteChanges200Response.js +++ b/src/src/model/HandleNoteChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteChanges200Response model module. * @module model/HandleNoteChanges200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteChanges200Response { /** diff --git a/src/src/model/HandleNoteGet200Response.js b/src/src/model/HandleNoteGet200Response.js index 7119b18c..b9ae7122 100644 --- a/src/src/model/HandleNoteGet200Response.js +++ b/src/src/model/HandleNoteGet200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteGet200Response model module. * @module model/HandleNoteGet200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteGet200Response { /** diff --git a/src/src/model/HandleNoteSignal200Response.js b/src/src/model/HandleNoteSignal200Response.js index 5261fbe9..92ebef48 100644 --- a/src/src/model/HandleNoteSignal200Response.js +++ b/src/src/model/HandleNoteSignal200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteSignal200Response model module. * @module model/HandleNoteSignal200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteSignal200Response { /** diff --git a/src/src/model/HandleNotefileChanges200Response.js b/src/src/model/HandleNotefileChanges200Response.js index fe31cd8e..686022aa 100644 --- a/src/src/model/HandleNotefileChanges200Response.js +++ b/src/src/model/HandleNotefileChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChanges200Response model module. * @module model/HandleNotefileChanges200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileChanges200Response { /** diff --git a/src/src/model/HandleNotefileChangesPending200Response.js b/src/src/model/HandleNotefileChangesPending200Response.js index 2bdb338f..5a7aa128 100644 --- a/src/src/model/HandleNotefileChangesPending200Response.js +++ b/src/src/model/HandleNotefileChangesPending200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChangesPending200Response model module. * @module model/HandleNotefileChangesPending200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileChangesPending200Response { /** diff --git a/src/src/model/HandleNotefileDeleteRequest.js b/src/src/model/HandleNotefileDeleteRequest.js index e1192baf..c128777e 100644 --- a/src/src/model/HandleNotefileDeleteRequest.js +++ b/src/src/model/HandleNotefileDeleteRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileDeleteRequest model module. * @module model/HandleNotefileDeleteRequest - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileDeleteRequest { /** diff --git a/src/src/model/Http.js b/src/src/model/Http.js index 9f92860f..586b1925 100644 --- a/src/src/model/Http.js +++ b/src/src/model/Http.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Http model module. * @module model/Http - * @version 1.0.16 + * @version 1.0.17 */ class Http { /** diff --git a/src/src/model/HttpFilter.js b/src/src/model/HttpFilter.js index 67c1cd91..6b99f4fc 100644 --- a/src/src/model/HttpFilter.js +++ b/src/src/model/HttpFilter.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpFilter model module. * @module model/HttpFilter - * @version 1.0.16 + * @version 1.0.17 */ class HttpFilter { /** diff --git a/src/src/model/HttpTransform.js b/src/src/model/HttpTransform.js index 828a097a..a52b3a1a 100644 --- a/src/src/model/HttpTransform.js +++ b/src/src/model/HttpTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpTransform model module. * @module model/HttpTransform - * @version 1.0.16 + * @version 1.0.17 */ class HttpTransform { /** diff --git a/src/src/model/Location.js b/src/src/model/Location.js index 78972acc..345bfcfb 100644 --- a/src/src/model/Location.js +++ b/src/src/model/Location.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Location model module. * @module model/Location - * @version 1.0.16 + * @version 1.0.17 */ class Location { /** diff --git a/src/src/model/Login200Response.js b/src/src/model/Login200Response.js index b791807f..164c1678 100644 --- a/src/src/model/Login200Response.js +++ b/src/src/model/Login200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Login200Response model module. * @module model/Login200Response - * @version 1.0.16 + * @version 1.0.17 */ class Login200Response { /** diff --git a/src/src/model/LoginRequest.js b/src/src/model/LoginRequest.js index 70aa54b3..1cb541b8 100644 --- a/src/src/model/LoginRequest.js +++ b/src/src/model/LoginRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The LoginRequest model module. * @module model/LoginRequest - * @version 1.0.16 + * @version 1.0.17 */ class LoginRequest { /** diff --git a/src/src/model/Mqtt.js b/src/src/model/Mqtt.js index 8e285d8a..10c287ee 100644 --- a/src/src/model/Mqtt.js +++ b/src/src/model/Mqtt.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Mqtt model module. * @module model/Mqtt - * @version 1.0.16 + * @version 1.0.17 */ class Mqtt { /** diff --git a/src/src/model/Note.js b/src/src/model/Note.js index 760fd08d..8a74d70c 100644 --- a/src/src/model/Note.js +++ b/src/src/model/Note.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Note model module. * @module model/Note - * @version 1.0.16 + * @version 1.0.17 */ class Note { /** diff --git a/src/src/model/Product.js b/src/src/model/Product.js index b93ddc86..5ed912a2 100644 --- a/src/src/model/Product.js +++ b/src/src/model/Product.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Product model module. * @module model/Product - * @version 1.0.16 + * @version 1.0.17 */ class Product { /** diff --git a/src/src/model/Project.js b/src/src/model/Project.js index 071ee662..3faa46a1 100644 --- a/src/src/model/Project.js +++ b/src/src/model/Project.js @@ -18,7 +18,7 @@ import Role from "./Role"; /** * The Project model module. * @module model/Project - * @version 1.0.16 + * @version 1.0.17 */ class Project { /** diff --git a/src/src/model/ProjectMember.js b/src/src/model/ProjectMember.js index a7b2ce30..bab4fc04 100644 --- a/src/src/model/ProjectMember.js +++ b/src/src/model/ProjectMember.js @@ -17,7 +17,7 @@ import Role from "./Role"; /** * The ProjectMember model module. * @module model/ProjectMember - * @version 1.0.16 + * @version 1.0.17 */ class ProjectMember { /** diff --git a/src/src/model/Proxy.js b/src/src/model/Proxy.js index 1f4941b8..387bdcd9 100644 --- a/src/src/model/Proxy.js +++ b/src/src/model/Proxy.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Proxy model module. * @module model/Proxy - * @version 1.0.16 + * @version 1.0.17 */ class Proxy { /** diff --git a/src/src/model/PutDeviceFleetsRequest.js b/src/src/model/PutDeviceFleetsRequest.js index 7817abb6..253443c4 100644 --- a/src/src/model/PutDeviceFleetsRequest.js +++ b/src/src/model/PutDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The PutDeviceFleetsRequest model module. * @module model/PutDeviceFleetsRequest - * @version 1.0.16 + * @version 1.0.17 */ class PutDeviceFleetsRequest { /** diff --git a/src/src/model/Radresponder.js b/src/src/model/Radresponder.js index fa0f7b27..f950fcda 100644 --- a/src/src/model/Radresponder.js +++ b/src/src/model/Radresponder.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Radresponder model module. * @module model/Radresponder - * @version 1.0.16 + * @version 1.0.17 */ class Radresponder { /** diff --git a/src/src/model/Route.js b/src/src/model/Route.js index 858fe8ce..39888270 100644 --- a/src/src/model/Route.js +++ b/src/src/model/Route.js @@ -17,7 +17,7 @@ import RouteSchema from "./RouteSchema"; /** * The Route model module. * @module model/Route - * @version 1.0.16 + * @version 1.0.17 */ class Route { /** diff --git a/src/src/model/RouteSchema.js b/src/src/model/RouteSchema.js index 395d5d76..0d5d4e29 100644 --- a/src/src/model/RouteSchema.js +++ b/src/src/model/RouteSchema.js @@ -28,7 +28,7 @@ import Thingworx from "./Thingworx"; /** * The RouteSchema model module. * @module model/RouteSchema - * @version 1.0.16 + * @version 1.0.17 */ class RouteSchema { /** diff --git a/src/src/model/Slack.js b/src/src/model/Slack.js index 4280b1b4..dc473763 100644 --- a/src/src/model/Slack.js +++ b/src/src/model/Slack.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Slack model module. * @module model/Slack - * @version 1.0.16 + * @version 1.0.17 */ class Slack { /** diff --git a/src/src/model/Snowflake.js b/src/src/model/Snowflake.js index 7df37dd7..cbc2a79e 100644 --- a/src/src/model/Snowflake.js +++ b/src/src/model/Snowflake.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Snowflake model module. * @module model/Snowflake - * @version 1.0.16 + * @version 1.0.17 */ class Snowflake { /** diff --git a/src/src/model/SnowflakeTransform.js b/src/src/model/SnowflakeTransform.js index 5aac96ce..2f84e7b3 100644 --- a/src/src/model/SnowflakeTransform.js +++ b/src/src/model/SnowflakeTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The SnowflakeTransform model module. * @module model/SnowflakeTransform - * @version 1.0.16 + * @version 1.0.17 */ class SnowflakeTransform { /** diff --git a/src/src/model/Thingworx.js b/src/src/model/Thingworx.js index 4414b483..5ee7b0c8 100644 --- a/src/src/model/Thingworx.js +++ b/src/src/model/Thingworx.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Thingworx model module. * @module model/Thingworx - * @version 1.0.16 + * @version 1.0.17 */ class Thingworx { /** diff --git a/src/src/model/TowerLocation.js b/src/src/model/TowerLocation.js index 8c43d424..757f16e9 100644 --- a/src/src/model/TowerLocation.js +++ b/src/src/model/TowerLocation.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The TowerLocation model module. * @module model/TowerLocation - * @version 1.0.16 + * @version 1.0.17 */ class TowerLocation { /** diff --git a/src/src/model/Twilio.js b/src/src/model/Twilio.js index 58c227a9..0a31ad05 100644 --- a/src/src/model/Twilio.js +++ b/src/src/model/Twilio.js @@ -17,7 +17,7 @@ import HttpFilter from "./HttpFilter"; /** * The Twilio model module. * @module model/Twilio - * @version 1.0.16 + * @version 1.0.17 */ class Twilio { /** diff --git a/src/src/model/UpdateFleetRequest.js b/src/src/model/UpdateFleetRequest.js index d9e4efd3..8c628856 100644 --- a/src/src/model/UpdateFleetRequest.js +++ b/src/src/model/UpdateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UpdateFleetRequest model module. * @module model/UpdateFleetRequest - * @version 1.0.16 + * @version 1.0.17 */ class UpdateFleetRequest { /** diff --git a/src/src/model/UserDbRoute.js b/src/src/model/UserDbRoute.js index 35f0e1db..9bab64f0 100644 --- a/src/src/model/UserDbRoute.js +++ b/src/src/model/UserDbRoute.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UserDbRoute model module. * @module model/UserDbRoute - * @version 1.0.16 + * @version 1.0.17 */ class UserDbRoute { /** From 5f253892855b91d9329a5c3d8d052681adee3815 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Fri, 22 Sep 2023 17:08:09 -0400 Subject: [PATCH 6/9] feat: update openapi file with new productUIDParam --- openapi.yaml | 1114 +++++++++++++----------- src/docs/DeviceApi.md | 16 +- src/docs/EnvironmentVariablesApi.md | 16 +- src/src/api/DeviceApi.js | 36 +- src/src/api/EnvironmentVariablesApi.js | 36 +- 5 files changed, 653 insertions(+), 565 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9bd3d963..417d85cd 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -49,13 +49,12 @@ tags: description: Management of notefiles paths: - /auth/login: post: tags: [authorization] operationId: login description: Gets a session token from the API from a username and - password. + password. requestBody: required: true content: @@ -94,7 +93,7 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" responses: "200": description: Successful operation @@ -103,54 +102,55 @@ paths: schema: type: array items: - $ref: '#/components/schemas/UserDbRoute' + $ref: "#/components/schemas/UserDbRoute" minItems: 0 - example: [ - { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "success route", - "type": "http", - "modified": "2020-03-09T17:58:37Z", - "disabled": false - }, - { - "uid": "route:a9eaad31d5cee8d01a42762f71fb777a", - "label": "failing route", - "type": "http", - "modified": "2020-03-09T17:59:15Z", - "disabled": false - }, - { - "uid": "route:02ddc0e6e236c2a7e482da62047229ad", - "label": "disabled route", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": true - }, - { - "uid": "route:0ac565deb7b478a250bb82348b9cfdd4", - "label": "Proxy Route", - "type": "proxy", - "modified": "2020-03-09T17:58:36Z", - "disabled": false - }, - { - "uid": "route:fb1b9e0aba1bf030311ba2c3c1e3efd7", - "label": "Myjsonlive Webtest", - "type": "proxy", - "modified": "2020-03-09T17:58:35Z", - "disabled": false - }, - { - "uid": "route:7804818f84a3be6193e14d804fe7fca7", - "label": "Myjsonlive Echo", - "type": "proxy", - "modified": "2020-03-09T17:58:34Z", - "disabled": false - } - ] + example: + [ + { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "success route", + "type": "http", + "modified": "2020-03-09T17:58:37Z", + "disabled": false, + }, + { + "uid": "route:a9eaad31d5cee8d01a42762f71fb777a", + "label": "failing route", + "type": "http", + "modified": "2020-03-09T17:59:15Z", + "disabled": false, + }, + { + "uid": "route:02ddc0e6e236c2a7e482da62047229ad", + "label": "disabled route", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": true, + }, + { + "uid": "route:0ac565deb7b478a250bb82348b9cfdd4", + "label": "Proxy Route", + "type": "proxy", + "modified": "2020-03-09T17:58:36Z", + "disabled": false, + }, + { + "uid": "route:fb1b9e0aba1bf030311ba2c3c1e3efd7", + "label": "Myjsonlive Webtest", + "type": "proxy", + "modified": "2020-03-09T17:58:35Z", + "disabled": false, + }, + { + "uid": "route:7804818f84a3be6193e14d804fe7fca7", + "label": "Myjsonlive Echo", + "type": "proxy", + "modified": "2020-03-09T17:58:34Z", + "disabled": false, + }, + ] default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" post: tags: ["route"] operationId: createRoute @@ -158,14 +158,14 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" requestBody: description: Route to be Created required: true content: application/json: schema: - $ref: '#/components/schemas/Route' + $ref: "#/components/schemas/Route" example: > { "label": "Route Label", @@ -182,30 +182,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Route' - example: { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "Route Label", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": "false", - "http": { - "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], - "filter": { - "type": "", - "system_notefiles": false, - }, - "transform": {}, - "throttle_ms": 100, - "url": "http://route.url", - "http_headers": null, - "disable_http_headers": false, - "timeout": 0 + $ref: "#/components/schemas/Route" + example: + { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "Route Label", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": "false", + "http": + { + "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], + "filter": { "type": "", "system_notefiles": false }, + "transform": {}, + "throttle_ms": 100, + "url": "http://route.url", + "http_headers": null, + "disable_http_headers": false, + "timeout": 0, + }, } - } default: - $ref: '#/components/responses/ErrorResponse' - + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/routes/{routeUID}: get: @@ -215,37 +213,36 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/routeUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/routeUIDParam" responses: "200": description: Successful operation content: application/json: schema: - $ref: '#/components/schemas/Route' - example: { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "Route Label", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": "false", - "http": { - "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], - "filter": { - "type": "", - "system_notefiles": false, - }, - "transform": {}, - "throttle_ms": 100, - "url": "http://route.url", - "http_headers": null, - "disable_http_headers": false, - "timeout": 0 + $ref: "#/components/schemas/Route" + example: + { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "Route Label", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": "false", + "http": + { + "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], + "filter": { "type": "", "system_notefiles": false }, + "transform": {}, + "throttle_ms": 100, + "url": "http://route.url", + "http_headers": null, + "disable_http_headers": false, + "timeout": 0, + }, } - } default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: tags: ["route"] operationId: updateRoute @@ -253,15 +250,15 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/routeUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/routeUIDParam" requestBody: description: Route settings to be updated required: true content: application/json: schema: - $ref: '#/components/schemas/Route' + $ref: "#/components/schemas/Route" example: > { "http" { @@ -281,7 +278,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Route' + $ref: "#/components/schemas/Route" example: > { "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", @@ -306,7 +303,7 @@ paths: } default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" delete: tags: ["route"] operationId: deleteRoute @@ -314,8 +311,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/routeUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/routeUIDParam" responses: "200": description: Successful operation @@ -325,7 +322,7 @@ paths: type: object default: {} default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/routes/{routeUID}/route-logs: get: @@ -335,22 +332,22 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/routeUIDParam' - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' - - $ref: '#/components/parameters/deviceUIDParamQuery' - - $ref: '#/components/parameters/sortByParam' - - $ref: '#/components/parameters/sortOrderParam' - - $ref: '#/components/parameters/startDateParam' - - $ref: '#/components/parameters/endDateParam' - - $ref: '#/components/parameters/systemFilesOnlyParam' - - $ref: '#/components/parameters/filesParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/routeUIDParam" + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" + - $ref: "#/components/parameters/deviceUIDParamQuery" + - $ref: "#/components/parameters/sortByParam" + - $ref: "#/components/parameters/sortOrderParam" + - $ref: "#/components/parameters/startDateParam" + - $ref: "#/components/parameters/endDateParam" + - $ref: "#/components/parameters/systemFilesOnlyParam" + - $ref: "#/components/parameters/filesParam" responses: "200": - $ref: '#/components/responses/RouteLogsResponse' + $ref: "#/components/responses/RouteLogsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/products/{productUID}/project: get: @@ -372,9 +369,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/billing-accounts: get: @@ -394,9 +391,9 @@ paths: billing_accounts: type: array items: - $ref: '#/components/schemas/BillingAccount' + $ref: "#/components/schemas/BillingAccount" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects: get: @@ -416,9 +413,9 @@ paths: projects: type: array items: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" post: tags: ["project"] @@ -453,9 +450,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/clone: post: @@ -484,8 +481,7 @@ paths: description: The label for the project. billing_account_uid: type: string - description: - The billing account UID for the project. + description: The billing account UID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned. @@ -504,9 +500,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}: get: @@ -516,20 +512,20 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" responses: "200": description: Successful operation content: application/json: schema: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/products: parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" get: tags: ["project", "product"] @@ -548,9 +544,9 @@ paths: products: type: array items: - $ref: '#/components/schemas/Product' + $ref: "#/components/schemas/Product" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" post: tags: ["project", "product"] @@ -569,7 +565,7 @@ paths: product_uid: type: string description: The requested uid for the Product. Will be - prefixed with the user's reversed email. + prefixed with the user's reversed email. label: type: string description: The label for the Product. @@ -580,7 +576,7 @@ paths: disable_devices_by_default: type: boolean description: If `true`, devices provisioned to this product - will be automatically disabled by default. + will be automatically disabled by default. required: - product_uid - label @@ -590,13 +586,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Product' + $ref: "#/components/schemas/Product" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets: parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" get: tags: ["fleet"] @@ -606,9 +602,9 @@ paths: - api_key: [] responses: "200": - $ref: '#/components/responses/FleetsResponse' + $ref: "#/components/responses/FleetsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" post: tags: ["fleet"] @@ -634,14 +630,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Fleet' + $ref: "#/components/schemas/Fleet" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets/{fleetUID}: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" put: tags: ["fleet"] @@ -676,9 +672,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Fleet' + $ref: "#/components/schemas/Fleet" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" delete: tags: ["fleet"] @@ -690,11 +686,11 @@ paths: "204": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/members: parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" get: tags: ["project"] @@ -713,11 +709,11 @@ paths: members: type: array items: - $ref: '#/components/schemas/ProjectMember' + $ref: "#/components/schemas/ProjectMember" required: - members default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" # devices endpoints /v1/projects/{projectUID}/devices: @@ -728,9 +724,9 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" responses: "200": description: Successful operation @@ -742,14 +738,14 @@ paths: devices: type: array items: - $ref: '#/components/schemas/Device' + $ref: "#/components/schemas/Device" has_more: type: boolean required: - devices - has_more default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets/{fleetUID}/devices: get: @@ -759,10 +755,10 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" responses: "200": description: Successful operation @@ -774,14 +770,14 @@ paths: devices: type: array items: - $ref: '#/components/schemas/Device' + $ref: "#/components/schemas/Device" has_more: type: boolean required: - devices - has_more default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/public-keys: get: @@ -791,9 +787,9 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" responses: "200": description: Successful operation @@ -817,12 +813,12 @@ paths: - device_public_keys - has_more default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" get: tags: ["devices"] @@ -836,9 +832,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Device' + $ref: "#/components/schemas/Device" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" delete: tags: ["devices"] @@ -861,12 +857,12 @@ paths: "204": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/fleets: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" get: tags: ["device", "fleet"] @@ -876,9 +872,9 @@ paths: - api_key: [] responses: "200": - $ref: '#/components/responses/FleetsResponse' + $ref: "#/components/responses/FleetsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: tags: ["device", "fleet"] @@ -909,9 +905,9 @@ paths: - fleet_uids responses: "200": - $ref: '#/components/responses/FleetsResponse' + $ref: "#/components/responses/FleetsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" delete: tags: ["device", "fleet"] @@ -942,9 +938,9 @@ paths: - fleet_uids responses: "200": - $ref: '#/components/responses/FleetsResponse' + $ref: "#/components/responses/FleetsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/public-key: get: @@ -954,8 +950,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation @@ -973,7 +969,7 @@ paths: - uid - key default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/latest: get: @@ -983,14 +979,14 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": - $ref: '#/components/responses/LatestResponse' + $ref: "#/components/responses/LatestResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/health-log: get: @@ -1000,8 +996,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation @@ -1029,7 +1025,7 @@ paths: required: - health_log default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/enable: post: @@ -1039,13 +1035,13 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/disable: post: @@ -1055,13 +1051,13 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance: post: @@ -1071,13 +1067,13 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance: post: @@ -1087,13 +1083,13 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/sessions: get: @@ -1103,15 +1099,15 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" responses: "200": - $ref: '#/components/responses/SessionResponse' + $ref: "#/components/responses/SessionResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/events: get: @@ -1122,23 +1118,23 @@ paths: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" # query params - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' - - $ref: '#/components/parameters/deviceUIDParamQuery' - - $ref: '#/components/parameters/sortByParam' - - $ref: '#/components/parameters/sortOrderParam' - - $ref: '#/components/parameters/startDateParam' - - $ref: '#/components/parameters/endDateParam' - - $ref: '#/components/parameters/systemFilesOnlyParam' - - $ref: '#/components/parameters/filesParam' + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" + - $ref: "#/components/parameters/deviceUIDParamQuery" + - $ref: "#/components/parameters/sortByParam" + - $ref: "#/components/parameters/sortOrderParam" + - $ref: "#/components/parameters/startDateParam" + - $ref: "#/components/parameters/endDateParam" + - $ref: "#/components/parameters/systemFilesOnlyParam" + - $ref: "#/components/parameters/filesParam" responses: "200": - $ref: '#/components/responses/EventsResponse' + $ref: "#/components/responses/EventsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/events-cursor: get: @@ -1149,22 +1145,22 @@ paths: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" # query params - - $ref: '#/components/parameters/limitParam' - - $ref: '#/components/parameters/cursorParam' - - $ref: '#/components/parameters/sortOrderParam' - - $ref: '#/components/parameters/systemFilesOnlyParam' - - $ref: '#/components/parameters/filesParam' - - $ref: '#/components/parameters/deviceUIDParamQuery' - - $ref: '#/components/parameters/startDateParam' - - $ref: '#/components/parameters/endDateParam' + - $ref: "#/components/parameters/limitParam" + - $ref: "#/components/parameters/cursorParam" + - $ref: "#/components/parameters/sortOrderParam" + - $ref: "#/components/parameters/systemFilesOnlyParam" + - $ref: "#/components/parameters/filesParam" + - $ref: "#/components/parameters/deviceUIDParamQuery" + - $ref: "#/components/parameters/startDateParam" + - $ref: "#/components/parameters/endDateParam" responses: "200": - $ref: '#/components/responses/EventsByCursorResponse' + $ref: "#/components/responses/EventsByCursorResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/events/{eventUID}/route-logs: get: @@ -1174,13 +1170,13 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/eventUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/eventUIDParam" responses: "200": - $ref: '#/components/responses/RouteLogsResponse' + $ref: "#/components/responses/RouteLogsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets/{fleetUID}/events: get: @@ -1191,25 +1187,25 @@ paths: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" # query params - - $ref: '#/components/parameters/pageSizeParam' - - $ref: '#/components/parameters/pageNumParam' - - $ref: '#/components/parameters/deviceUIDParamQuery' - - $ref: '#/components/parameters/sortByParam' - - $ref: '#/components/parameters/sortOrderParam' - - $ref: '#/components/parameters/startDateParam' - - $ref: '#/components/parameters/endDateParam' - - $ref: '#/components/parameters/systemFilesOnlyParam' - - $ref: '#/components/parameters/filesParam' + - $ref: "#/components/parameters/pageSizeParam" + - $ref: "#/components/parameters/pageNumParam" + - $ref: "#/components/parameters/deviceUIDParamQuery" + - $ref: "#/components/parameters/sortByParam" + - $ref: "#/components/parameters/sortOrderParam" + - $ref: "#/components/parameters/startDateParam" + - $ref: "#/components/parameters/endDateParam" + - $ref: "#/components/parameters/systemFilesOnlyParam" + - $ref: "#/components/parameters/filesParam" responses: "200": - $ref: '#/components/responses/EventsResponse' + $ref: "#/components/responses/EventsResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor: get: @@ -1220,29 +1216,29 @@ paths: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" # query params - - $ref: '#/components/parameters/limitParam' - - $ref: '#/components/parameters/cursorParam' - - $ref: '#/components/parameters/sortOrderParam' - - $ref: '#/components/parameters/systemFilesOnlyParam' - - $ref: '#/components/parameters/filesParam' - - $ref: '#/components/parameters/deviceUIDParamQuery' - - $ref: '#/components/parameters/startDateParam' - - $ref: '#/components/parameters/endDateParam' + - $ref: "#/components/parameters/limitParam" + - $ref: "#/components/parameters/cursorParam" + - $ref: "#/components/parameters/sortOrderParam" + - $ref: "#/components/parameters/systemFilesOnlyParam" + - $ref: "#/components/parameters/filesParam" + - $ref: "#/components/parameters/deviceUIDParamQuery" + - $ref: "#/components/parameters/startDateParam" + - $ref: "#/components/parameters/endDateParam" responses: "200": - $ref: '#/components/responses/EventsByCursorResponse' + $ref: "#/components/responses/EventsByCursorResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" # project environment variables /v1/projects/{projectUID}/environment_variables: parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" get: description: Get environment variables of a project @@ -1252,9 +1248,9 @@ paths: - api_key: [] responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: description: Put environment variables of a project @@ -1266,12 +1262,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EnvironmentVariables' + $ref: "#/components/schemas/EnvironmentVariables" responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/environment_variables/{key}: delete: @@ -1281,7 +1277,7 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" - name: key in: path required: true @@ -1290,9 +1286,9 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/global-transformation/enable: post: @@ -1302,12 +1298,12 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/global-transformation/disable: post: @@ -1317,12 +1313,12 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/global-transformation: post: @@ -1332,25 +1328,25 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' + - $ref: "#/components/parameters/projectUIDParam" requestBody: description: JSONata expression which will be applied to each event before it is persisted and routed required: true content: application/json: schema: - $ref: '#/components/schemas/JSONata' + $ref: "#/components/schemas/JSONata" responses: "200": description: Successful operation default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" # fleet environment variables /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" get: description: Get environment variables of a fleet @@ -1360,9 +1356,9 @@ paths: - api_key: [] responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: description: Put environment variables of a fleet tags: ["fleet", "environment_variables"] @@ -1375,12 +1371,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EnvironmentVariables' + $ref: "#/components/schemas/EnvironmentVariables" responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key}: delete: @@ -1390,8 +1386,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/fleetUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/fleetUIDParam" - name: key in: path required: true @@ -1400,14 +1396,14 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" get: description: Get environment variables of a device @@ -1417,9 +1413,9 @@ paths: - api_key: [] responses: "200": - $ref: '#/components/responses/GetDeviceEnvironmentVariablesResponse' + $ref: "#/components/responses/GetDeviceEnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: description: Put environment variables of a device @@ -1433,12 +1429,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EnvironmentVariables' + $ref: "#/components/schemas/EnvironmentVariables" responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key}: delete: @@ -1448,8 +1444,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" - name: key in: path required: true @@ -1458,31 +1454,31 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin: parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/productUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" get: description: Get environment variables of a device with device pin - authorization + authorization tags: ["device", "environment_variables"] operationId: getDeviceEnvironmentVariablesByPin security: - pin: [] responses: "200": - $ref: '#/components/responses/GetDeviceEnvironmentVariablesResponse' + $ref: "#/components/responses/GetDeviceEnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: description: Put environment variables of a device with device pin - authorization + authorization tags: ["device", "environment_variables"] operationId: putDeviceEnvironmentVariablesByPin security: @@ -1493,12 +1489,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EnvironmentVariables' + $ref: "#/components/schemas/EnvironmentVariables" responses: "200": - $ref: '#/components/responses/EnvironmentVariablesResponse' + $ref: "#/components/responses/EnvironmentVariablesResponse" default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" # note endpoints /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}: @@ -1506,51 +1502,51 @@ paths: tags: ["notes"] operationId: HandleNoteAdd description: Adds a Note to a Notefile, creating the Notefile if it - doesn't yet exist. + doesn't yet exist. security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: '#/components/schemas/Note' + $ref: "#/components/schemas/Note" responses: "200": description: An empty object means success default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}: post: tags: ["notes"] operationId: HandleNoteCreateAdd description: Adds a Note to a Notefile, creating the Notefile if it - doesn't yet exist. + doesn't yet exist. security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' - - $ref: '#/components/parameters/noteIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" + - $ref: "#/components/parameters/noteIDParam" requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: '#/components/schemas/Note' + $ref: "#/components/schemas/Note" responses: "200": description: An empty object means success default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" delete: tags: ["notes"] @@ -1559,15 +1555,15 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' - - $ref: '#/components/parameters/noteIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" + - $ref: "#/components/parameters/noteIDParam" responses: "200": description: An empty object means success default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" get: tags: ["notes"] @@ -1576,10 +1572,10 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' - - $ref: '#/components/parameters/noteIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" + - $ref: "#/components/parameters/noteIDParam" - name: delete in: query required: false @@ -1610,7 +1606,7 @@ paths: type: integer description: The time the Note was added to the Notecard or Notehub default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" put: tags: ["notes"] @@ -1619,22 +1615,22 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' - - $ref: '#/components/parameters/noteIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" + - $ref: "#/components/parameters/noteIDParam" requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: '#/components/schemas/Note' + $ref: "#/components/schemas/Note" responses: "200": description: An empty object means success default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes: get: @@ -1644,9 +1640,9 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' - - $ref: '#/components/parameters/notefileIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" + - $ref: "#/components/parameters/notefileIDParam" - name: tracker description: The change tracker ID. in: query @@ -1701,7 +1697,7 @@ paths: type: object description: An object with a key for each note and a value object with the body of each Note and the time the Note was added. default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/files/changes: get: @@ -1711,8 +1707,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" - name: tracker description: The change tracker ID. in: query @@ -1745,7 +1741,7 @@ paths: type: object description: An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file. default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending: get: @@ -1755,8 +1751,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" responses: "200": description: The notefile pending changes object @@ -1778,7 +1774,7 @@ paths: type: object description: An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file. default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/files: delete: @@ -1788,8 +1784,8 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" requestBody: required: true content: @@ -1806,7 +1802,7 @@ paths: "200": description: An empty object means success default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" /v1/projects/{projectUID}/devices/{deviceUID}/signal: post: @@ -1816,15 +1812,15 @@ paths: security: - api_key: [] parameters: - - $ref: '#/components/parameters/projectUIDParam' - - $ref: '#/components/parameters/deviceUIDParam' + - $ref: "#/components/parameters/projectUIDParam" + - $ref: "#/components/parameters/deviceUIDParam" requestBody: description: Body or payload of singnal to be sent to the device required: true content: application/json: schema: - $ref: '#/components/schemas/Body' + $ref: "#/components/schemas/Body" responses: "200": description: A status response. @@ -1837,7 +1833,7 @@ paths: type: boolean description: true if the Notecard is connected to Notehub. default: - $ref: '#/components/responses/ErrorResponse' + $ref: "#/components/responses/ErrorResponse" components: securitySchemes: @@ -1866,6 +1862,14 @@ components: # NOTE: Airnote's Project UID example: app:2606f411-dea6-44a0-9743-1130f57d77d8 + productUIDParam: + name: productUID + in: path + required: true + schema: + type: string + example: com.blues.bridge:sensors + eventUIDParam: name: eventUID in: path @@ -2030,7 +2034,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" EventsResponse: description: The response body from a GET events request. @@ -2042,7 +2046,7 @@ components: events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" through: type: string description: the EventUID of the most recent event displayed @@ -2050,9 +2054,9 @@ components: type: boolean description: True if there are more events required: - - events - - through - - has_more + - events + - through + - has_more example: events: - event: dfa3747d-688b-4250-935b-5dd60354313c @@ -2100,7 +2104,7 @@ components: events: type: array items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" next_cursor: type: string description: > @@ -2156,7 +2160,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/EnvironmentVariables' + $ref: "#/components/schemas/EnvironmentVariables" GetDeviceEnvironmentVariablesResponse: description: The response body from a get device environment variables request. @@ -2193,9 +2197,9 @@ components: fleets: type: array items: - $ref: '#/components/schemas/Fleet' + $ref: "#/components/schemas/Fleet" required: - - fleets + - fleets NoteResponse: description: The response body from a note endpoint. @@ -2221,7 +2225,7 @@ components: sessions: type: array items: - $ref: '#/components/schemas/DeviceSession' + $ref: "#/components/schemas/DeviceSession" has_more: type: boolean required: @@ -2229,58 +2233,58 @@ components: - has_more example: sessions: - - session: d76689be-37cd-423c-b695-7e0c19a2a264 - device: dev:000000000000000 - product: product:com.blues.demo:project - fleets: - - fleet:46be9834-5te6-42c1-0000-b5ea05e248d7 - cell: 310,410,17169,77315594 - rssi: -61 - sinr: 183 - rsrp: -91 - rsrq: -13 - bars: 2 - rat: lte - bearer: LTE FDD - ip: 10.68.56.193 - iccid: '89011704278500000000' - apn: a-notehub.com.attz - tower: - time: 1667250835 - 'n': Shorewood Hills WI - c: US - lat: 43.0742625 - lon: -89.44239062499999 - zone: America/Chicago - mcc: 310 - mnc: 410 - lac: 17169 - cid: 77315594 - l: 86MG3HF5+P25 - count: 7 - towers: 1 - tri: {} - when: 1667251044 - voltage: 4.174 - temp: 24.437 - continuous: true - tls: true - work: 1667251046 - events: 14 - moved: 1667250807 - orientation: face-up - trigger: first sync; continuous connection mode - hp_secs_total: 7659 - hp_secs_data: 7659 - hp_cycles_total: 3 - hp_cycles_data: 3 - period: - since: 1667250832 - duration: 215 - bytes_rcvd: 2501 - bytes_sent: 4138 - sessions_tls: 1 - notes_sent: 12 + - session: d76689be-37cd-423c-b695-7e0c19a2a264 + device: dev:000000000000000 + product: product:com.blues.demo:project + fleets: + - fleet:46be9834-5te6-42c1-0000-b5ea05e248d7 + cell: 310,410,17169,77315594 + rssi: -61 + sinr: 183 + rsrp: -91 + rsrq: -13 + bars: 2 + rat: lte + bearer: LTE FDD + ip: 10.68.56.193 + iccid: "89011704278500000000" + apn: a-notehub.com.attz + tower: + time: 1667250835 + "n": Shorewood Hills WI + c: US + lat: 43.0742625 + lon: -89.44239062499999 + zone: America/Chicago + mcc: 310 + mnc: 410 + lac: 17169 + cid: 77315594 + l: 86MG3HF5+P25 + count: 7 + towers: 1 + tri: {} + when: 1667251044 + voltage: 4.174 + temp: 24.437 + continuous: true + tls: true + work: 1667251046 + events: 14 + moved: 1667250807 + orientation: face-up + trigger: first sync; continuous connection mode + hp_secs_total: 7659 + hp_secs_data: 7659 + hp_cycles_total: 3 + hp_cycles_data: 3 + period: + since: 1667250832 + duration: 215 + bytes_rcvd: 2501 + bytes_sent: 4138 + sessions_tls: 1 + notes_sent: 12 has_more: true LatestResponse: @@ -2294,68 +2298,68 @@ components: type: array description: The set of latest events. Will always include the current "session.begin" event. items: - $ref: '#/components/schemas/Event' + $ref: "#/components/schemas/Event" example: latest_events: - - event: 81bd2bf1-0399-4978-bc46-8f779b4af350 - session: ed18884b-f2a6-419f-b856-d28dc8f0892b - tls: true - device: dev:864475040523995 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667707.564694 - req: session.begin - when: 1669667707 - file: _session.qo - body: - why: sensors.qo requested sync (sensors.qo) (TLS) - tower_when: 1669667691 - tower_lat: 43.769062500000004 - tower_lon: -83.657359375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692495 - - event: 916d4c81-06ae-4263-9b55-7a3a0f73cb5a - session: 28cdc39f-9f62-4789-b0a3-2f35f9448ced - device: dev:864475040523995 - sn: tj-1 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667713.221659 - req: note.add - when: 1669667689 - file: data.qo - body: - humid: 56.23 - temp: 35.5 - tower_when: 1669667677 - tower_lat: 43.769062500000004 - tower_lon: -83.657359375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692495 - - event: e98c2c3b-edbe-4fe7-af57-2196cc843eb7 - session: 7211392c-6895-43f8-9256-790655348be5 - device: dev:864475040523995 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667711.85316 - req: note.add - when: 1669667695 - file: sensors.qo - body: - humidity: 69.88647200683693 - pressure: 993.6294496104914 - temp: 21.273027181770885 - tower_when: 1669667689 - tower_lat: 43.747037500000005 - tower_lon: -83.665859375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692496 + - event: 81bd2bf1-0399-4978-bc46-8f779b4af350 + session: ed18884b-f2a6-419f-b856-d28dc8f0892b + tls: true + device: dev:864475040523995 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667707.564694 + req: session.begin + when: 1669667707 + file: _session.qo + body: + why: sensors.qo requested sync (sensors.qo) (TLS) + tower_when: 1669667691 + tower_lat: 43.769062500000004 + tower_lon: -83.657359375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692495 + - event: 916d4c81-06ae-4263-9b55-7a3a0f73cb5a + session: 28cdc39f-9f62-4789-b0a3-2f35f9448ced + device: dev:864475040523995 + sn: tj-1 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667713.221659 + req: note.add + when: 1669667689 + file: data.qo + body: + humid: 56.23 + temp: 35.5 + tower_when: 1669667677 + tower_lat: 43.769062500000004 + tower_lon: -83.657359375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692495 + - event: e98c2c3b-edbe-4fe7-af57-2196cc843eb7 + session: 7211392c-6895-43f8-9256-790655348be5 + device: dev:864475040523995 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667711.85316 + req: note.add + when: 1669667695 + file: sensors.qo + body: + humidity: 69.88647200683693 + pressure: 993.6294496104914 + temp: 21.273027181770885 + tower_when: 1669667689 + tower_lat: 43.747037500000005 + tower_lon: -83.665859375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692496 RouteLogsResponse: description: The response body for a Route Logs request. @@ -2425,7 +2429,7 @@ components: name: type: string role: - $ref: '#/components/schemas/BillingAccountRole' + $ref: "#/components/schemas/BillingAccountRole" required: - uid - name @@ -2460,11 +2464,11 @@ components: type: string format: date-time role: - $ref: '#/components/schemas/Role' + $ref: "#/components/schemas/Role" administrative_contact: - $ref: '#/components/schemas/Contact' + $ref: "#/components/schemas/Contact" technical_contact: - $ref: '#/components/schemas/Contact' + $ref: "#/components/schemas/Contact" required: - uid - label @@ -2481,7 +2485,7 @@ components: The email address of the project member. This property will only be populated if the viewer is an owner of the project. role: - $ref: '#/components/schemas/Role' + $ref: "#/components/schemas/Role" required: - name - email @@ -2555,7 +2559,17 @@ components: description: Used for image verification mode: type: string - enum: ["idle", "error", "downloading", "sideloading", "ready", "ready-retry", "updating", "completed"] + enum: + [ + "idle", + "error", + "downloading", + "sideloading", + "ready", + "ready-retry", + "updating", + "completed", + ] description: | * "idle" - nothing downloading or downloaded * "error" - halted and in the error state @@ -2591,9 +2605,9 @@ components: type: object properties: card: - $ref: '#/components/schemas/DFUState' + $ref: "#/components/schemas/DFUState" user: - $ref: '#/components/schemas/DFUState' + $ref: "#/components/schemas/DFUState" Device: type: object @@ -2609,7 +2623,7 @@ components: type: string format: date-time contact: - $ref: '#/components/schemas/Contact' + $ref: "#/components/schemas/Contact" product_uid: type: string fleet_uids: @@ -2628,11 +2642,11 @@ components: cell_id: type: integer tower_location: - $ref: '#/components/schemas/Location' + $ref: "#/components/schemas/Location" gps_location: - $ref: '#/components/schemas/Location' + $ref: "#/components/schemas/Location" triangulated_location: - $ref: '#/components/schemas/Location' + $ref: "#/components/schemas/Location" voltage: type: number format: double @@ -2640,7 +2654,7 @@ components: type: number format: double dfu: - $ref: '#/components/schemas/DFUEnv' + $ref: "#/components/schemas/DFUEnv" sku: type: string disabled: @@ -2952,9 +2966,9 @@ components: apn: type: string tower: - $ref: '#/components/schemas/TowerLocation' + $ref: "#/components/schemas/TowerLocation" tri: - $ref: '#/components/schemas/TowerLocation' + $ref: "#/components/schemas/TowerLocation" when: type: number description: Last known capture time of a note routed through this session @@ -3010,7 +3024,7 @@ components: hp_cycles_gps: type: number period: - $ref: '#/components/schemas/DeviceUsage' + $ref: "#/components/schemas/DeviceUsage" DeviceUsage: type: object @@ -3049,9 +3063,29 @@ components: type: string default: "http" description: Type of route. - enum: ["http", "proxy", "google-function", "mqtt", "aws-lambda", "aws-lambda-with-access-key", "aws-sqs", "aws-sqs-with-access-key", "aws-sqs-fifo", - "aws-sqs-fifo-with-access-key", "aws-iot-analytics", "radnote-radresp-fixed-survey", "radnote-radresp-mobile-survey", "azure-function", - "azure-function-with-key", "azure-service-bus-with-sas-token", "thingworx", "snowflake", "slack-bearer", "slack-webhook"] + enum: + [ + "http", + "proxy", + "google-function", + "mqtt", + "aws-lambda", + "aws-lambda-with-access-key", + "aws-sqs", + "aws-sqs-with-access-key", + "aws-sqs-fifo", + "aws-sqs-fifo-with-access-key", + "aws-iot-analytics", + "radnote-radresp-fixed-survey", + "radnote-radresp-mobile-survey", + "azure-function", + "azure-function-with-key", + "azure-service-bus-with-sas-token", + "thingworx", + "snowflake", + "slack-bearer", + "slack-webhook", + ] modified: type: string description: Last Modified @@ -3061,16 +3095,16 @@ components: description: Is route disabled? schema: oneOf: - - $ref: '#/components/schemas/http' - - $ref: '#/components/schemas/google' - - $ref: '#/components/schemas/proxy' - - $ref: '#/components/schemas/mqtt' - - $ref: '#/components/schemas/aws' - - $ref: '#/components/schemas/radresponder' - - $ref: '#/components/schemas/azure' - - $ref: '#/components/schemas/thingworx' - - $ref: '#/components/schemas/snowflake' - - $ref: '#/components/schemas/slack' + - $ref: "#/components/schemas/http" + - $ref: "#/components/schemas/google" + - $ref: "#/components/schemas/proxy" + - $ref: "#/components/schemas/mqtt" + - $ref: "#/components/schemas/aws" + - $ref: "#/components/schemas/radresponder" + - $ref: "#/components/schemas/azure" + - $ref: "#/components/schemas/thingworx" + - $ref: "#/components/schemas/snowflake" + - $ref: "#/components/schemas/slack" UserDbRoute: type: object @@ -3124,7 +3158,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3182,7 +3225,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3257,7 +3309,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3326,7 +3387,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3380,7 +3450,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3429,7 +3508,16 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] + enum: + [ + "", + "bridge", + "jsonata", + "flatten", + "simple", + "body", + "payload", + ] jsonata: type: string description: JSONata transformation, if JSONata @@ -3635,7 +3723,7 @@ components: type: integer default: 15 description: Timeout in seconds for each request - + slack_type: type: string description: The type of Slack message. Must be one of "slack-bearer" for Bearer Token or "slack-webhook" for Webhook messages @@ -3644,7 +3732,7 @@ components: description: The Bearer Token for Slack messaging, if the "slack-bearer" type is selected example: xoxb-1234-56789abcdefghijklmnop channel: - type : string + type: string description: The Channel ID for Bearer Token method, if the "slack-bearer" type is selected example: C8675309 webhook_url: @@ -3658,7 +3746,7 @@ components: blocks: type: string description: The Blocks message to be sent. If populated, this field overrides the text field within the Slack Messaging API. Placeholders are available for this field. - + EnvironmentVariables: type: object properties: diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index 6db68938..5fdaaa09 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -350,7 +350,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization @@ -364,9 +364,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -378,7 +378,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -728,7 +728,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -742,10 +742,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -757,7 +757,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index dec904b3..5458f84a 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -206,7 +206,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization @@ -220,9 +220,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -234,7 +234,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -390,7 +390,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -404,10 +404,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -419,7 +419,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index bd930153..120f0735 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -516,16 +516,16 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -536,7 +536,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -565,13 +565,13 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -1053,21 +1053,21 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -1084,7 +1084,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -1113,18 +1113,18 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index 74b870ad..c10bdb84 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -311,16 +311,16 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -331,7 +331,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -360,13 +360,13 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -570,21 +570,21 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -601,7 +601,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -630,18 +630,18 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { From 8e3d0c1dd9381dc8a79d87b148b4b2b977632cfd Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 22 Sep 2023 21:27:43 +0000 Subject: [PATCH 7/9] feat: Update OpenAPI file replicated from Notehub --- config.json | 2 +- openapi.yaml | 1106 ++++++++--------- src/.openapi-generator/FILES | 1 + src/README.md | 10 +- src/docs/DeviceApi.md | 20 +- src/docs/EnvironmentVariablesApi.md | 20 +- src/package.json | 2 +- src/src/ApiClient.js | 4 +- src/src/api/AuthorizationApi.js | 2 +- src/src/api/BillingAccountApi.js | 2 +- src/src/api/DeviceApi.js | 42 +- src/src/api/DevicesApi.js | 2 +- src/src/api/EnvironmentVariablesApi.js | 42 +- src/src/api/EventApi.js | 2 +- src/src/api/FilesApi.js | 2 +- src/src/api/FleetApi.js | 2 +- src/src/api/NotesApi.js | 2 +- src/src/api/ProductApi.js | 2 +- src/src/api/ProjectApi.js | 2 +- src/src/api/RouteApi.js | 2 +- src/src/api/RouteLogsApi.js | 2 +- src/src/index.js | 2 +- src/src/model/Aws.js | 2 +- src/src/model/Azure.js | 2 +- src/src/model/BillingAccount.js | 2 +- src/src/model/Body.js | 2 +- src/src/model/CloneProjectRequest.js | 2 +- src/src/model/Contact.js | 2 +- src/src/model/CreateFleetRequest.js | 2 +- src/src/model/CreateProductRequest.js | 2 +- src/src/model/CreateProjectRequest.js | 2 +- src/src/model/DFUEnv.js | 2 +- src/src/model/DFUState.js | 2 +- src/src/model/DeleteDeviceFleetsRequest.js | 2 +- src/src/model/Device.js | 2 +- src/src/model/DeviceSession.js | 2 +- src/src/model/DeviceTowerInfo.js | 2 +- src/src/model/DeviceUsage.js | 2 +- src/src/model/EnvironmentVariables.js | 2 +- src/src/model/Error.js | 2 +- src/src/model/Event.js | 2 +- src/src/model/Fleet.js | 2 +- .../model/GetBillingAccounts200Response.js | 2 +- ...etDeviceEnvironmentVariables200Response.js | 2 +- .../model/GetDeviceHealthLog200Response.js | 2 +- ...eviceHealthLog200ResponseHealthLogInner.js | 2 +- src/src/model/GetDeviceLatest200Response.js | 2 +- .../model/GetDevicePublicKey200Response.js | 2 +- src/src/model/GetDeviceSessions200Response.js | 2 +- .../GetProjectDevicePublicKeys200Response.js | 2 +- ...licKeys200ResponseDevicePublicKeysInner.js | 2 +- src/src/model/GetProjectDevices200Response.js | 2 +- src/src/model/GetProjectEvents200Response.js | 2 +- .../GetProjectEventsByCursor200Response.js | 2 +- src/src/model/GetProjectFleets200Response.js | 2 +- src/src/model/GetProjectMembers200Response.js | 2 +- .../model/GetProjectProducts200Response.js | 2 +- src/src/model/GetProjects200Response.js | 2 +- .../GetRouteLogsByRoute200ResponseInner.js | 2 +- src/src/model/Google.js | 2 +- src/src/model/HandleNoteChanges200Response.js | 2 +- src/src/model/HandleNoteGet200Response.js | 2 +- src/src/model/HandleNoteSignal200Response.js | 2 +- .../model/HandleNotefileChanges200Response.js | 2 +- ...HandleNotefileChangesPending200Response.js | 2 +- src/src/model/HandleNotefileDeleteRequest.js | 2 +- src/src/model/Http.js | 2 +- src/src/model/HttpFilter.js | 2 +- src/src/model/HttpTransform.js | 2 +- src/src/model/Location.js | 2 +- src/src/model/Login200Response.js | 2 +- src/src/model/LoginRequest.js | 2 +- src/src/model/Mqtt.js | 2 +- src/src/model/Note.js | 2 +- src/src/model/Product.js | 2 +- src/src/model/Project.js | 2 +- src/src/model/ProjectMember.js | 2 +- src/src/model/Proxy.js | 2 +- src/src/model/PutDeviceFleetsRequest.js | 2 +- src/src/model/Radresponder.js | 2 +- src/src/model/Route.js | 2 +- src/src/model/RouteSchema.js | 2 +- src/src/model/Slack.js | 2 +- src/src/model/Snowflake.js | 2 +- src/src/model/SnowflakeTransform.js | 2 +- src/src/model/Thingworx.js | 2 +- src/src/model/TowerLocation.js | 2 +- src/src/model/Twilio.js | 2 +- src/src/model/UpdateFleetRequest.js | 2 +- src/src/model/UserDbRoute.js | 2 +- 90 files changed, 665 insertions(+), 744 deletions(-) diff --git a/config.json b/config.json index acdcdfc3..28b0c95a 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "licenseName": "MIT", "moduleName": "NotehubJs", "npmRepository": "https://registry.npmjs.org", - "projectVersion": "1.0.17", + "projectVersion": "1.0.16", "sourceFolder": "src", "usePromises": true } diff --git a/openapi.yaml b/openapi.yaml index 417d85cd..8d214317 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -49,12 +49,13 @@ tags: description: Management of notefiles paths: + /auth/login: post: tags: [authorization] operationId: login description: Gets a session token from the API from a username and - password. + password. requestBody: required: true content: @@ -93,7 +94,7 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' responses: "200": description: Successful operation @@ -102,55 +103,54 @@ paths: schema: type: array items: - $ref: "#/components/schemas/UserDbRoute" + $ref: '#/components/schemas/UserDbRoute' minItems: 0 - example: - [ - { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "success route", - "type": "http", - "modified": "2020-03-09T17:58:37Z", - "disabled": false, - }, - { - "uid": "route:a9eaad31d5cee8d01a42762f71fb777a", - "label": "failing route", - "type": "http", - "modified": "2020-03-09T17:59:15Z", - "disabled": false, - }, - { - "uid": "route:02ddc0e6e236c2a7e482da62047229ad", - "label": "disabled route", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": true, - }, - { - "uid": "route:0ac565deb7b478a250bb82348b9cfdd4", - "label": "Proxy Route", - "type": "proxy", - "modified": "2020-03-09T17:58:36Z", - "disabled": false, - }, - { - "uid": "route:fb1b9e0aba1bf030311ba2c3c1e3efd7", - "label": "Myjsonlive Webtest", - "type": "proxy", - "modified": "2020-03-09T17:58:35Z", - "disabled": false, - }, - { - "uid": "route:7804818f84a3be6193e14d804fe7fca7", - "label": "Myjsonlive Echo", - "type": "proxy", - "modified": "2020-03-09T17:58:34Z", - "disabled": false, - }, - ] + example: [ + { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "success route", + "type": "http", + "modified": "2020-03-09T17:58:37Z", + "disabled": false + }, + { + "uid": "route:a9eaad31d5cee8d01a42762f71fb777a", + "label": "failing route", + "type": "http", + "modified": "2020-03-09T17:59:15Z", + "disabled": false + }, + { + "uid": "route:02ddc0e6e236c2a7e482da62047229ad", + "label": "disabled route", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": true + }, + { + "uid": "route:0ac565deb7b478a250bb82348b9cfdd4", + "label": "Proxy Route", + "type": "proxy", + "modified": "2020-03-09T17:58:36Z", + "disabled": false + }, + { + "uid": "route:fb1b9e0aba1bf030311ba2c3c1e3efd7", + "label": "Myjsonlive Webtest", + "type": "proxy", + "modified": "2020-03-09T17:58:35Z", + "disabled": false + }, + { + "uid": "route:7804818f84a3be6193e14d804fe7fca7", + "label": "Myjsonlive Echo", + "type": "proxy", + "modified": "2020-03-09T17:58:34Z", + "disabled": false + } + ] default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' post: tags: ["route"] operationId: createRoute @@ -158,14 +158,14 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' requestBody: description: Route to be Created required: true content: application/json: schema: - $ref: "#/components/schemas/Route" + $ref: '#/components/schemas/Route' example: > { "label": "Route Label", @@ -182,28 +182,30 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Route" - example: - { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "Route Label", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": "false", - "http": - { - "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], - "filter": { "type": "", "system_notefiles": false }, - "transform": {}, - "throttle_ms": 100, - "url": "http://route.url", - "http_headers": null, - "disable_http_headers": false, - "timeout": 0, - }, + $ref: '#/components/schemas/Route' + example: { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "Route Label", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": "false", + "http": { + "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], + "filter": { + "type": "", + "system_notefiles": false, + }, + "transform": {}, + "throttle_ms": 100, + "url": "http://route.url", + "http_headers": null, + "disable_http_headers": false, + "timeout": 0 } + } default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' + /v1/projects/{projectUID}/routes/{routeUID}: get: @@ -213,36 +215,37 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/routeUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/routeUIDParam' responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/Route" - example: - { - "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", - "label": "Route Label", - "type": "http", - "modified": "2020-03-09T17:59:44Z", - "disabled": "false", - "http": - { - "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], - "filter": { "type": "", "system_notefiles": false }, - "transform": {}, - "throttle_ms": 100, - "url": "http://route.url", - "http_headers": null, - "disable_http_headers": false, - "timeout": 0, - }, + $ref: '#/components/schemas/Route' + example: { + "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", + "label": "Route Label", + "type": "http", + "modified": "2020-03-09T17:59:44Z", + "disabled": "false", + "http": { + "fleets": ["fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d"], + "filter": { + "type": "", + "system_notefiles": false, + }, + "transform": {}, + "throttle_ms": 100, + "url": "http://route.url", + "http_headers": null, + "disable_http_headers": false, + "timeout": 0 } + } default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: tags: ["route"] operationId: updateRoute @@ -250,15 +253,15 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/routeUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/routeUIDParam' requestBody: description: Route settings to be updated required: true content: application/json: schema: - $ref: "#/components/schemas/Route" + $ref: '#/components/schemas/Route' example: > { "http" { @@ -278,7 +281,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Route" + $ref: '#/components/schemas/Route' example: > { "uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", @@ -303,7 +306,7 @@ paths: } default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' delete: tags: ["route"] operationId: deleteRoute @@ -311,8 +314,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/routeUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/routeUIDParam' responses: "200": description: Successful operation @@ -322,7 +325,7 @@ paths: type: object default: {} default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/routes/{routeUID}/route-logs: get: @@ -332,22 +335,22 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/routeUIDParam" - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" - - $ref: "#/components/parameters/deviceUIDParamQuery" - - $ref: "#/components/parameters/sortByParam" - - $ref: "#/components/parameters/sortOrderParam" - - $ref: "#/components/parameters/startDateParam" - - $ref: "#/components/parameters/endDateParam" - - $ref: "#/components/parameters/systemFilesOnlyParam" - - $ref: "#/components/parameters/filesParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/routeUIDParam' + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' + - $ref: '#/components/parameters/deviceUIDParamQuery' + - $ref: '#/components/parameters/sortByParam' + - $ref: '#/components/parameters/sortOrderParam' + - $ref: '#/components/parameters/startDateParam' + - $ref: '#/components/parameters/endDateParam' + - $ref: '#/components/parameters/systemFilesOnlyParam' + - $ref: '#/components/parameters/filesParam' responses: "200": - $ref: "#/components/responses/RouteLogsResponse" + $ref: '#/components/responses/RouteLogsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/products/{productUID}/project: get: @@ -369,9 +372,9 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Project" + $ref: '#/components/schemas/Project' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/billing-accounts: get: @@ -391,9 +394,9 @@ paths: billing_accounts: type: array items: - $ref: "#/components/schemas/BillingAccount" + $ref: '#/components/schemas/BillingAccount' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects: get: @@ -413,9 +416,9 @@ paths: projects: type: array items: - $ref: "#/components/schemas/Project" + $ref: '#/components/schemas/Project' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' post: tags: ["project"] @@ -450,9 +453,9 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Project" + $ref: '#/components/schemas/Project' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/clone: post: @@ -481,7 +484,8 @@ paths: description: The label for the project. billing_account_uid: type: string - description: The billing account UID for the project. + description: + The billing account UID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned. @@ -500,9 +504,9 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Project" + $ref: '#/components/schemas/Project' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}: get: @@ -512,20 +516,20 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' responses: "200": description: Successful operation content: application/json: schema: - $ref: "#/components/schemas/Project" + $ref: '#/components/schemas/Project' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/products: parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' get: tags: ["project", "product"] @@ -544,9 +548,9 @@ paths: products: type: array items: - $ref: "#/components/schemas/Product" + $ref: '#/components/schemas/Product' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' post: tags: ["project", "product"] @@ -565,7 +569,7 @@ paths: product_uid: type: string description: The requested uid for the Product. Will be - prefixed with the user's reversed email. + prefixed with the user's reversed email. label: type: string description: The label for the Product. @@ -576,7 +580,7 @@ paths: disable_devices_by_default: type: boolean description: If `true`, devices provisioned to this product - will be automatically disabled by default. + will be automatically disabled by default. required: - product_uid - label @@ -586,13 +590,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Product" + $ref: '#/components/schemas/Product' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets: parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' get: tags: ["fleet"] @@ -602,9 +606,9 @@ paths: - api_key: [] responses: "200": - $ref: "#/components/responses/FleetsResponse" + $ref: '#/components/responses/FleetsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' post: tags: ["fleet"] @@ -630,14 +634,14 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Fleet" + $ref: '#/components/schemas/Fleet' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets/{fleetUID}: parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' put: tags: ["fleet"] @@ -672,9 +676,9 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Fleet" + $ref: '#/components/schemas/Fleet' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' delete: tags: ["fleet"] @@ -686,11 +690,11 @@ paths: "204": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/members: parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' get: tags: ["project"] @@ -709,11 +713,11 @@ paths: members: type: array items: - $ref: "#/components/schemas/ProjectMember" + $ref: '#/components/schemas/ProjectMember' required: - members default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' # devices endpoints /v1/projects/{projectUID}/devices: @@ -724,9 +728,9 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' responses: "200": description: Successful operation @@ -738,14 +742,14 @@ paths: devices: type: array items: - $ref: "#/components/schemas/Device" + $ref: '#/components/schemas/Device' has_more: type: boolean required: - devices - has_more default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets/{fleetUID}/devices: get: @@ -755,10 +759,10 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' responses: "200": description: Successful operation @@ -770,14 +774,14 @@ paths: devices: type: array items: - $ref: "#/components/schemas/Device" + $ref: '#/components/schemas/Device' has_more: type: boolean required: - devices - has_more default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/public-keys: get: @@ -787,9 +791,9 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' responses: "200": description: Successful operation @@ -813,12 +817,12 @@ paths: - device_public_keys - has_more default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}: parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' get: tags: ["devices"] @@ -832,9 +836,9 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/Device" + $ref: '#/components/schemas/Device' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' delete: tags: ["devices"] @@ -857,12 +861,12 @@ paths: "204": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/fleets: parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' get: tags: ["device", "fleet"] @@ -872,9 +876,9 @@ paths: - api_key: [] responses: "200": - $ref: "#/components/responses/FleetsResponse" + $ref: '#/components/responses/FleetsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: tags: ["device", "fleet"] @@ -905,9 +909,9 @@ paths: - fleet_uids responses: "200": - $ref: "#/components/responses/FleetsResponse" + $ref: '#/components/responses/FleetsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' delete: tags: ["device", "fleet"] @@ -938,9 +942,9 @@ paths: - fleet_uids responses: "200": - $ref: "#/components/responses/FleetsResponse" + $ref: '#/components/responses/FleetsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/public-key: get: @@ -950,8 +954,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation @@ -969,7 +973,7 @@ paths: - uid - key default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/latest: get: @@ -979,14 +983,14 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": - $ref: "#/components/responses/LatestResponse" + $ref: '#/components/responses/LatestResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/health-log: get: @@ -996,8 +1000,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation @@ -1025,7 +1029,7 @@ paths: required: - health_log default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/enable: post: @@ -1035,13 +1039,13 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/disable: post: @@ -1051,13 +1055,13 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance: post: @@ -1067,13 +1071,13 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance: post: @@ -1083,13 +1087,13 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/sessions: get: @@ -1099,15 +1103,15 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' responses: "200": - $ref: "#/components/responses/SessionResponse" + $ref: '#/components/responses/SessionResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/events: get: @@ -1118,23 +1122,23 @@ paths: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' # query params - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" - - $ref: "#/components/parameters/deviceUIDParamQuery" - - $ref: "#/components/parameters/sortByParam" - - $ref: "#/components/parameters/sortOrderParam" - - $ref: "#/components/parameters/startDateParam" - - $ref: "#/components/parameters/endDateParam" - - $ref: "#/components/parameters/systemFilesOnlyParam" - - $ref: "#/components/parameters/filesParam" + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' + - $ref: '#/components/parameters/deviceUIDParamQuery' + - $ref: '#/components/parameters/sortByParam' + - $ref: '#/components/parameters/sortOrderParam' + - $ref: '#/components/parameters/startDateParam' + - $ref: '#/components/parameters/endDateParam' + - $ref: '#/components/parameters/systemFilesOnlyParam' + - $ref: '#/components/parameters/filesParam' responses: "200": - $ref: "#/components/responses/EventsResponse" + $ref: '#/components/responses/EventsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/events-cursor: get: @@ -1145,22 +1149,22 @@ paths: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' # query params - - $ref: "#/components/parameters/limitParam" - - $ref: "#/components/parameters/cursorParam" - - $ref: "#/components/parameters/sortOrderParam" - - $ref: "#/components/parameters/systemFilesOnlyParam" - - $ref: "#/components/parameters/filesParam" - - $ref: "#/components/parameters/deviceUIDParamQuery" - - $ref: "#/components/parameters/startDateParam" - - $ref: "#/components/parameters/endDateParam" + - $ref: '#/components/parameters/limitParam' + - $ref: '#/components/parameters/cursorParam' + - $ref: '#/components/parameters/sortOrderParam' + - $ref: '#/components/parameters/systemFilesOnlyParam' + - $ref: '#/components/parameters/filesParam' + - $ref: '#/components/parameters/deviceUIDParamQuery' + - $ref: '#/components/parameters/startDateParam' + - $ref: '#/components/parameters/endDateParam' responses: "200": - $ref: "#/components/responses/EventsByCursorResponse" + $ref: '#/components/responses/EventsByCursorResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/events/{eventUID}/route-logs: get: @@ -1170,13 +1174,13 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/eventUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/eventUIDParam' responses: "200": - $ref: "#/components/responses/RouteLogsResponse" + $ref: '#/components/responses/RouteLogsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets/{fleetUID}/events: get: @@ -1187,25 +1191,25 @@ paths: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' # query params - - $ref: "#/components/parameters/pageSizeParam" - - $ref: "#/components/parameters/pageNumParam" - - $ref: "#/components/parameters/deviceUIDParamQuery" - - $ref: "#/components/parameters/sortByParam" - - $ref: "#/components/parameters/sortOrderParam" - - $ref: "#/components/parameters/startDateParam" - - $ref: "#/components/parameters/endDateParam" - - $ref: "#/components/parameters/systemFilesOnlyParam" - - $ref: "#/components/parameters/filesParam" + - $ref: '#/components/parameters/pageSizeParam' + - $ref: '#/components/parameters/pageNumParam' + - $ref: '#/components/parameters/deviceUIDParamQuery' + - $ref: '#/components/parameters/sortByParam' + - $ref: '#/components/parameters/sortOrderParam' + - $ref: '#/components/parameters/startDateParam' + - $ref: '#/components/parameters/endDateParam' + - $ref: '#/components/parameters/systemFilesOnlyParam' + - $ref: '#/components/parameters/filesParam' responses: "200": - $ref: "#/components/responses/EventsResponse" + $ref: '#/components/responses/EventsResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets/{fleetUID}/events-cursor: get: @@ -1216,29 +1220,29 @@ paths: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' # query params - - $ref: "#/components/parameters/limitParam" - - $ref: "#/components/parameters/cursorParam" - - $ref: "#/components/parameters/sortOrderParam" - - $ref: "#/components/parameters/systemFilesOnlyParam" - - $ref: "#/components/parameters/filesParam" - - $ref: "#/components/parameters/deviceUIDParamQuery" - - $ref: "#/components/parameters/startDateParam" - - $ref: "#/components/parameters/endDateParam" + - $ref: '#/components/parameters/limitParam' + - $ref: '#/components/parameters/cursorParam' + - $ref: '#/components/parameters/sortOrderParam' + - $ref: '#/components/parameters/systemFilesOnlyParam' + - $ref: '#/components/parameters/filesParam' + - $ref: '#/components/parameters/deviceUIDParamQuery' + - $ref: '#/components/parameters/startDateParam' + - $ref: '#/components/parameters/endDateParam' responses: "200": - $ref: "#/components/responses/EventsByCursorResponse" + $ref: '#/components/responses/EventsByCursorResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' # project environment variables /v1/projects/{projectUID}/environment_variables: parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' get: description: Get environment variables of a project @@ -1248,9 +1252,9 @@ paths: - api_key: [] responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: description: Put environment variables of a project @@ -1262,12 +1266,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EnvironmentVariables" + $ref: '#/components/schemas/EnvironmentVariables' responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/environment_variables/{key}: delete: @@ -1277,7 +1281,7 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' - name: key in: path required: true @@ -1286,9 +1290,9 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/global-transformation/enable: post: @@ -1298,12 +1302,12 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/global-transformation/disable: post: @@ -1313,12 +1317,12 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/global-transformation: post: @@ -1328,25 +1332,25 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" + - $ref: '#/components/parameters/projectUIDParam' requestBody: description: JSONata expression which will be applied to each event before it is persisted and routed required: true content: application/json: schema: - $ref: "#/components/schemas/JSONata" + $ref: '#/components/schemas/JSONata' responses: "200": description: Successful operation default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' # fleet environment variables /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables: parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' get: description: Get environment variables of a fleet @@ -1356,9 +1360,9 @@ paths: - api_key: [] responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: description: Put environment variables of a fleet tags: ["fleet", "environment_variables"] @@ -1371,12 +1375,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EnvironmentVariables" + $ref: '#/components/schemas/EnvironmentVariables' responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key}: delete: @@ -1386,8 +1390,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/fleetUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/fleetUIDParam' - name: key in: path required: true @@ -1396,14 +1400,14 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables: parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' get: description: Get environment variables of a device @@ -1413,9 +1417,9 @@ paths: - api_key: [] responses: "200": - $ref: "#/components/responses/GetDeviceEnvironmentVariablesResponse" + $ref: '#/components/responses/GetDeviceEnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: description: Put environment variables of a device @@ -1429,12 +1433,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EnvironmentVariables" + $ref: '#/components/schemas/EnvironmentVariables' responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key}: delete: @@ -1444,8 +1448,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' - name: key in: path required: true @@ -1454,31 +1458,31 @@ paths: description: The environment variable key to delete. responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin: parameters: - - $ref: "#/components/parameters/productUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/productUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' get: description: Get environment variables of a device with device pin - authorization + authorization tags: ["device", "environment_variables"] operationId: getDeviceEnvironmentVariablesByPin security: - pin: [] responses: "200": - $ref: "#/components/responses/GetDeviceEnvironmentVariablesResponse" + $ref: '#/components/responses/GetDeviceEnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: description: Put environment variables of a device with device pin - authorization + authorization tags: ["device", "environment_variables"] operationId: putDeviceEnvironmentVariablesByPin security: @@ -1489,12 +1493,12 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/EnvironmentVariables" + $ref: '#/components/schemas/EnvironmentVariables' responses: "200": - $ref: "#/components/responses/EnvironmentVariablesResponse" + $ref: '#/components/responses/EnvironmentVariablesResponse' default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' # note endpoints /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}: @@ -1502,51 +1506,51 @@ paths: tags: ["notes"] operationId: HandleNoteAdd description: Adds a Note to a Notefile, creating the Notefile if it - doesn't yet exist. + doesn't yet exist. security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: "#/components/schemas/Note" + $ref: '#/components/schemas/Note' responses: "200": description: An empty object means success default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}: post: tags: ["notes"] operationId: HandleNoteCreateAdd description: Adds a Note to a Notefile, creating the Notefile if it - doesn't yet exist. + doesn't yet exist. security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" - - $ref: "#/components/parameters/noteIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' + - $ref: '#/components/parameters/noteIDParam' requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: "#/components/schemas/Note" + $ref: '#/components/schemas/Note' responses: "200": description: An empty object means success default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' delete: tags: ["notes"] @@ -1555,15 +1559,15 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" - - $ref: "#/components/parameters/noteIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' + - $ref: '#/components/parameters/noteIDParam' responses: "200": description: An empty object means success default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' get: tags: ["notes"] @@ -1572,10 +1576,10 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" - - $ref: "#/components/parameters/noteIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' + - $ref: '#/components/parameters/noteIDParam' - name: delete in: query required: false @@ -1606,7 +1610,7 @@ paths: type: integer description: The time the Note was added to the Notecard or Notehub default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' put: tags: ["notes"] @@ -1615,22 +1619,22 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" - - $ref: "#/components/parameters/noteIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' + - $ref: '#/components/parameters/noteIDParam' requestBody: description: Body or payload of note to be added to the device required: true content: application/json: schema: - $ref: "#/components/schemas/Note" + $ref: '#/components/schemas/Note' responses: "200": description: An empty object means success default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes: get: @@ -1640,9 +1644,9 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" - - $ref: "#/components/parameters/notefileIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' + - $ref: '#/components/parameters/notefileIDParam' - name: tracker description: The change tracker ID. in: query @@ -1697,7 +1701,7 @@ paths: type: object description: An object with a key for each note and a value object with the body of each Note and the time the Note was added. default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/files/changes: get: @@ -1707,8 +1711,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' - name: tracker description: The change tracker ID. in: query @@ -1741,7 +1745,7 @@ paths: type: object description: An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file. default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending: get: @@ -1751,8 +1755,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' responses: "200": description: The notefile pending changes object @@ -1774,7 +1778,7 @@ paths: type: object description: An object with a key for each Notefile that matched the request parameters, and value object with the changes and total for each file. default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/files: delete: @@ -1784,8 +1788,8 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' requestBody: required: true content: @@ -1802,7 +1806,7 @@ paths: "200": description: An empty object means success default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' /v1/projects/{projectUID}/devices/{deviceUID}/signal: post: @@ -1812,15 +1816,15 @@ paths: security: - api_key: [] parameters: - - $ref: "#/components/parameters/projectUIDParam" - - $ref: "#/components/parameters/deviceUIDParam" + - $ref: '#/components/parameters/projectUIDParam' + - $ref: '#/components/parameters/deviceUIDParam' requestBody: description: Body or payload of singnal to be sent to the device required: true content: application/json: schema: - $ref: "#/components/schemas/Body" + $ref: '#/components/schemas/Body' responses: "200": description: A status response. @@ -1833,7 +1837,7 @@ paths: type: boolean description: true if the Notecard is connected to Notehub. default: - $ref: "#/components/responses/ErrorResponse" + $ref: '#/components/responses/ErrorResponse' components: securitySchemes: @@ -2034,7 +2038,7 @@ components: content: application/json: schema: - $ref: "#/components/schemas/Error" + $ref: '#/components/schemas/Error' EventsResponse: description: The response body from a GET events request. @@ -2046,7 +2050,7 @@ components: events: type: array items: - $ref: "#/components/schemas/Event" + $ref: '#/components/schemas/Event' through: type: string description: the EventUID of the most recent event displayed @@ -2054,9 +2058,9 @@ components: type: boolean description: True if there are more events required: - - events - - through - - has_more + - events + - through + - has_more example: events: - event: dfa3747d-688b-4250-935b-5dd60354313c @@ -2104,7 +2108,7 @@ components: events: type: array items: - $ref: "#/components/schemas/Event" + $ref: '#/components/schemas/Event' next_cursor: type: string description: > @@ -2160,7 +2164,7 @@ components: content: application/json: schema: - $ref: "#/components/schemas/EnvironmentVariables" + $ref: '#/components/schemas/EnvironmentVariables' GetDeviceEnvironmentVariablesResponse: description: The response body from a get device environment variables request. @@ -2197,9 +2201,9 @@ components: fleets: type: array items: - $ref: "#/components/schemas/Fleet" + $ref: '#/components/schemas/Fleet' required: - - fleets + - fleets NoteResponse: description: The response body from a note endpoint. @@ -2225,7 +2229,7 @@ components: sessions: type: array items: - $ref: "#/components/schemas/DeviceSession" + $ref: '#/components/schemas/DeviceSession' has_more: type: boolean required: @@ -2233,58 +2237,58 @@ components: - has_more example: sessions: - - session: d76689be-37cd-423c-b695-7e0c19a2a264 - device: dev:000000000000000 - product: product:com.blues.demo:project - fleets: - - fleet:46be9834-5te6-42c1-0000-b5ea05e248d7 - cell: 310,410,17169,77315594 - rssi: -61 - sinr: 183 - rsrp: -91 - rsrq: -13 - bars: 2 - rat: lte - bearer: LTE FDD - ip: 10.68.56.193 - iccid: "89011704278500000000" - apn: a-notehub.com.attz - tower: - time: 1667250835 - "n": Shorewood Hills WI - c: US - lat: 43.0742625 - lon: -89.44239062499999 - zone: America/Chicago - mcc: 310 - mnc: 410 - lac: 17169 - cid: 77315594 - l: 86MG3HF5+P25 - count: 7 - towers: 1 - tri: {} - when: 1667251044 - voltage: 4.174 - temp: 24.437 - continuous: true - tls: true - work: 1667251046 - events: 14 - moved: 1667250807 - orientation: face-up - trigger: first sync; continuous connection mode - hp_secs_total: 7659 - hp_secs_data: 7659 - hp_cycles_total: 3 - hp_cycles_data: 3 - period: - since: 1667250832 - duration: 215 - bytes_rcvd: 2501 - bytes_sent: 4138 - sessions_tls: 1 - notes_sent: 12 + - session: d76689be-37cd-423c-b695-7e0c19a2a264 + device: dev:000000000000000 + product: product:com.blues.demo:project + fleets: + - fleet:46be9834-5te6-42c1-0000-b5ea05e248d7 + cell: 310,410,17169,77315594 + rssi: -61 + sinr: 183 + rsrp: -91 + rsrq: -13 + bars: 2 + rat: lte + bearer: LTE FDD + ip: 10.68.56.193 + iccid: '89011704278500000000' + apn: a-notehub.com.attz + tower: + time: 1667250835 + 'n': Shorewood Hills WI + c: US + lat: 43.0742625 + lon: -89.44239062499999 + zone: America/Chicago + mcc: 310 + mnc: 410 + lac: 17169 + cid: 77315594 + l: 86MG3HF5+P25 + count: 7 + towers: 1 + tri: {} + when: 1667251044 + voltage: 4.174 + temp: 24.437 + continuous: true + tls: true + work: 1667251046 + events: 14 + moved: 1667250807 + orientation: face-up + trigger: first sync; continuous connection mode + hp_secs_total: 7659 + hp_secs_data: 7659 + hp_cycles_total: 3 + hp_cycles_data: 3 + period: + since: 1667250832 + duration: 215 + bytes_rcvd: 2501 + bytes_sent: 4138 + sessions_tls: 1 + notes_sent: 12 has_more: true LatestResponse: @@ -2298,68 +2302,68 @@ components: type: array description: The set of latest events. Will always include the current "session.begin" event. items: - $ref: "#/components/schemas/Event" + $ref: '#/components/schemas/Event' example: latest_events: - - event: 81bd2bf1-0399-4978-bc46-8f779b4af350 - session: ed18884b-f2a6-419f-b856-d28dc8f0892b - tls: true - device: dev:864475040523995 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667707.564694 - req: session.begin - when: 1669667707 - file: _session.qo - body: - why: sensors.qo requested sync (sensors.qo) (TLS) - tower_when: 1669667691 - tower_lat: 43.769062500000004 - tower_lon: -83.657359375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692495 - - event: 916d4c81-06ae-4263-9b55-7a3a0f73cb5a - session: 28cdc39f-9f62-4789-b0a3-2f35f9448ced - device: dev:864475040523995 - sn: tj-1 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667713.221659 - req: note.add - when: 1669667689 - file: data.qo - body: - humid: 56.23 - temp: 35.5 - tower_when: 1669667677 - tower_lat: 43.769062500000004 - tower_lon: -83.657359375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692495 - - event: e98c2c3b-edbe-4fe7-af57-2196cc843eb7 - session: 7211392c-6895-43f8-9256-790655348be5 - device: dev:864475040523995 - product: product:com.blues.app:myapp - app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 - received: 1669667711.85316 - req: note.add - when: 1669667695 - file: sensors.qo - body: - humidity: 69.88647200683693 - pressure: 993.6294496104914 - temp: 21.273027181770885 - tower_when: 1669667689 - tower_lat: 43.747037500000005 - tower_lon: -83.665859375 - tower_country: US - tower_location: Waverly MI - tower_timezone: America/Detroit - tower_id: 310,410,20483,184692496 + - event: 81bd2bf1-0399-4978-bc46-8f779b4af350 + session: ed18884b-f2a6-419f-b856-d28dc8f0892b + tls: true + device: dev:864475040523995 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667707.564694 + req: session.begin + when: 1669667707 + file: _session.qo + body: + why: sensors.qo requested sync (sensors.qo) (TLS) + tower_when: 1669667691 + tower_lat: 43.769062500000004 + tower_lon: -83.657359375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692495 + - event: 916d4c81-06ae-4263-9b55-7a3a0f73cb5a + session: 28cdc39f-9f62-4789-b0a3-2f35f9448ced + device: dev:864475040523995 + sn: tj-1 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667713.221659 + req: note.add + when: 1669667689 + file: data.qo + body: + humid: 56.23 + temp: 35.5 + tower_when: 1669667677 + tower_lat: 43.769062500000004 + tower_lon: -83.657359375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692495 + - event: e98c2c3b-edbe-4fe7-af57-2196cc843eb7 + session: 7211392c-6895-43f8-9256-790655348be5 + device: dev:864475040523995 + product: product:com.blues.app:myapp + app: app:2e49f10a-76a9-4e2d-8b18-cef0b8b46446 + received: 1669667711.85316 + req: note.add + when: 1669667695 + file: sensors.qo + body: + humidity: 69.88647200683693 + pressure: 993.6294496104914 + temp: 21.273027181770885 + tower_when: 1669667689 + tower_lat: 43.747037500000005 + tower_lon: -83.665859375 + tower_country: US + tower_location: Waverly MI + tower_timezone: America/Detroit + tower_id: 310,410,20483,184692496 RouteLogsResponse: description: The response body for a Route Logs request. @@ -2429,7 +2433,7 @@ components: name: type: string role: - $ref: "#/components/schemas/BillingAccountRole" + $ref: '#/components/schemas/BillingAccountRole' required: - uid - name @@ -2464,11 +2468,11 @@ components: type: string format: date-time role: - $ref: "#/components/schemas/Role" + $ref: '#/components/schemas/Role' administrative_contact: - $ref: "#/components/schemas/Contact" + $ref: '#/components/schemas/Contact' technical_contact: - $ref: "#/components/schemas/Contact" + $ref: '#/components/schemas/Contact' required: - uid - label @@ -2485,7 +2489,7 @@ components: The email address of the project member. This property will only be populated if the viewer is an owner of the project. role: - $ref: "#/components/schemas/Role" + $ref: '#/components/schemas/Role' required: - name - email @@ -2559,17 +2563,7 @@ components: description: Used for image verification mode: type: string - enum: - [ - "idle", - "error", - "downloading", - "sideloading", - "ready", - "ready-retry", - "updating", - "completed", - ] + enum: ["idle", "error", "downloading", "sideloading", "ready", "ready-retry", "updating", "completed"] description: | * "idle" - nothing downloading or downloaded * "error" - halted and in the error state @@ -2605,9 +2599,9 @@ components: type: object properties: card: - $ref: "#/components/schemas/DFUState" + $ref: '#/components/schemas/DFUState' user: - $ref: "#/components/schemas/DFUState" + $ref: '#/components/schemas/DFUState' Device: type: object @@ -2623,7 +2617,7 @@ components: type: string format: date-time contact: - $ref: "#/components/schemas/Contact" + $ref: '#/components/schemas/Contact' product_uid: type: string fleet_uids: @@ -2642,11 +2636,11 @@ components: cell_id: type: integer tower_location: - $ref: "#/components/schemas/Location" + $ref: '#/components/schemas/Location' gps_location: - $ref: "#/components/schemas/Location" + $ref: '#/components/schemas/Location' triangulated_location: - $ref: "#/components/schemas/Location" + $ref: '#/components/schemas/Location' voltage: type: number format: double @@ -2654,7 +2648,7 @@ components: type: number format: double dfu: - $ref: "#/components/schemas/DFUEnv" + $ref: '#/components/schemas/DFUEnv' sku: type: string disabled: @@ -2966,9 +2960,9 @@ components: apn: type: string tower: - $ref: "#/components/schemas/TowerLocation" + $ref: '#/components/schemas/TowerLocation' tri: - $ref: "#/components/schemas/TowerLocation" + $ref: '#/components/schemas/TowerLocation' when: type: number description: Last known capture time of a note routed through this session @@ -3024,7 +3018,7 @@ components: hp_cycles_gps: type: number period: - $ref: "#/components/schemas/DeviceUsage" + $ref: '#/components/schemas/DeviceUsage' DeviceUsage: type: object @@ -3063,29 +3057,9 @@ components: type: string default: "http" description: Type of route. - enum: - [ - "http", - "proxy", - "google-function", - "mqtt", - "aws-lambda", - "aws-lambda-with-access-key", - "aws-sqs", - "aws-sqs-with-access-key", - "aws-sqs-fifo", - "aws-sqs-fifo-with-access-key", - "aws-iot-analytics", - "radnote-radresp-fixed-survey", - "radnote-radresp-mobile-survey", - "azure-function", - "azure-function-with-key", - "azure-service-bus-with-sas-token", - "thingworx", - "snowflake", - "slack-bearer", - "slack-webhook", - ] + enum: ["http", "proxy", "google-function", "mqtt", "aws-lambda", "aws-lambda-with-access-key", "aws-sqs", "aws-sqs-with-access-key", "aws-sqs-fifo", + "aws-sqs-fifo-with-access-key", "aws-iot-analytics", "radnote-radresp-fixed-survey", "radnote-radresp-mobile-survey", "azure-function", + "azure-function-with-key", "azure-service-bus-with-sas-token", "thingworx", "snowflake", "slack-bearer", "slack-webhook"] modified: type: string description: Last Modified @@ -3095,16 +3069,16 @@ components: description: Is route disabled? schema: oneOf: - - $ref: "#/components/schemas/http" - - $ref: "#/components/schemas/google" - - $ref: "#/components/schemas/proxy" - - $ref: "#/components/schemas/mqtt" - - $ref: "#/components/schemas/aws" - - $ref: "#/components/schemas/radresponder" - - $ref: "#/components/schemas/azure" - - $ref: "#/components/schemas/thingworx" - - $ref: "#/components/schemas/snowflake" - - $ref: "#/components/schemas/slack" + - $ref: '#/components/schemas/http' + - $ref: '#/components/schemas/google' + - $ref: '#/components/schemas/proxy' + - $ref: '#/components/schemas/mqtt' + - $ref: '#/components/schemas/aws' + - $ref: '#/components/schemas/radresponder' + - $ref: '#/components/schemas/azure' + - $ref: '#/components/schemas/thingworx' + - $ref: '#/components/schemas/snowflake' + - $ref: '#/components/schemas/slack' UserDbRoute: type: object @@ -3158,16 +3132,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3225,16 +3190,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3309,16 +3265,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3387,16 +3334,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3450,16 +3388,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3508,16 +3437,7 @@ components: format: type: string description: Data transformation to apply. Options of "" for none, "bridge" for Azure IoT, "jsonata" for JSONata expression, or "flatten", "simple", "body" or "payload" - enum: - [ - "", - "bridge", - "jsonata", - "flatten", - "simple", - "body", - "payload", - ] + enum: ["", "bridge", "jsonata", "flatten", "simple", "body", "payload"] jsonata: type: string description: JSONata transformation, if JSONata @@ -3723,7 +3643,7 @@ components: type: integer default: 15 description: Timeout in seconds for each request - + slack_type: type: string description: The type of Slack message. Must be one of "slack-bearer" for Bearer Token or "slack-webhook" for Webhook messages @@ -3732,7 +3652,7 @@ components: description: The Bearer Token for Slack messaging, if the "slack-bearer" type is selected example: xoxb-1234-56789abcdefghijklmnop channel: - type: string + type : string description: The Channel ID for Bearer Token method, if the "slack-bearer" type is selected example: C8675309 webhook_url: @@ -3746,7 +3666,7 @@ components: blocks: type: string description: The Blocks message to be sent. If populated, this field overrides the text field within the Slack Messaging API. Placeholders are available for this field. - + EnvironmentVariables: type: object properties: diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index 6e801eb1..cf703304 100644 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -173,3 +173,4 @@ src/model/TowerLocation.js src/model/Twilio.js src/model/UpdateFleetRequest.js src/model/UserDbRoute.js +test/model/Slack.spec.js diff --git a/src/README.md b/src/README.md index fdd56082..925addda 100644 --- a/src/README.md +++ b/src/README.md @@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.0.17 +- Package version: 1.0.16 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/) @@ -131,7 +131,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -139,7 +139,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} | | _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} | @@ -150,11 +150,11 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events | diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index 5fdaaa09..7c1d9d22 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -11,7 +11,7 @@ All URIs are relative to *https://api.notefile.net* | [**enableDevice**](DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | [**enableDeviceConnectivityAssurance**](DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | [**getDeviceEnvironmentVariables**](DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getDeviceFleets**](DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | [**getDeviceHealthLog**](DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | [**getDeviceLatest**](DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -19,7 +19,7 @@ All URIs are relative to *https://api.notefile.net* | [**getDeviceSessions**](DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | [**handleNoteSignal**](DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | [**putDeviceEnvironmentVariables**](DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putDeviceFleets**](DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | ## deleteDeviceEnvironmentVariable @@ -350,7 +350,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) Get environment variables of a device with device pin authorization @@ -364,9 +364,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let productUID = com.blues.bridge:sensors; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -378,7 +378,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -728,7 +728,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -742,10 +742,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let productUID = com.blues.bridge:sensors; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -757,7 +757,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index 5458f84a..00e9fbc1 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -8,11 +8,11 @@ All URIs are relative to *https://api.notefile.net* | [**deleteFleetEnvironmentVariable**](EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | [**deleteProjectEnvironmentVariable**](EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | [**getDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getFleetEnvironmentVariables**](EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**getProjectEnvironmentVariables**](EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | [**putDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putFleetEnvironmentVariables**](EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**putProjectEnvironmentVariables**](EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | @@ -206,7 +206,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) Get environment variables of a device with device pin authorization @@ -220,9 +220,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let productUID = com.blues.bridge:sensors; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -234,7 +234,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -390,7 +390,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -404,10 +404,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let productUID = com.blues.bridge:sensors; // String | +let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -419,7 +419,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **productUID** | **String** | | +| **projectUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/package.json b/src/package.json index 849e577e..83892ca4 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@blues-inc/notehub-js", - "version": "1.0.17", + "version": "1.0.16", "description": "The OpenAPI definition for the Notehub.io API. ", "license": "MIT", "main": "dist/index.js", diff --git a/src/src/ApiClient.js b/src/src/ApiClient.js index 4c2754eb..9526c037 100644 --- a/src/src/ApiClient.js +++ b/src/src/ApiClient.js @@ -16,7 +16,7 @@ import querystring from "querystring"; /** * @module ApiClient - * @version 1.0.17 + * @version 1.0.16 */ /** @@ -55,7 +55,7 @@ class ApiClient { * @default {} */ this.defaultHeaders = { - "User-Agent": "OpenAPI-Generator/1.0.17/Javascript", + "User-Agent": "OpenAPI-Generator/1.0.16/Javascript", }; /** diff --git a/src/src/api/AuthorizationApi.js b/src/src/api/AuthorizationApi.js index 9480ef15..81a2c839 100644 --- a/src/src/api/AuthorizationApi.js +++ b/src/src/api/AuthorizationApi.js @@ -18,7 +18,7 @@ import LoginRequest from "../model/LoginRequest"; /** * Authorization service. * @module api/AuthorizationApi - * @version 1.0.17 + * @version 1.0.16 */ export default class AuthorizationApi { /** diff --git a/src/src/api/BillingAccountApi.js b/src/src/api/BillingAccountApi.js index 2b8be8cb..4e0d703f 100644 --- a/src/src/api/BillingAccountApi.js +++ b/src/src/api/BillingAccountApi.js @@ -18,7 +18,7 @@ import GetBillingAccounts200Response from "../model/GetBillingAccounts200Respons /** * BillingAccount service. * @module api/BillingAccountApi - * @version 1.0.17 + * @version 1.0.16 */ export default class BillingAccountApi { /** diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index 120f0735..971060cf 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -28,7 +28,7 @@ import PutDeviceFleetsRequest from "../model/PutDeviceFleetsRequest"; /** * Device service. * @module api/DeviceApi - * @version 1.0.17 + * @version 1.0.16 */ export default class DeviceApi { /** @@ -516,16 +516,16 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { let postBody = null; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -536,7 +536,7 @@ export default class DeviceApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -548,7 +548,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -565,13 +565,13 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -1053,21 +1053,21 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -1084,7 +1084,7 @@ export default class DeviceApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -1096,7 +1096,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, @@ -1113,18 +1113,18 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - productUID, + projectUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/DevicesApi.js b/src/src/api/DevicesApi.js index a87c9333..1951a0f4 100644 --- a/src/src/api/DevicesApi.js +++ b/src/src/api/DevicesApi.js @@ -20,7 +20,7 @@ import GetProjectDevices200Response from "../model/GetProjectDevices200Response" /** * Devices service. * @module api/DevicesApi - * @version 1.0.17 + * @version 1.0.16 */ export default class DevicesApi { /** diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index c10bdb84..f9ca4ae2 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -19,7 +19,7 @@ import GetDeviceEnvironmentVariables200Response from "../model/GetDeviceEnvironm /** * EnvironmentVariables service. * @module api/EnvironmentVariablesApi - * @version 1.0.17 + * @version 1.0.16 */ export default class EnvironmentVariablesApi { /** @@ -311,16 +311,16 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { let postBody = null; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -331,7 +331,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -343,7 +343,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -360,13 +360,13 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -570,21 +570,21 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'productUID' is set - if (productUID === undefined || productUID === null) { + // verify the required parameter 'projectUID' is set + if (projectUID === undefined || projectUID === null) { throw new Error( - "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -601,7 +601,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - productUID: productUID, + projectUID: projectUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -613,7 +613,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, @@ -630,18 +630,18 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} productUID + * @param {String} projectUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - productUID, + projectUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - productUID, + projectUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/EventApi.js b/src/src/api/EventApi.js index cb5495d2..da133c56 100644 --- a/src/src/api/EventApi.js +++ b/src/src/api/EventApi.js @@ -19,7 +19,7 @@ import GetProjectEventsByCursor200Response from "../model/GetProjectEventsByCurs /** * Event service. * @module api/EventApi - * @version 1.0.17 + * @version 1.0.16 */ export default class EventApi { /** diff --git a/src/src/api/FilesApi.js b/src/src/api/FilesApi.js index 15d7f90c..67b9009a 100644 --- a/src/src/api/FilesApi.js +++ b/src/src/api/FilesApi.js @@ -20,7 +20,7 @@ import HandleNotefileDeleteRequest from "../model/HandleNotefileDeleteRequest"; /** * Files service. * @module api/FilesApi - * @version 1.0.17 + * @version 1.0.16 */ export default class FilesApi { /** diff --git a/src/src/api/FleetApi.js b/src/src/api/FleetApi.js index 8a25fe8f..df7dcafb 100644 --- a/src/src/api/FleetApi.js +++ b/src/src/api/FleetApi.js @@ -27,7 +27,7 @@ import UpdateFleetRequest from "../model/UpdateFleetRequest"; /** * Fleet service. * @module api/FleetApi - * @version 1.0.17 + * @version 1.0.16 */ export default class FleetApi { /** diff --git a/src/src/api/NotesApi.js b/src/src/api/NotesApi.js index 5f99d990..54f5e5e2 100644 --- a/src/src/api/NotesApi.js +++ b/src/src/api/NotesApi.js @@ -20,7 +20,7 @@ import Note from "../model/Note"; /** * Notes service. * @module api/NotesApi - * @version 1.0.17 + * @version 1.0.16 */ export default class NotesApi { /** diff --git a/src/src/api/ProductApi.js b/src/src/api/ProductApi.js index 8e3329fb..d6306475 100644 --- a/src/src/api/ProductApi.js +++ b/src/src/api/ProductApi.js @@ -21,7 +21,7 @@ import Project from "../model/Project"; /** * Product service. * @module api/ProductApi - * @version 1.0.17 + * @version 1.0.16 */ export default class ProductApi { /** diff --git a/src/src/api/ProjectApi.js b/src/src/api/ProjectApi.js index 192ef9bf..ba477117 100644 --- a/src/src/api/ProjectApi.js +++ b/src/src/api/ProjectApi.js @@ -30,7 +30,7 @@ import Project from "../model/Project"; /** * Project service. * @module api/ProjectApi - * @version 1.0.17 + * @version 1.0.16 */ export default class ProjectApi { /** diff --git a/src/src/api/RouteApi.js b/src/src/api/RouteApi.js index 41037dfe..cc0cbaaa 100644 --- a/src/src/api/RouteApi.js +++ b/src/src/api/RouteApi.js @@ -19,7 +19,7 @@ import UserDbRoute from "../model/UserDbRoute"; /** * Route service. * @module api/RouteApi - * @version 1.0.17 + * @version 1.0.16 */ export default class RouteApi { /** diff --git a/src/src/api/RouteLogsApi.js b/src/src/api/RouteLogsApi.js index be518dcf..405df5ab 100644 --- a/src/src/api/RouteLogsApi.js +++ b/src/src/api/RouteLogsApi.js @@ -18,7 +18,7 @@ import GetRouteLogsByRoute200ResponseInner from "../model/GetRouteLogsByRoute200 /** * RouteLogs service. * @module api/RouteLogsApi - * @version 1.0.17 + * @version 1.0.16 */ export default class RouteLogsApi { /** diff --git a/src/src/index.js b/src/src/index.js index 7c9e656c..1d25485d 100644 --- a/src/src/index.js +++ b/src/src/index.js @@ -125,7 +125,7 @@ import RouteLogsApi from "./api/RouteLogsApi"; * *

* @module index - * @version 1.0.17 + * @version 1.0.16 */ export { /** diff --git a/src/src/model/Aws.js b/src/src/model/Aws.js index d157b79b..3a5afce6 100644 --- a/src/src/model/Aws.js +++ b/src/src/model/Aws.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Aws model module. * @module model/Aws - * @version 1.0.17 + * @version 1.0.16 */ class Aws { /** diff --git a/src/src/model/Azure.js b/src/src/model/Azure.js index d70e115c..15af609a 100644 --- a/src/src/model/Azure.js +++ b/src/src/model/Azure.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Azure model module. * @module model/Azure - * @version 1.0.17 + * @version 1.0.16 */ class Azure { /** diff --git a/src/src/model/BillingAccount.js b/src/src/model/BillingAccount.js index e375e8d3..1b34757e 100644 --- a/src/src/model/BillingAccount.js +++ b/src/src/model/BillingAccount.js @@ -17,7 +17,7 @@ import BillingAccountRole from "./BillingAccountRole"; /** * The BillingAccount model module. * @module model/BillingAccount - * @version 1.0.17 + * @version 1.0.16 */ class BillingAccount { /** diff --git a/src/src/model/Body.js b/src/src/model/Body.js index 53b34a44..6a86a2fa 100644 --- a/src/src/model/Body.js +++ b/src/src/model/Body.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Body model module. * @module model/Body - * @version 1.0.17 + * @version 1.0.16 */ class Body { /** diff --git a/src/src/model/CloneProjectRequest.js b/src/src/model/CloneProjectRequest.js index b319cc73..00400b87 100644 --- a/src/src/model/CloneProjectRequest.js +++ b/src/src/model/CloneProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CloneProjectRequest model module. * @module model/CloneProjectRequest - * @version 1.0.17 + * @version 1.0.16 */ class CloneProjectRequest { /** diff --git a/src/src/model/Contact.js b/src/src/model/Contact.js index 6785970f..a541b037 100644 --- a/src/src/model/Contact.js +++ b/src/src/model/Contact.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Contact model module. * @module model/Contact - * @version 1.0.17 + * @version 1.0.16 */ class Contact { /** diff --git a/src/src/model/CreateFleetRequest.js b/src/src/model/CreateFleetRequest.js index d399bfbf..fa22afaa 100644 --- a/src/src/model/CreateFleetRequest.js +++ b/src/src/model/CreateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateFleetRequest model module. * @module model/CreateFleetRequest - * @version 1.0.17 + * @version 1.0.16 */ class CreateFleetRequest { /** diff --git a/src/src/model/CreateProductRequest.js b/src/src/model/CreateProductRequest.js index 9dc9f14d..cb3dd836 100644 --- a/src/src/model/CreateProductRequest.js +++ b/src/src/model/CreateProductRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProductRequest model module. * @module model/CreateProductRequest - * @version 1.0.17 + * @version 1.0.16 */ class CreateProductRequest { /** diff --git a/src/src/model/CreateProjectRequest.js b/src/src/model/CreateProjectRequest.js index 95d83fb8..5da81889 100644 --- a/src/src/model/CreateProjectRequest.js +++ b/src/src/model/CreateProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProjectRequest model module. * @module model/CreateProjectRequest - * @version 1.0.17 + * @version 1.0.16 */ class CreateProjectRequest { /** diff --git a/src/src/model/DFUEnv.js b/src/src/model/DFUEnv.js index c1dcdcc5..4264eb68 100644 --- a/src/src/model/DFUEnv.js +++ b/src/src/model/DFUEnv.js @@ -17,7 +17,7 @@ import DFUState from "./DFUState"; /** * The DFUEnv model module. * @module model/DFUEnv - * @version 1.0.17 + * @version 1.0.16 */ class DFUEnv { /** diff --git a/src/src/model/DFUState.js b/src/src/model/DFUState.js index f434f729..ce35fa3e 100644 --- a/src/src/model/DFUState.js +++ b/src/src/model/DFUState.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DFUState model module. * @module model/DFUState - * @version 1.0.17 + * @version 1.0.16 */ class DFUState { /** diff --git a/src/src/model/DeleteDeviceFleetsRequest.js b/src/src/model/DeleteDeviceFleetsRequest.js index 15cd92f5..5a92bc7f 100644 --- a/src/src/model/DeleteDeviceFleetsRequest.js +++ b/src/src/model/DeleteDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeleteDeviceFleetsRequest model module. * @module model/DeleteDeviceFleetsRequest - * @version 1.0.17 + * @version 1.0.16 */ class DeleteDeviceFleetsRequest { /** diff --git a/src/src/model/Device.js b/src/src/model/Device.js index 9709b777..4fde9751 100644 --- a/src/src/model/Device.js +++ b/src/src/model/Device.js @@ -20,7 +20,7 @@ import Location from "./Location"; /** * The Device model module. * @module model/Device - * @version 1.0.17 + * @version 1.0.16 */ class Device { /** diff --git a/src/src/model/DeviceSession.js b/src/src/model/DeviceSession.js index aa8a123c..f646481b 100644 --- a/src/src/model/DeviceSession.js +++ b/src/src/model/DeviceSession.js @@ -18,7 +18,7 @@ import TowerLocation from "./TowerLocation"; /** * The DeviceSession model module. * @module model/DeviceSession - * @version 1.0.17 + * @version 1.0.16 */ class DeviceSession { /** diff --git a/src/src/model/DeviceTowerInfo.js b/src/src/model/DeviceTowerInfo.js index 8eff6c62..7760160c 100644 --- a/src/src/model/DeviceTowerInfo.js +++ b/src/src/model/DeviceTowerInfo.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceTowerInfo model module. * @module model/DeviceTowerInfo - * @version 1.0.17 + * @version 1.0.16 */ class DeviceTowerInfo { /** diff --git a/src/src/model/DeviceUsage.js b/src/src/model/DeviceUsage.js index 2df2b401..19e6d269 100644 --- a/src/src/model/DeviceUsage.js +++ b/src/src/model/DeviceUsage.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceUsage model module. * @module model/DeviceUsage - * @version 1.0.17 + * @version 1.0.16 */ class DeviceUsage { /** diff --git a/src/src/model/EnvironmentVariables.js b/src/src/model/EnvironmentVariables.js index c167c0db..7d7161bd 100644 --- a/src/src/model/EnvironmentVariables.js +++ b/src/src/model/EnvironmentVariables.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The EnvironmentVariables model module. * @module model/EnvironmentVariables - * @version 1.0.17 + * @version 1.0.16 */ class EnvironmentVariables { /** diff --git a/src/src/model/Error.js b/src/src/model/Error.js index af71d0c6..216a865c 100644 --- a/src/src/model/Error.js +++ b/src/src/model/Error.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Error model module. * @module model/Error - * @version 1.0.17 + * @version 1.0.16 */ class Error { /** diff --git a/src/src/model/Event.js b/src/src/model/Event.js index 12f37222..a93c1a34 100644 --- a/src/src/model/Event.js +++ b/src/src/model/Event.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Event model module. * @module model/Event - * @version 1.0.17 + * @version 1.0.16 */ class Event { /** diff --git a/src/src/model/Fleet.js b/src/src/model/Fleet.js index c565e0f4..9f558217 100644 --- a/src/src/model/Fleet.js +++ b/src/src/model/Fleet.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Fleet model module. * @module model/Fleet - * @version 1.0.17 + * @version 1.0.16 */ class Fleet { /** diff --git a/src/src/model/GetBillingAccounts200Response.js b/src/src/model/GetBillingAccounts200Response.js index 00e51417..99dfc2c1 100644 --- a/src/src/model/GetBillingAccounts200Response.js +++ b/src/src/model/GetBillingAccounts200Response.js @@ -17,7 +17,7 @@ import BillingAccount from "./BillingAccount"; /** * The GetBillingAccounts200Response model module. * @module model/GetBillingAccounts200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetBillingAccounts200Response { /** diff --git a/src/src/model/GetDeviceEnvironmentVariables200Response.js b/src/src/model/GetDeviceEnvironmentVariables200Response.js index 9656d719..9f9ed3ce 100644 --- a/src/src/model/GetDeviceEnvironmentVariables200Response.js +++ b/src/src/model/GetDeviceEnvironmentVariables200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceEnvironmentVariables200Response model module. * @module model/GetDeviceEnvironmentVariables200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetDeviceEnvironmentVariables200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200Response.js b/src/src/model/GetDeviceHealthLog200Response.js index 0a0edbe0..a6ed3ce9 100644 --- a/src/src/model/GetDeviceHealthLog200Response.js +++ b/src/src/model/GetDeviceHealthLog200Response.js @@ -17,7 +17,7 @@ import GetDeviceHealthLog200ResponseHealthLogInner from "./GetDeviceHealthLog200 /** * The GetDeviceHealthLog200Response model module. * @module model/GetDeviceHealthLog200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetDeviceHealthLog200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js index c61947d7..eb5e6d00 100644 --- a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js +++ b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceHealthLog200ResponseHealthLogInner model module. * @module model/GetDeviceHealthLog200ResponseHealthLogInner - * @version 1.0.17 + * @version 1.0.16 */ class GetDeviceHealthLog200ResponseHealthLogInner { /** diff --git a/src/src/model/GetDeviceLatest200Response.js b/src/src/model/GetDeviceLatest200Response.js index 2953e548..932df3a4 100644 --- a/src/src/model/GetDeviceLatest200Response.js +++ b/src/src/model/GetDeviceLatest200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetDeviceLatest200Response model module. * @module model/GetDeviceLatest200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetDeviceLatest200Response { /** diff --git a/src/src/model/GetDevicePublicKey200Response.js b/src/src/model/GetDevicePublicKey200Response.js index 480f6000..21242757 100644 --- a/src/src/model/GetDevicePublicKey200Response.js +++ b/src/src/model/GetDevicePublicKey200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDevicePublicKey200Response model module. * @module model/GetDevicePublicKey200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetDevicePublicKey200Response { /** diff --git a/src/src/model/GetDeviceSessions200Response.js b/src/src/model/GetDeviceSessions200Response.js index 9e226495..521b5d90 100644 --- a/src/src/model/GetDeviceSessions200Response.js +++ b/src/src/model/GetDeviceSessions200Response.js @@ -17,7 +17,7 @@ import DeviceSession from "./DeviceSession"; /** * The GetDeviceSessions200Response model module. * @module model/GetDeviceSessions200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetDeviceSessions200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200Response.js b/src/src/model/GetProjectDevicePublicKeys200Response.js index 8801f654..2aa8d42d 100644 --- a/src/src/model/GetProjectDevicePublicKeys200Response.js +++ b/src/src/model/GetProjectDevicePublicKeys200Response.js @@ -17,7 +17,7 @@ import GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner from "./GetPro /** * The GetProjectDevicePublicKeys200Response model module. * @module model/GetProjectDevicePublicKeys200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectDevicePublicKeys200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js index 9da82d1e..a19d0280 100644 --- a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +++ b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module. * @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner { /** diff --git a/src/src/model/GetProjectDevices200Response.js b/src/src/model/GetProjectDevices200Response.js index c7dc4b8e..cc4a9fdf 100644 --- a/src/src/model/GetProjectDevices200Response.js +++ b/src/src/model/GetProjectDevices200Response.js @@ -17,7 +17,7 @@ import Device from "./Device"; /** * The GetProjectDevices200Response model module. * @module model/GetProjectDevices200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectDevices200Response { /** diff --git a/src/src/model/GetProjectEvents200Response.js b/src/src/model/GetProjectEvents200Response.js index e0f64c05..e1a6fb72 100644 --- a/src/src/model/GetProjectEvents200Response.js +++ b/src/src/model/GetProjectEvents200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEvents200Response model module. * @module model/GetProjectEvents200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectEvents200Response { /** diff --git a/src/src/model/GetProjectEventsByCursor200Response.js b/src/src/model/GetProjectEventsByCursor200Response.js index 05c6fe53..0cd9ec94 100644 --- a/src/src/model/GetProjectEventsByCursor200Response.js +++ b/src/src/model/GetProjectEventsByCursor200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEventsByCursor200Response model module. * @module model/GetProjectEventsByCursor200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectEventsByCursor200Response { /** diff --git a/src/src/model/GetProjectFleets200Response.js b/src/src/model/GetProjectFleets200Response.js index 50f6310d..404e795b 100644 --- a/src/src/model/GetProjectFleets200Response.js +++ b/src/src/model/GetProjectFleets200Response.js @@ -17,7 +17,7 @@ import Fleet from "./Fleet"; /** * The GetProjectFleets200Response model module. * @module model/GetProjectFleets200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectFleets200Response { /** diff --git a/src/src/model/GetProjectMembers200Response.js b/src/src/model/GetProjectMembers200Response.js index 10a0a8d7..c3228a09 100644 --- a/src/src/model/GetProjectMembers200Response.js +++ b/src/src/model/GetProjectMembers200Response.js @@ -17,7 +17,7 @@ import ProjectMember from "./ProjectMember"; /** * The GetProjectMembers200Response model module. * @module model/GetProjectMembers200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectMembers200Response { /** diff --git a/src/src/model/GetProjectProducts200Response.js b/src/src/model/GetProjectProducts200Response.js index 290b6ccc..221b3d58 100644 --- a/src/src/model/GetProjectProducts200Response.js +++ b/src/src/model/GetProjectProducts200Response.js @@ -17,7 +17,7 @@ import Product from "./Product"; /** * The GetProjectProducts200Response model module. * @module model/GetProjectProducts200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjectProducts200Response { /** diff --git a/src/src/model/GetProjects200Response.js b/src/src/model/GetProjects200Response.js index 92bf13df..d7a789c8 100644 --- a/src/src/model/GetProjects200Response.js +++ b/src/src/model/GetProjects200Response.js @@ -17,7 +17,7 @@ import Project from "./Project"; /** * The GetProjects200Response model module. * @module model/GetProjects200Response - * @version 1.0.17 + * @version 1.0.16 */ class GetProjects200Response { /** diff --git a/src/src/model/GetRouteLogsByRoute200ResponseInner.js b/src/src/model/GetRouteLogsByRoute200ResponseInner.js index f0c328fe..85abbb4b 100644 --- a/src/src/model/GetRouteLogsByRoute200ResponseInner.js +++ b/src/src/model/GetRouteLogsByRoute200ResponseInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetRouteLogsByRoute200ResponseInner model module. * @module model/GetRouteLogsByRoute200ResponseInner - * @version 1.0.17 + * @version 1.0.16 */ class GetRouteLogsByRoute200ResponseInner { /** diff --git a/src/src/model/Google.js b/src/src/model/Google.js index 269bd0aa..98ba8663 100644 --- a/src/src/model/Google.js +++ b/src/src/model/Google.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Google model module. * @module model/Google - * @version 1.0.17 + * @version 1.0.16 */ class Google { /** diff --git a/src/src/model/HandleNoteChanges200Response.js b/src/src/model/HandleNoteChanges200Response.js index d170a857..977cdc97 100644 --- a/src/src/model/HandleNoteChanges200Response.js +++ b/src/src/model/HandleNoteChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteChanges200Response model module. * @module model/HandleNoteChanges200Response - * @version 1.0.17 + * @version 1.0.16 */ class HandleNoteChanges200Response { /** diff --git a/src/src/model/HandleNoteGet200Response.js b/src/src/model/HandleNoteGet200Response.js index b9ae7122..7119b18c 100644 --- a/src/src/model/HandleNoteGet200Response.js +++ b/src/src/model/HandleNoteGet200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteGet200Response model module. * @module model/HandleNoteGet200Response - * @version 1.0.17 + * @version 1.0.16 */ class HandleNoteGet200Response { /** diff --git a/src/src/model/HandleNoteSignal200Response.js b/src/src/model/HandleNoteSignal200Response.js index 92ebef48..5261fbe9 100644 --- a/src/src/model/HandleNoteSignal200Response.js +++ b/src/src/model/HandleNoteSignal200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteSignal200Response model module. * @module model/HandleNoteSignal200Response - * @version 1.0.17 + * @version 1.0.16 */ class HandleNoteSignal200Response { /** diff --git a/src/src/model/HandleNotefileChanges200Response.js b/src/src/model/HandleNotefileChanges200Response.js index 686022aa..fe31cd8e 100644 --- a/src/src/model/HandleNotefileChanges200Response.js +++ b/src/src/model/HandleNotefileChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChanges200Response model module. * @module model/HandleNotefileChanges200Response - * @version 1.0.17 + * @version 1.0.16 */ class HandleNotefileChanges200Response { /** diff --git a/src/src/model/HandleNotefileChangesPending200Response.js b/src/src/model/HandleNotefileChangesPending200Response.js index 5a7aa128..2bdb338f 100644 --- a/src/src/model/HandleNotefileChangesPending200Response.js +++ b/src/src/model/HandleNotefileChangesPending200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChangesPending200Response model module. * @module model/HandleNotefileChangesPending200Response - * @version 1.0.17 + * @version 1.0.16 */ class HandleNotefileChangesPending200Response { /** diff --git a/src/src/model/HandleNotefileDeleteRequest.js b/src/src/model/HandleNotefileDeleteRequest.js index c128777e..e1192baf 100644 --- a/src/src/model/HandleNotefileDeleteRequest.js +++ b/src/src/model/HandleNotefileDeleteRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileDeleteRequest model module. * @module model/HandleNotefileDeleteRequest - * @version 1.0.17 + * @version 1.0.16 */ class HandleNotefileDeleteRequest { /** diff --git a/src/src/model/Http.js b/src/src/model/Http.js index 586b1925..9f92860f 100644 --- a/src/src/model/Http.js +++ b/src/src/model/Http.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Http model module. * @module model/Http - * @version 1.0.17 + * @version 1.0.16 */ class Http { /** diff --git a/src/src/model/HttpFilter.js b/src/src/model/HttpFilter.js index 6b99f4fc..67c1cd91 100644 --- a/src/src/model/HttpFilter.js +++ b/src/src/model/HttpFilter.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpFilter model module. * @module model/HttpFilter - * @version 1.0.17 + * @version 1.0.16 */ class HttpFilter { /** diff --git a/src/src/model/HttpTransform.js b/src/src/model/HttpTransform.js index a52b3a1a..828a097a 100644 --- a/src/src/model/HttpTransform.js +++ b/src/src/model/HttpTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpTransform model module. * @module model/HttpTransform - * @version 1.0.17 + * @version 1.0.16 */ class HttpTransform { /** diff --git a/src/src/model/Location.js b/src/src/model/Location.js index 345bfcfb..78972acc 100644 --- a/src/src/model/Location.js +++ b/src/src/model/Location.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Location model module. * @module model/Location - * @version 1.0.17 + * @version 1.0.16 */ class Location { /** diff --git a/src/src/model/Login200Response.js b/src/src/model/Login200Response.js index 164c1678..b791807f 100644 --- a/src/src/model/Login200Response.js +++ b/src/src/model/Login200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Login200Response model module. * @module model/Login200Response - * @version 1.0.17 + * @version 1.0.16 */ class Login200Response { /** diff --git a/src/src/model/LoginRequest.js b/src/src/model/LoginRequest.js index 1cb541b8..70aa54b3 100644 --- a/src/src/model/LoginRequest.js +++ b/src/src/model/LoginRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The LoginRequest model module. * @module model/LoginRequest - * @version 1.0.17 + * @version 1.0.16 */ class LoginRequest { /** diff --git a/src/src/model/Mqtt.js b/src/src/model/Mqtt.js index 10c287ee..8e285d8a 100644 --- a/src/src/model/Mqtt.js +++ b/src/src/model/Mqtt.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Mqtt model module. * @module model/Mqtt - * @version 1.0.17 + * @version 1.0.16 */ class Mqtt { /** diff --git a/src/src/model/Note.js b/src/src/model/Note.js index 8a74d70c..760fd08d 100644 --- a/src/src/model/Note.js +++ b/src/src/model/Note.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Note model module. * @module model/Note - * @version 1.0.17 + * @version 1.0.16 */ class Note { /** diff --git a/src/src/model/Product.js b/src/src/model/Product.js index 5ed912a2..b93ddc86 100644 --- a/src/src/model/Product.js +++ b/src/src/model/Product.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Product model module. * @module model/Product - * @version 1.0.17 + * @version 1.0.16 */ class Product { /** diff --git a/src/src/model/Project.js b/src/src/model/Project.js index 3faa46a1..071ee662 100644 --- a/src/src/model/Project.js +++ b/src/src/model/Project.js @@ -18,7 +18,7 @@ import Role from "./Role"; /** * The Project model module. * @module model/Project - * @version 1.0.17 + * @version 1.0.16 */ class Project { /** diff --git a/src/src/model/ProjectMember.js b/src/src/model/ProjectMember.js index bab4fc04..a7b2ce30 100644 --- a/src/src/model/ProjectMember.js +++ b/src/src/model/ProjectMember.js @@ -17,7 +17,7 @@ import Role from "./Role"; /** * The ProjectMember model module. * @module model/ProjectMember - * @version 1.0.17 + * @version 1.0.16 */ class ProjectMember { /** diff --git a/src/src/model/Proxy.js b/src/src/model/Proxy.js index 387bdcd9..1f4941b8 100644 --- a/src/src/model/Proxy.js +++ b/src/src/model/Proxy.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Proxy model module. * @module model/Proxy - * @version 1.0.17 + * @version 1.0.16 */ class Proxy { /** diff --git a/src/src/model/PutDeviceFleetsRequest.js b/src/src/model/PutDeviceFleetsRequest.js index 253443c4..7817abb6 100644 --- a/src/src/model/PutDeviceFleetsRequest.js +++ b/src/src/model/PutDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The PutDeviceFleetsRequest model module. * @module model/PutDeviceFleetsRequest - * @version 1.0.17 + * @version 1.0.16 */ class PutDeviceFleetsRequest { /** diff --git a/src/src/model/Radresponder.js b/src/src/model/Radresponder.js index f950fcda..fa0f7b27 100644 --- a/src/src/model/Radresponder.js +++ b/src/src/model/Radresponder.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Radresponder model module. * @module model/Radresponder - * @version 1.0.17 + * @version 1.0.16 */ class Radresponder { /** diff --git a/src/src/model/Route.js b/src/src/model/Route.js index 39888270..858fe8ce 100644 --- a/src/src/model/Route.js +++ b/src/src/model/Route.js @@ -17,7 +17,7 @@ import RouteSchema from "./RouteSchema"; /** * The Route model module. * @module model/Route - * @version 1.0.17 + * @version 1.0.16 */ class Route { /** diff --git a/src/src/model/RouteSchema.js b/src/src/model/RouteSchema.js index 0d5d4e29..395d5d76 100644 --- a/src/src/model/RouteSchema.js +++ b/src/src/model/RouteSchema.js @@ -28,7 +28,7 @@ import Thingworx from "./Thingworx"; /** * The RouteSchema model module. * @module model/RouteSchema - * @version 1.0.17 + * @version 1.0.16 */ class RouteSchema { /** diff --git a/src/src/model/Slack.js b/src/src/model/Slack.js index dc473763..4280b1b4 100644 --- a/src/src/model/Slack.js +++ b/src/src/model/Slack.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Slack model module. * @module model/Slack - * @version 1.0.17 + * @version 1.0.16 */ class Slack { /** diff --git a/src/src/model/Snowflake.js b/src/src/model/Snowflake.js index cbc2a79e..7df37dd7 100644 --- a/src/src/model/Snowflake.js +++ b/src/src/model/Snowflake.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Snowflake model module. * @module model/Snowflake - * @version 1.0.17 + * @version 1.0.16 */ class Snowflake { /** diff --git a/src/src/model/SnowflakeTransform.js b/src/src/model/SnowflakeTransform.js index 2f84e7b3..5aac96ce 100644 --- a/src/src/model/SnowflakeTransform.js +++ b/src/src/model/SnowflakeTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The SnowflakeTransform model module. * @module model/SnowflakeTransform - * @version 1.0.17 + * @version 1.0.16 */ class SnowflakeTransform { /** diff --git a/src/src/model/Thingworx.js b/src/src/model/Thingworx.js index 5ee7b0c8..4414b483 100644 --- a/src/src/model/Thingworx.js +++ b/src/src/model/Thingworx.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Thingworx model module. * @module model/Thingworx - * @version 1.0.17 + * @version 1.0.16 */ class Thingworx { /** diff --git a/src/src/model/TowerLocation.js b/src/src/model/TowerLocation.js index 757f16e9..8c43d424 100644 --- a/src/src/model/TowerLocation.js +++ b/src/src/model/TowerLocation.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The TowerLocation model module. * @module model/TowerLocation - * @version 1.0.17 + * @version 1.0.16 */ class TowerLocation { /** diff --git a/src/src/model/Twilio.js b/src/src/model/Twilio.js index 0a31ad05..58c227a9 100644 --- a/src/src/model/Twilio.js +++ b/src/src/model/Twilio.js @@ -17,7 +17,7 @@ import HttpFilter from "./HttpFilter"; /** * The Twilio model module. * @module model/Twilio - * @version 1.0.17 + * @version 1.0.16 */ class Twilio { /** diff --git a/src/src/model/UpdateFleetRequest.js b/src/src/model/UpdateFleetRequest.js index 8c628856..d9e4efd3 100644 --- a/src/src/model/UpdateFleetRequest.js +++ b/src/src/model/UpdateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UpdateFleetRequest model module. * @module model/UpdateFleetRequest - * @version 1.0.17 + * @version 1.0.16 */ class UpdateFleetRequest { /** diff --git a/src/src/model/UserDbRoute.js b/src/src/model/UserDbRoute.js index 9bab64f0..35f0e1db 100644 --- a/src/src/model/UserDbRoute.js +++ b/src/src/model/UserDbRoute.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UserDbRoute model module. * @module model/UserDbRoute - * @version 1.0.17 + * @version 1.0.16 */ class UserDbRoute { /** From dc6d677dbb8d4907b061817cabadbd893c51a3a4 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Mon, 25 Sep 2023 09:52:40 -0400 Subject: [PATCH 8/9] generate fresh library --- src/.openapi-generator/FILES | 1 - src/README.md | 8 +++--- src/docs/DeviceApi.md | 20 ++++++------- src/docs/EnvironmentVariablesApi.md | 20 ++++++------- src/src/api/DeviceApi.js | 40 +++++++++++++------------- src/src/api/EnvironmentVariablesApi.js | 40 +++++++++++++------------- 6 files changed, 64 insertions(+), 65 deletions(-) diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index cf703304..6e801eb1 100644 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -173,4 +173,3 @@ src/model/TowerLocation.js src/model/Twilio.js src/model/UpdateFleetRequest.js src/model/UserDbRoute.js -test/model/Slack.spec.js diff --git a/src/README.md b/src/README.md index 925addda..fd129799 100644 --- a/src/README.md +++ b/src/README.md @@ -131,7 +131,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -139,7 +139,7 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} | | _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} | @@ -150,11 +150,11 @@ All URIs are relative to *https://api.notefile.net* | _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events | diff --git a/src/docs/DeviceApi.md b/src/docs/DeviceApi.md index 7c1d9d22..5fdaaa09 100644 --- a/src/docs/DeviceApi.md +++ b/src/docs/DeviceApi.md @@ -11,7 +11,7 @@ All URIs are relative to *https://api.notefile.net* | [**enableDevice**](DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable | | [**enableDeviceConnectivityAssurance**](DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance | | [**getDeviceEnvironmentVariables**](DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getDeviceFleets**](DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | | [**getDeviceHealthLog**](DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log | | [**getDeviceLatest**](DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest | @@ -19,7 +19,7 @@ All URIs are relative to *https://api.notefile.net* | [**getDeviceSessions**](DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions | | [**handleNoteSignal**](DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal | | [**putDeviceEnvironmentVariables**](DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putDeviceFleets**](DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets | ## deleteDeviceEnvironmentVariable @@ -350,7 +350,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization @@ -364,9 +364,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -378,7 +378,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -728,7 +728,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -742,10 +742,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.DeviceApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -757,7 +757,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/docs/EnvironmentVariablesApi.md b/src/docs/EnvironmentVariablesApi.md index 00e9fbc1..5458f84a 100644 --- a/src/docs/EnvironmentVariablesApi.md +++ b/src/docs/EnvironmentVariablesApi.md @@ -8,11 +8,11 @@ All URIs are relative to *https://api.notefile.net* | [**deleteFleetEnvironmentVariable**](EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} | | [**deleteProjectEnvironmentVariable**](EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} | | [**getDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**getDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**getFleetEnvironmentVariables**](EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**getProjectEnvironmentVariables**](EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables | | [**putDeviceEnvironmentVariables**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables | -| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin | +| [**putDeviceEnvironmentVariablesByPin**](EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | | [**putFleetEnvironmentVariables**](EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables | | [**putProjectEnvironmentVariables**](EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables | @@ -206,7 +206,7 @@ apiInstance.getDeviceEnvironmentVariables(projectUID, deviceUID).then((data) => ## getDeviceEnvironmentVariablesByPin -> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) +> GetDeviceEnvironmentVariables200Response getDeviceEnvironmentVariablesByPin(productUID, deviceUID) Get environment variables of a device with device pin authorization @@ -220,9 +220,9 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | -apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data) => { +apiInstance.getDeviceEnvironmentVariablesByPin(productUID, deviceUID).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -234,7 +234,7 @@ apiInstance.getDeviceEnvironmentVariablesByPin(projectUID, deviceUID).then((data | Name | Type | Description | Notes | | -------------- | ---------- | ----------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | ### Return type @@ -390,7 +390,7 @@ apiInstance.putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVari ## putDeviceEnvironmentVariablesByPin -> EnvironmentVariables putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables) +> EnvironmentVariables putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) Put environment variables of a device with device pin authorization @@ -404,10 +404,10 @@ let pin = defaultClient.authentications['pin']; pin.apiKey = 'YOUR API KEY'; let apiInstance = new NotehubJs.EnvironmentVariablesApi(); -let projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // String | +let productUID = com.blues.bridge:sensors; // String | let deviceUID = "deviceUID_example"; // String | let environmentVariables = new NotehubJs.EnvironmentVariables(); // EnvironmentVariables | Environment variables to be added to the device -apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmentVariables).then((data) => { +apiInstance.putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables).then((data) => { console.log('API called successfully. Returned data: ' + JSON.stringify(data)); }, (error) => { console.error(error); @@ -419,7 +419,7 @@ apiInstance.putDeviceEnvironmentVariablesByPin(projectUID, deviceUID, environmen | Name | Type | Description | Notes | | ------------------------ | --------------------------------------------------- | ----------------------------------------------- | ----- | -| **projectUID** | **String** | | +| **productUID** | **String** | | | **deviceUID** | **String** | | | **environmentVariables** | [**EnvironmentVariables**](EnvironmentVariables.md) | Environment variables to be added to the device | diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index 971060cf..c9e4ce50 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -516,16 +516,16 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -536,7 +536,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -548,7 +548,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -565,13 +565,13 @@ export default class DeviceApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -1053,21 +1053,21 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -1084,7 +1084,7 @@ export default class DeviceApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -1096,7 +1096,7 @@ export default class DeviceApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, @@ -1113,18 +1113,18 @@ export default class DeviceApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index f9ca4ae2..1feafc6f 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -311,16 +311,16 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response */ - getDeviceEnvironmentVariablesByPinWithHttpInfo(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) { let postBody = null; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -331,7 +331,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -343,7 +343,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = GetDeviceEnvironmentVariables200Response; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, @@ -360,13 +360,13 @@ export default class EnvironmentVariablesApi { /** * Get environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response} */ - getDeviceEnvironmentVariablesByPin(projectUID, deviceUID) { + getDeviceEnvironmentVariablesByPin(productUID, deviceUID) { return this.getDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID ).then(function (response_and_data) { return response_and_data.data; @@ -570,21 +570,21 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response */ putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ) { let postBody = environmentVariables; - // verify the required parameter 'projectUID' is set - if (projectUID === undefined || projectUID === null) { + // verify the required parameter 'productUID' is set + if (productUID === undefined || productUID === null) { throw new Error( - "Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariablesByPin" + "Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin" ); } // verify the required parameter 'deviceUID' is set @@ -601,7 +601,7 @@ export default class EnvironmentVariablesApi { } let pathParams = { - projectUID: projectUID, + productUID: productUID, deviceUID: deviceUID, }; let queryParams = {}; @@ -613,7 +613,7 @@ export default class EnvironmentVariablesApi { let accepts = ["application/json"]; let returnType = EnvironmentVariables; return this.apiClient.callApi( - "/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables_with_pin", + "/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, @@ -630,18 +630,18 @@ export default class EnvironmentVariablesApi { /** * Put environment variables of a device with device pin authorization - * @param {String} projectUID + * @param {String} productUID * @param {String} deviceUID * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables} */ putDeviceEnvironmentVariablesByPin( - projectUID, + productUID, deviceUID, environmentVariables ) { return this.putDeviceEnvironmentVariablesByPinWithHttpInfo( - projectUID, + productUID, deviceUID, environmentVariables ).then(function (response_and_data) { From afdf6f9ab392377fb248519b0391f9a1a8faf7cd Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Mon, 25 Sep 2023 09:54:00 -0400 Subject: [PATCH 9/9] deps: bump version for npm deploy --- config.json | 2 +- src/README.md | 2 +- src/package.json | 2 +- src/src/ApiClient.js | 4 ++-- src/src/api/AuthorizationApi.js | 2 +- src/src/api/BillingAccountApi.js | 2 +- src/src/api/DeviceApi.js | 2 +- src/src/api/DevicesApi.js | 2 +- src/src/api/EnvironmentVariablesApi.js | 2 +- src/src/api/EventApi.js | 2 +- src/src/api/FilesApi.js | 2 +- src/src/api/FleetApi.js | 2 +- src/src/api/NotesApi.js | 2 +- src/src/api/ProductApi.js | 2 +- src/src/api/ProjectApi.js | 2 +- src/src/api/RouteApi.js | 2 +- src/src/api/RouteLogsApi.js | 2 +- src/src/index.js | 2 +- src/src/model/Aws.js | 2 +- src/src/model/Azure.js | 2 +- src/src/model/BillingAccount.js | 2 +- src/src/model/Body.js | 2 +- src/src/model/CloneProjectRequest.js | 2 +- src/src/model/Contact.js | 2 +- src/src/model/CreateFleetRequest.js | 2 +- src/src/model/CreateProductRequest.js | 2 +- src/src/model/CreateProjectRequest.js | 2 +- src/src/model/DFUEnv.js | 2 +- src/src/model/DFUState.js | 2 +- src/src/model/DeleteDeviceFleetsRequest.js | 2 +- src/src/model/Device.js | 2 +- src/src/model/DeviceSession.js | 2 +- src/src/model/DeviceTowerInfo.js | 2 +- src/src/model/DeviceUsage.js | 2 +- src/src/model/EnvironmentVariables.js | 2 +- src/src/model/Error.js | 2 +- src/src/model/Event.js | 2 +- src/src/model/Fleet.js | 2 +- src/src/model/GetBillingAccounts200Response.js | 2 +- src/src/model/GetDeviceEnvironmentVariables200Response.js | 2 +- src/src/model/GetDeviceHealthLog200Response.js | 2 +- src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js | 2 +- src/src/model/GetDeviceLatest200Response.js | 2 +- src/src/model/GetDevicePublicKey200Response.js | 2 +- src/src/model/GetDeviceSessions200Response.js | 2 +- src/src/model/GetProjectDevicePublicKeys200Response.js | 2 +- ...ProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js | 2 +- src/src/model/GetProjectDevices200Response.js | 2 +- src/src/model/GetProjectEvents200Response.js | 2 +- src/src/model/GetProjectEventsByCursor200Response.js | 2 +- src/src/model/GetProjectFleets200Response.js | 2 +- src/src/model/GetProjectMembers200Response.js | 2 +- src/src/model/GetProjectProducts200Response.js | 2 +- src/src/model/GetProjects200Response.js | 2 +- src/src/model/GetRouteLogsByRoute200ResponseInner.js | 2 +- src/src/model/Google.js | 2 +- src/src/model/HandleNoteChanges200Response.js | 2 +- src/src/model/HandleNoteGet200Response.js | 2 +- src/src/model/HandleNoteSignal200Response.js | 2 +- src/src/model/HandleNotefileChanges200Response.js | 2 +- src/src/model/HandleNotefileChangesPending200Response.js | 2 +- src/src/model/HandleNotefileDeleteRequest.js | 2 +- src/src/model/Http.js | 2 +- src/src/model/HttpFilter.js | 2 +- src/src/model/HttpTransform.js | 2 +- src/src/model/Location.js | 2 +- src/src/model/Login200Response.js | 2 +- src/src/model/LoginRequest.js | 2 +- src/src/model/Mqtt.js | 2 +- src/src/model/Note.js | 2 +- src/src/model/Product.js | 2 +- src/src/model/Project.js | 2 +- src/src/model/ProjectMember.js | 2 +- src/src/model/Proxy.js | 2 +- src/src/model/PutDeviceFleetsRequest.js | 2 +- src/src/model/Radresponder.js | 2 +- src/src/model/Route.js | 2 +- src/src/model/RouteSchema.js | 2 +- src/src/model/Slack.js | 2 +- src/src/model/Snowflake.js | 2 +- src/src/model/SnowflakeTransform.js | 2 +- src/src/model/Thingworx.js | 2 +- src/src/model/TowerLocation.js | 2 +- src/src/model/Twilio.js | 2 +- src/src/model/UpdateFleetRequest.js | 2 +- src/src/model/UserDbRoute.js | 2 +- 86 files changed, 87 insertions(+), 87 deletions(-) diff --git a/config.json b/config.json index 28b0c95a..acdcdfc3 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "licenseName": "MIT", "moduleName": "NotehubJs", "npmRepository": "https://registry.npmjs.org", - "projectVersion": "1.0.16", + "projectVersion": "1.0.17", "sourceFolder": "src", "usePromises": true } diff --git a/src/README.md b/src/README.md index fd129799..fdd56082 100644 --- a/src/README.md +++ b/src/README.md @@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.0.16 +- Package version: 1.0.17 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/) diff --git a/src/package.json b/src/package.json index 83892ca4..849e577e 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@blues-inc/notehub-js", - "version": "1.0.16", + "version": "1.0.17", "description": "The OpenAPI definition for the Notehub.io API. ", "license": "MIT", "main": "dist/index.js", diff --git a/src/src/ApiClient.js b/src/src/ApiClient.js index 9526c037..4c2754eb 100644 --- a/src/src/ApiClient.js +++ b/src/src/ApiClient.js @@ -16,7 +16,7 @@ import querystring from "querystring"; /** * @module ApiClient - * @version 1.0.16 + * @version 1.0.17 */ /** @@ -55,7 +55,7 @@ class ApiClient { * @default {} */ this.defaultHeaders = { - "User-Agent": "OpenAPI-Generator/1.0.16/Javascript", + "User-Agent": "OpenAPI-Generator/1.0.17/Javascript", }; /** diff --git a/src/src/api/AuthorizationApi.js b/src/src/api/AuthorizationApi.js index 81a2c839..9480ef15 100644 --- a/src/src/api/AuthorizationApi.js +++ b/src/src/api/AuthorizationApi.js @@ -18,7 +18,7 @@ import LoginRequest from "../model/LoginRequest"; /** * Authorization service. * @module api/AuthorizationApi - * @version 1.0.16 + * @version 1.0.17 */ export default class AuthorizationApi { /** diff --git a/src/src/api/BillingAccountApi.js b/src/src/api/BillingAccountApi.js index 4e0d703f..2b8be8cb 100644 --- a/src/src/api/BillingAccountApi.js +++ b/src/src/api/BillingAccountApi.js @@ -18,7 +18,7 @@ import GetBillingAccounts200Response from "../model/GetBillingAccounts200Respons /** * BillingAccount service. * @module api/BillingAccountApi - * @version 1.0.16 + * @version 1.0.17 */ export default class BillingAccountApi { /** diff --git a/src/src/api/DeviceApi.js b/src/src/api/DeviceApi.js index c9e4ce50..120f0735 100644 --- a/src/src/api/DeviceApi.js +++ b/src/src/api/DeviceApi.js @@ -28,7 +28,7 @@ import PutDeviceFleetsRequest from "../model/PutDeviceFleetsRequest"; /** * Device service. * @module api/DeviceApi - * @version 1.0.16 + * @version 1.0.17 */ export default class DeviceApi { /** diff --git a/src/src/api/DevicesApi.js b/src/src/api/DevicesApi.js index 1951a0f4..a87c9333 100644 --- a/src/src/api/DevicesApi.js +++ b/src/src/api/DevicesApi.js @@ -20,7 +20,7 @@ import GetProjectDevices200Response from "../model/GetProjectDevices200Response" /** * Devices service. * @module api/DevicesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class DevicesApi { /** diff --git a/src/src/api/EnvironmentVariablesApi.js b/src/src/api/EnvironmentVariablesApi.js index 1feafc6f..c10bdb84 100644 --- a/src/src/api/EnvironmentVariablesApi.js +++ b/src/src/api/EnvironmentVariablesApi.js @@ -19,7 +19,7 @@ import GetDeviceEnvironmentVariables200Response from "../model/GetDeviceEnvironm /** * EnvironmentVariables service. * @module api/EnvironmentVariablesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class EnvironmentVariablesApi { /** diff --git a/src/src/api/EventApi.js b/src/src/api/EventApi.js index da133c56..cb5495d2 100644 --- a/src/src/api/EventApi.js +++ b/src/src/api/EventApi.js @@ -19,7 +19,7 @@ import GetProjectEventsByCursor200Response from "../model/GetProjectEventsByCurs /** * Event service. * @module api/EventApi - * @version 1.0.16 + * @version 1.0.17 */ export default class EventApi { /** diff --git a/src/src/api/FilesApi.js b/src/src/api/FilesApi.js index 67b9009a..15d7f90c 100644 --- a/src/src/api/FilesApi.js +++ b/src/src/api/FilesApi.js @@ -20,7 +20,7 @@ import HandleNotefileDeleteRequest from "../model/HandleNotefileDeleteRequest"; /** * Files service. * @module api/FilesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class FilesApi { /** diff --git a/src/src/api/FleetApi.js b/src/src/api/FleetApi.js index df7dcafb..8a25fe8f 100644 --- a/src/src/api/FleetApi.js +++ b/src/src/api/FleetApi.js @@ -27,7 +27,7 @@ import UpdateFleetRequest from "../model/UpdateFleetRequest"; /** * Fleet service. * @module api/FleetApi - * @version 1.0.16 + * @version 1.0.17 */ export default class FleetApi { /** diff --git a/src/src/api/NotesApi.js b/src/src/api/NotesApi.js index 54f5e5e2..5f99d990 100644 --- a/src/src/api/NotesApi.js +++ b/src/src/api/NotesApi.js @@ -20,7 +20,7 @@ import Note from "../model/Note"; /** * Notes service. * @module api/NotesApi - * @version 1.0.16 + * @version 1.0.17 */ export default class NotesApi { /** diff --git a/src/src/api/ProductApi.js b/src/src/api/ProductApi.js index d6306475..8e3329fb 100644 --- a/src/src/api/ProductApi.js +++ b/src/src/api/ProductApi.js @@ -21,7 +21,7 @@ import Project from "../model/Project"; /** * Product service. * @module api/ProductApi - * @version 1.0.16 + * @version 1.0.17 */ export default class ProductApi { /** diff --git a/src/src/api/ProjectApi.js b/src/src/api/ProjectApi.js index ba477117..192ef9bf 100644 --- a/src/src/api/ProjectApi.js +++ b/src/src/api/ProjectApi.js @@ -30,7 +30,7 @@ import Project from "../model/Project"; /** * Project service. * @module api/ProjectApi - * @version 1.0.16 + * @version 1.0.17 */ export default class ProjectApi { /** diff --git a/src/src/api/RouteApi.js b/src/src/api/RouteApi.js index cc0cbaaa..41037dfe 100644 --- a/src/src/api/RouteApi.js +++ b/src/src/api/RouteApi.js @@ -19,7 +19,7 @@ import UserDbRoute from "../model/UserDbRoute"; /** * Route service. * @module api/RouteApi - * @version 1.0.16 + * @version 1.0.17 */ export default class RouteApi { /** diff --git a/src/src/api/RouteLogsApi.js b/src/src/api/RouteLogsApi.js index 405df5ab..be518dcf 100644 --- a/src/src/api/RouteLogsApi.js +++ b/src/src/api/RouteLogsApi.js @@ -18,7 +18,7 @@ import GetRouteLogsByRoute200ResponseInner from "../model/GetRouteLogsByRoute200 /** * RouteLogs service. * @module api/RouteLogsApi - * @version 1.0.16 + * @version 1.0.17 */ export default class RouteLogsApi { /** diff --git a/src/src/index.js b/src/src/index.js index 1d25485d..7c9e656c 100644 --- a/src/src/index.js +++ b/src/src/index.js @@ -125,7 +125,7 @@ import RouteLogsApi from "./api/RouteLogsApi"; * *

* @module index - * @version 1.0.16 + * @version 1.0.17 */ export { /** diff --git a/src/src/model/Aws.js b/src/src/model/Aws.js index 3a5afce6..d157b79b 100644 --- a/src/src/model/Aws.js +++ b/src/src/model/Aws.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Aws model module. * @module model/Aws - * @version 1.0.16 + * @version 1.0.17 */ class Aws { /** diff --git a/src/src/model/Azure.js b/src/src/model/Azure.js index 15af609a..d70e115c 100644 --- a/src/src/model/Azure.js +++ b/src/src/model/Azure.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Azure model module. * @module model/Azure - * @version 1.0.16 + * @version 1.0.17 */ class Azure { /** diff --git a/src/src/model/BillingAccount.js b/src/src/model/BillingAccount.js index 1b34757e..e375e8d3 100644 --- a/src/src/model/BillingAccount.js +++ b/src/src/model/BillingAccount.js @@ -17,7 +17,7 @@ import BillingAccountRole from "./BillingAccountRole"; /** * The BillingAccount model module. * @module model/BillingAccount - * @version 1.0.16 + * @version 1.0.17 */ class BillingAccount { /** diff --git a/src/src/model/Body.js b/src/src/model/Body.js index 6a86a2fa..53b34a44 100644 --- a/src/src/model/Body.js +++ b/src/src/model/Body.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Body model module. * @module model/Body - * @version 1.0.16 + * @version 1.0.17 */ class Body { /** diff --git a/src/src/model/CloneProjectRequest.js b/src/src/model/CloneProjectRequest.js index 00400b87..b319cc73 100644 --- a/src/src/model/CloneProjectRequest.js +++ b/src/src/model/CloneProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CloneProjectRequest model module. * @module model/CloneProjectRequest - * @version 1.0.16 + * @version 1.0.17 */ class CloneProjectRequest { /** diff --git a/src/src/model/Contact.js b/src/src/model/Contact.js index a541b037..6785970f 100644 --- a/src/src/model/Contact.js +++ b/src/src/model/Contact.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Contact model module. * @module model/Contact - * @version 1.0.16 + * @version 1.0.17 */ class Contact { /** diff --git a/src/src/model/CreateFleetRequest.js b/src/src/model/CreateFleetRequest.js index fa22afaa..d399bfbf 100644 --- a/src/src/model/CreateFleetRequest.js +++ b/src/src/model/CreateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateFleetRequest model module. * @module model/CreateFleetRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateFleetRequest { /** diff --git a/src/src/model/CreateProductRequest.js b/src/src/model/CreateProductRequest.js index cb3dd836..9dc9f14d 100644 --- a/src/src/model/CreateProductRequest.js +++ b/src/src/model/CreateProductRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProductRequest model module. * @module model/CreateProductRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateProductRequest { /** diff --git a/src/src/model/CreateProjectRequest.js b/src/src/model/CreateProjectRequest.js index 5da81889..95d83fb8 100644 --- a/src/src/model/CreateProjectRequest.js +++ b/src/src/model/CreateProjectRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The CreateProjectRequest model module. * @module model/CreateProjectRequest - * @version 1.0.16 + * @version 1.0.17 */ class CreateProjectRequest { /** diff --git a/src/src/model/DFUEnv.js b/src/src/model/DFUEnv.js index 4264eb68..c1dcdcc5 100644 --- a/src/src/model/DFUEnv.js +++ b/src/src/model/DFUEnv.js @@ -17,7 +17,7 @@ import DFUState from "./DFUState"; /** * The DFUEnv model module. * @module model/DFUEnv - * @version 1.0.16 + * @version 1.0.17 */ class DFUEnv { /** diff --git a/src/src/model/DFUState.js b/src/src/model/DFUState.js index ce35fa3e..f434f729 100644 --- a/src/src/model/DFUState.js +++ b/src/src/model/DFUState.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DFUState model module. * @module model/DFUState - * @version 1.0.16 + * @version 1.0.17 */ class DFUState { /** diff --git a/src/src/model/DeleteDeviceFleetsRequest.js b/src/src/model/DeleteDeviceFleetsRequest.js index 5a92bc7f..15cd92f5 100644 --- a/src/src/model/DeleteDeviceFleetsRequest.js +++ b/src/src/model/DeleteDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeleteDeviceFleetsRequest model module. * @module model/DeleteDeviceFleetsRequest - * @version 1.0.16 + * @version 1.0.17 */ class DeleteDeviceFleetsRequest { /** diff --git a/src/src/model/Device.js b/src/src/model/Device.js index 4fde9751..9709b777 100644 --- a/src/src/model/Device.js +++ b/src/src/model/Device.js @@ -20,7 +20,7 @@ import Location from "./Location"; /** * The Device model module. * @module model/Device - * @version 1.0.16 + * @version 1.0.17 */ class Device { /** diff --git a/src/src/model/DeviceSession.js b/src/src/model/DeviceSession.js index f646481b..aa8a123c 100644 --- a/src/src/model/DeviceSession.js +++ b/src/src/model/DeviceSession.js @@ -18,7 +18,7 @@ import TowerLocation from "./TowerLocation"; /** * The DeviceSession model module. * @module model/DeviceSession - * @version 1.0.16 + * @version 1.0.17 */ class DeviceSession { /** diff --git a/src/src/model/DeviceTowerInfo.js b/src/src/model/DeviceTowerInfo.js index 7760160c..8eff6c62 100644 --- a/src/src/model/DeviceTowerInfo.js +++ b/src/src/model/DeviceTowerInfo.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceTowerInfo model module. * @module model/DeviceTowerInfo - * @version 1.0.16 + * @version 1.0.17 */ class DeviceTowerInfo { /** diff --git a/src/src/model/DeviceUsage.js b/src/src/model/DeviceUsage.js index 19e6d269..2df2b401 100644 --- a/src/src/model/DeviceUsage.js +++ b/src/src/model/DeviceUsage.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The DeviceUsage model module. * @module model/DeviceUsage - * @version 1.0.16 + * @version 1.0.17 */ class DeviceUsage { /** diff --git a/src/src/model/EnvironmentVariables.js b/src/src/model/EnvironmentVariables.js index 7d7161bd..c167c0db 100644 --- a/src/src/model/EnvironmentVariables.js +++ b/src/src/model/EnvironmentVariables.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The EnvironmentVariables model module. * @module model/EnvironmentVariables - * @version 1.0.16 + * @version 1.0.17 */ class EnvironmentVariables { /** diff --git a/src/src/model/Error.js b/src/src/model/Error.js index 216a865c..af71d0c6 100644 --- a/src/src/model/Error.js +++ b/src/src/model/Error.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Error model module. * @module model/Error - * @version 1.0.16 + * @version 1.0.17 */ class Error { /** diff --git a/src/src/model/Event.js b/src/src/model/Event.js index a93c1a34..12f37222 100644 --- a/src/src/model/Event.js +++ b/src/src/model/Event.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Event model module. * @module model/Event - * @version 1.0.16 + * @version 1.0.17 */ class Event { /** diff --git a/src/src/model/Fleet.js b/src/src/model/Fleet.js index 9f558217..c565e0f4 100644 --- a/src/src/model/Fleet.js +++ b/src/src/model/Fleet.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Fleet model module. * @module model/Fleet - * @version 1.0.16 + * @version 1.0.17 */ class Fleet { /** diff --git a/src/src/model/GetBillingAccounts200Response.js b/src/src/model/GetBillingAccounts200Response.js index 99dfc2c1..00e51417 100644 --- a/src/src/model/GetBillingAccounts200Response.js +++ b/src/src/model/GetBillingAccounts200Response.js @@ -17,7 +17,7 @@ import BillingAccount from "./BillingAccount"; /** * The GetBillingAccounts200Response model module. * @module model/GetBillingAccounts200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetBillingAccounts200Response { /** diff --git a/src/src/model/GetDeviceEnvironmentVariables200Response.js b/src/src/model/GetDeviceEnvironmentVariables200Response.js index 9f9ed3ce..9656d719 100644 --- a/src/src/model/GetDeviceEnvironmentVariables200Response.js +++ b/src/src/model/GetDeviceEnvironmentVariables200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceEnvironmentVariables200Response model module. * @module model/GetDeviceEnvironmentVariables200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceEnvironmentVariables200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200Response.js b/src/src/model/GetDeviceHealthLog200Response.js index a6ed3ce9..0a0edbe0 100644 --- a/src/src/model/GetDeviceHealthLog200Response.js +++ b/src/src/model/GetDeviceHealthLog200Response.js @@ -17,7 +17,7 @@ import GetDeviceHealthLog200ResponseHealthLogInner from "./GetDeviceHealthLog200 /** * The GetDeviceHealthLog200Response model module. * @module model/GetDeviceHealthLog200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceHealthLog200Response { /** diff --git a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js index eb5e6d00..c61947d7 100644 --- a/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js +++ b/src/src/model/GetDeviceHealthLog200ResponseHealthLogInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDeviceHealthLog200ResponseHealthLogInner model module. * @module model/GetDeviceHealthLog200ResponseHealthLogInner - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceHealthLog200ResponseHealthLogInner { /** diff --git a/src/src/model/GetDeviceLatest200Response.js b/src/src/model/GetDeviceLatest200Response.js index 932df3a4..2953e548 100644 --- a/src/src/model/GetDeviceLatest200Response.js +++ b/src/src/model/GetDeviceLatest200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetDeviceLatest200Response model module. * @module model/GetDeviceLatest200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceLatest200Response { /** diff --git a/src/src/model/GetDevicePublicKey200Response.js b/src/src/model/GetDevicePublicKey200Response.js index 21242757..480f6000 100644 --- a/src/src/model/GetDevicePublicKey200Response.js +++ b/src/src/model/GetDevicePublicKey200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetDevicePublicKey200Response model module. * @module model/GetDevicePublicKey200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDevicePublicKey200Response { /** diff --git a/src/src/model/GetDeviceSessions200Response.js b/src/src/model/GetDeviceSessions200Response.js index 521b5d90..9e226495 100644 --- a/src/src/model/GetDeviceSessions200Response.js +++ b/src/src/model/GetDeviceSessions200Response.js @@ -17,7 +17,7 @@ import DeviceSession from "./DeviceSession"; /** * The GetDeviceSessions200Response model module. * @module model/GetDeviceSessions200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetDeviceSessions200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200Response.js b/src/src/model/GetProjectDevicePublicKeys200Response.js index 2aa8d42d..8801f654 100644 --- a/src/src/model/GetProjectDevicePublicKeys200Response.js +++ b/src/src/model/GetProjectDevicePublicKeys200Response.js @@ -17,7 +17,7 @@ import GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner from "./GetPro /** * The GetProjectDevicePublicKeys200Response model module. * @module model/GetProjectDevicePublicKeys200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevicePublicKeys200Response { /** diff --git a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js index a19d0280..9da82d1e 100644 --- a/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +++ b/src/src/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module. * @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner { /** diff --git a/src/src/model/GetProjectDevices200Response.js b/src/src/model/GetProjectDevices200Response.js index cc4a9fdf..c7dc4b8e 100644 --- a/src/src/model/GetProjectDevices200Response.js +++ b/src/src/model/GetProjectDevices200Response.js @@ -17,7 +17,7 @@ import Device from "./Device"; /** * The GetProjectDevices200Response model module. * @module model/GetProjectDevices200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectDevices200Response { /** diff --git a/src/src/model/GetProjectEvents200Response.js b/src/src/model/GetProjectEvents200Response.js index e1a6fb72..e0f64c05 100644 --- a/src/src/model/GetProjectEvents200Response.js +++ b/src/src/model/GetProjectEvents200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEvents200Response model module. * @module model/GetProjectEvents200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectEvents200Response { /** diff --git a/src/src/model/GetProjectEventsByCursor200Response.js b/src/src/model/GetProjectEventsByCursor200Response.js index 0cd9ec94..05c6fe53 100644 --- a/src/src/model/GetProjectEventsByCursor200Response.js +++ b/src/src/model/GetProjectEventsByCursor200Response.js @@ -17,7 +17,7 @@ import Event from "./Event"; /** * The GetProjectEventsByCursor200Response model module. * @module model/GetProjectEventsByCursor200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectEventsByCursor200Response { /** diff --git a/src/src/model/GetProjectFleets200Response.js b/src/src/model/GetProjectFleets200Response.js index 404e795b..50f6310d 100644 --- a/src/src/model/GetProjectFleets200Response.js +++ b/src/src/model/GetProjectFleets200Response.js @@ -17,7 +17,7 @@ import Fleet from "./Fleet"; /** * The GetProjectFleets200Response model module. * @module model/GetProjectFleets200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectFleets200Response { /** diff --git a/src/src/model/GetProjectMembers200Response.js b/src/src/model/GetProjectMembers200Response.js index c3228a09..10a0a8d7 100644 --- a/src/src/model/GetProjectMembers200Response.js +++ b/src/src/model/GetProjectMembers200Response.js @@ -17,7 +17,7 @@ import ProjectMember from "./ProjectMember"; /** * The GetProjectMembers200Response model module. * @module model/GetProjectMembers200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectMembers200Response { /** diff --git a/src/src/model/GetProjectProducts200Response.js b/src/src/model/GetProjectProducts200Response.js index 221b3d58..290b6ccc 100644 --- a/src/src/model/GetProjectProducts200Response.js +++ b/src/src/model/GetProjectProducts200Response.js @@ -17,7 +17,7 @@ import Product from "./Product"; /** * The GetProjectProducts200Response model module. * @module model/GetProjectProducts200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjectProducts200Response { /** diff --git a/src/src/model/GetProjects200Response.js b/src/src/model/GetProjects200Response.js index d7a789c8..92bf13df 100644 --- a/src/src/model/GetProjects200Response.js +++ b/src/src/model/GetProjects200Response.js @@ -17,7 +17,7 @@ import Project from "./Project"; /** * The GetProjects200Response model module. * @module model/GetProjects200Response - * @version 1.0.16 + * @version 1.0.17 */ class GetProjects200Response { /** diff --git a/src/src/model/GetRouteLogsByRoute200ResponseInner.js b/src/src/model/GetRouteLogsByRoute200ResponseInner.js index 85abbb4b..f0c328fe 100644 --- a/src/src/model/GetRouteLogsByRoute200ResponseInner.js +++ b/src/src/model/GetRouteLogsByRoute200ResponseInner.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The GetRouteLogsByRoute200ResponseInner model module. * @module model/GetRouteLogsByRoute200ResponseInner - * @version 1.0.16 + * @version 1.0.17 */ class GetRouteLogsByRoute200ResponseInner { /** diff --git a/src/src/model/Google.js b/src/src/model/Google.js index 98ba8663..269bd0aa 100644 --- a/src/src/model/Google.js +++ b/src/src/model/Google.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Google model module. * @module model/Google - * @version 1.0.16 + * @version 1.0.17 */ class Google { /** diff --git a/src/src/model/HandleNoteChanges200Response.js b/src/src/model/HandleNoteChanges200Response.js index 977cdc97..d170a857 100644 --- a/src/src/model/HandleNoteChanges200Response.js +++ b/src/src/model/HandleNoteChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteChanges200Response model module. * @module model/HandleNoteChanges200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteChanges200Response { /** diff --git a/src/src/model/HandleNoteGet200Response.js b/src/src/model/HandleNoteGet200Response.js index 7119b18c..b9ae7122 100644 --- a/src/src/model/HandleNoteGet200Response.js +++ b/src/src/model/HandleNoteGet200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteGet200Response model module. * @module model/HandleNoteGet200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteGet200Response { /** diff --git a/src/src/model/HandleNoteSignal200Response.js b/src/src/model/HandleNoteSignal200Response.js index 5261fbe9..92ebef48 100644 --- a/src/src/model/HandleNoteSignal200Response.js +++ b/src/src/model/HandleNoteSignal200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNoteSignal200Response model module. * @module model/HandleNoteSignal200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNoteSignal200Response { /** diff --git a/src/src/model/HandleNotefileChanges200Response.js b/src/src/model/HandleNotefileChanges200Response.js index fe31cd8e..686022aa 100644 --- a/src/src/model/HandleNotefileChanges200Response.js +++ b/src/src/model/HandleNotefileChanges200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChanges200Response model module. * @module model/HandleNotefileChanges200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileChanges200Response { /** diff --git a/src/src/model/HandleNotefileChangesPending200Response.js b/src/src/model/HandleNotefileChangesPending200Response.js index 2bdb338f..5a7aa128 100644 --- a/src/src/model/HandleNotefileChangesPending200Response.js +++ b/src/src/model/HandleNotefileChangesPending200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileChangesPending200Response model module. * @module model/HandleNotefileChangesPending200Response - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileChangesPending200Response { /** diff --git a/src/src/model/HandleNotefileDeleteRequest.js b/src/src/model/HandleNotefileDeleteRequest.js index e1192baf..c128777e 100644 --- a/src/src/model/HandleNotefileDeleteRequest.js +++ b/src/src/model/HandleNotefileDeleteRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HandleNotefileDeleteRequest model module. * @module model/HandleNotefileDeleteRequest - * @version 1.0.16 + * @version 1.0.17 */ class HandleNotefileDeleteRequest { /** diff --git a/src/src/model/Http.js b/src/src/model/Http.js index 9f92860f..586b1925 100644 --- a/src/src/model/Http.js +++ b/src/src/model/Http.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Http model module. * @module model/Http - * @version 1.0.16 + * @version 1.0.17 */ class Http { /** diff --git a/src/src/model/HttpFilter.js b/src/src/model/HttpFilter.js index 67c1cd91..6b99f4fc 100644 --- a/src/src/model/HttpFilter.js +++ b/src/src/model/HttpFilter.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpFilter model module. * @module model/HttpFilter - * @version 1.0.16 + * @version 1.0.17 */ class HttpFilter { /** diff --git a/src/src/model/HttpTransform.js b/src/src/model/HttpTransform.js index 828a097a..a52b3a1a 100644 --- a/src/src/model/HttpTransform.js +++ b/src/src/model/HttpTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The HttpTransform model module. * @module model/HttpTransform - * @version 1.0.16 + * @version 1.0.17 */ class HttpTransform { /** diff --git a/src/src/model/Location.js b/src/src/model/Location.js index 78972acc..345bfcfb 100644 --- a/src/src/model/Location.js +++ b/src/src/model/Location.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Location model module. * @module model/Location - * @version 1.0.16 + * @version 1.0.17 */ class Location { /** diff --git a/src/src/model/Login200Response.js b/src/src/model/Login200Response.js index b791807f..164c1678 100644 --- a/src/src/model/Login200Response.js +++ b/src/src/model/Login200Response.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Login200Response model module. * @module model/Login200Response - * @version 1.0.16 + * @version 1.0.17 */ class Login200Response { /** diff --git a/src/src/model/LoginRequest.js b/src/src/model/LoginRequest.js index 70aa54b3..1cb541b8 100644 --- a/src/src/model/LoginRequest.js +++ b/src/src/model/LoginRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The LoginRequest model module. * @module model/LoginRequest - * @version 1.0.16 + * @version 1.0.17 */ class LoginRequest { /** diff --git a/src/src/model/Mqtt.js b/src/src/model/Mqtt.js index 8e285d8a..10c287ee 100644 --- a/src/src/model/Mqtt.js +++ b/src/src/model/Mqtt.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Mqtt model module. * @module model/Mqtt - * @version 1.0.16 + * @version 1.0.17 */ class Mqtt { /** diff --git a/src/src/model/Note.js b/src/src/model/Note.js index 760fd08d..8a74d70c 100644 --- a/src/src/model/Note.js +++ b/src/src/model/Note.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Note model module. * @module model/Note - * @version 1.0.16 + * @version 1.0.17 */ class Note { /** diff --git a/src/src/model/Product.js b/src/src/model/Product.js index b93ddc86..5ed912a2 100644 --- a/src/src/model/Product.js +++ b/src/src/model/Product.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Product model module. * @module model/Product - * @version 1.0.16 + * @version 1.0.17 */ class Product { /** diff --git a/src/src/model/Project.js b/src/src/model/Project.js index 071ee662..3faa46a1 100644 --- a/src/src/model/Project.js +++ b/src/src/model/Project.js @@ -18,7 +18,7 @@ import Role from "./Role"; /** * The Project model module. * @module model/Project - * @version 1.0.16 + * @version 1.0.17 */ class Project { /** diff --git a/src/src/model/ProjectMember.js b/src/src/model/ProjectMember.js index a7b2ce30..bab4fc04 100644 --- a/src/src/model/ProjectMember.js +++ b/src/src/model/ProjectMember.js @@ -17,7 +17,7 @@ import Role from "./Role"; /** * The ProjectMember model module. * @module model/ProjectMember - * @version 1.0.16 + * @version 1.0.17 */ class ProjectMember { /** diff --git a/src/src/model/Proxy.js b/src/src/model/Proxy.js index 1f4941b8..387bdcd9 100644 --- a/src/src/model/Proxy.js +++ b/src/src/model/Proxy.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Proxy model module. * @module model/Proxy - * @version 1.0.16 + * @version 1.0.17 */ class Proxy { /** diff --git a/src/src/model/PutDeviceFleetsRequest.js b/src/src/model/PutDeviceFleetsRequest.js index 7817abb6..253443c4 100644 --- a/src/src/model/PutDeviceFleetsRequest.js +++ b/src/src/model/PutDeviceFleetsRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The PutDeviceFleetsRequest model module. * @module model/PutDeviceFleetsRequest - * @version 1.0.16 + * @version 1.0.17 */ class PutDeviceFleetsRequest { /** diff --git a/src/src/model/Radresponder.js b/src/src/model/Radresponder.js index fa0f7b27..f950fcda 100644 --- a/src/src/model/Radresponder.js +++ b/src/src/model/Radresponder.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The Radresponder model module. * @module model/Radresponder - * @version 1.0.16 + * @version 1.0.17 */ class Radresponder { /** diff --git a/src/src/model/Route.js b/src/src/model/Route.js index 858fe8ce..39888270 100644 --- a/src/src/model/Route.js +++ b/src/src/model/Route.js @@ -17,7 +17,7 @@ import RouteSchema from "./RouteSchema"; /** * The Route model module. * @module model/Route - * @version 1.0.16 + * @version 1.0.17 */ class Route { /** diff --git a/src/src/model/RouteSchema.js b/src/src/model/RouteSchema.js index 395d5d76..0d5d4e29 100644 --- a/src/src/model/RouteSchema.js +++ b/src/src/model/RouteSchema.js @@ -28,7 +28,7 @@ import Thingworx from "./Thingworx"; /** * The RouteSchema model module. * @module model/RouteSchema - * @version 1.0.16 + * @version 1.0.17 */ class RouteSchema { /** diff --git a/src/src/model/Slack.js b/src/src/model/Slack.js index 4280b1b4..dc473763 100644 --- a/src/src/model/Slack.js +++ b/src/src/model/Slack.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Slack model module. * @module model/Slack - * @version 1.0.16 + * @version 1.0.17 */ class Slack { /** diff --git a/src/src/model/Snowflake.js b/src/src/model/Snowflake.js index 7df37dd7..cbc2a79e 100644 --- a/src/src/model/Snowflake.js +++ b/src/src/model/Snowflake.js @@ -18,7 +18,7 @@ import SnowflakeTransform from "./SnowflakeTransform"; /** * The Snowflake model module. * @module model/Snowflake - * @version 1.0.16 + * @version 1.0.17 */ class Snowflake { /** diff --git a/src/src/model/SnowflakeTransform.js b/src/src/model/SnowflakeTransform.js index 5aac96ce..2f84e7b3 100644 --- a/src/src/model/SnowflakeTransform.js +++ b/src/src/model/SnowflakeTransform.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The SnowflakeTransform model module. * @module model/SnowflakeTransform - * @version 1.0.16 + * @version 1.0.17 */ class SnowflakeTransform { /** diff --git a/src/src/model/Thingworx.js b/src/src/model/Thingworx.js index 4414b483..5ee7b0c8 100644 --- a/src/src/model/Thingworx.js +++ b/src/src/model/Thingworx.js @@ -18,7 +18,7 @@ import HttpTransform from "./HttpTransform"; /** * The Thingworx model module. * @module model/Thingworx - * @version 1.0.16 + * @version 1.0.17 */ class Thingworx { /** diff --git a/src/src/model/TowerLocation.js b/src/src/model/TowerLocation.js index 8c43d424..757f16e9 100644 --- a/src/src/model/TowerLocation.js +++ b/src/src/model/TowerLocation.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The TowerLocation model module. * @module model/TowerLocation - * @version 1.0.16 + * @version 1.0.17 */ class TowerLocation { /** diff --git a/src/src/model/Twilio.js b/src/src/model/Twilio.js index 58c227a9..0a31ad05 100644 --- a/src/src/model/Twilio.js +++ b/src/src/model/Twilio.js @@ -17,7 +17,7 @@ import HttpFilter from "./HttpFilter"; /** * The Twilio model module. * @module model/Twilio - * @version 1.0.16 + * @version 1.0.17 */ class Twilio { /** diff --git a/src/src/model/UpdateFleetRequest.js b/src/src/model/UpdateFleetRequest.js index d9e4efd3..8c628856 100644 --- a/src/src/model/UpdateFleetRequest.js +++ b/src/src/model/UpdateFleetRequest.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UpdateFleetRequest model module. * @module model/UpdateFleetRequest - * @version 1.0.16 + * @version 1.0.17 */ class UpdateFleetRequest { /** diff --git a/src/src/model/UserDbRoute.js b/src/src/model/UserDbRoute.js index 35f0e1db..9bab64f0 100644 --- a/src/src/model/UserDbRoute.js +++ b/src/src/model/UserDbRoute.js @@ -16,7 +16,7 @@ import ApiClient from "../ApiClient"; /** * The UserDbRoute model module. * @module model/UserDbRoute - * @version 1.0.16 + * @version 1.0.17 */ class UserDbRoute { /**