@blues-inc/notehub-js 1.0.20 → 1.0.22
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 +34 -18
- package/dist/ApiClient.js +7 -7
- package/dist/api/AlertApi.js +10 -7
- package/dist/api/AuthorizationApi.js +6 -6
- package/dist/api/BillingAccountApi.js +6 -6
- package/dist/api/DeviceApi.js +8 -8
- package/dist/api/EventApi.js +74 -33
- package/dist/api/MonitorApi.js +6 -6
- package/dist/api/ProjectApi.js +177 -6
- package/dist/api/RouteApi.js +9 -9
- package/dist/index.js +55 -13
- package/dist/model/Alert.js +22 -9
- package/dist/model/AlertDataInner.js +6 -6
- package/dist/model/AlertNotificationsInner.js +6 -6
- package/dist/model/Aws.js +6 -6
- package/dist/model/Azure.js +6 -6
- package/dist/model/BillingAccount.js +9 -9
- package/dist/model/BillingAccountRole.js +15 -15
- package/dist/model/Body.js +6 -6
- package/dist/model/CloneProjectRequest.js +9 -9
- package/dist/model/Contact.js +6 -6
- package/dist/model/CreateFleetRequest.js +6 -6
- package/dist/model/CreateMonitor.js +102 -23
- package/dist/model/CreateProductRequest.js +9 -9
- package/dist/model/CreateProjectRequest.js +9 -9
- package/dist/model/DFUEnv.js +6 -6
- package/dist/model/DFUState.js +6 -6
- package/dist/model/DeleteDeviceFleetsRequest.js +9 -9
- package/dist/model/Device.js +9 -9
- package/dist/model/DeviceSession.js +6 -6
- package/dist/model/DeviceTowerInfo.js +6 -6
- package/dist/model/DeviceUsage.js +6 -6
- package/dist/model/{MonitorThresholds.js → EmailNotification.js} +31 -27
- package/dist/model/EnvironmentVariables.js +9 -9
- package/dist/model/Error.js +9 -9
- package/dist/model/Event.js +6 -6
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/FirmwareStatus.js +144 -0
- package/dist/model/Fleet.js +9 -9
- package/dist/model/GetAlerts200Response.js +9 -9
- package/dist/model/GetBillingAccounts200Response.js +9 -9
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +9 -9
- package/dist/model/GetDeviceHealthLog200Response.js +9 -9
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +9 -9
- package/dist/model/GetDeviceLatest200Response.js +9 -9
- package/dist/model/GetDevicePublicKey200Response.js +9 -9
- package/dist/model/GetDeviceSessions200Response.js +9 -9
- package/dist/model/GetProjectDevicePublicKeys200Response.js +9 -9
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +6 -6
- package/dist/model/GetProjectDevices200Response.js +9 -9
- package/dist/model/GetProjectEvents200Response.js +22 -9
- package/dist/model/GetProjectEventsByCursor200Response.js +9 -9
- package/dist/model/GetProjectFleets200Response.js +9 -9
- package/dist/model/GetProjectMembers200Response.js +9 -9
- package/dist/model/GetProjectProducts200Response.js +9 -9
- package/dist/model/GetProjects200Response.js +9 -9
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +6 -6
- package/dist/model/Google.js +6 -6
- package/dist/model/HandleNoteChanges200Response.js +6 -6
- package/dist/model/HandleNoteGet200Response.js +6 -6
- package/dist/model/HandleNoteSignal200Response.js +6 -6
- package/dist/model/HandleNotefileChanges200Response.js +6 -6
- package/dist/model/HandleNotefileChangesPending200Response.js +6 -6
- package/dist/model/HandleNotefileDeleteRequest.js +6 -6
- package/dist/model/Http.js +6 -6
- package/dist/model/HttpFilter.js +6 -6
- package/dist/model/HttpTransform.js +6 -6
- package/dist/model/Location.js +9 -9
- package/dist/model/Login200Response.js +6 -6
- package/dist/model/LoginRequest.js +6 -6
- package/dist/model/Monitor.js +83 -20
- package/dist/model/MonitorAlertRoutesInner.js +145 -44
- package/dist/model/Mqtt.js +6 -6
- package/dist/model/Note.js +6 -6
- package/dist/model/OTAStatus.js +306 -0
- package/dist/model/OTAStatusList.js +120 -0
- package/dist/model/OTAUpdateRequest.js +214 -0
- package/dist/model/OTAUpdateStatus.js +118 -0
- package/dist/model/PostProvisionProjectDeviceRequest.js +9 -9
- package/dist/model/Product.js +9 -9
- package/dist/model/Project.js +9 -9
- package/dist/model/ProjectMember.js +9 -9
- package/dist/model/Proxy.js +6 -6
- package/dist/model/PutDeviceFleetsRequest.js +9 -9
- package/dist/model/Radresponder.js +6 -6
- package/dist/model/Role.js +6 -6
- package/dist/model/Route.js +6 -6
- package/dist/model/RouteSchema.js +7 -7
- package/dist/model/Slack.js +6 -6
- package/dist/model/SlackBearerNotification.js +149 -0
- package/dist/model/SlackWebHookNotification.js +136 -0
- package/dist/model/Snowflake.js +6 -6
- package/dist/model/SnowflakeTransform.js +6 -6
- package/dist/model/Thingworx.js +6 -6
- package/dist/model/TowerLocation.js +6 -6
- package/dist/model/Twilio.js +6 -6
- package/dist/model/UpdateFleetRequest.js +6 -6
- package/dist/model/UserDbRoute.js +6 -6
- package/package.json +1 -1
- package/dist/api/FirmwareApi.js +0 -109
package/README.md
CHANGED
|
@@ -5,8 +5,8 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
5
5
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
|
-
- API version: 1.
|
|
9
|
-
- Package version: 1.0.
|
|
8
|
+
- API version: 1.1.0
|
|
9
|
+
- Package version: 1.0.22
|
|
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
|
|
|
@@ -100,20 +100,27 @@ module: {
|
|
|
100
100
|
Please follow the [installation](#installation) instruction and execute the following JS code:
|
|
101
101
|
|
|
102
102
|
```javascript
|
|
103
|
-
var NotehubJs = require(
|
|
104
|
-
|
|
105
|
-
var
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
103
|
+
var NotehubJs = require('@blues-inc/notehub-js');
|
|
104
|
+
|
|
105
|
+
var defaultClient = NotehubJs.ApiClient.instance;
|
|
106
|
+
// Configure API key authorization: api_key
|
|
107
|
+
var api_key = defaultClient.authentications['api_key'];
|
|
108
|
+
api_key.apiKey = "YOUR API KEY"
|
|
109
|
+
|
|
110
|
+
var api = new NotehubJs.AlertApi()
|
|
111
|
+
var projectUID = app:2606f411-dea6-44a0-9743-1130f57d77d8; // {String}
|
|
112
|
+
var opts = {
|
|
113
|
+
'pageSize': 50, // {Number}
|
|
114
|
+
'pageNum': 1, // {Number}
|
|
115
|
+
'monitorUID': "monitorUID_example" // {String}
|
|
116
|
+
};
|
|
117
|
+
api.getAlerts(projectUID, opts).then(function(data) {
|
|
118
|
+
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
|
|
119
|
+
}, function(error) {
|
|
120
|
+
console.error(error);
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
|
|
117
124
|
```
|
|
118
125
|
|
|
119
126
|
## Documentation for API Endpoints
|
|
@@ -159,7 +166,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
159
166
|
| _NotehubJs.EventApi_ | [**getProjectEvents**](docs/EventApi.md#getProjectEvents) | **GET** /v1/projects/{projectUID}/events |
|
|
160
167
|
| _NotehubJs.EventApi_ | [**getProjectEventsByCursor**](docs/EventApi.md#getProjectEventsByCursor) | **GET** /v1/projects/{projectUID}/events-cursor |
|
|
161
168
|
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectUID}/events/{eventUID}/route-logs |
|
|
162
|
-
| _NotehubJs.FirmwareApi_ | [**getFirmwareInfo**](docs/FirmwareApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectUID}/firmware |
|
|
163
169
|
| _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectUID}/monitors |
|
|
164
170
|
| _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectUID}/monitors/{monitorUID} |
|
|
165
171
|
| _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectUID}/monitors/{monitorUID} |
|
|
@@ -177,12 +183,14 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
177
183
|
| _NotehubJs.ProjectApi_ | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
|
|
178
184
|
| _NotehubJs.ProjectApi_ | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
|
|
179
185
|
| _NotehubJs.ProjectApi_ | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
|
|
186
|
+
| _NotehubJs.ProjectApi_ | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectUID}/firmware |
|
|
180
187
|
| _NotehubJs.ProjectApi_ | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
|
|
181
188
|
| _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
|
|
182
189
|
| _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
|
|
183
190
|
| _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
|
|
184
191
|
| _NotehubJs.ProjectApi_ | [**getProjectFleets**](docs/ProjectApi.md#getProjectFleets) | **GET** /v1/projects/{projectUID}/fleets |
|
|
185
192
|
| _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectUID}/members |
|
|
193
|
+
| _NotehubJs.ProjectApi_ | [**getProjectOTAStatus**](docs/ProjectApi.md#getProjectOTAStatus) | **GET** /v1/projects/{projectUID}/ota/status |
|
|
186
194
|
| _NotehubJs.ProjectApi_ | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
|
|
187
195
|
| _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
|
|
188
196
|
| _NotehubJs.ProjectApi_ | [**putDeviceFleets**](docs/ProjectApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
|
|
@@ -190,6 +198,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
190
198
|
| _NotehubJs.ProjectApi_ | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
|
|
191
199
|
| _NotehubJs.ProjectApi_ | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
|
|
192
200
|
| _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectUID}/fleets/{fleetUID} |
|
|
201
|
+
| _NotehubJs.ProjectApi_ | [**updateProjectFirmware**](docs/ProjectApi.md#updateProjectFirmware) | **POST** /v1/projects/{projectUID}/ota/update |
|
|
193
202
|
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
|
|
194
203
|
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
|
|
195
204
|
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
|
|
@@ -220,10 +229,12 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
220
229
|
- [NotehubJs.DeviceSession](docs/DeviceSession.md)
|
|
221
230
|
- [NotehubJs.DeviceTowerInfo](docs/DeviceTowerInfo.md)
|
|
222
231
|
- [NotehubJs.DeviceUsage](docs/DeviceUsage.md)
|
|
232
|
+
- [NotehubJs.EmailNotification](docs/EmailNotification.md)
|
|
223
233
|
- [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
|
|
224
234
|
- [NotehubJs.Error](docs/Error.md)
|
|
225
235
|
- [NotehubJs.Event](docs/Event.md)
|
|
226
236
|
- [NotehubJs.FirmwareInfo](docs/FirmwareInfo.md)
|
|
237
|
+
- [NotehubJs.FirmwareStatus](docs/FirmwareStatus.md)
|
|
227
238
|
- [NotehubJs.Fleet](docs/Fleet.md)
|
|
228
239
|
- [NotehubJs.GetAlerts200Response](docs/GetAlerts200Response.md)
|
|
229
240
|
- [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.md)
|
|
@@ -258,9 +269,12 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
258
269
|
- [NotehubJs.LoginRequest](docs/LoginRequest.md)
|
|
259
270
|
- [NotehubJs.Monitor](docs/Monitor.md)
|
|
260
271
|
- [NotehubJs.MonitorAlertRoutesInner](docs/MonitorAlertRoutesInner.md)
|
|
261
|
-
- [NotehubJs.MonitorThresholds](docs/MonitorThresholds.md)
|
|
262
272
|
- [NotehubJs.Mqtt](docs/Mqtt.md)
|
|
263
273
|
- [NotehubJs.Note](docs/Note.md)
|
|
274
|
+
- [NotehubJs.OTAStatus](docs/OTAStatus.md)
|
|
275
|
+
- [NotehubJs.OTAStatusList](docs/OTAStatusList.md)
|
|
276
|
+
- [NotehubJs.OTAUpdateRequest](docs/OTAUpdateRequest.md)
|
|
277
|
+
- [NotehubJs.OTAUpdateStatus](docs/OTAUpdateStatus.md)
|
|
264
278
|
- [NotehubJs.PostProvisionProjectDeviceRequest](docs/PostProvisionProjectDeviceRequest.md)
|
|
265
279
|
- [NotehubJs.Product](docs/Product.md)
|
|
266
280
|
- [NotehubJs.Project](docs/Project.md)
|
|
@@ -272,6 +286,8 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
272
286
|
- [NotehubJs.Route](docs/Route.md)
|
|
273
287
|
- [NotehubJs.RouteSchema](docs/RouteSchema.md)
|
|
274
288
|
- [NotehubJs.Slack](docs/Slack.md)
|
|
289
|
+
- [NotehubJs.SlackBearerNotification](docs/SlackBearerNotification.md)
|
|
290
|
+
- [NotehubJs.SlackWebHookNotification](docs/SlackWebHookNotification.md)
|
|
275
291
|
- [NotehubJs.Snowflake](docs/Snowflake.md)
|
|
276
292
|
- [NotehubJs.SnowflakeTransform](docs/SnowflakeTransform.md)
|
|
277
293
|
- [NotehubJs.Thingworx](docs/Thingworx.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _superagent = _interopRequireDefault(require("superagent"));
|
|
8
8
|
var _querystring = _interopRequireDefault(require("querystring"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
|
-
function _classCallCheck(
|
|
12
|
-
function _defineProperties(
|
|
13
|
-
function _createClass(
|
|
11
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.1.0
|
|
20
20
|
* Contact: engineering@blues.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 1.0.
|
|
29
|
+
* @version 1.0.22
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -74,7 +74,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
74
74
|
* @default {}
|
|
75
75
|
*/
|
|
76
76
|
this.defaultHeaders = {
|
|
77
|
-
"User-Agent": "OpenAPI-Generator/1.0.
|
|
77
|
+
"User-Agent": "OpenAPI-Generator/1.0.22/Javascript"
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -7,17 +7,17 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
9
9
|
var _GetAlerts200Response = _interopRequireDefault(require("../model/GetAlerts200Response"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.1.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.22
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -49,6 +49,7 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
49
49
|
* @param {Object} opts Optional parameters
|
|
50
50
|
* @param {Number} opts.pageSize (default to 50)
|
|
51
51
|
* @param {Number} opts.pageNum (default to 1)
|
|
52
|
+
* @param {String} opts.monitorUID
|
|
52
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
|
|
53
54
|
*/
|
|
54
55
|
return _createClass(AlertApi, [{
|
|
@@ -65,7 +66,8 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
65
66
|
};
|
|
66
67
|
var queryParams = {
|
|
67
68
|
pageSize: opts["pageSize"],
|
|
68
|
-
pageNum: opts["pageNum"]
|
|
69
|
+
pageNum: opts["pageNum"],
|
|
70
|
+
monitorUID: opts["monitorUID"]
|
|
69
71
|
};
|
|
70
72
|
var headerParams = {};
|
|
71
73
|
var formParams = {};
|
|
@@ -82,6 +84,7 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
82
84
|
* @param {Object} opts Optional parameters
|
|
83
85
|
* @param {Number} opts.pageSize (default to 50)
|
|
84
86
|
* @param {Number} opts.pageNum (default to 1)
|
|
87
|
+
* @param {String} opts.monitorUID
|
|
85
88
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
|
|
86
89
|
*/
|
|
87
90
|
}, {
|
|
@@ -7,17 +7,17 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Login200Response = _interopRequireDefault(require("../model/Login200Response"));
|
|
9
9
|
var _LoginRequest = _interopRequireDefault(require("../model/LoginRequest"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.1.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.22
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -7,17 +7,17 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
9
9
|
var _GetBillingAccounts200Response = _interopRequireDefault(require("../model/GetBillingAccounts200Response"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.1.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* BillingAccount service.
|
|
30
30
|
* @module api/BillingAccountApi
|
|
31
|
-
* @version 1.0.
|
|
31
|
+
* @version 1.0.22
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -24,17 +24,17 @@ var _HandleNotefileChangesPending200Response = _interopRequireDefault(require(".
|
|
|
24
24
|
var _HandleNotefileDeleteRequest = _interopRequireDefault(require("../model/HandleNotefileDeleteRequest"));
|
|
25
25
|
var _Note = _interopRequireDefault(require("../model/Note"));
|
|
26
26
|
var _PostProvisionProjectDeviceRequest = _interopRequireDefault(require("../model/PostProvisionProjectDeviceRequest"));
|
|
27
|
-
function _interopRequireDefault(
|
|
27
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
28
28
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
29
|
-
function _classCallCheck(
|
|
30
|
-
function _defineProperties(
|
|
31
|
-
function _createClass(
|
|
29
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
30
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
31
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
32
32
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
33
33
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
34
34
|
* Notehub API
|
|
35
35
|
* The OpenAPI definition for the Notehub.io API.
|
|
36
36
|
*
|
|
37
|
-
* The version of the OpenAPI document: 1.
|
|
37
|
+
* The version of the OpenAPI document: 1.1.0
|
|
38
38
|
* Contact: engineering@blues.io
|
|
39
39
|
*
|
|
40
40
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,7 +45,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
45
45
|
/**
|
|
46
46
|
* Device service.
|
|
47
47
|
* @module api/DeviceApi
|
|
48
|
-
* @version 1.0.
|
|
48
|
+
* @version 1.0.22
|
|
49
49
|
*/
|
|
50
50
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
51
51
|
/**
|
|
@@ -117,7 +117,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
117
117
|
* Delete Device
|
|
118
118
|
* @param {String} projectUID
|
|
119
119
|
* @param {String} deviceUID
|
|
120
|
-
* @param {
|
|
120
|
+
* @param {Boolean} purge
|
|
121
121
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
122
122
|
*/
|
|
123
123
|
}, {
|
|
@@ -156,7 +156,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
156
156
|
* Delete Device
|
|
157
157
|
* @param {String} projectUID
|
|
158
158
|
* @param {String} deviceUID
|
|
159
|
-
* @param {
|
|
159
|
+
* @param {Boolean} purge
|
|
160
160
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
161
161
|
*/
|
|
162
162
|
}, {
|