@blues-inc/notehub-js 6.7.0-beta.2 → 6.7.0-beta.20

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 (186) hide show
  1. package/README.md +147 -150
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +4 -1
  4. package/dist/api/AuthorizationApi.js +3 -3
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +46 -34
  7. package/dist/api/EventApi.js +27 -166
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +9 -9
  12. package/dist/api/ProjectApi.js +59 -53
  13. package/dist/api/RouteApi.js +8 -5
  14. package/dist/api/UsageApi.js +78 -18
  15. package/dist/api/WebhookApi.js +17 -17
  16. package/dist/index.js +73 -80
  17. package/dist/model/AWSRoleConfig.js +1 -1
  18. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  19. package/dist/model/Alert.js +4 -4
  20. package/dist/model/AlertDataInner.js +1 -1
  21. package/dist/model/AlertNotificationsInner.js +1 -1
  22. package/dist/model/{PersonalAccessTokenSecret.js → ArchiveStats.js} +55 -35
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/{GetEventsByCursor200Response.js → BatchJobNoteRequest.js} +83 -62
  26. package/dist/model/BatchJobRequests.js +38 -5
  27. package/dist/model/BillingAccount.js +1 -1
  28. package/dist/model/BlynkRoute.js +1 -1
  29. package/dist/model/Body.js +1 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +1 -1
  32. package/dist/model/CloneProjectRequest.js +3 -3
  33. package/dist/model/Contact.js +1 -1
  34. package/dist/model/CreateFleetRequest.js +1 -1
  35. package/dist/model/CreateJob201Response.js +1 -1
  36. package/dist/model/CreateMonitor.js +44 -39
  37. package/dist/model/CreateProductRequest.js +1 -1
  38. package/dist/model/CreateProjectRequest.js +3 -3
  39. package/dist/model/CreateProjectSecretRequest.js +1 -1
  40. package/dist/model/CreateUpdateRepository.js +2 -1
  41. package/dist/model/CreatedRepository.js +2 -2
  42. package/dist/model/CurrentFirmware.js +1 -1
  43. package/dist/model/DFUEnv.js +1 -1
  44. package/dist/model/DFUState.js +1 -1
  45. package/dist/model/DataField.js +1 -1
  46. package/dist/model/DataSet.js +77 -2
  47. package/dist/model/DataSetField.js +7 -2
  48. package/dist/model/DataUsage.js +1 -1
  49. package/dist/model/DatacakeRoute.js +1 -1
  50. package/dist/model/{PersonalAccessTokenCreatedBy.js → DatasetReloadProgress.js} +42 -42
  51. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  52. package/dist/model/DeleteJob200Response.js +1 -1
  53. package/dist/model/DeleteNotefilesRequest.js +1 -1
  54. package/dist/model/DescriptionRecord.js +1 -1
  55. package/dist/model/DescriptionRecordList.js +1 -1
  56. package/dist/model/Device.js +125 -2
  57. package/dist/model/DeviceDfuHistory.js +11 -2
  58. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  59. package/dist/model/DeviceDfuHistoryPage.js +14 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  62. package/dist/model/DeviceDfuStatus.js +11 -2
  63. package/dist/model/DeviceDfuStatusPage.js +14 -1
  64. package/dist/model/{GetBillingAccounts200Response.js → DeviceSensor.js} +54 -40
  65. package/dist/model/DeviceSession.js +5 -5
  66. package/dist/model/DeviceTowerInfo.js +1 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +1 -1
  69. package/dist/model/EmailNotification.js +1 -1
  70. package/dist/model/EnvTreeJsonNode.js +1 -1
  71. package/dist/model/EnvVar.js +1 -1
  72. package/dist/model/EnvironmentVariables.js +1 -1
  73. package/dist/model/Error.js +1 -1
  74. package/dist/model/Event.js +34 -7
  75. package/dist/model/Filter.js +1 -1
  76. package/dist/model/Firmware.js +1 -1
  77. package/dist/model/FirmwareInfo.js +1 -1
  78. package/dist/model/Fleet.js +3 -3
  79. package/dist/model/FleetConnectivityAssurance.js +1 -1
  80. package/dist/model/GetAlerts200Response.js +14 -1
  81. package/dist/model/GetApiUsage200Response.js +140 -0
  82. package/dist/model/GetDataUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200ResponseDataInner.js +3 -3
  84. package/dist/model/GetDbNote200Response.js +1 -1
  85. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  86. package/dist/model/GetDeviceFleets200Response.js +1 -1
  87. package/dist/model/GetDeviceHealthLog200Response.js +6 -6
  88. package/dist/model/GetDeviceJourney200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  90. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  91. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  92. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  93. package/dist/model/GetDevicePlans200Response.js +1 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKeys200Response.js +14 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +10 -1
  97. package/dist/model/GetDeviceSessions200Response.js +14 -1
  98. package/dist/model/GetDevices200Response.js +14 -1
  99. package/dist/model/GetEvents200Response.js +14 -1
  100. package/dist/model/GetJobRuns200Response.js +1 -1
  101. package/dist/model/GetJobs200Response.js +1 -1
  102. package/dist/model/GetNotefile200Response.js +1 -1
  103. package/dist/model/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
  104. package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
  105. package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
  106. package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
  107. package/dist/model/GetOrganizations200Response.js +1 -1
  108. package/dist/model/GetProducts200Response.js +1 -1
  109. package/dist/model/GetProjectMembers200Response.js +1 -1
  110. package/dist/model/GetProjectSecretsResponse.js +1 -1
  111. package/dist/model/GetProjects200Response.js +1 -1
  112. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  113. package/dist/model/GetSessionsUsage200Response.js +1 -1
  114. package/dist/model/GetWebhooks200Response.js +1 -1
  115. package/dist/model/GoogleRoute.js +1 -1
  116. package/dist/model/{GetDeviceHealthLog200ResponseHealthLogInner.js → HealthLog.js} +22 -22
  117. package/dist/model/HttpRoute.js +1 -1
  118. package/dist/model/Job.js +1 -1
  119. package/dist/model/JobDefinition.js +2 -2
  120. package/dist/model/JobDefinitionReportOptions.js +1 -1
  121. package/dist/model/JobDefinitionSelect.js +3 -3
  122. package/dist/model/JobDetail.js +1 -1
  123. package/dist/model/JobDetailAllOf.js +1 -1
  124. package/dist/model/JobRun.js +1 -1
  125. package/dist/model/Location.js +1 -1
  126. package/dist/model/Login200Response.js +1 -1
  127. package/dist/model/LoginRequest.js +1 -1
  128. package/dist/model/Monitor.js +30 -23
  129. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  130. package/dist/model/MqttRoute.js +1 -1
  131. package/dist/model/Note.js +1 -1
  132. package/dist/model/NoteInput.js +1 -1
  133. package/dist/model/Notefile.js +1 -1
  134. package/dist/model/NotefileSchema.js +1 -1
  135. package/dist/model/NotehubRoute.js +1 -1
  136. package/dist/model/NotehubRouteSummary.js +1 -1
  137. package/dist/model/OAuth2Error.js +1 -1
  138. package/dist/model/OAuth2TokenResponse.js +1 -1
  139. package/dist/model/Organization.js +1 -1
  140. package/dist/model/Product.js +1 -1
  141. package/dist/model/Project.js +1 -1
  142. package/dist/model/ProjectMember.js +1 -1
  143. package/dist/model/ProjectSecret.js +1 -1
  144. package/dist/model/ProvisionDeviceRequest.js +1 -1
  145. package/dist/model/ProxyRoute.js +1 -1
  146. package/dist/model/QubitroRoute.js +1 -1
  147. package/dist/model/RadRoute.js +1 -1
  148. package/dist/model/Repository.js +15 -1
  149. package/dist/model/RepositoryListResponse.js +1 -1
  150. package/dist/model/RepositoryTokenRequest.js +2 -2
  151. package/dist/model/RepositoryTokenResponse.js +1 -1
  152. package/dist/model/RouteLog.js +3 -3
  153. package/dist/model/RouteTransformSettings.js +1 -1
  154. package/dist/model/RunJob200Response.js +1 -1
  155. package/dist/model/S3ArchiveRoute.js +1 -1
  156. package/dist/model/SatelliteDataUsage.js +1 -1
  157. package/dist/model/SatellitePlan.js +1 -1
  158. package/dist/model/SchemaProperty.js +1 -1
  159. package/dist/model/SignalDevice200Response.js +1 -1
  160. package/dist/model/SimUsage.js +1 -1
  161. package/dist/model/SlackBearerNotification.js +1 -1
  162. package/dist/model/SlackRoute.js +1 -1
  163. package/dist/model/SlackWebHookNotification.js +1 -1
  164. package/dist/model/SnowflakeRoute.js +1 -1
  165. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  166. package/dist/model/ThingworxRoute.js +1 -1
  167. package/dist/model/TowerLocation.js +1 -1
  168. package/dist/model/TwilioRoute.js +1 -1
  169. package/dist/model/UpdateFleetRequest.js +1 -1
  170. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  171. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  172. package/dist/model/UploadMetadata.js +1 -1
  173. package/dist/model/UsageApiData.js +147 -0
  174. package/dist/model/UsageData.js +1 -1
  175. package/dist/model/UsageEventsData.js +1 -1
  176. package/dist/model/UsageEventsResponse.js +1 -1
  177. package/dist/model/UsageRouteLogsData.js +2 -2
  178. package/dist/model/UsageSessionsData.js +1 -1
  179. package/dist/model/UserDfuStateMachine.js +1 -1
  180. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  181. package/dist/model/UserFirmwareInfo.js +1 -1
  182. package/dist/model/WebhookSettings.js +1 -1
  183. package/package.json +1 -1
  184. package/dist/api/BillingAccountApi.js +0 -167
  185. package/dist/model/PersonalAccessToken.js +0 -168
  186. package/dist/model/PersonalAccessTokenInfo.js +0 -121
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Description service.
31
31
  * @module api/DescriptionApi
