@blues-inc/notehub-js 6.7.0-beta.65 → 6.7.0-beta.66

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 +42 -42
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +177 -115
  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 +1 -1
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +73 -53
  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 +1 -1
  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 +2 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +3 -2
  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 +1 -1
  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 +2 -2
  54. package/dist/model/DescriptionRecord.js +1 -1
  55. package/dist/model/DescriptionRecordList.js +1 -1
  56. package/dist/model/Device.js +27 -8
  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 +6 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +2 -2
  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 +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 +2 -2
  93. package/dist/model/GetDevicePlans200Response.js +2 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +5 -3
  95. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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 +7 -4
  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 +13 -7
  126. package/dist/model/Monitor.js +1 -1
  127. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  128. package/dist/model/MqttRoute.js +1 -1
  129. package/dist/model/Note.js +2 -2
  130. package/dist/model/NoteInput.js +1 -1
  131. package/dist/model/Notefile.js +2 -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 +5 -5
  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 +2 -2
  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 +1 -1
  166. package/dist/model/SlackRoute.js +1 -1
  167. package/dist/model/SlackWebHookNotification.js +1 -1
  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
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Event service.
31
31
  * @module api/EventApi
32
- * @version 6.7.0-beta.65
32
+ * @version 6.7.0-beta.66
33
33
  */
34
34
  var EventApi = 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
  * ExternalDevices service.
31
31
  * @module api/ExternalDevicesApi
32
- * @version 6.7.0-beta.65
32
+ * @version 6.7.0-beta.66
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.65
39
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__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
  * Organization service.
32
32
  * @module api/OrganizationApi
33
- * @version 6.7.0-beta.65
33
+ * @version 6.7.0-beta.66
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -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.65
59
+ * @version 6.7.0-beta.66
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -407,7 +407,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
407
407
  }
408
408
 
409
409
  /**
410
- * 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.
410
+ * Delete host firmware
411
+ * 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.
411
412
  * @param {String} projectOrProductUID
412
413
  * @param {module:model/String} firmwareType
413
414
  * @param {String} filename
@@ -445,7 +446,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
445
446
  }
446
447
 
447
448
  /**
448
- * 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.
449
+ * Delete host firmware
450
+ * 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.
449
451
  * @param {String} projectOrProductUID
450
452
  * @param {module:model/String} firmwareType
451
453
  * @param {String} filename
@@ -789,9 +791,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
789
791
  }
790
792
 
791
793
  /**
792
- * Download firmware binary
794
+ * Download host firmware
795
+ * 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.
793
796
  * @param {String} projectOrProductUID
794
- * @param {module:model/String} firmwareType
797
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
795
798
  * @param {String} filename
796
799
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
797
800
  */
@@ -827,9 +830,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
827
830
  }
828
831
 
829
832
  /**
830
- * Download firmware binary
833
+ * Download host firmware
834
+ * 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.
831
835
  * @param {String} projectOrProductUID
832
- * @param {module:model/String} firmwareType
836
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
833
837
  * @param {String} filename
834
838
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
835
839
  */
@@ -924,10 +928,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
924
928
  }
925
929
 
926
930
  /**
927
- * Get device DFU history for host or Notecard firmware
931
+ * Get a device's firmware update history
932
+ * 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.
928
933
  * @param {String} projectOrProductUID
929
934
  * @param {String} deviceUID
930
- * @param {module:model/String} firmwareType
935
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
931
936
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
932
937
  */
933
938
  }, {
@@ -962,10 +967,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
962
967
  }
963
968
 
964
969
  /**
965
- * Get device DFU history for host or Notecard firmware
970
+ * Get a device's firmware update history
971
+ * 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.
966
972
  * @param {String} projectOrProductUID
967
973
  * @param {String} deviceUID
968
- * @param {module:model/String} firmwareType
974
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
969
975
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
970
976
  */
971
977
  }, {
@@ -977,10 +983,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
977
983
  }
978
984
 
979
985
  /**
980
- * Get device DFU history for host or Notecard firmware
986
+ * Get a device's firmware update status
987
+ * 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.
981
988
  * @param {String} projectOrProductUID
982
989
  * @param {String} deviceUID
983
- * @param {module:model/String} firmwareType
990
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
984
991
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
985
992
  */
986
993
  }, {
@@ -1015,10 +1022,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1015
1022
  }
1016
1023
 
1017
1024
  /**
1018
- * Get device DFU history for host or Notecard firmware
1025
+ * Get a device's firmware update status
1026
+ * 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.
1019
1027
  * @param {String} projectOrProductUID
1020
1028
  * @param {String} deviceUID
1021
- * @param {module:model/String} firmwareType
1029
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1022
1030
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
1023
1031
  */
1024
1032
  }, {
@@ -1078,9 +1086,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1078
1086
  }
1079
1087
 
