@blues-inc/notehub-js 1.0.23-beta.1 → 1.0.23-beta.11

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 (98) hide show
  1. package/README.md +3 -3
  2. package/dist/ApiClient.js +4 -4
  3. package/dist/api/AlertApi.js +3 -3
  4. package/dist/api/AuthorizationApi.js +3 -3
  5. package/dist/api/BillingAccountApi.js +3 -3
  6. package/dist/api/DeviceApi.js +3 -3
  7. package/dist/api/EventApi.js +3 -3
  8. package/dist/api/MonitorApi.js +3 -3
  9. package/dist/api/ProjectApi.js +3 -3
  10. package/dist/api/RouteApi.js +3 -3
  11. package/dist/model/Alert.js +47 -3
  12. package/dist/model/AlertDataInner.js +3 -3
  13. package/dist/model/AlertNotificationsInner.js +3 -3
  14. package/dist/model/Aws.js +3 -3
  15. package/dist/model/Azure.js +3 -3
  16. package/dist/model/BillingAccount.js +3 -3
  17. package/dist/model/BillingAccountRole.js +2 -2
  18. package/dist/model/Body.js +3 -3
  19. package/dist/model/CloneProjectRequest.js +3 -3
  20. package/dist/model/Contact.js +3 -3
  21. package/dist/model/CreateFleetRequest.js +3 -3
  22. package/dist/model/CreateMonitor.js +3 -3
  23. package/dist/model/CreateProductRequest.js +3 -3
  24. package/dist/model/CreateProjectRequest.js +3 -3
  25. package/dist/model/DFUEnv.js +3 -3
  26. package/dist/model/DFUState.js +3 -3
  27. package/dist/model/DeleteDeviceFleetsRequest.js +3 -3
  28. package/dist/model/Device.js +3 -3
  29. package/dist/model/DeviceSession.js +3 -3
  30. package/dist/model/DeviceTowerInfo.js +3 -3
  31. package/dist/model/DeviceUsage.js +3 -3
  32. package/dist/model/EmailNotification.js +3 -3
  33. package/dist/model/EnvironmentVariables.js +3 -3
  34. package/dist/model/Error.js +3 -3
  35. package/dist/model/Event.js +3 -3
  36. package/dist/model/FirmwareInfo.js +3 -3
  37. package/dist/model/FirmwareStatus.js +3 -3
  38. package/dist/model/Fleet.js +3 -3
  39. package/dist/model/GetAlerts200Response.js +3 -3
  40. package/dist/model/GetBillingAccounts200Response.js +3 -3
  41. package/dist/model/GetDeviceEnvironmentVariables200Response.js +3 -3
  42. package/dist/model/GetDeviceHealthLog200Response.js +3 -3
  43. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +3 -3
  44. package/dist/model/GetDeviceLatest200Response.js +3 -3
  45. package/dist/model/GetDevicePublicKey200Response.js +3 -3
  46. package/dist/model/GetDeviceSessions200Response.js +3 -3
  47. package/dist/model/GetProjectDevicePublicKeys200Response.js +3 -3
  48. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -3
  49. package/dist/model/GetProjectDevices200Response.js +3 -3
  50. package/dist/model/GetProjectEvents200Response.js +3 -3
  51. package/dist/model/GetProjectEventsByCursor200Response.js +3 -3
  52. package/dist/model/GetProjectFleets200Response.js +3 -3
  53. package/dist/model/GetProjectMembers200Response.js +3 -3
  54. package/dist/model/GetProjectProducts200Response.js +3 -3
  55. package/dist/model/GetProjects200Response.js +3 -3
  56. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +3 -3
  57. package/dist/model/Google.js +3 -3
  58. package/dist/model/HandleNoteChanges200Response.js +3 -3
  59. package/dist/model/HandleNoteGet200Response.js +3 -3
  60. package/dist/model/HandleNoteSignal200Response.js +3 -3
  61. package/dist/model/HandleNotefileChanges200Response.js +3 -3
  62. package/dist/model/HandleNotefileChangesPending200Response.js +3 -3
  63. package/dist/model/HandleNotefileDeleteRequest.js +3 -3
  64. package/dist/model/Http.js +3 -3
  65. package/dist/model/HttpFilter.js +3 -3
  66. package/dist/model/HttpTransform.js +3 -3
  67. package/dist/model/Location.js +3 -3
  68. package/dist/model/Login200Response.js +3 -3
  69. package/dist/model/LoginRequest.js +3 -3
  70. package/dist/model/Monitor.js +3 -3
  71. package/dist/model/MonitorAlertRoutesInner.js +3 -3
  72. package/dist/model/Mqtt.js +3 -3
  73. package/dist/model/Note.js +3 -3
  74. package/dist/model/OTAStatus.js +3 -3
  75. package/dist/model/OTAStatusList.js +3 -3
  76. package/dist/model/OTAUpdateRequest.js +3 -3
  77. package/dist/model/OTAUpdateStatus.js +3 -3
  78. package/dist/model/PostProvisionProjectDeviceRequest.js +3 -3
  79. package/dist/model/Product.js +3 -3
  80. package/dist/model/Project.js +3 -3
  81. package/dist/model/ProjectMember.js +3 -3
  82. package/dist/model/Proxy.js +3 -3
  83. package/dist/model/PutDeviceFleetsRequest.js +3 -3
  84. package/dist/model/Radresponder.js +3 -3
  85. package/dist/model/Role.js +2 -2
  86. package/dist/model/Route.js +3 -3
  87. package/dist/model/RouteSchema.js +3 -3
  88. package/dist/model/Slack.js +3 -3
  89. package/dist/model/SlackBearerNotification.js +3 -3
  90. package/dist/model/SlackWebHookNotification.js +3 -3
  91. package/dist/model/Snowflake.js +3 -3
  92. package/dist/model/SnowflakeTransform.js +3 -3
  93. package/dist/model/Thingworx.js +3 -3
  94. package/dist/model/TowerLocation.js +3 -3
  95. package/dist/model/Twilio.js +3 -3
  96. package/dist/model/UpdateFleetRequest.js +3 -3
  97. package/dist/model/UserDbRoute.js +3 -3
  98. package/package.json +2 -2
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @blues-inc/notehub-js
2
2
 
