@blues-inc/notehub-js 6.7.0-beta.60 → 6.7.0-beta.62

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 (187) hide show
  1. package/README.md +18 -18
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +5 -7
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +1 -1
  7. package/dist/api/EventApi.js +1 -1
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +17 -27
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +71 -51
  13. package/dist/api/RouteApi.js +1 -1
  14. package/dist/api/SkillsApi.js +1 -1
  15. package/dist/api/UsageApi.js +1 -1
  16. package/dist/api/WebhookApi.js +1 -1
  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/ArchiveStats.js +1 -1
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/BatchJobNoteRequest.js +1 -1
  26. package/dist/model/BatchJobRequests.js +1 -1
  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 +1 -1
  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 +25 -37
  37. package/dist/model/CreateProductRequest.js +1 -1
  38. package/dist/model/CreateProjectRequest.js +1 -1
  39. package/dist/model/CreateProjectSecretRequest.js +1 -1
  40. package/dist/model/CreateUpdateRepository.js +1 -1
  41. package/dist/model/CreatedRepository.js +1 -1
  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 +1 -1
  47. package/dist/model/DataSetField.js +1 -1
  48. package/dist/model/DataUsage.js +1 -1
  49. package/dist/model/DatacakeRoute.js +1 -1
  50. package/dist/model/DatasetReloadProgress.js +1 -1
  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 +1 -1
  57. package/dist/model/DeviceDfuHistory.js +2 -1
  58. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +2 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +2 -2
  62. package/dist/model/DeviceDfuStatus.js +2 -2
  63. package/dist/model/DeviceDfuStatusPage.js +1 -1
  64. package/dist/model/DeviceSensor.js +1 -1
  65. package/dist/model/DeviceSession.js +1 -1
  66. package/dist/model/DeviceTowerInfo.js +1 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +2 -2
  69. package/dist/model/EmailNotification.js +2 -2
  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 +1 -1
  75. package/dist/model/Filter.js +1 -1
  76. package/dist/model/Firmware.js +1 -1
  77. package/dist/model/FirmwareInfo.js +6 -6
  78. package/dist/model/Fleet.js +1 -1
  79. package/dist/model/FleetConnectivityAssurance.js +1 -1
  80. package/dist/model/GetAlerts200Response.js +1 -1
  81. package/dist/model/GetApiUsage200Response.js +1 -1
  82. package/dist/model/GetDataUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  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 +1 -1
  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 +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  97. package/dist/model/GetDeviceSessions200Response.js +1 -1
  98. package/dist/model/GetDevices200Response.js +1 -1
  99. package/dist/model/GetEvents200Response.js +1 -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/GetOrganization200Response.js +1 -1
  104. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  105. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  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/HealthLog.js +1 -1
  117. package/dist/model/HttpRoute.js +1 -1
  118. package/dist/model/Job.js +1 -1
  119. package/dist/model/JobDefinition.js +1 -1
  120. package/dist/model/JobDefinitionReportOptions.js +1 -1
  121. package/dist/model/JobDefinitionSelect.js +1 -1
  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/Monitor.js +12 -18
  127. package/dist/model/MonitorAlertRoutesInner.js +4 -4
  128. package/dist/model/MqttRoute.js +1 -1
  129. package/dist/model/Note.js +1 -1
  130. package/dist/model/NoteInput.js +1 -1
  131. package/dist/model/Notefile.js +1 -1
  132. package/dist/model/NotefileSchema.js +1 -1
  133. package/dist/model/NotehubRoute.js +1 -1
  134. package/dist/model/NotehubRouteSummary.js +1 -1
  135. package/dist/model/OAuth2Error.js +1 -1
  136. package/dist/model/OAuth2TokenResponse.js +1 -1
  137. package/dist/model/Organization.js +1 -1
  138. package/dist/model/Product.js +1 -1
  139. package/dist/model/Project.js +1 -1
  140. package/dist/model/ProjectMember.js +1 -1
  141. package/dist/model/ProjectSecret.js +1 -1
  142. package/dist/model/ProvisionDeviceRequest.js +1 -1
  143. package/dist/model/ProxyRoute.js +1 -1
  144. package/dist/model/QubitroRoute.js +1 -1
  145. package/dist/model/RadRoute.js +1 -1
  146. package/dist/model/Repository.js +1 -1
  147. package/dist/model/RepositoryListResponse.js +1 -1
  148. package/dist/model/RepositoryTokenRequest.js +1 -1
  149. package/dist/model/RepositoryTokenResponse.js +1 -1
  150. package/dist/model/RouteLog.js +1 -1
  151. package/dist/model/RouteTransformSettings.js +1 -1
  152. package/dist/model/RunJob200Response.js +1 -1
  153. package/dist/model/S3ArchiveRoute.js +1 -1
  154. package/dist/model/SatelliteDataUsage.js +1 -1
  155. package/dist/model/SatellitePlan.js +1 -1
  156. package/dist/model/SchemaProperty.js +1 -1
  157. package/dist/model/SignalDevice200Response.js +1 -1
  158. package/dist/model/SimUsage.js +1 -1
  159. package/dist/model/Skill.js +1 -1
  160. package/dist/model/SkillLinks.js +1 -1
  161. package/dist/model/SkillSet.js +1 -1
  162. package/dist/model/SkillSummary.js +1 -1
  163. package/dist/model/SkillWrite.js +1 -1
  164. package/dist/model/SkillWriteResult.js +1 -1
  165. package/dist/model/SlackBearerNotification.js +3 -3
  166. package/dist/model/SlackRoute.js +1 -1
  167. package/dist/model/SlackWebHookNotification.js +3 -3
  168. package/dist/model/SnowflakeRoute.js +1 -1
  169. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  170. package/dist/model/ThingworxRoute.js +1 -1
  171. package/dist/model/TowerLocation.js +1 -1
  172. package/dist/model/TwilioRoute.js +1 -1
  173. package/dist/model/UpdateFleetRequest.js +1 -1
  174. package/dist/model/UpdateHostFirmwareRequest.js +4 -4
  175. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  176. package/dist/model/UploadMetadata.js +1 -1
  177. package/dist/model/UsageApiData.js +1 -1
  178. package/dist/model/UsageData.js +1 -1
  179. package/dist/model/UsageEventsData.js +1 -1
  180. package/dist/model/UsageEventsResponse.js +1 -1
  181. package/dist/model/UsageRouteLogsData.js +1 -1
  182. package/dist/model/UsageSessionsData.js +1 -1
  183. package/dist/model/UserDfuStateMachine.js +1 -1
  184. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  185. package/dist/model/UserFirmwareInfo.js +1 -1
  186. package/dist/model/WebhookSettings.js +1 -1
  187. package/package.json +1 -1
