@blues-inc/notehub-js 6.7.0-beta.55 → 6.7.0-beta.57
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 +33 -49
- 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/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.57
|
|
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} |
|
|
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} |
|
|
146
146
|
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
147
147
|
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
148
148
|
| _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
|
|
@@ -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 |
|
|
175
175
|
| _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
|
|
176
176
|
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
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} |
|
|
243
243
|
| _NotehubJs.ProjectApi_ | [**updateProjectSecret**](docs/ProjectApi.md#updateProjectSecret) | **PUT** /v1/projects/{projectOrProductUID}/secrets/{secretName} |
|
|
244
244
|
| _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
|
|
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.57
|
|
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.57/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.57
|
|
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.57
|
|
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.57
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,9 +45,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Delete a global description record
|
|
49
|
-
*
|
|
50
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
48
|
+
* Delete a global description record by name (Blues staff only).
|
|
49
|
+
* @param {String} descriptionName
|
|
51
50
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
52
51
|
*/
|
|
53
52
|
return _createClass(DescriptionApi, [{
|
|
@@ -72,9 +71,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
/**
|
|
75
|
-
* Delete a global description record
|
|
76
|
-
*
|
|
77
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
74
|
+
* Delete a global description record by name (Blues staff only).
|
|
75
|
+
* @param {String} descriptionName
|
|
78
76
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
79
77
|
*/
|
|
80
78
|
}, {
|
|
@@ -86,10 +84,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
/**
|
|
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.
|
|
87
|
+
* Delete a project description record by name.
|
|
91
88
|
* @param {String} projectOrProductUID
|
|
92
|
-
* @param {String} descriptionName
|
|
89
|
+
* @param {String} descriptionName
|
|
93
90
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
94
91
|
*/
|
|
95
92
|
}, {
|
|
@@ -119,10 +116,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
119
116
|
}
|
|
120
117
|
|
|
121
118
|
/**
|
|
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.
|
|
119
|
+
* Delete a project description record by name.
|
|
124
120
|
* @param {String} projectOrProductUID
|
|
125
|
-
* @param {String} descriptionName
|
|
121
|
+
* @param {String} descriptionName
|
|
126
122
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
127
123
|
*/
|
|
128
124
|
}, {
|
|
@@ -134,9 +130,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
130
|
}
|
|
135
131
|
|
|
136
132
|
/**
|
|
137
|
-
* Get a global description record
|
|
138
|
-
*
|
|
139
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
133
|
+
* Get a global description record. Returns the raw content with its stored Content-Type.
|
|
134
|
+
* @param {String} descriptionName
|
|
140
135
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
141
136
|
*/
|
|
142
137
|
}, {
|
|
@@ -161,9 +156,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
161
156
|
}
|
|
162
157
|
|
|
163
158
|
/**
|
|
164
|
-
* Get a global description record
|
|
165
|
-
*
|
|
166
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
159
|
+
* Get a global description record. Returns the raw content with its stored Content-Type.
|
|
160
|
+
* @param {String} descriptionName
|
|
167
161
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
168
162
|
*/
|
|
169
163
|
}, {
|
|
@@ -175,10 +169,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
/**
|
|
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.
|
|
172
|
+
* Get a project description record. Returns the raw content with its stored Content-Type.
|
|
180
173
|
* @param {String} projectOrProductUID
|
|
181
|
-
* @param {String} descriptionName
|
|
174
|
+
* @param {String} descriptionName
|
|
182
175
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
183
176
|
*/
|
|
184
177
|
}, {
|
|
@@ -208,10 +201,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
208
201
|
}
|
|
209
202
|
|
|
210
203
|
/**
|
|
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.
|
|
204
|
+
* Get a project description record. Returns the raw content with its stored Content-Type.
|
|
213
205
|
* @param {String} projectOrProductUID
|
|
214
|
-
* @param {String} descriptionName
|
|
206
|
+
* @param {String} descriptionName
|
|
215
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
216
208
|
*/
|
|
217
209
|
}, {
|
|
@@ -223,8 +215,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
223
215
|
}
|
|
224
216
|
|
|
225
217
|
/**
|
|
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`.
|
|
218
|
+
* List metadata for all global description records.
|
|
228
219
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
229
220
|
*/
|
|
230
221
|
}, {
|
|
@@ -243,8 +234,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
234
|
}
|
|
244
235
|
|
|
245
236
|
/**
|
|
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`.
|
|
237
|
+
* List metadata for all global description records.
|
|
248
238
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
249
239
|
*/
|
|
250
240
|
}, {
|
|
@@ -256,8 +246,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
256
246
|
}
|
|
257
247
|
|
|
258
248
|
/**
|
|
259
|
-
* List
|
|
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`.
|
|
249
|
+
* List metadata for all description records in a project.
|
|
261
250
|
* @param {String} projectOrProductUID
|
|
262
251
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
263
252
|
*/
|
|
@@ -283,8 +272,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
283
272
|
}
|
|
284
273
|
|
|
285
274
|
/**
|
|
286
|
-
* List
|
|
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`.
|
|
275
|
+
* List metadata for all description records in a project.
|
|
288
276
|
* @param {String} projectOrProductUID
|
|
289
277
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
290
278
|
*/
|
|
@@ -297,10 +285,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
297
285
|
}
|
|
298
286
|
|
|
299
287
|
/**
|
|
300
|
-
* Create or replace a global description record
|
|
301
|
-
*
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
288
|
+
* Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
289
|
+
* @param {String} descriptionName
|
|
290
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
304
291
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
305
292
|
*/
|
|
306
293
|
}, {
|
|
@@ -329,10 +316,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
329
316
|
}
|
|
330
317
|
|
|
331
318
|
/**
|
|
332
|
-
* Create or replace a global description record
|
|
333
|
-
*
|
|
334
|
-
* @param {
|
|
335
|
-
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
319
|
+
* Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
320
|
+
* @param {String} descriptionName
|
|
321
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
336
322
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
337
323
|
*/
|
|
338
324
|
}, {
|
|
@@ -344,11 +330,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
344
330
|
}
|
|
345
331
|
|
|
346
332
|
/**
|
|
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.
|
|
333
|
+
* Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
349
334
|
* @param {String} projectOrProductUID
|
|
350
|
-
* @param {String} descriptionName
|
|
351
|
-
* @param {File} body The
|
|
335
|
+
* @param {String} descriptionName
|
|
336
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
352
337
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
353
338
|
*/
|
|
354
339
|
}, {
|
|
@@ -382,11 +367,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
382
367
|
}
|
|
383
368
|
|
|
384
369
|
/**
|
|
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.
|
|
370
|
+
* Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
387
371
|
* @param {String} projectOrProductUID
|
|
388
|
-
* @param {String} descriptionName
|
|
389
|
-
* @param {File} body The
|
|
372
|
+
* @param {String} descriptionName
|
|
373
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
390
374
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
391
375
|
*/
|
|
392
376
|
}, {
|
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.57
|
|
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.57
|
|
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.57
|
|
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.57
|
|
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.57
|
|
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.57
|
|
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.57
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|