Skip to content

Commit 2930aa4

Browse files
authored
Regenerate clients - commit 1b6b074b672173ec33043bbf3e731cbc4952b14a (#86)
1 parent bc4991e commit 2930aa4

File tree

317 files changed

+15676
-394
lines changed

Some content is hidden

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

317 files changed

+15676
-394
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
uses: actions/checkout@master
2424

2525
- name: Smoke test
26-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v4
2727
with:
28-
node-version: '12'
28+
node-version: '20'
2929
- run: npm install
3030
- run: npm run build
3131
- run: cd smoke_test

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ docs/ArduinoLoradevicev1.md
2929
docs/ArduinoLorafreqplansv1.md
3030
docs/ArduinoLorafreqplanv1.md
3131
docs/ArduinoProperty.md
32+
docs/ArduinoPropertytype.md
3233
docs/ArduinoSeriesBatch.md
3334
docs/ArduinoSeriesBatchSampled.md
3435
docs/ArduinoSeriesRawBatch.md
@@ -86,6 +87,7 @@ docs/PropertiesV2Api.md
8687
docs/PropertiesValue.md
8788
docs/PropertiesValues.md
8889
docs/Property.md
90+
docs/PropertyTypesV1Api.md
8991
docs/PropertyValue.md
9092
docs/SeriesV2Api.md
9193
docs/Sharerequest.md
@@ -116,6 +118,7 @@ src/api/LoraDevicesV1Api.js
116118
src/api/LoraFreqPlanV1Api.js
117119
src/api/NetworkCredentialsV1Api.js
118120
src/api/PropertiesV2Api.js
121+
src/api/PropertyTypesV1Api.js
119122
src/api/SeriesV2Api.js
120123
src/api/TemplatesApi.js
121124
src/api/ThingsV2Api.js
@@ -148,6 +151,7 @@ src/model/ArduinoLoradevicev1.js
148151
src/model/ArduinoLorafreqplansv1.js
149152
src/model/ArduinoLorafreqplanv1.js
150153
src/model/ArduinoProperty.js
154+
src/model/ArduinoPropertytype.js
151155
src/model/ArduinoSeriesBatch.js
152156
src/model/ArduinoSeriesBatchSampled.js
153157
src/model/ArduinoSeriesRawBatch.js
@@ -217,6 +221,7 @@ test/api/LoraDevicesV1Api.spec.js
217221
test/api/LoraFreqPlanV1Api.spec.js
218222
test/api/NetworkCredentialsV1Api.spec.js
219223
test/api/PropertiesV2Api.spec.js
224+
test/api/PropertyTypesV1Api.spec.js
220225
test/api/SeriesV2Api.spec.js
221226
test/api/TemplatesApi.spec.js
222227
test/api/ThingsV2Api.spec.js
@@ -248,6 +253,7 @@ test/model/ArduinoLoradevicev1.spec.js
248253
test/model/ArduinoLorafreqplansv1.spec.js
249254
test/model/ArduinoLorafreqplanv1.spec.js
250255
test/model/ArduinoProperty.spec.js
256+
test/model/ArduinoPropertytype.spec.js
251257
test/model/ArduinoSeriesBatch.spec.js
252258
test/model/ArduinoSeriesBatchSampled.spec.js
253259
test/model/ArduinoSeriesRawBatch.spec.js

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.0
1+
7.9.0

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ var client = ArduinoIotClient.ApiClient.instance;
4949
var oauth2 = client.authentications['oauth2'];
5050
oauth2.accessToken = await getToken();
5151

52-
var api = new ArduinoIotClient.DevicesV2Api(client)
52+
var api = new ArduinoIotClient.DevicesV2Api(client)
53+
/* if required, organization_id can be configured as follow and the, pass opts var to function.
54+
let opts = {
55+
'xOrganization': "<org_id>"
56+
};
57+
*/
5358
api.devicesV2List().then(devices => {
5459
console.log(devices);
5560
}, error => {
@@ -77,6 +82,7 @@ var options = {
7782
client_id: 'YOUR_CLIENT_ID',
7883
client_secret: 'YOUR_CLIENT_SECRET',
7984
audience: 'https://api2.arduino.cc/iot'
85+
// If required, specify organization identifier adding "organization_id: '<org_id>'" in form.
8086
}
8187
};
8288

docs/ArduinoCompressedv2.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ArduinoIotClient.ArduinoCompressedv2
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**authorityKeyIdentifier** | **String** | The Authority Key Identifier of the certificate | [optional]
8+
**notAfter** | **Date** | The ending date of the certificate |
9+
**notBefore** | **Date** | The starting date of the certificate |
10+
**serial** | **String** | The serial number of the certificate |
11+
**signature** | **String** | The signature of the certificate |
12+
**signatureAsn1X** | **String** | The ASN1 X component of certificate signature |
13+
**signatureAsn1Y** | **String** | The ASN1 Y component of certificate signature |
14+
15+

docs/ArduinoCredentialsv1.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ArduinoIotClient.ArduinoCredentialsv1
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**friendlyName** | **String** | Friendly name |
8+
**required** | **Boolean** | Tell if the parameter is required or not |
9+
**secretName** | **String** | The secret parameter name |
10+
**sensitive** | **Boolean** | Tell if the field is sensitive |
11+
12+

docs/ArduinoDashboardowner.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDashboardowner
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**userId** | **String** | The userID of the user who created the dashboard |
8+
**username** | **String** | The username of the user who created the dashboard | [optional]
9+
10+

docs/ArduinoDashboardshare.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDashboardshare
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**userId** | **String** | The userID of the user you want to share the dashboard with |
8+
**username** | **String** | The username of the user you want to share the dashboard with | [optional]
9+
10+

docs/ArduinoDashboardv2.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ArduinoIotClient.ArduinoDashboardv2
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**coverImage** | **String** | The cover image of the dashboard | [optional]
8+
**createdBy** | [**ArduinoDashboardowner**](ArduinoDashboardowner.md) | | [optional]
9+
**id** | **String** | The friendly name of the dashboard |
10+
**name** | **String** | The friendly name of the dashboard |
11+
**organizationId** | **String** | Id of the organization the dashboard belongs to | [optional]
12+
**sharedBy** | [**ArduinoDashboardshare**](ArduinoDashboardshare.md) | | [optional]
13+
**sharedWith** | [**[ArduinoDashboardshare]**](ArduinoDashboardshare.md) | ArduinoDashboardshareCollection is the media type for an array of ArduinoDashboardshare (default view) | [optional]
14+
**updatedAt** | **Date** | Last update date |
15+
**widgets** | [**[ArduinoWidgetv2]**](ArduinoWidgetv2.md) | ArduinoWidgetv2Collection is the media type for an array of ArduinoWidgetv2 (default view) | [optional]
16+
17+

docs/ArduinoDashboardv2template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ArduinoIotClient.ArduinoDashboardv2template
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**coverImage** | **String** | The cover image of the dashboard | [optional]
8+
**id** | **String** | The friendly ID of the dashboard | [optional]
9+
**name** | **String** | The friendly name of the dashboard |
10+
**widgets** | [**[ArduinoWidgetv2template]**](ArduinoWidgetv2template.md) | ArduinoWidgetv2templateCollection is the media type for an array of ArduinoWidgetv2template (default view) | [optional]
11+
12+

docs/ArduinoDevicev2.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# ArduinoIotClient.ArduinoDevicev2
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**connectionType** | **String** | The type of the connections selected by the user when multiple connections are available | [optional]
8+
**createdAt** | **Date** | Creation date of the device | [optional]
9+
**deviceStatus** | **String** | The connection status of the device | [optional]
10+
**events** | [**[ArduinoDevicev2SimpleProperties]**](ArduinoDevicev2SimpleProperties.md) | ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view) | [optional]
11+
**fqbn** | **String** | The fully qualified board name | [optional]
12+
**href** | **String** | The api reference of this device |
13+
**id** | **String** | The arn of the device |
14+
**label** | **String** | The label of the device |
15+
**lastActivityAt** | **Date** | Last activity date | [optional]
16+
**latestWifiFwVersion** | **String** | The latest version of the NINA/WIFI101 firmware available for this device | [optional]
17+
**metadata** | **{String: Object}** | The metadata of the device | [optional]
18+
**name** | **String** | The friendly name of the device |
19+
**noSketch** | **Boolean** | True if the device type can not have an associated sketch | [optional]
20+
**organizationId** | **String** | Id of the organization the device belongs to | [optional]
21+
**otaAvailable** | **Boolean** | True if the device type is ready to receive OTA updated | [optional]
22+
**otaCompatible** | **Boolean** | True if the device type is OTA compatible | [optional]
23+
**requiredWifiFwVersion** | **String** | The required version of the NINA/WIFI101 firmware needed by IoT Cloud | [optional]
24+
**serial** | **String** | The serial uuid of the device |
25+
**tags** | **{String: Object}** | Tags belonging to the device | [optional]
26+
**thing** | [**ArduinoThing**](ArduinoThing.md) | | [optional]
27+
**type** | **String** | The type of the device |
28+
**userId** | **String** | The id of the user |
29+
**webhooks** | [**[ArduinoDevicev2Webhook]**](ArduinoDevicev2Webhook.md) | ArduinoDevicev2WebhookCollection is the media type for an array of ArduinoDevicev2Webhook (default view) | [optional]
30+
**wifiFwVersion** | **String** | The version of the NINA/WIFI101 firmware running on the device | [optional]
31+
32+
33+
34+
## Enum: ConnectionTypeEnum
35+
36+
37+
* `wifi` (value: `"wifi"`)
38+
39+
* `eth` (value: `"eth"`)
40+
41+
* `wifiandsecret` (value: `"wifiandsecret"`)
42+
43+
* `gsm` (value: `"gsm"`)
44+
45+
* `nb` (value: `"nb"`)
46+
47+
* `lora` (value: `"lora"`)
48+
49+
* `catm1` (value: `"catm1"`)
50+
51+
* `cellular` (value: `"cellular"`)
52+
53+
54+
55+
56+
57+
## Enum: DeviceStatusEnum
58+
59+
60+
* `ONLINE` (value: `"ONLINE"`)
61+
62+
* `OFFLINE` (value: `"OFFLINE"`)
63+
64+
* `UNKNOWN` (value: `"UNKNOWN"`)
65+
66+
67+
68+

docs/ArduinoDevicev2Cert.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# ArduinoIotClient.ArduinoDevicev2Cert
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**ca** | **String** | The Certification Authority used to sign the certificate | [optional]
8+
**compressed** | [**ArduinoCompressedv2**](ArduinoCompressedv2.md) | |
9+
**der** | **String** | The certificate in DER format |
10+
**deviceId** | **String** | The unique identifier of the device |
11+
**enabled** | **Boolean** | Whether the certificate is enabled | [default to true]
12+
**href** | **String** | The api reference of this cert |
13+
**id** | **String** | The unique identifier of the key |
14+
**pem** | **String** | The certificate in pem format |
15+
16+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDevicev2EventProperties
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**events** | [**[ArduinoDevicev2SimpleProperties]**](ArduinoDevicev2SimpleProperties.md) | ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view) |
8+
**id** | **String** | The device of the property |
9+
10+