3
3
  NotehubJs - JavaScript client for @blues-inc/notehub-js
4
- The OpenAPI definition for the Notehub.io API. Beta test change
4
+ 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.1.2
9
- - Package version: 1.0.23-beta.1
8
+ - API version: 1.1.0
9
+ - Package version: 1.0.23-beta.11
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
 
package/dist/ApiClient.js CHANGED
@@ -14,9 +14,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
17
+ * The OpenAPI definition for the Notehub.io API.
18
18
  *
19
- * The version of the OpenAPI document: 1.1.2
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.23-beta.1
29
+ * @version 1.0.23-beta.11
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.23-beta.1/Javascript'
77
+ 'User-Agent': 'OpenAPI-Generator/1.0.23-beta.11/Javascript'
78
78
  };
79
79
 
80
80
  /**
@@ -15,9 +15,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.2
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.23-beta.1
31
+ * @version 1.0.23-beta.11
32
32
  */
33
33
  var AlertApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -15,9 +15,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.2
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.23-beta.1
31
+ * @version 1.0.23-beta.11
32
32
  */
33
33
  var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -15,9 +15,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.2
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.23-beta.1
31
+ * @version 1.0.23-beta.11
32
32
  */
33
33
  var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -32,9 +32,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
35
+ * The OpenAPI definition for the Notehub.io API.
36
36
  *
37
- * The version of the OpenAPI document: 1.1.2
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.23-beta.1
48
+ * @version 1.0.23-beta.11
49
49
  */
50
50
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
51
51
  /**
@@ -17,9 +17,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); } /**
19
19
  * Notehub API
20
- * The OpenAPI definition for the Notehub.io API. Beta test change
20
+ * The OpenAPI definition for the Notehub.io API.
21
21
  *
22
- * The version of the OpenAPI document: 1.1.2
22
+ * The version of the OpenAPI document: 1.1.0
23
23
  * Contact: engineering@blues.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Event service.
32
32
  * @module api/EventApi
33
- * @version 1.0.23-beta.1
33
+ * @version 1.0.23-beta.11
34
34
  */
35
35
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -16,9 +16,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  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); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API. Beta test change
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.2
21
+ * The version of the OpenAPI document: 1.1.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * Monitor service.
31
31
  * @module api/MonitorApi
32
- * @version 1.0.23-beta.1
32
+ * @version 1.0.23-beta.11
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -33,9 +33,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
33
33
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
34
  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); } /**
35
35
  * Notehub API
36
- * The OpenAPI definition for the Notehub.io API. Beta test change
36
+ * The OpenAPI definition for the Notehub.io API.
37
37
  *
38
- * The version of the OpenAPI document: 1.1.2
38
+ * The version of the OpenAPI document: 1.1.0
39
39
  * Contact: engineering@blues.io
40
40
  *
41
41
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
46
46
  /**
47
47
  * Project service.
48
48
  * @module api/ProjectApi
49
- * @version 1.0.23-beta.1
49
+ * @version 1.0.23-beta.11
50
50
  */