@@ -56,7 +56,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
56
56
  /**
57
57
  * Project service.
58
58
  * @module api/ProjectApi
59
- * @version 6.7.0-beta.60
59
+ * @version 6.7.0-beta.62
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -393,7 +393,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
393
393
  }
394
394
 
395
395
  /**
396
- * Delete a host firmware binary. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
396
+ * Delete host firmware
397
+ * Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
397
398
  * @param {String} projectOrProductUID
398
399
  * @param {module:model/String} firmwareType
399
400
  * @param {String} filename
@@ -431,7 +432,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
431
432
  }
432
433
 
433
434
  /**
434
- * Delete a host firmware binary. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
435
+ * Delete host firmware
436
+ * Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
435
437
  * @param {String} projectOrProductUID
436
438
  * @param {module:model/String} firmwareType
437
439
  * @param {String} filename
@@ -761,9 +763,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
761
763
  }
762
764
 
763
765
  /**
764
- * Download firmware binary
766
+ * Download host firmware
767
+ * Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
765
768
  * @param {String} projectOrProductUID
766
- * @param {module:model/String} firmwareType
769
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
767
770
  * @param {String} filename
768
771
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
769
772
  */
@@ -799,9 +802,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
799
802
  }
800
803
 
801
804
  /**
802
- * Download firmware binary
805
+ * Download host firmware
806
+ * Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
803
807
  * @param {String} projectOrProductUID
804
- * @param {module:model/String} firmwareType
808
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
805
809
  * @param {String} filename
806
810
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
807
811
  */
