@blues-inc/notehub-js 6.7.0-beta.68 → 6.7.0-beta.69
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 +10 -10
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +51 -45
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +47 -35
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -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 +1 -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 +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryRecord.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 +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/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.2.0
|
|
9
|
-
- Package version: 6.7.0-beta.
|
|
9
|
+
- Package version: 6.7.0-beta.69
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
11
11
|
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
|
|
12
12
|
|
|
@@ -174,9 +174,9 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
174
174
|
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin | Set device environment variables using a PIN |
|
|
175
175
|
| _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal | Send a signal to a connected Notecard |
|
|
176
176
|
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} | Update a note in a .db notefile |
|
|
177
|
-
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
178
|
-
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
179
|
-
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
|
|
177
|
+
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events | List events in a project |
|
|
178
|
+
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events | List events in a fleet |
|
|
179
|
+
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs | Get an event's route logs |
|
|
180
180
|
| _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event |
|
|
181
181
|
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close |
|
|
182
182
|
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open |
|
|
@@ -242,12 +242,12 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
242
242
|
| _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} | Update a fleet |
|
|
243
243
|
| _NotehubJs.ProjectApi_ | [**updateProjectSecret**](docs/ProjectApi.md#updateProjectSecret) | **PUT** /v1/projects/{projectOrProductUID}/secrets/{secretName} | Update a project secret |
|
|
244
244
|
| _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} | Upload firmware |
|
|
245
|
-
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
|
|
246
|
-
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
247
|
-
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
248
|
-
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
|
|
249
|
-
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
|
|
250
|
-
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
245
|
+
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes | Create a route |
|
|
246
|
+
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Delete a route |
|
|
247
|
+
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Get a route |
|
|
248
|
+
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs | List a route's logs |
|
|
249
|
+
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes | List routes |
|
|
250
|
+
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Update a route |
|
|
251
251
|
| _NotehubJs.SkillsApi_ | [**deleteSkill**](docs/SkillsApi.md#deleteSkill) | **DELETE** /v1/projects/{projectOrProductUID}/skills/{skillName} | Delete a Project Skill (Product Skill) |
|
|
252
252
|
| _NotehubJs.SkillsApi_ | [**getSkill**](docs/SkillsApi.md#getSkill) | **GET** /v1/projects/{projectOrProductUID}/skills/{skillName} | Read a Project Skill (Product Skill) |
|
|
253
253
|
| _NotehubJs.SkillsApi_ | [**getSkills**](docs/SkillsApi.md#getSkills) | **GET** /v1/projects/{projectOrProductUID}/skills | List Project Skills (Product Skills) |
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
*/
|
|
69
69
|
this.defaultHeaders = {};
|
|
70
70
|
if (typeof window === "undefined") {
|
|
71
|
-
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.69/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.69
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.69
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__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
|
* Description service.
|
|
31
31
|
* @module api/DescriptionApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
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.69
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Event service.
|
|
31
31
|
* @module api/EventApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,27 +45,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* List events in a project
|
|
49
|
+
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
49
50
|
* @param {String} projectOrProductUID
|
|
50
51
|
* @param {Object} opts Optional parameters
|
|
51
52
|
* @param {Number} opts.pageSize (default to 1000)
|
|
52
53
|
* @param {Number} opts.pageNum (default to 1)
|
|
53
54
|
* @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).
|
|
54
55
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
55
|
-
* @param {Array.<String>} opts.sensorUID
|
|
56
|
+
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
|
|
56
57
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
57
58
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
58
59
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
59
60
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
60
|
-
* @param {module:model/String} opts.dateType Which
|
|
61
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
62
|
-
* @param {String} opts.files
|
|
63
|
-
* @param {module:model/String} opts.format Response format
|
|
64
|
-
* @param {Array.<String>} opts.serialNumber
|
|
61
|
+
* @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
|
|
62
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
63
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
64
|
+
* @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
|
|
65
|
+
* @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
|
|
65
66
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
66
|
-
* @param {Array.<String>} opts.sessionUID
|
|
67
|
-
* @param {Array.<String>} opts.eventUID
|
|
68
|
-
* @param {String} opts.selectFields Comma-separated
|
|
67
|
+
* @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
|
|
68
|
+
* @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
|
|
69
|
+
* @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
|
|
69
70
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
70
71
|
*/
|
|
71
72
|
return _createClass(EventApi, [{
|
|
@@ -110,27 +111,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
/**
|
|
113
|
-
*
|
|
114
|
+
* List events in a project
|
|
115
|
+
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
114
116
|
* @param {String} projectOrProductUID
|
|
115
117
|
* @param {Object} opts Optional parameters
|
|
116
118
|
* @param {Number} opts.pageSize (default to 1000)
|
|
117
119
|
* @param {Number} opts.pageNum (default to 1)
|
|
118
120
|
* @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).
|
|
119
121
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
120
|
-
* @param {Array.<String>} opts.sensorUID
|
|
122
|
+
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
|
|
121
123
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
122
124
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
123
125
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
124
126
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
125
|
-
* @param {module:model/String} opts.dateType Which
|
|
126
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
127
|
-
* @param {String} opts.files
|
|
128
|
-
* @param {module:model/String} opts.format Response format
|
|
129
|
-
* @param {Array.<String>} opts.serialNumber
|
|
127
|
+
* @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
|
|
128
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
129
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
130
|
+
* @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
|
|
131
|
+
* @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
|
|
130
132
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
131
|
-
* @param {Array.<String>} opts.sessionUID
|
|
132
|
-
* @param {Array.<String>} opts.eventUID
|
|
133
|
-
* @param {String} opts.selectFields Comma-separated
|
|
133
|
+
* @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
|
|
134
|
+
* @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
|
|
135
|
+
* @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
|
|
134
136
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
135
137
|
*/
|
|
136
138
|
}, {
|
|
@@ -142,7 +144,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
/**
|
|
145
|
-
*
|
|
147
|
+
* List events in a fleet
|
|
148
|
+
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
146
149
|
* @param {String} projectOrProductUID
|
|
147
150
|
* @param {String} fleetUID
|
|
148
151
|
* @param {Object} opts Optional parameters
|
|
@@ -150,19 +153,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
150
153
|
* @param {Number} opts.pageNum (default to 1)
|
|
151
154
|
* @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).
|
|
152
155
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
153
|
-
* @param {Array.<String>} opts.sensorUID
|
|
156
|
+
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
|
|
154
157
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
155
158
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
156
159
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
157
160
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
158
|
-
* @param {module:model/String} opts.dateType Which
|
|
159
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
160
|
-
* @param {String} opts.files
|
|
161
|
-
* @param {module:model/String} opts.format Response format
|
|
162
|
-
* @param {Array.<String>} opts.serialNumber
|
|
163
|
-
* @param {Array.<String>} opts.sessionUID
|
|
164
|
-
* @param {Array.<String>} opts.eventUID
|
|
165
|
-
* @param {String} opts.selectFields Comma-separated
|
|
161
|
+
* @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
|
|
162
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
163
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
164
|
+
* @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
|
|
165
|
+
* @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
|
|
166
|
+
* @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
|
|
167
|
+
* @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
|
|
168
|
+
* @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
|
|
166
169
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
167
170
|
*/
|
|
168
171
|
}, {
|
|
@@ -211,7 +214,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
211
214
|
}
|
|
212
215
|
|
|
213
216
|
/**
|
|
214
|
-
*
|
|
217
|
+
* List events in a fleet
|
|
218
|
+
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
215
219
|
* @param {String} projectOrProductUID
|
|
216
220
|
* @param {String} fleetUID
|
|
217
221
|
* @param {Object} opts Optional parameters
|
|
@@ -219,19 +223,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
219
223
|
* @param {Number} opts.pageNum (default to 1)
|
|
220
224
|
* @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).
|
|
221
225
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
222
|
-
* @param {Array.<String>} opts.sensorUID
|
|
226
|
+
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
|
|
223
227
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
224
228
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
225
229
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
226
230
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
227
|
-
* @param {module:model/String} opts.dateType Which
|
|
228
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
229
|
-
* @param {String} opts.files
|
|
230
|
-
* @param {module:model/String} opts.format Response format
|
|
231
|
-
* @param {Array.<String>} opts.serialNumber
|
|
232
|
-
* @param {Array.<String>} opts.sessionUID
|
|
233
|
-
* @param {Array.<String>} opts.eventUID
|
|
234
|
-
* @param {String} opts.selectFields Comma-separated
|
|
231
|
+
* @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
|
|
232
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
233
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
234
|
+
* @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
|
|
235
|
+
* @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
|
|
236
|
+
* @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
|
|
237
|
+
* @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
|
|
238
|
+
* @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
|
|
235
239
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
236
240
|
*/
|
|
237
241
|
}, {
|
|
@@ -243,9 +247,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
/**
|
|
246
|
-
* Get
|
|
250
|
+
* Get an event's route logs
|
|
251
|
+
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
247
252
|
* @param {String} projectOrProductUID
|
|
248
|
-
* @param {String} eventUID
|
|
253
|
+
* @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
|
|
249
254
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
250
255
|
*/
|
|
251
256
|
}, {
|
|
@@ -275,9 +280,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
275
280
|
}
|
|
276
281
|
|
|
277
282
|
/**
|
|
278
|
-
* Get
|
|
283
|
+
* Get an event's route logs
|
|
284
|
+
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
279
285
|
* @param {String} projectOrProductUID
|
|
280
|
-
* @param {String} eventUID
|
|
286
|
+
* @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
|
|
281
287
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
282
288
|
*/
|
|
283
289
|
}, {
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -36,7 +36,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
36
36
|
/**
|
|
37
37
|
* Jobs service.
|
|
38
38
|
* @module api/JobsApi
|
|
39
|
-
* @version 6.7.0-beta.
|
|
39
|
+
* @version 6.7.0-beta.69
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* Organization service.
|
|
32
32
|
* @module api/OrganizationApi
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
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.69
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|
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.69
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -46,7 +46,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Create
|
|
49
|
+
* Create a route
|
|
50
|
+
* Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events. Unknown FleetUIDs are ignored, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
|
|
50
51
|
* @param {String} projectOrProductUID
|
|
51
52
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
52
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
@@ -77,7 +78,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
/**
|
|
80
|
-
* Create
|
|
81
|
+
* Create a route
|
|
82
|
+
* Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events. Unknown FleetUIDs are ignored, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
|
|
81
83
|
* @param {String} projectOrProductUID
|
|
82
84
|
* @param {module:model/NotehubRoute} notehubRoute Route to be created
|
|
83
85
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
@@ -91,9 +93,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
/**
|
|
94
|
-
* Delete
|
|
96
|
+
* Delete a route
|
|
97
|
+
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
95
98
|
* @param {String} projectOrProductUID
|
|
96
|
-
* @param {String} routeUID
|
|
99
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
97
100
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
98
101
|
*/
|
|
99
102
|
}, {
|
|
@@ -123,9 +126,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
/**
|
|
126
|
-
* Delete
|
|
129
|
+
* Delete a route
|
|
130
|
+
* Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
|
|
127
131
|
* @param {String} projectOrProductUID
|
|
128
|
-
* @param {String} routeUID
|
|
132
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
129
133
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
130
134
|
*/
|
|
131
135
|
}, {
|
|
@@ -137,9 +141,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
141
|
}
|
|
138
142
|
|
|
139
143
|
/**
|
|
140
|
-
* Get
|
|
144
|
+
* Get a route
|
|
145
|
+
* Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
|
|
141
146
|
* @param {String} projectOrProductUID
|
|
142
|
-
* @param {String} routeUID
|
|
147
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
143
148
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
144
149
|
*/
|
|
145
150
|
}, {
|
|
@@ -169,9 +174,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
/**
|
|
172
|
-
* Get
|
|
177
|
+
* Get a route
|
|
178
|
+
* Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
|
|
173
179
|
* @param {String} projectOrProductUID
|
|
174
|
-
* @param {String} routeUID
|
|
180
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
175
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
176
182
|
*/
|
|
177
183
|
}, {
|
|
@@ -183,23 +189,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
183
189
|
}
|
|
184
190
|
|
|
185
191
|
/**
|
|
186
|
-
*
|
|
192
|
+
* List a route's logs
|
|
193
|
+
* List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
|
|
187
194
|
* @param {String} projectOrProductUID
|
|
188
|
-
* @param {String} routeUID
|
|
195
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
189
196
|
* @param {Object} opts Optional parameters
|
|
190
197
|
* @param {Number} opts.pageSize (default to 1000)
|
|
191
198
|
* @param {Number} opts.pageNum (default to 1)
|
|
192
199
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
193
200
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
194
|
-
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
195
|
-
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
201
|
+
* @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
|
|
202
|
+
* @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
|
|
196
203
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
197
204
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
198
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
199
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
200
|
-
* @param {String} opts.files
|
|
201
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
202
|
-
* @param {Array.<String>} opts.responseStatus
|
|
205
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
206
|
+
* @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
|
|
207
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
208
|
+
* @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
|
|
209
|
+
* @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
|
|
203
210
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
204
211
|
*/
|
|
205
212
|
}, {
|
|
@@ -244,23 +251,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
251
|
}
|
|
245
252
|
|
|
246
253
|
/**
|
|
247
|
-
*
|
|
254
|
+
* List a route's logs
|
|
255
|
+
* List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
|
|
248
256
|
* @param {String} projectOrProductUID
|
|
249
|
-
* @param {String} routeUID
|
|
257
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
250
258
|
* @param {Object} opts Optional parameters
|
|
251
259
|
* @param {Number} opts.pageSize (default to 1000)
|
|
252
260
|
* @param {Number} opts.pageNum (default to 1)
|
|
253
261
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
254
262
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
255
|
-
* @param {module:model/String} opts.sortBy (default to 'date')
|
|
256
|
-
* @param {module:model/String} opts.sortOrder (default to 'desc')
|
|
263
|
+
* @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
|
|
264
|
+
* @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
|
|
257
265
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
258
266
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
259
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
260
|
-
* @param {Boolean} opts.mostRecentOnly
|
|
261
|
-
* @param {String} opts.files
|
|
262
|
-
* @param {Array.<module:model/String>} opts.routingStatus
|
|
263
|
-
* @param {Array.<String>} opts.responseStatus
|
|
267
|
+
* @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
|
|
268
|
+
* @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
|
|
269
|
+
* @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
|
|
270
|
+
* @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
|
|
271
|
+
* @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
|
|
264
272
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
265
273
|
*/
|
|
266
274
|
}, {
|
|
@@ -272,7 +280,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
272
280
|
}
|
|
273
281
|
|
|
274
282
|
/**
|
|
275
|
-
*
|
|
283
|
+
* List routes
|
|
284
|
+
* List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
|
|
276
285
|
* @param {String} projectOrProductUID
|
|
277
286
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotehubRouteSummary>} and HTTP response
|
|
278
287
|
*/
|
|
@@ -298,7 +307,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
298
307
|
}
|
|
299
308
|
|
|
300
309
|
/**
|
|
301
|
-
*
|
|
310
|
+
* List routes
|
|
311
|
+
* List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
|
|
302
312
|
* @param {String} projectOrProductUID
|
|
303
313
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotehubRouteSummary>}
|
|
304
314
|
*/
|
|
@@ -311,9 +321,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
311
321
|
}
|
|
312
322
|
|
|
313
323
|
/**
|
|
314
|
-
* Update route
|
|
324
|
+
* Update a route
|
|
325
|
+
* Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, and 400 for invalid settings.
|
|
315
326
|
* @param {String} projectOrProductUID
|
|
316
|
-
* @param {String} routeUID
|
|
327
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
317
328
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
318
329
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
|
|
319
330
|
*/
|
|
@@ -348,9 +359,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
348
359
|
}
|
|
349
360
|
|
|
350
361
|
/**
|
|
351
|
-
* Update route
|
|
362
|
+
* Update a route
|
|
363
|
+
* Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, and 400 for invalid settings.
|
|
352
364
|
* @param {String} projectOrProductUID
|
|
353
|
-
* @param {String} routeUID
|
|
365
|
+
* @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
|
|
354
366
|
* @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
|
|
355
367
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
|
|
356
368
|
*/
|
package/dist/api/SkillsApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* Skills service.
|
|
33
33
|
* @module api/SkillsApi
|
|
34
|
-
* @version 6.7.0-beta.
|
|
34
|
+
* @version 6.7.0-beta.69
|
|
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.69
|
|
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.69
|
|
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.69
|
|
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.69
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Alert.js
CHANGED