You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@arduino/arduino-iot-client",
3
-
"version": "2.0.0",
3
+
"version": "2.0.1",
4
4
"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)",
@@ -25,7 +27,7 @@ import Widgetlink from '../model/Widgetlink';
25
27
/**
26
28
* DashboardsV2 service.
27
29
* @module api/DashboardsV2Api
28
-
* @version 2.0.0
30
+
* @version 2.0.1
29
31
*/
30
32
exportdefaultclassDashboardsV2Api{
31
33
@@ -42,6 +44,66 @@ export default class DashboardsV2Api {
42
44
43
45
44
46
47
+
/**
48
+
* clone dashboards_v2
49
+
* Clone an existing dashboard
50
+
* @param {String} id The id of the dashboard
51
+
* @param {module:model/Clone} clone
52
+
* @param {Object} opts Optional parameters
53
+
* @param {String} [xOrganization]
54
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2} and HTTP response
55
+
*/
56
+
dashboardsV2CloneWithHttpInfo(id,clone,opts){
57
+
opts=opts||{};
58
+
letpostBody=clone;
59
+
// verify the required parameter 'id' is set
60
+
if(id===undefined||id===null){
61
+
thrownewError("Missing the required parameter 'id' when calling dashboardsV2Clone");
62
+
}
63
+
// verify the required parameter 'clone' is set
64
+
if(clone===undefined||clone===null){
65
+
thrownewError("Missing the required parameter 'clone' when calling dashboardsV2Clone");
@@ -558,6 +620,60 @@ export default class DashboardsV2Api {
558
620
}
559
621
560
622
623
+
/**
624
+
* template dashboards_v2
625
+
* Get a template of the dashboard
626
+
* @param {String} id The id of the dashboard
627
+
* @param {Object} opts Optional parameters
628
+
* @param {String} [xOrganization]
629
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoDashboardv2template} and HTTP response
630
+
*/
631
+
dashboardsV2TemplateWithHttpInfo(id,opts){
632
+
opts=opts||{};
633
+
letpostBody=null;
634
+
// verify the required parameter 'id' is set
635
+
if(id===undefined||id===null){
636
+
thrownewError("Missing the required parameter 'id' when calling dashboardsV2Template");
0 commit comments