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

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 (110) hide show
  1. package/README.md +23 -11
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/AlertApi.js +2 -2
  4. package/dist/api/AuthorizationApi.js +2 -2
  5. package/dist/api/BillingAccountApi.js +2 -2
  6. package/dist/api/DeviceApi.js +2 -2
  7. package/dist/api/EventApi.js +19 -9
  8. package/dist/api/MonitorApi.js +2 -2
  9. package/dist/api/ProjectApi.js +377 -108
  10. package/dist/api/RouteApi.js +30 -30
  11. package/dist/index.js +102 -39
  12. package/dist/model/Alert.js +2 -2
  13. package/dist/model/AlertDataInner.js +2 -2
  14. package/dist/model/AlertNotificationsInner.js +2 -2
  15. package/dist/model/Aws.js +2 -2
  16. package/dist/model/Azure.js +2 -2
  17. package/dist/model/BillingAccount.js +2 -2
  18. package/dist/model/BillingAccountRole.js +1 -1
  19. package/dist/model/Body.js +2 -2
  20. package/dist/model/CloneProjectRequest.js +2 -2
  21. package/dist/model/Contact.js +2 -2
  22. package/dist/model/CreateFleetRequest.js +2 -2
  23. package/dist/model/CreateMonitor.js +2 -2
  24. package/dist/model/CreateProductRequest.js +2 -2
  25. package/dist/model/CreateProjectRequest.js +2 -2
  26. package/dist/model/CurrentFirmware.js +105 -0
  27. package/dist/model/DFUEnv.js +2 -2
  28. package/dist/model/DFUState.js +2 -2
  29. package/dist/model/DeleteDeviceFleetsRequest.js +2 -2
  30. package/dist/model/Device.js +2 -2
  31. package/dist/model/DeviceDfuHistory.js +139 -0
  32. package/dist/model/DeviceDfuHistoryPage.js +121 -0
  33. package/dist/model/DeviceDfuStateMachine.js +152 -0
  34. package/dist/model/DeviceDfuStateMachineNode.js +132 -0
  35. package/dist/model/DeviceDfuStatus.js +129 -0
  36. package/dist/model/{FirmwareStatus.js → DeviceDfuStatusCurrent.js} +42 -28
  37. package/dist/model/{OTAStatusList.js → DeviceDfuStatusPage.js} +25 -25
  38. package/dist/model/DeviceSession.js +2 -2
  39. package/dist/model/DeviceTowerInfo.js +2 -2
  40. package/dist/model/DeviceUsage.js +2 -2
  41. package/dist/model/DfuActionRequest.js +92 -0
  42. package/dist/model/EmailNotification.js +2 -2
  43. package/dist/model/EnvironmentVariables.js +2 -2
  44. package/dist/model/Error.js +2 -2
  45. package/dist/model/Event.js +2 -2
  46. package/dist/model/Firmware.js +195 -0
  47. package/dist/model/FirmwareInfo.js +2 -2
  48. package/dist/model/Fleet.js +2 -2
  49. package/dist/model/GetAlerts200Response.js +2 -2
  50. package/dist/model/GetBillingAccounts200Response.js +2 -2
  51. package/dist/model/GetDeviceEnvironmentVariables200Response.js +2 -2
  52. package/dist/model/GetDeviceHealthLog200Response.js +2 -2
  53. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +2 -2
  54. package/dist/model/GetDeviceLatest200Response.js +2 -2
  55. package/dist/model/GetDevicePublicKey200Response.js +2 -2
  56. package/dist/model/GetDeviceSessions200Response.js +2 -2
  57. package/dist/model/GetProjectDevicePublicKeys200Response.js +2 -2
  58. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +2 -2
  59. package/dist/model/GetProjectDevices200Response.js +2 -2
  60. package/dist/model/GetProjectEvents200Response.js +2 -2
  61. package/dist/model/GetProjectEventsByCursor200Response.js +2 -2
  62. package/dist/model/GetProjectFleets200Response.js +2 -2
  63. package/dist/model/GetProjectMembers200Response.js +2 -2
  64. package/dist/model/GetProjectProducts200Response.js +2 -2
  65. package/dist/model/GetProjects200Response.js +2 -2
  66. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +2 -2
  67. package/dist/model/Google.js +2 -2
  68. package/dist/model/HandleNoteChanges200Response.js +2 -2
  69. package/dist/model/HandleNoteGet200Response.js +2 -2
  70. package/dist/model/HandleNoteSignal200Response.js +2 -2
  71. package/dist/model/HandleNotefileChanges200Response.js +2 -2
  72. package/dist/model/HandleNotefileChangesPending200Response.js +2 -2
  73. package/dist/model/HandleNotefileDeleteRequest.js +2 -2
  74. package/dist/model/Http.js +2 -2
  75. package/dist/model/HttpFilter.js +2 -2
  76. package/dist/model/HttpTransform.js +2 -2
  77. package/dist/model/Location.js +2 -2
  78. package/dist/model/Login200Response.js +2 -2
  79. package/dist/model/LoginRequest.js +2 -2
  80. package/dist/model/Monitor.js +2 -2
  81. package/dist/model/MonitorAlertRoutesInner.js +2 -2
  82. package/dist/model/Mqtt.js +2 -2
  83. package/dist/model/Note.js +2 -2
  84. package/dist/model/{Route.js → NotehubRoute.js} +30 -30
  85. package/dist/model/{RouteSchema.js → NotehubRouteSchema.js} +68 -68
  86. package/dist/model/PostProvisionProjectDeviceRequest.js +2 -2
  87. package/dist/model/Product.js +2 -2
  88. package/dist/model/Project.js +2 -2
  89. package/dist/model/ProjectMember.js +2 -2
  90. package/dist/model/Proxy.js +2 -2
  91. package/dist/model/PutDeviceFleetsRequest.js +2 -2
  92. package/dist/model/Radresponder.js +2 -2
  93. package/dist/model/Role.js +1 -1
  94. package/dist/model/Slack.js +2 -2
  95. package/dist/model/SlackBearerNotification.js +2 -2
  96. package/dist/model/SlackWebHookNotification.js +2 -2
  97. package/dist/model/Snowflake.js +2 -2
  98. package/dist/model/SnowflakeTransform.js +2 -2
  99. package/dist/model/Thingworx.js +2 -2
  100. package/dist/model/TowerLocation.js +2 -2
  101. package/dist/model/Twilio.js +2 -2
  102. package/dist/model/UpdateFleetRequest.js +2 -2
  103. package/dist/model/UploadMetadata.js +221 -0
  104. package/dist/model/UserDbRoute.js +2 -2
  105. package/dist/model/UserDfuStateMachine.js +127 -0
  106. package/dist/model/{OTAUpdateStatus.js → UserDfuStateMachineStatus.js} +46 -41
  107. package/dist/model/UserFirmwareInfo.js +107 -0
  108. package/package.json +1 -1
  109. package/dist/model/OTAStatus.js +0 -306
  110. package/dist/model/OTAUpdateRequest.js +0 -214
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.1.0
9
- - Package version: 1.0.23-beta.9
8
+ - API version: 1.2.0
9
+ - Package version: 1.0.24-beta.1
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
 
