@blues-inc/notehub-js 6.7.0-beta.50 → 6.7.0-beta.51
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 +32 -32
- 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 +147 -145
- package/dist/api/EventApi.js +1 -1
- 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 +1 -1
- package/dist/api/RouteApi.js +1 -1
- 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 +2 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +3 -2
- 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 +2 -2
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +27 -8
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- 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 +6 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/model/GetDevicePlans200Response.js +2 -1
- package/dist/model/GetDevicePublicKey200Response.js +5 -3
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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 +7 -4
- 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 +13 -7
- 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 +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -2
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -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 +5 -5
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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/DeviceApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
48
48
|
/**
|
|
49
49
|
* Device service.
|
|
50
50
|
* @module api/DeviceApi
|
|
51
|
-
* @version 6.7.0-beta.
|
|
51
|
+
* @version 6.7.0-beta.51
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
|
@@ -64,12 +64,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Add a
|
|
68
|
-
* Add a note with the given ID to a database notefile on a device, synced to the Notecard on its next sync. To change an existing note, use `UpdateDbNote`; to queue a note in a `.qi` notefile, use `AddQiNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
67
|
+
* Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
|
|
69
68
|
* @param {String} projectOrProductUID
|
|
70
69
|
* @param {String} deviceUID
|
|
71
|
-
* @param {String} notefileID
|
|
72
|
-
* @param {String} noteID
|
|
70
|
+
* @param {String} notefileID
|
|
71
|
+
* @param {String} noteID
|
|
73
72
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
74
73
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
75
74
|
*/
|
|
@@ -114,12 +113,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
/**
|
|
117
|
-
* Add a
|
|
118
|
-
* Add a note with the given ID to a database notefile on a device, synced to the Notecard on its next sync. To change an existing note, use `UpdateDbNote`; to queue a note in a `.qi` notefile, use `AddQiNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
116
|
+
* Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
|
|
119
117
|
* @param {String} projectOrProductUID
|
|
120
118
|
* @param {String} deviceUID
|
|
121
|
-
* @param {String} notefileID
|
|
122
|
-
* @param {String} noteID
|
|
119
|
+
* @param {String} notefileID
|
|
120
|
+
* @param {String} noteID
|
|
123
121
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
124
122
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
125
123
|
*/
|
|
@@ -132,11 +130,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
132
130
|
}
|
|
133
131
|
|
|
134
132
|
/**
|
|
135
|
-
*
|
|
136
|
-
* Add a note to an inbound queue (`.qi`) notefile on a device, creating the notefile if needed. The Notecard receives it on its next sync. For a `.db` notefile, use `AddDbNote`; to reach a connected Notecard immediately, use `SignalDevice`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.qi` or `.qis`, or if `payload` isn't valid base64.
|
|
133
|
+
* Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
|
|
137
134
|
* @param {String} projectOrProductUID
|
|
138
135
|
* @param {String} deviceUID
|
|
139
|
-
* @param {String} notefileID
|
|
136
|
+
* @param {String} notefileID
|
|
140
137
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
141
138
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
142
139
|
*/
|
|
@@ -176,11 +173,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
176
173
|
}
|
|
177
174
|
|
|
178
175
|
/**
|
|
179
|
-
*
|
|
180
|
-
* Add a note to an inbound queue (`.qi`) notefile on a device, creating the notefile if needed. The Notecard receives it on its next sync. For a `.db` notefile, use `AddDbNote`; to reach a connected Notecard immediately, use `SignalDevice`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.qi` or `.qis`, or if `payload` isn't valid base64.
|
|
176
|
+
* Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
|
|
181
177
|
* @param {String} projectOrProductUID
|
|
182
178
|
* @param {String} deviceUID
|
|
183
|
-
* @param {String} notefileID
|
|
179
|
+
* @param {String} notefileID
|
|
184
180
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
185
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
186
182
|
*/
|
|
@@ -193,11 +189,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
193
189
|
}
|
|
194
190
|
|
|
195
191
|
/**
|
|
196
|
-
*
|
|
197
|
-
* Create an empty notefile on a device. `AddQiNote` creates a notefile when needed, so this is only required for an empty one. Requires the Owner or Developer role. Returns 400 if the notefile already exists.
|
|
192
|
+
* Creates an empty Notefile on the device.
|
|
198
193
|
* @param {String} projectOrProductUID
|
|
199
194
|
* @param {String} deviceUID
|
|
200
|
-
* @param {String} notefileID
|
|
195
|
+
* @param {String} notefileID
|
|
201
196
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
202
197
|
*/
|
|
203
198
|
}, {
|
|
@@ -232,11 +227,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
232
227
|
}
|
|
233
228
|
|
|
234
229
|
/**
|
|
235
|
-
*
|
|
236
|
-
* Create an empty notefile on a device. `AddQiNote` creates a notefile when needed, so this is only required for an empty one. Requires the Owner or Developer role. Returns 400 if the notefile already exists.
|
|
230
|
+
* Creates an empty Notefile on the device.
|
|
237
231
|
* @param {String} projectOrProductUID
|
|
238
232
|
* @param {String} deviceUID
|
|
239
|
-
* @param {String} notefileID
|
|
233
|
+
* @param {String} notefileID
|
|
240
234
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
241
235
|
*/
|
|
242
236
|
}, {
|
|
@@ -248,7 +242,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
248
242
|
}
|
|
249
243
|
|
|
250
244
|
/**
|
|
251
|
-
* Delete
|
|
245
|
+
* Delete a device
|
|
246
|
+
* Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
|
|
252
247
|
* @param {String} projectOrProductUID
|
|
253
248
|
* @param {String} deviceUID
|
|
254
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -280,7 +275,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
280
275
|
}
|
|
281
276
|
|
|
282
277
|
/**
|
|
283
|
-
* Delete
|
|
278
|
+
* Delete a device
|
|
279
|
+
* Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
|
|
284
280
|
* @param {String} projectOrProductUID
|
|
285
281
|
* @param {String} deviceUID
|
|
286
282
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -294,8 +290,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
294
290
|
}
|
|
295
291
|
|
|
296
292
|
/**
|
|
297
|
-
* Delete a device
|
|
298
|
-
* Delete one device environment variable and return the ones left. Fleet and project variables with the same name then apply. Deleting a variable that doesn't exist succeeds. Requires the Owner or Developer role.
|
|
293
|
+
* Delete environment variable of a device
|
|
299
294
|
* @param {String} projectOrProductUID
|
|
300
295
|
* @param {String} deviceUID
|
|
301
296
|
* @param {String} key The environment variable key to delete.
|
|
@@ -333,8 +328,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
333
328
|
}
|
|
334
329
|
|
|
335
330
|
/**
|
|
336
|
-
* Delete a device
|
|
337
|
-
* Delete one device environment variable and return the ones left. Fleet and project variables with the same name then apply. Deleting a variable that doesn't exist succeeds. Requires the Owner or Developer role.
|
|
331
|
+
* Delete environment variable of a device
|
|
338
332
|
* @param {String} projectOrProductUID
|
|
339
333
|
* @param {String} deviceUID
|
|
340
334
|
* @param {String} key The environment variable key to delete.
|
|
@@ -349,12 +343,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
349
343
|
}
|
|
350
344
|
|
|
351
345
|
/**
|
|
352
|
-
* Delete a note
|
|
353
|
-
* Delete one note from a notefile on a device. To delete whole notefiles, use `DeleteNotefiles`. Requires the Owner or Developer role.
|
|
346
|
+
* Delete a note from a .db or .qi notefile
|
|
354
347
|
* @param {String} projectOrProductUID
|
|
355
348
|
* @param {String} deviceUID
|
|
356
|
-
* @param {String} notefileID
|
|
357
|
-
* @param {String} noteID
|
|
349
|
+
* @param {String} notefileID
|
|
350
|
+
* @param {String} noteID
|
|
358
351
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
359
352
|
*/
|
|
360
353
|
}, {
|
|
@@ -394,12 +387,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
394
387
|
}
|
|
395
388
|
|
|
396
389
|
/**
|
|
397
|
-
* Delete a note
|
|
398
|
-
* Delete one note from a notefile on a device. To delete whole notefiles, use `DeleteNotefiles`. Requires the Owner or Developer role.
|
|
390
|
+
* Delete a note from a .db or .qi notefile
|
|
399
391
|
* @param {String} projectOrProductUID
|
|
400
392
|
* @param {String} deviceUID
|
|
401
|
-
* @param {String} notefileID
|
|
402
|
-
* @param {String} noteID
|
|
393
|
+
* @param {String} notefileID
|
|
394
|
+
* @param {String} noteID
|
|
403
395
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
404
396
|
*/
|
|
405
397
|
}, {
|
|
@@ -411,11 +403,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
411
403
|
}
|
|
412
404
|
|
|
413
405
|
/**
|
|
414
|
-
*
|
|
415
|
-
* Delete notefiles and all their notes from a device. To delete one note, use `DeleteNote`. Requires the Owner or Developer role. Returns 400 if `files` is empty.
|
|
406
|
+
* Deletes Notefiles and the Notes they contain.
|
|
416
407
|
* @param {String} projectOrProductUID
|
|
417
408
|
* @param {String} deviceUID
|
|
418
|
-
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
409
|
+
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
419
410
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
420
411
|
*/
|
|
421
412
|
}, {
|
|
@@ -449,11 +440,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
449
440
|
}
|
|
450
441
|
|
|
451
442
|
/**
|
|
452
|
-
*
|
|
453
|
-
* Delete notefiles and all their notes from a device. To delete one note, use `DeleteNote`. Requires the Owner or Developer role. Returns 400 if `files` is empty.
|
|
443
|
+
* Deletes Notefiles and the Notes they contain.
|
|
454
444
|
* @param {String} projectOrProductUID
|
|
455
445
|
* @param {String} deviceUID
|
|
456
|
-
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
446
|
+
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
457
447
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
458
448
|
*/
|
|
459
449
|
}, {
|
|
@@ -465,7 +455,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
465
455
|
}
|
|
466
456
|
|
|
467
457
|
/**
|
|
468
|
-
* Disable
|
|
458
|
+
* Disable a device
|
|
459
|
+
* Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
|
|
469
460
|
* @param {String} projectOrProductUID
|
|
470
461
|
* @param {String} deviceUID
|
|
471
462
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -497,7 +488,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
497
488
|
}
|
|
498
489
|
|
|
499
490
|
/**
|
|
500
|
-
* Disable
|
|
491
|
+
* Disable a device
|
|
492
|
+
* Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
|
|
501
493
|
* @param {String} projectOrProductUID
|
|
502
494
|
* @param {String} deviceUID
|
|
503
495
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -511,7 +503,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
511
503
|
}
|
|
512
504
|
|
|
513
505
|
/**
|
|
514
|
-
* Enable
|
|
506
|
+
* Enable a device
|
|
507
|
+
* Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
|
|
515
508
|
* @param {String} projectOrProductUID
|
|
516
509
|
* @param {String} deviceUID
|
|
517
510
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -543,7 +536,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
543
536
|
}
|
|
544
537
|
|
|
545
538
|
/**
|
|
546
|
-
* Enable
|
|
539
|
+
* Enable a device
|
|
540
|
+
* Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
|
|
547
541
|
* @param {String} projectOrProductUID
|
|
548
542
|
* @param {String} deviceUID
|
|
549
543
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -557,15 +551,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
557
551
|
}
|
|
558
552
|
|
|
559
553
|
/**
|
|
560
|
-
* Get a note
|
|
561
|
-
* Get one note's body, payload and time from a notefile on a device. To get every note in a notefile, use `GetNotefile`. With `delete=true`, the note is deleted after it is read, which requires the Owner or Developer role.
|
|
554
|
+
* Get a note from a .db or .qi notefile
|
|
562
555
|
* @param {String} projectOrProductUID
|
|
563
556
|
* @param {String} deviceUID
|
|
564
|
-
* @param {String} notefileID
|
|
565
|
-
* @param {String} noteID
|
|
557
|
+
* @param {String} notefileID
|
|
558
|
+
* @param {String} noteID
|
|
566
559
|
* @param {Object} opts Optional parameters
|
|
567
|
-
* @param {Boolean} opts._delete
|
|
568
|
-
* @param {Boolean} opts.deleted
|
|
560
|
+
* @param {Boolean} opts._delete Whether to delete the note from the DB notefile
|
|
561
|
+
* @param {Boolean} opts.deleted Whether to return deleted notes
|
|
569
562
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDbNote200Response} and HTTP response
|
|
570
563
|
*/
|
|
571
564
|
}, {
|
|
@@ -609,15 +602,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
609
602
|
}
|
|
610
603
|
|
|
611
604
|
/**
|
|
612
|
-
* Get a note
|
|
613
|
-
* Get one note's body, payload and time from a notefile on a device. To get every note in a notefile, use `GetNotefile`. With `delete=true`, the note is deleted after it is read, which requires the Owner or Developer role.
|
|
605
|
+
* Get a note from a .db or .qi notefile
|
|
614
606
|
* @param {String} projectOrProductUID
|
|
615
607
|
* @param {String} deviceUID
|
|
616
|
-
* @param {String} notefileID
|
|
617
|
-
* @param {String} noteID
|
|
608
|
+
* @param {String} notefileID
|
|
609
|
+
* @param {String} noteID
|
|
618
610
|
* @param {Object} opts Optional parameters
|
|
619
|
-
* @param {Boolean} opts._delete
|
|
620
|
-
* @param {Boolean} opts.deleted
|
|
611
|
+
* @param {Boolean} opts._delete Whether to delete the note from the DB notefile
|
|
612
|
+
* @param {Boolean} opts.deleted Whether to return deleted notes
|
|
621
613
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDbNote200Response}
|
|
622
614
|
*/
|
|
623
615
|
}, {
|
|
@@ -629,7 +621,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
629
621
|
}
|
|
630
622
|
|
|
631
623
|
/**
|
|
632
|
-
* Get
|
|
624
|
+
* Get a device
|
|
625
|
+
* Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
|
|
633
626
|
* @param {String} projectOrProductUID
|
|
634
627
|
* @param {String} deviceUID
|
|
635
628
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
|
|
@@ -661,7 +654,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
661
654
|
}
|
|
662
655
|
|
|
663
656
|
/**
|
|
664
|
-
* Get
|
|
657
|
+
* Get a device
|
|
658
|
+
* Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
|
|
665
659
|
* @param {String} projectOrProductUID
|
|
666
660
|
* @param {String} deviceUID
|
|
667
661
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
|
|
@@ -675,8 +669,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
675
669
|
}
|
|
676
670
|
|
|
677
671
|
/**
|
|
678
|
-
* Get a device
|
|
679
|
-
* Get a device's environment variables and the fleet and project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. For just the resolved values, use `GetDeviceEnvironmentVariables`.
|
|
672
|
+
* Get environment variable hierarchy for a device
|
|
680
673
|
* @param {String} projectOrProductUID
|
|
681
674
|
* @param {String} deviceUID
|
|
682
675
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
|
|
@@ -708,8 +701,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
708
701
|
}
|
|
709
702
|
|
|
710
703
|
/**
|
|
711
|
-
* Get a device
|
|
712
|
-
* Get a device's environment variables and the fleet and project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. For just the resolved values, use `GetDeviceEnvironmentVariables`.
|
|
704
|
+
* Get environment variable hierarchy for a device
|
|
713
705
|
* @param {String} projectOrProductUID
|
|
714
706
|
* @param {String} deviceUID
|
|
715
707
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
|
|
@@ -723,8 +715,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
723
715
|
}
|
|
724
716
|
|
|
725
717
|
/**
|
|
726
|
-
* Get
|
|
727
|
-
* Get a device's own environment variables, its `env.default` values, and its effective values. Effective values merge in project and fleet variables, which device variables override. To see where each value comes from, use `GetDeviceEnvironmentHierarchy`.
|
|
718
|
+
* Get environment variables of a device
|
|
728
719
|
* @param {String} projectOrProductUID
|
|
729
720
|
* @param {String} deviceUID
|
|
730
721
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
|
|
@@ -756,8 +747,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
756
747
|
}
|
|
757
748
|
|
|
758
749
|
/**
|
|
759
|
-
* Get
|
|
760
|
-
* Get a device's own environment variables, its `env.default` values, and its effective values. Effective values merge in project and fleet variables, which device variables override. To see where each value comes from, use `GetDeviceEnvironmentHierarchy`.
|
|
750
|
+
* Get environment variables of a device
|
|
761
751
|
* @param {String} projectOrProductUID
|
|
762
752
|
* @param {String} deviceUID
|
|
763
753
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
|
|
@@ -771,11 +761,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
771
761
|
}
|
|
772
762
|
|
|
773
763
|
/**
|
|
774
|
-
* Get
|
|
775
|
-
* Get a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Made for device dashboard pages; with a token, use `GetDeviceEnvironmentVariables`, which also returns effective values. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
764
|
+
* Get environment variables of a device with device pin authorization
|
|
776
765
|
* @param {String} productUID
|
|
777
766
|
* @param {String} deviceUID
|
|
778
|
-
* @param {String} xAuthToken
|
|
767
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
779
768
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
|
|
780
769
|
*/
|
|
781
770
|
}, {
|
|
@@ -811,11 +800,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
811
800
|
}
|
|
812
801
|
|
|
813
802
|
/**
|
|
814
|
-
* Get
|
|
815
|
-
* Get a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Made for device dashboard pages; with a token, use `GetDeviceEnvironmentVariables`, which also returns effective values. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
803
|
+
* Get environment variables of a device with device pin authorization
|
|
816
804
|
* @param {String} productUID
|
|
817
805
|
* @param {String} deviceUID
|
|
818
|
-
* @param {String} xAuthToken
|
|
806
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
819
807
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
|
|
820
808
|
*/
|
|
821
809
|
}, {
|
|
@@ -827,13 +815,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
827
815
|
}
|
|
828
816
|
|
|
829
817
|
/**
|
|
830
|
-
* Get
|
|
818
|
+
* Get a device's health log
|
|
819
|
+
* Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
|
|
831
820
|
* @param {String} projectOrProductUID
|
|
832
821
|
* @param {String} deviceUID
|
|
833
822
|
* @param {Object} opts Optional parameters
|
|
834
823
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
835
824
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
836
|
-
* @param {Array.<module:model/String>} opts.logType Return only
|
|
825
|
+
* @param {Array.<module:model/String>} opts.logType Return only these kinds of entry. If omitted, all entries are returned. - `boot`: the device restarted - `dfu_completed`: a host firmware update finished
|
|
837
826
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
|
|
838
827
|
*/
|
|
839
828
|
}, {
|
|
@@ -868,13 +857,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
868
857
|
}
|
|
869
858
|
|
|
870
859
|
/**
|
|
871
|
-
* Get
|
|
860
|
+
* Get a device's health log
|
|
861
|
+
* Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
|
|
872
862
|
* @param {String} projectOrProductUID
|
|
873
863
|
* @param {String} deviceUID
|
|
874
864
|
* @param {Object} opts Optional parameters
|
|
875
865
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
876
866
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
877
|
-
* @param {Array.<module:model/String>} opts.logType Return only
|
|
867
|
+
* @param {Array.<module:model/String>} opts.logType Return only these kinds of entry. If omitted, all entries are returned. - `boot`: the device restarted - `dfu_completed`: a host firmware update finished
|
|
878
868
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
|
|
879
869
|
*/
|
|
880
870
|
}, {
|
|
@@ -886,7 +876,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
886
876
|
}
|
|
887
877
|
|
|
888
878
|
/**
|
|
889
|
-
* Get a
|
|
879
|
+
* Get a journey and its events
|
|
880
|
+
* Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
|
|
890
881
|
* @param {String} projectOrProductUID
|
|
891
882
|
* @param {String} deviceUID
|
|
892
883
|
* @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
|
|
@@ -931,7 +922,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
931
922
|
}
|
|
932
923
|
|
|
933
924
|
/**
|
|
934
|
-
* Get a
|
|
925
|
+
* Get a journey and its events
|
|
926
|
+
* Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
|
|
935
927
|
* @param {String} projectOrProductUID
|
|
936
928
|
* @param {String} deviceUID
|
|
937
929
|
* @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
|
|
@@ -949,7 +941,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
949
941
|
}
|
|
950
942
|
|
|
951
943
|
/**
|
|
952
|
-
*
|
|
944
|
+
* List a device's journeys
|
|
945
|
+
* List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
|
|
953
946
|
* @param {String} projectOrProductUID
|
|
954
947
|
* @param {String} deviceUID
|
|
955
948
|
* @param {Object} opts Optional parameters
|
|
@@ -988,7 +981,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
988
981
|
}
|
|
989
982
|
|
|
990
983
|
/**
|
|
991
|
-
*
|
|
984
|
+
* List a device's journeys
|
|
985
|
+
* List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
|
|
992
986
|
* @param {String} projectOrProductUID
|
|
993
987
|
* @param {String} deviceUID
|
|
994
988
|
* @param {Object} opts Optional parameters
|
|
@@ -1005,7 +999,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1005
999
|
}
|
|
1006
1000
|
|
|
1007
1001
|
/**
|
|
1008
|
-
* Get
|
|
1002
|
+
* Get a device's latest event per notefile
|
|
1003
|
+
* Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
|
|
1009
1004
|
* @param {String} projectOrProductUID
|
|
1010
1005
|
* @param {String} deviceUID
|
|
1011
1006
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
|
|
@@ -1037,7 +1032,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1037
1032
|
}
|
|
1038
1033
|
|
|
1039
1034
|
/**
|
|
1040
|
-
* Get
|
|
1035
|
+
* Get a device's latest event per notefile
|
|
1036
|
+
* Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
|
|
1041
1037
|
* @param {String} projectOrProductUID
|
|
1042
1038
|
* @param {String} deviceUID
|
|
1043
1039
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
|
|
@@ -1051,7 +1047,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1051
1047
|
}
|
|
1052
1048
|
|
|
1053
1049
|
/**
|
|
1054
|
-
* Get
|
|
1050
|
+
* Get a device's cellular data plans
|
|
1051
|
+
* Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
|
|
1055
1052
|
* @param {String} projectOrProductUID
|
|
1056
1053
|
* @param {String} deviceUID
|
|
1057
1054
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
|
|
@@ -1083,7 +1080,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1083
1080
|
}
|
|
1084
1081
|
|
|
1085
1082
|
/**
|
|
1086
|
-
* Get
|
|
1083
|
+
* Get a device's cellular data plans
|
|
1084
|
+
* Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
|
|
1087
1085
|
* @param {String} projectOrProductUID
|
|
1088
1086
|
* @param {String} deviceUID
|
|
1089
1087
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
|
|
@@ -1097,7 +1095,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1097
1095
|
}
|
|
1098
1096
|
|
|
1099
1097
|
/**
|
|
1100
|
-
* Get
|
|
1098
|
+
* Get a device's public key
|
|
1099
|
+
* Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
|
|
1101
1100
|
* @param {String} projectOrProductUID
|
|
1102
1101
|
* @param {String} deviceUID
|
|
1103
1102
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
|
|
@@ -1129,7 +1128,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1129
1128
|
}
|
|
1130
1129
|
|
|
1131
1130
|
/**
|
|
1132
|
-
* Get
|
|
1131
|
+
* Get a device's public key
|
|
1132
|
+
* Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
|
|
1133
1133
|
* @param {String} projectOrProductUID
|
|
1134
1134
|
* @param {String} deviceUID
|
|
1135
1135
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
|
|
@@ -1143,7 +1143,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
1145
1145
|
/**
|
|
1146
|
-
*
|
|
1146
|
+
* List public keys of all devices
|
|
1147
|
+
* List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
|
|
1147
1148
|
* @param {String} projectOrProductUID
|
|
1148
1149
|
* @param {Object} opts Optional parameters
|
|
1149
1150
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1178,7 +1179,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1178
1179
|
}
|
|
1179
1180
|
|
|
1180
1181
|
/**
|
|
1181
|
-
*
|
|
1182
|
+
* List public keys of all devices
|
|
1183
|
+
* List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
|
|
1182
1184
|
* @param {String} projectOrProductUID
|
|
1183
1185
|
* @param {Object} opts Optional parameters
|
|
1184
1186
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1195,7 +1197,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1195
1197
|
}
|
|
1196
1198
|
|
|
1197
1199
|
/**
|
|
1198
|
-
*
|
|
1200
|
+
* List a device's sessions
|
|
1201
|
+
* List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
|
|
1199
1202
|
* @param {String} projectOrProductUID
|
|
1200
1203
|
* @param {String} deviceUID
|
|
1201
1204
|
* @param {Object} opts Optional parameters
|
|
@@ -1204,7 +1207,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1204
1207
|
* @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).
|
|
1205
1208
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
1206
1209
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
1207
|
-
* @param {Boolean} opts.firstSync
|
|
1210
|
+
* @param {Boolean} opts.firstSync If true, return only sessions whose `why_session_opened` begins with \"first sync\". (default to false)
|
|
1208
1211
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceSessions200Response} and HTTP response
|
|
1209
1212
|
*/
|
|
1210
1213
|
}, {
|
|
@@ -1242,7 +1245,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1242
1245
|
}
|
|
1243
1246
|
|
|
1244
1247
|
/**
|
|
1245
|
-
*
|
|
1248
|
+
* List a device's sessions
|
|
1249
|
+
* List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
|
|
1246
1250
|
* @param {String} projectOrProductUID
|
|
1247
1251
|
* @param {String} deviceUID
|
|
1248
1252
|
* @param {Object} opts Optional parameters
|
|
@@ -1251,7 +1255,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1251
1255
|
* @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).
|
|
1252
1256
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
1253
1257
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
1254
|
-
* @param {Boolean} opts.firstSync
|
|
1258
|
+
* @param {Boolean} opts.firstSync If true, return only sessions whose `why_session_opened` begins with \"first sync\". (default to false)
|
|
1255
1259
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceSessions200Response}
|
|
1256
1260
|
*/
|
|
1257
1261
|
}, {
|
|
@@ -1263,7 +1267,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1263
1267
|
}
|
|
1264
1268
|
|
|
1265
1269
|
/**
|
|
1266
|
-
*
|
|
1270
|
+
* List devices in a project
|
|
1271
|
+
* List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
|
|
1267
1272
|
* @param {String} projectOrProductUID
|
|
1268
1273
|
* @param {Object} opts Optional parameters
|
|
1269
1274
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1316,7 +1321,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1316
1321
|
}
|
|
1317
1322
|
|
|
1318
1323
|
/**
|
|
1319
|
-
*
|
|
1324
|
+
* List devices in a project
|
|
1325
|
+
* List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
|
|
1320
1326
|
* @param {String} projectOrProductUID
|
|
1321
1327
|
* @param {Object} opts Optional parameters
|
|
1322
1328
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1342,7 +1348,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1342
1348
|
}
|
|
1343
1349
|
|
|
1344
1350
|
/**
|
|
1345
|
-
*
|
|
1351
|
+
* List devices in a fleet
|
|
1352
|
+
* List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
|
|
1346
1353
|
* @param {String} projectOrProductUID
|
|
1347
1354
|
* @param {String} fleetUID
|
|
1348
1355
|
* @param {Object} opts Optional parameters
|
|
@@ -1399,7 +1406,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1399
1406
|
}
|
|
1400
1407
|
|
|
1401
1408
|
/**
|
|
1402
|
-
*
|
|
1409
|
+
* List devices in a fleet
|
|
1410
|
+
* List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
|
|
1403
1411
|
* @param {String} projectOrProductUID
|
|
1404
1412
|
* @param {String} fleetUID
|
|
1405
1413
|
* @param {Object} opts Optional parameters
|
|
@@ -1425,15 +1433,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1425
1433
|
}
|
|
1426
1434
|
|
|
1427
1435
|
/**
|
|
1428
|
-
*
|
|
1429
|
-
* Get the notes in one notefile on a device. For a `.qi` notefile, that's the notes still queued; for a `.db` notefile, every note. To list all of a device's notefiles with their notes, use `ListNotefiles`. With `delete=true`, the returned notes are deleted, which requires the Owner or Developer role. Returns 400 if `notefileID` has no valid notefile extension.
|
|
1436
|
+
* For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
|
|
1430
1437
|
* @param {String} projectOrProductUID
|
|
1431
1438
|
* @param {String} deviceUID
|
|
1432
|
-
* @param {String} notefileID
|
|
1439
|
+
* @param {String} notefileID
|
|
1433
1440
|
* @param {Object} opts Optional parameters
|
|
1434
|
-
* @param {Number} opts.max The
|
|
1435
|
-
* @param {Boolean} opts.deleted
|
|
1436
|
-
* @param {Boolean} opts._delete
|
|
1441
|
+
* @param {Number} opts.max The maximum number of Notes to return in the request.
|
|
1442
|
+
* @param {Boolean} opts.deleted true to return deleted notes.
|
|
1443
|
+
* @param {Boolean} opts._delete true to delete the notes returned by the request.
|
|
1437
1444
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetNotefile200Response} and HTTP response
|
|
1438
1445
|
*/
|
|
1439
1446
|
}, {
|
|
@@ -1473,15 +1480,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1473
1480
|
}
|
|
1474
1481
|
|
|
1475
1482
|
/**
|
|
1476
|
-
*
|
|
1477
|
-
* Get the notes in one notefile on a device. For a `.qi` notefile, that's the notes still queued; for a `.db` notefile, every note. To list all of a device's notefiles with their notes, use `ListNotefiles`. With `delete=true`, the returned notes are deleted, which requires the Owner or Developer role. Returns 400 if `notefileID` has no valid notefile extension.
|
|
1483
|
+
* For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
|
|
1478
1484
|
* @param {String} projectOrProductUID
|
|
1479
1485
|
* @param {String} deviceUID
|
|
1480
|
-
* @param {String} notefileID
|
|
1486
|
+
* @param {String} notefileID
|
|
1481
1487
|
* @param {Object} opts Optional parameters
|
|
1482
|
-
* @param {Number} opts.max The
|
|
1483
|
-
* @param {Boolean} opts.deleted
|
|
1484
|
-
* @param {Boolean} opts._delete
|
|
1488
|
+
* @param {Number} opts.max The maximum number of Notes to return in the request.
|
|
1489
|
+
* @param {Boolean} opts.deleted true to return deleted notes.
|
|
1490
|
+
* @param {Boolean} opts._delete true to delete the notes returned by the request.
|
|
1485
1491
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetNotefile200Response}
|
|
1486
1492
|
*/
|
|
1487
1493
|
}, {
|
|
@@ -1493,12 +1499,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1493
1499
|
}
|
|
1494
1500
|
|
|
1495
1501
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
* List a device's notefiles with the notes in each, sorted `.qo`, then `.qi`, then `.db`. `.qo` notefiles are listed without notes, since Notehub empties them as it processes them. Most system notefiles (names starting with `_`) are left out. For one notefile, use `GetNotefile`.
|
|
1502
|
+
* Lists .qi and .db files for the device
|
|
1498
1503
|
* @param {String} projectOrProductUID
|
|
1499
1504
|
* @param {String} deviceUID
|
|
1500
1505
|
* @param {Object} opts Optional parameters
|
|
1501
|
-
* @param {Array.<String>} opts.files
|
|
1506
|
+
* @param {Array.<String>} opts.files One or more files to obtain change information from.
|
|
1502
1507
|
* @param {Boolean} opts.pending show only files that are pending sync to the Notecard
|
|
1503
1508
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Notefile>} and HTTP response
|
|
1504
1509
|
*/
|
|
@@ -1533,12 +1538,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1533
1538
|
}
|
|
1534
1539
|
|
|
1535
1540
|
/**
|
|
1536
|
-
*
|
|
1537
|
-
* List a device's notefiles with the notes in each, sorted `.qo`, then `.qi`, then `.db`. `.qo` notefiles are listed without notes, since Notehub empties them as it processes them. Most system notefiles (names starting with `_`) are left out. For one notefile, use `GetNotefile`.
|
|
1541
|
+
* Lists .qi and .db files for the device
|
|
1538
1542
|
* @param {String} projectOrProductUID
|
|
1539
1543
|
* @param {String} deviceUID
|
|
1540
1544
|
* @param {Object} opts Optional parameters
|
|
1541
|
-
* @param {Array.<String>} opts.files
|
|
1545
|
+
* @param {Array.<String>} opts.files One or more files to obtain change information from.
|
|
1542
1546
|
* @param {Boolean} opts.pending show only files that are pending sync to the Notecard
|
|
1543
1547
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Notefile>}
|
|
1544
1548
|
*/
|
|
@@ -1551,10 +1555,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1551
1555
|
}
|
|
1552
1556
|
|
|
1553
1557
|
/**
|
|
1554
|
-
* Provision
|
|
1558
|
+
* Provision a Notecard
|
|
1559
|
+
* Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
|
|
1555
1560
|
* @param {String} projectOrProductUID
|
|
1556
1561
|
* @param {String} deviceUID
|
|
1557
|
-
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest
|
|
1562
|
+
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest The product, serial number and fleets for the device.
|
|
1558
1563
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
1559
1564
|
*/
|
|
1560
1565
|
}, {
|
|
@@ -1588,10 +1593,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1588
1593
|
}
|
|
1589
1594
|
|
|
1590
1595
|
/**
|
|
1591
|
-
* Provision
|
|
1596
|
+
* Provision a Notecard
|
|
1597
|
+
* Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
|
|
1592
1598
|
* @param {String} projectOrProductUID
|
|
1593
1599
|
* @param {String} deviceUID
|
|
1594
|
-
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest
|
|
1600
|
+
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest The product, serial number and fleets for the device.
|
|
1595
1601
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
|
1596
1602
|
*/
|
|
1597
1603
|
}, {
|
|
@@ -1603,11 +1609,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1603
1609
|
}
|
|
1604
1610
|
|
|
1605
1611
|
/**
|
|
1606
|
-
* Set
|
|
1607
|
-
* Add or change a device's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
|
|
1612
|
+
* Set environment variables of a device
|
|
1608
1613
|
* @param {String} projectOrProductUID
|
|
1609
1614
|
* @param {String} deviceUID
|
|
1610
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1615
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1611
1616
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
1612
1617
|
*/
|
|
1613
1618
|
}, {
|
|
@@ -1641,11 +1646,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1641
1646
|
}
|
|
1642
1647
|
|
|
1643
1648
|
/**
|
|
1644
|
-
* Set
|
|
1645
|
-
* Add or change a device's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
|
|
1649
|
+
* Set environment variables of a device
|
|
1646
1650
|
* @param {String} projectOrProductUID
|
|
1647
1651
|
* @param {String} deviceUID
|
|
1648
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1652
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1649
1653
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
1650
1654
|
*/
|
|
1651
1655
|
}, {
|
|
@@ -1657,12 +1661,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1657
1661
|
}
|
|
1658
1662
|
|
|
1659
1663
|
/**
|
|
1660
|
-
* Set
|
|
1661
|
-
* Add or change a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Works like `SetDeviceEnvironmentVariables`: a value of `\"\"` or `-` deletes that variable. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
1664
|
+
* Set environment variables of a device with device pin authorization
|
|
1662
1665
|
* @param {String} productUID
|
|
1663
1666
|
* @param {String} deviceUID
|
|
1664
|
-
* @param {String} xAuthToken
|
|
1665
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1667
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
1668
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1666
1669
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
1667
1670
|
*/
|
|
1668
1671
|
}, {
|
|
@@ -1702,12 +1705,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1702
1705
|
}
|
|
1703
1706
|
|
|
1704
1707
|
/**
|
|
1705
|
-
* Set
|
|
1706
|
-
* Add or change a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Works like `SetDeviceEnvironmentVariables`: a value of `\"\"` or `-` deletes that variable. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
1708
|
+
* Set environment variables of a device with device pin authorization
|
|
1707
1709
|
* @param {String} productUID
|
|
1708
1710
|
* @param {String} deviceUID
|
|
1709
|
-
* @param {String} xAuthToken
|
|
1710
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1711
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
1712
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1711
1713
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
1712
1714
|
*/
|
|
1713
1715
|
}, {
|
|
@@ -1719,10 +1721,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1719
1721
|
}
|
|
1720
1722
|
|
|
1721
1723
|
/**
|
|
1722
|
-
* Send a signal
|
|
1724
|
+
* Send a signal to a connected Notecard
|
|
1725
|
+
* Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
|
|
1723
1726
|
* @param {String} projectOrProductUID
|
|
1724
1727
|
* @param {String} deviceUID
|
|
1725
|
-
* @param {module:model/Body} body
|
|
1728
|
+
* @param {module:model/Body} body The signal to send.
|
|
1726
1729
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
|
|
1727
1730
|
*/
|
|
1728
1731
|
}, {
|
|
@@ -1756,10 +1759,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1756
1759
|
}
|
|
1757
1760
|
|
|
1758
1761
|
/**
|
|
1759
|
-
* Send a signal
|
|
1762
|
+
* Send a signal to a connected Notecard
|
|
1763
|
+
* Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
|
|
1760
1764
|
* @param {String} projectOrProductUID
|
|
1761
1765
|
* @param {String} deviceUID
|
|
1762
|
-
* @param {module:model/Body} body
|
|
1766
|
+
* @param {module:model/Body} body The signal to send.
|
|
1763
1767
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
|
|
1764
1768
|
*/
|
|
1765
1769
|
}, {
|
|
@@ -1771,12 +1775,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1771
1775
|
}
|
|
1772
1776
|
|
|
1773
1777
|
/**
|
|
1774
|
-
* Update a note in a .db notefile
|
|
1775
|
-
* Replace the body and payload of a note in a database notefile on a device, synced to the Notecard on its next sync. To add a new note, use `AddDbNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
1778
|
+
* Update a note in a .db or .qi notefile
|
|
1776
1779
|
* @param {String} projectOrProductUID
|
|
1777
1780
|
* @param {String} deviceUID
|
|
1778
|
-
* @param {String} notefileID
|
|
1779
|
-
* @param {String} noteID
|
|
1781
|
+
* @param {String} notefileID
|
|
1782
|
+
* @param {String} noteID
|
|
1780
1783
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
1781
1784
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1782
1785
|
*/
|
|
@@ -1821,12 +1824,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1821
1824
|
}
|
|
1822
1825
|
|
|
1823
1826
|
/**
|
|
1824
|
-
* Update a note in a .db notefile
|
|
1825
|
-
* Replace the body and payload of a note in a database notefile on a device, synced to the Notecard on its next sync. To add a new note, use `AddDbNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
1827
|
+
* Update a note in a .db or .qi notefile
|
|
1826
1828
|
* @param {String} projectOrProductUID
|
|
1827
1829
|
* @param {String} deviceUID
|
|
1828
|
-
* @param {String} notefileID
|
|
1829
|
-
* @param {String} noteID
|
|
1830
|
+
* @param {String} notefileID
|
|
1831
|
+
* @param {String} noteID
|
|
1830
1832
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
1831
1833
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1832
1834
|
*/
|