1080
1088
  /**
1081
- * 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.
1089
+ * List devices' firmware update history
1090
+ * 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.
1082
1091
  * @param {String} projectOrProductUID
1083
- * @param {module:model/String} firmwareType
1092
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1084
1093
  * @param {Object} opts Optional parameters
1085
1094
  * @param {Number} opts.pageSize (default to 1000)
1086
1095
  * @param {Number} opts.pageNum (default to 1)
@@ -1141,9 +1150,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1141
1150
  }
1142
1151
 
1143
1152
  /**
1144
- * 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.
1153
+ * List devices' firmware update history
1154
+ * 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.
1145
1155
  * @param {String} projectOrProductUID
1146
- * @param {module:model/String} firmwareType
1156
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1147
1157
  * @param {Object} opts Optional parameters
1148
1158
  * @param {Number} opts.pageSize (default to 1000)
1149
1159
  * @param {Number} opts.pageNum (default to 1)
@@ -1170,9 +1180,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1170
1180
  }
1171
1181
 
1172
1182
  /**
1173
- * 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.
1183
+ * List devices' firmware status
1184
+ * 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.
1174
1185
  * @param {String} projectOrProductUID
1175
- * @param {module:model/String} firmwareType
1186
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1176
1187
  * @param {Object} opts Optional parameters
1177
1188
  * @param {Number} opts.pageSize (default to 1000)
1178
1189
  * @param {Number} opts.pageNum (default to 1)
@@ -1233,9 +1244,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1233
1244
  }
1234
1245
 
1235
1246
  /**
1236
- * 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.
1247
+ * List devices' firmware status
1248
+ * 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.
1237
1249
  * @param {String} projectOrProductUID
1238
- * @param {module:model/String} firmwareType
1250
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1239
1251
  * @param {Object} opts Optional parameters
1240
1252
  * @param {Number} opts.pageSize (default to 1000)
1241
1253
  * @param {Number} opts.pageNum (default to 1)
@@ -1262,16 +1274,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1262
1274
  }
1263
1275
 
1264
1276
  /**
1265
- * Get Available Firmware Information
1277
+ * List firmware
1278
+ * 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.
1266
1279
  * @param {String} projectOrProductUID
1267
1280
  * @param {Object} opts Optional parameters
1268
- * @param {String} opts.product
1269
- * @param {String} opts.firmwareType
1270
- * @param {String} opts.version
1271
- * @param {String} opts.target
1272
- * @param {String} opts.filename
1273
- * @param {String} opts.md5
1274
- * @param {Boolean} opts.unpublished
1281
+ * @param {String} opts.product Only firmware whose product contains this text.
1282
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1283
+ * @param {String} opts.version Only firmware whose version contains this text.
1284
+ * @param {String} opts.target Only firmware whose target contains this text.
1285
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1286
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1287
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1275
1288
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1276
1289
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1277
1290
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
@@ -1309,16 +1322,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1309
1322
  }
1310
1323
 
1311
1324
  /**
1312
- * Get Available Firmware Information
1325
+ * List firmware
1326
+ * 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.
1313
1327
  * @param {String} projectOrProductUID
1314
1328
  * @param {Object} opts Optional parameters
1315
- * @param {String} opts.product
1316
- * @param {String} opts.firmwareType
1317
- * @param {String} opts.version
1318
- * @param {String} opts.target
1319
- * @param {String} opts.filename
1320
- * @param {String} opts.md5
1321
- * @param {Boolean} opts.unpublished
1329
+ * @param {String} opts.product Only firmware whose product contains this text.
1330
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1331
+ * @param {String} opts.version Only firmware whose version contains this text.
1332
+ * @param {String} opts.target Only firmware whose target contains this text.
1333
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1334
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1335
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1322
1336
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1323
1337
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1324
1338
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
@@ -1878,10 +1892,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1878
1892
  }
1879
1893
 
1880
1894
  /**
1881
- * Update/cancel host or notecard firmware updates
1895
+ * Start or cancel firmware updates
1896
+ * 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.
1882
1897
  * @param {String} projectOrProductUID
1883
- * @param {module:model/String} firmwareType
1884
- * @param {module:model/String} action
1898
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1899
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1885
1900
  * @param {Object} opts Optional parameters
1886
1901
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1887
1902
  * @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`.
@@ -1938,10 +1953,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1938
1953
  }
1939
1954
 
1940
1955
  /**
1941
- * Update/cancel host or notecard firmware updates
1956
+ * Start or cancel firmware updates
1957
+ * 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.
1942
1958
  * @param {String} projectOrProductUID
1943
- * @param {module:model/String} firmwareType
1944
- * @param {module:model/String} action
1959
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1960
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1945
1961
  * @param {Object} opts Optional parameters
1946
1962
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1947
1963
  * @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`.
@@ -2111,7 +2127,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2111
2127
  }
2112
2128
 
2113
2129
  /**
2114
- * 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.
2130
+ * Update host firmware metadata
2131
+ * 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.
2115
2132
  * @param {String} projectOrProductUID
2116
2133
  * @param {module:model/String} firmwareType
2117
2134
  * @param {String} filename
@@ -2154,7 +2171,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2154
2171
  }
2155
2172
 
2156
2173
  /**
2157
- * 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.
2174
+ * Update host firmware metadata
2175
+ * 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.
2158
2176
  * @param {String} projectOrProductUID
2159
2177
  * @param {module:model/String} firmwareType
2160
2178
  * @param {String} filename
@@ -2278,10 +2296,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2278
2296
  }
2279
2297
 
2280
2298
  /**
2281
- * Upload firmware binary
2299
+ * Upload firmware
2300
+ * 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.
2282
2301
  * @param {String} projectOrProductUID
2283
- * @param {module:model/String} firmwareType
2284
- * @param {String} filename
2302
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2303
+ * @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
2285
2304
  * @param {File} body contents of the firmware binary
2286
2305
  * @param {Object} opts Optional parameters
2287
2306
  * @param {String} opts.version Firmware version (optional). If not provided, the version will be extracted from firmware binary if available, otherwise left empty
@@ -2328,10 +2347,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2328
2347
  }
2329
2348
 
2330
2349
  /**
2331
- * Upload firmware binary
2350
+ * Upload firmware
2351
+ * 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.
2332
2352
  * @param {String} projectOrProductUID
2333
- * @param {module:model/String} firmwareType
2334
- * @param {String} filename
2353
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2354
+ * @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
2335
2355
  * @param {File} body contents of the firmware binary
2336
2356
  * @param {Object} opts Optional parameters
2337
2357
  * @param {String} opts.version Firmware version (optional). If not provided, the version will be extracted from firmware binary if available, otherwise left empty
@@ -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.65
33
+ * @version 6.7.0-beta.66
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.65
34
+ * @version 6.7.0-beta.66
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.65
35
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
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.65
34
+ * @version 6.7.0-beta.66
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -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.65
29
+ * @version 6.7.0-beta.66
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.65
29
+ * @version 6.7.0-beta.66
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.65
29
+ * @version 6.7.0-beta.66
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.65
31
+ * @version 6.7.0-beta.66
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.65
31
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
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.65
33
+ * @version 6.7.0-beta.66
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.65
33
+ * @version 6.7.0-beta.66
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.65
31
+ * @version 6.7.0-beta.66
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.65
29
+ * @version 6.7.0-beta.66
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -81,6 +81,7 @@ var Body = /*#__PURE__*/function () {
81
81
  }]);
