8000 Regenerate client from commit 4c7c6ae of spec repo (#35) · arduino/iot-client-js@fe74683 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe74683

Browse files
github-actions[bot]ArduinoBot
and
ArduinoBot
authored
Regenerate client from commit 4c7c6ae of spec repo (#35)
Co-authored-by: ArduinoBot <arduinobot@arduino.cc>
1 parent af8dc12 commit fe74683

Some content is hidden

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

57 files changed

+91
-79
lines changed

.apigentools-info

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"info_version": "2",
44
"spec_versions": {
55
"v2": {
6-
"apigentools_version": "1.0.0",
7-
"regenerated": "2020-05-12 10:32:16.527814",
8-
"spec_repo_commit": "6a8984f"
6+
"apigentools_version": "1.1.0",
7+
"regenerated": "2020-05-13 15:48:27.194216",
8+
"spec_repo_commit": "4c7c6ae"
99
}
1010
}
1111
}

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,22 @@ try {
8787
catch (error) {
8888
console.error("Failed getting an access token: " + error)
8989
}
90-
```
90+
```
91+
92+
## How to get Arduino IoT Cloud Client Credentials
93+
94+
**NOTE:** Client Credentials are an Arduino IoT Cloud Maker Plan feature. Form more informations check the [Arduino Store](https://store.arduino.cc/digital/create).
95+
96+
You can generate Arduino IoT Cloud Client Credentials in the `ARDUINO API` section in the [IoT Cloud things dashobard](https://create.arduino.cc/iot/things):
97+
98+
### Step 1
99+
100+
![IoT Cloud Site](./img/selection_1.png)
101+
102+
### Step 2
103+
104+
![IoT Cloud Site](./img/selection_2.png)
105+
106+
### Step 3
107+
108+
![IoT Cloud Site](./img/selection_3.png)

img/selection_1.png

91.4 KB
Loading

img/selection_2.png

74.1 KB
Loading

img/selection_3.png

103 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arduino/arduino-iot-client",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"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",
55
"license": "GPLv3",
66
"main": "dist/index.js",

src/ApiClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import querystring from "querystring";
1717

1818
/**
1919
* @module ApiClient
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222

2323
/**

src/api/DevicesV2Api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import PropertiesValues from '../model/PropertiesValues';
2525
/**
2626
* DevicesV2 service.
2727
* @module api/DevicesV2Api
28-
* @version 1.3.0
28+
* @version 1.3.1
2929
*/
3030
export default class DevicesV2Api {
3131

src/api/DevicesV2CertsApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Error from '../model/Error';
2121
/**
2222
* DevicesV2Certs service.
2323
* @module api/DevicesV2CertsApi
24-
* @version 1.3.0
24+
* @version 1.3.1
2525
*/
2626
export default class DevicesV2CertsApi {
2727

src/api/DevicesV2PassApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import Error from '../model/Error';
2121
/**
2222
* DevicesV2Pass service.
2323
* @module api/DevicesV2PassApi
24-
* @version 1.3.0
24+
* @version 1.3.1
2525
*/
2626
export default class DevicesV2PassApi {
2727

src/api/PropertiesV2Api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import PropertyValue from '../model/PropertyValue';
2121
/**
2222
* PropertiesV2 service.
2323
* @module api/PropertiesV2Api
24-
* @version 1.3.0
24+
* @version 1.3.1
2525
*/
2626
export default class PropertiesV2Api {
2727

src/api/SeriesV2Api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import Error from '../model/Error';
2424
/**
2525
* SeriesV2 service.
2626
* @module api/SeriesV2Api
27-
* @version 1.3.0
27+
* @version 1.3.1
2828
*/
2929
export default class SeriesV2Api {
3030

src/api/ThingsV2Api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import UpdateSketch from '../model/UpdateSketch';
2323
/**
2424
* ThingsV2 service.
2525
* @module api/ThingsV2Api
26-
* @version 1.3.0
26+
* @version 1.3.1
2727
*/
2828
export default class ThingsV2Api {
2929

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import ThingsV2Api from './api/ThingsV2Api';
9393
* </pre>
9494
* </p>
9595
* @module index
96-
* @version 1.3.0
96+
* @version 1.3.1
9797
*/
9898
export {
9999
/**

src/model/ArduinoCompressedv2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ArduinoCompressedv2 model module.
1818
* @module model/ArduinoCompressedv2
19-
* @version 1.3.0
19+
* @version 1.3.1
2020
*/
2121
class ArduinoCompressedv2 {
2222
/**

src/model/ArduinoDevicev2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import ArduinoDevicev2Webhook from './ArduinoDevicev2Webhook';
1818
/**
1919
* The ArduinoDevicev2 model module.
2020
* @module model/ArduinoDevicev2
21-
* @version 1.3.0
21+
* @version 1.3.1
2222
*/
2323
class ArduinoDevicev2 {
2424
/**

src/model/ArduinoDevicev2Cert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoCompressedv2 from './ArduinoCompressedv2';
1717
/**
1818
* The ArduinoDevicev2Cert model module.
1919
* @module model/ArduinoDevicev2Cert
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoDevicev2Cert {
2323
/**

src/model/ArduinoDevicev2EventProperties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoDevicev2SimpleProperties from './ArduinoDevicev2SimpleProperties';
1717
/**
1818
* The ArduinoDevicev2EventProperties model module.
1919
* @module model/ArduinoDevicev2EventProperties
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoDevicev2EventProperties {
2323
/**

src/model/ArduinoDevicev2Pass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ArduinoDevicev2Pass model module.
1818
* @module model/ArduinoDevicev2Pass
19-
* @version 1.3.0
19+
* @version 1.3.1
2020
*/
2121
class ArduinoDevicev2Pass {
2222
/**

src/model/ArduinoDevicev2SimpleProperties.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
*/
1313

1414
import ApiClient from '../ApiClient';
15-
import AnyType from './AnyType';
1615

1716
/**
1817
* The ArduinoDevicev2SimpleProperties model module.
1918
* @module model/ArduinoDevicev2SimpleProperties
20-
* @version 1.3.0
19+
* @version 1.3.1
2120
*/
2221
class ArduinoDevicev2SimpleProperties {
2322
/**
@@ -26,7 +25,7 @@ class ArduinoDevicev2SimpleProperties {
2625
* @alias module:model/ArduinoDevicev2SimpleProperties
2726
* @param name {String} The name of the property
2827
* @param updatedAt {Date} Update date of the property
29-
* @param value {module:model/AnyType} Value of the property
28+
* @param value {Object} Value of the property
3029
*/
3130
constructor(name, updatedAt, value) {
3231

@@ -62,7 +61,7 @@ class ArduinoDevicev2SimpleProperties {
6261
obj['updated_at'] = ApiClient.convertToType(data['updated_at'], 'Date');
6362
}
6463
if (data.hasOwnProperty('value')) {
65-
obj['value'] = ApiClient.convertToType(data['value'], AnyType);
64+
obj['value'] = ApiClient.convertToType(data['value'], Object);
6665
}
6766
}
6867
return obj;
@@ -85,7 +84,7 @@ ArduinoDevicev2SimpleProperties.prototype['updated_at'] = undefined;
8584

8685
/**
8786
* Value of the property
88-
* @member {module:model/AnyType} value
87+
* @member {Object} value
8988
*/
9089
ArduinoDevicev2SimpleProperties.prototype['value'] = undefined;
9190

src/model/ArduinoDevicev2Webhook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ArduinoDevicev2Webhook model module.
1818
* @module model/ArduinoDevicev2Webhook
19-
* @version 1.3.0
19+
* @version 1.3.1
2020
*/
2121
class ArduinoDevicev2Webhook {
2222
/**

src/model/ArduinoDevicev2properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty';
1717
/**
1818
* The ArduinoDevicev2properties model module.
1919
* @module model/ArduinoDevicev2properties
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoDevicev2properties {
2323
/**

src/model/ArduinoDevicev2propertyvalue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValue from './ArduinoDevicev2propertyvalueVal
1717
/**
1818
* The ArduinoDevicev2propertyvalue model module.
1919
* @module model/ArduinoDevicev2propertyvalue
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoDevicev2propertyvalue {
2323
/**

src/model/ArduinoDevicev2propertyvalueValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValueStatistics from './ArduinoDevicev2proper
1717
/**
1818
* The ArduinoDevicev2propertyvalueValue model module.
1919
* @module model/ArduinoDevicev2propertyvalueValue
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoDevicev2propertyvalueValue {
2323
/**

src/model/ArduinoDevicev2propertyvalueValueStatistics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ArduinoDevicev2propertyvalueValueStatistics model module.
1818
* @module model/ArduinoDevicev2propertyvalueValueStatistics
19-
* @version 1.3.0
19+
* @version 1.3.1
2020
*/
2121
class ArduinoDevicev2propertyvalueValueStatistics {
2222
/**

src/model/ArduinoDevicev2propertyvalues.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import ArduinoDevicev2propertyvaluesLastEvaluatedKey from './ArduinoDevicev2prop
1818
/**
1919
* The ArduinoDevicev2propertyvalues model module.
2020
* @module model/ArduinoDevicev2propertyvalues
21-
* @version 1.3.0
21+
* @version 1.3.1
2222
*/
2323
class ArduinoDevicev2propertyvalues {
2424
/**

src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ArduinoDevicev2propertyvaluesLastEvaluatedKey model module.
1818
* @module model/ArduinoDevicev2propertyvaluesLastEvaluatedKey
19-
* @version 1.3.0
19+
* @version 1.3.1
2020
*/
2121
class ArduinoDevicev2propertyvaluesLastEvaluatedKey {
2222
/**

src/model/ArduinoProperty.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
*/
1313

1414
import ApiClient from '../ApiClient';
15-
import AnyType from './AnyType';
1615

1716
/**
1817
* The ArduinoProperty model module.
1918
* @module model/ArduinoProperty
20-
* @version 1.3.0
19+
* @version 1.3.1
2120
*/
2221
class ArduinoProperty {
2322
/**
@@ -76,7 +75,7 @@ class ArduinoProperty {
7675
obj['id'] = ApiClient.convertToType(data['id'], 'String');
7776
}
7877
if (data.hasOwnProperty('last_value')) {
79-
obj['last_value'] = ApiClient.convertToType(data['last_value'], AnyType);
78+
obj['last_value'] = ApiClient.convertToType(data['last_value'], Object);
8079
}
8180
if (data.hasOwnProperty('max_value')) {
8281
obj['max_value'] = ApiClient.convertToType(data['max_value'], 'Number');
@@ -150,7 +149,7 @@ ArduinoProperty.prototype['id'] = undefined;
150149

151150
/**
152151
* Last value of this property
153-
* @member {module:model/AnyType} last_value
152+
* @member {Object} last_value
154153
*/
155154
ArduinoProperty.prototype['last_value'] = undefined;
156155

src/model/ArduinoSeriesBatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoSeriesResponse from './ArduinoSeriesResponse';
1717
/**
1818
* The ArduinoSeriesBatch model module.
1919
* @module model/ArduinoSeriesBatch
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoSeriesBatch {
2323
/**

src/model/ArduinoSeriesRawBatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoSeriesRawResponse from './ArduinoSeriesRawResponse';
1717
/**
1818
* The ArduinoSeriesRawBatch model module.
1919
* @module model/ArduinoSeriesRawBatch
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoSeriesRawBatch {
2323
/**

src/model/ArduinoSeriesRawBatchLastvalue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import ArduinoSeriesRawLastValueResponse from './ArduinoSeriesRawLastValueRespon
1717
/**
1818
* The ArduinoSeriesRawBatchLastvalue model module.
1919
* @module model/ArduinoSeriesRawBatchLastvalue
20-
* @version 1.3.0
20+
* @version 1.3.1
2121
*/
2222
class ArduinoSeriesRawBatchLastvalue {
2323
/**

src/model/ArduinoSeriesRawLastValueResponse.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
*/< 10000 /span>
1313

1414
import ApiClient from '../ApiClient';
15-
import AnyType from './AnyType';
1615

1716
/**
1817
* The ArduinoSeriesRawLastValueResponse model module.
1918
* @module model/ArduinoSeriesRawLastValueResponse
20-
* @version 1.3.0
19+
* @version 1.3.1
2120
*/
2221
class ArduinoSeriesRawLastValueResponse {
2322
/**
@@ -28,7 +27,7 @@ class ArduinoSeriesRawLastValueResponse {
2827
* @param propertyId {String} Property id
2928
* @param thingId {String} Thing id
3029
* @param times {Array.<Date>} Timestamp in RFC3339
31-
* @param values {Array.<module:model/AnyType>} Values can be in Float, String, Bool, Object
30+
* @param values {Array.<Object>} Values can be in Float, String, Bool, Object
3231
*/
3332
constructor(countValues, propertyId, thingId, times, values) {
3433

@@ -72,7 +71,7 @@ class ArduinoSeriesRawLastValueResponse {
7271
obj['times'] = ApiClient.convertToType(data['times'], ['Date']);
7372
}
7473
if (data.hasOwnProperty('values')) {
75-
obj['values'] = ApiClient.convertToType(data['values'], [AnyType]);
74+
obj['values'] = ApiClient.convertToType(data['values'], [Object]);
7675
}
7776
}
7877
return obj;
@@ -107,7 +106,7 @@ ArduinoSeriesRawLastValueResponse.prototype['times'] = undefined;
107106

108107
/**
109108
* Values can be in Float, String, Bool, Object
110-
* @member {Array.<module:model/AnyType>} values
109+
* @member {Array.<Object>} values
111110
*/
112111
ArduinoSeriesRawLastValueResponse.prototype['values'] = undefined;
113112

0 commit comments

Comments
 (0)
0