@@ -180,9 +180,14 @@ Class | Method | HTTP request | Description
180
180
  *NotehubJs.ProjectApi* | [**deleteFleetEnvironmentVariable**](docs/ProjectApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key} |
181
181
  *NotehubJs.ProjectApi* | [**deleteProject**](docs/ProjectApi.md#deleteProject) | **DELETE** /v1/projects/{projectUID} |
182
182
  *NotehubJs.ProjectApi* | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectUID}/environment_variables/{key} |
183
+ *NotehubJs.ProjectApi* | [**dfuAction**](docs/ProjectApi.md#dfuAction) | **POST** /v1/projects/{projectUID}/dfu/{firmwareType}/{action} |
183
184
  *NotehubJs.ProjectApi* | [**disableGlobalTransformation**](docs/ProjectApi.md#disableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/disable |
184
185
  *NotehubJs.ProjectApi* | [**enableGlobalTransformation**](docs/ProjectApi.md#enableGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation/enable |
186
+ *NotehubJs.ProjectApi* | [**getDeviceDfuHistory**](docs/ProjectApi.md#getDeviceDfuHistory) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/history |
187
+ *NotehubJs.ProjectApi* | [**getDeviceDfuStatus**](docs/ProjectApi.md#getDeviceDfuStatus) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/status |
185
188
  *NotehubJs.ProjectApi* | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
189
+ *NotehubJs.ProjectApi* | [**getDevicesDfuHistory**](docs/ProjectApi.md#getDevicesDfuHistory) | **GET** /v1/projects/{projectUID}/dfu/{firmwareType}/history |
190
+ *NotehubJs.ProjectApi* | [**getDevicesDfuStatus**](docs/ProjectApi.md#getDevicesDfuStatus) | **GET** /v1/projects/{projectUID}/dfu/{firmwareType}/status |
186
191
  *NotehubJs.ProjectApi* | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectUID}/firmware |
187
192
  *NotehubJs.ProjectApi* | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables |
188
193
  *NotehubJs.ProjectApi* | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectUID} |
@@ -190,7 +195,6 @@ Class | Method | HTTP request | Description
190
195
  *NotehubJs.ProjectApi* | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectUID}/environment_variables |
191
196
  *NotehubJs.ProjectApi* | [**getProjectFleets**](docs/ProjectApi.md#getProjectFleets) | **GET** /v1/projects/{projectUID}/fleets |
192
197
  *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 |
194
198
  *NotehubJs.ProjectApi* | [**getProjectProducts**](docs/ProjectApi.md#getProjectProducts) | **GET** /v1/projects/{projectUID}/products |
195
199
  *NotehubJs.ProjectApi* | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
196
200
  *NotehubJs.ProjectApi* | [**putDeviceFleets**](docs/ProjectApi.md#putDeviceFleets) | **PUT** /v1/projects/{projectUID}/devices/{deviceUID}/fleets |
@@ -198,7 +202,6 @@ Class | Method | HTTP request | Description
198
202
  *NotehubJs.ProjectApi* | [**putProjectEnvironmentVariables**](docs/ProjectApi.md#putProjectEnvironmentVariables) | **PUT** /v1/projects/{projectUID}/environment_variables |
199
203
  *NotehubJs.ProjectApi* | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectUID}/global-transformation |
200
204
  *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 |
202
205
  *NotehubJs.RouteApi* | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectUID}/routes |
203
206
  *NotehubJs.RouteApi* | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectUID}/routes/{routeUID} |
204
207
  *NotehubJs.RouteApi* | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID} |
@@ -223,19 +226,28 @@ Class | Method | HTTP request | Description
223
226
  - [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
224
227
  - [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
225
228
  - [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
229
+ - [NotehubJs.CurrentFirmware](docs/CurrentFirmware.md)
226
230
  - [NotehubJs.DFUEnv](docs/DFUEnv.md)
227
231
  - [NotehubJs.DFUState](docs/DFUState.md)
228
232
  - [NotehubJs.DeleteDeviceFleetsRequest](docs/DeleteDeviceFleetsRequest.md)
229
233
  - [NotehubJs.Device](docs/Device.md)
234
+ - [NotehubJs.DeviceDfuHistory](docs/DeviceDfuHistory.md)
235
+ - [NotehubJs.DeviceDfuHistoryPage](docs/DeviceDfuHistoryPage.md)
236
+ - [NotehubJs.DeviceDfuStateMachine](docs/DeviceDfuStateMachine.md)
237
+ - [NotehubJs.DeviceDfuStateMachineNode](docs/DeviceDfuStateMachineNode.md)
238
+ - [NotehubJs.DeviceDfuStatus](docs/DeviceDfuStatus.md)
239
+ - [NotehubJs.DeviceDfuStatusCurrent](docs/DeviceDfuStatusCurrent.md)
240
+ - [NotehubJs.DeviceDfuStatusPage](docs/DeviceDfuStatusPage.md)
230
241
  - [NotehubJs.DeviceSession](docs/DeviceSession.md)
231
242
  - [NotehubJs.DeviceTowerInfo](docs/DeviceTowerInfo.md)
232
243
  - [NotehubJs.DeviceUsage](docs/DeviceUsage.md)
244
+ - [NotehubJs.DfuActionRequest](docs/DfuActionRequest.md)
233
245
  - [NotehubJs.EmailNotification](docs/EmailNotification.md)
234
246
  - [NotehubJs.EnvironmentVariables](docs/EnvironmentVariables.md)
235
247
  - [NotehubJs.Error](docs/Error.md)
236
248
  - [NotehubJs.Event](docs/Event.md)
249
+ - [NotehubJs.Firmware](docs/Firmware.md)
237
250
  - [NotehubJs.FirmwareInfo](docs/FirmwareInfo.md)
238
- - [NotehubJs.FirmwareStatus](docs/FirmwareStatus.md)
239
251
  - [NotehubJs.Fleet](docs/Fleet.md)
240
252
  - [NotehubJs.GetAlerts200Response](docs/GetAlerts200Response.md)
241
253
  - [NotehubJs.GetBillingAccounts200Response](docs/GetBillingAccounts200Response.md)
@@ -272,10 +284,8 @@ Class | Method | HTTP request | Description
272
284
  - [NotehubJs.MonitorAlertRoutesInner](docs/MonitorAlertRoutesInner.md)
273
285
  - [NotehubJs.Mqtt](docs/Mqtt.md)
274
286
  - [NotehubJs.Note](docs/Note.md)
275
- - [NotehubJs.OTAStatus](docs/OTAStatus.md)
276
- - [NotehubJs.OTAStatusList](docs/OTAStatusList.md)
277
- - [NotehubJs.OTAUpdateRequest](docs/OTAUpdateRequest.md)
278
- - [NotehubJs.OTAUpdateStatus](docs/OTAUpdateStatus.md)
287
+ - [NotehubJs.NotehubRoute](docs/NotehubRoute.md)
288
+ - [NotehubJs.NotehubRouteSchema](docs/NotehubRouteSchema.md)
279
289
  - [NotehubJs.PostProvisionProjectDeviceRequest](docs/PostProvisionProjectDeviceRequest.md)
280
290
  - [NotehubJs.Product](docs/Product.md)
281
291
  - [NotehubJs.Project](docs/Project.md)
@@ -284,8 +294,6 @@ Class | Method | HTTP request | Description
284
294
  - [NotehubJs.PutDeviceFleetsRequest](docs/PutDeviceFleetsRequest.md)
285
295
  - [NotehubJs.Radresponder](docs/Radresponder.md)
286
296
  - [NotehubJs.Role](docs/Role.md)
287
- - [NotehubJs.Route](docs/Route.md)
288
- - [NotehubJs.RouteSchema](docs/RouteSchema.md)
289
297
  - [NotehubJs.Slack](docs/Slack.md)
290
298
  - [NotehubJs.SlackBearerNotification](docs/SlackBearerNotification.md)
291
299
  - [NotehubJs.SlackWebHookNotification](docs/SlackWebHookNotification.md)
@@ -295,7 +303,11 @@ Class | Method | HTTP request | Description
295
303
  - [NotehubJs.TowerLocation](docs/TowerLocation.md)
296
304
  - [NotehubJs.Twilio](docs/Twilio.md)
297
305
  - [NotehubJs.UpdateFleetRequest](docs/UpdateFleetRequest.md)
306
+ - [NotehubJs.UploadMetadata](docs/UploadMetadata.md)
298
307
  - [NotehubJs.UserDbRoute](docs/UserDbRoute.md)
308
+ - [NotehubJs.UserDfuStateMachine](docs/UserDfuStateMachine.md)
309
+ - [NotehubJs.UserDfuStateMachineStatus](docs/UserDfuStateMachineStatus.md)
310
+ - [NotehubJs.UserFirmwareInfo](docs/UserFirmwareInfo.md)
299
311
 
300
312
 
301
313
  ## Documentation for Authorization
package/dist/ApiClient.js CHANGED
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * Notehub API
17
17
  * The OpenAPI definition for the Notehub.io API.
18
18
  *
19
- * The version of the OpenAPI document: 1.1.0
19
+ * The version of the OpenAPI document: 1.2.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.9
29
+ * @version 1.0.24-beta.1
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.9/Javascript'
77
+ 'User-Agent': 'OpenAPI-Generator/1.0.24-beta.1/Javascript'
78
78
  };
79
79
 
80
80
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.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.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var AlertApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.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.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
20
- * The version of the OpenAPI document: 1.1.0
20
+ * The version of the OpenAPI document: 1.2.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.9
31
+ * @version 1.0.24-beta.1
32
32
  */
33
33
  var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  * Notehub API
35
35
  * The OpenAPI definition for the Notehub.io API.
36
36
  *
37
- * The version of the OpenAPI document: 1.1.0
37
+ * The version of the OpenAPI document: 1.2.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.9
48
+ * @version 1.0.24-beta.1
49
49
  */
50
50
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
51
51
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  * Notehub API
20
20
  * The OpenAPI definition for the Notehub.io API.
21
21
  *
22
- * The version of the OpenAPI document: 1.1.0
22
+ * The version of the OpenAPI document: 1.2.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.9
33
+ * @version 1.0.24-beta.1
34
34
  */
35
35
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -48,8 +48,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
48
48
  /**
49
49
  * Get Events of a Fleet
50
50
  * @param {String} projectUID
51
+ * @param {String} fleetUID
51
52
  * @param {Object} opts Optional parameters
52
- * @param {Array.<String>} opts.fleetUID Filter by Fleet UID
53
53
  * @param {Number} opts.pageSize (default to 50)
54
54
  * @param {Number} opts.pageNum (default to 1)
55
55
  * @param {Array.<String>} opts.deviceUID A Device UID.
@@ -57,6 +57,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
57
57
  * @param {module:model/String} opts.sortOrder (default to 'asc')
58
58
  * @param {Number} opts.startDate Unix timestamp
59
59
  * @param {Number} opts.endDate Unix timestamp
60
+ * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
60
61
  * @param {Boolean} opts.systemFilesOnly
61
62
  * @param {String} opts.files
62
63
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
@@ -70,18 +71,22 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
70
71
  */
71
72
  return _createClass(EventApi, [{
72
73
  key: "getFleetEventsWithHttpInfo",
73
- value: function getFleetEventsWithHttpInfo(projectUID, opts) {
74
+ value: function getFleetEventsWithHttpInfo(projectUID, fleetUID, opts) {
74
75
  opts = opts || {};
75
76
  var postBody = null;
76
77
  // verify the required parameter 'projectUID' is set
77
78
  if (projectUID === undefined || projectUID === null) {
78
79
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getFleetEvents");
79
80
  }
81
+ // verify the required parameter 'fleetUID' is set
82
+ if (fleetUID === undefined || fleetUID === null) {
83
+ throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetEvents");
84
+ }
80
85
  var pathParams = {
81
- 'projectUID': projectUID
86
+ 'projectUID': projectUID,
87
+ 'fleetUID': fleetUID
82
88
  };
83
89
  var queryParams = {
84
- 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
85
90
  'pageSize': opts['pageSize'],
86
91
  'pageNum': opts['pageNum'],
87
92
  'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
@@ -89,6 +94,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
89
94
  'sortOrder': opts['sortOrder'],
90
95
  'startDate': opts['startDate'],
91
96
  'endDate': opts['endDate'],
97
+ 'dateType': opts['dateType'],
92
98
  'systemFilesOnly': opts['systemFilesOnly'],
93
99
  'files': opts['files'],
94
100
  'format': opts['format'],
@@ -111,8 +117,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
111
117
  /**
112
118
  * Get Events of a Fleet
113
119
  * @param {String} projectUID
120
+ * @param {String} fleetUID
114
121
  * @param {Object} opts Optional parameters
115
- * @param {Array.<String>} opts.fleetUID Filter by Fleet UID
116
122
  * @param {Number} opts.pageSize (default to 50)
117
123
  * @param {Number} opts.pageNum (default to 1)
118
124
  * @param {Array.<String>} opts.deviceUID A Device UID.
@@ -120,6 +126,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
120
126
  * @param {module:model/String} opts.sortOrder (default to 'asc')
121
127
  * @param {Number} opts.startDate Unix timestamp
122
128
  * @param {Number} opts.endDate Unix timestamp
129
+ * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
123
130
  * @param {Boolean} opts.systemFilesOnly
124
131
  * @param {String} opts.files
125
132
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
@@ -133,8 +140,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
133
140
  */
134
141
  }, {
135
142
  key: "getFleetEvents",
136
- value: function getFleetEvents(projectUID, opts) {
137
- return this.getFleetEventsWithHttpInfo(projectUID, opts).then(function (response_and_data) {
143
+ value: function getFleetEvents(projectUID, fleetUID, opts) {
144
+ return this.getFleetEventsWithHttpInfo(projectUID, fleetUID, opts).then(function (response_and_data) {
138
145
  return response_and_data.data;
139
146
  });
140
147
  }
@@ -224,6 +231,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
224
231
  * @param {module:model/String} opts.sortOrder (default to 'asc')
225
232
  * @param {Number} opts.startDate Unix timestamp
226
233
  * @param {Number} opts.endDate Unix timestamp
234
+ * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
227
235
  * @param {Boolean} opts.systemFilesOnly
228
236
  * @param {String} opts.files
229
237
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
@@ -256,6 +264,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
256
264
  'sortOrder': opts['sortOrder'],
257
265
  'startDate': opts['startDate'],
258
266
  'endDate': opts['endDate'],
267
+ 'dateType': opts['dateType'],
259
268
  'systemFilesOnly': opts['systemFilesOnly'],
260
269
  'files': opts['files'],
261
270
  'format': opts['format'],
@@ -287,6 +296,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
287
296
  * @param {module:model/String} opts.sortOrder (default to 'asc')
288
297
  * @param {Number} opts.startDate Unix timestamp
289
298
  * @param {Number} opts.endDate Unix timestamp
299
+ * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
290
300
  * @param {Boolean} opts.systemFilesOnly
291
301
  * @param {String} opts.files
292
302
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
@@ -18,7 +18,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
- * The version of the OpenAPI document: 1.1.0
21
+ * The version of the OpenAPI document: 1.2.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.9
32
+ * @version 1.0.24-beta.1
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**