32
- * @version 6.7.0-beta.2
32
+ * @version 6.7.0-beta.20
33
33
  */
34
34
  var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
48
48
  /**
49
49
  * Device service.
50
50
  * @module api/DeviceApi
51
- * @version 6.7.0-beta.2
51
+ * @version 6.7.0-beta.20
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -1128,6 +1128,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1128
1128
  * @param {Object} opts Optional parameters
1129
1129
  * @param {Number} opts.pageSize (default to 50)
1130
1130
  * @param {Number} opts.pageNum (default to 1)
1131
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1131
1132
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKeys200Response} and HTTP response
1132
1133
  */
1133
1134
  }, {
@@ -1144,7 +1145,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1144
1145
  };
1145
1146
  var queryParams = {
1146
1147
  pageSize: opts["pageSize"],
1147
- pageNum: opts["pageNum"]
1148
+ pageNum: opts["pageNum"],
1149
+ cursor: opts["cursor"]
1148
1150
  };
1149
1151
  var headerParams = {};
1150
1152
  var formParams = {};
@@ -1161,6 +1163,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1161
1163
  * @param {Object} opts Optional parameters
1162
1164
  * @param {Number} opts.pageSize (default to 50)
1163
1165
  * @param {Number} opts.pageNum (default to 1)
1166
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1164
1167
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKeys200Response}
1165
1168
  */