82
82
  }();
83
83
  /**
84
+ * The JSON object to send to the Notecard. Must not have a `type` field, which the Notecard reserves.
84
85
  * @member {Object} body
85
86
  */
86
87
  Body.prototype["body"] = undefined;
@@ -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.65
32
+ * @version 6.7.0-beta.66
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.65
30
+ * @version 6.7.0-beta.66
31
31
  */
32
32
  var CellularPlan = /*#__PURE__*/function () {
33
33
  /**
@@ -131,6 +131,7 @@ CellularPlan.prototype["activated"] = undefined;
131
131
  CellularPlan.prototype["data_usage"] = undefined;
132
132
 
133
133
  /**
134
+ * When the current plan expires, as a Unix timestamp in seconds. Omitted on the Essentials plan.
134
135
  * @member {Number} expires_at
135
136
  */
136
137
  CellularPlan.prototype["expires_at"] = undefined;
@@ -148,7 +149,7 @@ CellularPlan.prototype["iccid"] = undefined;
148
149
  CellularPlan.prototype["imsi"] = undefined;
149
150
 
150
151
  /**
151
- * Time this plan information was last updated
152
+ * When this plan information was last updated, as a Unix timestamp in seconds.
152
153
  * @member {Number} last_updated
153
154
  */
154
155
  CellularPlan.prototype["last_updated"] = undefined;
@@ -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.65
32
+ * @version 6.7.0-beta.66
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.65
29
+ * @version 6.7.0-beta.66
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.65
30
+ * @version 6.7.0-beta.66
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.65
32
+ * @version 6.7.0-beta.66
33
33
  */
34
34
  var CreateJob201Response = /*#__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 CreateMonitor model module.
33
33
  * @module model/CreateMonitor
34
- * @version 6.7.0-beta.65
34
+ * @version 6.7.0-beta.66
35
35
  */
36
36
  var CreateMonitor = /*#__PURE__*/function () {
37
37
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateProductRequest model module.
31
31
  * @module model/CreateProductRequest
32
- * @version 6.7.0-beta.65
32
+ * @version 6.7.0-beta.66
33
33
  */
34
34
  var CreateProductRequest = /*#__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 CreateProjectRequest model module.
31
31
  * @module model/CreateProjectRequest
32
- * @version 6.7.0-beta.65
32
+ * @version 6.7.0-beta.66
33
33
  */
34
34
  var CreateProjectRequest = /*#__PURE__*/function () {
35
35
  /**