@blues-inc/notehub-js 6.7.0-beta.62 → 6.7.0-beta.63
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.
- package/README.md +20 -20
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +51 -45
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +51 -71
- package/dist/api/RouteApi.js +47 -35
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -2
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +2 -2
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +1 -1
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +1 -1
- package/dist/model/SkillSummary.js +1 -1
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
package/dist/api/ProjectApi.js
CHANGED
|
@@ -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.
|
|
59
|
+
* @version 6.7.0-beta.63
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
1250
|
-
* @param {String} opts.firmwareType
|
|
1251
|
-
* @param {String} opts.version
|
|
1252
|
-
* @param {String} opts.target
|
|
1253
|
-
* @param {String} opts.filename
|
|
1254
|
-
* @param {String} opts.md5
|
|
1255
|
-
* @param {Boolean} opts.unpublished
|
|
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
|
-
*
|
|
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
|
|
1298
|
-
* @param {String} opts.firmwareType
|
|
1299
|
-
* @param {String} opts.version
|
|
1300
|
-
* @param {String} opts.target
|
|
1301
|
-
* @param {String} opts.filename
|
|
1302
|
-
* @param {String} opts.md5
|
|
1303
|
-
* @param {Boolean} opts.unpublished
|
|
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
|
-
*
|
|
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
|
|
1841
|
-
* @param {module:model/String} action
|
|
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
|
-
*
|
|
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
|
|
1902
|
-
* @param {module:model/String} action
|
|
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
|
|
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
|
|
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 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.
|
|
2213
|
+
* Upload firmware binary
|
|
2233
2214
|
* @param {String} projectOrProductUID
|
|
2234
|
-
* @param {module:model/String} firmwareType
|
|
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 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.
|
|
2263
|
+
* Upload firmware binary
|
|
2284
2264
|
* @param {String} projectOrProductUID
|
|
2285
|
-
* @param {module:model/String} firmwareType
|
|
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
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -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.
|
|
33
|
+
* @version 6.7.0-beta.63
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -46,7 +46,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Create
|
|
49
|
+
* Create a route
|
|
50
|
+
* Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events. Unknown FleetUIDs are ignored, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
|
|
50
51
|
* @param {String} projectOrProductUID
|
|
51
52
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
52
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
@@ -77,7 +78,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
/**
|
|
80
|
-
* Create
|
|
81
|
+
* Create a route
|
|
82
|
+
* Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events. Unknown FleetUIDs are ignored, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
|
|
81
83
|
* @param {String} projectOrProductUID
|
|
82
84
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
83
85
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
@@ -91,9 +93,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
/**
|
|
94
|
-
* Delete
|
|
96
|
+
* Delete a route
|
|
97
|
+
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
95
98
|
* @param {String} projectOrProductUID
|
|
96
|
-
* @param {String} routeUID
|
|
99
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
97
100
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
98
101
|
*/
|
|
99
102
|
}, {
|
|
@@ -123,9 +126,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
/**
|
|
126
|
-
* Delete
|
|
129
|
+
* Delete a route
|
|
130
|
+
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
127
131
|
* @param {String} projectOrProductUID
|
|
128
|
-
* @param {String} routeUID
|
|
132
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
129
133
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
130
134
|
*/
|
|
131
135
|
}, {
|
|
@@ -137,9 +141,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
/**
|
|
140
|
-
* Get
|
|
144
|
+
* Get a route
|
|
145
|
+
* Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
|
|
141
146
|
* @param {String} projectOrProductUID
|
|
142
|
-
* @param {String} routeUID
|
|
147
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
143
148
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
144
149
|
*/
|
|
145
150
|
}, {
|
|
@@ -169,9 +174,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
/**
|
|
172
|
-
* Get
|
|
177
|
+
* Get a route
|
|
178
|
+
* Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
|
|
173
179
|
* @param {String} projectOrProductUID
|
|
174
|
-
* @param {String} routeUID
|
|
180
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
175
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
176
182
|
*/
|
|
177
183
|
}, {
|
|
@@ -183,23 +189,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
183
189
|
}
|
|
184
190
|
|
|
185
191
|
/**
|
|
186
|
-
*
|
|
192
|
+
* List a route's logs
|
|
193
|
+
* List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
|
|
187
194
|
* @param {String} projectOrProductUID
|
|
188
|
-
* @param {String} routeUID
|
|
195
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
189
196
|
* @param {Object} opts Optional parameters
|
|
190
197
|
* @param {Number} opts.pageSize (default to 1000)
|
|
191
198
|
* @param {Number} opts.pageNum (default to 1)
|
|
192
199
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
193
200
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
194
|
-
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
195
|
-
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
201
|
+
* @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
|
|
202
|
+
* @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
|
|
196
203
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
197
204
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
198
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
199
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
200
|
-
* @param {String} opts.files
|
|
201
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
202
|
-
* @param {Array.<String>} opts.responseStatus
|
|
205
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
206
|
+
* @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
|
|
207
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
208
|
+
* @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
|
|
209
|
+
* @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
|
|
203
210
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
204
211
|
*/
|
|
205
212
|
}, {
|
|
@@ -244,23 +251,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
251
|
}
|
|
245
252
|
|
|
246
253
|
/**
|
|
247
|
-
*
|
|
254
|
+
* List a route's logs
|
|
255
|
+
* List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
|
|
248
256
|
* @param {String} projectOrProductUID
|
|
249
|
-
* @param {String} routeUID
|
|
257
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
250
258
|
* @param {Object} opts Optional parameters
|
|
251
259
|
* @param {Number} opts.pageSize (default to 1000)
|
|
252
260
|
* @param {Number} opts.pageNum (default to 1)
|
|
253
261
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
254
262
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
255
|
-
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
256
|
-
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
263
|
+
* @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
|
|
264
|
+
* @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
|
|
257
265
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
258
266
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
259
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
260
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
261
|
-
* @param {String} opts.files
|
|
262
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
263
|
-
* @param {Array.<String>} opts.responseStatus
|
|
267
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
268
|
+
* @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
|
|
269
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
270
|
+
* @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
|
|
271
|
+
* @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
|
|
264
272
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
265
273
|
*/
|
|
266
274
|
}, {
|
|
@@ -272,7 +280,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
272
280
|
}
|
|
273
281
|
|
|
274
282
|
/**
|
|
275
|
-
*
|
|
283
|
+
* List routes
|
|
284
|
+
* List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
|
|
276
285
|
* @param {String} projectOrProductUID
|
|
277
286
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotehubRouteSummary>} and HTTP response
|
|
278
287
|
*/
|
|
@@ -298,7 +307,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
298
307
|
}
|
|
299
308
|
|
|
300
309
|
/**
|
|
301
|
-
*
|
|
310
|
+
* List routes
|
|
311
|
+
* List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
|
|
302
312
|
* @param {String} projectOrProductUID
|
|
303
313
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotehubRouteSummary>}
|
|
304
314
|
*/
|
|
@@ -311,9 +321,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
311
321
|
}
|
|
312
322
|
|
|
313
323
|
/**
|
|
314
|
-
* Update route
|
|
324
|
+
* Update a route
|
|
325
|
+
* Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, and 400 for invalid settings.
|
|
315
326
|
* @param {String} projectOrProductUID
|
|
316
|
-
* @param {String} routeUID
|
|
327
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
317
328
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
318
329
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
319
330
|
*/
|
|
@@ -348,9 +359,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
348
359
|
}
|
|
349
360
|
|
|
350
361
|
/**
|
|
351
|
-
* Update route
|
|
362
|
+
* Update a route
|
|
363
|
+
* Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, and 400 for invalid settings.
|
|
352
364
|
* @param {String} projectOrProductUID
|
|
353
|
-
* @param {String} routeUID
|
|
365
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
354
366
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
355
367
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
356
368
|
*/
|
package/dist/api/SkillsApi.js
CHANGED
|
@@ -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.
|
|
34
|
+
* @version 6.7.0-beta.63
|
|
35
35
|
*/
|
|
36
36
|
var SkillsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/UsageApi.js
CHANGED
|
@@ -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.
|
|
35
|
+
* @version 6.7.0-beta.63
|
|
36
36
|
*/
|
|
37
37
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/WebhookApi.js
CHANGED
|
@@ -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.
|
|
32
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
32
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
32
|
+
* @version 6.7.0-beta.63
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Alert.js
CHANGED
|
@@ -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.
|
|
29
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
29
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
29
|
+
* @version 6.7.0-beta.63
|
|
30
30
|
*/
|
|
31
31
|
var ArchiveStats = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/AwsRoute.js
CHANGED
|
@@ -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.
|
|
31
|
+
* @version 6.7.0-beta.63
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/AzureRoute.js
CHANGED
|
@@ -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.
|
|
31
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
32
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
33
|
+
* @version 6.7.0-beta.63
|
|
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.
|
|
33
|
+
* @version 6.7.0-beta.63
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/BlynkRoute.js
CHANGED
|
@@ -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.
|
|
31
|
+
* @version 6.7.0-beta.63
|
|
32
32
|
*/
|
|
33
33
|
var BlynkRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|