From 13db8d60879135424f9da72ca3df72737f5d1da8 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Thu, 30 Jan 2025 15:33:41 +0000
Subject: [PATCH] Release release-20250130153253
---
.openapi-generator/FILES | 32 +-
docs/ArduinoArduinoconnectionsV1.md | 16 +
docs/ArduinoDevicev2.md | 4 +
docs/CreateClaimedDevicesV2Payload.md | 82 ++++
docs/CreateDevicesV2Payload.md | 2 +
docs/DashboardsV2Api.md | 78 ++--
docs/Dashboardshare.md | 1 +
docs/DevicesV2Api.md | 95 ++++-
docs/Devicev2.md | 2 +
docs/LoraDevicesV1Api.md | 4 +-
docs/NetworkCredentialsV1Api.md | 10 +-
docs/PropertiesV2Api.md | 28 +-
docs/SeriesV2Api.md | 20 +-
docs/TemplatesApi.md | 4 +-
docs/ThingsV2Api.md | 40 +-
docs/Usershare.md | 10 +
package.json | 2 +-
src/ApiClient.js | 4 +-
src/api/DashboardsV2Api.js | 82 ++--
src/api/DevicesV2Api.js | 101 ++++-
src/api/DevicesV2CertsApi.js | 2 +-
src/api/DevicesV2OtaApi.js | 2 +-
src/api/DevicesV2PassApi.js | 2 +-
src/api/DevicesV2TagsApi.js | 2 +-
src/api/LoraDevicesV1Api.js | 6 +-
src/api/LoraFreqPlanV1Api.js | 2 +-
src/api/NetworkCredentialsV1Api.js | 11 +-
src/api/PropertiesV2Api.js | 30 +-
src/api/PropertyTypesV1Api.js | 2 +-
src/api/SeriesV2Api.js | 22 +-
src/api/TemplatesApi.js | 6 +-
src/api/ThingsV2Api.js | 42 +-
src/api/ThingsV2TagsApi.js | 2 +-
src/api/TriggersV1Api.js | 2 +-
src/index.js | 23 +-
src/model/ArduinoAction.js | 2 +-
src/model/ArduinoActionTemplate.js | 2 +-
src/model/ArduinoArduinoconnectionsV1.js | 229 +++++++++++
src/model/ArduinoCompressedv2.js | 2 +-
src/model/ArduinoCredentialsv1.js | 2 +-
src/model/ArduinoDashboardowner.js | 2 +-
src/model/ArduinoDashboardshare.js | 2 +-
src/model/ArduinoDashboardv2.js | 2 +-
src/model/ArduinoDashboardv2template.js | 2 +-
src/model/ArduinoDevicev2.js | 51 ++-
src/model/ArduinoDevicev2Cert.js | 2 +-
src/model/ArduinoDevicev2EventProperties.js | 2 +-
src/model/ArduinoDevicev2Otaupload.js | 2 +-
src/model/ArduinoDevicev2Pass.js | 2 +-
src/model/ArduinoDevicev2SimpleProperties.js | 2 +-
src/model/ArduinoDevicev2StatusEvent.js | 2 +-
src/model/ArduinoDevicev2StatusEvents.js | 2 +-
src/model/ArduinoDevicev2Webhook.js | 2 +-
src/model/ArduinoDevicev2properties.js | 2 +-
src/model/ArduinoDevicev2propertyvalue.js | 2 +-
.../ArduinoDevicev2propertyvalueValue.js | 2 +-
...inoDevicev2propertyvalueValueStatistics.js | 2 +-
src/model/ArduinoDevicev2propertyvalues.js | 2 +-
...oDevicev2propertyvaluesLastEvaluatedKey.js | 2 +-
src/model/ArduinoDevicev2templatedevice.js | 2 +-
src/model/ArduinoLinkedDevice.js | 2 +-
src/model/ArduinoLinkedDeviceTemplate.js | 2 +-
src/model/ArduinoLinkedProperty.js | 2 +-
src/model/ArduinoLinkedPropertyTemplate.js | 2 +-
src/model/ArduinoLinkedvariable.js | 2 +-
src/model/ArduinoLoradevicev1.js | 2 +-
src/model/ArduinoLorafreqplansv1.js | 2 +-
src/model/ArduinoLorafreqplanv1.js | 2 +-
src/model/ArduinoProperty.js | 2 +-
src/model/ArduinoPropertytype.js | 2 +-
src/model/ArduinoSeriesBatch.js | 2 +-
src/model/ArduinoSeriesBatchSampled.js | 2 +-
src/model/ArduinoSeriesRawBatch.js | 2 +-
src/model/ArduinoSeriesRawBatchLastvalue.js | 2 +-
.../ArduinoSeriesRawLastValueResponse.js | 2 +-
src/model/ArduinoSeriesRawResponse.js | 2 +-
src/model/ArduinoSeriesResponse.js | 2 +-
src/model/ArduinoSeriesSampledResponse.js | 2 +-
src/model/ArduinoTags.js | 2 +-
src/model/ArduinoTemplate.js | 2 +-
src/model/ArduinoTemplateproperty.js | 2 +-
src/model/ArduinoTemplatevariable.js | 2 +-
src/model/ArduinoThing.js | 2 +-
src/model/ArduinoThingresult.js | 2 +-
src/model/ArduinoThingtemplate.js | 2 +-
src/model/ArduinoTimeseriesmedia.js | 2 +-
src/model/ArduinoTimezone.js | 2 +-
src/model/ArduinoTrigger.js | 2 +-
src/model/ArduinoTriggerTemplate.js | 2 +-
src/model/ArduinoTriggerWithLinkedEntities.js | 2 +-
src/model/ArduinoVariableslinks.js | 2 +-
src/model/ArduinoWidgetv2.js | 2 +-
src/model/ArduinoWidgetv2template.js | 2 +-
src/model/BatchLastValueRequestsMediaV1.js | 2 +-
.../BatchQueryRawLastValueRequestMediaV1.js | 2 +-
src/model/BatchQueryRawRequestMediaV1.js | 2 +-
src/model/BatchQueryRawRequestsMediaV1.js | 2 +-
.../BatchQueryRawResponseSeriesMediaV1.js | 2 +-
src/model/BatchQueryRequestMediaV1.js | 2 +-
src/model/BatchQueryRequestsMediaV1.js | 2 +-
src/model/BatchQuerySampledRequestMediaV1.js | 2 +-
src/model/BatchQuerySampledRequestsMediaV1.js | 2 +-
src/model/BodyExpression.js | 2 +-
src/model/CheckDevicesV2PassPayload.js | 2 +-
src/model/Clone.js | 3 +-
src/model/CreateAction.js | 2 +-
src/model/CreateClaimedDevicesV2Payload.js | 385 ++++++++++++++++++
src/model/CreateDevicesV2CertsPayload.js | 2 +-
src/model/CreateDevicesV2Payload.js | 26 +-
src/model/CreateLoraDevicesV1Payload.js | 2 +-
src/model/Dashboardshare.js | 22 +-
src/model/Dashboardv2.js | 4 +-
src/model/DeviceStatusSource.js | 2 +-
.../DeviceStatusSourceWithLinkedDevices.js | 2 +-
src/model/Devicev2.js | 26 +-
src/model/Devicev2Cert.js | 2 +-
src/model/Devicev2Otabinaryurl.js | 2 +-
src/model/Devicev2Otaurlpyalod.js | 2 +-
src/model/Devicev2Pass.js | 2 +-
src/model/EmailAction.js | 2 +-
src/model/EmailDeliveryOpts.js | 2 +-
src/model/Error.js | 2 +-
src/model/HistoricDataRequest.js | 2 +-
src/model/Override.js | 2 +-
src/model/PropertiesValue.js | 2 +-
src/model/PropertiesValues.js | 2 +-
src/model/Property.js | 2 +-
src/model/PropertyValue.js | 2 +-
src/model/PushAction.js | 2 +-
src/model/PushDeliveryOpts.js | 2 +-
src/model/Sharerequest.js | 2 +-
src/model/Tag.js | 2 +-
src/model/Template.js | 2 +-
src/model/ThingClone.js | 2 +-
src/model/ThingCreate.js | 2 +-
src/model/ThingSketch.js | 2 +-
src/model/ThingUpdate.js | 2 +-
src/model/TimeseriesDataPoint.js | 2 +-
src/model/TitleExpression.js | 2 +-
src/model/Trigger.js | 2 +-
src/model/UpdateAction.js | 2 +-
src/model/UpdateSketch.js | 2 +-
src/model/UserRecipient.js | 2 +-
src/model/Usershare.js | 101 +++++
src/model/Variable.js | 2 +-
src/model/Widget.js | 2 +-
src/model/Widgetlink.js | 2 +-
.../model/ArduinoArduinoconnectionsV1.spec.js | 107 +++++
.../CreateClaimedDevicesV2Payload.spec.js | 119 ++++++
test/model/Usershare.spec.js | 71 ++++
150 files changed, 1744 insertions(+), 379 deletions(-)
create mode 100644 docs/ArduinoArduinoconnectionsV1.md
create mode 100644 docs/CreateClaimedDevicesV2Payload.md
create mode 100644 docs/Usershare.md
create mode 100644 src/model/ArduinoArduinoconnectionsV1.js
create mode 100644 src/model/CreateClaimedDevicesV2Payload.js
create mode 100644 src/model/Usershare.js
create mode 100644 test/model/ArduinoArduinoconnectionsV1.spec.js
create mode 100644 test/model/CreateClaimedDevicesV2Payload.spec.js
create mode 100644 test/model/Usershare.spec.js
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 94af017..ba500c6 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -4,6 +4,7 @@
README.md
docs/ArduinoAction.md
docs/ArduinoActionTemplate.md
+docs/ArduinoArduinoconnectionsV1.md
docs/ArduinoCompressedv2.md
docs/ArduinoCredentialsv1.md
docs/ArduinoDashboardowner.md
@@ -72,6 +73,7 @@ docs/BodyExpression.md
docs/CheckDevicesV2PassPayload.md
docs/Clone.md
docs/CreateAction.md
+docs/CreateClaimedDevicesV2Payload.md
docs/CreateDevicesV2CertsPayload.md
docs/CreateDevicesV2Payload.md
docs/CreateLoraDevicesV1Payload.md
@@ -124,6 +126,7 @@ docs/TriggersV1Api.md
docs/UpdateAction.md
docs/UpdateSketch.md
docs/UserRecipient.md
+docs/Usershare.md
docs/Variable.md
docs/Widget.md
docs/Widgetlink.md
@@ -150,6 +153,7 @@ src/api/TriggersV1Api.js
src/index.js
src/model/ArduinoAction.js
src/model/ArduinoActionTemplate.js
+src/model/ArduinoArduinoconnectionsV1.js
src/model/ArduinoCompressedv2.js
src/model/ArduinoCredentialsv1.js
src/model/ArduinoDashboardowner.js
@@ -218,6 +222,7 @@ src/model/BodyExpression.js
src/model/CheckDevicesV2PassPayload.js
src/model/Clone.js
src/model/CreateAction.js
+src/model/CreateClaimedDevicesV2Payload.js
src/model/CreateDevicesV2CertsPayload.js
src/model/CreateDevicesV2Payload.js
src/model/CreateLoraDevicesV1Payload.js
@@ -254,29 +259,10 @@ src/model/Trigger.js
src/model/UpdateAction.js
src/model/UpdateSketch.js
src/model/UserRecipient.js
+src/model/Usershare.js
src/model/Variable.js
src/model/Widget.js
src/model/Widgetlink.js
-test/api/TriggersV1Api.spec.js
-test/model/ArduinoAction.spec.js
-test/model/ArduinoActionTemplate.spec.js
-test/model/ArduinoLinkedDevice.spec.js
-test/model/ArduinoLinkedDeviceTemplate.spec.js
-test/model/ArduinoLinkedProperty.spec.js
-test/model/ArduinoLinkedPropertyTemplate.spec.js
-test/model/ArduinoTrigger.spec.js
-test/model/ArduinoTriggerTemplate.spec.js
-test/model/ArduinoTriggerWithLinkedEntities.spec.js
-test/model/BodyExpression.spec.js
-test/model/CreateAction.spec.js
-test/model/DeviceStatusSource.spec.js
-test/model/DeviceStatusSourceWithLinkedDevices.spec.js
-test/model/EmailAction.spec.js
-test/model/EmailDeliveryOpts.spec.js
-test/model/PushAction.spec.js
-test/model/PushDeliveryOpts.spec.js
-test/model/TitleExpression.spec.js
-test/model/Trigger.spec.js
-test/model/UpdateAction.spec.js
-test/model/UserRecipient.spec.js
-test/model/Variable.spec.js
+test/model/ArduinoArduinoconnectionsV1.spec.js
+test/model/CreateClaimedDevicesV2Payload.spec.js
+test/model/Usershare.spec.js
diff --git a/docs/ArduinoArduinoconnectionsV1.md b/docs/ArduinoArduinoconnectionsV1.md
new file mode 100644
index 0000000..9bd49ba
--- /dev/null
+++ b/docs/ArduinoArduinoconnectionsV1.md
@@ -0,0 +1,16 @@
+# ArduinoIotClient.ArduinoArduinoconnectionsV1
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**catm1** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**cellular** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**eth** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**gsm** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**lora** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**nb** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**wifi** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+**wifiandsecret** | [**[ArduinoCredentialsv1]**](ArduinoCredentialsv1.md) | ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view) | [optional]
+
+
diff --git a/docs/ArduinoDevicev2.md b/docs/ArduinoDevicev2.md
index 9727e63..a056605 100644
--- a/docs/ArduinoDevicev2.md
+++ b/docs/ArduinoDevicev2.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**bleMac** | **String** | | [optional]
**connectionType** | **String** | The type of the connections selected by the user when multiple connections are available | [optional]
**createdAt** | **Date** | Creation date of the device | [optional]
**deletedAt** | **Date** | Deletion date of the trigger | [optional]
@@ -12,9 +13,11 @@ Name | Type | Description | Notes
**fqbn** | **String** | The fully qualified board name | [optional]
**href** | **String** | The api reference of this device |
**id** | **String** | The arn of the device |
+**issuerCa** | **String** | | [optional]
**label** | **String** | The label of the device |
**lastActivityAt** | **Date** | Last activity date | [optional]
**latestWifiFwVersion** | **String** | The latest version of the NINA/WIFI101 firmware available for this device | [optional]
+**libVersion** | **String** | | [optional]
**metadata** | **{String: Object}** | The metadata of the device | [optional]
**name** | **String** | The friendly name of the device |
**noSketch** | **Boolean** | True if the device type can not have an associated sketch | [optional]
@@ -26,6 +29,7 @@ Name | Type | Description | Notes
**tags** | **{String: Object}** | Tags belonging to the device | [optional]
**thing** | [**ArduinoThing**](ArduinoThing.md) | | [optional]
**type** | **String** | The type of the device |
+**uniqueHardwareId** | **String** | The unique hardware id of the device | [optional]
**updatedAt** | **Date** | Update date of the trigger | [optional]
**userId** | **String** | The id of the user |
**webhooks** | [**[ArduinoDevicev2Webhook]**](ArduinoDevicev2Webhook.md) | ArduinoDevicev2WebhookCollection is the media type for an array of ArduinoDevicev2Webhook (default view) | [optional]
diff --git a/docs/CreateClaimedDevicesV2Payload.md b/docs/CreateClaimedDevicesV2Payload.md
new file mode 100644
index 0000000..0dbccb1
--- /dev/null
+++ b/docs/CreateClaimedDevicesV2Payload.md
@@ -0,0 +1,82 @@
+# ArduinoIotClient.CreateClaimedDevicesV2Payload
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ID** | **String** | The id of the device | [optional]
+**bleMac** | **String** | | [optional]
+**connectionType** | **String** | The type of the connections selected by the user when multiple connections are available | [optional]
+**fqbn** | **String** | The fully qualified board name | [optional]
+**name** | **String** | The friendly name of the device | [optional]
+**serial** | **String** | The serial uuid of the device | [optional]
+**type** | **String** | The type of the device |
+**uniqueHardwareId** | **String** | The unique hardware id of the device |
+**userId** | **String** | The user_id associated to the device. If absent it will be inferred from the authentication header |
+**wifiFwVersion** | **String** | The version of the NINA/WIFI101 firmware running on the device | [optional]
+
+
+
+## Enum: ConnectionTypeEnum
+
+
+* `wifi` (value: `"wifi"`)
+
+* `eth` (value: `"eth"`)
+
+* `wifiandsecret` (value: `"wifiandsecret"`)
+
+* `gsm` (value: `"gsm"`)
+
+* `nb` (value: `"nb"`)
+
+* `lora` (value: `"lora"`)
+
+* `catm1` (value: `"catm1"`)
+
+* `cellular` (value: `"cellular"`)
+
+
+
+
+
+## Enum: TypeEnum
+
+
+* `mkrwifi1010` (value: `"mkrwifi1010"`)
+
+* `mkr1000` (value: `"mkr1000"`)
+
+* `nano_33_iot` (value: `"nano_33_iot"`)
+
+* `mkrgsm1400` (value: `"mkrgsm1400"`)
+
+* `mkrnb1500` (value: `"mkrnb1500"`)
+
+* `login_and_secretkey_wifi` (value: `"login_and_secretkey_wifi"`)
+
+* `envie_m7` (value: `"envie_m7"`)
+
+* `nanorp2040connect` (value: `"nanorp2040connect"`)
+
+* `nicla_vision` (value: `"nicla_vision"`)
+
+* `phone` (value: `"phone"`)
+
+* `portenta_x8` (value: `"portenta_x8"`)
+
+* `opta` (value: `"opta"`)
+
+* `giga` (value: `"giga"`)
+
+* `generic_device_secretkey` (value: `"generic_device_secretkey"`)
+
+* `portenta_c33` (value: `"portenta_c33"`)
+
+* `unor4wifi` (value: `"unor4wifi"`)
+
+* `nano_nora` (value: `"nano_nora"`)
+
+
+
+
diff --git a/docs/CreateDevicesV2Payload.md b/docs/CreateDevicesV2Payload.md
index 3fd03c5..a8556a3 100644
--- a/docs/CreateDevicesV2Payload.md
+++ b/docs/CreateDevicesV2Payload.md
@@ -4,12 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**bleMac** | **String** | | [optional]
**connectionType** | **String** | The type of the connections selected by the user when multiple connections are available | [optional]
**fqbn** | **String** | The fully qualified board name | [optional]
**name** | **String** | The friendly name of the device | [optional]
**serial** | **String** | The serial uuid of the device | [optional]
**softDeleted** | **Boolean** | If false, restore the thing from the soft deletion | [optional] [default to false]
**type** | **String** | The type of the device |
+**uniqueHardwareId** | **String** | | [optional]
**userId** | **String** | The user_id associated to the device. If absent it will be inferred from the authentication header | [optional]
**wifiFwVersion** | **String** | The version of the NINA/WIFI101 firmware running on the device | [optional]
diff --git a/docs/DashboardsV2Api.md b/docs/DashboardsV2Api.md
index 6b05dc3..34e7e60 100644
--- a/docs/DashboardsV2Api.md
+++ b/docs/DashboardsV2Api.md
@@ -39,9 +39,9 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
-let clone = new ArduinoIotClient.Clone(); // Clone | Add overrides used when performing a clone of a dashboard
+let clone = new ArduinoIotClient.Clone(); // Clone |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Clone(id, clone, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -57,8 +57,8 @@ apiInstance.dashboardsV2Clone(id, clone, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **clone** | [**Clone**](Clone.md)| Add overrides used when performing a clone of a dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **clone** | [**Clone**](Clone.md)| |
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -92,9 +92,9 @@ let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
-let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | Describes a dashboard
+let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | DashboardV2Payload describes a dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Create(dashboardv2, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -109,8 +109,8 @@ apiInstance.dashboardsV2Create(dashboardv2, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| Describes a dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| DashboardV2Payload describes a dashboard |
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -147,7 +147,7 @@ let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let opts = {
'force': false, // Boolean | If true, hard delete the thing
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Delete(id, opts).then(() => {
console.log('API called successfully.');
@@ -164,7 +164,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
**force** | **Boolean**| If true, hard delete the thing | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -201,7 +201,7 @@ let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let userId = "userId_example"; // String | The id of the user
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2DeleteShare(id, userId, opts).then(() => {
console.log('API called successfully.');
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
**userId** | **String**| The id of the user |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -256,7 +256,7 @@ let id = "id_example"; // String | The id of the dashboard
let widgetId = "widgetId_example"; // String | The id of the widget
let widgetlink = new ArduinoIotClient.Widgetlink(); // Widgetlink |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Link(id, widgetId, widgetlink, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -274,7 +274,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the dashboard |
**widgetId** | **String**| The id of the widget |
**widgetlink** | [**Widgetlink**](Widgetlink.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -309,9 +309,9 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let opts = {
- 'name': "name_example", // String | Filter by name of the dashboard. It support like matching.
- 'userId': "userId_example", // String | Filter by user_id of the dashboard's owner
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'name': "name_example", // String | The name of the dashboard
+ 'userId': "userId_example", // String | The user_id of the dashboard's owner
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2List(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -326,9 +326,9 @@ apiInstance.dashboardsV2List(opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **name** | **String**| Filter by name of the dashboard. It support like matching. | [optional]
- **userId** | **String**| Filter by user_id of the dashboard's owner | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **name** | **String**| The name of the dashboard | [optional]
+ **userId** | **String**| The user_id of the dashboard's owner | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -364,7 +364,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2ListShares(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -380,7 +380,7 @@ apiInstance.dashboardsV2ListShares(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -415,9 +415,9 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
-let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | Describes a dashboard
+let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | DashboardV2Payload describes a dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Patch(id, dashboardv2, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -433,8 +433,8 @@ apiInstance.dashboardsV2Patch(id, dashboardv2, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| Describes a dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| DashboardV2Payload describes a dashboard |
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -471,7 +471,7 @@ let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let sharerequest = new ArduinoIotClient.Sharerequest(); // Sharerequest |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2RequestAccess(id, sharerequest, opts).then(() => {
console.log('API called successfully.');
@@ -488,7 +488,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
**sharerequest** | [**Sharerequest**](Sharerequest.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -525,7 +525,7 @@ let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let dashboardshare = new ArduinoIotClient.Dashboardshare(); // Dashboardshare |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Share(id, dashboardshare, opts).then(() => {
console.log('API called successfully.');
@@ -542,7 +542,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
**dashboardshare** | [**Dashboardshare**](Dashboardshare.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -564,7 +564,7 @@ null (empty response body)
show dashboards_v2
-Show a dashboard by id
+Show a dashboard
### Example
@@ -578,7 +578,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Show(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -594,7 +594,7 @@ apiInstance.dashboardsV2Show(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -630,7 +630,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Template(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -646,7 +646,7 @@ apiInstance.dashboardsV2Template(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -681,9 +681,9 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DashboardsV2Api();
let id = "id_example"; // String | The id of the dashboard
-let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | Describes a dashboard
+let dashboardv2 = new ArduinoIotClient.Dashboardv2(); // Dashboardv2 | DashboardV2Payload describes a dashboard
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.dashboardsV2Update(id, dashboardv2, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -699,8 +699,8 @@ apiInstance.dashboardsV2Update(id, dashboardv2, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the dashboard |
- **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| Describes a dashboard |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **dashboardv2** | [**Dashboardv2**](Dashboardv2.md)| DashboardV2Payload describes a dashboard |
+ **xOrganization** | **String**| | [optional]
### Return type
diff --git a/docs/Dashboardshare.md b/docs/Dashboardshare.md
index 3c0bf3c..f6da55c 100644
--- a/docs/Dashboardshare.md
+++ b/docs/Dashboardshare.md
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**userId** | **String** | The userID of the user you want to share the dashboard with | [optional]
**username** | **String** | The username of the user you want to share the dashboard with | [optional]
+**users** | [**[Usershare]**](Usershare.md) | The list of users you want to share the dashboard with | [optional]
diff --git a/docs/DevicesV2Api.md b/docs/DevicesV2Api.md
index 3374ed5..0eb7085 100644
--- a/docs/DevicesV2Api.md
+++ b/docs/DevicesV2Api.md
@@ -5,6 +5,7 @@ All URIs are relative to *https://api2.arduino.cc*
Method | HTTP request | Description
------------- | ------------- | -------------
[**devicesV2Create**](DevicesV2Api.md#devicesV2Create) | **PUT** /iot/v2/devices | create devices_v2
+[**devicesV2CreateClaimed**](DevicesV2Api.md#devicesV2CreateClaimed) | **PUT** /iot/v2/devices/claim | createClaimed devices_v2
[**devicesV2Delete**](DevicesV2Api.md#devicesV2Delete) | **DELETE** /iot/v2/devices/{id} | delete devices_v2
[**devicesV2GetEvents**](DevicesV2Api.md#devicesV2GetEvents) | **GET** /iot/v2/devices/{id}/events | getEvents devices_v2
[**devicesV2GetProperties**](DevicesV2Api.md#devicesV2GetProperties) | **GET** /iot/v2/devices/{id}/properties | getProperties devices_v2
@@ -37,7 +38,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DevicesV2Api();
let createDevicesV2Payload = new ArduinoIotClient.CreateDevicesV2Payload(); // CreateDevicesV2Payload | DeviceV2 describes a device.
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2Create(createDevicesV2Payload, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -53,7 +54,59 @@ apiInstance.devicesV2Create(createDevicesV2Payload, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**createDevicesV2Payload** | [**CreateDevicesV2Payload**](CreateDevicesV2Payload.md)| DeviceV2 describes a device. |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
+
+### Return type
+
+[**ArduinoDevicev2**](ArduinoDevicev2.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/vnd.arduino.devicev2+json, application/vnd.goa.error+json
+
+
+## devicesV2CreateClaimed
+
+> ArduinoDevicev2 devicesV2CreateClaimed(createClaimedDevicesV2Payload, opts)
+
+createClaimed devices_v2
+
+Creates a new device associated to the user.
+
+### Example
+
+```javascript
+import ArduinoIotClient from '@arduino/arduino-iot-client';
+let defaultClient = ArduinoIotClient.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new ArduinoIotClient.DevicesV2Api();
+let createClaimedDevicesV2Payload = new ArduinoIotClient.CreateClaimedDevicesV2Payload(); // CreateClaimedDevicesV2Payload | DeviceV2 describes a device.
+let opts = {
+ 'xOrganization': "xOrganization_example" // String |
+};
+apiInstance.devicesV2CreateClaimed(createClaimedDevicesV2Payload, opts).then((data) => {
+ console.log('API called successfully. Returned data: ' + data);
+}, (error) => {
+ console.error(error);
+});
+
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **createClaimedDevicesV2Payload** | [**CreateClaimedDevicesV2Payload**](CreateClaimedDevicesV2Payload.md)| DeviceV2 describes a device. |
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -90,7 +143,7 @@ let apiInstance = new ArduinoIotClient.DevicesV2Api();
let id = "id_example"; // String | The id of the device
let opts = {
'force': false, // Boolean | If true, hard delete the device
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2Delete(id, opts).then(() => {
console.log('API called successfully.');
@@ -107,7 +160,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the device |
**force** | **Boolean**| If true, hard delete the device | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -145,7 +198,7 @@ let id = "id_example"; // String | The id of the device
let opts = {
'limit': 56, // Number | The number of events to select
'start': "start_example", // String | The time at which to start selecting events
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2GetEvents(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -163,7 +216,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the device |
**limit** | **Number**| The number of events to select | [optional]
**start** | **String**| The time at which to start selecting events | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -200,7 +253,7 @@ let apiInstance = new ArduinoIotClient.DevicesV2Api();
let id = "id_example"; // String | The id of the device
let opts = {
'showDeleted': false, // Boolean | If true, shows the soft deleted properties
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2GetProperties(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -217,7 +270,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the device |
**showDeleted** | **Boolean**| If true, shows the soft deleted properties | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -255,7 +308,7 @@ let id = "id_example"; // String | The id of the device
let opts = {
'limit': 30, // Number | The number of events to select
'start': "start_example", // String | The time at which to start selecting events
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2GetStatusEvents(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -273,7 +326,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the device |
**limit** | **Number**| The number of events to select | [optional] [default to 30]
**start** | **String**| The time at which to start selecting events | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -312,7 +365,8 @@ let opts = {
'serial': "serial_example", // String | Filter by device serial number
'showDeleted': false, // Boolean | If true, shows the soft deleted devices
'tags': ["null"], // [String] | Filter by tags
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'uniqueHardwareId': "uniqueHardwareId_example", // String | Filter by device unique hardware id
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2List(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -331,7 +385,8 @@ Name | Type | Description | Notes
**serial** | **String**| Filter by device serial number | [optional]
**showDeleted** | **Boolean**| If true, shows the soft deleted devices | [optional] [default to false]
**tags** | [**[String]**](String.md)| Filter by tags | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **uniqueHardwareId** | **String**| Filter by device unique hardware id | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -367,7 +422,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.DevicesV2Api();
let id = "id_example"; // String | The id of the device
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2Show(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -383,7 +438,7 @@ apiInstance.devicesV2Show(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the device |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -422,7 +477,7 @@ let pid = "pid_example"; // String | The id of the property
let opts = {
'limit': 56, // Number | The number of properties to select
'start': "start_example", // String | The time at which to start selecting properties
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2Timeseries(id, pid, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -441,7 +496,7 @@ Name | Type | Description | Notes
**pid** | **String**| The id of the property |
**limit** | **Number**| The number of properties to select | [optional]
**start** | **String**| The time at which to start selecting properties | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -478,7 +533,7 @@ let apiInstance = new ArduinoIotClient.DevicesV2Api();
let id = "id_example"; // String | The id of the device
let devicev2 = new ArduinoIotClient.Devicev2(); // Devicev2 | DeviceV2 describes a device.
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2Update(id, devicev2, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -495,7 +550,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the device |
**devicev2** | [**Devicev2**](Devicev2.md)| DeviceV2 describes a device. |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -532,7 +587,7 @@ let apiInstance = new ArduinoIotClient.DevicesV2Api();
let id = "id_example"; // String | The id of the device
let propertiesValues = new ArduinoIotClient.PropertiesValues(); // PropertiesValues |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.devicesV2UpdateProperties(id, propertiesValues, opts).then(() => {
console.log('API called successfully.');
@@ -549,7 +604,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the device |
**propertiesValues** | [**PropertiesValues**](PropertiesValues.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
diff --git a/docs/Devicev2.md b/docs/Devicev2.md
index 88f1cc5..4780e65 100644
--- a/docs/Devicev2.md
+++ b/docs/Devicev2.md
@@ -4,12 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**bleMac** | **String** | | [optional]
**connectionType** | **String** | The type of the connections selected by the user when multiple connections are available | [optional]
**fqbn** | **String** | The fully qualified board name | [optional]
**name** | **String** | The friendly name of the device | [optional]
**serial** | **String** | The serial uuid of the device | [optional]
**softDeleted** | **Boolean** | If false, restore the thing from the soft deletion | [optional] [default to false]
**type** | **String** | The type of the device | [optional]
+**uniqueHardwareId** | **String** | | [optional]
**userId** | **String** | The user_id associated to the device. If absent it will be inferred from the authentication header | [optional]
**wifiFwVersion** | **String** | The version of the NINA/WIFI101 firmware running on the device | [optional]
diff --git a/docs/LoraDevicesV1Api.md b/docs/LoraDevicesV1Api.md
index 25f8fed..3339af4 100644
--- a/docs/LoraDevicesV1Api.md
+++ b/docs/LoraDevicesV1Api.md
@@ -28,7 +28,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.LoraDevicesV1Api();
let createLoraDevicesV1Payload = new ArduinoIotClient.CreateLoraDevicesV1Payload(); // CreateLoraDevicesV1Payload |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.loraDevicesV1Create(createLoraDevicesV1Payload, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -44,7 +44,7 @@ apiInstance.loraDevicesV1Create(createLoraDevicesV1Payload, opts).then((data) =>
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**createLoraDevicesV1Payload** | [**CreateLoraDevicesV1Payload**](CreateLoraDevicesV1Payload.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
diff --git a/docs/NetworkCredentialsV1Api.md b/docs/NetworkCredentialsV1Api.md
index d16634e..a8ad982 100644
--- a/docs/NetworkCredentialsV1Api.md
+++ b/docs/NetworkCredentialsV1Api.md
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
## networkCredentialsV1ShowByDevice
-> networkCredentialsV1ShowByDevice(type)
+> ArduinoArduinoconnectionsV1 networkCredentialsV1ShowByDevice(type)
showByDevice network_credentials_v1
@@ -80,8 +80,8 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.NetworkCredentialsV1Api();
let type = "type_example"; // String | Device type
-apiInstance.networkCredentialsV1ShowByDevice(type).then(() => {
- console.log('API called successfully.');
+apiInstance.networkCredentialsV1ShowByDevice(type).then((data) => {
+ console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
@@ -97,7 +97,7 @@ Name | Type | Description | Notes
### Return type
-null (empty response body)
+[**ArduinoArduinoconnectionsV1**](ArduinoArduinoconnectionsV1.md)
### Authorization
@@ -106,5 +106,5 @@ null (empty response body)
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, application/vnd.goa.error+json
+- **Accept**: application/vnd.arduino.arduinoconnections.v1+json, application/vnd.goa.error+json
diff --git a/docs/PropertiesV2Api.md b/docs/PropertiesV2Api.md
index c49ba26..f52203a 100644
--- a/docs/PropertiesV2Api.md
+++ b/docs/PropertiesV2Api.md
@@ -35,7 +35,7 @@ let apiInstance = new ArduinoIotClient.PropertiesV2Api();
let id = "id_example"; // String | The id of the thing
let property = new ArduinoIotClient.Property(); // Property | PropertyPayload describes a property of a thing. No field is mandatory
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Create(id, property, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -52,7 +52,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**property** | [**Property**](Property.md)| PropertyPayload describes a property of a thing. No field is mandatory |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -90,7 +90,7 @@ let id = "id_example"; // String | The id of the thing
let pid = "pid_example"; // String | The id of the property
let opts = {
'force': false, // Boolean | If true, hard delete the property
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Delete(id, pid, opts).then(() => {
console.log('API called successfully.');
@@ -108,7 +108,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the thing |
**pid** | **String**| The id of the property |
**force** | **Boolean**| If true, hard delete the property | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -145,7 +145,7 @@ let apiInstance = new ArduinoIotClient.PropertiesV2Api();
let id = "id_example"; // String | The id of the thing
let opts = {
'showDeleted': false, // Boolean | If true, shows the soft deleted properties
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2List(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -162,7 +162,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**showDeleted** | **Boolean**| If true, shows the soft deleted properties | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -200,7 +200,7 @@ let id = "id_example"; // String | The id of the thing
let pid = "pid_example"; // String | The id of the property
let propertyValue = new ArduinoIotClient.PropertyValue(); // PropertyValue | PropertyValuePayload describes a property value
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Publish(id, pid, propertyValue, opts).then(() => {
console.log('API called successfully.');
@@ -218,7 +218,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the thing |
**pid** | **String**| The id of the property |
**propertyValue** | [**PropertyValue**](PropertyValue.md)| PropertyValuePayload describes a property value |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -256,7 +256,7 @@ let id = "id_example"; // String | The id of the thing
let pid = "pid_example"; // String | The id of the property
let opts = {
'showDeleted': false, // Boolean | If true, shows the soft deleted properties
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Show(id, pid, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -274,7 +274,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the thing |
**pid** | **String**| The id of the property |
**showDeleted** | **Boolean**| If true, shows the soft deleted properties | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -316,7 +316,7 @@ let opts = {
'from': "from_example", // String | Get data with a timestamp >= to this date (default: 2 weeks ago, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
'interval': 56, // Number | Binning interval in seconds (defaut: the smallest possible value compatibly with the limit of 1000 data points in the response)
'to': "to_example", // String | Get data with a timestamp < to this date (default: now, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Timeseries(id, pid, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -338,7 +338,7 @@ Name | Type | Description | Notes
**from** | **String**| Get data with a timestamp >= to this date (default: 2 weeks ago, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z) | [optional]
**interval** | **Number**| Binning interval in seconds (defaut: the smallest possible value compatibly with the limit of 1000 data points in the response) | [optional]
**to** | **String**| Get data with a timestamp < to this date (default: now, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z) | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
@@ -376,7 +376,7 @@ let id = "id_example"; // String | The id of the thing
let pid = "pid_example"; // String | The id of the property
let property = new ArduinoIotClient.Property(); // Property | PropertyPayload describes a property of a thing. No field is mandatory
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String | The id of the organization
};
apiInstance.propertiesV2Update(id, pid, property, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -394,7 +394,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the thing |
**pid** | **String**| The id of the property |
**property** | [**Property**](Property.md)| PropertyPayload describes a property of a thing. No field is mandatory |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| The id of the organization | [optional]
### Return type
diff --git a/docs/SeriesV2Api.md b/docs/SeriesV2Api.md
index 5518e57..5a14a07 100644
--- a/docs/SeriesV2Api.md
+++ b/docs/SeriesV2Api.md
@@ -32,7 +32,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.SeriesV2Api();
let batchQueryRequestsMediaV1 = new ArduinoIotClient.BatchQueryRequestsMediaV1(); // BatchQueryRequestsMediaV1 |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.seriesV2BatchQuery(batchQueryRequestsMediaV1, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -48,7 +48,7 @@ apiInstance.seriesV2BatchQuery(batchQueryRequestsMediaV1, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**batchQueryRequestsMediaV1** | [**BatchQueryRequestsMediaV1**](BatchQueryRequestsMediaV1.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -84,7 +84,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.SeriesV2Api();
let batchQueryRawRequestsMediaV1 = new ArduinoIotClient.BatchQueryRawRequestsMediaV1(); // BatchQueryRawRequestsMediaV1 |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.seriesV2BatchQueryRaw(batchQueryRawRequestsMediaV1, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -100,7 +100,7 @@ apiInstance.seriesV2BatchQueryRaw(batchQueryRawRequestsMediaV1, opts).then((data
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**batchQueryRawRequestsMediaV1** | [**BatchQueryRawRequestsMediaV1**](BatchQueryRawRequestsMediaV1.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -136,7 +136,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.SeriesV2Api();
let batchLastValueRequestsMediaV1 = new ArduinoIotClient.BatchLastValueRequestsMediaV1(); // BatchLastValueRequestsMediaV1 |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.seriesV2BatchQueryRawLastValue(batchLastValueRequestsMediaV1, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -152,7 +152,7 @@ apiInstance.seriesV2BatchQueryRawLastValue(batchLastValueRequestsMediaV1, opts).
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**batchLastValueRequestsMediaV1** | [**BatchLastValueRequestsMediaV1**](BatchLastValueRequestsMediaV1.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -188,7 +188,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.SeriesV2Api();
let batchQuerySampledRequestsMediaV1 = new ArduinoIotClient.BatchQuerySampledRequestsMediaV1(); // BatchQuerySampledRequestsMediaV1 |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.seriesV2BatchQuerySampling(batchQuerySampledRequestsMediaV1, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -204,7 +204,7 @@ apiInstance.seriesV2BatchQuerySampling(batchQuerySampledRequestsMediaV1, opts).t
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**batchQuerySampledRequestsMediaV1** | [**BatchQuerySampledRequestsMediaV1**](BatchQuerySampledRequestsMediaV1.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -240,7 +240,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.SeriesV2Api();
let historicDataRequest = new ArduinoIotClient.HistoricDataRequest(); // HistoricDataRequest |
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.seriesV2HistoricData(historicDataRequest, opts).then(() => {
console.log('API called successfully.');
@@ -256,7 +256,7 @@ apiInstance.seriesV2HistoricData(historicDataRequest, opts).then(() => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**historicDataRequest** | [**HistoricDataRequest**](HistoricDataRequest.md)| |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
diff --git a/docs/TemplatesApi.md b/docs/TemplatesApi.md
index ec93e54..e9e6807 100644
--- a/docs/TemplatesApi.md
+++ b/docs/TemplatesApi.md
@@ -28,7 +28,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.TemplatesApi();
let template = new ArduinoIotClient.Template(); // Template | TemplatePayload describes the needed attribute to apply a template
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.templatesApply(template, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -44,7 +44,7 @@ apiInstance.templatesApply(template, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**template** | [**Template**](Template.md)| TemplatePayload describes the needed attribute to apply a template |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
diff --git a/docs/ThingsV2Api.md b/docs/ThingsV2Api.md
index be36e25..5d81d35 100644
--- a/docs/ThingsV2Api.md
+++ b/docs/ThingsV2Api.md
@@ -38,7 +38,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let thingClone = new ArduinoIotClient.ThingClone(); // ThingClone | Payload to clone a new thing from an existing one
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Clone(id, thingClone, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -55,7 +55,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**thingClone** | [**ThingClone**](ThingClone.md)| Payload to clone a new thing from an existing one |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -92,7 +92,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let thingCreate = new ArduinoIotClient.ThingCreate(); // ThingCreate | Payload to create a new thing
let opts = {
'force': false, // Boolean | If true, detach device from the other thing, and attach to this thing
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Create(thingCreate, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -109,7 +109,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**thingCreate** | [**ThingCreate**](ThingCreate.md)| Payload to create a new thing |
**force** | **Boolean**| If true, detach device from the other thing, and attach to this thing | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -146,7 +146,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let thingSketch = new ArduinoIotClient.ThingSketch(); // ThingSketch | ThingSketchPayload describes a sketch of a thing
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2CreateSketch(id, thingSketch, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -163,7 +163,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**thingSketch** | [**ThingSketch**](ThingSketch.md)| ThingSketchPayload describes a sketch of a thing |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -200,7 +200,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let opts = {
'force': false, // Boolean | If true, hard delete the thing
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Delete(id, opts).then(() => {
console.log('API called successfully.');
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**force** | **Boolean**| If true, hard delete the thing | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -251,7 +251,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2DeleteSketch(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -267,7 +267,7 @@ apiInstance.thingsV2DeleteSketch(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -308,7 +308,7 @@ let opts = {
'showDeleted': false, // Boolean | If true, shows the soft deleted things
'showProperties': false, // Boolean | If true, returns things with their properties, and last values
'tags': ["null"], // [String] | Filter by tags
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2List(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -329,7 +329,7 @@ Name | Type | Description | Notes
**showDeleted** | **Boolean**| If true, shows the soft deleted things | [optional] [default to false]
**showProperties** | **Boolean**| If true, returns things with their properties, and last values | [optional] [default to false]
**tags** | [**[String]**](String.md)| Filter by tags | [optional]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -366,7 +366,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let opts = {
'showDeleted': false, // Boolean | If true, shows the soft deleted thing
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Show(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -383,7 +383,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**showDeleted** | **Boolean**| If true, shows the soft deleted thing | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -419,7 +419,7 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let opts = {
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Template(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -435,7 +435,7 @@ apiInstance.thingsV2Template(id, opts).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -473,7 +473,7 @@ let id = "id_example"; // String | The id of the thing
let thingUpdate = new ArduinoIotClient.ThingUpdate(); // ThingUpdate | Payload to update an existing thing
let opts = {
'force': false, // Boolean | If true, detach device from the other thing, and attach to this thing
- 'xOrganization': "xOrganization_example" // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example" // String |
};
apiInstance.thingsV2Update(id, thingUpdate, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -491,7 +491,7 @@ Name | Type | Description | Notes
**id** | **String**| The id of the thing |
**thingUpdate** | [**ThingUpdate**](ThingUpdate.md)| Payload to update an existing thing |
**force** | **Boolean**| If true, detach device from the other thing, and attach to this thing | [optional] [default to false]
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
### Return type
@@ -528,7 +528,7 @@ let apiInstance = new ArduinoIotClient.ThingsV2Api();
let id = "id_example"; // String | The id of the thing
let sketchId = "sketchId_example"; // String | The id of the sketch
let opts = {
- 'xOrganization': "xOrganization_example", // String | Organization space identifer (optional)
+ 'xOrganization': "xOrganization_example", // String |
'updateSketch': new ArduinoIotClient.UpdateSketch() // UpdateSketch |
};
apiInstance.thingsV2UpdateSketch(id, sketchId, opts).then((data) => {
@@ -546,7 +546,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **String**| The id of the thing |
**sketchId** | **String**| The id of the sketch |
- **xOrganization** | **String**| Organization space identifer (optional) | [optional]
+ **xOrganization** | **String**| | [optional]
**updateSketch** | [**UpdateSketch**](UpdateSketch.md)| | [optional]
### Return type
diff --git a/docs/Usershare.md b/docs/Usershare.md
new file mode 100644
index 0000000..0bf2c4e
--- /dev/null
+++ b/docs/Usershare.md
@@ -0,0 +1,10 @@
+# ArduinoIotClient.Usershare
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**userId** | **String** | The userID of the user you want to share the dashboard with | [optional]
+**username** | **String** | The username of the user you want to share the dashboard with | [optional]
+
+
diff --git a/package.json b/package.json
index 554baf8..dca71a8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@arduino/arduino-iot-client",
- "version": "3.0.0",
+ "version": "3.1.0",
"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 7ba927c..d02abd9 100644
--- a/src/ApiClient.js
+++ b/src/ApiClient.js
@@ -17,7 +17,7 @@ import querystring from "querystring";
/**
* @module ApiClient
-* @version 3.0.0
+* @version 3.1.0
*/
/**
@@ -55,7 +55,7 @@ class ApiClient {
* @default {}
*/
this.defaultHeaders = {
- 'User-Agent': 'OpenAPI-Generator/3.0.0/Javascript'
+ 'User-Agent': 'OpenAPI-Generator/3.1.0/Javascript'
};
/**
diff --git a/src/api/DashboardsV2Api.js b/src/api/DashboardsV2Api.js
index a20d2b8..5817baf 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 3.0.0
+* @version 3.1.0
*/
export default class DashboardsV2Api {
@@ -48,9 +48,9 @@ export default class DashboardsV2Api {
* clone dashboards_v2
* Clone an existing dashboard
* @param {String} id The id of the dashboard
- * @param {module:model/Clone} clone Add overrides used when performing a clone of a dashboard
+ * @param {module:model/Clone} clone
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
*/
dashboardsV2CloneWithHttpInfo(id, clone, opts) {
@@ -91,9 +91,9 @@ export default class DashboardsV2Api {
* clone dashboards_v2
* Clone an existing dashboard
* @param {String} id The id of the dashboard
- * @param {module:model/Clone} clone Add overrides used when performing a clone of a dashboard
+ * @param {module:model/Clone} clone
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2}
*/
dashboardsV2Clone(id, clone, opts) {
@@ -107,9 +107,9 @@ export default class DashboardsV2Api {
/**
* create dashboards_v2
* Create a new dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
*/
dashboardsV2CreateWithHttpInfo(dashboardv2, opts) {
@@ -144,9 +144,9 @@ export default class DashboardsV2Api {
/**
* create dashboards_v2
* Create a new dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2}
*/
dashboardsV2Create(dashboardv2, opts) {
@@ -163,7 +163,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, hard delete the thing
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
dashboardsV2DeleteWithHttpInfo(id, opts) {
@@ -203,7 +203,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, hard delete the thing (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
dashboardsV2Delete(id, opts) {
@@ -220,7 +220,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {String} userId The id of the user
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
dashboardsV2DeleteShareWithHttpInfo(id, userId, opts) {
@@ -264,7 +264,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {String} userId The id of the user
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
dashboardsV2DeleteShare(id, userId, opts) {
@@ -282,7 +282,7 @@ export default class DashboardsV2Api {
* @param {String} widgetId The id of the widget
* @param {module:model/Widgetlink} widgetlink
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoVariableslinks} and HTTP response
*/
dashboardsV2LinkWithHttpInfo(id, widgetId, widgetlink, opts) {
@@ -331,7 +331,7 @@ export default class DashboardsV2Api {
* @param {String} widgetId The id of the widget
* @param {module:model/Widgetlink} widgetlink
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoVariableslinks}
*/
dashboardsV2Link(id, widgetId, widgetlink, opts) {
@@ -346,9 +346,9 @@ export default class DashboardsV2Api {
* list dashboards_v2
* Returns the list of dashboards
* @param {Object} opts Optional parameters
- * @param {String} [name] Filter by name of the dashboard. It support like matching.
- * @param {String} [userId] Filter by user_id of the dashboard's owner
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [name] The name of the dashboard
+ * @param {String} [userId] The user_id of the dashboard's owner
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
*/
dashboardsV2ListWithHttpInfo(opts) {
@@ -382,9 +382,9 @@ export default class DashboardsV2Api {
* list dashboards_v2
* Returns the list of dashboards
* @param {Object} opts Optional parameters
- * @param {String} opts.name Filter by name of the dashboard. It support like matching.
- * @param {String} opts.userId Filter by user_id of the dashboard's owner
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.name The name of the dashboard
+ * @param {String} opts.userId The user_id of the dashboard's owner
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
*/
dashboardsV2List(opts) {
@@ -400,7 +400,7 @@ export default class DashboardsV2Api {
* List of users the dashboard has been shared with
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
*/
dashboardsV2ListSharesWithHttpInfo(id, opts) {
@@ -438,7 +438,7 @@ export default class DashboardsV2Api {
* List of users the dashboard has been shared with
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
*/
dashboardsV2ListShares(id, opts) {
@@ -453,9 +453,9 @@ export default class DashboardsV2Api {
* patch dashboards_v2
* Updates an existing dashboard field without overwriting the existing data
* @param {String} id The id of the dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
*/
dashboardsV2PatchWithHttpInfo(id, dashboardv2, opts) {
@@ -496,9 +496,9 @@ export default class DashboardsV2Api {
* patch dashboards_v2
* Updates an existing dashboard field without overwriting the existing data
* @param {String} id The id of the dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2}
*/
dashboardsV2Patch(id, dashboardv2, opts) {
@@ -515,7 +515,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {module:model/Sharerequest} sharerequest
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
dashboardsV2RequestAccessWithHttpInfo(id, sharerequest, opts) {
@@ -558,7 +558,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {module:model/Sharerequest} sharerequest
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
dashboardsV2RequestAccess(id, sharerequest, opts) {
@@ -575,7 +575,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {module:model/Dashboardshare} dashboardshare
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
dashboardsV2ShareWithHttpInfo(id, dashboardshare, opts) {
@@ -618,7 +618,7 @@ export default class DashboardsV2Api {
* @param {String} id The id of the dashboard
* @param {module:model/Dashboardshare} dashboardshare
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
dashboardsV2Share(id, dashboardshare, opts) {
@@ -631,10 +631,10 @@ export default class DashboardsV2Api {
/**
* show dashboards_v2
- * Show a dashboard by id
+ * Show a dashboard
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
*/
dashboardsV2ShowWithHttpInfo(id, opts) {
@@ -669,10 +669,10 @@ export default class DashboardsV2Api {
/**
* show dashboards_v2
- * Show a dashboard by id
+ * Show a dashboard
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2}
*/
dashboardsV2Show(id, opts) {
@@ -688,7 +688,7 @@ export default class DashboardsV2Api {
* Get a template of the dashboard
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2template} and HTTP response
*/
dashboardsV2TemplateWithHttpInfo(id, opts) {
@@ -726,7 +726,7 @@ export default class DashboardsV2Api {
* Get a template of the dashboard
* @param {String} id The id of the dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2template}
*/
dashboardsV2Template(id, opts) {
@@ -741,9 +741,9 @@ export default class DashboardsV2Api {
* update dashboards_v2
* Updates an existing dashboard
* @param {String} id The id of the dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
*/
dashboardsV2UpdateWithHttpInfo(id, dashboardv2, opts) {
@@ -784,9 +784,9 @@ export default class DashboardsV2Api {
* update dashboards_v2
* Updates an existing dashboard
* @param {String} id The id of the dashboard
- * @param {module:model/Dashboardv2} dashboardv2 Describes a dashboard
+ * @param {module:model/Dashboardv2} dashboardv2 DashboardV2Payload describes a dashboard
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDashboardv2}
*/
dashboardsV2Update(id, dashboardv2, opts) {
diff --git a/src/api/DevicesV2Api.js b/src/api/DevicesV2Api.js
index a80381e..db3bbdb 100644
--- a/src/api/DevicesV2Api.js
+++ b/src/api/DevicesV2Api.js
@@ -18,6 +18,7 @@ import ArduinoDevicev2EventProperties from '../model/ArduinoDevicev2EventPropert
import ArduinoDevicev2StatusEvents from '../model/ArduinoDevicev2StatusEvents';
import ArduinoDevicev2properties from '../model/ArduinoDevicev2properties';
import ArduinoDevicev2propertyvalues from '../model/ArduinoDevicev2propertyvalues';
+import CreateClaimedDevicesV2Payload from '../model/CreateClaimedDevicesV2Payload';
import CreateDevicesV2Payload from '../model/CreateDevicesV2Payload';
import Devicev2 from '../model/Devicev2';
import Error from '../model/Error';
@@ -26,7 +27,7 @@ import PropertiesValues from '../model/PropertiesValues';
/**
* DevicesV2 service.
* @module api/DevicesV2Api
-* @version 3.0.0
+* @version 3.1.0
*/
export default class DevicesV2Api {
@@ -48,7 +49,7 @@ export default class DevicesV2Api {
* Creates a new device associated to the user.
* @param {module:model/CreateDevicesV2Payload} createDevicesV2Payload DeviceV2 describes a device.
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2} and HTTP response
*/
devicesV2CreateWithHttpInfo(createDevicesV2Payload, opts) {
@@ -85,7 +86,7 @@ export default class DevicesV2Api {
* Creates a new device associated to the user.
* @param {module:model/CreateDevicesV2Payload} createDevicesV2Payload DeviceV2 describes a device.
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2}
*/
devicesV2Create(createDevicesV2Payload, opts) {
@@ -96,13 +97,66 @@ export default class DevicesV2Api {
}
+ /**
+ * createClaimed devices_v2
+ * Creates a new device associated to the user.
+ * @param {module:model/CreateClaimedDevicesV2Payload} createClaimedDevicesV2Payload DeviceV2 describes a device.
+ * @param {Object} opts Optional parameters
+ * @param {String} [xOrganization]
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2} and HTTP response
+ */
+ devicesV2CreateClaimedWithHttpInfo(createClaimedDevicesV2Payload, opts) {
+ opts = opts || {};
+ let postBody = createClaimedDevicesV2Payload;
+ // verify the required parameter 'createClaimedDevicesV2Payload' is set
+ if (createClaimedDevicesV2Payload === undefined || createClaimedDevicesV2Payload === null) {
+ throw new Error("Missing the required parameter 'createClaimedDevicesV2Payload' when calling devicesV2CreateClaimed");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ 'X-Organization': opts['xOrganization']
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json'];
+ let accepts = ['application/vnd.arduino.devicev2+json', 'application/vnd.goa.error+json'];
+ let returnType = ArduinoDevicev2;
+ return this.apiClient.callApi(
+ '/iot/v2/devices/claim', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null
+ );
+ }
+
+ /**
+ * createClaimed devices_v2
+ * Creates a new device associated to the user.
+ * @param {module:model/CreateClaimedDevicesV2Payload} createClaimedDevicesV2Payload DeviceV2 describes a device.
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.xOrganization
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2}
+ */
+ devicesV2CreateClaimed(createClaimedDevicesV2Payload, opts) {
+ return this.devicesV2CreateClaimedWithHttpInfo(createClaimedDevicesV2Payload, opts)
+ .then(function(response_and_data) {
+ return response_and_data.data;
+ });
+ }
+
+
/**
* delete devices_v2
* Removes a device associated to the user
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, hard delete the device
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
devicesV2DeleteWithHttpInfo(id, opts) {
@@ -142,7 +196,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, hard delete the device (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
devicesV2Delete(id, opts) {
@@ -160,7 +214,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} [limit] The number of events to select
* @param {String} [start] The time at which to start selecting events
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2EventProperties} and HTTP response
*/
devicesV2GetEventsWithHttpInfo(id, opts) {
@@ -202,7 +256,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} opts.limit The number of events to select
* @param {String} opts.start The time at which to start selecting events
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2EventProperties}
*/
devicesV2GetEvents(id, opts) {
@@ -219,7 +273,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted properties
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2properties} and HTTP response
*/
devicesV2GetPropertiesWithHttpInfo(id, opts) {
@@ -259,7 +313,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2properties}
*/
devicesV2GetProperties(id, opts) {
@@ -277,7 +331,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} [limit = 30)] The number of events to select
* @param {String} [start] The time at which to start selecting events
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2StatusEvents} and HTTP response
*/
devicesV2GetStatusEventsWithHttpInfo(id, opts) {
@@ -319,7 +373,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} opts.limit The number of events to select (default to 30)
* @param {String} opts.start The time at which to start selecting events
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2StatusEvents}
*/
devicesV2GetStatusEvents(id, opts) {
@@ -338,7 +392,8 @@ export default class DevicesV2Api {
* @param {String} [serial] Filter by device serial number
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted devices
* @param {Array.} [tags] Filter by tags
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [uniqueHardwareId] Filter by device unique hardware id
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
*/
devicesV2ListWithHttpInfo(opts) {
@@ -351,7 +406,8 @@ export default class DevicesV2Api {
'across_user_ids': opts['acrossUserIds'],
'serial': opts['serial'],
'show_deleted': opts['showDeleted'],
- 'tags': this.apiClient.buildCollectionParam(opts['tags'], 'multi')
+ 'tags': this.apiClient.buildCollectionParam(opts['tags'], 'multi'),
+ 'unique_hardware_id': opts['uniqueHardwareId']
};
let headerParams = {
'X-Organization': opts['xOrganization']
@@ -378,7 +434,8 @@ export default class DevicesV2Api {
* @param {String} opts.serial Filter by device serial number
* @param {Boolean} opts.showDeleted If true, shows the soft deleted devices (default to false)
* @param {Array.} opts.tags Filter by tags
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.uniqueHardwareId Filter by device unique hardware id
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
*/
devicesV2List(opts) {
@@ -394,7 +451,7 @@ export default class DevicesV2Api {
* Returns the device requested by the user
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2} and HTTP response
*/
devicesV2ShowWithHttpInfo(id, opts) {
@@ -432,7 +489,7 @@ export default class DevicesV2Api {
* Returns the device requested by the user
* @param {String} id The id of the device
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2}
*/
devicesV2Show(id, opts) {
@@ -451,7 +508,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} [limit] The number of properties to select
* @param {String} [start] The time at which to start selecting properties
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2propertyvalues} and HTTP response
*/
devicesV2TimeseriesWithHttpInfo(id, pid, opts) {
@@ -499,7 +556,7 @@ export default class DevicesV2Api {
* @param {Object} opts Optional parameters
* @param {Number} opts.limit The number of properties to select
* @param {String} opts.start The time at which to start selecting properties
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2propertyvalues}
*/
devicesV2Timeseries(id, pid, opts) {
@@ -516,7 +573,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {module:model/Devicev2} devicev2 DeviceV2 describes a device.
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDevicev2} and HTTP response
*/
devicesV2UpdateWithHttpInfo(id, devicev2, opts) {
@@ -559,7 +616,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {module:model/Devicev2} devicev2 DeviceV2 describes a device.
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoDevicev2}
*/
devicesV2Update(id, devicev2, opts) {
@@ -576,7 +633,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {module:model/PropertiesValues} propertiesValues
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
devicesV2UpdatePropertiesWithHttpInfo(id, propertiesValues, opts) {
@@ -619,7 +676,7 @@ export default class DevicesV2Api {
* @param {String} id The id of the device
* @param {module:model/PropertiesValues} propertiesValues
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
devicesV2UpdateProperties(id, propertiesValues, opts) {
diff --git a/src/api/DevicesV2CertsApi.js b/src/api/DevicesV2CertsApi.js
index 77dce0c..bb5126b 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 3.0.0
+* @version 3.1.0
*/
export default class DevicesV2CertsApi {
diff --git a/src/api/DevicesV2OtaApi.js b/src/api/DevicesV2OtaApi.js
index 176efa5..c4581fe 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 3.0.0
+* @version 3.1.0
*/
export default class DevicesV2OtaApi {
diff --git a/src/api/DevicesV2PassApi.js b/src/api/DevicesV2PassApi.js
index 37b0551..b21f8f2 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 3.0.0
+* @version 3.1.0
*/
export default class DevicesV2PassApi {
diff --git a/src/api/DevicesV2TagsApi.js b/src/api/DevicesV2TagsApi.js
index a0ce176..942a509 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 3.0.0
+* @version 3.1.0
*/
export default class DevicesV2TagsApi {
diff --git a/src/api/LoraDevicesV1Api.js b/src/api/LoraDevicesV1Api.js
index 4e96e2b..22b9135 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 3.0.0
+* @version 3.1.0
*/
export default class LoraDevicesV1Api {
@@ -41,7 +41,7 @@ export default class LoraDevicesV1Api {
* Create a new lora device. Its info are saved on our database, and on the lora provider network. Creates a device_v2 automatically
* @param {module:model/CreateLoraDevicesV1Payload} createLoraDevicesV1Payload
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoLoradevicev1} and HTTP response
*/
loraDevicesV1CreateWithHttpInfo(createLoraDevicesV1Payload, opts) {
@@ -78,7 +78,7 @@ export default class LoraDevicesV1Api {
* Create a new lora device. Its info are saved on our database, and on the lora provider network. Creates a device_v2 automatically
* @param {module:model/CreateLoraDevicesV1Payload} createLoraDevicesV1Payload
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoLoradevicev1}
*/
loraDevicesV1Create(createLoraDevicesV1Payload, opts) {
diff --git a/src/api/LoraFreqPlanV1Api.js b/src/api/LoraFreqPlanV1Api.js
index a182779..b01c9f5 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 3.0.0
+* @version 3.1.0
*/
export default class LoraFreqPlanV1Api {
diff --git a/src/api/NetworkCredentialsV1Api.js b/src/api/NetworkCredentialsV1Api.js
index dc58cfd..b84e560 100644
--- a/src/api/NetworkCredentialsV1Api.js
+++ b/src/api/NetworkCredentialsV1Api.js
@@ -13,13 +13,14 @@
import ApiClient from "../ApiClient";
+import ArduinoArduinoconnectionsV1 from '../model/ArduinoArduinoconnectionsV1';
import ArduinoCredentialsv1 from '../model/ArduinoCredentialsv1';
import Error from '../model/Error';
/**
* NetworkCredentialsV1 service.
* @module api/NetworkCredentialsV1Api
-* @version 3.0.0
+* @version 3.1.0
*/
export default class NetworkCredentialsV1Api {
@@ -94,7 +95,7 @@ export default class NetworkCredentialsV1Api {
* showByDevice network_credentials_v1
* Show available connection types depending on device type
* @param {module:model/String} type Device type
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoArduinoconnectionsV1} and HTTP response
*/
networkCredentialsV1ShowByDeviceWithHttpInfo(type) {
let postBody = null;
@@ -115,8 +116,8 @@ export default class NetworkCredentialsV1Api {
let authNames = ['oauth2'];
let contentTypes = [];
- let accepts = ['application/json', 'application/vnd.goa.error+json'];
- let returnType = null;
+ let accepts = ['application/vnd.arduino.arduinoconnections.v1+json', 'application/vnd.goa.error+json'];
+ let returnType = ArduinoArduinoconnectionsV1;
return this.apiClient.callApi(
'/iot/v1/network_credentials/{type}/connections', 'GET',
pathParams, queryParams, headerParams, formParams, postBody,
@@ -128,7 +129,7 @@ export default class NetworkCredentialsV1Api {
* showByDevice network_credentials_v1
* Show available connection types depending on device type
* @param {module:model/String} type Device type
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoArduinoconnectionsV1}
*/
networkCredentialsV1ShowByDevice(type) {
return this.networkCredentialsV1ShowByDeviceWithHttpInfo(type)
diff --git a/src/api/PropertiesV2Api.js b/src/api/PropertiesV2Api.js
index f95853c..7dba86a 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 3.0.0
+* @version 3.1.0
*/
export default class PropertiesV2Api {
@@ -45,7 +45,7 @@ export default class PropertiesV2Api {
* @param {String} id The id of the thing
* @param {module:model/Property} property PropertyPayload describes a property of a thing. No field is mandatory
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoProperty} and HTTP response
*/
propertiesV2CreateWithHttpInfo(id, property, opts) {
@@ -88,7 +88,7 @@ export default class PropertiesV2Api {
* @param {String} id The id of the thing
* @param {module:model/Property} property PropertyPayload describes a property of a thing. No field is mandatory
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoProperty}
*/
propertiesV2Create(id, property, opts) {
@@ -106,7 +106,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, hard delete the property
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
propertiesV2DeleteWithHttpInfo(id, pid, opts) {
@@ -152,7 +152,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, hard delete the property (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
propertiesV2Delete(id, pid, opts) {
@@ -169,7 +169,7 @@ export default class PropertiesV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted properties
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
*/
propertiesV2ListWithHttpInfo(id, opts) {
@@ -209,7 +209,7 @@ export default class PropertiesV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
*/
propertiesV2List(id, opts) {
@@ -227,7 +227,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {module:model/PropertyValue} propertyValue PropertyValuePayload describes a property value
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
propertiesV2PublishWithHttpInfo(id, pid, propertyValue, opts) {
@@ -276,7 +276,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {module:model/PropertyValue} propertyValue PropertyValuePayload describes a property value
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
propertiesV2Publish(id, pid, propertyValue, opts) {
@@ -294,7 +294,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {Object} opts Optional parameters
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted properties
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoProperty} and HTTP response
*/
propertiesV2ShowWithHttpInfo(id, pid, opts) {
@@ -340,7 +340,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {Object} opts Optional parameters
* @param {Boolean} opts.showDeleted If true, shows the soft deleted properties (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoProperty}
*/
propertiesV2Show(id, pid, opts) {
@@ -362,7 +362,7 @@ export default class PropertiesV2Api {
* @param {String} [from] Get data with a timestamp >= to this date (default: 2 weeks ago, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
* @param {Number} [interval] Binning interval in seconds (defaut: the smallest possible value compatibly with the limit of 1000 data points in the response)
* @param {String} [to] Get data with a timestamp < to this date (default: now, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoTimeseriesmedia} and HTTP response
*/
propertiesV2TimeseriesWithHttpInfo(id, pid, opts) {
@@ -416,7 +416,7 @@ export default class PropertiesV2Api {
* @param {String} opts.from Get data with a timestamp >= to this date (default: 2 weeks ago, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
* @param {Number} opts.interval Binning interval in seconds (defaut: the smallest possible value compatibly with the limit of 1000 data points in the response)
* @param {String} opts.to Get data with a timestamp < to this date (default: now, min: 1842-01-01T00:00:00Z, max: 2242-01-01T00:00:00Z)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoTimeseriesmedia}
*/
propertiesV2Timeseries(id, pid, opts) {
@@ -434,7 +434,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {module:model/Property} property PropertyPayload describes a property of a thing. No field is mandatory
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization] The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoProperty} and HTTP response
*/
propertiesV2UpdateWithHttpInfo(id, pid, property, opts) {
@@ -483,7 +483,7 @@ export default class PropertiesV2Api {
* @param {String} pid The id of the property
* @param {module:model/Property} property PropertyPayload describes a property of a thing. No field is mandatory
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization The id of the organization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoProperty}
*/
propertiesV2Update(id, pid, property, opts) {
diff --git a/src/api/PropertyTypesV1Api.js b/src/api/PropertyTypesV1Api.js
index 8b6283b..ab671da 100644
--- a/src/api/PropertyTypesV1Api.js
+++ b/src/api/PropertyTypesV1Api.js
@@ -19,7 +19,7 @@ import Error from '../model/Error';
/**
* PropertyTypesV1 service.
* @module api/PropertyTypesV1Api
-* @version 3.0.0
+* @version 3.1.0
*/
export default class PropertyTypesV1Api {
diff --git a/src/api/SeriesV2Api.js b/src/api/SeriesV2Api.js
index f78e9cc..69fdb01 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 3.0.0
+* @version 3.1.0
*/
export default class SeriesV2Api {
@@ -49,7 +49,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series aggregated samples
* @param {module:model/BatchQueryRequestsMediaV1} batchQueryRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoSeriesBatch} and HTTP response
*/
seriesV2BatchQueryWithHttpInfo(batchQueryRequestsMediaV1, opts) {
@@ -86,7 +86,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series aggregated samples
* @param {module:model/BatchQueryRequestsMediaV1} batchQueryRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoSeriesBatch}
*/
seriesV2BatchQuery(batchQueryRequestsMediaV1, opts) {
@@ -102,7 +102,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series raw samples
* @param {module:model/BatchQueryRawRequestsMediaV1} batchQueryRawRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoSeriesRawBatch} and HTTP response
*/
seriesV2BatchQueryRawWithHttpInfo(batchQueryRawRequestsMediaV1, opts) {
@@ -139,7 +139,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series raw samples
* @param {module:model/BatchQueryRawRequestsMediaV1} batchQueryRawRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoSeriesRawBatch}
*/
seriesV2BatchQueryRaw(batchQueryRawRequestsMediaV1, opts) {
@@ -155,7 +155,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series data raw
* @param {module:model/BatchLastValueRequestsMediaV1} batchLastValueRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoSeriesRawBatchLastvalue} and HTTP response
*/
seriesV2BatchQueryRawLastValueWithHttpInfo(batchLastValueRequestsMediaV1, opts) {
@@ -192,7 +192,7 @@ export default class SeriesV2Api {
* Returns the batch of time-series data raw
* @param {module:model/BatchLastValueRequestsMediaV1} batchLastValueRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoSeriesRawBatchLastvalue}
*/
seriesV2BatchQueryRawLastValue(batchLastValueRequestsMediaV1, opts) {
@@ -208,7 +208,7 @@ export default class SeriesV2Api {
* Returns a batch of time-series sampled samples. To be used for types that does not support mathematic aggregation. Types supported: strings, complex types.
* @param {module:model/BatchQuerySampledRequestsMediaV1} batchQuerySampledRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoSeriesBatchSampled} and HTTP response
*/
seriesV2BatchQuerySamplingWithHttpInfo(batchQuerySampledRequestsMediaV1, opts) {
@@ -245,7 +245,7 @@ export default class SeriesV2Api {
* Returns a batch of time-series sampled samples. To be used for types that does not support mathematic aggregation. Types supported: strings, complex types.
* @param {module:model/BatchQuerySampledRequestsMediaV1} batchQuerySampledRequestsMediaV1
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoSeriesBatchSampled}
*/
seriesV2BatchQuerySampling(batchQuerySampledRequestsMediaV1, opts) {
@@ -261,7 +261,7 @@ export default class SeriesV2Api {
* Request sending of historical data of properties by email
* @param {module:model/HistoricDataRequest} historicDataRequest
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
seriesV2HistoricDataWithHttpInfo(historicDataRequest, opts) {
@@ -298,7 +298,7 @@ export default class SeriesV2Api {
* Request sending of historical data of properties by email
* @param {module:model/HistoricDataRequest} historicDataRequest
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
seriesV2HistoricData(historicDataRequest, opts) {
diff --git a/src/api/TemplatesApi.js b/src/api/TemplatesApi.js
index 777bd2c..f0b03b4 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 3.0.0
+* @version 3.1.0
*/
export default class TemplatesApi {
@@ -42,7 +42,7 @@ export default class TemplatesApi {
* Apply an existing cloud template and generate all the needed resources
* @param {module:model/Template} template TemplatePayload describes the needed attribute to apply a template
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoTemplate} and HTTP response
*/
templatesApplyWithHttpInfo(template, opts) {
@@ -79,7 +79,7 @@ export default class TemplatesApi {
* Apply an existing cloud template and generate all the needed resources
* @param {module:model/Template} template TemplatePayload describes the needed attribute to apply a template
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoTemplate}
*/
templatesApply(template, opts) {
diff --git a/src/api/ThingsV2Api.js b/src/api/ThingsV2Api.js
index dda1d91..8934604 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 3.0.0
+* @version 3.1.0
*/
export default class ThingsV2Api {
@@ -48,7 +48,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {module:model/ThingClone} thingClone Payload to clone a new thing from an existing one
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2CloneWithHttpInfo(id, thingClone, opts) {
@@ -91,7 +91,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {module:model/ThingClone} thingClone Payload to clone a new thing from an existing one
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2Clone(id, thingClone, opts) {
@@ -108,7 +108,7 @@ export default class ThingsV2Api {
* @param {module:model/ThingCreate} thingCreate Payload to create a new thing
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, detach device from the other thing, and attach to this thing
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2CreateWithHttpInfo(thingCreate, opts) {
@@ -147,7 +147,7 @@ export default class ThingsV2Api {
* @param {module:model/ThingCreate} thingCreate Payload to create a new thing
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, detach device from the other thing, and attach to this thing (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2Create(thingCreate, opts) {
@@ -164,7 +164,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {module:model/ThingSketch} thingSketch ThingSketchPayload describes a sketch of a thing
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2CreateSketchWithHttpInfo(id, thingSketch, opts) {
@@ -207,7 +207,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {module:model/ThingSketch} thingSketch ThingSketchPayload describes a sketch of a thing
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2CreateSketch(id, thingSketch, opts) {
@@ -224,7 +224,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, hard delete the thing
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
*/
thingsV2DeleteWithHttpInfo(id, opts) {
@@ -264,7 +264,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, hard delete the thing (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
*/
thingsV2Delete(id, opts) {
@@ -279,7 +279,7 @@ export default class ThingsV2Api {
* deleteSketch things_v2
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2DeleteSketchWithHttpInfo(id, opts) {
@@ -316,7 +316,7 @@ export default class ThingsV2Api {
* deleteSketch things_v2
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2DeleteSketch(id, opts) {
@@ -337,7 +337,7 @@ export default class ThingsV2Api {
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted things
* @param {Boolean} [showProperties = false)] If true, returns things with their properties, and last values
* @param {Array.} [tags] Filter by tags
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.} and HTTP response
*/
thingsV2ListWithHttpInfo(opts) {
@@ -381,7 +381,7 @@ export default class ThingsV2Api {
* @param {Boolean} opts.showDeleted If true, shows the soft deleted things (default to false)
* @param {Boolean} opts.showProperties If true, returns things with their properties, and last values (default to false)
* @param {Array.} opts.tags Filter by tags
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.}
*/
thingsV2List(opts) {
@@ -398,7 +398,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} [showDeleted = false)] If true, shows the soft deleted thing
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2ShowWithHttpInfo(id, opts) {
@@ -438,7 +438,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
* @param {Boolean} opts.showDeleted If true, shows the soft deleted thing (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2Show(id, opts) {
@@ -454,7 +454,7 @@ export default class ThingsV2Api {
* Extract template from the given thing
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThingtemplate} and HTTP response
*/
thingsV2TemplateWithHttpInfo(id, opts) {
@@ -492,7 +492,7 @@ export default class ThingsV2Api {
* Extract template from the given thing
* @param {String} id The id of the thing
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThingtemplate}
*/
thingsV2Template(id, opts) {
@@ -510,7 +510,7 @@ export default class ThingsV2Api {
* @param {module:model/ThingUpdate} thingUpdate Payload to update an existing thing
* @param {Object} opts Optional parameters
* @param {Boolean} [force = false)] If true, detach device from the other thing, and attach to this thing
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
thingsV2UpdateWithHttpInfo(id, thingUpdate, opts) {
@@ -555,7 +555,7 @@ export default class ThingsV2Api {
* @param {module:model/ThingUpdate} thingUpdate Payload to update an existing thing
* @param {Object} opts Optional parameters
* @param {Boolean} opts.force If true, detach device from the other thing, and attach to this thing (default to false)
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
thingsV2Update(id, thingUpdate, opts) {
@@ -572,7 +572,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {String} sketchId The id of the sketch
* @param {Object} opts Optional parameters
- * @param {String} [xOrganization] Organization space identifer (optional)
+ * @param {String} [xOrganization]
* @param {module:model/UpdateSketch} [updateSketch]
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoThing} and HTTP response
*/
@@ -617,7 +617,7 @@ export default class ThingsV2Api {
* @param {String} id The id of the thing
* @param {String} sketchId The id of the sketch
* @param {Object} opts Optional parameters
- * @param {String} opts.xOrganization Organization space identifer (optional)
+ * @param {String} opts.xOrganization
* @param {module:model/UpdateSketch} opts.updateSketch
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoThing}
*/
diff --git a/src/api/ThingsV2TagsApi.js b/src/api/ThingsV2TagsApi.js
index 5096aa7..9f26ca8 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 3.0.0
+* @version 3.1.0
*/
export default class ThingsV2TagsApi {
diff --git a/src/api/TriggersV1Api.js b/src/api/TriggersV1Api.js
index bec1d4b..87def79 100644
--- a/src/api/TriggersV1Api.js
+++ b/src/api/TriggersV1Api.js
@@ -25,7 +25,7 @@ import UpdateAction from '../model/UpdateAction';
/**
* TriggersV1 service.
* @module api/TriggersV1Api
-* @version 3.0.0
+* @version 3.1.0
*/
export default class TriggersV1Api {
diff --git a/src/index.js b/src/index.js
index 6cf0a4a..b392cc5 100644
--- a/src/index.js
+++ b/src/index.js
@@ -15,6 +15,7 @@
import ApiClient from './ApiClient';
import ArduinoAction from './model/ArduinoAction';
import ArduinoActionTemplate from './model/ArduinoActionTemplate';
+import ArduinoArduinoconnectionsV1 from './model/ArduinoArduinoconnectionsV1';
import ArduinoCompressedv2 from './model/ArduinoCompressedv2';
import ArduinoCredentialsv1 from './model/ArduinoCredentialsv1';
import ArduinoDashboardowner from './model/ArduinoDashboardowner';
@@ -83,6 +84,7 @@ import BodyExpression from './model/BodyExpression';
import CheckDevicesV2PassPayload from './model/CheckDevicesV2PassPayload';
import Clone from './model/Clone';
import CreateAction from './model/CreateAction';
+import CreateClaimedDevicesV2Payload from './model/CreateClaimedDevicesV2Payload';
import CreateDevicesV2CertsPayload from './model/CreateDevicesV2CertsPayload';
import CreateDevicesV2Payload from './model/CreateDevicesV2Payload';
import CreateLoraDevicesV1Payload from './model/CreateLoraDevicesV1Payload';
@@ -119,6 +121,7 @@ import Trigger from './model/Trigger';
import UpdateAction from './model/UpdateAction';
import UpdateSketch from './model/UpdateSketch';
import UserRecipient from './model/UserRecipient';
+import Usershare from './model/Usershare';
import Variable from './model/Variable';
import Widget from './model/Widget';
import Widgetlink from './model/Widgetlink';
@@ -169,7 +172,7 @@ import TriggersV1Api from './api/TriggersV1Api';
*
*
* @module index
-* @version 3.0.0
+* @version 3.1.0
*/
export {
/**
@@ -190,6 +193,12 @@ export {
*/
ArduinoActionTemplate,
+ /**
+ * The ArduinoArduinoconnectionsV1 model constructor.
+ * @property {module:model/ArduinoArduinoconnectionsV1}
+ */
+ ArduinoArduinoconnectionsV1,
+
/**
* The ArduinoCompressedv2 model constructor.
* @property {module:model/ArduinoCompressedv2}
@@ -598,6 +607,12 @@ export {
*/
CreateAction,
+ /**
+ * The CreateClaimedDevicesV2Payload model constructor.
+ * @property {module:model/CreateClaimedDevicesV2Payload}
+ */
+ CreateClaimedDevicesV2Payload,
+
/**
* The CreateDevicesV2CertsPayload model constructor.
* @property {module:model/CreateDevicesV2CertsPayload}
@@ -814,6 +829,12 @@ export {
*/
UserRecipient,
+ /**
+ * The Usershare model constructor.
+ * @property {module:model/Usershare}
+ */
+ Usershare,
+
/**
* The Variable model constructor.
* @property {module:model/Variable}
diff --git a/src/model/ArduinoAction.js b/src/model/ArduinoAction.js
index e3d6059..800f603 100644
--- a/src/model/ArduinoAction.js
+++ b/src/model/ArduinoAction.js
@@ -18,7 +18,7 @@ import PushAction from './PushAction';
/**
* The ArduinoAction model module.
* @module model/ArduinoAction
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoAction {
/**
diff --git a/src/model/ArduinoActionTemplate.js b/src/model/ArduinoActionTemplate.js
index 5583884..3fbf815 100644
--- a/src/model/ArduinoActionTemplate.js
+++ b/src/model/ArduinoActionTemplate.js
@@ -18,7 +18,7 @@ import PushAction from './PushAction';
/**
* The ArduinoActionTemplate model module.
* @module model/ArduinoActionTemplate
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoActionTemplate {
/**
diff --git a/src/model/ArduinoArduinoconnectionsV1.js b/src/model/ArduinoArduinoconnectionsV1.js
new file mode 100644
index 0000000..7d5326f
--- /dev/null
+++ b/src/model/ArduinoArduinoconnectionsV1.js
@@ -0,0 +1,229 @@
+/**
+ * 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 ArduinoCredentialsv1 from './ArduinoCredentialsv1';
+
+/**
+ * The ArduinoArduinoconnectionsV1 model module.
+ * @module model/ArduinoArduinoconnectionsV1
+ * @version 3.1.0
+ */
+class ArduinoArduinoconnectionsV1 {
+ /**
+ * Constructs a new ArduinoArduinoconnectionsV1
.
+ * ArduinoArduinoconnectionsV1 media type (default view)
+ * @alias module:model/ArduinoArduinoconnectionsV1
+ */
+ constructor() {
+
+ ArduinoArduinoconnectionsV1.initialize(this);
+ }
+
+ /**
+ * 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) {
+ }
+
+ /**
+ * Constructs a ArduinoArduinoconnectionsV1
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/ArduinoArduinoconnectionsV1} obj Optional instance to populate.
+ * @return {module:model/ArduinoArduinoconnectionsV1} The populated ArduinoArduinoconnectionsV1
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ArduinoArduinoconnectionsV1();
+
+ if (data.hasOwnProperty('catm1')) {
+ obj['catm1'] = ApiClient.convertToType(data['catm1'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('cellular')) {
+ obj['cellular'] = ApiClient.convertToType(data['cellular'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('eth')) {
+ obj['eth'] = ApiClient.convertToType(data['eth'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('gsm')) {
+ obj['gsm'] = ApiClient.convertToType(data['gsm'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('lora')) {
+ obj['lora'] = ApiClient.convertToType(data['lora'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('nb')) {
+ obj['nb'] = ApiClient.convertToType(data['nb'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('wifi')) {
+ obj['wifi'] = ApiClient.convertToType(data['wifi'], [ArduinoCredentialsv1]);
+ }
+ if (data.hasOwnProperty('wifiandsecret')) {
+ obj['wifiandsecret'] = ApiClient.convertToType(data['wifiandsecret'], [ArduinoCredentialsv1]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ArduinoArduinoconnectionsV1
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ArduinoArduinoconnectionsV1
.
+ */
+ static validateJSON(data) {
+ if (data['catm1']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['catm1'])) {
+ throw new Error("Expected the field `catm1` to be an array in the JSON data but got " + data['catm1']);
+ }
+ // validate the optional field `catm1` (array)
+ for (const item of data['catm1']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['cellular']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['cellular'])) {
+ throw new Error("Expected the field `cellular` to be an array in the JSON data but got " + data['cellular']);
+ }
+ // validate the optional field `cellular` (array)
+ for (const item of data['cellular']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['eth']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['eth'])) {
+ throw new Error("Expected the field `eth` to be an array in the JSON data but got " + data['eth']);
+ }
+ // validate the optional field `eth` (array)
+ for (const item of data['eth']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['gsm']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['gsm'])) {
+ throw new Error("Expected the field `gsm` to be an array in the JSON data but got " + data['gsm']);
+ }
+ // validate the optional field `gsm` (array)
+ for (const item of data['gsm']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['lora']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['lora'])) {
+ throw new Error("Expected the field `lora` to be an array in the JSON data but got " + data['lora']);
+ }
+ // validate the optional field `lora` (array)
+ for (const item of data['lora']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['nb']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['nb'])) {
+ throw new Error("Expected the field `nb` to be an array in the JSON data but got " + data['nb']);
+ }
+ // validate the optional field `nb` (array)
+ for (const item of data['nb']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['wifi']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['wifi'])) {
+ throw new Error("Expected the field `wifi` to be an array in the JSON data but got " + data['wifi']);
+ }
+ // validate the optional field `wifi` (array)
+ for (const item of data['wifi']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+ if (data['wifiandsecret']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['wifiandsecret'])) {
+ throw new Error("Expected the field `wifiandsecret` to be an array in the JSON data but got " + data['wifiandsecret']);
+ }
+ // validate the optional field `wifiandsecret` (array)
+ for (const item of data['wifiandsecret']) {
+ ArduinoCredentialsv1.validateJSON(item);
+ };
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} catm1
+ */
+ArduinoArduinoconnectionsV1.prototype['catm1'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} cellular
+ */
+ArduinoArduinoconnectionsV1.prototype['cellular'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} eth
+ */
+ArduinoArduinoconnectionsV1.prototype['eth'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} gsm
+ */
+ArduinoArduinoconnectionsV1.prototype['gsm'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} lora
+ */
+ArduinoArduinoconnectionsV1.prototype['lora'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} nb
+ */
+ArduinoArduinoconnectionsV1.prototype['nb'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} wifi
+ */
+ArduinoArduinoconnectionsV1.prototype['wifi'] = undefined;
+
+/**
+ * ArduinoCredentialsv1Collection is the media type for an array of ArduinoCredentialsv1 (default view)
+ * @member {Array.} wifiandsecret
+ */
+ArduinoArduinoconnectionsV1.prototype['wifiandsecret'] = undefined;
+
+
+
+
+
+
+export default ArduinoArduinoconnectionsV1;
+
diff --git a/src/model/ArduinoCompressedv2.js b/src/model/ArduinoCompressedv2.js
index 16bed6b..9271443 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoCompressedv2 {
/**
diff --git a/src/model/ArduinoCredentialsv1.js b/src/model/ArduinoCredentialsv1.js
index c11ef90..2aa0232 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoCredentialsv1 {
/**
diff --git a/src/model/ArduinoDashboardowner.js b/src/model/ArduinoDashboardowner.js
index 42084b2..86cdc0b 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDashboardowner {
/**
diff --git a/src/model/ArduinoDashboardshare.js b/src/model/ArduinoDashboardshare.js
index 50eaefa..c7a9a37 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDashboardshare {
/**
diff --git a/src/model/ArduinoDashboardv2.js b/src/model/ArduinoDashboardv2.js
index 0ed5957..4309ed8 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDashboardv2 {
/**
diff --git a/src/model/ArduinoDashboardv2template.js b/src/model/ArduinoDashboardv2template.js
index 2c7fce2..ca3790b 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDashboardv2template {
/**
diff --git a/src/model/ArduinoDevicev2.js b/src/model/ArduinoDevicev2.js
index 7dab816..674e01e 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2 {
/**
@@ -65,6 +65,9 @@ class ArduinoDevicev2 {
if (data) {
obj = obj || new ArduinoDevicev2();
+ if (data.hasOwnProperty('ble_mac')) {
+ obj['ble_mac'] = ApiClient.convertToType(data['ble_mac'], 'String');
+ }
if (data.hasOwnProperty('connection_type')) {
obj['connection_type'] = ApiClient.convertToType(data['connection_type'], 'String');
}
@@ -89,6 +92,9 @@ class ArduinoDevicev2 {
if (data.hasOwnProperty('id')) {
obj['id'] = ApiClient.convertToType(data['id'], 'String');
}
+ if (data.hasOwnProperty('issuer_ca')) {
+ obj['issuer_ca'] = ApiClient.convertToType(data['issuer_ca'], 'String');
+ }
if (data.hasOwnProperty('label')) {
obj['label'] = ApiClient.convertToType(data['label'], 'String');
}
@@ -98,6 +104,9 @@ class ArduinoDevicev2 {
if (data.hasOwnProperty('latest_wifi_fw_version')) {
obj['latest_wifi_fw_version'] = ApiClient.convertToType(data['latest_wifi_fw_version'], 'String');
}
+ if (data.hasOwnProperty('lib_version')) {
+ obj['lib_version'] = ApiClient.convertToType(data['lib_version'], 'String');
+ }
if (data.hasOwnProperty('metadata')) {
obj['metadata'] = ApiClient.convertToType(data['metadata'], {'String': Object});
}
@@ -131,6 +140,9 @@ class ArduinoDevicev2 {
if (data.hasOwnProperty('type')) {
obj['type'] = ApiClient.convertToType(data['type'], 'String');
}
+ if (data.hasOwnProperty('unique_hardware_id')) {
+ obj['unique_hardware_id'] = ApiClient.convertToType(data['unique_hardware_id'], 'String');
+ }
if (data.hasOwnProperty('updated_at')) {
obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
}
@@ -160,6 +172,10 @@ class ArduinoDevicev2 {
}
}
// ensure the json data is a string
+ if (data['ble_mac'] && !(typeof data['ble_mac'] === 'string' || data['ble_mac'] instanceof String)) {
+ throw new Error("Expected the field `ble_mac` to be a primitive type in the JSON string but got " + data['ble_mac']);
+ }
+ // ensure the json data is a string
if (data['connection_type'] && !(typeof data['connection_type'] === 'string' || data['connection_type'] instanceof String)) {
throw new Error("Expected the field `connection_type` to be a primitive type in the JSON string but got " + data['connection_type']);
}
@@ -190,6 +206,10 @@ class ArduinoDevicev2 {
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
}
// ensure the json data is a string
+ if (data['issuer_ca'] && !(typeof data['issuer_ca'] === 'string' || data['issuer_ca'] instanceof String)) {
+ throw new Error("Expected the field `issuer_ca` to be a primitive type in the JSON string but got " + data['issuer_ca']);
+ }
+ // ensure the json data is a string
if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
}
@@ -198,6 +218,10 @@ class ArduinoDevicev2 {
throw new Error("Expected the field `latest_wifi_fw_version` to be a primitive type in the JSON string but got " + data['latest_wifi_fw_version']);
}
// ensure the json data is a string
+ if (data['lib_version'] && !(typeof data['lib_version'] === 'string' || data['lib_version'] instanceof String)) {
+ throw new Error("Expected the field `lib_version` to be a primitive type in the JSON string but got " + data['lib_version']);
+ }
+ // 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']);
}
@@ -222,6 +246,10 @@ class ArduinoDevicev2 {
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 a string
+ if (data['unique_hardware_id'] && !(typeof data['unique_hardware_id'] === 'string' || data['unique_hardware_id'] instanceof String)) {
+ throw new Error("Expected the field `unique_hardware_id` to be a primitive type in the JSON string but got " + data['unique_hardware_id']);
+ }
+ // ensure the json data is a string
if (data['user_id'] && !(typeof data['user_id'] === 'string' || data['user_id'] instanceof String)) {
throw new Error("Expected the field `user_id` to be a primitive type in the JSON string but got " + data['user_id']);
}
@@ -248,6 +276,11 @@ class ArduinoDevicev2 {
ArduinoDevicev2.RequiredProperties = ["href", "id", "label", "name", "serial", "type", "user_id"];
+/**
+ * @member {String} ble_mac
+ */
+ArduinoDevicev2.prototype['ble_mac'] = undefined;
+
/**
* The type of the connections selected by the user when multiple connections are available
* @member {module:model/ArduinoDevicev2.ConnectionTypeEnum} connection_type
@@ -296,6 +329,11 @@ ArduinoDevicev2.prototype['href'] = undefined;
*/
ArduinoDevicev2.prototype['id'] = undefined;
+/**
+ * @member {String} issuer_ca
+ */
+ArduinoDevicev2.prototype['issuer_ca'] = undefined;
+
/**
* The label of the device
* @member {String} label
@@ -314,6 +352,11 @@ ArduinoDevicev2.prototype['last_activity_at'] = undefined;
*/
ArduinoDevicev2.prototype['latest_wifi_fw_version'] = undefined;
+/**
+ * @member {String} lib_version
+ */
+ArduinoDevicev2.prototype['lib_version'] = undefined;
+
/**
* The metadata of the device
* @member {Object.} metadata
@@ -379,6 +422,12 @@ ArduinoDevicev2.prototype['thing'] = undefined;
*/
ArduinoDevicev2.prototype['type'] = undefined;
+/**
+ * The unique hardware id of the device
+ * @member {String} unique_hardware_id
+ */
+ArduinoDevicev2.prototype['unique_hardware_id'] = undefined;
+
/**
* Update date of the trigger
* @member {Date} updated_at
diff --git a/src/model/ArduinoDevicev2Cert.js b/src/model/ArduinoDevicev2Cert.js
index e59899d..faebe36 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2Cert {
/**
diff --git a/src/model/ArduinoDevicev2EventProperties.js b/src/model/ArduinoDevicev2EventProperties.js
index 38710a3..b13b7a7 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2EventProperties {
/**
diff --git a/src/model/ArduinoDevicev2Otaupload.js b/src/model/ArduinoDevicev2Otaupload.js
index 8b01b16..80bb03d 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2Otaupload {
/**
diff --git a/src/model/ArduinoDevicev2Pass.js b/src/model/ArduinoDevicev2Pass.js
index 4006795..62b0b60 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2Pass {
/**
diff --git a/src/model/ArduinoDevicev2SimpleProperties.js b/src/model/ArduinoDevicev2SimpleProperties.js
index dce885d..8535f16 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2SimpleProperties {
/**
diff --git a/src/model/ArduinoDevicev2StatusEvent.js b/src/model/ArduinoDevicev2StatusEvent.js
index 61eba9b..42f13f1 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2StatusEvent {
/**
diff --git a/src/model/ArduinoDevicev2StatusEvents.js b/src/model/ArduinoDevicev2StatusEvents.js
index 273ab41..c23ebd6 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2StatusEvents {
/**
diff --git a/src/model/ArduinoDevicev2Webhook.js b/src/model/ArduinoDevicev2Webhook.js
index c8627df..d3dfec7 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2Webhook {
/**
diff --git a/src/model/ArduinoDevicev2properties.js b/src/model/ArduinoDevicev2properties.js
index 4ff3030..c91c940 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2properties {
/**
diff --git a/src/model/ArduinoDevicev2propertyvalue.js b/src/model/ArduinoDevicev2propertyvalue.js
index b6c3521..603f1d9 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2propertyvalue {
/**
diff --git a/src/model/ArduinoDevicev2propertyvalueValue.js b/src/model/ArduinoDevicev2propertyvalueValue.js
index efda454..d314e9e 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2propertyvalueValue {
/**
diff --git a/src/model/ArduinoDevicev2propertyvalueValueStatistics.js b/src/model/ArduinoDevicev2propertyvalueValueStatistics.js
index baa5ea8..1a1e1e3 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2propertyvalueValueStatistics {
/**
diff --git a/src/model/ArduinoDevicev2propertyvalues.js b/src/model/ArduinoDevicev2propertyvalues.js
index c713280..8e5ad35 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2propertyvalues {
/**
diff --git a/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js b/src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js
index aba8847..7771fc8 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2propertyvaluesLastEvaluatedKey {
/**
diff --git a/src/model/ArduinoDevicev2templatedevice.js b/src/model/ArduinoDevicev2templatedevice.js
index edbcf01..6dda835 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoDevicev2templatedevice {
/**
diff --git a/src/model/ArduinoLinkedDevice.js b/src/model/ArduinoLinkedDevice.js
index 8427eea..d5e1ba1 100644
--- a/src/model/ArduinoLinkedDevice.js
+++ b/src/model/ArduinoLinkedDevice.js
@@ -17,7 +17,7 @@ import ArduinoDevicev2 from './ArduinoDevicev2';
/**
* The ArduinoLinkedDevice model module.
* @module model/ArduinoLinkedDevice
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoLinkedDevice {
/**
diff --git a/src/model/ArduinoLinkedDeviceTemplate.js b/src/model/ArduinoLinkedDeviceTemplate.js
index b4feef3..60753a3 100644
--- a/src/model/ArduinoLinkedDeviceTemplate.js
+++ b/src/model/ArduinoLinkedDeviceTemplate.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoLinkedDeviceTemplate model module.
* @module model/ArduinoLinkedDeviceTemplate
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoLinkedDeviceTemplate {
/**
diff --git a/src/model/ArduinoLinkedProperty.js b/src/model/ArduinoLinkedProperty.js
index aa3dc9f..3e7e945 100644
--- a/src/model/ArduinoLinkedProperty.js
+++ b/src/model/ArduinoLinkedProperty.js
@@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty';
/**
* The ArduinoLinkedProperty model module.
* @module model/ArduinoLinkedProperty
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoLinkedProperty {
/**
diff --git a/src/model/ArduinoLinkedPropertyTemplate.js b/src/model/ArduinoLinkedPropertyTemplate.js
index a5d482d..a1d5ca7 100644
--- a/src/model/ArduinoLinkedPropertyTemplate.js
+++ b/src/model/ArduinoLinkedPropertyTemplate.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoLinkedPropertyTemplate model module.
* @module model/ArduinoLinkedPropertyTemplate
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoLinkedPropertyTemplate {
/**
diff --git a/src/model/ArduinoLinkedvariable.js b/src/model/ArduinoLinkedvariable.js
index c5a4b82..38b51ea 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoLinkedvariable {
/**
diff --git a/src/model/ArduinoLoradevicev1.js b/src/model/ArduinoLoradevicev1.js
index 0e58167..32a527e 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoLoradevicev1 {
/**
diff --git a/src/model/ArduinoLorafreqplansv1.js b/src/model/ArduinoLorafreqplansv1.js
index 405587b..d5eb047 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoLorafreqplansv1 {
/**
diff --git a/src/model/ArduinoLorafreqplanv1.js b/src/model/ArduinoLorafreqplanv1.js
index 11be062..e2c7863 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoLorafreqplanv1 {
/**
diff --git a/src/model/ArduinoProperty.js b/src/model/ArduinoProperty.js
index 7a05504..8a21c5a 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoProperty {
/**
diff --git a/src/model/ArduinoPropertytype.js b/src/model/ArduinoPropertytype.js
index 786e3ea..a6a0102 100644
--- a/src/model/ArduinoPropertytype.js
+++ b/src/model/ArduinoPropertytype.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoPropertytype model module.
* @module model/ArduinoPropertytype
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoPropertytype {
/**
diff --git a/src/model/ArduinoSeriesBatch.js b/src/model/ArduinoSeriesBatch.js
index f78049c..ca36b13 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesBatch {
/**
diff --git a/src/model/ArduinoSeriesBatchSampled.js b/src/model/ArduinoSeriesBatchSampled.js
index a229089..06fe39d 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesBatchSampled {
/**
diff --git a/src/model/ArduinoSeriesRawBatch.js b/src/model/ArduinoSeriesRawBatch.js
index b2b40e5..ba8874e 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesRawBatch {
/**
diff --git a/src/model/ArduinoSeriesRawBatchLastvalue.js b/src/model/ArduinoSeriesRawBatchLastvalue.js
index 0284fe0..298f8f8 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesRawBatchLastvalue {
/**
diff --git a/src/model/ArduinoSeriesRawLastValueResponse.js b/src/model/ArduinoSeriesRawLastValueResponse.js
index 2b48560..9a35373 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesRawLastValueResponse {
/**
diff --git a/src/model/ArduinoSeriesRawResponse.js b/src/model/ArduinoSeriesRawResponse.js
index 469a030..fa93a83 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesRawResponse {
/**
diff --git a/src/model/ArduinoSeriesResponse.js b/src/model/ArduinoSeriesResponse.js
index aa142d1..0f0312b 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesResponse {
/**
diff --git a/src/model/ArduinoSeriesSampledResponse.js b/src/model/ArduinoSeriesSampledResponse.js
index 1d06a18..c0d2bfe 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoSeriesSampledResponse {
/**
diff --git a/src/model/ArduinoTags.js b/src/model/ArduinoTags.js
index d3661b1..5f1b660 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTags {
/**
diff --git a/src/model/ArduinoTemplate.js b/src/model/ArduinoTemplate.js
index 0501c36..ca282ce 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTemplate {
/**
diff --git a/src/model/ArduinoTemplateproperty.js b/src/model/ArduinoTemplateproperty.js
index abadf4c..2a161c6 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTemplateproperty {
/**
diff --git a/src/model/ArduinoTemplatevariable.js b/src/model/ArduinoTemplatevariable.js
index 8642ce6..8afce4c 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTemplatevariable {
/**
diff --git a/src/model/ArduinoThing.js b/src/model/ArduinoThing.js
index 2345aaa..5ab878f 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoThing {
/**
diff --git a/src/model/ArduinoThingresult.js b/src/model/ArduinoThingresult.js
index 99456da..6f5eaec 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoThingresult {
/**
diff --git a/src/model/ArduinoThingtemplate.js b/src/model/ArduinoThingtemplate.js
index 5cef9bd..c16e959 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoThingtemplate {
/**
diff --git a/src/model/ArduinoTimeseriesmedia.js b/src/model/ArduinoTimeseriesmedia.js
index a272257..d6189f6 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTimeseriesmedia {
/**
diff --git a/src/model/ArduinoTimezone.js b/src/model/ArduinoTimezone.js
index cd22fa8..5ba00aa 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoTimezone {
/**
diff --git a/src/model/ArduinoTrigger.js b/src/model/ArduinoTrigger.js
index be194cb..f00610b 100644
--- a/src/model/ArduinoTrigger.js
+++ b/src/model/ArduinoTrigger.js
@@ -18,7 +18,7 @@ import DeviceStatusSource from './DeviceStatusSource';
/**
* The ArduinoTrigger model module.
* @module model/ArduinoTrigger
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoTrigger {
/**
diff --git a/src/model/ArduinoTriggerTemplate.js b/src/model/ArduinoTriggerTemplate.js
index c1aeb0d..0e7b362 100644
--- a/src/model/ArduinoTriggerTemplate.js
+++ b/src/model/ArduinoTriggerTemplate.js
@@ -19,7 +19,7 @@ import ArduinoLinkedPropertyTemplate from './ArduinoLinkedPropertyTemplate';
/**
* The ArduinoTriggerTemplate model module.
* @module model/ArduinoTriggerTemplate
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoTriggerTemplate {
/**
diff --git a/src/model/ArduinoTriggerWithLinkedEntities.js b/src/model/ArduinoTriggerWithLinkedEntities.js
index 22fcff5..7cce19a 100644
--- a/src/model/ArduinoTriggerWithLinkedEntities.js
+++ b/src/model/ArduinoTriggerWithLinkedEntities.js
@@ -19,7 +19,7 @@ import DeviceStatusSourceWithLinkedDevices from './DeviceStatusSourceWithLinkedD
/**
* The ArduinoTriggerWithLinkedEntities model module.
* @module model/ArduinoTriggerWithLinkedEntities
- * @version 3.0.0
+ * @version 3.1.0
*/
class ArduinoTriggerWithLinkedEntities {
/**
diff --git a/src/model/ArduinoVariableslinks.js b/src/model/ArduinoVariableslinks.js
index 577ce69..1f1aca5 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoVariableslinks {
/**
diff --git a/src/model/ArduinoWidgetv2.js b/src/model/ArduinoWidgetv2.js
index 15bd68b..3946784 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoWidgetv2 {
/**
diff --git a/src/model/ArduinoWidgetv2template.js b/src/model/ArduinoWidgetv2template.js
index bada856..312c7cc 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 3.0.0
+ * @version 3.1.0
*/
class ArduinoWidgetv2template {
/**
diff --git a/src/model/BatchLastValueRequestsMediaV1.js b/src/model/BatchLastValueRequestsMediaV1.js
index 790c068..97dd498 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 3.0.0
+ * @version 3.1.0
*/
class BatchLastValueRequestsMediaV1 {
/**
diff --git a/src/model/BatchQueryRawLastValueRequestMediaV1.js b/src/model/BatchQueryRawLastValueRequestMediaV1.js
index 38b7950..05ce8d7 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 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRawLastValueRequestMediaV1 {
/**
diff --git a/src/model/BatchQueryRawRequestMediaV1.js b/src/model/BatchQueryRawRequestMediaV1.js
index 2139734..d38e9c5 100644
--- a/src/model/BatchQueryRawRequestMediaV1.js
+++ b/src/model/BatchQueryRawRequestMediaV1.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRawRequestMediaV1 model module.
* @module model/BatchQueryRawRequestMediaV1
- * @version 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRawRequestMediaV1 {
/**
diff --git a/src/model/BatchQueryRawRequestsMediaV1.js b/src/model/BatchQueryRawRequestsMediaV1.js
index c0ff287..34dc948 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 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRawRequestsMediaV1 {
/**
diff --git a/src/model/BatchQueryRawResponseSeriesMediaV1.js b/src/model/BatchQueryRawResponseSeriesMediaV1.js
index ad6bdcc..d21ba3c 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 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRawResponseSeriesMediaV1 {
/**
diff --git a/src/model/BatchQueryRequestMediaV1.js b/src/model/BatchQueryRequestMediaV1.js
index 7affd5c..077fac6 100644
--- a/src/model/BatchQueryRequestMediaV1.js
+++ b/src/model/BatchQueryRequestMediaV1.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRequestMediaV1 model module.
* @module model/BatchQueryRequestMediaV1
- * @version 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRequestMediaV1 {
/**
diff --git a/src/model/BatchQueryRequestsMediaV1.js b/src/model/BatchQueryRequestsMediaV1.js
index afe7ae6..15b4437 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 3.0.0
+ * @version 3.1.0
*/
class BatchQueryRequestsMediaV1 {
/**
diff --git a/src/model/BatchQuerySampledRequestMediaV1.js b/src/model/BatchQuerySampledRequestMediaV1.js
index 680d302..97e4d81 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 3.0.0
+ * @version 3.1.0
*/
class BatchQuerySampledRequestMediaV1 {
/**
diff --git a/src/model/BatchQuerySampledRequestsMediaV1.js b/src/model/BatchQuerySampledRequestsMediaV1.js
index 2d9de7f..f67958a 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 3.0.0
+ * @version 3.1.0
*/
class BatchQuerySampledRequestsMediaV1 {
/**
diff --git a/src/model/BodyExpression.js b/src/model/BodyExpression.js
index 1ec9c93..052aaef 100644
--- a/src/model/BodyExpression.js
+++ b/src/model/BodyExpression.js
@@ -17,7 +17,7 @@ import Variable from './Variable';
/**
* The BodyExpression model module.
* @module model/BodyExpression
- * @version 3.0.0
+ * @version 3.1.0
*/
class BodyExpression {
/**
diff --git a/src/model/CheckDevicesV2PassPayload.js b/src/model/CheckDevicesV2PassPayload.js
index e4ec170..1e49e61 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 3.0.0
+ * @version 3.1.0
*/
class CheckDevicesV2PassPayload {
/**
diff --git a/src/model/Clone.js b/src/model/Clone.js
index cb36ef8..17aae0b 100644
--- a/src/model/Clone.js
+++ b/src/model/Clone.js
@@ -17,12 +17,11 @@ import Override from './Override';
/**
* The Clone model module.
* @module model/Clone
- * @version 3.0.0
+ * @version 3.1.0
*/
class Clone {
/**
* Constructs a new Clone
.
- * Add overrides used when performing a clone of a dashboard
* @alias module:model/Clone
*/
constructor() {
diff --git a/src/model/CreateAction.js b/src/model/CreateAction.js
index c8d0924..958f19f 100644
--- a/src/model/CreateAction.js
+++ b/src/model/CreateAction.js
@@ -18,7 +18,7 @@ import PushAction from './PushAction';
/**
* The CreateAction model module.
* @module model/CreateAction
- * @version 3.0.0
+ * @version 3.1.0
*/
class CreateAction {
/**
diff --git a/src/model/CreateClaimedDevicesV2Payload.js b/src/model/CreateClaimedDevicesV2Payload.js
new file mode 100644
index 0000000..9a62c38
--- /dev/null
+++ b/src/model/CreateClaimedDevicesV2Payload.js
@@ -0,0 +1,385 @@
+/**
+ * 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 CreateClaimedDevicesV2Payload model module.
+ * @module model/CreateClaimedDevicesV2Payload
+ * @version 3.1.0
+ */
+class CreateClaimedDevicesV2Payload {
+ /**
+ * Constructs a new CreateClaimedDevicesV2Payload
.
+ * DeviceV2 describes a device.
+ * @alias module:model/CreateClaimedDevicesV2Payload
+ * @param type {module:model/CreateClaimedDevicesV2Payload.TypeEnum} The type of the device
+ * @param uniqueHardwareId {String} The unique hardware id of the device
+ * @param userId {String} The user_id associated to the device. If absent it will be inferred from the authentication header
+ */
+ constructor(type, uniqueHardwareId, userId) {
+
+ CreateClaimedDevicesV2Payload.initialize(this, type, uniqueHardwareId, userId);
+ }
+
+ /**
+ * 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, type, uniqueHardwareId, userId) {
+ obj['type'] = type;
+ obj['unique_hardware_id'] = uniqueHardwareId;
+ obj['user_id'] = userId;
+ }
+
+ /**
+ * Constructs a CreateClaimedDevicesV2Payload
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/CreateClaimedDevicesV2Payload} obj Optional instance to populate.
+ * @return {module:model/CreateClaimedDevicesV2Payload} The populated CreateClaimedDevicesV2Payload
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateClaimedDevicesV2Payload();
+
+ if (data.hasOwnProperty('ID')) {
+ obj['ID'] = ApiClient.convertToType(data['ID'], 'String');
+ }
+ if (data.hasOwnProperty('ble_mac')) {
+ obj['ble_mac'] = ApiClient.convertToType(data['ble_mac'], 'String');
+ }
+ if (data.hasOwnProperty('connection_type')) {
+ obj['connection_type'] = ApiClient.convertToType(data['connection_type'], 'String');
+ }
+ if (data.hasOwnProperty('fqbn')) {
+ obj['fqbn'] = ApiClient.convertToType(data['fqbn'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = ApiClient.convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('serial')) {
+ obj['serial'] = ApiClient.convertToType(data['serial'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = ApiClient.convertToType(data['type'], 'String');
+ }
+ if (data.hasOwnProperty('unique_hardware_id')) {
+ obj['unique_hardware_id'] = ApiClient.convertToType(data['unique_hardware_id'], 'String');
+ }
+ if (data.hasOwnProperty('user_id')) {
+ obj['user_id'] = ApiClient.convertToType(data['user_id'], 'String');
+ }
+ if (data.hasOwnProperty('wifi_fw_version')) {
+ obj['wifi_fw_version'] = ApiClient.convertToType(data['wifi_fw_version'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to CreateClaimedDevicesV2Payload
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to CreateClaimedDevicesV2Payload
.
+ */
+ static validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ for (const property of CreateClaimedDevicesV2Payload.RequiredProperties) {
+ if (!data.hasOwnProperty(property)) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ if (data['ID'] && !(typeof data['ID'] === 'string' || data['ID'] instanceof String)) {
+ throw new Error("Expected the field `ID` to be a primitive type in the JSON string but got " + data['ID']);
+ }
+ // ensure the json data is a string
+ if (data['ble_mac'] && !(typeof data['ble_mac'] === 'string' || data['ble_mac'] instanceof String)) {
+ throw new Error("Expected the field `ble_mac` to be a primitive type in the JSON string but got " + data['ble_mac']);
+ }
+ // ensure the json data is a string
+ if (data['connection_type'] && !(typeof data['connection_type'] === 'string' || data['connection_type'] instanceof String)) {
+ throw new Error("Expected the field `connection_type` to be a primitive type in the JSON string but got " + data['connection_type']);
+ }
+ // ensure the json data is a string
+ if (data['fqbn'] && !(typeof data['fqbn'] === 'string' || data['fqbn'] instanceof String)) {
+ throw new Error("Expected the field `fqbn` to be a primitive type in the JSON string but got " + data['fqbn']);
+ }
+ // 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['serial'] && !(typeof data['serial'] === 'string' || data['serial'] instanceof String)) {
+ throw new Error("Expected the field `serial` to be a primitive type in the JSON string but got " + data['serial']);
+ }
+ // 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 a string
+ if (data['unique_hardware_id'] && !(typeof data['unique_hardware_id'] === 'string' || data['unique_hardware_id'] instanceof String)) {
+ throw new Error("Expected the field `unique_hardware_id` to be a primitive type in the JSON string but got " + data['unique_hardware_id']);
+ }
+ // ensure the json data is a string
+ if (data['user_id'] && !(typeof data['user_id'] === 'string' || data['user_id'] instanceof String)) {
+ throw new Error("Expected the field `user_id` to be a primitive type in the JSON string but got " + data['user_id']);
+ }
+ // ensure the json data is a string
+ if (data['wifi_fw_version'] && !(typeof data['wifi_fw_version'] === 'string' || data['wifi_fw_version'] instanceof String)) {
+ throw new Error("Expected the field `wifi_fw_version` to be a primitive type in the JSON string but got " + data['wifi_fw_version']);
+ }
+
+ return true;
+ }
+
+
+}
+
+CreateClaimedDevicesV2Payload.RequiredProperties = ["type", "unique_hardware_id", "user_id"];
+
+/**
+ * The id of the device
+ * @member {String} ID
+ */
+CreateClaimedDevicesV2Payload.prototype['ID'] = undefined;
+
+/**
+ * @member {String} ble_mac
+ */
+CreateClaimedDevicesV2Payload.prototype['ble_mac'] = undefined;
+
+/**
+ * The type of the connections selected by the user when multiple connections are available
+ * @member {module:model/CreateClaimedDevicesV2Payload.ConnectionTypeEnum} connection_type
+ */
+CreateClaimedDevicesV2Payload.prototype['connection_type'] = undefined;
+
+/**
+ * The fully qualified board name
+ * @member {String} fqbn
+ */
+CreateClaimedDevicesV2Payload.prototype['fqbn'] = undefined;
+
+/**
+ * The friendly name of the device
+ * @member {String} name
+ */
+CreateClaimedDevicesV2Payload.prototype['name'] = undefined;
+
+/**
+ * The serial uuid of the device
+ * @member {String} serial
+ */
+CreateClaimedDevicesV2Payload.prototype['serial'] = undefined;
+
+/**
+ * The type of the device
+ * @member {module:model/CreateClaimedDevicesV2Payload.TypeEnum} type
+ */
+CreateClaimedDevicesV2Payload.prototype['type'] = undefined;
+
+/**
+ * The unique hardware id of the device
+ * @member {String} unique_hardware_id
+ */
+CreateClaimedDevicesV2Payload.prototype['unique_hardware_id'] = undefined;
+
+/**
+ * The user_id associated to the device. If absent it will be inferred from the authentication header
+ * @member {String} user_id
+ */
+CreateClaimedDevicesV2Payload.prototype['user_id'] = undefined;
+
+/**
+ * The version of the NINA/WIFI101 firmware running on the device
+ * @member {String} wifi_fw_version
+ */
+CreateClaimedDevicesV2Payload.prototype['wifi_fw_version'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the connection_type
property.
+ * @enum {String}
+ * @readonly
+ */
+CreateClaimedDevicesV2Payload['ConnectionTypeEnum'] = {
+
+ /**
+ * value: "wifi"
+ * @const
+ */
+ "wifi": "wifi",
+
+ /**
+ * value: "eth"
+ * @const
+ */
+ "eth": "eth",
+
+ /**
+ * value: "wifiandsecret"
+ * @const
+ */
+ "wifiandsecret": "wifiandsecret",
+
+ /**
+ * value: "gsm"
+ * @const
+ */
+ "gsm": "gsm",
+
+ /**
+ * value: "nb"
+ * @const
+ */
+ "nb": "nb",
+
+ /**
+ * value: "lora"
+ * @const
+ */
+ "lora": "lora",
+
+ /**
+ * value: "catm1"
+ * @const
+ */
+ "catm1": "catm1",
+
+ /**
+ * value: "cellular"
+ * @const
+ */
+ "cellular": "cellular"
+};
+
+
+/**
+ * Allowed values for the type
property.
+ * @enum {String}
+ * @readonly
+ */
+CreateClaimedDevicesV2Payload['TypeEnum'] = {
+
+ /**
+ * value: "mkrwifi1010"
+ * @const
+ */
+ "mkrwifi1010": "mkrwifi1010",
+
+ /**
+ * value: "mkr1000"
+ * @const
+ */
+ "mkr1000": "mkr1000",
+
+ /**
+ * value: "nano_33_iot"
+ * @const
+ */
+ "nano_33_iot": "nano_33_iot",
+
+ /**
+ * value: "mkrgsm1400"
+ * @const
+ */
+ "mkrgsm1400": "mkrgsm1400",
+
+ /**
+ * value: "mkrnb1500"
+ * @const
+ */
+ "mkrnb1500": "mkrnb1500",
+
+ /**
+ * value: "login_and_secretkey_wifi"
+ * @const
+ */
+ "login_and_secretkey_wifi": "login_and_secretkey_wifi",
+
+ /**
+ * value: "envie_m7"
+ * @const
+ */
+ "envie_m7": "envie_m7",
+
+ /**
+ * value: "nanorp2040connect"
+ * @const
+ */
+ "nanorp2040connect": "nanorp2040connect",
+
+ /**
+ * value: "nicla_vision"
+ * @const
+ */
+ "nicla_vision": "nicla_vision",
+
+ /**
+ * value: "phone"
+ * @const
+ */
+ "phone": "phone",
+
+ /**
+ * value: "portenta_x8"
+ * @const
+ */
+ "portenta_x8": "portenta_x8",
+
+ /**
+ * value: "opta"
+ * @const
+ */
+ "opta": "opta",
+
+ /**
+ * value: "giga"
+ * @const
+ */
+ "giga": "giga",
+
+ /**
+ * value: "generic_device_secretkey"
+ * @const
+ */
+ "generic_device_secretkey": "generic_device_secretkey",
+
+ /**
+ * value: "portenta_c33"
+ * @const
+ */
+ "portenta_c33": "portenta_c33",
+
+ /**
+ * value: "unor4wifi"
+ * @const
+ */
+ "unor4wifi": "unor4wifi",
+
+ /**
+ * value: "nano_nora"
+ * @const
+ */
+ "nano_nora": "nano_nora"
+};
+
+
+
+export default CreateClaimedDevicesV2Payload;
+
diff --git a/src/model/CreateDevicesV2CertsPayload.js b/src/model/CreateDevicesV2CertsPayload.js
index 71c7a73..a8cd2e0 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 3.0.0
+ * @version 3.1.0
*/
class CreateDevicesV2CertsPayload {
/**
diff --git a/src/model/CreateDevicesV2Payload.js b/src/model/CreateDevicesV2Payload.js
index 597d3f5..fe4d21e 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 3.0.0
+ * @version 3.1.0
*/
class CreateDevicesV2Payload {
/**
@@ -51,6 +51,9 @@ class CreateDevicesV2Payload {
if (data) {
obj = obj || new CreateDevicesV2Payload();
+ if (data.hasOwnProperty('ble_mac')) {
+ obj['ble_mac'] = ApiClient.convertToType(data['ble_mac'], 'String');
+ }
if (data.hasOwnProperty('connection_type')) {
obj['connection_type'] = ApiClient.convertToType(data['connection_type'], 'String');
}
@@ -69,6 +72,9 @@ class CreateDevicesV2Payload {
if (data.hasOwnProperty('type')) {
obj['type'] = ApiClient.convertToType(data['type'], 'String');
}
+ if (data.hasOwnProperty('unique_hardware_id')) {
+ obj['unique_hardware_id'] = ApiClient.convertToType(data['unique_hardware_id'], 'String');
+ }
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = ApiClient.convertToType(data['user_id'], 'String');
}
@@ -92,6 +98,10 @@ class CreateDevicesV2Payload {
}
}
// ensure the json data is a string
+ if (data['ble_mac'] && !(typeof data['ble_mac'] === 'string' || data['ble_mac'] instanceof String)) {
+ throw new Error("Expected the field `ble_mac` to be a primitive type in the JSON string but got " + data['ble_mac']);
+ }
+ // ensure the json data is a string
if (data['connection_type'] && !(typeof data['connection_type'] === 'string' || data['connection_type'] instanceof String)) {
throw new Error("Expected the field `connection_type` to be a primitive type in the JSON string but got " + data['connection_type']);
}
@@ -112,6 +122,10 @@ class CreateDevicesV2Payload {
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 a string
+ if (data['unique_hardware_id'] && !(typeof data['unique_hardware_id'] === 'string' || data['unique_hardware_id'] instanceof String)) {
+ throw new Error("Expected the field `unique_hardware_id` to be a primitive type in the JSON string but got " + data['unique_hardware_id']);
+ }
+ // ensure the json data is a string
if (data['user_id'] && !(typeof data['user_id'] === 'string' || data['user_id'] instanceof String)) {
throw new Error("Expected the field `user_id` to be a primitive type in the JSON string but got " + data['user_id']);
}
@@ -128,6 +142,11 @@ class CreateDevicesV2Payload {
CreateDevicesV2Payload.RequiredProperties = ["type"];
+/**
+ * @member {String} ble_mac
+ */
+CreateDevicesV2Payload.prototype['ble_mac'] = undefined;
+
/**
* The type of the connections selected by the user when multiple connections are available
* @member {module:model/CreateDevicesV2Payload.ConnectionTypeEnum} connection_type
@@ -165,6 +184,11 @@ CreateDevicesV2Payload.prototype['soft_deleted'] = false;
*/
CreateDevicesV2Payload.prototype['type'] = undefined;
+/**
+ * @member {String} unique_hardware_id
+ */
+CreateDevicesV2Payload.prototype['unique_hardware_id'] = undefined;
+
/**
* The user_id associated to the device. If absent it will be inferred from the authentication header
* @member {String} user_id
diff --git a/src/model/CreateLoraDevicesV1Payload.js b/src/model/CreateLoraDevicesV1Payload.js
index c01d1f7..535fbc3 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 3.0.0
+ * @version 3.1.0
*/
class CreateLoraDevicesV1Payload {
/**
diff --git a/src/model/Dashboardshare.js b/src/model/Dashboardshare.js
index c97f55b..67c0f8c 100644
--- a/src/model/Dashboardshare.js
+++ b/src/model/Dashboardshare.js
@@ -12,11 +12,12 @@
*/
import ApiClient from '../ApiClient';
+import Usershare from './Usershare';
/**
* The Dashboardshare model module.
* @module model/Dashboardshare
- * @version 3.0.0
+ * @version 3.1.0
*/
class Dashboardshare {
/**
@@ -53,6 +54,9 @@ class Dashboardshare {
if (data.hasOwnProperty('username')) {
obj['username'] = ApiClient.convertToType(data['username'], 'String');
}
+ if (data.hasOwnProperty('users')) {
+ obj['users'] = ApiClient.convertToType(data['users'], [Usershare]);
+ }
}
return obj;
}
@@ -71,6 +75,16 @@ class Dashboardshare {
if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
}
+ if (data['users']) { // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['users'])) {
+ throw new Error("Expected the field `users` to be an array in the JSON data but got " + data['users']);
+ }
+ // validate the optional field `users` (array)
+ for (const item of data['users']) {
+ Usershare.validateJSON(item);
+ };
+ }
return true;
}
@@ -92,6 +106,12 @@ Dashboardshare.prototype['user_id'] = undefined;
*/
Dashboardshare.prototype['username'] = undefined;
+/**
+ * The list of users you want to share the dashboard with
+ * @member {Array.} users
+ */
+Dashboardshare.prototype['users'] = undefined;
+
diff --git a/src/model/Dashboardv2.js b/src/model/Dashboardv2.js
index d2966d6..1662bb4 100644
--- a/src/model/Dashboardv2.js
+++ b/src/model/Dashboardv2.js
@@ -17,12 +17,12 @@ import Widget from './Widget';
/**
* The Dashboardv2 model module.
* @module model/Dashboardv2
- * @version 3.0.0
+ * @version 3.1.0
*/
class Dashboardv2 {
/**
* Constructs a new Dashboardv2
.
- * Describes a dashboard
+ * DashboardV2Payload describes a dashboard
* @alias module:model/Dashboardv2
*/
constructor() {
diff --git a/src/model/DeviceStatusSource.js b/src/model/DeviceStatusSource.js
index c07b029..8cdd445 100644
--- a/src/model/DeviceStatusSource.js
+++ b/src/model/DeviceStatusSource.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The DeviceStatusSource model module.
* @module model/DeviceStatusSource
- * @version 3.0.0
+ * @version 3.1.0
*/
class DeviceStatusSource {
/**
diff --git a/src/model/DeviceStatusSourceWithLinkedDevices.js b/src/model/DeviceStatusSourceWithLinkedDevices.js
index a92c12f..348bbcc 100644
--- a/src/model/DeviceStatusSourceWithLinkedDevices.js
+++ b/src/model/DeviceStatusSourceWithLinkedDevices.js
@@ -17,7 +17,7 @@ import ArduinoLinkedDevice from './ArduinoLinkedDevice';
/**
* The DeviceStatusSourceWithLinkedDevices model module.
* @module model/DeviceStatusSourceWithLinkedDevices
- * @version 3.0.0
+ * @version 3.1.0
*/
class DeviceStatusSourceWithLinkedDevices {
/**
diff --git a/src/model/Devicev2.js b/src/model/Devicev2.js
index a030900..b8360b3 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 3.0.0
+ * @version 3.1.0
*/
class Devicev2 {
/**
@@ -49,6 +49,9 @@ class Devicev2 {
if (data) {
obj = obj || new Devicev2();
+ if (data.hasOwnProperty('ble_mac')) {
+ obj['ble_mac'] = ApiClient.convertToType(data['ble_mac'], 'String');
+ }
if (data.hasOwnProperty('connection_type')) {
obj['connection_type'] = ApiClient.convertToType(data['connection_type'], 'String');
}
@@ -67,6 +70,9 @@ class Devicev2 {
if (data.hasOwnProperty('type')) {
obj['type'] = ApiClient.convertToType(data['type'], 'String');
}
+ if (data.hasOwnProperty('unique_hardware_id')) {
+ obj['unique_hardware_id'] = ApiClient.convertToType(data['unique_hardware_id'], 'String');
+ }
if (data.hasOwnProperty('user_id')) {
obj['user_id'] = ApiClient.convertToType(data['user_id'], 'String');
}
@@ -83,6 +89,10 @@ class Devicev2 {
* @return {boolean} to indicate whether the JSON data is valid with respect to Devicev2
.
*/
static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['ble_mac'] && !(typeof data['ble_mac'] === 'string' || data['ble_mac'] instanceof String)) {
+ throw new Error("Expected the field `ble_mac` to be a primitive type in the JSON string but got " + data['ble_mac']);
+ }
// ensure the json data is a string
if (data['connection_type'] && !(typeof data['connection_type'] === 'string' || data['connection_type'] instanceof String)) {
throw new Error("Expected the field `connection_type` to be a primitive type in the JSON string but got " + data['connection_type']);
@@ -104,6 +114,10 @@ class Devicev2 {
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 a string
+ if (data['unique_hardware_id'] && !(typeof data['unique_hardware_id'] === 'string' || data['unique_hardware_id'] instanceof String)) {
+ throw new Error("Expected the field `unique_hardware_id` to be a primitive type in the JSON string but got " + data['unique_hardware_id']);
+ }
+ // ensure the json data is a string
if (data['user_id'] && !(typeof data['user_id'] === 'string' || data['user_id'] instanceof String)) {
throw new Error("Expected the field `user_id` to be a primitive type in the JSON string but got " + data['user_id']);
}
@@ -120,6 +134,11 @@ class Devicev2 {
+/**
+ * @member {String} ble_mac
+ */
+Devicev2.prototype['ble_mac'] = undefined;
+
/**
* The type of the connections selected by the user when multiple connections are available
* @member {module:model/Devicev2.ConnectionTypeEnum} connection_type
@@ -157,6 +176,11 @@ Devicev2.prototype['soft_deleted'] = false;
*/
Devicev2.prototype['type'] = undefined;
+/**
+ * @member {String} unique_hardware_id
+ */
+Devicev2.prototype['unique_hardware_id'] = undefined;
+
/**
* The user_id associated to the device. If absent it will be inferred from the authentication header
* @member {String} user_id
diff --git a/src/model/Devicev2Cert.js b/src/model/Devicev2Cert.js
index c06b68d..c48552e 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 3.0.0
+ * @version 3.1.0
*/
class Devicev2Cert {
/**
diff --git a/src/model/Devicev2Otabinaryurl.js b/src/model/Devicev2Otabinaryurl.js
index dae198b..c2b4685 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 3.0.0
+ * @version 3.1.0
*/
class Devicev2Otabinaryurl {
/**
diff --git a/src/model/Devicev2Otaurlpyalod.js b/src/model/Devicev2Otaurlpyalod.js
index e87f7da..67f720f 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 3.0.0
+ * @version 3.1.0
*/
class Devicev2Otaurlpyalod {
/**
diff --git a/src/model/Devicev2Pass.js b/src/model/Devicev2Pass.js
index 2f790d7..447393a 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 3.0.0
+ * @version 3.1.0
*/
class Devicev2Pass {
/**
diff --git a/src/model/EmailAction.js b/src/model/EmailAction.js
index 3013261..7b755d0 100644
--- a/src/model/EmailAction.js
+++ b/src/model/EmailAction.js
@@ -19,7 +19,7 @@ import TitleExpression from './TitleExpression';
/**
* The EmailAction model module.
* @module model/EmailAction
- * @version 3.0.0
+ * @version 3.1.0
*/
class EmailAction {
/**
diff --git a/src/model/EmailDeliveryOpts.js b/src/model/EmailDeliveryOpts.js
index b8c2dbb..df7429d 100644
--- a/src/model/EmailDeliveryOpts.js
+++ b/src/model/EmailDeliveryOpts.js
@@ -17,7 +17,7 @@ import UserRecipient from './UserRecipient';
/**
* The EmailDeliveryOpts model module.
* @module model/EmailDeliveryOpts
- * @version 3.0.0
+ * @version 3.1.0
*/
class EmailDeliveryOpts {
/**
diff --git a/src/model/Error.js b/src/model/Error.js
index 5d6a6fe..ea8f81a 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 3.0.0
+ * @version 3.1.0
*/
class Error {
/**
diff --git a/src/model/HistoricDataRequest.js b/src/model/HistoricDataRequest.js
index 785d692..8d9a901 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 3.0.0
+ * @version 3.1.0
*/
class HistoricDataRequest {
/**
diff --git a/src/model/Override.js b/src/model/Override.js
index d93a035..0225cd3 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 3.0.0
+ * @version 3.1.0
*/
class Override {
/**
diff --git a/src/model/PropertiesValue.js b/src/model/PropertiesValue.js
index f5f94dd..2c0dfe3 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 3.0.0
+ * @version 3.1.0
*/
class PropertiesValue {
/**
diff --git a/src/model/PropertiesValues.js b/src/model/PropertiesValues.js
index df998ea..39b93a2 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 3.0.0
+ * @version 3.1.0
*/
class PropertiesValues {
/**
diff --git a/src/model/Property.js b/src/model/Property.js
index bd5308d..32cae00 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 3.0.0
+ * @version 3.1.0
*/
class Property {
/**
diff --git a/src/model/PropertyValue.js b/src/model/PropertyValue.js
index 0061b74..d4ab994 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 3.0.0
+ * @version 3.1.0
*/
class PropertyValue {
/**
diff --git a/src/model/PushAction.js b/src/model/PushAction.js
index c5a13ac..906ad31 100644
--- a/src/model/PushAction.js
+++ b/src/model/PushAction.js
@@ -19,7 +19,7 @@ import TitleExpression from './TitleExpression';
/**
* The PushAction model module.
* @module model/PushAction
- * @version 3.0.0
+ * @version 3.1.0
*/
class PushAction {
/**
diff --git a/src/model/PushDeliveryOpts.js b/src/model/PushDeliveryOpts.js
index 9b4f673..ab99562 100644
--- a/src/model/PushDeliveryOpts.js
+++ b/src/model/PushDeliveryOpts.js
@@ -17,7 +17,7 @@ import UserRecipient from './UserRecipient';
/**
* The PushDeliveryOpts model module.
* @module model/PushDeliveryOpts
- * @version 3.0.0
+ * @version 3.1.0
*/
class PushDeliveryOpts {
/**
diff --git a/src/model/Sharerequest.js b/src/model/Sharerequest.js
index 0618a83..bf05538 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 3.0.0
+ * @version 3.1.0
*/
class Sharerequest {
/**
diff --git a/src/model/Tag.js b/src/model/Tag.js
index 6448386..9b62531 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 3.0.0
+ * @version 3.1.0
*/
class Tag {
/**
diff --git a/src/model/Template.js b/src/model/Template.js
index 4bb9369..34b9953 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 3.0.0
+ * @version 3.1.0
*/
class Template {
/**
diff --git a/src/model/ThingClone.js b/src/model/ThingClone.js
index 67e0095..df19fe8 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 3.0.0
+ * @version 3.1.0
*/
class ThingClone {
/**
diff --git a/src/model/ThingCreate.js b/src/model/ThingCreate.js
index 0a1e605..bf41b61 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 3.0.0
+ * @version 3.1.0
*/
class ThingCreate {
/**
diff --git a/src/model/ThingSketch.js b/src/model/ThingSketch.js
index cb63743..a601033 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 3.0.0
+ * @version 3.1.0
*/
class ThingSketch {
/**
diff --git a/src/model/ThingUpdate.js b/src/model/ThingUpdate.js
index 3f2b38b..ccd114a 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 3.0.0
+ * @version 3.1.0
*/
class ThingUpdate {
/**
diff --git a/src/model/TimeseriesDataPoint.js b/src/model/TimeseriesDataPoint.js
index bb52ea2..fac496d 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 3.0.0
+ * @version 3.1.0
*/
class TimeseriesDataPoint {
/**
diff --git a/src/model/TitleExpression.js b/src/model/TitleExpression.js
index c7c47be..c32dee7 100644
--- a/src/model/TitleExpression.js
+++ b/src/model/TitleExpression.js
@@ -17,7 +17,7 @@ import Variable from './Variable';
/**
* The TitleExpression model module.
* @module model/TitleExpression
- * @version 3.0.0
+ * @version 3.1.0
*/
class TitleExpression {
/**
diff --git a/src/model/Trigger.js b/src/model/Trigger.js
index 9557833..aeed347 100644
--- a/src/model/Trigger.js
+++ b/src/model/Trigger.js
@@ -18,7 +18,7 @@ import DeviceStatusSource from './DeviceStatusSource';
/**
* The Trigger model module.
* @module model/Trigger
- * @version 3.0.0
+ * @version 3.1.0
*/
class Trigger {
/**
diff --git a/src/model/UpdateAction.js b/src/model/UpdateAction.js
index a921150..13c2e35 100644
--- a/src/model/UpdateAction.js
+++ b/src/model/UpdateAction.js
@@ -18,7 +18,7 @@ import PushAction from './PushAction';
/**
* The UpdateAction model module.
* @module model/UpdateAction
- * @version 3.0.0
+ * @version 3.1.0
*/
class UpdateAction {
/**
diff --git a/src/model/UpdateSketch.js b/src/model/UpdateSketch.js
index c3b2246..d3cec1d 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 3.0.0
+ * @version 3.1.0
*/
class UpdateSketch {
/**
diff --git a/src/model/UserRecipient.js b/src/model/UserRecipient.js
index f35e236..ff34644 100644
--- a/src/model/UserRecipient.js
+++ b/src/model/UserRecipient.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The UserRecipient model module.
* @module model/UserRecipient
- * @version 3.0.0
+ * @version 3.1.0
*/
class UserRecipient {
/**
diff --git a/src/model/Usershare.js b/src/model/Usershare.js
new file mode 100644
index 0000000..0470b0f
--- /dev/null
+++ b/src/model/Usershare.js
@@ -0,0 +1,101 @@
+/**
+ * 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 Usershare model module.
+ * @module model/Usershare
+ * @version 3.1.0
+ */
+class Usershare {
+ /**
+ * Constructs a new Usershare
.
+ * @alias module:model/Usershare
+ */
+ constructor() {
+
+ Usershare.initialize(this);
+ }
+
+ /**
+ * 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) {
+ }
+
+ /**
+ * Constructs a Usershare
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/Usershare} obj Optional instance to populate.
+ * @return {module:model/Usershare} The populated Usershare
instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Usershare();
+
+ if (data.hasOwnProperty('user_id')) {
+ obj['user_id'] = ApiClient.convertToType(data['user_id'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = ApiClient.convertToType(data['username'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Usershare
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Usershare
.
+ */
+ static validateJSON(data) {
+ // ensure the json data is a string
+ if (data['user_id'] && !(typeof data['user_id'] === 'string' || data['user_id'] instanceof String)) {
+ throw new Error("Expected the field `user_id` to be a primitive type in the JSON string but got " + data['user_id']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+
+ return true;
+ }
+
+
+}
+
+
+
+/**
+ * The userID of the user you want to share the dashboard with
+ * @member {String} user_id
+ */
+Usershare.prototype['user_id'] = undefined;
+
+/**
+ * The username of the user you want to share the dashboard with
+ * @member {String} username
+ */
+Usershare.prototype['username'] = undefined;
+
+
+
+
+
+
+export default Usershare;
+
diff --git a/src/model/Variable.js b/src/model/Variable.js
index f0af7b4..34e6446 100644
--- a/src/model/Variable.js
+++ b/src/model/Variable.js
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The Variable model module.
* @module model/Variable
- * @version 3.0.0
+ * @version 3.1.0
*/
class Variable {
/**
diff --git a/src/model/Widget.js b/src/model/Widget.js
index 52bcd55..eebb979 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 3.0.0
+ * @version 3.1.0
*/
class Widget {
/**
diff --git a/src/model/Widgetlink.js b/src/model/Widgetlink.js
index e73f224..3427560 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 3.0.0
+ * @version 3.1.0
*/
class Widgetlink {
/**
diff --git a/test/model/ArduinoArduinoconnectionsV1.spec.js b/test/model/ArduinoArduinoconnectionsV1.spec.js
new file mode 100644
index 0000000..f29b924
--- /dev/null
+++ b/test/model/ArduinoArduinoconnectionsV1.spec.js
@@ -0,0 +1,107 @@
+/**
+ * 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.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.ArduinoIotClient);
+ }
+}(this, function(expect, ArduinoIotClient) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('ArduinoArduinoconnectionsV1', function() {
+ it('should create an instance of ArduinoArduinoconnectionsV1', function() {
+ // uncomment below and update the code to test ArduinoArduinoconnectionsV1
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be.a(ArduinoIotClient.ArduinoArduinoconnectionsV1);
+ });
+
+ it('should have the property catm1 (base name: "catm1")', function() {
+ // uncomment below and update the code to test the property catm1
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property cellular (base name: "cellular")', function() {
+ // uncomment below and update the code to test the property cellular
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property eth (base name: "eth")', function() {
+ // uncomment below and update the code to test the property eth
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property gsm (base name: "gsm")', function() {
+ // uncomment below and update the code to test the property gsm
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property lora (base name: "lora")', function() {
+ // uncomment below and update the code to test the property lora
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property nb (base name: "nb")', function() {
+ // uncomment below and update the code to test the property nb
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property wifi (base name: "wifi")', function() {
+ // uncomment below and update the code to test the property wifi
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property wifiandsecret (base name: "wifiandsecret")', function() {
+ // uncomment below and update the code to test the property wifiandsecret
+ //var instance = new ArduinoIotClient.ArduinoArduinoconnectionsV1();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/CreateClaimedDevicesV2Payload.spec.js b/test/model/CreateClaimedDevicesV2Payload.spec.js
new file mode 100644
index 0000000..48be153
--- /dev/null
+++ b/test/model/CreateClaimedDevicesV2Payload.spec.js
@@ -0,0 +1,119 @@
+/**
+ * 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.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.ArduinoIotClient);
+ }
+}(this, function(expect, ArduinoIotClient) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('CreateClaimedDevicesV2Payload', function() {
+ it('should create an instance of CreateClaimedDevicesV2Payload', function() {
+ // uncomment below and update the code to test CreateClaimedDevicesV2Payload
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be.a(ArduinoIotClient.CreateClaimedDevicesV2Payload);
+ });
+
+ it('should have the property ID (base name: "ID")', function() {
+ // uncomment below and update the code to test the property ID
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property bleMac (base name: "ble_mac")', function() {
+ // uncomment below and update the code to test the property bleMac
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property connectionType (base name: "connection_type")', function() {
+ // uncomment below and update the code to test the property connectionType
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property fqbn (base name: "fqbn")', function() {
+ // uncomment below and update the code to test the property fqbn
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property name (base name: "name")', function() {
+ // uncomment below and update the code to test the property name
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property serial (base name: "serial")', function() {
+ // uncomment below and update the code to test the property serial
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property type (base name: "type")', function() {
+ // uncomment below and update the code to test the property type
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property uniqueHardwareId (base name: "unique_hardware_id")', function() {
+ // uncomment below and update the code to test the property uniqueHardwareId
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property userId (base name: "user_id")', function() {
+ // uncomment below and update the code to test the property userId
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property wifiFwVersion (base name: "wifi_fw_version")', function() {
+ // uncomment below and update the code to test the property wifiFwVersion
+ //var instance = new ArduinoIotClient.CreateClaimedDevicesV2Payload();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));
diff --git a/test/model/Usershare.spec.js b/test/model/Usershare.spec.js
new file mode 100644
index 0000000..13950f3
--- /dev/null
+++ b/test/model/Usershare.spec.js
@@ -0,0 +1,71 @@
+/**
+ * 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.
+ *
+ */
+
+(function(root, factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD.
+ define(['expect.js', process.cwd()+'/src/index'], factory);
+ } else if (typeof module === 'object' && module.exports) {
+ // CommonJS-like environments that support module.exports, like Node.
+ factory(require('expect.js'), require(process.cwd()+'/src/index'));
+ } else {
+ // Browser globals (root is window)
+ factory(root.expect, root.ArduinoIotClient);
+ }
+}(this, function(expect, ArduinoIotClient) {
+ 'use strict';
+
+ var instance;
+
+ beforeEach(function() {
+ instance = new ArduinoIotClient.Usershare();
+ });
+
+ var getProperty = function(object, getter, property) {
+ // Use getter method if present; otherwise, get the property directly.
+ if (typeof object[getter] === 'function')
+ return object[getter]();
+ else
+ return object[property];
+ }
+
+ var setProperty = function(object, setter, property, value) {
+ // Use setter method if present; otherwise, set the property directly.
+ if (typeof object[setter] === 'function')
+ object[setter](value);
+ else
+ object[property] = value;
+ }
+
+ describe('Usershare', function() {
+ it('should create an instance of Usershare', function() {
+ // uncomment below and update the code to test Usershare
+ //var instance = new ArduinoIotClient.Usershare();
+ //expect(instance).to.be.a(ArduinoIotClient.Usershare);
+ });
+
+ it('should have the property userId (base name: "user_id")', function() {
+ // uncomment below and update the code to test the property userId
+ //var instance = new ArduinoIotClient.Usershare();
+ //expect(instance).to.be();
+ });
+
+ it('should have the property username (base name: "username")', function() {
+ // uncomment below and update the code to test the property username
+ //var instance = new ArduinoIotClient.Usershare();
+ //expect(instance).to.be();
+ });
+
+ });
+
+}));