@@ -894,10 +898,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
894
898
  }
895
899
 
896
900
  /**
897
- * Get device DFU history for host or Notecard firmware
901
+ * Get a device's firmware update history
902
+ * Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
898
903
  * @param {String} projectOrProductUID
899
904
  * @param {String} deviceUID
900
- * @param {module:model/String} firmwareType
905
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
901
906
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
902
907
  */
903
908
  }, {
@@ -932,10 +937,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
932
937
  }
933
938
 
934
939
  /**
935
- * Get device DFU history for host or Notecard firmware
940
+ * Get a device's firmware update history
941
+ * Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
936
942
  * @param {String} projectOrProductUID
937
943
  * @param {String} deviceUID
938
- * @param {module:model/String} firmwareType
944
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
939
945
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
940
946
  */
941
947
  }, {
@@ -947,10 +953,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
947
953
  }
948
954
 
949
955
  /**
950
- * Get device DFU history for host or Notecard firmware
956
+ * Get a device's firmware update status
957
+ * Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
951
958
  * @param {String} projectOrProductUID
952
959
  * @param {String} deviceUID
953
- * @param {module:model/String} firmwareType
960
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
954
961
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
955
962
  */
956
963
  }, {
@@ -985,10 +992,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
985
992
  }
986
993
 
987
994
  /**
988
- * Get device DFU history for host or Notecard firmware
995
+ * Get a device's firmware update status
996
+ * Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
989
997
  * @param {String} projectOrProductUID
990
998
  * @param {String} deviceUID
991
- * @param {module:model/String} firmwareType
999
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
992
1000
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
993
1001
  */
994
1002
  }, {
@@ -1046,9 +1054,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1046
1054
  }
1047
1055
 
