@blues-inc/notehub-js 6.7.0-beta.48 → 6.7.0-beta.49

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 +27 -27
  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 +73 -41
  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 +51 -71
  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 +1 -1
  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 +1 -2
  58. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -2
  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 +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 +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
@@ -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.48
59
+ * @version 6.7.0-beta.49
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -393,8 +393,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
393
393
  }
394
394
 
395
395
  /**
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.
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.
398
397
  * @param {String} projectOrProductUID
399
398
  * @param {module:model/String} firmwareType
400
399
  * @param {String} filename
@@ -432,8 +431,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
432
431
  }
433
432
 
434
433
  /**
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.
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.
437
435
  * @param {String} projectOrProductUID
438
436
  * @param {module:model/String} firmwareType
439
437
  * @param {String} filename
@@ -763,10 +761,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
763
761
  }
764
762
 
765
763
  /**
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.
764
+ * Download firmware binary
768
765
  * @param {String} projectOrProductUID
769
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
766
+ * @param {module:model/String} firmwareType
770
767
  * @param {String} filename
771
768
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
772
769
  */
@@ -802,10 +799,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
802
799
  }
803
800
 
804
801
  /**
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.
802
+ * Download firmware binary
807
803
  * @param {String} projectOrProductUID
808
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
804
+ * @param {module:model/String} firmwareType
809
805
  * @param {String} filename
810
806
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
811
807
  */
@@ -898,11 +894,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
898
894
  }
899
895
 
900
896
  /**
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.
897
+ * Get device DFU history for host or Notecard firmware
903
898
  * @param {String} projectOrProductUID
904
899
  * @param {String} deviceUID
905
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
900
+ * @param {module:model/String} firmwareType
906
901
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
907
902
  */
908
903
  }, {
@@ -937,11 +932,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
937
932
  }
938
933
 
939
934
  /**
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.
935
+ * Get device DFU history for host or Notecard firmware
942
936
  * @param {String} projectOrProductUID
943
937
  * @param {String} deviceUID
944
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
938
+ * @param {module:model/String} firmwareType
945
939
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
946
940
  */
947
941
  }, {
@@ -953,11 +947,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
953
947
  }
954
948
 
955
949
  /**
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.
950
+ * Get device DFU history for host or Notecard firmware
958
951
  * @param {String} projectOrProductUID
959
952
  * @param {String} deviceUID
960
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
953
+ * @param {module:model/String} firmwareType
961
954
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
962
955
  */
963
956
  }, {
@@ -992,11 +985,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
992
985
  }
993
986
 
994
987
  /**
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.
988
+ * Get device DFU history for host or Notecard firmware
997
989
  * @param {String} projectOrProductUID
998
990
  * @param {String} deviceUID
999
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
991
+ * @param {module:model/String} firmwareType
1000
992
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
1001
993
  */
1002
994
  }, {
@@ -1054,10 +1046,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1054
1046
  }
1055
1047
 
