@blues-inc/notehub-js 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/ApiClient.js +2 -2
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +21 -21
- package/dist/api/DevicesApi.js +1 -1
- package/dist/api/EnvironmentVariablesApi.js +21 -21
- package/dist/api/EventApi.js +1 -1
- package/dist/api/FilesApi.js +1 -1
- package/dist/api/FleetApi.js +1 -1
- package/dist/api/NotesApi.js +1 -1
- package/dist/api/ProductApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/RouteLogsApi.js +1 -1
- package/dist/index.js +7 -0
- package/dist/model/Aws.js +1 -1
- package/dist/model/Azure.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetProjectDevices200Response.js +1 -1
- package/dist/model/GetProjectEvents200Response.js +1 -1
- package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
- package/dist/model/GetProjectFleets200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectProducts200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +1 -1
- package/dist/model/Google.js +1 -1
- package/dist/model/HandleNoteChanges200Response.js +1 -1
- package/dist/model/HandleNoteGet200Response.js +1 -1
- package/dist/model/HandleNoteSignal200Response.js +1 -1
- package/dist/model/HandleNotefileChanges200Response.js +1 -1
- package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
- package/dist/model/HandleNotefileDeleteRequest.js +1 -1
- package/dist/model/Http.js +1 -1
- package/dist/model/HttpFilter.js +1 -1
- package/dist/model/HttpTransform.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Mqtt.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/Proxy.js +1 -1
- package/dist/model/PutDeviceFleetsRequest.js +1 -1
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Route.js +12 -2
- package/dist/model/RouteSchema.js +57 -9
- package/dist/model/Slack.js +209 -0
- package/dist/model/Snowflake.js +1 -1
- package/dist/model/SnowflakeTransform.js +1 -1
- package/dist/model/Thingworx.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Twilio.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UserDbRoute.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.0.0
|
|
9
|
-
- Package version: 1.0.
|
|
9
|
+
- Package version: 1.0.17
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
11
11
|
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
|
|
12
12
|
|
|
@@ -131,7 +131,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
131
131
|
| _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable |
|
|
132
132
|
| _NotehubJs.DeviceApi_ | [**enableDeviceConnectivityAssurance**](docs/DeviceApi.md#enableDeviceConnectivityAssurance) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance |
|
|
133
133
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
|
|
134
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/
|
|
134
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
135
135
|
| _NotehubJs.DeviceApi_ | [**getDeviceFleets**](docs/DeviceApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
|
|
136
136
|
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/health-log |
|
|
137
137
|
| _NotehubJs.DeviceApi_ | [**getDeviceLatest**](docs/DeviceApi.md#getDeviceLatest) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/latest |
|
|
@@ -139,7 +139,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
139
139
|
| _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/sessions |
|
|
140
140
|
| _NotehubJs.DeviceApi_ | [**handleNoteSignal**](docs/DeviceApi.md#handleNoteSignal) | **POST** /v1/projects/{projectUID}/devices/{deviceUID}/signal |
|
|
141
141
|
| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariables**](docs/DeviceApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
|
|
142
|
-
| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/
|
|
142
|
+
| _NotehubJs.DeviceApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
143
143
|
| _NotehubJs.DeviceApi_ | [**putDeviceFleets**](docs/DeviceApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
|
|
144
144
|
| _NotehubJs.DevicesApi_ | [**deleteProjectDevice**](docs/DevicesApi.md#deleteProjectDevice) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID} |
|
|
145
145
|
| _NotehubJs.DevicesApi_ | [**getDevice**](docs/DevicesApi.md#getDevice) | **GET** /v1/projects/{projectUID}/devices/{deviceUID} |
|
|
@@ -150,11 +150,11 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
150
150
|
| _NotehubJs.EnvironmentVariablesApi_ | [**deleteFleetEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
|
|
151
151
|
| _NotehubJs.EnvironmentVariablesApi_ | [**deleteProjectEnvironmentVariable**](docs/EnvironmentVariablesApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
|
|
152
152
|
| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
|
|
153
|
-
| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/
|
|
153
|
+
| _NotehubJs.EnvironmentVariablesApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
154
154
|
| _NotehubJs.EnvironmentVariablesApi_ | [**getFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
|
|
155
155
|
| _NotehubJs.EnvironmentVariablesApi_ | [**getProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
|
|
156
156
|
| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables |
|
|
157
|
-
| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/
|
|
157
|
+
| _NotehubJs.EnvironmentVariablesApi_ | [**putDeviceEnvironmentVariablesByPin**](docs/EnvironmentVariablesApi.md#putDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
158
158
|
| _NotehubJs.EnvironmentVariablesApi_ | [**putFleetEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putFleetEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
|
|
159
159
|
| _NotehubJs.EnvironmentVariablesApi_ | [**putProjectEnvironmentVariables**](docs/EnvironmentVariablesApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
|
|
160
160
|
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/events |
|
|
@@ -277,6 +277,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
277
277
|
- [NotehubJs.Role](docs/Role.md)
|
|
278
278
|
- [NotehubJs.Route](docs/Route.md)
|
|
279
279
|
- [NotehubJs.RouteSchema](docs/RouteSchema.md)
|
|
280
|
+
- [NotehubJs.Slack](docs/Slack.md)
|
|
280
281
|
- [NotehubJs.Snowflake](docs/Snowflake.md)
|
|
281
282
|
- [NotehubJs.SnowflakeTransform](docs/SnowflakeTransform.md)
|
|
282
283
|
- [NotehubJs.Thingworx](docs/Thingworx.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _ty
|
|
|
15
15
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
16
16
|
/**
|
|
17
17
|
* @module ApiClient
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.17
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
21
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -63,7 +63,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
63
63
|
* @default {}
|
|
64
64
|
*/
|
|
65
65
|
this.defaultHeaders = {
|
|
66
|
-
"User-Agent": "OpenAPI-Generator/1.0.
|
|
66
|
+
"User-Agent": "OpenAPI-Generator/1.0.17/Javascript"
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
/**
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* BillingAccount service.
|
|
19
19
|
* @module api/BillingAccountApi
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.17
|
|
21
21
|
*/
|
|
22
22
|
var BillingAccountApi = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
27
27
|
/**
|
|
28
28
|
* Device service.
|
|
29
29
|
* @module api/DeviceApi
|
|
30
|
-
* @version 1.0.
|
|
30
|
+
* @version 1.0.17
|
|
31
31
|
*/
|
|
32
32
|
var DeviceApi = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -379,24 +379,24 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* Get environment variables of a device with device pin authorization
|
|
382
|
-
* @param {String}
|
|
382
|
+
* @param {String} productUID
|
|
383
383
|
* @param {String} deviceUID
|
|
384
384
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
|
|
385
385
|
*/
|
|
386
386
|
}, {
|
|
387
387
|
key: "getDeviceEnvironmentVariablesByPinWithHttpInfo",
|
|
388
|
-
value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
388
|
+
value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) {
|
|
389
389
|
var postBody = null;
|
|
390
|
-
// verify the required parameter '
|
|
391
|
-
if (
|
|
392
|
-
throw new _Error["default"]("Missing the required parameter '
|
|
390
|
+
// verify the required parameter 'productUID' is set
|
|
391
|
+
if (productUID === undefined || productUID === null) {
|
|
392
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin");
|
|
393
393
|
}
|
|
394
394
|
// verify the required parameter 'deviceUID' is set
|
|
395
395
|
if (deviceUID === undefined || deviceUID === null) {
|
|
396
396
|
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
|
|
397
397
|
}
|
|
398
398
|
var pathParams = {
|
|
399
|
-
|
|
399
|
+
productUID: productUID,
|
|
400
400
|
deviceUID: deviceUID
|
|
401
401
|
};
|
|
402
402
|
var queryParams = {};
|
|
@@ -406,19 +406,19 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
406
406
|
var contentTypes = [];
|
|
407
407
|
var accepts = ["application/json"];
|
|
408
408
|
var returnType = _GetDeviceEnvironmentVariables200Response["default"];
|
|
409
|
-
return this.apiClient.callApi("/v1/
|
|
409
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* Get environment variables of a device with device pin authorization
|
|
414
|
-
* @param {String}
|
|
414
|
+
* @param {String} productUID
|
|
415
415
|
* @param {String} deviceUID
|
|
416
416
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
|
|
417
417
|
*/
|
|
418
418
|
}, {
|
|
419
419
|
key: "getDeviceEnvironmentVariablesByPin",
|
|
420
|
-
value: function getDeviceEnvironmentVariablesByPin(
|
|
421
|
-
return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
420
|
+
value: function getDeviceEnvironmentVariablesByPin(productUID, deviceUID) {
|
|
421
|
+
return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID).then(function (response_and_data) {
|
|
422
422
|
return response_and_data.data;
|
|
423
423
|
});
|
|
424
424
|
}
|
|
@@ -769,18 +769,18 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
771
|
* Put environment variables of a device with device pin authorization
|
|
772
|
-
* @param {String}
|
|
772
|
+
* @param {String} productUID
|
|
773
773
|
* @param {String} deviceUID
|
|
774
774
|
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
775
775
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
776
776
|
*/
|
|
777
777
|
}, {
|
|
778
778
|
key: "putDeviceEnvironmentVariablesByPinWithHttpInfo",
|
|
779
|
-
value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
779
|
+
value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables) {
|
|
780
780
|
var postBody = environmentVariables;
|
|
781
|
-
// verify the required parameter '
|
|
782
|
-
if (
|
|
783
|
-
throw new _Error["default"]("Missing the required parameter '
|
|
781
|
+
// verify the required parameter 'productUID' is set
|
|
782
|
+
if (productUID === undefined || productUID === null) {
|
|
783
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin");
|
|
784
784
|
}
|
|
785
785
|
// verify the required parameter 'deviceUID' is set
|
|
786
786
|
if (deviceUID === undefined || deviceUID === null) {
|
|
@@ -791,7 +791,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
791
791
|
throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
|
|
792
792
|
}
|
|
793
793
|
var pathParams = {
|
|
794
|
-
|
|
794
|
+
productUID: productUID,
|
|
795
795
|
deviceUID: deviceUID
|
|
796
796
|
};
|
|
797
797
|
var queryParams = {};
|
|
@@ -801,20 +801,20 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
801
801
|
var contentTypes = ["application/json"];
|
|
802
802
|
var accepts = ["application/json"];
|
|
803
803
|
var returnType = _EnvironmentVariables["default"];
|
|
804
|
-
return this.apiClient.callApi("/v1/
|
|
804
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
/**
|
|
808
808
|
* Put environment variables of a device with device pin authorization
|
|
809
|
-
* @param {String}
|
|
809
|
+
* @param {String} productUID
|
|
810
810
|
* @param {String} deviceUID
|
|
811
811
|
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
812
812
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
813
813
|
*/
|
|
814
814
|
}, {
|
|
815
815
|
key: "putDeviceEnvironmentVariablesByPin",
|
|
816
|
-
value: function putDeviceEnvironmentVariablesByPin(
|
|
817
|
-
return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
816
|
+
value: function putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) {
|
|
817
|
+
return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables).then(function (response_and_data) {
|
|
818
818
|
return response_and_data.data;
|
|
819
819
|
});
|
|
820
820
|
}
|
package/dist/api/DevicesApi.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* EnvironmentVariables service.
|
|
20
20
|
* @module api/EnvironmentVariablesApi
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -233,24 +233,24 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Get environment variables of a device with device pin authorization
|
|
236
|
-
* @param {String}
|
|
236
|
+
* @param {String} productUID
|
|
237
237
|
* @param {String} deviceUID
|
|
238
238
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
|
|
239
239
|
*/
|
|
240
240
|
}, {
|
|
241
241
|
key: "getDeviceEnvironmentVariablesByPinWithHttpInfo",
|
|
242
|
-
value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
242
|
+
value: function getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID) {
|
|
243
243
|
var postBody = null;
|
|
244
|
-
// verify the required parameter '
|
|
245
|
-
if (
|
|
246
|
-
throw new _Error["default"]("Missing the required parameter '
|
|
244
|
+
// verify the required parameter 'productUID' is set
|
|
245
|
+
if (productUID === undefined || productUID === null) {
|
|
246
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling getDeviceEnvironmentVariablesByPin");
|
|
247
247
|
}
|
|
248
248
|
// verify the required parameter 'deviceUID' is set
|
|
249
249
|
if (deviceUID === undefined || deviceUID === null) {
|
|
250
250
|
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
|
|
251
251
|
}
|
|
252
252
|
var pathParams = {
|
|
253
|
-
|
|
253
|
+
productUID: productUID,
|
|
254
254
|
deviceUID: deviceUID
|
|
255
255
|
};
|
|
256
256
|
var queryParams = {};
|
|
@@ -260,19 +260,19 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
260
260
|
var contentTypes = [];
|
|
261
261
|
var accepts = ["application/json"];
|
|
262
262
|
var returnType = _GetDeviceEnvironmentVariables200Response["default"];
|
|
263
|
-
return this.apiClient.callApi("/v1/
|
|
263
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* Get environment variables of a device with device pin authorization
|
|
268
|
-
* @param {String}
|
|
268
|
+
* @param {String} productUID
|
|
269
269
|
* @param {String} deviceUID
|
|
270
270
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
|
|
271
271
|
*/
|
|
272
272
|
}, {
|
|
273
273
|
key: "getDeviceEnvironmentVariablesByPin",
|
|
274
|
-
value: function getDeviceEnvironmentVariablesByPin(
|
|
275
|
-
return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
274
|
+
value: function getDeviceEnvironmentVariablesByPin(productUID, deviceUID) {
|
|
275
|
+
return this.getDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID).then(function (response_and_data) {
|
|
276
276
|
return response_and_data.data;
|
|
277
277
|
});
|
|
278
278
|
}
|
|
@@ -416,18 +416,18 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
418
|
* Put environment variables of a device with device pin authorization
|
|
419
|
-
* @param {String}
|
|
419
|
+
* @param {String} productUID
|
|
420
420
|
* @param {String} deviceUID
|
|
421
421
|
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
422
422
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
423
423
|
*/
|
|
424
424
|
}, {
|
|
425
425
|
key: "putDeviceEnvironmentVariablesByPinWithHttpInfo",
|
|
426
|
-
value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
426
|
+
value: function putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables) {
|
|
427
427
|
var postBody = environmentVariables;
|
|
428
|
-
// verify the required parameter '
|
|
429
|
-
if (
|
|
430
|
-
throw new _Error["default"]("Missing the required parameter '
|
|
428
|
+
// verify the required parameter 'productUID' is set
|
|
429
|
+
if (productUID === undefined || productUID === null) {
|
|
430
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling putDeviceEnvironmentVariablesByPin");
|
|
431
431
|
}
|
|
432
432
|
// verify the required parameter 'deviceUID' is set
|
|
433
433
|
if (deviceUID === undefined || deviceUID === null) {
|
|
@@ -438,7 +438,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
438
438
|
throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
|
|
439
439
|
}
|
|
440
440
|
var pathParams = {
|
|
441
|
-
|
|
441
|
+
productUID: productUID,
|
|
442
442
|
deviceUID: deviceUID
|
|
443
443
|
};
|
|
444
444
|
var queryParams = {};
|
|
@@ -448,20 +448,20 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
448
448
|
var contentTypes = ["application/json"];
|
|
449
449
|
var accepts = ["application/json"];
|
|
450
450
|
var returnType = _EnvironmentVariables["default"];
|
|
451
|
-
return this.apiClient.callApi("/v1/
|
|
451
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
455
|
* Put environment variables of a device with device pin authorization
|
|
456
|
-
* @param {String}
|
|
456
|
+
* @param {String} productUID
|
|
457
457
|
* @param {String} deviceUID
|
|
458
458
|
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
459
459
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
460
460
|
*/
|
|
461
461
|
}, {
|
|
462
462
|
key: "putDeviceEnvironmentVariablesByPin",
|
|
463
|
-
value: function putDeviceEnvironmentVariablesByPin(
|
|
464
|
-
return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(
|
|
463
|
+
value: function putDeviceEnvironmentVariablesByPin(productUID, deviceUID, environmentVariables) {
|
|
464
|
+
return this.putDeviceEnvironmentVariablesByPinWithHttpInfo(productUID, deviceUID, environmentVariables).then(function (response_and_data) {
|
|
465
465
|
return response_and_data.data;
|
|
466
466
|
});
|
|
467
467
|
}
|
package/dist/api/EventApi.js
CHANGED
package/dist/api/FilesApi.js
CHANGED
package/dist/api/FleetApi.js
CHANGED
package/dist/api/NotesApi.js
CHANGED
package/dist/api/ProductApi.js
CHANGED
package/dist/api/ProjectApi.js
CHANGED
package/dist/api/RouteApi.js
CHANGED
package/dist/api/RouteLogsApi.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -459,6 +459,12 @@ Object.defineProperty(exports, "RouteSchema", {
|
|
|
459
459
|
return _RouteSchema["default"];
|
|
460
460
|
}
|
|
461
461
|
});
|
|
462
|
+
Object.defineProperty(exports, "Slack", {
|
|
463
|
+
enumerable: true,
|
|
464
|
+
get: function get() {
|
|
465
|
+
return _Slack["default"];
|
|
466
|
+
}
|
|
467
|
+
});
|
|
462
468
|
Object.defineProperty(exports, "Snowflake", {
|
|
463
469
|
enumerable: true,
|
|
464
470
|
get: function get() {
|
|
@@ -564,6 +570,7 @@ var _Radresponder = _interopRequireDefault(require("./model/Radresponder"));
|
|
|
564
570
|
var _Role = _interopRequireDefault(require("./model/Role"));
|
|
565
571
|
var _Route = _interopRequireDefault(require("./model/Route"));
|
|
566
572
|
var _RouteSchema = _interopRequireDefault(require("./model/RouteSchema"));
|
|
573
|
+
var _Slack = _interopRequireDefault(require("./model/Slack"));
|
|
567
574
|
var _Snowflake = _interopRequireDefault(require("./model/Snowflake"));
|
|
568
575
|
var _SnowflakeTransform = _interopRequireDefault(require("./model/SnowflakeTransform"));
|
|
569
576
|
var _Thingworx = _interopRequireDefault(require("./model/Thingworx"));
|
package/dist/model/Aws.js
CHANGED
package/dist/model/Azure.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The BillingAccount model module.
|
|
21
21
|
* @module model/BillingAccount
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.17
|
|
23
23
|
*/
|
|
24
24
|
var BillingAccount = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Body.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The CloneProjectRequest model module.
|
|
20
20
|
* @module model/CloneProjectRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Contact.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The CreateFleetRequest model module.
|
|
17
17
|
* @module model/CreateFleetRequest
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.17
|
|
19
19
|
*/
|
|
20
20
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The CreateProductRequest model module.
|
|
20
20
|
* @module model/CreateProductRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The CreateProjectRequest model module.
|
|
20
20
|
* @module model/CreateProjectRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/DFUEnv.js
CHANGED
package/dist/model/DFUState.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The DeleteDeviceFleetsRequest model module.
|
|
20
20
|
* @module model/DeleteDeviceFleetsRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var DeleteDeviceFleetsRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Device.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* The DeviceSession model module.
|
|
19
19
|
* @module model/DeviceSession
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.17
|
|
21
21
|
*/
|
|
22
22
|
var DeviceSession = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The DeviceTowerInfo model module.
|
|
17
17
|
* @module model/DeviceTowerInfo
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.17
|
|
19
19
|
*/
|
|
20
20
|
var DeviceTowerInfo = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The EnvironmentVariables model module.
|
|
20
20
|
* @module model/EnvironmentVariables
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.17
|
|
22
22
|
*/
|
|
23
23
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
24
24
|
/**
|