1048
1056
  /**
1049
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1057
+ * List devices' firmware update history
1058
+ * List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1050
1059
  * @param {String} projectOrProductUID
1051
- * @param {module:model/String} firmwareType
1060
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1052
1061
  * @param {Object} opts Optional parameters
1053
1062
  * @param {Number} opts.pageSize (default to 1000)
1054
1063
  * @param {Number} opts.pageNum (default to 1)
@@ -1109,9 +1118,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1109
1118
  }
1110
1119
 
1111
1120
  /**
1112
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1121
+ * List devices' firmware update history
1122
+ * List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1113
1123
  * @param {String} projectOrProductUID
1114
- * @param {module:model/String} firmwareType
1124
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1115
1125
  * @param {Object} opts Optional parameters
1116
1126
  * @param {Number} opts.pageSize (default to 1000)
1117
1127
  * @param {Number} opts.pageNum (default to 1)
@@ -1138,9 +1148,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1138
1148
  }
1139
1149
 
1140
1150
  /**
1141
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1151
+ * List devices' firmware status
1152
+ * List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1142
1153
  * @param {String} projectOrProductUID
1143
- * @param {module:model/String} firmwareType
1154
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1144
1155
  * @param {Object} opts Optional parameters
1145
1156
  * @param {Number} opts.pageSize (default to 1000)
1146
1157
  * @param {Number} opts.pageNum (default to 1)
@@ -1201,9 +1212,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1201
1212
  }
1202
1213
 
1203
1214
  /**
1204
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1215
+ * List devices' firmware status
1216
+ * List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1205
1217
  * @param {String} projectOrProductUID
1206
- * @param {module:model/String} firmwareType
1218
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1207
1219
  * @param {Object} opts Optional parameters
1208
1220
  * @param {Number} opts.pageSize (default to 1000)
1209
1221
  * @param {Number} opts.pageNum (default to 1)
@@ -1230,16 +1242,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1230
1242
  }
1231
1243
 
1232
1244
  /**
1233
- * Get Available Firmware Information
1245
+ * List firmware
1246
+ * List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
1234
1247
  * @param {String} projectOrProductUID
1235
1248
  * @param {Object} opts Optional parameters
1236
- * @param {String} opts.product
1237
- * @param {String} opts.firmwareType
1238
- * @param {String} opts.version
1239
- * @param {String} opts.target
1240
- * @param {String} opts.filename
1241
- * @param {String} opts.md5
1242
- * @param {Boolean} opts.unpublished
1249
+ * @param {String} opts.product Only firmware whose product contains this text.
1250
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1251
+ * @param {String} opts.version Only firmware whose version contains this text.
1252
+ * @param {String} opts.target Only firmware whose target contains this text.
1253
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1254
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1255
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1243
1256
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1244
1257
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1245
1258
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
@@ -1277,16 +1290,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1277
1290
  }
1278
1291
 
1279
1292
  /**
1280
- * Get Available Firmware Information
1293
+ * List firmware
1294
+ * List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
1281
1295
  * @param {String} projectOrProductUID
1282
1296
  * @param {Object} opts Optional parameters
1283
- * @param {String} opts.product
1284
- * @param {String} opts.firmwareType
1285
- * @param {String} opts.version
1286
- * @param {String} opts.target
1287
- * @param {String} opts.filename
1288
- * @param {String} opts.md5
1289
- * @param {Boolean} opts.unpublished
1297
+ * @param {String} opts.product Only firmware whose product contains this text.
1298
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1299
+ * @param {String} opts.version Only firmware whose version contains this text.
1300
+ * @param {String} opts.target Only firmware whose target contains this text.
1301
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1302
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1303
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1290
1304
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1291
1305
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1292
1306
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
@@ -1820,10 +1834,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1820
1834
  }
1821
1835
 
1822
1836
  /**
1823
- * Update/cancel host or notecard firmware updates
1837
+ * Start or cancel firmware updates
1838
+ * Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
1824
1839
  * @param {String} projectOrProductUID
1825
- * @param {module:model/String} firmwareType
1826
- * @param {module:model/String} action
1840
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1841
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1827
1842
  * @param {Object} opts Optional parameters
1828
1843
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1829
1844
  * @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`.
@@ -1880,10 +1895,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1880
1895
  }
1881
1896
 
1882
1897
  /**
1883
- * Update/cancel host or notecard firmware updates
1898
+ * Start or cancel firmware updates
1899
+ * Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
1884
1900
  * @param {String} projectOrProductUID
1885
- * @param {module:model/String} firmwareType
1886
- * @param {module:model/String} action
1901
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1902
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1887
1903
  * @param {Object} opts Optional parameters
1888
1904
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1889
1905
  * @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`.
@@ -2047,7 +2063,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2047
2063
  }
2048
2064
 
2049
2065
  /**
2050
- * Update the metadata of an existing host firmware entry. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
2066
+ * Update host firmware metadata
2067
+ * Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
2051
2068
  * @param {String} projectOrProductUID
2052
2069
  * @param {module:model/String} firmwareType
2053
2070
  * @param {String} filename
@@ -2090,7 +2107,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2090
2107
  }
2091
2108
 
2092
2109
  /**
2093
- * Update the metadata of an existing host firmware entry. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
2110
+ * Update host firmware metadata
2111
+ * Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
2094
2112
  * @param {String} projectOrProductUID
2095
2113
  * @param {module:model/String} firmwareType
2096
2114
  * @param {String} filename
@@ -2210,9 +2228,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2210
2228
  }
2211
2229
 
2212
2230
  /**
2213
- * Upload firmware binary
2231
+ * Upload firmware
2232
+ * Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
2214
2233
  * @param {String} projectOrProductUID
2215
- * @param {module:model/String} firmwareType
2234
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2216
2235
  * @param {String} filename
2217
2236
  * @param {File} body contents of the firmware binary
2218
2237
  * @param {Object} opts Optional parameters
@@ -2260,9 +2279,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2260
2279
  }
2261
2280
 
2262
2281
  /**
2263
- * Upload firmware binary
2282
+ * Upload firmware
2283
+ * Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
2264
2284
  * @param {String} projectOrProductUID
2265
- * @param {module:model/String} firmwareType
2285
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2266
2286
  * @param {String} filename
2267
2287
  * @param {File} body contents of the firmware binary
2268
2288
  * @param {Object} opts Optional parameters
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Route service.
32
32
  * @module api/RouteApi
33
- * @version 6.7.0-beta.60
33
+ * @version 6.7.0-beta.62
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * Skills service.
33
33
  * @module api/SkillsApi
34
- * @version 6.7.0-beta.60
34
+ * @version 6.7.0-beta.62
35
35
  */
