@blues-inc/notehub-js 1.0.10 → 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.
Files changed (83) hide show
  1. package/README.md +175 -180
  2. package/dist/ApiClient.js +155 -155
  3. package/dist/api/AuthorizationApi.js +15 -15
  4. package/dist/api/BillingAccountApi.js +13 -13
  5. package/dist/api/DeviceApi.js +157 -157
  6. package/dist/api/DevicesApi.js +58 -58
  7. package/dist/api/EnvironmentVariablesApi.js +110 -110
  8. package/dist/api/EventApi.js +94 -94
  9. package/dist/api/FilesApi.js +42 -42
  10. package/dist/api/FleetApi.js +160 -160
  11. package/dist/api/NotesApi.js +105 -105
  12. package/dist/api/ProductApi.js +29 -29
  13. package/dist/api/ProjectApi.js +137 -137
  14. package/dist/api/RouteApi.js +51 -51
  15. package/dist/index.js +14 -0
  16. package/dist/model/Aws.js +64 -64
  17. package/dist/model/Azure.js +42 -42
  18. package/dist/model/BillingAccount.js +20 -20
  19. package/dist/model/Body.js +4 -4
  20. package/dist/model/Contact.js +21 -21
  21. package/dist/model/CreateFleetRequest.js +6 -6
  22. package/dist/model/CreateProductRequest.js +21 -21
  23. package/dist/model/CreateProjectRequest.js +13 -13
  24. package/dist/model/DFUEnv.js +11 -11
  25. package/dist/model/DFUState.js +64 -64
  26. package/dist/model/DeleteDeviceFleetsRequest.js +7 -7
  27. package/dist/model/Device.js +82 -82
  28. package/dist/model/DeviceSession.js +181 -181
  29. package/dist/model/DeviceTowerInfo.js +13 -13
  30. package/dist/model/DeviceUsage.js +31 -31
  31. package/dist/model/Edgeimpulse.js +214 -0
  32. package/dist/model/EdgeimpulseSensorsInner.js +106 -0
  33. package/dist/model/EnvironmentVariables.js +7 -7
  34. package/dist/model/Error.js +30 -30
  35. package/dist/model/Event.js +222 -222
  36. package/dist/model/Fleet.js +20 -20
  37. package/dist/model/GetBillingAccounts200Response.js +8 -9
  38. package/dist/model/GetDeviceEnvironmentVariables200Response.js +11 -11
  39. package/dist/model/GetDeviceHealthLog200Response.js +10 -11
  40. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +18 -18
  41. package/dist/model/GetDeviceLatest200Response.js +8 -9
  42. package/dist/model/GetDevicePublicKey200Response.js +15 -15
  43. package/dist/model/GetDeviceSessions200Response.js +15 -16
  44. package/dist/model/GetProjectDevicePublicKeys200Response.js +15 -16
  45. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +11 -11
  46. package/dist/model/GetProjectDevices200Response.js +15 -16
  47. package/dist/model/GetProjectEvents200Response.js +20 -21
  48. package/dist/model/GetProjectEventsByCursor200Response.js +22 -23
  49. package/dist/model/GetProjectFleets200Response.js +10 -11
  50. package/dist/model/GetProjectMembers200Response.js +10 -11
  51. package/dist/model/GetProjectProducts200Response.js +8 -9
  52. package/dist/model/GetProjects200Response.js +8 -9
  53. package/dist/model/Google.js +27 -27
  54. package/dist/model/HandleNoteChanges200Response.js +10 -10
  55. package/dist/model/HandleNoteGet200Response.js +12 -12
  56. package/dist/model/HandleNoteSignal200Response.js +4 -4
  57. package/dist/model/HandleNotefileChanges200Response.js +10 -10
  58. package/dist/model/HandleNotefileChangesPending200Response.js +13 -13
  59. package/dist/model/HandleNotefileDeleteRequest.js +6 -6
  60. package/dist/model/Http.js +34 -34
  61. package/dist/model/HttpFilter.js +18 -18
  62. package/dist/model/HttpTransform.js +19 -19
  63. package/dist/model/Location.js +39 -39
  64. package/dist/model/Login200Response.js +6 -6
  65. package/dist/model/LoginRequest.js +11 -11
  66. package/dist/model/Mqtt.js +65 -65
  67. package/dist/model/Note.js +9 -9
  68. package/dist/model/Product.js +25 -25
  69. package/dist/model/Project.js +33 -33
  70. package/dist/model/ProjectMember.js +21 -21
  71. package/dist/model/Proxy.js +23 -23
  72. package/dist/model/PutDeviceFleetsRequest.js +7 -7
  73. package/dist/model/Radresponder.js +24 -24
  74. package/dist/model/Route.js +40 -35
  75. package/dist/model/RouteSchema.js +39 -38
  76. package/dist/model/Snowflake.js +44 -44
  77. package/dist/model/SnowflakeTransform.js +11 -11
  78. package/dist/model/Thingworx.js +32 -32
  79. package/dist/model/TowerLocation.js +51 -51
  80. package/dist/model/Twilio.js +42 -42
  81. package/dist/model/UpdateFleetRequest.js +16 -16
  82. package/dist/model/UserDbRoute.js +24 -24
  83. package/package.json +3 -3
