@blues-inc/notehub-js 1.0.11 → 1.0.12
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 +5 -13
- package/dist/ApiClient.js +3 -6
- package/dist/api/AuthorizationApi.js +5 -50
- package/dist/api/BillingAccountApi.js +4 -4
- package/dist/api/DeviceApi.js +16 -16
- package/dist/api/DevicesApi.js +6 -6
- package/dist/api/EnvironmentVariablesApi.js +10 -10
- package/dist/api/EventApi.js +5 -5
- package/dist/api/FilesApi.js +4 -4
- package/dist/api/FleetApi.js +14 -14
- package/dist/api/NotesApi.js +7 -7
- package/dist/api/ProductApi.js +4 -4
- package/dist/api/ProjectApi.js +18 -18
- package/dist/api/RouteApi.js +6 -6
- package/dist/index.js +14 -7
- 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/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/Edgeimpulse.js +214 -0
- package/dist/model/{GenerateAuthToken200Response.js → EdgeimpulseSensorsInner.js} +36 -44
- 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/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 +7 -2
- package/dist/model/RouteSchema.js +1 -1
- 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.12
|
|
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
|
|
|
@@ -103,12 +103,8 @@ Please follow the [installation](#installation) instruction and execute the foll
|
|
|
103
103
|
var NotehubJs = require("@blues-inc/notehub-js");
|
|
104
104
|
|
|
105
105
|
var api = new NotehubJs.AuthorizationApi();
|
|
106
|
-
var
|
|
107
|
-
|
|
108
|
-
clientId: "clientId_example", // {String}
|
|
109
|
-
clientSecret: "clientSecret_example", // {String}
|
|
110
|
-
};
|
|
111
|
-
api.generateAuthToken(opts).then(
|
|
106
|
+
var loginRequest = { username: "name@example.com", password: "test-password" }; // {LoginRequest}
|
|
107
|
+
api.login(loginRequest).then(
|
|
112
108
|
function (data) {
|
|
113
109
|
console.log(
|
|
114
110
|
"API called successfully. Returned data: " + JSON.stringify(data)
|
|
@@ -126,7 +122,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
126
122
|
|
|
127
123
|
| Class | Method | HTTP request | Description |
|
|
128
124
|
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ----------- |
|
|
129
|
-
| _NotehubJs.AuthorizationApi_ | [**generateAuthToken**](docs/AuthorizationApi.md#generateAuthToken) | **POST** /oauth2/token |
|
|
130
125
|
| _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
|
|
131
126
|
| _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
|
|
132
127
|
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
@@ -228,11 +223,12 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
228
223
|
- [NotehubJs.DeviceSession](docs/DeviceSession.md)
|
|
229
224
|
- [NotehubJs.DeviceTowerInfo](docs/DeviceTowerInfo.md)
|
|
230
225
|
- [NotehubJs.DeviceUsage](docs/DeviceUsage.md)
|
|
226
|
+
- [NotehubJs.Edgeimpulse](docs/Edgeimpulse.md)
|
|
227
|
+
- [NotehubJs.EdgeimpulseSensorsInner](docs/EdgeimpulseSensorsInner.md)
|
|
231
228
|
- [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
|
|
232
229
|
- [NotehubJs.Error](docs/Error.md)
|
|
233
230
|
- [NotehubJs.Event](docs/Event.md)
|
|
234
231
|
- [NotehubJs.Fleet](docs/Fleet.md)
|
|
235
|
-
- [NotehubJs.GenerateAuthToken200Response](docs/GenerateAuthToken200Response.md)
|
|
236
232
|
- [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.md)
|
|
237
233
|
- [NotehubJs.GetDeviceEnvironmentVariables200Response](docs/GetDeviceEnvironmentVariables200Response.md)
|
|
238
234
|
- [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
|
|
@@ -289,10 +285,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
289
285
|
- **API key parameter name**: X-Session-Token
|
|
290
286
|
- **Location**: HTTP header
|
|
291
287
|
|
|
292
|
-
### bearer_access_token
|
|
293
|
-
|
|
294
|
-
- **Type**: Bearer authentication
|
|
295
|
-
|
|
296
288
|
### pin
|
|
297
289
|
|
|
298
290
|
- **Type**: API key
|
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.12
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
21
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -50,9 +50,6 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
50
50
|
"in": "header",
|
|
51
51
|
name: "X-Session-Token"
|
|
52
52
|
},
|
|
53
|
-
bearer_access_token: {
|
|
54
|
-
type: "bearer"
|
|
55
|
-
},
|
|
56
53
|
pin: {
|
|
57
54
|
type: "apiKey",
|
|
58
55
|
"in": "header",
|
|
@@ -66,7 +63,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
66
63
|
* @default {}
|
|
67
64
|
*/
|
|
68
65
|
this.defaultHeaders = {
|
|
69
|
-
"User-Agent": "OpenAPI-Generator/1.0.
|
|
66
|
+
"User-Agent": "OpenAPI-Generator/1.0.12/Javascript"
|
|
70
67
|
};
|
|
71
68
|
|
|
72
69
|
/**
|
|
@@ -164,7 +161,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
164
161
|
} else {
|
|
165
162
|
value = fullMatch;
|
|
166
163
|
}
|
|
167
|
-
return value;
|
|
164
|
+
return encodeURIComponent(value);
|
|
168
165
|
});
|
|
169
166
|
return url;
|
|
170
167
|
}
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _GenerateAuthToken200Response = _interopRequireDefault(require("../model/GenerateAuthToken200Response"));
|
|
9
8
|
var _Login200Response = _interopRequireDefault(require("../model/Login200Response"));
|
|
10
9
|
var _LoginRequest = _interopRequireDefault(require("../model/LoginRequest"));
|
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -18,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
17
|
/**
|
|
19
18
|
* Authorization service.
|
|
20
19
|
* @module api/AuthorizationApi
|
|
21
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.12
|
|
22
21
|
*/
|
|
23
22
|
var AuthorizationApi = /*#__PURE__*/function () {
|
|
24
23
|
/**
|
|
@@ -34,55 +33,11 @@ var AuthorizationApi = /*#__PURE__*/function () {
|
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
/**
|
|
37
|
-
* Gets
|
|
38
|
-
* @param {
|
|
39
|
-
* @
|
|
40
|
-
* @param {String} opts.clientId
|
|
41
|
-
* @param {String} opts.clientSecret
|
|
42
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GenerateAuthToken200Response} and HTTP response
|
|
36
|
+
* Gets a session token from the API from a username and password.
|
|
37
|
+
* @param {module:model/LoginRequest} loginRequest
|
|
38
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Login200Response} and HTTP response
|
|
43
39
|
*/
|
|
44
40
|
_createClass(AuthorizationApi, [{
|
|
45
|
-
key: "generateAuthTokenWithHttpInfo",
|
|
46
|
-
value: function generateAuthTokenWithHttpInfo(opts) {
|
|
47
|
-
opts = opts || {};
|
|
48
|
-
var postBody = null;
|
|
49
|
-
var pathParams = {};
|
|
50
|
-
var queryParams = {};
|
|
51
|
-
var headerParams = {};
|
|
52
|
-
var formParams = {
|
|
53
|
-
grant_type: opts["grantType"],
|
|
54
|
-
client_id: opts["clientId"],
|
|
55
|
-
client_secret: opts["clientSecret"]
|
|
56
|
-
};
|
|
57
|
-
var authNames = [];
|
|
58
|
-
var contentTypes = ["application/x-www-form-urlencoded"];
|
|
59
|
-
var accepts = ["application/json"];
|
|
60
|
-
var returnType = _GenerateAuthToken200Response["default"];
|
|
61
|
-
return this.apiClient.callApi("/oauth2/token", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Gets an OAuth bearer token that lasts for 30 minutes from the API based on a Notehub user and Notehub project.
|
|
66
|
-
* @param {Object} opts Optional parameters
|
|
67
|
-
* @param {String} opts.grantType
|
|
68
|
-
* @param {String} opts.clientId
|
|
69
|
-
* @param {String} opts.clientSecret
|
|
70
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GenerateAuthToken200Response}
|
|
71
|
-
*/
|
|
72
|
-
}, {
|
|
73
|
-
key: "generateAuthToken",
|
|
74
|
-
value: function generateAuthToken(opts) {
|
|
75
|
-
return this.generateAuthTokenWithHttpInfo(opts).then(function (response_and_data) {
|
|
76
|
-
return response_and_data.data;
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* DEPRECATED. Gets a session token from the API from a username and password.
|
|
82
|
-
* @param {module:model/LoginRequest} loginRequest
|
|
83
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Login200Response} and HTTP response
|
|
84
|
-
*/
|
|
85
|
-
}, {
|
|
86
41
|
key: "loginWithHttpInfo",
|
|
87
42
|
value: function loginWithHttpInfo(loginRequest) {
|
|
88
43
|
var postBody = loginRequest;
|
|
@@ -102,7 +57,7 @@ var AuthorizationApi = /*#__PURE__*/function () {
|
|
|
102
57
|
}
|
|
103
58
|
|
|
104
59
|
/**
|
|
105
|
-
*
|
|
60
|
+
* Gets a session token from the API from a username and password.
|
|
106
61
|
* @param {module:model/LoginRequest} loginRequest
|
|
107
62
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Login200Response}
|
|
108
63
|
*/
|
|
@@ -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.12
|
|
21
21
|
*/
|
|
22
22
|
var BillingAccountApi = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -33,7 +33,7 @@ var BillingAccountApi = /*#__PURE__*/function () {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* Get Billing Accounts accessible by the
|
|
36
|
+
* Get Billing Accounts accessible by the api_key
|
|
37
37
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccounts200Response} and HTTP response
|
|
38
38
|
*/
|
|
39
39
|
_createClass(BillingAccountApi, [{
|
|
@@ -44,7 +44,7 @@ var BillingAccountApi = /*#__PURE__*/function () {
|
|
|
44
44
|
var queryParams = {};
|
|
45
45
|
var headerParams = {};
|
|
46
46
|
var formParams = {};
|
|
47
|
-
var authNames = ["
|
|
47
|
+
var authNames = ["api_key"];
|
|
48
48
|
var contentTypes = [];
|
|
49
49
|
var accepts = ["application/json"];
|
|
50
50
|
var returnType = _GetBillingAccounts200Response["default"];
|
|
@@ -52,7 +52,7 @@ var BillingAccountApi = /*#__PURE__*/function () {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Get Billing Accounts accessible by the
|
|
55
|
+
* Get Billing Accounts accessible by the api_key
|
|
56
56
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccounts200Response}
|
|
57
57
|
*/
|
|
58
58
|
}, {
|
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.12
|
|
31
31
|
*/
|
|
32
32
|
var DeviceApi = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -73,7 +73,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
73
73
|
var queryParams = {};
|
|
74
74
|
var headerParams = {};
|
|
75
75
|
var formParams = {};
|
|
76
|
-
var authNames = ["
|
|
76
|
+
var authNames = ["api_key"];
|
|
77
77
|
var contentTypes = [];
|
|
78
78
|
var accepts = ["application/json"];
|
|
79
79
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -125,7 +125,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
125
125
|
var queryParams = {};
|
|
126
126
|
var headerParams = {};
|
|
127
127
|
var formParams = {};
|
|
128
|
-
var authNames = ["
|
|
128
|
+
var authNames = ["api_key"];
|
|
129
129
|
var contentTypes = ["application/json"];
|
|
130
130
|
var accepts = ["application/json"];
|
|
131
131
|
var returnType = _GetProjectFleets200Response["default"];
|
|
@@ -172,7 +172,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
172
172
|
var queryParams = {};
|
|
173
173
|
var headerParams = {};
|
|
174
174
|
var formParams = {};
|
|
175
|
-
var authNames = ["
|
|
175
|
+
var authNames = ["api_key"];
|
|
176
176
|
var contentTypes = [];
|
|
177
177
|
var accepts = ["application/json"];
|
|
178
178
|
var returnType = null;
|
|
@@ -218,7 +218,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
218
218
|
var queryParams = {};
|
|
219
219
|
var headerParams = {};
|
|
220
220
|
var formParams = {};
|
|
221
|
-
var authNames = ["
|
|
221
|
+
var authNames = ["api_key"];
|
|
222
222
|
var contentTypes = [];
|
|
223
223
|
var accepts = ["application/json"];
|
|
224
224
|
var returnType = null;
|
|
@@ -264,7 +264,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
264
264
|
var queryParams = {};
|
|
265
265
|
var headerParams = {};
|
|
266
266
|
var formParams = {};
|
|
267
|
-
var authNames = ["
|
|
267
|
+
var authNames = ["api_key"];
|
|
268
268
|
var contentTypes = [];
|
|
269
269
|
var accepts = ["application/json"];
|
|
270
270
|
var returnType = _GetDeviceEnvironmentVariables200Response["default"];
|
|
@@ -356,7 +356,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
356
356
|
var queryParams = {};
|
|
357
357
|
var headerParams = {};
|
|
358
358
|
var formParams = {};
|
|
359
|
-
var authNames = ["
|
|
359
|
+
var authNames = ["api_key"];
|
|
360
360
|
var contentTypes = [];
|
|
361
361
|
var accepts = ["application/json"];
|
|
362
362
|
var returnType = _GetProjectFleets200Response["default"];
|
|
@@ -402,7 +402,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
402
402
|
var queryParams = {};
|
|
403
403
|
var headerParams = {};
|
|
404
404
|
var formParams = {};
|
|
405
|
-
var authNames = ["
|
|
405
|
+
var authNames = ["api_key"];
|
|
406
406
|
var contentTypes = [];
|
|
407
407
|
var accepts = ["application/json"];
|
|
408
408
|
var returnType = _GetDeviceHealthLog200Response["default"];
|
|
@@ -448,7 +448,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
448
448
|
var queryParams = {};
|
|
449
449
|
var headerParams = {};
|
|
450
450
|
var formParams = {};
|
|
451
|
-
var authNames = ["
|
|
451
|
+
var authNames = ["api_key"];
|
|
452
452
|
var contentTypes = [];
|
|
453
453
|
var accepts = ["application/json"];
|
|
454
454
|
var returnType = _GetDeviceLatest200Response["default"];
|
|
@@ -494,7 +494,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
494
494
|
var queryParams = {};
|
|
495
495
|
var headerParams = {};
|
|
496
496
|
var formParams = {};
|
|
497
|
-
var authNames = ["
|
|
497
|
+
var authNames = ["api_key"];
|
|
498
498
|
var contentTypes = [];
|
|
499
499
|
var accepts = ["application/json"];
|
|
500
500
|
var returnType = _GetDevicePublicKey200Response["default"];
|
|
@@ -547,7 +547,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
547
547
|
};
|
|
548
548
|
var headerParams = {};
|
|
549
549
|
var formParams = {};
|
|
550
|
-
var authNames = ["
|
|
550
|
+
var authNames = ["api_key"];
|
|
551
551
|
var contentTypes = [];
|
|
552
552
|
var accepts = ["application/json"];
|
|
553
553
|
var returnType = _GetDeviceSessions200Response["default"];
|
|
@@ -575,7 +575,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
575
575
|
* Send a signal from Notehub to a Notecard.
|
|
576
576
|
* @param {String} projectUID
|
|
577
577
|
* @param {String} deviceUID
|
|
578
|
-
* @param {module:model/Body} body Body or payload of
|
|
578
|
+
* @param {module:model/Body} body Body or payload of singnal to be sent to the device
|
|
579
579
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNoteSignal200Response} and HTTP response
|
|
580
580
|
*/
|
|
581
581
|
}, {
|
|
@@ -601,7 +601,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
601
601
|
var queryParams = {};
|
|
602
602
|
var headerParams = {};
|
|
603
603
|
var formParams = {};
|
|
604
|
-
var authNames = ["
|
|
604
|
+
var authNames = ["api_key"];
|
|
605
605
|
var contentTypes = ["application/json"];
|
|
606
606
|
var accepts = ["application/json"];
|
|
607
607
|
var returnType = _HandleNoteSignal200Response["default"];
|
|
@@ -612,7 +612,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
612
612
|
* Send a signal from Notehub to a Notecard.
|
|
613
613
|
* @param {String} projectUID
|
|
614
614
|
* @param {String} deviceUID
|
|
615
|
-
* @param {module:model/Body} body Body or payload of
|
|
615
|
+
* @param {module:model/Body} body Body or payload of singnal to be sent to the device
|
|
616
616
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNoteSignal200Response}
|
|
617
617
|
*/
|
|
618
618
|
}, {
|
|
@@ -653,7 +653,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
653
653
|
var queryParams = {};
|
|
654
654
|
var headerParams = {};
|
|
655
655
|
var formParams = {};
|
|
656
|
-
var authNames = ["
|
|
656
|
+
var authNames = ["api_key"];
|
|
657
657
|
var contentTypes = ["application/json"];
|
|
658
658
|
var accepts = ["application/json"];
|
|
659
659
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -757,7 +757,7 @@ var DeviceApi = /*#__PURE__*/function () {
|
|
|
757
757
|
var queryParams = {};
|
|
758
758
|
var headerParams = {};
|
|
759
759
|
var formParams = {};
|
|
760
|
-
var authNames = ["
|
|
760
|
+
var authNames = ["api_key"];
|
|
761
761
|
var contentTypes = ["application/json"];
|
|
762
762
|
var accepts = ["application/json"];
|
|
763
763
|
var returnType = _GetProjectFleets200Response["default"];
|
package/dist/api/DevicesApi.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* Devices service.
|
|
21
21
|
* @module api/DevicesApi
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.12
|
|
23
23
|
*/
|
|
24
24
|
var DevicesApi = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -66,7 +66,7 @@ var DevicesApi = /*#__PURE__*/function () {
|
|
|
66
66
|
};
|
|
67
67
|
var headerParams = {};
|
|
68
68
|
var formParams = {};
|
|
69
|
-
var authNames = ["
|
|
69
|
+
var authNames = ["api_key"];
|
|
70
70
|
var contentTypes = [];
|
|
71
71
|
var accepts = ["application/json"];
|
|
72
72
|
var returnType = null;
|
|
@@ -113,7 +113,7 @@ var DevicesApi = /*#__PURE__*/function () {
|
|
|
113
113
|
var queryParams = {};
|
|
114
114
|
var headerParams = {};
|
|
115
115
|
var formParams = {};
|
|
116
|
-
var authNames = ["
|
|
116
|
+
var authNames = ["api_key"];
|
|
117
117
|
var contentTypes = [];
|
|
118
118
|
var accepts = ["application/json"];
|
|
119
119
|
var returnType = _Device["default"];
|
|
@@ -160,7 +160,7 @@ var DevicesApi = /*#__PURE__*/function () {
|
|
|
160
160
|
};
|
|
161
161
|
var headerParams = {};
|
|
162
162
|
var formParams = {};
|
|
163
|
-
var authNames = ["
|
|
163
|
+
var authNames = ["api_key"];
|
|
164
164
|
var contentTypes = [];
|
|
165
165
|
var accepts = ["application/json"];
|
|
166
166
|
var returnType = _GetProjectDevicePublicKeys200Response["default"];
|
|
@@ -209,7 +209,7 @@ var DevicesApi = /*#__PURE__*/function () {
|
|
|
209
209
|
};
|
|
210
210
|
var headerParams = {};
|
|
211
211
|
var formParams = {};
|
|
212
|
-
var authNames = ["
|
|
212
|
+
var authNames = ["api_key"];
|
|
213
213
|
var contentTypes = [];
|
|
214
214
|
var accepts = ["application/json"];
|
|
215
215
|
var returnType = _GetProjectDevices200Response["default"];
|
|
@@ -264,7 +264,7 @@ var DevicesApi = /*#__PURE__*/function () {
|
|
|
264
264
|
};
|
|
265
265
|
var headerParams = {};
|
|
266
266
|
var formParams = {};
|
|
267
|
-
var authNames = ["
|
|
267
|
+
var authNames = ["api_key"];
|
|
268
268
|
var contentTypes = [];
|
|
269
269
|
var accepts = ["application/json"];
|
|
270
270
|
var returnType = _GetProjectDevices200Response["default"];
|
|
@@ -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.12
|
|
22
22
|
*/
|
|
23
23
|
var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -64,7 +64,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
64
64
|
var queryParams = {};
|
|
65
65
|
var headerParams = {};
|
|
66
66
|
var formParams = {};
|
|
67
|
-
var authNames = ["
|
|
67
|
+
var authNames = ["api_key"];
|
|
68
68
|
var contentTypes = [];
|
|
69
69
|
var accepts = ["application/json"];
|
|
70
70
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -117,7 +117,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
117
117
|
var queryParams = {};
|
|
118
118
|
var headerParams = {};
|
|
119
119
|
var formParams = {};
|
|
120
|
-
var authNames = ["
|
|
120
|
+
var authNames = ["api_key"];
|
|
121
121
|
var contentTypes = [];
|
|
122
122
|
var accepts = ["application/json"];
|
|
123
123
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -164,7 +164,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
164
164
|
var queryParams = {};
|
|
165
165
|
var headerParams = {};
|
|
166
166
|
var formParams = {};
|
|
167
|
-
var authNames = ["
|
|
167
|
+
var authNames = ["api_key"];
|
|
168
168
|
var contentTypes = [];
|
|
169
169
|
var accepts = ["application/json"];
|
|
170
170
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -210,7 +210,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
210
210
|
var queryParams = {};
|
|
211
211
|
var headerParams = {};
|
|
212
212
|
var formParams = {};
|
|
213
|
-
var authNames = ["
|
|
213
|
+
var authNames = ["api_key"];
|
|
214
214
|
var contentTypes = [];
|
|
215
215
|
var accepts = ["application/json"];
|
|
216
216
|
var returnType = _GetDeviceEnvironmentVariables200Response["default"];
|
|
@@ -302,7 +302,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
302
302
|
var queryParams = {};
|
|
303
303
|
var headerParams = {};
|
|
304
304
|
var formParams = {};
|
|
305
|
-
var authNames = ["
|
|
305
|
+
var authNames = ["api_key"];
|
|
306
306
|
var contentTypes = [];
|
|
307
307
|
var accepts = ["application/json"];
|
|
308
308
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -342,7 +342,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
342
342
|
var queryParams = {};
|
|
343
343
|
var headerParams = {};
|
|
344
344
|
var formParams = {};
|
|
345
|
-
var authNames = ["
|
|
345
|
+
var authNames = ["api_key"];
|
|
346
346
|
var contentTypes = [];
|
|
347
347
|
var accepts = ["application/json"];
|
|
348
348
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -392,7 +392,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
392
392
|
var queryParams = {};
|
|
393
393
|
var headerParams = {};
|
|
394
394
|
var formParams = {};
|
|
395
|
-
var authNames = ["
|
|
395
|
+
var authNames = ["api_key"];
|
|
396
396
|
var contentTypes = ["application/json"];
|
|
397
397
|
var accepts = ["application/json"];
|
|
398
398
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -496,7 +496,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
496
496
|
var queryParams = {};
|
|
497
497
|
var headerParams = {};
|
|
498
498
|
var formParams = {};
|
|
499
|
-
var authNames = ["
|
|
499
|
+
var authNames = ["api_key"];
|
|
500
500
|
var contentTypes = ["application/json"];
|
|
501
501
|
var accepts = ["application/json"];
|
|
502
502
|
var returnType = _EnvironmentVariables["default"];
|
|
@@ -540,7 +540,7 @@ var EnvironmentVariablesApi = /*#__PURE__*/function () {
|
|
|
540
540
|
var queryParams = {};
|
|
541
541
|
var headerParams = {};
|
|
542
542
|
var formParams = {};
|
|
543
|
-
var authNames = ["
|
|
543
|
+
var authNames = ["api_key"];
|
|
544
544
|
var contentTypes = ["application/json"];
|
|
545
545
|
var accepts = ["application/json"];
|
|
546
546
|
var returnType = _EnvironmentVariables["default"];
|
package/dist/api/EventApi.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* Event service.
|
|
20
20
|
* @module api/EventApi
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.12
|
|
22
22
|
*/
|
|
23
23
|
var EventApi = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -79,7 +79,7 @@ var EventApi = /*#__PURE__*/function () {
|
|
|
79
79
|
};
|
|
80
80
|
var headerParams = {};
|
|
81
81
|
var formParams = {};
|
|
82
|
-
var authNames = ["
|
|
82
|
+
var authNames = ["api_key"];
|
|
83
83
|
var contentTypes = [];
|
|
84
84
|
var accepts = ["application/json"];
|
|
85
85
|
var returnType = _GetProjectEvents200Response["default"];
|
|
@@ -154,7 +154,7 @@ var EventApi = /*#__PURE__*/function () {
|
|
|
154
154
|
};
|
|
155
155
|
var headerParams = {};
|
|
156
156
|
var formParams = {};
|
|
157
|
-
var authNames = ["
|
|
157
|
+
var authNames = ["api_key"];
|
|
158
158
|
var contentTypes = [];
|
|
159
159
|
var accepts = ["application/json"];
|
|
160
160
|
var returnType = _GetProjectEventsByCursor200Response["default"];
|
|
@@ -224,7 +224,7 @@ var EventApi = /*#__PURE__*/function () {
|
|
|
224
224
|
};
|
|
225
225
|
var headerParams = {};
|
|
226
226
|
var formParams = {};
|
|
227
|
-
var authNames = ["
|
|
227
|
+
var authNames = ["api_key"];
|
|
228
228
|
var contentTypes = [];
|
|
229
229
|
var accepts = ["application/json"];
|
|
230
230
|
var returnType = _GetProjectEvents200Response["default"];
|
|
@@ -292,7 +292,7 @@ var EventApi = /*#__PURE__*/function () {
|
|
|
292
292
|
};
|
|
293
293
|
var headerParams = {};
|
|
294
294
|
var formParams = {};
|
|
295
|
-
var authNames = ["
|
|
295
|
+
var authNames = ["api_key"];
|
|
296
296
|
var contentTypes = [];
|
|
297
297
|
var accepts = ["application/json"];
|
|
298
298
|
var returnType = _GetProjectEventsByCursor200Response["default"];
|
package/dist/api/FilesApi.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* Files service.
|
|
21
21
|
* @module api/FilesApi
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.12
|
|
23
23
|
*/
|
|
24
24
|
var FilesApi = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -66,7 +66,7 @@ var FilesApi = /*#__PURE__*/function () {
|
|
|
66
66
|
};
|
|
67
67
|
var headerParams = {};
|
|
68
68
|
var formParams = {};
|
|
69
|
-
var authNames = ["
|
|
69
|
+
var authNames = ["api_key"];
|
|
70
70
|
var contentTypes = [];
|
|
71
71
|
var accepts = ["application/json"];
|
|
72
72
|
var returnType = _HandleNotefileChanges200Response["default"];
|
|
@@ -115,7 +115,7 @@ var FilesApi = /*#__PURE__*/function () {
|
|
|
115
115
|
var queryParams = {};
|
|
116
116
|
var headerParams = {};
|
|
117
117
|
var formParams = {};
|
|
118
|
-
var authNames = ["
|
|
118
|
+
var authNames = ["api_key"];
|
|
119
119
|
var contentTypes = [];
|
|
120
120
|
var accepts = ["application/json"];
|
|
121
121
|
var returnType = _HandleNotefileChangesPending200Response["default"];
|
|
@@ -166,7 +166,7 @@ var FilesApi = /*#__PURE__*/function () {
|
|
|
166
166
|
var queryParams = {};
|
|
167
167
|
var headerParams = {};
|
|
168
168
|
var formParams = {};
|
|
169
|
-
var authNames = ["
|
|
169
|
+
var authNames = ["api_key"];
|
|
170
170
|
var contentTypes = ["application/json"];
|
|
171
171
|
var accepts = ["application/json"];
|
|
172
172
|
var returnType = null;
|