8000 Regenerate client from commit 584212d of spec repo by github-actions[bot] · Pull Request #23 · arduino/iot-client-js · GitHub
[go: up one dir, main page]

Skip to content

Regenerate client from commit 584212d of spec repo #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"codegen_version": "4.1.3",
"info_version": "1",
"image": null,
"spec_repo_commit": "9279140"
"spec_repo_commit": "584212d"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arduino/arduino-iot-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "Collection_of_all_public_API_endpoints_",
"license": "GPLv3",
"main": "dist/index.js",
Expand Down
14 changes: 8 additions & 6 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import querystring from "querystring";

/**
* @module ApiClient
* @version 1.0.0
* @version 1.0.1
*/

/**
Expand Down Expand Up @@ -444,11 +444,13 @@ class ApiClient {
request.end((error, response) => {
if (error) {
var err = {};
err.status = response.status;
err.statusText = response.statusText;
err.body = response.body;
err.response = response;
err.error = error;
if (response) {
err.status = response.status;
err.statusText = response.statusText;
err.body = response.body;
err.response = response;
err.error = error;
}

reject(err);
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/api/DevicesV2Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import PropertiesValues from '../model/PropertiesValues';
/**
* DevicesV2 service.
* @module api/DevicesV2Api
* @version 1.0.0
* @version 1.0.1
*/
export default class DevicesV2Api {

Expand Down
2 changes: 1 addition & 1 deletion src/api/PropertiesV2Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import PropertyValue from '../model/PropertyValue';
/**
* PropertiesV2 service.
* @module api/PropertiesV2Api
* @version 1.0.0
* @version 1.0.1
*/
export default class PropertiesV2Api {

Expand Down
2 changes: 1 addition & 1 deletion src/api/SeriesV2Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Error from '../model/Error';
/**
* SeriesV2 service.
* @module api/SeriesV2Api
* @version 1.0.0
* @version 1.0.1
*/
export default class SeriesV2Api {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ThingsV2Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import ThingSketch from '../model/ThingSketch';
/**
* ThingsV2 service.
* @module api/ThingsV2Api
* @version 1.0.0
* @version 1.0.1
*/
export default class ThingsV2Api {

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import ThingsV2Api from './api/ThingsV2Api';
* </pre>
* </p>
* @module index
* @version 1.0.0
* @version 1.0.1
*/
export {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoDevicev2Webhook from './ArduinoDevicev2Webhook';
/**
* The ArduinoDevicev2 model module.
* @module model/ArduinoDevicev2
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2Webhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoDevicev2Webhook model module.
* @module model/ArduinoDevicev2Webhook
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2Webhook {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty';
/**
* The ArduinoDevicev2properties model module.
* @module model/ArduinoDevicev2properties
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2properties {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2propertyvalue.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValue from './ArduinoDevicev2propertyvalueVal
/**
* The ArduinoDevicev2propertyvalue model module.
* @module model/ArduinoDevicev2propertyvalue
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2propertyvalue {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2propertyvalueValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoDevicev2propertyvalueValueStatistics from './ArduinoDevicev2proper
/**
* The ArduinoDevicev2propertyvalueValue model module.
* @module model/ArduinoDevicev2propertyvalueValue
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2propertyvalueValue {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2propertyvalueValueStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoDevicev2propertyvalueValueStatistics model module.
* @module model/ArduinoDevicev2propertyvalueValueStatistics
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2propertyvalueValueStatistics {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2propertyvalues.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ArduinoDevicev2propertyvaluesLastEvaluatedKey from './ArduinoDevicev2prop
/**
* The ArduinoDevicev2propertyvalues model module.
* @module model/ArduinoDevicev2propertyvalues
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2propertyvalues {
/**
F438 Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoDevicev2propertyvaluesLastEvaluatedKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoDevicev2propertyvaluesLastEvaluatedKey model module.
* @module model/ArduinoDevicev2propertyvaluesLastEvaluatedKey
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoDevicev2propertyvaluesLastEvaluatedKey {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoProperty.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoProperty model module.
* @module model/ArduinoProperty
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoProperty {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoSeriesResponse from './ArduinoSeriesResponse';
/**
* The ArduinoSeriesBatch model module.
* @module model/ArduinoSeriesBatch
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesBatch {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesRawBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoSeriesRawResponse from './ArduinoSeriesRawResponse';
/**
* The ArduinoSeriesRawBatch model module.
* @module model/ArduinoSeriesRawBatch
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesRawBatch {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesRawBatchLastvalue.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoSeriesRawLastValueResponse from './ArduinoSeriesRawLastValueRespon
/**
* The ArduinoSeriesRawBatchLastvalue model module.
* @module model/ArduinoSeriesRawBatchLastvalue
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesRawBatchLastvalue {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesRawLastValueResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoSeriesRawLastValueResponse model module.
* @module model/ArduinoSeriesRawLastValueResponse
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesRawLastValueResponse {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesRawResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import BatchQueryRawResponseSeriesMediaV1 from './BatchQueryRawResponseSeriesMed
/**
* The ArduinoSeriesRawResponse model module.
* @module model/ArduinoSeriesRawResponse
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesRawResponse {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoSeriesResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ArduinoSeriesResponse model module.
* @module model/ArduinoSeriesResponse
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoSeriesResponse {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ArduinoThing.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import ArduinoProperty from './ArduinoProperty';
/**
* The ArduinoThing model module.
* @module model/ArduinoThing
* @version 1.0.0
* @version 1.0.1
*/
class ArduinoThing {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchLastValueRequestsMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import BatchQueryRawLastValueRequestMediaV1 from './BatchQueryRawLastValueReques
/**
* The BatchLastValueRequestsMediaV1 model module.
* @module model/BatchLastValueRequestsMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchLastValueRequestsMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRawLastValueRequestMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRawLastValueRequestMediaV1 model module.
* @module model/BatchQueryRawLastValueRequestMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRawLastValueRequestMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRawRequestMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRawRequestMediaV1 model module.
* @module model/BatchQueryRawRequestMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRawRequestMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRawRequestsMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import BatchQueryRawRequestMediaV1 from './BatchQueryRawRequestMediaV1';
/**
* The BatchQueryRawRequestsMediaV1 model module.
* @module model/BatchQueryRawRequestsMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRawRequestsMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRawResponseSeriesMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRawResponseSeriesMediaV1 model module.
* @module model/BatchQueryRawResponseSeriesMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRawResponseSeriesMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRequestMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The BatchQueryRequestMediaV1 model module.
* @module model/BatchQueryRequestMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRequestMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/BatchQueryRequestsMediaV1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import BatchQueryRequestMediaV1 from './BatchQueryRequestMediaV1';
/**
* The BatchQueryRequestsMediaV1 model module.
* @module model/BatchQueryRequestsMediaV1
* @version 1.0.0
* @version 1.0.1
*/
class BatchQueryRequestsMediaV1 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/CreateDevicesV2Payload.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The CreateDevicesV2Payload model module.
* @module model/CreateDevicesV2Payload
* @version 1.0.0
* @version 1.0.1
*/
class CreateDevicesV2Payload {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/CreateThingsV2Payload.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The CreateThingsV2Payload model module.
* @module model/CreateThingsV2Payload
* @version 1.0.0
* @version 1.0.1
*/
class CreateThingsV2Payload {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/Devicev2.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The Devicev2 model module.
* @module model/Devicev2
* @version 1.0.0
* @version 1.0.1
*/
class Devicev2 {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/Error.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The Error model module.
* @module model/Error
* @version 1.0.0
* @version 1.0.1
*/
class Error {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/PropertiesValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The PropertiesValue model module.
* @module model/PropertiesValue
* @version 1.0.0
* @version 1.0.1
*/
class PropertiesValue {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/PropertiesValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import PropertiesValue from './PropertiesValue';
/**
* The PropertiesValues model module.
* @module model/PropertiesValues
* @version 1.0.0
* @version 1.0.1
*/
class PropertiesValues {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/Property.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The Property model module.
* @module model/Property
* @version 1.0.0
* @version 1.0.1
*/
class Property {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/PropertyValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The PropertyValue model module.
* @module model/PropertyValue
* @version 1.0.0
* @version 1.0.1
*/
class PropertyValue {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/Thing.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The Thing model module.
* @module model/Thing
* @version 1.0.0
* @version 1.0.1
*/
class Thing {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/model/ThingSketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
/**
* The ThingSketch model module.
* @module model/ThingSketch
* @version 1.0.0
* @version 1.0.1
*/
class ThingSketch {
/**
Expand Down
0