36
36
  var SkillsApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
32
32
  /**
33
33
  * Usage service.
34
34
  * @module api/UsageApi
35
- * @version 6.7.0-beta.60
35
+ * @version 6.7.0-beta.62
36
36
  */
37
37
  var UsageApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Webhook service.
31
31
  * @module api/WebhookApi
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var AWSRoleConfig = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AddDeviceToFleetsRequest model module.
31
31
  * @module model/AddDeviceToFleetsRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 6.7.0-beta.60
34
+ * @version 6.7.0-beta.62
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -203,7 +203,7 @@ var Alert = /*#__PURE__*/function () {
203
203
  Alert.prototype["alert_source"] = undefined;
204
204
 
205
205
  /**
206
- * When the alert was raised, as a Unix timestamp in seconds.
206
+ * The time the alert was created
207
207
  * @member {Number} created_at
208
208
  */
209
209
  Alert.prototype["created_at"] = undefined;
@@ -220,7 +220,7 @@ Alert.prototype["data"] = undefined;
220
220
  Alert.prototype["device_uid"] = undefined;
221
221
 
222
222
  /**
223
- * The monitor's `source_selector`.
223
+ * The field name that triggered the alert
224
224
  * @member {String} field_name
225
225
  */
226
226
  Alert.prototype["field_name"] = undefined;
@@ -232,7 +232,7 @@ Alert.prototype["field_name"] = undefined;
232
232
  Alert.prototype["monitor_name"] = undefined;
233
233
 
234
234
  /**
235
- * The `source_type` of the monitor that raised the alert.
235
+ * The type of monitor that triggered the alert
236
236
  * @member {module:model/Alert.MonitorTypeEnum} monitor_type
237
237
  */
238
238
  Alert.prototype["monitor_type"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.62
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.62
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The ArchiveStats model module.
28
28
  * @module model/ArchiveStats
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.62
30
30
  */
31
31
  var ArchiveStats = /*#__PURE__*/function () {
32
32
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AwsRoute model module.
30
30
  * @module model/AwsRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.62
32
32
  */
33
33
  var AwsRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AzureRoute model module.
30
30
  * @module model/AzureRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.62
32
32
  */
33
33
  var AzureRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The BatchJobNoteRequest model module.
31
31
  * @module model/BatchJobNoteRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var BatchJobNoteRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BatchJobRequests model module.
32
32
  * @module model/BatchJobRequests
33
- * @version 6.7.0-beta.60
33
+ * @version 6.7.0-beta.62
34
34
  */
35
35
  var BatchJobRequests = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 6.7.0-beta.60
33
+ * @version 6.7.0-beta.62
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The BlynkRoute model module.
30
30
  * @module model/BlynkRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.62
32
32
  */
33
33
  var BlynkRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.62
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CancelJobRun200Response model module.
31
31
  * @module model/CancelJobRun200Response
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var CancelJobRun200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CellularPlan model module.
29
29
  * @module model/CellularPlan
30
- * @version 6.7.0-beta.60
30
+ * @version 6.7.0-beta.62
31
31
  */
32
32
  var CellularPlan = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CloneProjectRequest model module.
31
31
  * @module model/CloneProjectRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var CloneProjectRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Contact model module.
28
28
  * @module model/Contact
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.62
30
30
  */
31
31
  var Contact = /*#__PURE__*/function () {
32
32
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CreateFleetRequest model module.
29
29
  * @module model/CreateFleetRequest
30
- * @version 6.7.0-beta.60
30
+ * @version 6.7.0-beta.62
31
31
  */
32
32
  var CreateFleetRequest = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateJob201Response model module.
31
31
  * @module model/CreateJob201Response
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.62
33
33
  */
34
34
  var CreateJob201Response = /*#__PURE__*/function () {
35
35
  /**