1056
1048
  /**
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.
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.
1059
1050
  * @param {String} projectOrProductUID
1060
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1051
+ * @param {module:model/String} firmwareType
1061
1052
  * @param {Object} opts Optional parameters
1062
1053
  * @param {Number} opts.pageSize (default to 1000)
1063
1054
  * @param {Number} opts.pageNum (default to 1)
@@ -1118,10 +1109,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1118
1109
  }
1119
1110
 
1120
1111
  /**
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.
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.
1123
1113
  * @param {String} projectOrProductUID
1124
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1114
+ * @param {module:model/String} firmwareType
1125
1115
  * @param {Object} opts Optional parameters
1126
1116
  * @param {Number} opts.pageSize (default to 1000)
1127
1117
  * @param {Number} opts.pageNum (default to 1)
@@ -1148,10 +1138,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1148
1138
  }
1149
1139
 
1150
1140
  /**
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.
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.
1153
1142
  * @param {String} projectOrProductUID
1154
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1143
+ * @param {module:model/String} firmwareType
1155
1144
  * @param {Object} opts Optional parameters
1156
1145
  * @param {Number} opts.pageSize (default to 1000)
1157
1146
  * @param {Number} opts.pageNum (default to 1)
@@ -1212,10 +1201,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1212
1201
  }
1213
1202
 
1214
1203
  /**
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.
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.
1217
1205
  * @param {String} projectOrProductUID
1218
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1206
+ * @param {module:model/String} firmwareType
1219
1207
  * @param {Object} opts Optional parameters
1220
1208
  * @param {Number} opts.pageSize (default to 1000)
1221
1209
  * @param {Number} opts.pageNum (default to 1)
@@ -1242,17 +1230,16 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1242
1230
  }
1243
1231
 
1244
1232
  /**
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.
1233
+ * Get Available Firmware Information
1247
1234
  * @param {String} projectOrProductUID
1248
1235
  * @param {Object} opts Optional parameters
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.
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
1256
1243
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1257
1244
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1258
1245
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
@@ -1290,17 +1277,16 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1290
1277
  }
1291
1278
 
1292
1279
  /**
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.
1280
+ * Get Available Firmware Information
1295
1281
  * @param {String} projectOrProductUID
1296
1282
  * @param {Object} opts Optional parameters
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.
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
1304
1290
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1305
1291
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1306
1292
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
@@ -1834,11 +1820,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1834
1820
  }
1835
1821
 
1836
1822
  /**
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.
1823
+ * Update/cancel host or notecard firmware updates
1839
1824
  * @param {String} projectOrProductUID
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
1825
+ * @param {module:model/String} firmwareType
1826
+ * @param {module:model/String} action
1842
1827
  * @param {Object} opts Optional parameters
1843
1828
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1844
1829
  * @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`.
@@ -1895,11 +1880,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1895
1880
  }
1896
1881
 
1897
1882
  /**
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.
1883
+ * Update/cancel host or notecard firmware updates
1900
1884
  * @param {String} projectOrProductUID
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
1885
+ * @param {module:model/String} firmwareType
1886
+ * @param {module:model/String} action
1903
1887
  * @param {Object} opts Optional parameters
1904
1888
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1905
1889
  * @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`.
@@ -2063,8 +2047,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2063
2047
  }
2064
2048
 
2065
2049
  /**
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.
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.
2068
2051
  * @param {String} projectOrProductUID
2069
2052
  * @param {module:model/String} firmwareType
2070
2053
  * @param {String} filename
@@ -2107,8 +2090,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2107
2090
  }
2108
2091
 
2109
2092
  /**
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.
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.
2112
2094
  * @param {String} projectOrProductUID
2113
2095
  * @param {module:model/String} firmwareType
2114
2096
  * @param {String} filename
@@ -2228,10 +2210,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2228
2210
  }
2229
2211
 
2230
2212
  /**
2231
- * Upload firmware
2232
- * Upload a host or Notecard firmware binary. Notehub adds a `$YYYYMMDDHHMMSS` 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. A file that's too large (host 1.5 MB, Notecard 1 MB) or of the wrong type returns 500.
2213
+ * Upload firmware binary
2233
2214
  * @param {String} projectOrProductUID
2234
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2215
+ * @param {module:model/String} firmwareType
2235
2216
  * @param {String} filename
2236
2217
  * @param {File} body contents of the firmware binary
2237
2218
  * @param {Object} opts Optional parameters
@@ -2279,10 +2260,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2279
2260
  }
2280
2261
 
2281
2262
  /**
2282
- * Upload firmware
2283
- * Upload a host or Notecard firmware binary. Notehub adds a `$YYYYMMDDHHMMSS` 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. A file that's too large (host 1.5 MB, Notecard 1 MB) or of the wrong type returns 500.
2263
+ * Upload firmware binary
2284
2264
  * @param {String} projectOrProductUID
2285
- * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2265
+ * @param {module:model/String} firmwareType
2286
2266
  * @param {String} filename
2287
2267
  * @param {File} body contents of the firmware binary
2288
2268
  * @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.48
33
+ * @version 6.7.0-beta.49
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.48
34
+ * @version 6.7.0-beta.49
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.48
35
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
34
+ * @version 6.7.0-beta.49
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.48
29
+ * @version 6.7.0-beta.49
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.48
29
+ * @version 6.7.0-beta.49
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.48
29
+ * @version 6.7.0-beta.49
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.48
31
+ * @version 6.7.0-beta.49
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.48
31
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
33
+ * @version 6.7.0-beta.49
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.48
33
+ * @version 6.7.0-beta.49
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.48
31
+ * @version 6.7.0-beta.49
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.48
29
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
30
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
29
+ * @version 6.7.0-beta.49
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.48
30
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
34
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
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.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var CreateProjectRequest = /*#__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 CreateProjectSecretRequest model module.
31
31
  * @module model/CreateProjectSecretRequest
32
- * @version 6.7.0-beta.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var CreateProjectSecretRequest = /*#__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 CreateUpdateRepository model module.
28
28
  * @module model/CreateUpdateRepository
29
- * @version 6.7.0-beta.48
29
+ * @version 6.7.0-beta.49
30
30
  */
31
31
  var CreateUpdateRepository = /*#__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 CreatedRepository model module.
28
28
  * @module model/CreatedRepository
29
- * @version 6.7.0-beta.48
29
+ * @version 6.7.0-beta.49
30
30
  */
31
31
  var CreatedRepository = /*#__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 CurrentFirmware model module.
29
29
  * @module model/CurrentFirmware
30
- * @version 6.7.0-beta.48
30
+ * @version 6.7.0-beta.49
31
31
  */
32
32
  var CurrentFirmware = /*#__PURE__*/function () {
33
33
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The DFUEnv model module.
29
29
  * @module model/DFUEnv
30
- * @version 6.7.0-beta.48
30
+ * @version 6.7.0-beta.49
31
31
  */
32
32
  var DFUEnv = /*#__PURE__*/function () {
33
33
  /**