1166
1169
  }, {
@@ -1178,6 +1181,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1178
1181
  * @param {Object} opts Optional parameters
1179
1182
  * @param {Number} opts.pageSize (default to 50)
1180
1183
  * @param {Number} opts.pageNum (default to 1)
1184
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1181
1185
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1182
1186
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1183
1187
  * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
@@ -1203,6 +1207,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1203
1207
  var queryParams = {
1204
1208
  pageSize: opts["pageSize"],
1205
1209
  pageNum: opts["pageNum"],
1210
+ cursor: opts["cursor"],
1206
1211
  startDate: opts["startDate"],
1207
1212
  endDate: opts["endDate"],
1208
1213
  firstSync: opts["firstSync"]
@@ -1223,6 +1228,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1223
1228
  * @param {Object} opts Optional parameters
1224
1229
  * @param {Number} opts.pageSize (default to 50)
1225
1230
  * @param {Number} opts.pageNum (default to 1)
1231
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1226
1232
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1227
1233
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1228
1234
  * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
@@ -1242,15 +1248,16 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1242
1248
  * @param {Object} opts Optional parameters
1243
1249
  * @param {Number} opts.pageSize (default to 50)
1244
1250
  * @param {Number} opts.pageNum (default to 1)
1245
- * @param {Array.<String>} opts.deviceUID A Device UID.
1246
- * @param {Array.<String>} opts.tag Tag filter
1247
- * @param {Array.<String>} opts.serialNumber Serial number filter
1251
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1252
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1253
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1254
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1248
1255
  * @param {Array.<String>} opts.fleetUID
1249
- * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1250
- * @param {Array.<String>} opts.location Location filter
1251
- * @param {Array.<String>} opts.hostFirmware Host firmware filter
1252
- * @param {Array.<String>} opts.productUID
1253
- * @param {Array.<String>} opts.sku SKU filter
1256
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1257
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1258
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1259
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1260
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1254
1261
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1255
1262
  */
1256
1263
  }, {
@@ -1268,6 +1275,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1268
1275
  var queryParams = {
1269
1276
  pageSize: opts["pageSize"],
1270
1277
  pageNum: opts["pageNum"],
1278
+ cursor: opts["cursor"],
1271
1279
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1272
1280
  tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1273
1281
  serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
@@ -1293,15 +1301,16 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1293
1301
  * @param {Object} opts Optional parameters
1294
1302
  * @param {Number} opts.pageSize (default to 50)
1295
1303
  * @param {Number} opts.pageNum (default to 1)
1296
- * @param {Array.<String>} opts.deviceUID A Device UID.
1297
- * @param {Array.<String>} opts.tag Tag filter
1298
- * @param {Array.<String>} opts.serialNumber Serial number filter
1304
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1305
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1306
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1307
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1299
1308
  * @param {Array.<String>} opts.fleetUID
1300
- * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1301
- * @param {Array.<String>} opts.location Location filter
1302
- * @param {Array.<String>} opts.hostFirmware Host firmware filter
1303
- * @param {Array.<String>} opts.productUID
1304
- * @param {Array.<String>} opts.sku SKU filter
1309
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1310
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1311
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1312
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1313
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1305
1314
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1306
1315
  */
1307
1316
  }, {
@@ -1319,14 +1328,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1319
1328
  * @param {Object} opts Optional parameters
1320
1329
  * @param {Number} opts.pageSize (default to 50)
1321
1330
  * @param {Number} opts.pageNum (default to 1)
1322
- * @param {Array.<String>} opts.deviceUID A Device UID.
1323
- * @param {Array.<String>} opts.tag Tag filter
1324
- * @param {Array.<String>} opts.serialNumber Serial number filter
1325
- * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1326
- * @param {Array.<String>} opts.location Location filter
1327
- * @param {Array.<String>} opts.hostFirmware Host firmware filter
1328
- * @param {Array.<String>} opts.productUID
1329
- * @param {Array.<String>} opts.sku SKU filter
1331
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1332
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1333
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1334
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1335
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1336
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1337
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1338
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1339
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1330
1340
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1331
1341
  */
1332
1342
  }, {
@@ -1349,6 +1359,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1349
1359
  var queryParams = {
1350
1360
  pageSize: opts["pageSize"],
1351
1361
  pageNum: opts["pageNum"],
1362
+ cursor: opts["cursor"],
1352
1363
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1353
1364
  tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1354
1365
  serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
@@ -1374,14 +1385,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1374
1385
  * @param {Object} opts Optional parameters
1375
1386
  * @param {Number} opts.pageSize (default to 50)
1376
1387
  * @param {Number} opts.pageNum (default to 1)
1377
- * @param {Array.<String>} opts.deviceUID A Device UID.
1378
- * @param {Array.<String>} opts.tag Tag filter
1379
- * @param {Array.<String>} opts.serialNumber Serial number filter
1380
- * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1381
- * @param {Array.<String>} opts.location Location filter
1382
- * @param {Array.<String>} opts.hostFirmware Host firmware filter
1383
- * @param {Array.<String>} opts.productUID
1384
- * @param {Array.<String>} opts.sku SKU filter
1388
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1389
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1390
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1391
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1392
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1393
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1394
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1395
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1396
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1385
1397
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1386
1398
  */
1387
1399
  }, {
@@ -7,7 +7,6 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
9
  var _GetEvents200Response = _interopRequireDefault(require("../model/GetEvents200Response"));
10
- var _GetEventsByCursor200Response = _interopRequireDefault(require("../model/GetEventsByCursor200Response"));
11
10
  var _RouteLog = _interopRequireDefault(require("../model/RouteLog"));
12
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
12
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -30,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
29
  /**
31
30
  * Event service.
32
31
  * @module api/EventApi
33
- * @version 6.7.0-beta.2
32
+ * @version 6.7.0-beta.20
34
33
  */
35
34
  var EventApi = exports["default"] = /*#__PURE__*/function () {
36
35
  /**
@@ -51,8 +50,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
51
50
  * @param {Object} opts Optional parameters
52
51
  * @param {Number} opts.pageSize (default to 50)
53
52
  * @param {Number} opts.pageNum (default to 1)
54
- * @param {Array.<String>} opts.deviceUID A Device UID.
55
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
53
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
54
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
55
+ * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
56
56
  * @param {module:model/String} opts.sortBy (default to 'captured')
57
57
  * @param {module:model/String} opts.sortOrder (default to 'asc')
58
58
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -62,9 +62,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
62
62
  * @param {String} opts.files
63
63
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
64
64
  * @param {Array.<String>} opts.serialNumber Filter by Serial Number
65
- * @param {Array.<String>} opts.fleetUID Filter by Fleet UID
66
- * @param {Array.<String>} opts.sessionUID Filter by Session UID
67
- * @param {Array.<String>} opts.eventUID Filter by Event UID
65
+ * @param {Array.<String>} opts.fleetUID Filter by FleetUID
66
+ * @param {Array.<String>} opts.sessionUID Filter by SessionUID
67
+ * @param {Array.<String>} opts.eventUID Filter by EventUID
68
68
  * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
69
69
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
70
70
  */
@@ -83,6 +83,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
83
83
  var queryParams = {
84
84
  pageSize: opts["pageSize"],
85
85
  pageNum: opts["pageNum"],
86
+ cursor: opts["cursor"],
86
87
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
87
88
  sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
88
89
  sortBy: opts["sortBy"],
@@ -114,8 +115,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
114
115
  * @param {Object} opts Optional parameters
115
116
  * @param {Number} opts.pageSize (default to 50)
116
117
  * @param {Number} opts.pageNum (default to 1)
117
- * @param {Array.<String>} opts.deviceUID A Device UID.
118
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
118
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
119
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
120
+ * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
119
121
  * @param {module:model/String} opts.sortBy (default to 'captured')
120
122
  * @param {module:model/String} opts.sortOrder (default to 'asc')
121
123
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -125,9 +127,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
125
127
  * @param {String} opts.files
126
128
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
127
129
  * @param {Array.<String>} opts.serialNumber Filter by Serial Number
128
- * @param {Array.<String>} opts.fleetUID Filter by Fleet UID
129
- * @param {Array.<String>} opts.sessionUID Filter by Session UID
130
- * @param {Array.<String>} opts.eventUID Filter by Event UID
130
+ * @param {Array.<String>} opts.fleetUID Filter by FleetUID
131
+ * @param {Array.<String>} opts.sessionUID Filter by SessionUID
132
+ * @param {Array.<String>} opts.eventUID Filter by EventUID
131
133
  * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
132
134
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
133
135
  */
@@ -139,73 +141,6 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
139
141
  });
140
142
  }
141
143
 
142
- /**
143
- * Get Events of a Project by cursor
144
- * @param {String} projectOrProductUID
145
- * @param {Object} opts Optional parameters
146
- * @param {Number} opts.limit (default to 50)
147
- * @param {String} opts.cursor A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included.
148
- * @param {module:model/String} opts.sortOrder (default to 'asc')
149
- * @param {Boolean} opts.systemFilesOnly
150
- * @param {String} opts.files
151
- * @param {String} opts.fleetUID
152
- * @param {Array.<String>} opts.deviceUID A Device UID.
153
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
154
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEventsByCursor200Response} and HTTP response
155
- */
156
- }, {
157
- key: "getEventsByCursorWithHttpInfo",
158
- value: function getEventsByCursorWithHttpInfo(projectOrProductUID, opts) {
159
- opts = opts || {};
160
- var postBody = null;
161
- // verify the required parameter 'projectOrProductUID' is set
162
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
163
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getEventsByCursor");
164
- }
165
- var pathParams = {
166
- projectOrProductUID: projectOrProductUID
167
- };
168
- var queryParams = {
169
- limit: opts["limit"],
170
- cursor: opts["cursor"],
171
- sortOrder: opts["sortOrder"],
172
- systemFilesOnly: opts["systemFilesOnly"],
173
- files: opts["files"],
174
- fleetUID: opts["fleetUID"],
175
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
176
- sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi")
177
- };
178
- var headerParams = {};
179
- var formParams = {};
180
- var authNames = ["personalAccessToken"];
181
- var contentTypes = [];
182
- var accepts = ["application/json"];
183
- var returnType = _GetEventsByCursor200Response["default"];
184
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/events-cursor", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
185
- }
186
-
187
- /**
188
- * Get Events of a Project by cursor
189
- * @param {String} projectOrProductUID
190
- * @param {Object} opts Optional parameters
191
- * @param {Number} opts.limit (default to 50)
192
- * @param {String} opts.cursor A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included.
193
- * @param {module:model/String} opts.sortOrder (default to 'asc')
194
- * @param {Boolean} opts.systemFilesOnly
195
- * @param {String} opts.files
196
- * @param {String} opts.fleetUID
197
- * @param {Array.<String>} opts.deviceUID A Device UID.
198
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
199
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEventsByCursor200Response}
200
- */
201
- }, {
202
- key: "getEventsByCursor",
203
- value: function getEventsByCursor(projectOrProductUID, opts) {
204
- return this.getEventsByCursorWithHttpInfo(projectOrProductUID, opts).then(function (response_and_data) {
205
- return response_and_data.data;
206
- });
207
- }
208
-
209
144
  /**
210
145
  * Get Events of a Fleet
211
146
  * @param {String} projectOrProductUID
@@ -213,8 +148,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
213
148
  * @param {Object} opts Optional parameters
214
149
  * @param {Number} opts.pageSize (default to 50)
215
150
  * @param {Number} opts.pageNum (default to 1)
216
- * @param {Array.<String>} opts.deviceUID A Device UID.
217
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
151
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
152
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
153
+ * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
218
154
  * @param {module:model/String} opts.sortBy (default to 'captured')
219
155
  * @param {module:model/String} opts.sortOrder (default to 'asc')
220
156
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -224,8 +160,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
224
160
  * @param {String} opts.files
225
161
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
226
162
  * @param {Array.<String>} opts.serialNumber Filter by Serial Number
227
- * @param {Array.<String>} opts.sessionUID Filter by Session UID
228
- * @param {Array.<String>} opts.eventUID Filter by Event UID
163
+ * @param {Array.<String>} opts.sessionUID Filter by SessionUID
164
+ * @param {Array.<String>} opts.eventUID Filter by EventUID
229
165
  * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
230
166
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
231
167
  */
@@ -249,6 +185,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
249
185
  var queryParams = {
250
186
  pageSize: opts["pageSize"],
251
187
  pageNum: opts["pageNum"],
188
+ cursor: opts["cursor"],
252
189
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
253
190
  sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
254
191
  sortBy: opts["sortBy"],
@@ -280,8 +217,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
280
217
  * @param {Object} opts Optional parameters
281
218
  * @param {Number} opts.pageSize (default to 50)
282
219
  * @param {Number} opts.pageNum (default to 1)
283
- * @param {Array.<String>} opts.deviceUID A Device UID.
284
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
220
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
221
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
222
+ * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
285
223
  * @param {module:model/String} opts.sortBy (default to 'captured')
286
224
  * @param {module:model/String} opts.sortOrder (default to 'asc')
287
225
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -291,8 +229,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
291
229
  * @param {String} opts.files
292
230
  * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
293
231
  * @param {Array.<String>} opts.serialNumber Filter by Serial Number
294
- * @param {Array.<String>} opts.sessionUID Filter by Session UID
295
- * @param {Array.<String>} opts.eventUID Filter by Event UID
232
+ * @param {Array.<String>} opts.sessionUID Filter by SessionUID
233
+ * @param {Array.<String>} opts.eventUID Filter by EventUID
296
234
  * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
297
235
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
298
236
  */
@@ -305,84 +243,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
305
243
  }
306
244
 
307
245
  /**
308
- * Get Events of a Fleet by cursor
309
- * @param {String} projectOrProductUID
310
- * @param {String} fleetUID
311
- * @param {Object} opts Optional parameters
312
- * @param {Number} opts.limit (default to 50)
313
- * @param {String} opts.cursor A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included.
314
- * @param {module:model/String} opts.sortOrder (default to 'asc')
315
- * @param {Boolean} opts.systemFilesOnly
316
- * @param {String} opts.files
317
- * @param {Array.<String>} opts.deviceUID A Device UID.
318
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
319
- * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
320
- * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
321
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEventsByCursor200Response} and HTTP response
322
- */
323
- }, {
324
- key: "getFleetEventsByCursorWithHttpInfo",
325
- value: function getFleetEventsByCursorWithHttpInfo(projectOrProductUID, fleetUID, opts) {
326
- opts = opts || {};
327
- var postBody = null;
328
- // verify the required parameter 'projectOrProductUID' is set
329
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
330
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getFleetEventsByCursor");
331
- }
332
- // verify the required parameter 'fleetUID' is set
333
- if (fleetUID === undefined || fleetUID === null) {
334
- throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetEventsByCursor");
335
- }
336
- var pathParams = {
337
- projectOrProductUID: projectOrProductUID,
338
- fleetUID: fleetUID
339
- };
340
- var queryParams = {
341
- limit: opts["limit"],
342
- cursor: opts["cursor"],
343
- sortOrder: opts["sortOrder"],
344
- systemFilesOnly: opts["systemFilesOnly"],
345
- files: opts["files"],
346
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
347
- sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
348
- startDate: opts["startDate"],
349
- endDate: opts["endDate"]
350
- };
351
- var headerParams = {};
352
- var formParams = {};
353
- var authNames = ["personalAccessToken"];
354
- var contentTypes = [];
355
- var accepts = ["application/json"];
356
- var returnType = _GetEventsByCursor200Response["default"];
357
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events-cursor", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
358
- }
359
-
360
- /**
361
- * Get Events of a Fleet by cursor
362
- * @param {String} projectOrProductUID
363
- * @param {String} fleetUID
364
- * @param {Object} opts Optional parameters
365
- * @param {Number} opts.limit (default to 50)
366
- * @param {String} opts.cursor A cursor, which can be obtained from the `next_cursor` value from a previous call to this endpoint. The results set returned will include this event as its first result if the given identifier is actually the UID of an event. If this event UID is not found, the parameter is ignored and the results set is the same as if the parameter was not included.
367
- * @param {module:model/String} opts.sortOrder (default to 'asc')
368
- * @param {Boolean} opts.systemFilesOnly
369
- * @param {String} opts.files
370
- * @param {Array.<String>} opts.deviceUID A Device UID.
371
- * @param {Array.<String>} opts.sensorUID A sensor UID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
372
- * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
373
- * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
374
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEventsByCursor200Response}
375
- */
376
- }, {
377
- key: "getFleetEventsByCursor",
378
- value: function getFleetEventsByCursor(projectOrProductUID, fleetUID, opts) {
379
- return this.getFleetEventsByCursorWithHttpInfo(projectOrProductUID, fleetUID, opts).then(function (response_and_data) {
380
- return response_and_data.data;
381
- });
382
- }
383
-
384
- /**
385
- * Get Route Logs by Event UID
246
+ * Get Route Logs by EventUID
386
247
  * @param {String} projectOrProductUID
387
248
  * @param {String} eventUID
388
249
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
@@ -414,7 +275,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
414
275
  }
415
276
 
416
277
  /**
417
- * Get Route Logs by Event UID
278
+ * Get Route Logs by EventUID
418
279
  * @param {String} projectOrProductUID
419
280
  * @param {String} eventUID
420
281
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * ExternalDevices service.
31
31
  * @module api/ExternalDevicesApi
32
- * @version 6.7.0-beta.2
32
+ * @version 6.7.0-beta.20
33
33
  */
34
34
  var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -36,7 +36,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
36
36
  /**
37
37
  * Jobs service.
38
38
  * @module api/JobsApi
39
- * @version 6.7.0-beta.2
39
+ * @version 6.7.0-beta.20
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Monitor service.
31
31
  * @module api/MonitorApi
32
- * @version 6.7.0-beta.2
32
+ * @version 6.7.0-beta.20
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
- var _GetBillingAccount200Response = _interopRequireDefault(require("../model/GetBillingAccount200Response"));
10
- var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("../model/GetBillingAccountBalanceHistory200Response"));
9
+ var _GetOrganization200Response = _interopRequireDefault(require("../model/GetOrganization200Response"));
10
+ var _GetOrganizationBalanceHistory200Response = _interopRequireDefault(require("../model/GetOrganizationBalanceHistory200Response"));
11
11
  var _GetOrganizations200Response = _interopRequireDefault(require("../model/GetOrganizations200Response"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
13
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Organization service.
32
32
  * @module api/OrganizationApi
33
- * @version 6.7.0-beta.2
33
+ * @version 6.7.0-beta.20
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -48,7 +48,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
48
48
  /**
49
49
  * Get Organization Information
50
50
  * @param {String} organizationUID
51
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccount200Response} and HTTP response
51
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganization200Response} and HTTP response
52
52
  */
53
53
  return _createClass(OrganizationApi, [{
54
54
  key: "getOrganizationWithHttpInfo",
@@ -67,14 +67,14 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
67
67
  var authNames = ["personalAccessToken"];
68
68
  var contentTypes = [];
69
69
  var accepts = ["application/json"];
70
- var returnType = _GetBillingAccount200Response["default"];
70
+ var returnType = _GetOrganization200Response["default"];
71
71
  return this.apiClient.callApi("/v1/organizations/{organizationUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
72
72
  }
73
73
 
74
74
  /**
75
75
  * Get Organization Information
76
76
  * @param {String} organizationUID
77
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccount200Response}
77
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganization200Response}
78
78
  */
79
79
  }, {
80
80
  key: "getOrganization",
@@ -90,7 +90,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
90
90
  * @param {Object} opts Optional parameters
91
91
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
92
92
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
93
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalanceHistory200Response} and HTTP response
93
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganizationBalanceHistory200Response} and HTTP response
94
94
  */
95
95
  }, {
96
96
  key: "getOrganizationBalanceHistoryWithHttpInfo",
@@ -113,7 +113,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
113
113
  var authNames = ["personalAccessToken"];
114
114
  var contentTypes = [];
115
115
  var accepts = ["application/json"];
116
- var returnType = _GetBillingAccountBalanceHistory200Response["default"];
116
+ var returnType = _GetOrganizationBalanceHistory200Response["default"];
117
117
  return this.apiClient.callApi("/v1/organizations/{organizationUID}/balance-history", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
118
118
  }
119
119
 
@@ -123,7 +123,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
123
123
  * @param {Object} opts Optional parameters
124
124
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
125
125
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
126
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalanceHistory200Response}
126
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganizationBalanceHistory200Response}
127
127
  */
128
128
  }, {
129
129
  key: "getOrganizationBalanceHistory",