docs/ArduinoDevicev2Otaupload.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ArduinoIotClient.ArduinoDevicev2Otaupload
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**fileSha** | **String** | SHA256 of the uploaded file | [optional]
8+
**otaId** | **String** | OTA request id (only available from OTA version 2 and above) | [optional]
9+
**otaVersion** | **Number** | OTA version |
10+
**status** | **String** | OTA request status (only available from OTA version 2 and above) | [optional]
11+
12+

docs/ArduinoDevicev2Pass.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDevicev2Pass
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**set** | **Boolean** | Whether the password is set or not |
8+
**suggestedPassword** | **String** | A random suggested password | [optional]
9+
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ArduinoIotClient.ArduinoDevicev2SimpleProperties
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | The name of the property |
8+
**updatedAt** | **Date** | Update date of the property |
9+
**value** | **Object** | Value of the property |
10+
11+

docs/ArduinoDevicev2StatusEvent.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# ArduinoIotClient.ArduinoDevicev2StatusEvent
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**updatedAt** | **Date** | Update timestamp of the status event |
8+
**value** | **String** | The status event of the device |
9+
10+
11+
12+
## Enum: ValueEnum
13+
14+
15+
* `CONNECTED` (value: `"CONNECTED"`)
16+
17+
* `DISCONNECTED` (value: `"DISCONNECTED"`)
18+
19+
20+
21+