@@ -15,18 +15,18 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  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); }
17
17
  /**
18
- * Authorization service.
19
- * @module api/AuthorizationApi
20
- * @version 1.0.10
21
- */
18
+ * Authorization service.
19
+ * @module api/AuthorizationApi
20
+ * @version 1.0.12
21
+ */
22
22
  var AuthorizationApi = /*#__PURE__*/function () {
23
23
  /**
24
- * Constructs a new AuthorizationApi.
25
- * @alias module:api/AuthorizationApi
26
- * @class
27
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
28
- * default to {@link module:ApiClient#instance} if unspecified.
29
- */
24
+ * Constructs a new AuthorizationApi.
25
+ * @alias module:api/AuthorizationApi
26
+ * @class
27
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
28
+ * default to {@link module:ApiClient#instance} if unspecified.
29
+ */
30
30
  function AuthorizationApi(apiClient) {
31
31
  _classCallCheck(this, AuthorizationApi);
32
32
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -34,7 +34,7 @@ var AuthorizationApi = /*#__PURE__*/function () {
34
34
 
35
35
  /**
36
36
  * Gets a session token from the API from a username and password.
37
- * @param {module:model/LoginRequest} loginRequest
37
+ * @param {module:model/LoginRequest} loginRequest
38
38
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Login200Response} and HTTP response
39
39
  */
40
40
  _createClass(AuthorizationApi, [{
@@ -50,15 +50,15 @@ var AuthorizationApi = /*#__PURE__*/function () {
50
50
  var headerParams = {};
51
51
  var formParams = {};
52
52
  var authNames = [];
53
- var contentTypes = ['application/json'];
54
- var accepts = ['application/json'];
53
+ var contentTypes = ["application/json"];
54
+ var accepts = ["application/json"];
55
55
  var returnType = _Login200Response["default"];
56
- return this.apiClient.callApi('/auth/login', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
56
+ return this.apiClient.callApi("/auth/login", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
57
57
  }
58
58
 
59
59
  /**
60
60
  * Gets a session token from the API from a username and password.
61
- * @param {module:model/LoginRequest} loginRequest
61
+ * @param {module:model/LoginRequest} loginRequest
62
62
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Login200Response}
63
63
  */
64
64
  }, {
@@ -15,18 +15,18 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  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); }
17
17
  /**
18
- * BillingAccount service.
19
- * @module api/BillingAccountApi
20
- * @version 1.0.10
21
- */
18
+ * BillingAccount service.
19
+ * @module api/BillingAccountApi
20
+ * @version 1.0.12
21
+ */
22
22
  var BillingAccountApi = /*#__PURE__*/function () {
23
23
  /**
24
- * Constructs a new BillingAccountApi.
25
- * @alias module:api/BillingAccountApi
26
- * @class
27
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
28
- * default to {@link module:ApiClient#instance} if unspecified.
29
- */
24
+ * Constructs a new BillingAccountApi.
25
+ * @alias module:api/BillingAccountApi
26
+ * @class
27
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
28
+ * default to {@link module:ApiClient#instance} if unspecified.
29
+ */
30
30
  function BillingAccountApi(apiClient) {
31
31
  _classCallCheck(this, BillingAccountApi);
32
32
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -44,11 +44,11 @@ var BillingAccountApi = /*#__PURE__*/function () {
44
44
  var queryParams = {};
45
45
  var headerParams = {};
46
46
  var formParams = {};
47
- var authNames = ['api_key'];
47
+ var authNames = ["api_key"];
48
48
  var contentTypes = [];
49
- var accepts = ['application/json'];
49
+ var accepts = ["application/json"];
50
50
  var returnType = _GetBillingAccounts200Response["default"];
51
- return this.apiClient.callApi('/v1/billing-accounts', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
51
+ return this.apiClient.callApi("/v1/billing-accounts", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
52
52
  }
53
53
 
54
54
  /**