@blues-inc/notehub-js 6.7.0-beta.63 → 6.7.0-beta.64
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 +45 -51
- 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 +73 -53
- package/dist/api/RouteApi.js +35 -47
- 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 +2 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +2 -1
- 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 +3 -7
- package/dist/model/NotehubRouteSummary.js +1 -6
- 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.64
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|
|
@@ -393,7 +393,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
|
-
* Delete
|
|
396
|
+
* Delete host firmware
|
|
397
|
+
* Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
|
|
397
398
|
* @param {String} projectOrProductUID
|
|
398
399
|
* @param {module:model/String} firmwareType
|
|
399
400
|
* @param {String} filename
|
|
@@ -431,7 +432,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
431
432
|
}
|
|
432
433
|
|
|
433
434
|
/**
|
|
434
|
-
* Delete
|
|
435
|
+
* Delete host firmware
|
|
436
|
+
* Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
|
|
435
437
|
* @param {String} projectOrProductUID
|
|
436
438
|
* @param {module:model/String} firmwareType
|
|
437
439
|
* @param {String} filename
|
|
@@ -761,9 +763,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
761
763
|
}
|
|
762
764
|
|
|
763
765
|
/**
|
|
764
|
-
* Download firmware
|
|
766
|
+
* Download host firmware
|
|
767
|
+
* Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
|
|
765
768
|
* @param {String} projectOrProductUID
|
|
766
|
-
* @param {module:model/String} firmwareType
|
|
769
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
767
770
|
* @param {String} filename
|
|
768
771
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
769
772
|
*/
|
|
@@ -799,9 +802,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
799
802
|
}
|
|
800
803
|
|
|
801
804
|
/**
|
|
802
|
-
* Download firmware
|
|
805
|
+
* Download host firmware
|
|
806
|
+
* Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
|
|
803
807
|
* @param {String} projectOrProductUID
|
|
804
|
-
* @param {module:model/String} firmwareType
|
|
808
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
805
809
|
* @param {String} filename
|
|
806
810
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
807
811
|
*/
|
|
@@ -894,10 +898,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
894
898
|
}
|
|
895
899
|
|
|
896
900
|
/**
|
|
897
|
-
* Get device
|
|
901
|
+
* Get a device's firmware update history
|
|
902
|
+
* Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
|
|
898
903
|
* @param {String} projectOrProductUID
|
|
899
904
|
* @param {String} deviceUID
|
|
900
|
-
* @param {module:model/String} firmwareType
|
|
905
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
901
906
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
|
|
902
907
|
*/
|
|
903
908
|
}, {
|
|
@@ -932,10 +937,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
932
937
|
}
|
|
933
938
|
|
|
934
939
|
/**
|
|
935
|
-
* Get device
|
|
940
|
+
* Get a device's firmware update history
|
|
941
|
+
* Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
|
|
936
942
|
* @param {String} projectOrProductUID
|
|
937
943
|
* @param {String} deviceUID
|
|
938
|
-
* @param {module:model/String} firmwareType
|
|
944
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
939
945
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
|
|
940
946
|
*/
|
|
941
947
|
}, {
|
|
@@ -947,10 +953,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
947
953
|
}
|
|
948
954
|
|
|
949
955
|
/**
|
|
950
|
-
* Get device
|
|
956
|
+
* Get a device's firmware update status
|
|
957
|
+
* Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
|
|
951
958
|
* @param {String} projectOrProductUID
|
|
952
959
|
* @param {String} deviceUID
|
|
953
|
-
* @param {module:model/String} firmwareType
|
|
960
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
954
961
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
|
|
955
962
|
*/
|
|
956
963
|
}, {
|
|
@@ -985,10 +992,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
985
992
|
}
|
|
986
993
|
|
|
987
994
|
/**
|
|
988
|
-
* Get device
|
|
995
|
+
* Get a device's firmware update status
|
|
996
|
+
* Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
|
|
989
997
|
* @param {String} projectOrProductUID
|
|
990
998
|
* @param {String} deviceUID
|
|
991
|
-
* @param {module:model/String} firmwareType
|
|
999
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
992
1000
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
|
|
993
1001
|
*/
|
|
994
1002
|
}, {
|
|
@@ -1046,9 +1054,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1046
1054
|
}
|
|
1047
1055
|
|
|
1048
1056
|
/**
|
|
1049
|
-
*
|
|
1057
|
+
* List devices' firmware update history
|
|
1058
|
+
* List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
|
|
1050
1059
|
* @param {String} projectOrProductUID
|
|
1051
|
-
* @param {module:model/String} firmwareType
|
|
1060
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1052
1061
|
* @param {Object} opts Optional parameters
|
|
1053
1062
|
* @param {Number} opts.pageSize (default to 1000)
|
|
1054
1063
|
* @param {Number} opts.pageNum (default to 1)
|
|
@@ -1109,9 +1118,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1109
1118
|
}
|
|
1110
1119
|
|
|
1111
1120
|
/**
|
|
1112
|
-
*
|
|
1121
|
+
* List devices' firmware update history
|
|
1122
|
+
* List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
|
|
1113
1123
|
* @param {String} projectOrProductUID
|
|
1114
|
-
* @param {module:model/String} firmwareType
|
|
1124
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1115
1125
|
* @param {Object} opts Optional parameters
|
|
1116
1126
|
* @param {Number} opts.pageSize (default to 1000)
|
|
1117
1127
|
* @param {Number} opts.pageNum (default to 1)
|
|
@@ -1138,9 +1148,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1138
1148
|
}
|
|
1139
1149
|
|
|
1140
1150
|
/**
|
|
1141
|
-
*
|
|
1151
|
+
* List devices' firmware status
|
|
1152
|
+
* List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
|
|
1142
1153
|
* @param {String} projectOrProductUID
|
|
1143
|
-
* @param {module:model/String} firmwareType
|
|
1154
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1144
1155
|
* @param {Object} opts Optional parameters
|
|
1145
1156
|
* @param {Number} opts.pageSize (default to 1000)
|
|
1146
1157
|
* @param {Number} opts.pageNum (default to 1)
|
|
@@ -1201,9 +1212,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1201
1212
|
}
|
|
1202
1213
|
|
|
1203
1214
|
/**
|
|
1204
|
-
*
|
|
1215
|
+
* List devices' firmware status
|
|
1216
|
+
* List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
|
|
1205
1217
|
* @param {String} projectOrProductUID
|
|
1206
|
-
* @param {module:model/String} firmwareType
|
|
1218
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1207
1219
|
* @param {Object} opts Optional parameters
|
|
1208
1220
|
* @param {Number} opts.pageSize (default to 1000)
|
|
1209
1221
|
* @param {Number} opts.pageNum (default to 1)
|
|
@@ -1230,16 +1242,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1230
1242
|
}
|
|
1231
1243
|
|
|
1232
1244
|
/**
|
|
1233
|
-
*
|
|
1245
|
+
* List firmware
|
|
1246
|
+
* List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
|
|
1234
1247
|
* @param {String} projectOrProductUID
|
|
1235
1248
|
* @param {Object} opts Optional parameters
|
|
1236
|
-
* @param {String} opts.product
|
|
1237
|
-
* @param {String} opts.firmwareType
|
|
1238
|
-
* @param {String} opts.version
|
|
1239
|
-
* @param {String} opts.target
|
|
1240
|
-
* @param {String} opts.filename
|
|
1241
|
-
* @param {String} opts.md5
|
|
1242
|
-
* @param {Boolean} opts.unpublished
|
|
1249
|
+
* @param {String} opts.product Only firmware whose product contains this text.
|
|
1250
|
+
* @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
|
|
1251
|
+
* @param {String} opts.version Only firmware whose version contains this text.
|
|
1252
|
+
* @param {String} opts.target Only firmware whose target contains this text.
|
|
1253
|
+
* @param {String} opts.filename Only firmware whose stored filename contains this text.
|
|
1254
|
+
* @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
|
|
1255
|
+
* @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
|
|
1243
1256
|
* @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
|
|
1244
1257
|
* @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
|
|
1245
1258
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
|
|
@@ -1277,16 +1290,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1277
1290
|
}
|
|
1278
1291
|
|
|
1279
1292
|
/**
|
|
1280
|
-
*
|
|
1293
|
+
* List firmware
|
|
1294
|
+
* List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
|
|
1281
1295
|
* @param {String} projectOrProductUID
|
|
1282
1296
|
* @param {Object} opts Optional parameters
|
|
1283
|
-
* @param {String} opts.product
|
|
1284
|
-
* @param {String} opts.firmwareType
|
|
1285
|
-
* @param {String} opts.version
|
|
1286
|
-
* @param {String} opts.target
|
|
1287
|
-
* @param {String} opts.filename
|
|
1288
|
-
* @param {String} opts.md5
|
|
1289
|
-
* @param {Boolean} opts.unpublished
|
|
1297
|
+
* @param {String} opts.product Only firmware whose product contains this text.
|
|
1298
|
+
* @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
|
|
1299
|
+
* @param {String} opts.version Only firmware whose version contains this text.
|
|
1300
|
+
* @param {String} opts.target Only firmware whose target contains this text.
|
|
1301
|
+
* @param {String} opts.filename Only firmware whose stored filename contains this text.
|
|
1302
|
+
* @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
|
|
1303
|
+
* @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
|
|
1290
1304
|
* @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
|
|
1291
1305
|
* @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
|
|
1292
1306
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
|
|
@@ -1820,10 +1834,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1820
1834
|
}
|
|
1821
1835
|
|
|
1822
1836
|
/**
|
|
1823
|
-
*
|
|
1837
|
+
* Start or cancel firmware updates
|
|
1838
|
+
* Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
|
|
1824
1839
|
* @param {String} projectOrProductUID
|
|
1825
|
-
* @param {module:model/String} firmwareType
|
|
1826
|
-
* @param {module:model/String} action
|
|
1840
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1841
|
+
* @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
|
|
1827
1842
|
* @param {Object} opts Optional parameters
|
|
1828
1843
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
1829
1844
|
* @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
|
|
@@ -1880,10 +1895,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1880
1895
|
}
|
|
1881
1896
|
|
|
1882
1897
|
/**
|
|
1883
|
-
*
|
|
1898
|
+
* Start or cancel firmware updates
|
|
1899
|
+
* Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
|
|
1884
1900
|
* @param {String} projectOrProductUID
|
|
1885
|
-
* @param {module:model/String} firmwareType
|
|
1886
|
-
* @param {module:model/String} action
|
|
1901
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
1902
|
+
* @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
|
|
1887
1903
|
* @param {Object} opts Optional parameters
|
|
1888
1904
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
1889
1905
|
* @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
|
|
@@ -2047,7 +2063,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2047
2063
|
}
|
|
2048
2064
|
|
|
2049
2065
|
/**
|
|
2050
|
-
* Update
|
|
2066
|
+
* Update host firmware metadata
|
|
2067
|
+
* Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
|
|
2051
2068
|
* @param {String} projectOrProductUID
|
|
2052
2069
|
* @param {module:model/String} firmwareType
|
|
2053
2070
|
* @param {String} filename
|
|
@@ -2090,7 +2107,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2090
2107
|
}
|
|
2091
2108
|
|
|
2092
2109
|
/**
|
|
2093
|
-
* Update
|
|
2110
|
+
* Update host firmware metadata
|
|
2111
|
+
* Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
|
|
2094
2112
|
* @param {String} projectOrProductUID
|
|
2095
2113
|
* @param {module:model/String} firmwareType
|
|
2096
2114
|
* @param {String} filename
|
|
@@ -2210,10 +2228,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2210
2228
|
}
|
|
2211
2229
|
|
|
2212
2230
|
/**
|
|
2213
|
-
* Upload firmware
|
|
2231
|
+
* Upload firmware
|
|
2232
|
+
* Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
|
|
2214
2233
|
* @param {String} projectOrProductUID
|
|
2215
|
-
* @param {module:model/String} firmwareType
|
|
2216
|
-
* @param {String} filename
|
|
2234
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
2235
|
+
* @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
|
|
2217
2236
|
* @param {File} body contents of the firmware binary
|
|
2218
2237
|
* @param {Object} opts Optional parameters
|
|
2219
2238
|
* @param {String} opts.version Firmware version (optional). If not provided, the version will be extracted from firmware binary if available, otherwise left empty
|
|
@@ -2260,10 +2279,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
2260
2279
|
}
|
|
2261
2280
|
|
|
2262
2281
|
/**
|
|
2263
|
-
* Upload firmware
|
|
2282
|
+
* Upload firmware
|
|
2283
|
+
* Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
|
|
2264
2284
|
* @param {String} projectOrProductUID
|
|
2265
|
-
* @param {module:model/String} firmwareType
|
|
2266
|
-
* @param {String} filename
|
|
2285
|
+
* @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
|
|
2286
|
+
* @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
|
|
2267
2287
|
* @param {File} body contents of the firmware binary
|
|
2268
2288
|
* @param {Object} opts Optional parameters
|
|
2269
2289
|
* @param {String} opts.version Firmware version (optional). If not provided, the version will be extracted from firmware binary if available, otherwise left empty
|
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.64
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -46,8 +46,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Create a
|
|
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.
|
|
49
|
+
* Create Route within a Project
|
|
51
50
|
* @param {String} projectOrProductUID
|
|
52
51
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
53
52
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
@@ -78,8 +77,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
/**
|
|
81
|
-
* Create a
|
|
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.
|
|
80
|
+
* Create Route within a Project
|
|
83
81
|
* @param {String} projectOrProductUID
|
|
84
82
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
85
83
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
@@ -93,10 +91,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
/**
|
|
96
|
-
* Delete a
|
|
97
|
-
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
94
|
+
* Delete single route within a project
|
|
98
95
|
* @param {String} projectOrProductUID
|
|
99
|
-
* @param {String} routeUID
|
|
96
|
+
* @param {String} routeUID
|
|
100
97
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
101
98
|
*/
|
|
102
99
|
}, {
|
|
@@ -126,10 +123,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
126
123
|
}
|
|
127
124
|
|
|
128
125
|
/**
|
|
129
|
-
* Delete a
|
|
130
|
-
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
126
|
+
* Delete single route within a project
|
|
131
127
|
* @param {String} projectOrProductUID
|
|
132
|
-
* @param {String} routeUID
|
|
128
|
+
* @param {String} routeUID
|
|
133
129
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
134
130
|
*/
|
|
135
131
|
}, {
|
|
@@ -141,10 +137,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
141
137
|
}
|
|
142
138
|
|
|
143
139
|
/**
|
|
144
|
-
* Get a
|
|
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.
|
|
140
|
+
* Get single route within a project
|
|
146
141
|
* @param {String} projectOrProductUID
|
|
147
|
-
* @param {String} routeUID
|
|
142
|
+
* @param {String} routeUID
|
|
148
143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
149
144
|
*/
|
|
150
145
|
}, {
|
|
@@ -174,10 +169,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
174
169
|
}
|
|
175
170
|
|
|
176
171
|
/**
|
|
177
|
-
* Get a
|
|
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.
|
|
172
|
+
* Get single route within a project
|
|
179
173
|
* @param {String} projectOrProductUID
|
|
180
|
-
* @param {String} routeUID
|
|
174
|
+
* @param {String} routeUID
|
|
181
175
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
182
176
|
*/
|
|
183
177
|
}, {
|
|
@@ -189,24 +183,23 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
183
|
}
|
|
190
184
|
|
|
191
185
|
/**
|
|
192
|
-
*
|
|
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.
|
|
186
|
+
* Get Route Logs by RouteUID
|
|
194
187
|
* @param {String} projectOrProductUID
|
|
195
|
-
* @param {String} routeUID
|
|
188
|
+
* @param {String} routeUID
|
|
196
189
|
* @param {Object} opts Optional parameters
|
|
197
190
|
* @param {Number} opts.pageSize (default to 1000)
|
|
198
191
|
* @param {Number} opts.pageNum (default to 1)
|
|
199
192
|
* @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).
|
|
200
193
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
201
|
-
* @param {module:model/String} opts.sortBy
|
|
202
|
-
* @param {module:model/String} opts.sortOrder
|
|
194
|
+
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
195
|
+
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
203
196
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
204
197
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
205
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
206
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
207
|
-
* @param {String} opts.files
|
|
208
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
209
|
-
* @param {Array.<String>} opts.responseStatus
|
|
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
|
|
210
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
211
204
|
*/
|
|
212
205
|
}, {
|
|
@@ -251,24 +244,23 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
251
244
|
}
|
|
252
245
|
|
|
253
246
|
/**
|
|
254
|
-
*
|
|
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.
|
|
247
|
+
* Get Route Logs by RouteUID
|
|
256
248
|
* @param {String} projectOrProductUID
|
|
257
|
-
* @param {String} routeUID
|
|
249
|
+
* @param {String} routeUID
|
|
258
250
|
* @param {Object} opts Optional parameters
|
|
259
251
|
* @param {Number} opts.pageSize (default to 1000)
|
|
260
252
|
* @param {Number} opts.pageNum (default to 1)
|
|
261
253
|
* @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).
|
|
262
254
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
263
|
-
* @param {module:model/String} opts.sortBy
|
|
264
|
-
* @param {module:model/String} opts.sortOrder
|
|
255
|
+
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
256
|
+
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
265
257
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
266
258
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
267
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
268
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
269
|
-
* @param {String} opts.files
|
|
270
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
271
|
-
* @param {Array.<String>} opts.responseStatus
|
|
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
|
|
272
264
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
273
265
|
*/
|
|
274
266
|
}, {
|
|
@@ -280,8 +272,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
280
272
|
}
|
|
281
273
|
|
|
282
274
|
/**
|
|
283
|
-
*
|
|
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`.
|
|
275
|
+
* Get all Routes within a Project
|
|
285
276
|
* @param {String} projectOrProductUID
|
|
286
277
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotehubRouteSummary>} and HTTP response
|
|
287
278
|
*/
|
|
@@ -307,8 +298,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
307
298
|
}
|
|
308
299
|
|
|
309
300
|
/**
|
|
310
|
-
*
|
|
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`.
|
|
301
|
+
* Get all Routes within a Project
|
|
312
302
|
* @param {String} projectOrProductUID
|
|
313
303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotehubRouteSummary>}
|
|
314
304
|
*/
|
|
@@ -321,10 +311,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
321
311
|
}
|
|
322
312
|
|
|
323
313
|
/**
|
|
324
|
-
* Update
|
|
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.
|
|
314
|
+
* Update route by UID
|
|
326
315
|
* @param {String} projectOrProductUID
|
|
327
|
-
* @param {String} routeUID
|
|
316
|
+
* @param {String} routeUID
|
|
328
317
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
329
318
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
330
319
|
*/
|
|
@@ -359,10 +348,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
359
348
|
}
|
|
360
349
|
|
|
361
350
|
/**
|
|
362
|
-
* Update
|
|
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.
|
|
351
|
+
* Update route by UID
|
|
364
352
|
* @param {String} projectOrProductUID
|
|
365
|
-
* @param {String} routeUID
|
|
353
|
+
* @param {String} routeUID
|
|
366
354
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
367
355
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
368
356
|
*/
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
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.64
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|