docs/ArduinoDevicev2StatusEvents.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDevicev2StatusEvents
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**events** | [**[ArduinoDevicev2StatusEvent]**](ArduinoDevicev2StatusEvent.md) | ArduinoDevicev2StatusEventCollection is the media type for an array of ArduinoDevicev2StatusEvent (default view) |
8+
**id** | **String** | The id of the device |
9+
10+

docs/ArduinoDevicev2Webhook.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ArduinoIotClient.ArduinoDevicev2Webhook
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**active** | **Boolean** | Whether the webhook is active | [optional] [default to true]
8+
**id** | **String** | The uuid of the webhook |
9+
**uri** | **String** | The uri of the webhook |
10+
11+

docs/ArduinoDevicev2properties.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ArduinoIotClient.ArduinoDevicev2properties
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**dataRetentionDays** | **Number** | How many days the data will be kept |
8+
**deviceId** | **String** | The device of the property |
9+
**properties** | [**[ArduinoProperty]**](ArduinoProperty.md) | ArduinoPropertyCollection is the media type for an array of ArduinoProperty (default view) |
10+
**userId** | **String** | The user id of the owner |
11+
12+

docs/ArduinoDevicev2propertyvalue.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ArduinoIotClient.ArduinoDevicev2propertyvalue
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**createdAt** | **Date** | | [optional]
8+
**value** | [**ArduinoDevicev2propertyvalueValue**](ArduinoDevicev2propertyvalueValue.md) | | [optional]
9+
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ArduinoIotClient.ArduinoDevicev2propertyvalueValue
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**payload** | **String** | | [optional]
8+
**seqno** | **Number** | | [optional]
9+
**statistics** | [**ArduinoDevicev2propertyvalueValueStatistics**](ArduinoDevicev2propertyvalueValueStatistics.md) | | [optional]
10+
11+

0 commit comments

Comments
 (0)