8000 Regenerate client from commit 3e7ae84 of spec repo (#53) · arduino/iot-client-js@ae2140d · GitHub
[go: up one dir, main page]

Skip to content

Commit ae2140d

Browse files
github-actions[bot]ArduinoBotPaolo Calao
authored
Regenerate client from commit 3e7ae84 of spec repo (#53)
* Regenerate client from commit 3e7ae84 of spec repo * Update DashboardsV2Api.js Co-authored-by: ArduinoBot <arduinobot@arduino.cc> Co-authored-by: Paolo Calao <p.calao@arduino.cc>
1 parent 0cb7344 commit ae2140d

File tree

81 files changed

+1230
-101
lines changed

Some content is hidden

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

81 files changed

+1230
-101
lines changed

.apigentools-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"spec_versions": {
55
"v2": {
66
"apigentools_version": "1.1.0",
7-
"regenerated": "2021-11-02 14:21:06.247426",
8-
"spec_repo_commit": "1e2d832"
7+
"regenerated": "2021-11-16 17:47:31.753570",
8+
"spec_repo_commit": "3e7ae84"
99
}
1010
}
1111
}

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.9",
3+
"version": "1.4.0",
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.9
20+
* @version 1.4.0
2121
*/
2222

2323
/**

src/api/DashboardsV2Api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
10-
* Do not edit the class manually.
10+
* Do not edit the class manually.
1111
*
1212
*/
1313

@@ -25,7 +25,7 @@ import Widgetlink from '../model/Widgetlink';
2525
/**
2626
* DashboardsV2 service.
2727
* @module api/DashboardsV2Api
28-
* @version 1.3.9
28+
* @version 1.4.0
2929
*/
3030
export default class DashboardsV2Api {
3131

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.9
28+
* @version 1.4.0
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.9
24+
* @version 1.4.0
2525
*/
2626
export default class DevicesV2CertsApi {
2727

src/api/DevicesV2OtaApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Error from '../model/Error';
1919
/**
2020
* DevicesV2Ota service.
2121
* @module api/DevicesV2OtaApi
22-
* @version 1.3.9
22+
* @version 1.4.0
2323
*/
2424
export default class DevicesV2OtaApi {
2525

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.9
24+
* @version 1.4.0
2525
*/
2626
export default class DevicesV2PassApi {
2727

src/api/DevicesV2TagsApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import Tag from '../model/Tag';
2020
/**
2121
* DevicesV2Tags service.
2222
* @module api/DevicesV2TagsApi
23-
* @version 1.3.9
23+
* @version 1.4.0
2424
*/
2525
export default class DevicesV2TagsApi {
2626

src/api/LoraDevicesV1Api.js

Lines changed: 86 additions & 0 deletions
28A5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/**
2+
* Arduino IoT Cloud API
3+
* 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)
4+
*
5+
* The version of the OpenAPI document: 2.0
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
15+
import ApiClient from "../ApiClient";
16+
import ArduinoLoradevicev1 from '../model/ArduinoLoradevicev1';
17+
import CreateLoraDevicesV1Payload from '../model/CreateLoraDevicesV1Payload';
18+
19+
/**
20+
* LoraDevicesV1 service.
21+
* @module api/LoraDevicesV1Api
22+
* @version 1.4.0
23+
*/
24+
export default class LoraDevicesV1Api {
25+
26+
/**
27+
* Constructs a new LoraDevicesV1Api.
28+
* @alias module:api/LoraDevicesV1Api
29+
* @class
30+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
31+
* default to {@link module:ApiClient#instance} if unspecified.
32+
*/
33+
constructor(apiClient) {
34+
this.apiClient = apiClient || ApiClient.instance;
35+
}
36+
37+
38+
39+
/**
40+
* create lora_devices_v1
41+
* Create a new lora device. Its info are saved on our database, and on the lora provider network. Creates a device_v2 automatically
42+
* @param {module:model/CreateLoraDevicesV1Payload} createLoraDevicesV1Payload
43+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ArduinoLoradevicev1} and HTTP response
44+
*/
45+
loraDevicesV1CreateWithHttpInfo(createLoraDevicesV1Payload) {
46+
let postBody = createLoraDevicesV1Payload;
47+
// verify the required parameter 'createLoraDevicesV1Payload' is set
48+
if (createLoraDevicesV1Payload === undefined || createLoraDevicesV1Payload === null) {
49+
throw new Error("Missing the required parameter 'createLoraDevicesV1Payload' when calling loraDevicesV1Create");
50+
}
51+
52+
let pathParams = {
53+
};
54+
let queryParams = {
55+
};
56+
let headerParams = {
57+
};
58+
let formParams = {
59+
};
60+
61+
let authNames = [];
62+
let contentTypes = ['application/json', 'application/x-www-form-urlencoded'];
63+
let accepts = ['application/json'];
64+
let returnType = ArduinoLoradevicev1;
65+
return this.apiClient.callApi(
66+
'/v1/lora-devices/', 'PUT',
67+
pathParams, queryParams, headerParams, formParams, postBody,
68+
authNames, contentTypes, accepts, returnType, null
69+
);
70+
}
71+
72+
/**
73+
* create lora_devices_v1
74+
* Create a new lora device. Its info are saved on our database, and on the lora provider network. Creates a device_v2 automatically
75+
* @param {module:model/CreateLoraDevicesV1Payload} createLoraDevicesV1Payload
76+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ArduinoLoradevicev1}
77+
*/
78+
loraDevicesV1Create(createLoraDevicesV1Payload) {
79+
return this.loraDevicesV1CreateWithHttpInfo(createLoraDevicesV1Payload)
80+
.then(function(response_and_data) {
81+
return response_and_data.data;
82+
});
83+
}
84+
85+
86+
}

0 commit comments

Comments
 (0)
0