@blues-inc/notehub-js 6.7.0-beta.67 → 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 +18 -18
- 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 +49 -33
- 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 +6 -6
- 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
|
|
|
@@ -135,14 +135,14 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
135
135
|
| ------------------------------ | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
136
136
|
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts |
|
|
137
137
|
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token | Issue an OAuth 2.0 access token (Client Credentials) |
|
|
138
|
-
| _NotehubJs.DescriptionApi_ | [**deleteGlobalDescription**](docs/DescriptionApi.md#deleteGlobalDescription) | **DELETE** /v1/description/{descriptionName} |
|
|
139
|
-
| _NotehubJs.DescriptionApi_ | [**deleteProjectDescription**](docs/DescriptionApi.md#deleteProjectDescription) | **DELETE** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
|
|
140
|
-
| _NotehubJs.DescriptionApi_ | [**getGlobalDescription**](docs/DescriptionApi.md#getGlobalDescription) | **GET** /v1/description/{descriptionName} |
|
|
141
|
-
| _NotehubJs.DescriptionApi_ | [**getProjectDescription**](docs/DescriptionApi.md#getProjectDescription) | **GET** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
|
|
142
|
-
| _NotehubJs.DescriptionApi_ | [**listGlobalDescriptions**](docs/DescriptionApi.md#listGlobalDescriptions) | **GET** /v1/description |
|
|
143
|
-
| _NotehubJs.DescriptionApi_ | [**listProjectDescriptions**](docs/DescriptionApi.md#listProjectDescriptions) | **GET** /v1/projects/{projectOrProductUID}/description |
|
|
144
|
-
| _NotehubJs.DescriptionApi_ | [**setGlobalDescription**](docs/DescriptionApi.md#setGlobalDescription) | **POST** /v1/description/{descriptionName} |
|
|
145
|
-
| _NotehubJs.DescriptionApi_ | [**setProjectDescription**](docs/DescriptionApi.md#setProjectDescription) | **POST** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
|
|
138
|
+
| _NotehubJs.DescriptionApi_ | [**deleteGlobalDescription**](docs/DescriptionApi.md#deleteGlobalDescription) | **DELETE** /v1/description/{descriptionName} | Delete a global description record |
|
|
139
|
+
| _NotehubJs.DescriptionApi_ | [**deleteProjectDescription**](docs/DescriptionApi.md#deleteProjectDescription) | **DELETE** /v1/projects/{projectOrProductUID}/description/{descriptionName} | Delete a project description record |
|
|
140
|
+
| _NotehubJs.DescriptionApi_ | [**getGlobalDescription**](docs/DescriptionApi.md#getGlobalDescription) | **GET** /v1/description/{descriptionName} | Get a global description record |
|
|
141
|
+
| _NotehubJs.DescriptionApi_ | [**getProjectDescription**](docs/DescriptionApi.md#getProjectDescription) | **GET** /v1/projects/{projectOrProductUID}/description/{descriptionName} | Get a project description record |
|
|
142
|
+
| _NotehubJs.DescriptionApi_ | [**listGlobalDescriptions**](docs/DescriptionApi.md#listGlobalDescriptions) | **GET** /v1/description | List global description records |
|
|
143
|
+
| _NotehubJs.DescriptionApi_ | [**listProjectDescriptions**](docs/DescriptionApi.md#listProjectDescriptions) | **GET** /v1/projects/{projectOrProductUID}/description | List a project's description records |
|
|
144
|
+
| _NotehubJs.DescriptionApi_ | [**setGlobalDescription**](docs/DescriptionApi.md#setGlobalDescription) | **POST** /v1/description/{descriptionName} | Create or replace a global description record |
|
|
145
|
+
| _NotehubJs.DescriptionApi_ | [**setProjectDescription**](docs/DescriptionApi.md#setProjectDescription) | **POST** /v1/projects/{projectOrProductUID}/description/{descriptionName} | Create or replace a project description record |
|
|
146
146
|
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} | Add a note to a .db notefile |
|
|
147
147
|
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} | Queue a note for a Notecard |
|
|
148
148
|
| _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} | Create an empty notefile |
|
|
@@ -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
|
/**
|
|
@@ -45,8 +45,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Delete a global description record
|
|
49
|
-
*
|
|
48
|
+
* Delete a global description record
|
|
49
|
+
* Delete one platform-wide description record. Blues staff only; returns 403 for anyone else. Returns 404 if the record doesn't exist.
|
|
50
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
50
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
51
52
|
*/
|
|
52
53
|
return _createClass(DescriptionApi, [{
|
|
@@ -71,8 +72,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
|
-
* Delete a global description record
|
|
75
|
-
*
|
|
75
|
+
* Delete a global description record
|
|
76
|
+
* Delete one platform-wide description record. Blues staff only; returns 403 for anyone else. Returns 404 if the record doesn't exist.
|
|
77
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
76
78
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
77
79
|
*/
|
|
78
80
|
}, {
|
|
@@ -84,9 +86,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
/**
|
|
87
|
-
* Delete a project description record
|
|
89
|
+
* Delete a project description record
|
|
90
|
+
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
88
91
|
* @param {String} projectOrProductUID
|
|
89
|
-
* @param {String} descriptionName
|
|
92
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
90
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
91
94
|
*/
|
|
92
95
|
}, {
|
|
@@ -116,9 +119,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
116
119
|
}
|
|
117
120
|
|
|
118
121
|
/**
|
|
119
|
-
* Delete a project description record
|
|
122
|
+
* Delete a project description record
|
|
123
|
+
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
120
124
|
* @param {String} projectOrProductUID
|
|
121
|
-
* @param {String} descriptionName
|
|
125
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
122
126
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
123
127
|
*/
|
|
124
128
|
}, {
|
|
@@ -130,8 +134,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
/**
|
|
133
|
-
* Get a global description record
|
|
134
|
-
*
|
|
137
|
+
* Get a global description record
|
|
138
|
+
* Get the content of one platform-wide description record, served with the Content-Type it was stored with. Any signed-in user can read it. Returns 404 if the record doesn't exist.
|
|
139
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
135
140
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
136
141
|
*/
|
|
137
142
|
}, {
|
|
@@ -156,8 +161,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
156
161
|
}
|
|
157
162
|
|
|
158
163
|
/**
|
|
159
|
-
* Get a global description record
|
|
160
|
-
*
|
|
164
|
+
* Get a global description record
|
|
165
|
+
* Get the content of one platform-wide description record, served with the Content-Type it was stored with. Any signed-in user can read it. Returns 404 if the record doesn't exist.
|
|
166
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
161
167
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
162
168
|
*/
|
|
163
169
|
}, {
|
|
@@ -169,9 +175,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
/**
|
|
172
|
-
* Get a project description record
|
|
178
|
+
* Get a project description record
|
|
179
|
+
* Get the content of one of a project's description records, served with the Content-Type it was stored with. For the metadata of every record, use `ListProjectDescriptions`. Returns 404 if the record doesn't exist.
|
|
173
180
|
* @param {String} projectOrProductUID
|
|
174
|
-
* @param {String} descriptionName
|
|
181
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
175
182
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
176
183
|
*/
|
|
177
184
|
}, {
|
|
@@ -201,9 +208,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
208
|
}
|
|
202
209
|
|
|
203
210
|
/**
|
|
204
|
-
* Get a project description record
|
|
211
|
+
* Get a project description record
|
|
212
|
+
* Get the content of one of a project's description records, served with the Content-Type it was stored with. For the metadata of every record, use `ListProjectDescriptions`. Returns 404 if the record doesn't exist.
|
|
205
213
|
* @param {String} projectOrProductUID
|
|
206
|
-
* @param {String} descriptionName
|
|
214
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
207
215
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
208
216
|
*/
|
|
209
217
|
}, {
|
|
@@ -215,7 +223,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
/**
|
|
218
|
-
* List
|
|
226
|
+
* List global description records
|
|
227
|
+
* List the platform-wide description records that Blues publishes, without their content. Any signed-in user can read them. For a project's own records, use `ListProjectDescriptions`.
|
|
219
228
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
220
229
|
*/
|
|
221
230
|
}, {
|
|
@@ -234,7 +243,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
234
243
|
}
|
|
235
244
|
|
|
236
245
|
/**
|
|
237
|
-
* List
|
|
246
|
+
* List global description records
|
|
247
|
+
* List the platform-wide description records that Blues publishes, without their content. Any signed-in user can read them. For a project's own records, use `ListProjectDescriptions`.
|
|
238
248
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
239
249
|
*/
|
|
240
250
|
}, {
|
|
@@ -246,7 +256,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
246
256
|
}
|
|
247
257
|
|
|
248
258
|
/**
|
|
249
|
-
* List
|
|
259
|
+
* List a project's description records
|
|
260
|
+
* List a project's description records by name, with each one's content type, size and change history but not its content. A description record is a named document, such as Markdown, JSON or plain text, that explains the project's data. For Blues' platform-wide records, use `ListGlobalDescriptions`.
|
|
250
261
|
* @param {String} projectOrProductUID
|
|
251
262
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
252
263
|
*/
|
|
@@ -272,7 +283,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
272
283
|
}
|
|
273
284
|
|
|
274
285
|
/**
|
|
275
|
-
* List
|
|
286
|
+
* List a project's description records
|
|
287
|
+
* List a project's description records by name, with each one's content type, size and change history but not its content. A description record is a named document, such as Markdown, JSON or plain text, that explains the project's data. For Blues' platform-wide records, use `ListGlobalDescriptions`.
|
|
276
288
|
* @param {String} projectOrProductUID
|
|
277
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
278
290
|
*/
|
|
@@ -285,9 +297,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
285
297
|
}
|
|
286
298
|
|
|
287
299
|
/**
|
|
288
|
-
* Create or replace a global description record
|
|
289
|
-
*
|
|
290
|
-
* @param {
|
|
300
|
+
* Create or replace a global description record
|
|
301
|
+
* Store a platform-wide named document that every signed-in user can read, replacing any record with that name. The Content-Type is handled as in `SetProjectDescription`. Blues staff only; returns 403 for anyone else. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
302
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
303
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
291
304
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
292
305
|
*/
|
|
293
306
|
}, {
|
|
@@ -316,9 +329,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
316
329
|
}
|
|
317
330
|
|
|
318
331
|
/**
|
|
319
|
-
* Create or replace a global description record
|
|
320
|
-
*
|
|
321
|
-
* @param {
|
|
332
|
+
* Create or replace a global description record
|
|
333
|
+
* Store a platform-wide named document that every signed-in user can read, replacing any record with that name. The Content-Type is handled as in `SetProjectDescription`. Blues staff only; returns 403 for anyone else. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
334
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
335
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
322
336
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
323
337
|
*/
|
|
324
338
|
}, {
|
|
@@ -330,10 +344,11 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
330
344
|
}
|
|
331
345
|
|
|
332
346
|
/**
|
|
333
|
-
* Create or replace a project description record
|
|
347
|
+
* Create or replace a project description record
|
|
348
|
+
* Store a named document in a project, replacing any record with that name. The request's Content-Type is stored and served back by `GetProjectDescription`; if it's missing or `application/octet-stream`, the type is detected from the content. Requires the Owner or Developer role. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
334
349
|
* @param {String} projectOrProductUID
|
|
335
|
-
* @param {String} descriptionName
|
|
336
|
-
* @param {File} body The
|
|
350
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
351
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
337
352
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
338
353
|
*/
|
|
339
354
|
}, {
|
|
@@ -367,10 +382,11 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
367
382
|
}
|
|
368
383
|
|
|
369
384
|
/**
|
|
370
|
-
* Create or replace a project description record
|
|
385
|
+
* Create or replace a project description record
|
|
386
|
+
* Store a named document in a project, replacing any record with that name. The request's Content-Type is stored and served back by `GetProjectDescription`; if it's missing or `application/octet-stream`, the type is detected from the content. Requires the Owner or Developer role. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
371
387
|
* @param {String} projectOrProductUID
|
|
372
|
-
* @param {String} descriptionName
|
|
373
|
-
* @param {File} body The
|
|
388
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
389
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
374
390
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
375
391
|
*/
|
|
376
392
|
}, {
|
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
|
/**
|