51
51
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -17,9 +17,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); } /**
19
19
  * Notehub API
20
- * The OpenAPI definition for the Notehub.io API. Beta test change
20
+ * The OpenAPI definition for the Notehub.io API.
21
21
  *
22
- * The version of the OpenAPI document: 1.1.2
22
+ * The version of the OpenAPI document: 1.1.0
23
23
  * Contact: engineering@blues.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Route service.
32
32
  * @module api/RouteApi
33
- * @version 1.0.23-beta.1
33
+ * @version 1.0.23-beta.11
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -18,9 +18,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  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); } /**
20
20
  * Notehub API
21
- * The OpenAPI definition for the Notehub.io API. Beta test change
21
+ * The OpenAPI definition for the Notehub.io API.
22
22
  *
23
- * The version of the OpenAPI document: 1.1.2
23
+ * The version of the OpenAPI document: 1.1.0
24
24
  * Contact: engineering@blues.io
25
25
  *
26
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 1.0.23-beta.1
34
+ * @version 1.0.23-beta.11
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -94,6 +94,12 @@ var Alert = /*#__PURE__*/function () {
94
94
  if (data.hasOwnProperty('source')) {
95
95
  obj['source'] = _ApiClient["default"].convertToType(data['source'], 'String');
96
96
  }
97
+ if (data.hasOwnProperty('monitor_type')) {
98
+ obj['monitor_type'] = _ApiClient["default"].convertToType(data['monitor_type'], 'String');
99
+ }
100
+ if (data.hasOwnProperty('field_name')) {
101
+ obj['field_name'] = _ApiClient["default"].convertToType(data['field_name'], 'String');
102
+ }
97
103
  if (data.hasOwnProperty('data')) {
98
104
  obj['data'] = _ApiClient["default"].convertToType(data['data'], [_AlertDataInner["default"]]);
99
105
  }
@@ -138,6 +144,14 @@ var Alert = /*#__PURE__*/function () {
138
144
  if (data['source'] && !(typeof data['source'] === 'string' || data['source'] instanceof String)) {
139
145
  throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data['source']);
140
146
  }
147
+ // ensure the json data is a string
148
+ if (data['monitor_type'] && !(typeof data['monitor_type'] === 'string' || data['monitor_type'] instanceof String)) {
149
+ throw new Error("Expected the field `monitor_type` to be a primitive type in the JSON string but got " + data['monitor_type']);
150
+ }
151
+ // ensure the json data is a string
152
+ if (data['field_name'] && !(typeof data['field_name'] === 'string' || data['field_name'] instanceof String)) {
153
+ throw new Error("Expected the field `field_name` to be a primitive type in the JSON string but got " + data['field_name']);
154
+ }
141
155
  if (data['data']) {
142
156
  // data not null
143
157
  // ensure the json data is an array
@@ -244,6 +258,18 @@ Alert.prototype['alert_source'] = undefined;
244
258
  */
245
259
  Alert.prototype['source'] = undefined;
246
260
 
261
+ /**
262
+ * The type of monitor that triggered the alert
263
+ * @member {module:model/Alert.MonitorTypeEnum} monitor_type
264
+ */
265
+ Alert.prototype['monitor_type'] = undefined;
266
+
267
+ /**
268
+ * The field name that triggered the alert
269
+ * @member {String} field_name
270
+ */
271
+ Alert.prototype['field_name'] = undefined;
272
+
247
273
  /**
248
274
  * @member {Array.<module:model/AlertDataInner>} data
249
275
  */
@@ -271,4 +297,22 @@ Alert['AlertSourceEnum'] = {
271
297
  */
272
298
  "device": "device"
273
299
  };
300
+
301
+ /**
302
+ * Allowed values for the <code>monitor_type</code> property.
303
+ * @enum {String}
304
+ * @readonly
305
+ */
306
+ Alert['MonitorTypeEnum'] = {
307
+ /**
308
+ * value: "event"
309
+ * @const
310
+ */
311
+ "event": "event",
312
+ /**
313
+ * value: "device"
314
+ * @const
315
+ */
316
+ "device": "device"
317
+ };
274
318
  var _default = exports["default"] = Alert;
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
package/dist/model/Aws.js CHANGED
@@ -15,9 +15,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.2
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
  * The Aws model module.
30
30
  * @module model/Aws
31
- * @version 1.0.23-beta.1
31
+ * @version 1.0.23-beta.11
32
32
  */
33
33
  var Aws = /*#__PURE__*/function () {
34
34
  /**
@@ -15,9 +15,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
18
+ * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.2
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
  * The Azure model module.
30
30
  * @module model/Azure
31
- * @version 1.0.23-beta.1
31
+ * @version 1.0.23-beta.11
32
32
  */
33
33
  var Azure = /*#__PURE__*/function () {
34
34
  /**
@@ -17,9 +17,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
18
  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); } /**
19
19
  * Notehub API
20
- * The OpenAPI definition for the Notehub.io API. Beta test change
20
+ * The OpenAPI definition for the Notehub.io API.
21
21
  *
22
- * The version of the OpenAPI document: 1.1.2
22
+ * The version of the OpenAPI document: 1.1.0
23
23
  * Contact: engineering@blues.io
24
24
  *
25
25
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 1.0.23-beta.1
33
+ * @version 1.0.23-beta.11
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -14,9 +14,9 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
17
+ * The OpenAPI definition for the Notehub.io API.
18
18
  *
19
- * The version of the OpenAPI document: 1.1.2
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).
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -16,9 +16,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  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); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API. Beta test change
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.2
21
+ * The version of the OpenAPI document: 1.1.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CloneProjectRequest model module.
31
31
  * @module model/CloneProjectRequest
32
- * @version 1.0.23-beta.1
32
+ * @version 1.0.23-beta.11
33
33
  */
34
34
  var CloneProjectRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The Contact model module.
28
28
  * @module model/Contact
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var Contact = /*#__PURE__*/function () {
32
32
  /**
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The CreateFleetRequest model module.
28
28
  * @module model/CreateFleetRequest
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var CreateFleetRequest = /*#__PURE__*/function () {
32
32
  /**
@@ -18,9 +18,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  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); } /**
20
20
  * Notehub API
21
- * The OpenAPI definition for the Notehub.io API. Beta test change
21
+ * The OpenAPI definition for the Notehub.io API.
22
22
  *
23
- * The version of the OpenAPI document: 1.1.2
23
+ * The version of the OpenAPI document: 1.1.0
24
24
  * Contact: engineering@blues.io
25
25
  *
26
26
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The CreateMonitor model module.
33
33
  * @module model/CreateMonitor
34
- * @version 1.0.23-beta.1
34
+ * @version 1.0.23-beta.11
35
35
  */
36
36
  var CreateMonitor = /*#__PURE__*/function () {
37
37
  /**
@@ -16,9 +16,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  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); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API. Beta test change
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.2
21
+ * The version of the OpenAPI document: 1.1.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateProductRequest model module.
31
31
  * @module model/CreateProductRequest
32
- * @version 1.0.23-beta.1
32
+ * @version 1.0.23-beta.11
33
33
  */
34
34
  var CreateProductRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -16,9 +16,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  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); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API. Beta test change
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.2
21
+ * The version of the OpenAPI document: 1.1.0
22
22
  * Contact: engineering@blues.io
23
23
  *
24
24
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The CreateProjectRequest model module.
31
31
  * @module model/CreateProjectRequest
32
- * @version 1.0.23-beta.1
32
+ * @version 1.0.23-beta.11
33
33
  */
34
34
  var CreateProjectRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -14,9 +14,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
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
- * The OpenAPI definition for the Notehub.io API. Beta test change
17
+ * The OpenAPI definition for the Notehub.io API.
18
18
  *
19
- * The version of the OpenAPI document: 1.1.2
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).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The DFUEnv model module.
29
29
  * @module model/DFUEnv
30
- * @version 1.0.23-beta.1
30
+ * @version 1.0.23-beta.11
31
31
  */
32
32
  var DFUEnv = /*#__PURE__*/function () {
33
33
  /**
@@ -13,9 +13,9 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  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); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API. Beta test change
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
- * The version of the OpenAPI document: 1.1.2
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: engineering@blues.io
20
20
  *
21
21
  * 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
  * The DFUState model module.
28
28
  * @module model/DFUState
29
- * @version 1.0.23-beta.1
29
+ * @version 1.0.23-beta.11
30
30
  */
31
31
  var DFUState = /*#__PURE__*/function () {
32
32
  /**