diff --git a/.apigentools-info b/.apigentools-info index 3de84c3..e89f916 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,8 +4,8 @@ "spec_versions": { "v2": { "apigentools_version": "1.1.0", - "regenerated": "2024-07-24 13:05:09.714302", - "spec_repo_commit": "5a8f8ed" + "regenerated": "2024-09-20 07:37:07.953858", + "spec_repo_commit": "647474e" } } } \ No newline at end of file diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index d9cc3ca..d92937f 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -29,6 +29,7 @@ docs/ArduinoLoradevicev1.md docs/ArduinoLorafreqplansv1.md docs/ArduinoLorafreqplanv1.md docs/ArduinoProperty.md +docs/ArduinoPropertytype.md docs/ArduinoSeriesBatch.md docs/ArduinoSeriesBatchSampled.md docs/ArduinoSeriesRawBatch.md @@ -86,6 +87,7 @@ docs/PropertiesV2Api.md docs/PropertiesValue.md docs/PropertiesValues.md docs/Property.md +docs/PropertyTypesV1Api.md docs/PropertyValue.md docs/SeriesV2Api.md docs/Sharerequest.md @@ -116,6 +118,7 @@ src/api/LoraDevicesV1Api.js src/api/LoraFreqPlanV1Api.js src/api/NetworkCredentialsV1Api.js src/api/PropertiesV2Api.js +src/api/PropertyTypesV1Api.js src/api/SeriesV2Api.js src/api/TemplatesApi.js src/api/ThingsV2Api.js @@ -148,6 +151,7 @@ src/model/ArduinoLoradevicev1.js src/model/ArduinoLorafreqplansv1.js src/model/ArduinoLorafreqplanv1.js src/model/ArduinoProperty.js +src/model/ArduinoPropertytype.js src/model/ArduinoSeriesBatch.js src/model/ArduinoSeriesBatchSampled.js src/model/ArduinoSeriesRawBatch.js @@ -217,6 +221,7 @@ test/api/LoraDevicesV1Api.spec.js test/api/LoraFreqPlanV1Api.spec.js test/api/NetworkCredentialsV1Api.spec.js test/api/PropertiesV2Api.spec.js +test/api/PropertyTypesV1Api.spec.js test/api/SeriesV2Api.spec.js test/api/TemplatesApi.spec.js test/api/ThingsV2Api.spec.js @@ -248,6 +253,7 @@ test/model/ArduinoLoradevicev1.spec.js test/model/ArduinoLorafreqplansv1.spec.js test/model/ArduinoLorafreqplanv1.spec.js test/model/ArduinoProperty.spec.js +test/model/ArduinoPropertytype.spec.js test/model/ArduinoSeriesBatch.spec.js test/model/ArduinoSeriesBatchSampled.spec.js test/model/ArduinoSeriesRawBatch.spec.js diff --git a/package.json b/package.json index 25e96d5..790a4bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arduino/arduino-iot-client", - "version": "2.0.5", + "version": "2.0.6", "description": " Provides a set of endpoints to manage Arduino IoT Cloud **Devices**, **Things**, **Properties** and **Timeseries**. This API can be called just with any HTTP Client, or using one of these clients: * [Javascript NPM package](https://www.npmjs.com/package/@arduino/arduino-iot-client) * [Python PYPI Package](https://pypi.org/project/arduino-iot-client/) * [Golang Module](https://github.com/arduino/iot-client-go)", "license": "GPLv3", "main": "dist/index.js", diff --git a/src/ApiClient.js b/src/ApiClient.js index b0f694b..6521596 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -17,7 +17,7 @@ import querystring from "querystring"; /** * @module ApiClient -* @version 2.0.5 +* @version 2.0.6 */ /** diff --git a/src/api/DashboardsV2Api.js b/src/api/DashboardsV2Api.js index eeb2a5a..0544013 100644 --- a/src/api/DashboardsV2Api.js +++ b/src/api/DashboardsV2Api.js @@ -27,7 +27,7 @@ import Widgetlink from '../model/Widgetlink'; /** * DashboardsV2 service. * @module api/DashboardsV2Api -* @version 2.0.5 +* @version 2.0.6 */ export default class DashboardsV2Api { diff --git a/src/api/DevicesV2Api.js b/src/api/DevicesV2Api.js index 54222c9..a544307 100644 --- a/src/api/DevicesV2Api.js +++ b/src/api/DevicesV2Api.js @@ -26,7 +26,7 @@ import PropertiesValues from '../model/PropertiesValues'; /** * DevicesV2 service. * @module api/DevicesV2Api -* @version 2.0.5 +* @version 2.0.6 */ export default class DevicesV2Api { diff --git a/src/api/DevicesV2CertsApi.js b/src/api/DevicesV2CertsApi.js index 90083d2..ad1512d 100644 --- a/src/api/DevicesV2CertsApi.js +++ b/src/api/DevicesV2CertsApi.js @@ -21,7 +21,7 @@ import Error from '../model/Error'; /** * DevicesV2Certs service. * @module api/DevicesV2CertsApi -* @version 2.0.5 +* @version 2.0.6 */ export default class DevicesV2CertsApi { diff --git a/src/api/DevicesV2OtaApi.js b/src/api/DevicesV2OtaApi.js index 2570a4f..bea2bcb 100644 --- a/src/api/DevicesV2OtaApi.js +++ b/src/api/DevicesV2OtaApi.js @@ -21,7 +21,7 @@ import Error from '../model/Error'; /** * DevicesV2Ota service. * @module api/DevicesV2OtaApi -* @version 2.0.5 +* @version 2.0.6 */ export default class DevicesV2OtaApi { diff --git a/src/api/DevicesV2PassApi.js b/src/api/DevicesV2PassApi.js index 3c07bda..8e907b5 100644 --- a/src/api/DevicesV2PassApi.js +++ b/src/api/DevicesV2PassApi.js @@ -21,7 +21,7 @@ import Error from '../model/Error'; /** * DevicesV2Pass service. * @module api/DevicesV2PassApi -* @version 2.0.5 +* @version 2.0.6 */ export default class DevicesV2PassApi { diff --git a/src/api/DevicesV2TagsApi.js b/src/api/DevicesV2TagsApi.js index e8ff514..33d4951 100644 --- a/src/api/DevicesV2TagsApi.js +++ b/src/api/DevicesV2TagsApi.js @@ -20,7 +20,7 @@ import Tag from '../model/Tag'; /** * DevicesV2Tags service. * @module api/DevicesV2TagsApi -* @version 2.0.5 +* @version 2.0.6 */ export default class DevicesV2TagsApi { diff --git a/src/api/LoraDevicesV1Api.js b/src/api/LoraDevicesV1Api.js index 5d07f27..92ca491 100644 --- a/src/api/LoraDevicesV1Api.js +++ b/src/api/LoraDevicesV1Api.js @@ -19,7 +19,7 @@ import CreateLoraDevicesV1Payload from '../model/CreateLoraDevicesV1Payload'; /** * LoraDevicesV1 service. * @module api/LoraDevicesV1Api -* @version 2.0.5 +* @version 2.0.6 */ export default class LoraDevicesV1Api { diff --git a/src/api/LoraFreqPlanV1Api.js b/src/api/LoraFreqPlanV1Api.js index 64588a8..3182037 100644 --- a/src/api/LoraFreqPlanV1Api.js +++ b/src/api/LoraFreqPlanV1Api.js @@ -19,7 +19,7 @@ import Error from '../model/Error'; /** * LoraFreqPlanV1 service. * @module api/LoraFreqPlanV1Api -* @version 2.0.5 +* @version 2.0.6 */ export default class LoraFreqPlanV1Api { diff --git a/src/api/NetworkCredentialsV1Api.js b/src/api/NetworkCredentialsV1Api.js index 481b091..a70a2a4 100644 --- a/src/api/NetworkCredentialsV1Api.js +++ b/src/api/NetworkCredentialsV1Api.js @@ -14,11 +14,12 @@ import ApiClient from "../ApiClient"; import ArduinoCredentialsv1 from '../model/ArduinoCredentialsv1'; +import Error from '../model/Error'; /** * NetworkCredentialsV1 service. * @module api/NetworkCredentialsV1Api -* @version 2.0.5 +* @version 2.0.6 */ export default class NetworkCredentialsV1Api { @@ -64,7 +65,7 @@ export default class NetworkCredentialsV1Api { let authNames = []; let contentTypes = []; - let accepts = ['application/vnd.arduino.credentialsv1+json; type=collection']; + let accepts = ['application/vnd.arduino.credentialsv1+json; type=collection', 'application/vnd.goa.error+json']; let returnType = [ArduinoCredentialsv1]; return this.apiClient.callApi( '/v1/network_credentials/{type}', 'GET', @@ -114,7 +115,7 @@ export default class NetworkCredentialsV1Api { let authNames = []; let contentTypes = []; - let accepts = []; + let accepts = ['application/json', 'application/vnd.goa.error+json']; let returnType = null; return this.apiClient.callApi( '/v1/network_credentials/{type}/connections', 'GET', diff --git a/src/api/PropertiesV2Api.js b/src/api/PropertiesV2Api.js index 7cd85f0..2119dca 100644 --- a/src/api/PropertiesV2Api.js +++ b/src/api/PropertiesV2Api.js @@ -22,7 +22,7 @@ import PropertyValue from '../model/PropertyValue'; /** * PropertiesV2 service. * @module api/PropertiesV2Api -* @version 2.0.5 +* @version 2.0.6 */ export default class PropertiesV2Api { diff --git a/src/api/PropertyTypesV1Api.js b/src/api/PropertyTypesV1Api.js new file mode 100644 index 0000000..ffdd985 --- /dev/null +++ b/src/api/PropertyTypesV1Api.js @@ -0,0 +1,80 @@ +/** + * Arduino IoT Cloud API + * Provides a set of endpoints to manage Arduino IoT Cloud **Devices**, **Things**, **Properties** and **Timeseries**. This API can be called just with any HTTP Client, or using one of these clients: * [Javascript NPM package](https://www.npmjs.com/package/@arduino/arduino-iot-client) * [Python PYPI Package](https://pypi.org/project/arduino-iot-client/) * [Golang Module](https://github.com/arduino/iot-client-go) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + + +import ApiClient from "../ApiClient"; +import ArduinoPropertytype from '../model/ArduinoPropertytype'; +import Error from '../model/Error'; + +/** +* PropertyTypesV1 service. +* @module api/PropertyTypesV1Api +* @version 2.0.6 +*/ +export default class PropertyTypesV1Api { + + /** + * Constructs a new PropertyTypesV1Api. + * @alias module:api/PropertyTypesV1Api + * @class + * @param {module:ApiClient} [apiClient] Optional API client implementation to use, + * default to {@link module:ApiClient#instance} if unspecified. + */ + constructor(apiClient) { + this.apiClient = apiClient || ApiClient.instance; + } + + + + /** + * listTypes property_types_v1 + * Returns the list of available property types + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response + */ + propertyTypesV1ListTypesWithHttpInfo() { + let postBody = null; + + let pathParams = { + }; + let queryParams = { + }; + let headerParams = { + }; + let formParams = { + }; + + let authNames = ['oauth2']; + let contentTypes = []; + let accepts = ['application/vnd.arduino.propertytype+json; type=collection', 'application/vnd.goa.error+json']; + let returnType = [ArduinoPropertytype]; + return this.apiClient.callApi( + '/v1/property_types', 'GET', + pathParams, queryParams, headerParams, formParams, postBody, + authNames, contentTypes, accepts, returnType, null + ); + } + + /** + * listTypes property_types_v1 + * Returns the list of available property types + * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.} + */ + propertyTypesV1ListTypes() { + return this.propertyTypesV1ListTypesWithHttpInfo() + .then(function(response_and_data) { + return response_and_data.data; + }); + } + + +} diff --git a/src/api/SeriesV2Api.js b/src/api/SeriesV2Api.js index a23fa19..8d59b72 100644 --- a/src/api/SeriesV2Api.js +++ b/src/api/SeriesV2Api.js @@ -27,7 +27,7 @@ import HistoricDataRequest from '../model/HistoricDataRequest'; /** * SeriesV2 service. * @module api/SeriesV2Api -* @version 2.0.5 +* @version 2.0.6 */ export default class SeriesV2Api { diff --git a/src/api/TemplatesApi.js b/src/api/TemplatesApi.js index 5750dbb..d52a30a 100644 --- a/src/api/TemplatesApi.js +++ b/src/api/TemplatesApi.js @@ -20,7 +20,7 @@ import Template from '../model/Template'; /** * Templates service. * @module api/TemplatesApi -* @version 2.0.5 +* @version 2.0.6 */ export default class TemplatesApi { diff --git a/src/api/ThingsV2Api.js b/src/api/ThingsV2Api.js index 12ff621..2a0812a 100644 --- a/src/api/ThingsV2Api.js +++ b/src/api/ThingsV2Api.js @@ -25,7 +25,7 @@ import UpdateSketch from '../model/UpdateSketch'; /** * ThingsV2 service. * @module api/ThingsV2Api -* @version 2.0.5 +* @version 2.0.6 */ export default class ThingsV2Api { diff --git a/src/api/ThingsV2TagsApi.js b/src/api/ThingsV2TagsApi.js index 0aefd38..5ae9312 100644 --- a/src/api/ThingsV2TagsApi.js +++ b/src/api/ThingsV2TagsApi.js @@ -20,7 +20,7 @@ import Tag from '../model/Tag'; /** * ThingsV2Tags service. * @module api/ThingsV2TagsApi -* @version 2.0.5 +* @version 2.0.6 */ export default class ThingsV2TagsApi { diff --git a/src/index.js b/src/index.js index 174acc7..9f187ba 100644 --- a/src/index.js +++ b/src/index.js @@ -40,6 +40,7 @@ import ArduinoLoradevicev1 from './model/ArduinoLoradevicev1'; import ArduinoLorafreqplansv1 from './model/ArduinoLorafreqplansv1'; import ArduinoLorafreqplanv1 from './model/ArduinoLorafreqplanv1'; import ArduinoProperty from './model/ArduinoProperty'; +import ArduinoPropertytype from './model/ArduinoPropertytype'; import ArduinoSeriesBatch from './model/ArduinoSeriesBatch'; import ArduinoSeriesBatchSampled from './model/ArduinoSeriesBatchSampled'; import ArduinoSeriesRawBatch from './model/ArduinoSeriesRawBatch'; @@ -109,6 +110,7 @@ import LoraDevicesV1Api from './api/LoraDevicesV1Api'; import LoraFreqPlanV1Api from './api/LoraFreqPlanV1Api'; import NetworkCredentialsV1Api from './api/NetworkCredentialsV1Api'; import PropertiesV2Api from './api/PropertiesV2Api'; +import PropertyTypesV1Api from './api/PropertyTypesV1Api'; import SeriesV2Api from './api/SeriesV2Api'; import TemplatesApi from './api/TemplatesApi'; import ThingsV2Api from './api/ThingsV2Api'; @@ -144,7 +146,7 @@ import ThingsV2TagsApi from './api/ThingsV2TagsApi'; * *

* @module index -* @version 2.0.5 +* @version 2.0.6 */ export { /** @@ -315,6 +317,12 @@ export { */ ArduinoProperty, + /** + * The ArduinoPropertytype model constructor. + * @property {module:model/ArduinoPropertytype} + */ + ArduinoPropertytype, + /** * The ArduinoSeriesBatch model constructor. * @property {module:model/ArduinoSeriesBatch} @@ -729,6 +737,12 @@ export { */ PropertiesV2Api, + /** + * The PropertyTypesV1Api service constructor. + * @property {module:api/PropertyTypesV1Api} + */ + PropertyTypesV1Api, + /** * The SeriesV2Api service constructor. * @property {module:api/SeriesV2Api} diff --git a/src/model/ArduinoCompressedv2.js b/src/model/ArduinoCompressedv2.js index a7c4460..e1d1341 100644 --- a/src/model/ArduinoCompressedv2.js +++ b/src/model/ArduinoCompressedv2.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoCompressedv2 model module. * @module model/ArduinoCompressedv2 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoCompressedv2 { /** diff --git a/src/model/ArduinoCredentialsv1.js b/src/model/ArduinoCredentialsv1.js index 100030a..636949d 100644 --- a/src/model/ArduinoCredentialsv1.js +++ b/src/model/ArduinoCredentialsv1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoCredentialsv1 model module. * @module model/ArduinoCredentialsv1 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoCredentialsv1 { /** diff --git a/src/model/ArduinoDashboardowner.js b/src/model/ArduinoDashboardowner.js index 299d218..9b85901 100644 --- a/src/model/ArduinoDashboardowner.js +++ b/src/model/ArduinoDashboardowner.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDashboardowner model module. * @module model/ArduinoDashboardowner - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDashboardowner { /** diff --git a/src/model/ArduinoDashboardshare.js b/src/model/ArduinoDashboardshare.js index a31c033..8c7480c 100644 --- a/src/model/ArduinoDashboardshare.js +++ b/src/model/ArduinoDashboardshare.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDashboardshare model module. * @module model/ArduinoDashboardshare - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDashboardshare { /** diff --git a/src/model/ArduinoDashboardv2.js b/src/model/ArduinoDashboardv2.js index 987152e..6e92ef3 100644 --- a/src/model/ArduinoDashboardv2.js +++ b/src/model/ArduinoDashboardv2.js @@ -19,7 +19,7 @@ import ArduinoWidgetv2 from './ArduinoWidgetv2'; /** * The ArduinoDashboardv2 model module. * @module model/ArduinoDashboardv2 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDashboardv2 { /** diff --git a/src/model/ArduinoDashboardv2template.js b/src/model/ArduinoDashboardv2template.js index 115f6ca..8bf41de 100644 --- a/src/model/ArduinoDashboardv2template.js +++ b/src/model/ArduinoDashboardv2template.js @@ -17,7 +17,7 @@ import ArduinoWidgetv2template from './ArduinoWidgetv2template'; /** * The ArduinoDashboardv2template model module. * @module model/ArduinoDashboardv2template - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDashboardv2template { /** diff --git a/src/model/ArduinoDevicev2.js b/src/model/ArduinoDevicev2.js index 9e8d5ae..b9104d4 100644 --- a/src/model/ArduinoDevicev2.js +++ b/src/model/ArduinoDevicev2.js @@ -19,7 +19,7 @@ import ArduinoThing from './ArduinoThing'; /** * The ArduinoDevicev2 model module. * @module model/ArduinoDevicev2 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2 { /** diff --git a/src/model/ArduinoDevicev2Cert.js b/src/model/ArduinoDevicev2Cert.js index a42c761..e99de33 100644 --- a/src/model/ArduinoDevicev2Cert.js +++ b/src/model/ArduinoDevicev2Cert.js @@ -17,7 +17,7 @@ import ArduinoCompressedv2 from './ArduinoCompressedv2'; /** * The ArduinoDevicev2Cert model module. * @module model/ArduinoDevicev2Cert - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2Cert { /** diff --git a/src/model/ArduinoDevicev2EventProperties.js b/src/model/ArduinoDevicev2EventProperties.js index 9b14d0d..073dbd1 100644 --- a/src/model/ArduinoDevicev2EventProperties.js +++ b/src/model/ArduinoDevicev2EventProperties.js @@ -17,7 +17,7 @@ import ArduinoDevicev2SimpleProperties from './ArduinoDevicev2SimpleProperties'; /** * The ArduinoDevicev2EventProperties model module. * @module model/ArduinoDevicev2EventProperties - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2EventProperties { /** diff --git a/src/model/ArduinoDevicev2Otaupload.js b/src/model/ArduinoDevicev2Otaupload.js index 7f6b78f..b492d35 100644 --- a/src/model/ArduinoDevicev2Otaupload.js +++ b/src/model/ArduinoDevicev2Otaupload.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2Otaupload model module. * @module model/ArduinoDevicev2Otaupload - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2Otaupload { /** diff --git a/src/model/ArduinoDevicev2Pass.js b/src/model/ArduinoDevicev2Pass.js index 62d2e12..335fc3b 100644 --- a/src/model/ArduinoDevicev2Pass.js +++ b/src/model/ArduinoDevicev2Pass.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2Pass model module. * @module model/ArduinoDevicev2Pass - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2Pass { /** diff --git a/src/model/ArduinoDevicev2SimpleProperties.js b/src/model/ArduinoDevicev2SimpleProperties.js index 230234d..2a2b746 100644 --- a/src/model/ArduinoDevicev2SimpleProperties.js +++ b/src/model/ArduinoDevicev2SimpleProperties.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2SimpleProperties model module. * @module model/ArduinoDevicev2SimpleProperties - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2SimpleProperties { /** diff --git a/src/model/ArduinoDevicev2StatusEvent.js b/src/model/ArduinoDevicev2StatusEvent.js index 7693aba..34c12e9 100644 --- a/src/model/ArduinoDevicev2StatusEvent.js +++ b/src/model/ArduinoDevicev2StatusEvent.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2StatusEvent model module. * @module model/ArduinoDevicev2StatusEvent - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2StatusEvent { /** diff --git a/src/model/ArduinoDevicev2StatusEvents.js b/src/model/ArduinoDevicev2StatusEvents.js index 2d1b5e6..b13bace 100644 --- a/src/model/ArduinoDevicev2StatusEvents.js +++ b/src/model/ArduinoDevicev2StatusEvents.js @@ -17,7 +17,7 @@ import ArduinoDevicev2StatusEvent from './ArduinoDevicev2StatusEvent'; /** * The ArduinoDevicev2StatusEvents model module. * @module model/ArduinoDevicev2StatusEvents - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2StatusEvents { /** diff --git a/src/model/ArduinoDevicev2Webhook.js b/src/model/ArduinoDevicev2Webhook.js index f319b11..00a2fb2 100644 --- a/src/model/ArduinoDevicev2Webhook.js +++ b/src/model/ArduinoDevicev2Webhook.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2Webhook model module. * @module model/ArduinoDevicev2Webhook - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2Webhook { /** diff --git a/src/model/ArduinoDevicev2properties.js b/src/model/ArduinoDevicev2properties.js index 5512c68..8046377 100644 --- a/src/model/ArduinoDevicev2properties.js +++ b/src/model/ArduinoDevicev2properties.js @@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty'; /** * The ArduinoDevicev2properties model module. * @module model/ArduinoDevicev2properties - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2properties { /** diff --git a/src/model/ArduinoDevicev2propertyvalue.js b/src/model/ArduinoDevicev2propertyvalue.js index 5d9b62a..199d9a0 100644 --- a/src/model/ArduinoDevicev2propertyvalue.js +++ b/src/model/ArduinoDevicev2propertyvalue.js @@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValue from './ArduinoDevicev2propertyvalueVal /** * The ArduinoDevicev2propertyvalue model module. * @module model/ArduinoDevicev2propertyvalue - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2propertyvalue { /** diff --git a/src/model/ArduinoDevicev2propertyvalueValue.js b/src/model/ArduinoDevicev2propertyvalueValue.js index b525ac5..a380640 100644 --- a/src/model/ArduinoDevicev2propertyvalueValue.js +++ b/src/model/ArduinoDevicev2propertyvalueValue.js @@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValueStatistics from './ArduinoDevicev2proper /** * The ArduinoDevicev2propertyvalueValue model module. * @module model/ArduinoDevicev2propertyvalueValue - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2propertyvalueValue { /** diff --git a/src/model/ArduinoDevicev2propertyvalueValueStatistics.js b/src/model/ArduinoDevicev2propertyvalueValueStatistics.js index ee094b8..5930269 100644 --- a/src/model/ArduinoDevicev2propertyvalueValueStatistics.js +++ b/src/model/ArduinoDevicev2propertyvalueValueStatistics.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2propertyvalueValueStatistics model module. * @module model/ArduinoDevicev2propertyvalueValueStatistics - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2propertyvalueValueStatistics { /** diff --git a/src/model/ArduinoDevicev2propertyvalues.js b/src/model/ArduinoDevicev2propertyvalues.js index 0e1fd3a..d331a94 100644 --- a/src/model/ArduinoDevicev2propertyvalues.js +++ b/src/model/ArduinoDevicev2propertyvalues.js @@ -18,7 +18,7 @@ import ArduinoDevicev2propertyvaluesLastEvaluatedKey from './ArduinoDevicev2prop /** * The ArduinoDevicev2propertyvalues model module. * @module model/ArduinoDevicev2propertyvalues - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2propertyvalues { /** diff --git a/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js b/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js index 55b9048..16f951d 100644 --- a/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js +++ b/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2propertyvaluesLastEvaluatedKey model module. * @module model/ArduinoDevicev2propertyvaluesLastEvaluatedKey - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2propertyvaluesLastEvaluatedKey { /** diff --git a/src/model/ArduinoDevicev2templatedevice.js b/src/model/ArduinoDevicev2templatedevice.js index 46b2426..db27eea 100644 --- a/src/model/ArduinoDevicev2templatedevice.js +++ b/src/model/ArduinoDevicev2templatedevice.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoDevicev2templatedevice model module. * @module model/ArduinoDevicev2templatedevice - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoDevicev2templatedevice { /** diff --git a/src/model/ArduinoLinkedvariable.js b/src/model/ArduinoLinkedvariable.js index 9420426..8ec15d9 100644 --- a/src/model/ArduinoLinkedvariable.js +++ b/src/model/ArduinoLinkedvariable.js @@ -17,7 +17,7 @@ import ArduinoTimezone from './ArduinoTimezone'; /** * The ArduinoLinkedvariable model module. * @module model/ArduinoLinkedvariable - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoLinkedvariable { /** diff --git a/src/model/ArduinoLoradevicev1.js b/src/model/ArduinoLoradevicev1.js index 5f07d46..9fa7428 100644 --- a/src/model/ArduinoLoradevicev1.js +++ b/src/model/ArduinoLoradevicev1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoLoradevicev1 model module. * @module model/ArduinoLoradevicev1 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoLoradevicev1 { /** diff --git a/src/model/ArduinoLorafreqplansv1.js b/src/model/ArduinoLorafreqplansv1.js index 6f66b61..b1435c4 100644 --- a/src/model/ArduinoLorafreqplansv1.js +++ b/src/model/ArduinoLorafreqplansv1.js @@ -17,7 +17,7 @@ import ArduinoLorafreqplanv1 from './ArduinoLorafreqplanv1'; /** * The ArduinoLorafreqplansv1 model module. * @module model/ArduinoLorafreqplansv1 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoLorafreqplansv1 { /** diff --git a/src/model/ArduinoLorafreqplanv1.js b/src/model/ArduinoLorafreqplanv1.js index 3c2ac24..8e1e0ea 100644 --- a/src/model/ArduinoLorafreqplanv1.js +++ b/src/model/ArduinoLorafreqplanv1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoLorafreqplanv1 model module. * @module model/ArduinoLorafreqplanv1 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoLorafreqplanv1 { /** diff --git a/src/model/ArduinoProperty.js b/src/model/ArduinoProperty.js index db56a51..1272afb 100644 --- a/src/model/ArduinoProperty.js +++ b/src/model/ArduinoProperty.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoProperty model module. * @module model/ArduinoProperty - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoProperty { /** diff --git a/src/model/ArduinoPropertytype.js b/src/model/ArduinoPropertytype.js new file mode 100644 index 0000000..6ff7230 --- /dev/null +++ b/src/model/ArduinoPropertytype.js @@ -0,0 +1,214 @@ +/** + * Arduino IoT Cloud API + * Provides a set of endpoints to manage Arduino IoT Cloud **Devices**, **Things**, **Properties** and **Timeseries**. This API can be called just with any HTTP Client, or using one of these clients: * [Javascript NPM package](https://www.npmjs.com/package/@arduino/arduino-iot-client) * [Python PYPI Package](https://pypi.org/project/arduino-iot-client/) * [Golang Module](https://github.com/arduino/iot-client-go) + * + * The version of the OpenAPI document: 2.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The ArduinoPropertytype model module. + * @module model/ArduinoPropertytype + * @version 2.0.6 + */ +class ArduinoPropertytype { + /** + * Constructs a new ArduinoPropertytype. + * ArduinoPropertytype media type (default view) + * @alias module:model/ArduinoPropertytype + * @param declaration {String} The c++ type we are using for this variable type + * @param deprecated {Boolean} Tell if this type is deprecated + * @param name {String} The friendly name of the property type + * @param rw {Boolean} Tell if the type allow a R/W permission + * @param type {String} The api reference of this type + */ + constructor(declaration, deprecated, name, rw, type) { + + ArduinoPropertytype.initialize(this, declaration, deprecated, name, rw, type); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj, declaration, deprecated, name, rw, type) { + obj['declaration'] = declaration; + obj['deprecated'] = deprecated; + obj['name'] = name; + obj['rw'] = rw; + obj['type'] = type; + } + + /** + * Constructs a ArduinoPropertytype from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/ArduinoPropertytype} obj Optional instance to populate. + * @return {module:model/ArduinoPropertytype} The populated ArduinoPropertytype instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new ArduinoPropertytype(); + + if (data.hasOwnProperty('assistants')) { + obj['assistants'] = ApiClient.convertToType(data['assistants'], ['String']); + } + if (data.hasOwnProperty('declaration')) { + obj['declaration'] = ApiClient.convertToType(data['declaration'], 'String'); + } + if (data.hasOwnProperty('deprecated')) { + obj['deprecated'] = ApiClient.convertToType(data['deprecated'], 'Boolean'); + } + if (data.hasOwnProperty('example')) { + obj['example'] = ApiClient.convertToType(data['example'], 'String'); + } + if (data.hasOwnProperty('name')) { + obj['name'] = ApiClient.convertToType(data['name'], 'String'); + } + if (data.hasOwnProperty('rw')) { + obj['rw'] = ApiClient.convertToType(data['rw'], 'Boolean'); + } + if (data.hasOwnProperty('supersededBy')) { + obj['supersededBy'] = ApiClient.convertToType(data['supersededBy'], 'String'); + } + if (data.hasOwnProperty('tags')) { + obj['tags'] = ApiClient.convertToType(data['tags'], ['String']); + } + if (data.hasOwnProperty('type')) { + obj['type'] = ApiClient.convertToType(data['type'], 'String'); + } + if (data.hasOwnProperty('units')) { + obj['units'] = ApiClient.convertToType(data['units'], ['String']); + } + } + return obj; + } + + /** + * Validates the JSON data with respect to ArduinoPropertytype. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @return {boolean} to indicate whether the JSON data is valid with respect to ArduinoPropertytype. + */ + static validateJSON(data) { + // check to make sure all required properties are present in the JSON string + for (const property of ArduinoPropertytype.RequiredProperties) { + if (!data[property]) { + throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data)); + } + } + // ensure the json data is an array + if (!Array.isArray(data['assistants'])) { + throw new Error("Expected the field `assistants` to be an array in the JSON data but got " + data['assistants']); + } + // ensure the json data is a string + if (data['declaration'] && !(typeof data['declaration'] === 'string' || data['declaration'] instanceof String)) { + throw new Error("Expected the field `declaration` to be a primitive type in the JSON string but got " + data['declaration']); + } + // ensure the json data is a string + if (data['example'] && !(typeof data['example'] === 'string' || data['example'] instanceof String)) { + throw new Error("Expected the field `example` to be a primitive type in the JSON string but got " + data['example']); + } + // ensure the json data is a string + if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) { + throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']); + } + // ensure the json data is a string + if (data['supersededBy'] && !(typeof data['supersededBy'] === 'string' || data['supersededBy'] instanceof String)) { + throw new Error("Expected the field `supersededBy` to be a primitive type in the JSON string but got " + data['supersededBy']); + } + // ensure the json data is an array + if (!Array.isArray(data['tags'])) { + throw new Error("Expected the field `tags` to be an array in the JSON data but got " + data['tags']); + } + // ensure the json data is a string + if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) { + throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']); + } + // ensure the json data is an array + if (!Array.isArray(data['units'])) { + throw new Error("Expected the field `units` to be an array in the JSON data but got " + data['units']); + } + + return true; + } + + +} + +ArduinoPropertytype.RequiredProperties = ["declaration", "deprecated", "name", "rw", "type"]; + +/** + * The voice assistants available for this type + * @member {Array.} assistants + */ +ArduinoPropertytype.prototype['assistants'] = undefined; + +/** + * The c++ type we are using for this variable type + * @member {String} declaration + */ +ArduinoPropertytype.prototype['declaration'] = undefined; + +/** + * Tell if this type is deprecated + * @member {Boolean} deprecated + */ +ArduinoPropertytype.prototype['deprecated'] = undefined; + +/** + * Example of use + * @member {String} example + */ +ArduinoPropertytype.prototype['example'] = undefined; + +/** + * The friendly name of the property type + * @member {String} name + */ +ArduinoPropertytype.prototype['name'] = undefined; + +/** + * Tell if the type allow a R/W permission + * @member {Boolean} rw + */ +ArduinoPropertytype.prototype['rw'] = undefined; + +/** + * The type of property to use if it's deprecated + * @member {String} supersededBy + */ +ArduinoPropertytype.prototype['supersededBy'] = undefined; + +/** + * The tags related to the type + * @member {Array.} tags + */ +ArduinoPropertytype.prototype['tags'] = undefined; + +/** + * The api reference of this type + * @member {String} type + */ +ArduinoPropertytype.prototype['type'] = undefined; + +/** + * The measure units available for this type + * @member {Array.} units + */ +ArduinoPropertytype.prototype['units'] = undefined; + + + + + + +export default ArduinoPropertytype; + diff --git a/src/model/ArduinoSeriesBatch.js b/src/model/ArduinoSeriesBatch.js index e02bd08..231ea69 100644 --- a/src/model/ArduinoSeriesBatch.js +++ b/src/model/ArduinoSeriesBatch.js @@ -17,7 +17,7 @@ import ArduinoSeriesResponse from './ArduinoSeriesResponse'; /** * The ArduinoSeriesBatch model module. * @module model/ArduinoSeriesBatch - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesBatch { /** diff --git a/src/model/ArduinoSeriesBatchSampled.js b/src/model/ArduinoSeriesBatchSampled.js index b0a1dee..fc36d42 100644 --- a/src/model/ArduinoSeriesBatchSampled.js +++ b/src/model/ArduinoSeriesBatchSampled.js @@ -17,7 +17,7 @@ import ArduinoSeriesSampledResponse from './ArduinoSeriesSampledResponse'; /** * The ArduinoSeriesBatchSampled model module. * @module model/ArduinoSeriesBatchSampled - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesBatchSampled { /** diff --git a/src/model/ArduinoSeriesRawBatch.js b/src/model/ArduinoSeriesRawBatch.js index df58376..7e14867 100644 --- a/src/model/ArduinoSeriesRawBatch.js +++ b/src/model/ArduinoSeriesRawBatch.js @@ -17,7 +17,7 @@ import ArduinoSeriesRawResponse from './ArduinoSeriesRawResponse'; /** * The ArduinoSeriesRawBatch model module. * @module model/ArduinoSeriesRawBatch - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesRawBatch { /** diff --git a/src/model/ArduinoSeriesRawBatchLastvalue.js b/src/model/ArduinoSeriesRawBatchLastvalue.js index afd17a1..93224ef 100644 --- a/src/model/ArduinoSeriesRawBatchLastvalue.js +++ b/src/model/ArduinoSeriesRawBatchLastvalue.js @@ -17,7 +17,7 @@ import ArduinoSeriesRawLastValueResponse from './ArduinoSeriesRawLastValueRespon /** * The ArduinoSeriesRawBatchLastvalue model module. * @module model/ArduinoSeriesRawBatchLastvalue - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesRawBatchLastvalue { /** diff --git a/src/model/ArduinoSeriesRawLastValueResponse.js b/src/model/ArduinoSeriesRawLastValueResponse.js index 2381b27..794e639 100644 --- a/src/model/ArduinoSeriesRawLastValueResponse.js +++ b/src/model/ArduinoSeriesRawLastValueResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoSeriesRawLastValueResponse model module. * @module model/ArduinoSeriesRawLastValueResponse - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesRawLastValueResponse { /** diff --git a/src/model/ArduinoSeriesRawResponse.js b/src/model/ArduinoSeriesRawResponse.js index 567822e..841aaa9 100644 --- a/src/model/ArduinoSeriesRawResponse.js +++ b/src/model/ArduinoSeriesRawResponse.js @@ -17,7 +17,7 @@ import BatchQueryRawResponseSeriesMediaV1 from './BatchQueryRawResponseSeriesMed /** * The ArduinoSeriesRawResponse model module. * @module model/ArduinoSeriesRawResponse - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesRawResponse { /** @@ -78,6 +78,15 @@ class ArduinoSeriesRawResponse { if (data.hasOwnProperty('message')) { obj['message'] = ApiClient.convertToType(data['message'], 'String'); } + if (data.hasOwnProperty('property_id')) { + obj['property_id'] = ApiClient.convertToType(data['property_id'], 'String'); + } + if (data.hasOwnProperty('property_name')) { + obj['property_name'] = ApiClient.convertToType(data['property_name'], 'String'); + } + if (data.hasOwnProperty('property_type')) { + obj['property_type'] = ApiClient.convertToType(data['property_type'], 'String'); + } if (data.hasOwnProperty('query')) { obj['query'] = ApiClient.convertToType(data['query'], 'String'); } @@ -96,6 +105,9 @@ class ArduinoSeriesRawResponse { if (data.hasOwnProperty('status')) { obj['status'] = ApiClient.convertToType(data['status'], 'String'); } + if (data.hasOwnProperty('thing_id')) { + obj['thing_id'] = ApiClient.convertToType(data['thing_id'], 'String'); + } if (data.hasOwnProperty('times')) { obj['times'] = ApiClient.convertToType(data['times'], ['Date']); } @@ -126,6 +138,18 @@ class ArduinoSeriesRawResponse { throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']); } // ensure the json data is a string + if (data['property_id'] && !(typeof data['property_id'] === 'string' || data['property_id'] instanceof String)) { + throw new Error("Expected the field `property_id` to be a primitive type in the JSON string but got " + data['property_id']); + } + // ensure the json data is a string + if (data['property_name'] && !(typeof data['property_name'] === 'string' || data['property_name'] instanceof String)) { + throw new Error("Expected the field `property_name` to be a primitive type in the JSON string but got " + data['property_name']); + } + // ensure the json data is a string + if (data['property_type'] && !(typeof data['property_type'] === 'string' || data['property_type'] instanceof String)) { + throw new Error("Expected the field `property_type` to be a primitive type in the JSON string but got " + data['property_type']); + } + // ensure the json data is a string if (data['query'] && !(typeof data['query'] === 'string' || data['query'] instanceof String)) { throw new Error("Expected the field `query` to be a primitive type in the JSON string but got " + data['query']); } @@ -141,6 +165,10 @@ class ArduinoSeriesRawResponse { if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) { throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']); } + // ensure the json data is a string + if (data['thing_id'] && !(typeof data['thing_id'] === 'string' || data['thing_id'] instanceof String)) { + throw new Error("Expected the field `thing_id` to be a primitive type in the JSON string but got " + data['thing_id']); + } // ensure the json data is an array if (!Array.isArray(data['times'])) { throw new Error("Expected the field `times` to be an array in the JSON data but got " + data['times']); @@ -177,6 +205,24 @@ ArduinoSeriesRawResponse.prototype['from_date'] = undefined; */ ArduinoSeriesRawResponse.prototype['message'] = ''; +/** + * Property id + * @member {String} property_id + */ +ArduinoSeriesRawResponse.prototype['property_id'] = undefined; + +/** + * Property name + * @member {String} property_name + */ +ArduinoSeriesRawResponse.prototype['property_name'] = undefined; + +/** + * Property type + * @member {String} property_type + */ +ArduinoSeriesRawResponse.prototype['property_type'] = undefined; + /** * Query of for the data * @member {String} query @@ -212,6 +258,12 @@ ArduinoSeriesRawResponse.prototype['sort'] = undefined; */ ArduinoSeriesRawResponse.prototype['status'] = undefined; +/** + * Thing id + * @member {String} thing_id + */ +ArduinoSeriesRawResponse.prototype['thing_id'] = undefined; + /** * Timestamp in RFC3339 * @member {Array.} times diff --git a/src/model/ArduinoSeriesResponse.js b/src/model/ArduinoSeriesResponse.js index 8783041..31880fc 100644 --- a/src/model/ArduinoSeriesResponse.js +++ b/src/model/ArduinoSeriesResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoSeriesResponse model module. * @module model/ArduinoSeriesResponse - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesResponse { /** @@ -81,6 +81,15 @@ class ArduinoSeriesResponse { if (data.hasOwnProperty('message')) { obj['message'] = ApiClient.convertToType(data['message'], 'String'); } + if (data.hasOwnProperty('property_id')) { + obj['property_id'] = ApiClient.convertToType(data['property_id'], 'String'); + } + if (data.hasOwnProperty('property_name')) { + obj['property_name'] = ApiClient.convertToType(data['property_name'], 'String'); + } + if (data.hasOwnProperty('property_type')) { + obj['property_type'] = ApiClient.convertToType(data['property_type'], 'String'); + } if (data.hasOwnProperty('query')) { obj['query'] = ApiClient.convertToType(data['query'], 'String'); } @@ -93,6 +102,9 @@ class ArduinoSeriesResponse { if (data.hasOwnProperty('status')) { obj['status'] = ApiClient.convertToType(data['status'], 'String'); } + if (data.hasOwnProperty('thing_id')) { + obj['thing_id'] = ApiClient.convertToType(data['thing_id'], 'String'); + } if (data.hasOwnProperty('times')) { obj['times'] = ApiClient.convertToType(data['times'], ['Date']); } @@ -127,6 +139,18 @@ class ArduinoSeriesResponse { throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']); } // ensure the json data is a string + if (data['property_id'] && !(typeof data['property_id'] === 'string' || data['property_id'] instanceof String)) { + throw new Error("Expected the field `property_id` to be a primitive type in the JSON string but got " + data['property_id']); + } + // ensure the json data is a string + if (data['property_name'] && !(typeof data['property_name'] === 'string' || data['property_name'] instanceof String)) { + throw new Error("Expected the field `property_name` to be a primitive type in the JSON string but got " + data['property_name']); + } + // ensure the json data is a string + if (data['property_type'] && !(typeof data['property_type'] === 'string' || data['property_type'] instanceof String)) { + throw new Error("Expected the field `property_type` to be a primitive type in the JSON string but got " + data['property_type']); + } + // ensure the json data is a string if (data['query'] && !(typeof data['query'] === 'string' || data['query'] instanceof String)) { throw new Error("Expected the field `query` to be a primitive type in the JSON string but got " + data['query']); } @@ -134,6 +158,10 @@ class ArduinoSeriesResponse { if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) { throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']); } + // ensure the json data is a string + if (data['thing_id'] && !(typeof data['thing_id'] === 'string' || data['thing_id'] instanceof String)) { + throw new Error("Expected the field `thing_id` to be a primitive type in the JSON string but got " + data['thing_id']); + } // ensure the json data is an array if (!Array.isArray(data['times'])) { throw new Error("Expected the field `times` to be an array in the JSON data but got " + data['times']); @@ -182,6 +210,24 @@ ArduinoSeriesResponse.prototype['interval'] = undefined; */ ArduinoSeriesResponse.prototype['message'] = ''; +/** + * Property id + * @member {String} property_id + */ +ArduinoSeriesResponse.prototype['property_id'] = undefined; + +/** + * Property name + * @member {String} property_name + */ +ArduinoSeriesResponse.prototype['property_name'] = undefined; + +/** + * Property type + * @member {String} property_type + */ +ArduinoSeriesResponse.prototype['property_type'] = undefined; + /** * Query of for the data * @member {String} query @@ -206,6 +252,12 @@ ArduinoSeriesResponse.prototype['series_limit'] = undefined; */ ArduinoSeriesResponse.prototype['status'] = undefined; +/** + * Thing id + * @member {String} thing_id + */ +ArduinoSeriesResponse.prototype['thing_id'] = undefined; + /** * Timestamp in RFC3339 * @member {Array.} times diff --git a/src/model/ArduinoSeriesSampledResponse.js b/src/model/ArduinoSeriesSampledResponse.js index f7c0f59..14947f0 100644 --- a/src/model/ArduinoSeriesSampledResponse.js +++ b/src/model/ArduinoSeriesSampledResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoSeriesSampledResponse model module. * @module model/ArduinoSeriesSampledResponse - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoSeriesSampledResponse { /** @@ -78,6 +78,15 @@ class ArduinoSeriesSampledResponse { if (data.hasOwnProperty('message')) { obj['message'] = ApiClient.convertToType(data['message'], 'String'); } + if (data.hasOwnProperty('property_id')) { + obj['property_id'] = ApiClient.convertToType(data['property_id'], 'String'); + } + if (data.hasOwnProperty('property_name')) { + obj['property_name'] = ApiClient.convertToType(data['property_name'], 'String'); + } + if (data.hasOwnProperty('property_type')) { + obj['property_type'] = ApiClient.convertToType(data['property_type'], 'String'); + } if (data.hasOwnProperty('query')) { obj['query'] = ApiClient.convertToType(data['query'], 'String'); } @@ -90,6 +99,9 @@ class ArduinoSeriesSampledResponse { if (data.hasOwnProperty('status')) { obj['status'] = ApiClient.convertToType(data['status'], 'String'); } + if (data.hasOwnProperty('thing_id')) { + obj['thing_id'] = ApiClient.convertToType(data['thing_id'], 'String'); + } if (data.hasOwnProperty('times')) { obj['times'] = ApiClient.convertToType(data['times'], ['Date']); } @@ -120,6 +132,18 @@ class ArduinoSeriesSampledResponse { throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']); } // ensure the json data is a string + if (data['property_id'] && !(typeof data['property_id'] === 'string' || data['property_id'] instanceof String)) { + throw new Error("Expected the field `property_id` to be a primitive type in the JSON string but got " + data['property_id']); + } + // ensure the json data is a string + if (data['property_name'] && !(typeof data['property_name'] === 'string' || data['property_name'] instanceof String)) { + throw new Error("Expected the field `property_name` to be a primitive type in the JSON string but got " + data['property_name']); + } + // ensure the json data is a string + if (data['property_type'] && !(typeof data['property_type'] === 'string' || data['property_type'] instanceof String)) { + throw new Error("Expected the field `property_type` to be a primitive type in the JSON string but got " + data['property_type']); + } + // ensure the json data is a string if (data['query'] && !(typeof data['query'] === 'string' || data['query'] instanceof String)) { throw new Error("Expected the field `query` to be a primitive type in the JSON string but got " + data['query']); } @@ -127,6 +151,10 @@ class ArduinoSeriesSampledResponse { if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) { throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']); } + // ensure the json data is a string + if (data['thing_id'] && !(typeof data['thing_id'] === 'string' || data['thing_id'] instanceof String)) { + throw new Error("Expected the field `thing_id` to be a primitive type in the JSON string but got " + data['thing_id']); + } // ensure the json data is an array if (!Array.isArray(data['times'])) { throw new Error("Expected the field `times` to be an array in the JSON data but got " + data['times']); @@ -169,6 +197,24 @@ ArduinoSeriesSampledResponse.prototype['interval'] = undefined; */ ArduinoSeriesSampledResponse.prototype['message'] = ''; +/** + * Property id + * @member {String} property_id + */ +ArduinoSeriesSampledResponse.prototype['property_id'] = undefined; + +/** + * Property name + * @member {String} property_name + */ +ArduinoSeriesSampledResponse.prototype['property_name'] = undefined; + +/** + * Property type + * @member {String} property_type + */ +ArduinoSeriesSampledResponse.prototype['property_type'] = undefined; + /** * Query of for the data * @member {String} query @@ -193,6 +239,12 @@ ArduinoSeriesSampledResponse.prototype['series_limit'] = undefined; */ ArduinoSeriesSampledResponse.prototype['status'] = undefined; +/** + * Thing id + * @member {String} thing_id + */ +ArduinoSeriesSampledResponse.prototype['thing_id'] = undefined; + /** * Timestamp in RFC3339 * @member {Array.} times diff --git a/src/model/ArduinoTags.js b/src/model/ArduinoTags.js index 184e395..2da8267 100644 --- a/src/model/ArduinoTags.js +++ b/src/model/ArduinoTags.js @@ -17,7 +17,7 @@ import Tag from './Tag'; /** * The ArduinoTags model module. * @module model/ArduinoTags - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTags { /** diff --git a/src/model/ArduinoTemplate.js b/src/model/ArduinoTemplate.js index db7e505..cd207d4 100644 --- a/src/model/ArduinoTemplate.js +++ b/src/model/ArduinoTemplate.js @@ -17,7 +17,7 @@ import ArduinoThingresult from './ArduinoThingresult'; /** * The ArduinoTemplate model module. * @module model/ArduinoTemplate - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTemplate { /** diff --git a/src/model/ArduinoTemplateproperty.js b/src/model/ArduinoTemplateproperty.js index e7b0d8c..3bc0e88 100644 --- a/src/model/ArduinoTemplateproperty.js +++ b/src/model/ArduinoTemplateproperty.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoTemplateproperty model module. * @module model/ArduinoTemplateproperty - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTemplateproperty { /** diff --git a/src/model/ArduinoTemplatevariable.js b/src/model/ArduinoTemplatevariable.js index 431b9dd..4554fa7 100644 --- a/src/model/ArduinoTemplatevariable.js +++ b/src/model/ArduinoTemplatevariable.js @@ -17,7 +17,7 @@ import ArduinoTimezone from './ArduinoTimezone'; /** * The ArduinoTemplatevariable model module. * @module model/ArduinoTemplatevariable - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTemplatevariable { /** diff --git a/src/model/ArduinoThing.js b/src/model/ArduinoThing.js index 227849a..dff44d2 100644 --- a/src/model/ArduinoThing.js +++ b/src/model/ArduinoThing.js @@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty'; /** * The ArduinoThing model module. * @module model/ArduinoThing - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoThing { /** diff --git a/src/model/ArduinoThingresult.js b/src/model/ArduinoThingresult.js index 109a2fa..8270934 100644 --- a/src/model/ArduinoThingresult.js +++ b/src/model/ArduinoThingresult.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoThingresult model module. * @module model/ArduinoThingresult - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoThingresult { /** diff --git a/src/model/ArduinoThingtemplate.js b/src/model/ArduinoThingtemplate.js index 7d53e58..f867c59 100644 --- a/src/model/ArduinoThingtemplate.js +++ b/src/model/ArduinoThingtemplate.js @@ -19,7 +19,7 @@ import Tag from './Tag'; /** * The ArduinoThingtemplate model module. * @module model/ArduinoThingtemplate - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoThingtemplate { /** diff --git a/src/model/ArduinoTimeseriesmedia.js b/src/model/ArduinoTimeseriesmedia.js index 92f6ea9..94cfd80 100644 --- a/src/model/ArduinoTimeseriesmedia.js +++ b/src/model/ArduinoTimeseriesmedia.js @@ -17,7 +17,7 @@ import TimeseriesDataPoint from './TimeseriesDataPoint'; /** * The ArduinoTimeseriesmedia model module. * @module model/ArduinoTimeseriesmedia - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTimeseriesmedia { /** diff --git a/src/model/ArduinoTimezone.js b/src/model/ArduinoTimezone.js index b728e8c..d5d5dd4 100644 --- a/src/model/ArduinoTimezone.js +++ b/src/model/ArduinoTimezone.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoTimezone model module. * @module model/ArduinoTimezone - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoTimezone { /** diff --git a/src/model/ArduinoVariableslinks.js b/src/model/ArduinoVariableslinks.js index 4698ddd..6094119 100644 --- a/src/model/ArduinoVariableslinks.js +++ b/src/model/ArduinoVariableslinks.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ArduinoVariableslinks model module. * @module model/ArduinoVariableslinks - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoVariableslinks { /** diff --git a/src/model/ArduinoWidgetv2.js b/src/model/ArduinoWidgetv2.js index 48449ca..8f92422 100644 --- a/src/model/ArduinoWidgetv2.js +++ b/src/model/ArduinoWidgetv2.js @@ -17,7 +17,7 @@ import ArduinoLinkedvariable from './ArduinoLinkedvariable'; /** * The ArduinoWidgetv2 model module. * @module model/ArduinoWidgetv2 - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoWidgetv2 { /** diff --git a/src/model/ArduinoWidgetv2template.js b/src/model/ArduinoWidgetv2template.js index 61a2d5c..2a34a1a 100644 --- a/src/model/ArduinoWidgetv2template.js +++ b/src/model/ArduinoWidgetv2template.js @@ -17,7 +17,7 @@ import ArduinoTemplatevariable from './ArduinoTemplatevariable'; /** * The ArduinoWidgetv2template model module. * @module model/ArduinoWidgetv2template - * @version 2.0.5 + * @version 2.0.6 */ class ArduinoWidgetv2template { /** diff --git a/src/model/BatchLastValueRequestsMediaV1.js b/src/model/BatchLastValueRequestsMediaV1.js index ccef104..c20e9e7 100644 --- a/src/model/BatchLastValueRequestsMediaV1.js +++ b/src/model/BatchLastValueRequestsMediaV1.js @@ -17,7 +17,7 @@ import BatchQueryRawLastValueRequestMediaV1 from './BatchQueryRawLastValueReques /** * The BatchLastValueRequestsMediaV1 model module. * @module model/BatchLastValueRequestsMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchLastValueRequestsMediaV1 { /** diff --git a/src/model/BatchQueryRawLastValueRequestMediaV1.js b/src/model/BatchQueryRawLastValueRequestMediaV1.js index e678abf..70144ac 100644 --- a/src/model/BatchQueryRawLastValueRequestMediaV1.js +++ b/src/model/BatchQueryRawLastValueRequestMediaV1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The BatchQueryRawLastValueRequestMediaV1 model module. * @module model/BatchQueryRawLastValueRequestMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRawLastValueRequestMediaV1 { /** diff --git a/src/model/BatchQueryRawRequestMediaV1.js b/src/model/BatchQueryRawRequestMediaV1.js index 2ed253d..8e802c9 100644 --- a/src/model/BatchQueryRawRequestMediaV1.js +++ b/src/model/BatchQueryRawRequestMediaV1.js @@ -16,13 +16,13 @@ import ApiClient from '../ApiClient'; /** * The BatchQueryRawRequestMediaV1 model module. * @module model/BatchQueryRawRequestMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRawRequestMediaV1 { /** * Constructs a new BatchQueryRawRequestMediaV1. * @alias module:model/BatchQueryRawRequestMediaV1 - * @param q {String} Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + * @param q {String} Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391) */ constructor(q) { @@ -104,13 +104,13 @@ BatchQueryRawRequestMediaV1.RequiredProperties = ["q"]; BatchQueryRawRequestMediaV1.prototype['from'] = undefined; /** - * Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + * Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391) * @member {String} q */ BatchQueryRawRequestMediaV1.prototype['q'] = undefined; /** - * Max of values + * Maximum number of values returned, if any (default/limit: 1000, 10000 in case of thing query) * @member {Number} series_limit */ BatchQueryRawRequestMediaV1.prototype['series_limit'] = undefined; diff --git a/src/model/BatchQueryRawRequestsMediaV1.js b/src/model/BatchQueryRawRequestsMediaV1.js index f0bede8..6969a0a 100644 --- a/src/model/BatchQueryRawRequestsMediaV1.js +++ b/src/model/BatchQueryRawRequestsMediaV1.js @@ -17,7 +17,7 @@ import BatchQueryRawRequestMediaV1 from './BatchQueryRawRequestMediaV1'; /** * The BatchQueryRawRequestsMediaV1 model module. * @module model/BatchQueryRawRequestsMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRawRequestsMediaV1 { /** diff --git a/src/model/BatchQueryRawResponseSeriesMediaV1.js b/src/model/BatchQueryRawResponseSeriesMediaV1.js index cde2908..09a6980 100644 --- a/src/model/BatchQueryRawResponseSeriesMediaV1.js +++ b/src/model/BatchQueryRawResponseSeriesMediaV1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The BatchQueryRawResponseSeriesMediaV1 model module. * @module model/BatchQueryRawResponseSeriesMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRawResponseSeriesMediaV1 { /** diff --git a/src/model/BatchQueryRequestMediaV1.js b/src/model/BatchQueryRequestMediaV1.js index a08c457..3ba827c 100644 --- a/src/model/BatchQueryRequestMediaV1.js +++ b/src/model/BatchQueryRequestMediaV1.js @@ -16,14 +16,14 @@ import ApiClient from '../ApiClient'; /** * The BatchQueryRequestMediaV1 model module. * @module model/BatchQueryRequestMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRequestMediaV1 { /** * Constructs a new BatchQueryRequestMediaV1. * @alias module:model/BatchQueryRequestMediaV1 * @param from {Date} From timestamp - * @param q {String} Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + * @param q {String} Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391) * @param to {Date} To timestamp */ constructor(from, q, to) { @@ -123,13 +123,13 @@ BatchQueryRequestMediaV1.prototype['from'] = undefined; BatchQueryRequestMediaV1.prototype['interval'] = undefined; /** - * Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5) + * Data selection query (e.g. property.2a99729d-2556-4220-a139-023348a1e6b5 or thing.95717675-4786-4ffc-afcc-799777755391) * @member {String} q */ BatchQueryRequestMediaV1.prototype['q'] = undefined; /** - * Maximum number of values returned after data aggregation, if any (default: 300, limit: 1000) + * Maximum number of values returned after data aggregation, if any (default: 300, limit: 1000 - 10000 in case of thing query) * @member {Number} series_limit */ BatchQueryRequestMediaV1.prototype['series_limit'] = undefined; diff --git a/src/model/BatchQueryRequestsMediaV1.js b/src/model/BatchQueryRequestsMediaV1.js index 56d99c9..c6e6fad 100644 --- a/src/model/BatchQueryRequestsMediaV1.js +++ b/src/model/BatchQueryRequestsMediaV1.js @@ -17,7 +17,7 @@ import BatchQueryRequestMediaV1 from './BatchQueryRequestMediaV1'; /** * The BatchQueryRequestsMediaV1 model module. * @module model/BatchQueryRequestsMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQueryRequestsMediaV1 { /** diff --git a/src/model/BatchQuerySampledRequestMediaV1.js b/src/model/BatchQuerySampledRequestMediaV1.js index a6c6256..2e931e9 100644 --- a/src/model/BatchQuerySampledRequestMediaV1.js +++ b/src/model/BatchQuerySampledRequestMediaV1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The BatchQuerySampledRequestMediaV1 model module. * @module model/BatchQuerySampledRequestMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQuerySampledRequestMediaV1 { /** diff --git a/src/model/BatchQuerySampledRequestsMediaV1.js b/src/model/BatchQuerySampledRequestsMediaV1.js index 7e3dd2b..68a0f94 100644 --- a/src/model/BatchQuerySampledRequestsMediaV1.js +++ b/src/model/BatchQuerySampledRequestsMediaV1.js @@ -17,7 +17,7 @@ import BatchQuerySampledRequestMediaV1 from './BatchQuerySampledRequestMediaV1'; /** * The BatchQuerySampledRequestsMediaV1 model module. * @module model/BatchQuerySampledRequestsMediaV1 - * @version 2.0.5 + * @version 2.0.6 */ class BatchQuerySampledRequestsMediaV1 { /** diff --git a/src/model/CheckDevicesV2PassPayload.js b/src/model/CheckDevicesV2PassPayload.js index 5e4e86b..88c6454 100644 --- a/src/model/CheckDevicesV2PassPayload.js +++ b/src/model/CheckDevicesV2PassPayload.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CheckDevicesV2PassPayload model module. * @module model/CheckDevicesV2PassPayload - * @version 2.0.5 + * @version 2.0.6 */ class CheckDevicesV2PassPayload { /** diff --git a/src/model/Clone.js b/src/model/Clone.js index 13e2ca1..96a9f9a 100644 --- a/src/model/Clone.js +++ b/src/model/Clone.js @@ -17,7 +17,7 @@ import Override from './Override'; /** * The Clone model module. * @module model/Clone - * @version 2.0.5 + * @version 2.0.6 */ class Clone { /** diff --git a/src/model/CreateDevicesV2CertsPayload.js b/src/model/CreateDevicesV2CertsPayload.js index 88fd951..bf1c736 100644 --- a/src/model/CreateDevicesV2CertsPayload.js +++ b/src/model/CreateDevicesV2CertsPayload.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CreateDevicesV2CertsPayload model module. * @module model/CreateDevicesV2CertsPayload - * @version 2.0.5 + * @version 2.0.6 */ class CreateDevicesV2CertsPayload { /** diff --git a/src/model/CreateDevicesV2Payload.js b/src/model/CreateDevicesV2Payload.js index 764dcbe..15731c7 100644 --- a/src/model/CreateDevicesV2Payload.js +++ b/src/model/CreateDevicesV2Payload.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CreateDevicesV2Payload model module. * @module model/CreateDevicesV2Payload - * @version 2.0.5 + * @version 2.0.6 */ class CreateDevicesV2Payload { /** @@ -258,30 +258,12 @@ CreateDevicesV2Payload['TypeEnum'] = { */ "mkrgsm1400": "mkrgsm1400", - /** - * value: "mkrwan1310" - * @const - */ - "mkrwan1310": "mkrwan1310", - - /** - * value: "mkrwan1300" - * @const - */ - "mkrwan1300": "mkrwan1300", - /** * value: "mkrnb1500" * @const */ "mkrnb1500": "mkrnb1500", - /** - * value: "lora-device" - * @const - */ - "lora-device": "lora-device", - /** * value: "login_and_secretkey_wifi" * @const diff --git a/src/model/CreateLoraDevicesV1Payload.js b/src/model/CreateLoraDevicesV1Payload.js index afd7123..a00404d 100644 --- a/src/model/CreateLoraDevicesV1Payload.js +++ b/src/model/CreateLoraDevicesV1Payload.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CreateLoraDevicesV1Payload model module. * @module model/CreateLoraDevicesV1Payload - * @version 2.0.5 + * @version 2.0.6 */ class CreateLoraDevicesV1Payload { /** diff --git a/src/model/Dashboardshare.js b/src/model/Dashboardshare.js index 0bcb8b7..372f6a0 100644 --- a/src/model/Dashboardshare.js +++ b/src/model/Dashboardshare.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Dashboardshare model module. * @module model/Dashboardshare - * @version 2.0.5 + * @version 2.0.6 */ class Dashboardshare { /** diff --git a/src/model/Dashboardv2.js b/src/model/Dashboardv2.js index e68fd96..e093570 100644 --- a/src/model/Dashboardv2.js +++ b/src/model/Dashboardv2.js @@ -17,7 +17,7 @@ import Widget from './Widget'; /** * The Dashboardv2 model module. * @module model/Dashboardv2 - * @version 2.0.5 + * @version 2.0.6 */ class Dashboardv2 { /** diff --git a/src/model/Devicev2.js b/src/model/Devicev2.js index 82782c4..6c2df2d 100644 --- a/src/model/Devicev2.js +++ b/src/model/Devicev2.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Devicev2 model module. * @module model/Devicev2 - * @version 2.0.5 + * @version 2.0.6 */ class Devicev2 { /** @@ -250,30 +250,12 @@ Devicev2['TypeEnum'] = { */ "mkrgsm1400": "mkrgsm1400", - /** - * value: "mkrwan1310" - * @const - */ - "mkrwan1310": "mkrwan1310", - - /** - * value: "mkrwan1300" - * @const - */ - "mkrwan1300": "mkrwan1300", - /** * value: "mkrnb1500" * @const */ "mkrnb1500": "mkrnb1500", - /** - * value: "lora-device" - * @const - */ - "lora-device": "lora-device", - /** * value: "login_and_secretkey_wifi" * @const diff --git a/src/model/Devicev2Cert.js b/src/model/Devicev2Cert.js index 946639c..dd71c1f 100644 --- a/src/model/Devicev2Cert.js +++ b/src/model/Devicev2Cert.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Devicev2Cert model module. * @module model/Devicev2Cert - * @version 2.0.5 + * @version 2.0.6 */ class Devicev2Cert { /** diff --git a/src/model/Devicev2Otabinaryurl.js b/src/model/Devicev2Otabinaryurl.js index c3de535..dd34ac0 100644 --- a/src/model/Devicev2Otabinaryurl.js +++ b/src/model/Devicev2Otabinaryurl.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Devicev2Otabinaryurl model module. * @module model/Devicev2Otabinaryurl - * @version 2.0.5 + * @version 2.0.6 */ class Devicev2Otabinaryurl { /** diff --git a/src/model/Devicev2Otaurlpyalod.js b/src/model/Devicev2Otaurlpyalod.js index 58d7256..cde8f8e 100644 --- a/src/model/Devicev2Otaurlpyalod.js +++ b/src/model/Devicev2Otaurlpyalod.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Devicev2Otaurlpyalod model module. * @module model/Devicev2Otaurlpyalod - * @version 2.0.5 + * @version 2.0.6 */ class Devicev2Otaurlpyalod { /** diff --git a/src/model/Devicev2Pass.js b/src/model/Devicev2Pass.js index f057478..c21b4d8 100644 --- a/src/model/Devicev2Pass.js +++ b/src/model/Devicev2Pass.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Devicev2Pass model module. * @module model/Devicev2Pass - * @version 2.0.5 + * @version 2.0.6 */ class Devicev2Pass { /** diff --git a/src/model/Error.js b/src/model/Error.js index 5fe3f21..921ac08 100644 --- a/src/model/Error.js +++ b/src/model/Error.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Error model module. * @module model/Error - * @version 2.0.5 + * @version 2.0.6 */ class Error { /** diff --git a/src/model/HistoricDataRequest.js b/src/model/HistoricDataRequest.js index 8c40b5d..5db28a7 100644 --- a/src/model/HistoricDataRequest.js +++ b/src/model/HistoricDataRequest.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The HistoricDataRequest model module. * @module model/HistoricDataRequest - * @version 2.0.5 + * @version 2.0.6 */ class HistoricDataRequest { /** diff --git a/src/model/Override.js b/src/model/Override.js index 5af3e8d..aa5fd9c 100644 --- a/src/model/Override.js +++ b/src/model/Override.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Override model module. * @module model/Override - * @version 2.0.5 + * @version 2.0.6 */ class Override { /** diff --git a/src/model/PropertiesValue.js b/src/model/PropertiesValue.js index c888e3f..3b362f0 100644 --- a/src/model/PropertiesValue.js +++ b/src/model/PropertiesValue.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The PropertiesValue model module. * @module model/PropertiesValue - * @version 2.0.5 + * @version 2.0.6 */ class PropertiesValue { /** diff --git a/src/model/PropertiesValues.js b/src/model/PropertiesValues.js index d801303..8540f05 100644 --- a/src/model/PropertiesValues.js +++ b/src/model/PropertiesValues.js @@ -17,7 +17,7 @@ import PropertiesValue from './PropertiesValue'; /** * The PropertiesValues model module. * @module model/PropertiesValues - * @version 2.0.5 + * @version 2.0.6 */ class PropertiesValues { /** diff --git a/src/model/Property.js b/src/model/Property.js index 4bc06a1..85537d7 100644 --- a/src/model/Property.js +++ b/src/model/Property.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Property model module. * @module model/Property - * @version 2.0.5 + * @version 2.0.6 */ class Property { /** diff --git a/src/model/PropertyValue.js b/src/model/PropertyValue.js index 4469670..3eea3f5 100644 --- a/src/model/PropertyValue.js +++ b/src/model/PropertyValue.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The PropertyValue model module. * @module model/PropertyValue - * @version 2.0.5 + * @version 2.0.6 */ class PropertyValue { /** diff --git a/src/model/Sharerequest.js b/src/model/Sharerequest.js index d0c2fe0..80ee60a 100644 --- a/src/model/Sharerequest.js +++ b/src/model/Sharerequest.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Sharerequest model module. * @module model/Sharerequest - * @version 2.0.5 + * @version 2.0.6 */ class Sharerequest { /** diff --git a/src/model/Tag.js b/src/model/Tag.js index 6b37652..109e83a 100644 --- a/src/model/Tag.js +++ b/src/model/Tag.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Tag model module. * @module model/Tag - * @version 2.0.5 + * @version 2.0.6 */ class Tag { /** diff --git a/src/model/Template.js b/src/model/Template.js index a5349de..c4a6096 100644 --- a/src/model/Template.js +++ b/src/model/Template.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Template model module. * @module model/Template - * @version 2.0.5 + * @version 2.0.6 */ class Template { /** diff --git a/src/model/ThingClone.js b/src/model/ThingClone.js index 30f9cc3..fd15089 100644 --- a/src/model/ThingClone.js +++ b/src/model/ThingClone.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ThingClone model module. * @module model/ThingClone - * @version 2.0.5 + * @version 2.0.6 */ class ThingClone { /** diff --git a/src/model/ThingCreate.js b/src/model/ThingCreate.js index b7ceee2..27a326c 100644 --- a/src/model/ThingCreate.js +++ b/src/model/ThingCreate.js @@ -18,7 +18,7 @@ import Tag from './Tag'; /** * The ThingCreate model module. * @module model/ThingCreate - * @version 2.0.5 + * @version 2.0.6 */ class ThingCreate { /** diff --git a/src/model/ThingSketch.js b/src/model/ThingSketch.js index fcf6926..c5a441e 100644 --- a/src/model/ThingSketch.js +++ b/src/model/ThingSketch.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ThingSketch model module. * @module model/ThingSketch - * @version 2.0.5 + * @version 2.0.6 */ class ThingSketch { /** diff --git a/src/model/ThingUpdate.js b/src/model/ThingUpdate.js index dc4089e..878ab4b 100644 --- a/src/model/ThingUpdate.js +++ b/src/model/ThingUpdate.js @@ -17,7 +17,7 @@ import Property from './Property'; /** * The ThingUpdate model module. * @module model/ThingUpdate - * @version 2.0.5 + * @version 2.0.6 */ class ThingUpdate { /** diff --git a/src/model/TimeseriesDataPoint.js b/src/model/TimeseriesDataPoint.js index 2c3f650..805b7ea 100644 --- a/src/model/TimeseriesDataPoint.js +++ b/src/model/TimeseriesDataPoint.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TimeseriesDataPoint model module. * @module model/TimeseriesDataPoint - * @version 2.0.5 + * @version 2.0.6 */ class TimeseriesDataPoint { /** diff --git a/src/model/UpdateSketch.js b/src/model/UpdateSketch.js index 7fda687..982f632 100644 --- a/src/model/UpdateSketch.js +++ b/src/model/UpdateSketch.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The UpdateSketch model module. * @module model/UpdateSketch - * @version 2.0.5 + * @version 2.0.6 */ class UpdateSketch { /** diff --git a/src/model/Widget.js b/src/model/Widget.js index 963198c..30fb956 100644 --- a/src/model/Widget.js +++ b/src/model/Widget.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Widget model module. * @module model/Widget - * @version 2.0.5 + * @version 2.0.6 */ class Widget { /** diff --git a/src/model/Widgetlink.js b/src/model/Widgetlink.js index 65ca9f7..ad0a989 100644 --- a/src/model/Widgetlink.js +++ b/src/model/Widgetlink.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Widgetlink model module. * @module model/Widgetlink - * @version 2.0.5 + * @version 2.0.6 */ class Widgetlink { /**