@blues-inc/notehub-js 6.7.0-beta.50 → 6.7.0-beta.52
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 +16 -16
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +75 -105
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +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 +2 -1
- package/dist/model/CreatedRepository.js +5 -5
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +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 +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -2
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +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 +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +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.52
|
|
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
|
|
|
@@ -143,20 +143,20 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
143
143
|
| _NotehubJs.DescriptionApi_ | [**listProjectDescriptions**](docs/DescriptionApi.md#listProjectDescriptions) | **GET** /v1/projects/{projectOrProductUID}/description |
|
|
144
144
|
| _NotehubJs.DescriptionApi_ | [**setGlobalDescription**](docs/DescriptionApi.md#setGlobalDescription) | **POST** /v1/description/{descriptionName} |
|
|
145
145
|
| _NotehubJs.DescriptionApi_ | [**setProjectDescription**](docs/DescriptionApi.md#setProjectDescription) | **POST** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
|
|
146
|
-
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
147
|
-
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
148
|
-
| _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
|
|
146
|
+
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
147
|
+
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
148
|
+
| _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
|
|
149
149
|
| _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
150
|
-
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
151
|
-
| _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
152
|
-
| _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
150
|
+
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
151
|
+
| _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
152
|
+
| _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
153
153
|
| _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable |
|
|
154
154
|
| _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
|
|
155
|
-
| _NotehubJs.DeviceApi_ | [**getDbNote**](docs/DeviceApi.md#getDbNote) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
155
|
+
| _NotehubJs.DeviceApi_ | [**getDbNote**](docs/DeviceApi.md#getDbNote) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
156
156
|
| _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
157
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get a device
|
|
158
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
159
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
157
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get environment variable hierarchy for a device |
|
|
158
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
159
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
160
160
|
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
161
161
|
| _NotehubJs.DeviceApi_ | [**getDeviceJourney**](docs/DeviceApi.md#getDeviceJourney) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} |
|
|
162
162
|
| _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys |
|
|
@@ -167,13 +167,13 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
167
167
|
| _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
|
|
168
168
|
| _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices |
|
|
169
169
|
| _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices |
|
|
170
|
-
| _NotehubJs.DeviceApi_ | [**getNotefile**](docs/DeviceApi.md#getNotefile) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
171
|
-
| _NotehubJs.DeviceApi_ | [**listNotefiles**](docs/DeviceApi.md#listNotefiles) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
170
|
+
| _NotehubJs.DeviceApi_ | [**getNotefile**](docs/DeviceApi.md#getNotefile) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
171
|
+
| _NotehubJs.DeviceApi_ | [**listNotefiles**](docs/DeviceApi.md#listNotefiles) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
172
172
|
| _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision |
|
|
173
|
-
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariables**](docs/DeviceApi.md#setDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
174
|
-
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
173
|
+
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariables**](docs/DeviceApi.md#setDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
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
|
-
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
176
|
+
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
177
177
|
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
178
178
|
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
179
179
|
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
|
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.52
|
|
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.52/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.52
|
|
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.52
|
|
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.52
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
48
48
|
/**
|
|
49
49
|
* Device service.
|
|
50
50
|
* @module api/DeviceApi
|
|
51
|
-
* @version 6.7.0-beta.
|
|
51
|
+
* @version 6.7.0-beta.52
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
|
@@ -64,12 +64,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Add a
|
|
68
|
-
* Add a note with the given ID to a database notefile on a device, synced to the Notecard on its next sync. To change an existing note, use `UpdateDbNote`; to queue a note in a `.qi` notefile, use `AddQiNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
67
|
+
* Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
|
|
69
68
|
* @param {String} projectOrProductUID
|
|
70
69
|
* @param {String} deviceUID
|
|
71
|
-
* @param {String} notefileID
|
|
72
|
-
* @param {String} noteID
|
|
70
|
+
* @param {String} notefileID
|
|
71
|
+
* @param {String} noteID
|
|
73
72
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
74
73
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
75
74
|
*/
|
|
@@ -114,12 +113,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
/**
|
|
117
|
-
* Add a
|
|
118
|
-
* Add a note with the given ID to a database notefile on a device, synced to the Notecard on its next sync. To change an existing note, use `UpdateDbNote`; to queue a note in a `.qi` notefile, use `AddQiNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
116
|
+
* Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
|
|
119
117
|
* @param {String} projectOrProductUID
|
|
120
118
|
* @param {String} deviceUID
|
|
121
|
-
* @param {String} notefileID
|
|
122
|
-
* @param {String} noteID
|
|
119
|
+
* @param {String} notefileID
|
|
120
|
+
* @param {String} noteID
|
|
123
121
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
124
122
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
125
123
|
*/
|
|
@@ -132,11 +130,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
132
130
|
}
|
|
133
131
|
|
|
134
132
|
/**
|
|
135
|
-
*
|
|
136
|
-
* Add a note to an inbound queue (`.qi`) notefile on a device, creating the notefile if needed. The Notecard receives it on its next sync. For a `.db` notefile, use `AddDbNote`; to reach a connected Notecard immediately, use `SignalDevice`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.qi` or `.qis`, or if `payload` isn't valid base64.
|
|
133
|
+
* Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
|
|
137
134
|
* @param {String} projectOrProductUID
|
|
138
135
|
* @param {String} deviceUID
|
|
139
|
-
* @param {String} notefileID
|
|
136
|
+
* @param {String} notefileID
|
|
140
137
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
141
138
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
142
139
|
*/
|
|
@@ -176,11 +173,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
176
173
|
}
|
|
177
174
|
|
|
178
175
|
/**
|
|
179
|
-
*
|
|
180
|
-
* Add a note to an inbound queue (`.qi`) notefile on a device, creating the notefile if needed. The Notecard receives it on its next sync. For a `.db` notefile, use `AddDbNote`; to reach a connected Notecard immediately, use `SignalDevice`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.qi` or `.qis`, or if `payload` isn't valid base64.
|
|
176
|
+
* Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
|
|
181
177
|
* @param {String} projectOrProductUID
|
|
182
178
|
* @param {String} deviceUID
|
|
183
|
-
* @param {String} notefileID
|
|
179
|
+
* @param {String} notefileID
|
|
184
180
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
185
181
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
186
182
|
*/
|
|
@@ -193,11 +189,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
193
189
|
}
|
|
194
190
|
|
|
195
191
|
/**
|
|
196
|
-
*
|
|
197
|
-
* Create an empty notefile on a device. `AddQiNote` creates a notefile when needed, so this is only required for an empty one. Requires the Owner or Developer role. Returns 400 if the notefile already exists.
|
|
192
|
+
* Creates an empty Notefile on the device.
|
|
198
193
|
* @param {String} projectOrProductUID
|
|
199
194
|
* @param {String} deviceUID
|
|
200
|
-
* @param {String} notefileID
|
|
195
|
+
* @param {String} notefileID
|
|
201
196
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
202
197
|
*/
|
|
203
198
|
}, {
|
|
@@ -232,11 +227,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
232
227
|
}
|
|
233
228
|
|
|
234
229
|
/**
|
|
235
|
-
*
|
|
236
|
-
* Create an empty notefile on a device. `AddQiNote` creates a notefile when needed, so this is only required for an empty one. Requires the Owner or Developer role. Returns 400 if the notefile already exists.
|
|
230
|
+
* Creates an empty Notefile on the device.
|
|
237
231
|
* @param {String} projectOrProductUID
|
|
238
232
|
* @param {String} deviceUID
|
|
239
|
-
* @param {String} notefileID
|
|
233
|
+
* @param {String} notefileID
|
|
240
234
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
241
235
|
*/
|
|
242
236
|
}, {
|
|
@@ -294,8 +288,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
294
288
|
}
|
|
295
289
|
|
|
296
290
|
/**
|
|
297
|
-
* Delete a device
|
|
298
|
-
* Delete one device environment variable and return the ones left. Fleet and project variables with the same name then apply. Deleting a variable that doesn't exist succeeds. Requires the Owner or Developer role.
|
|
291
|
+
* Delete environment variable of a device
|
|
299
292
|
* @param {String} projectOrProductUID
|
|
300
293
|
* @param {String} deviceUID
|
|
301
294
|
* @param {String} key The environment variable key to delete.
|
|
@@ -333,8 +326,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
333
326
|
}
|
|
334
327
|
|
|
335
328
|
/**
|
|
336
|
-
* Delete a device
|
|
337
|
-
* Delete one device environment variable and return the ones left. Fleet and project variables with the same name then apply. Deleting a variable that doesn't exist succeeds. Requires the Owner or Developer role.
|
|
329
|
+
* Delete environment variable of a device
|
|
338
330
|
* @param {String} projectOrProductUID
|
|
339
331
|
* @param {String} deviceUID
|
|
340
332
|
* @param {String} key The environment variable key to delete.
|
|
@@ -349,12 +341,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
349
341
|
}
|
|
350
342
|
|
|
351
343
|
/**
|
|
352
|
-
* Delete a note
|
|
353
|
-
* Delete one note from a notefile on a device. To delete whole notefiles, use `DeleteNotefiles`. Requires the Owner or Developer role.
|
|
344
|
+
* Delete a note from a .db or .qi notefile
|
|
354
345
|
* @param {String} projectOrProductUID
|
|
355
346
|
* @param {String} deviceUID
|
|
356
|
-
* @param {String} notefileID
|
|
357
|
-
* @param {String} noteID
|
|
347
|
+
* @param {String} notefileID
|
|
348
|
+
* @param {String} noteID
|
|
358
349
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
359
350
|
*/
|
|
360
351
|
}, {
|
|
@@ -394,12 +385,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
394
385
|
}
|
|
395
386
|
|
|
396
387
|
/**
|
|
397
|
-
* Delete a note
|
|
398
|
-
* Delete one note from a notefile on a device. To delete whole notefiles, use `DeleteNotefiles`. Requires the Owner or Developer role.
|
|
388
|
+
* Delete a note from a .db or .qi notefile
|
|
399
389
|
* @param {String} projectOrProductUID
|
|
400
390
|
* @param {String} deviceUID
|
|
401
|
-
* @param {String} notefileID
|
|
402
|
-
* @param {String} noteID
|
|
391
|
+
* @param {String} notefileID
|
|
392
|
+
* @param {String} noteID
|
|
403
393
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
404
394
|
*/
|
|
405
395
|
}, {
|
|
@@ -411,11 +401,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
411
401
|
}
|
|
412
402
|
|
|
413
403
|
/**
|
|
414
|
-
*
|
|
415
|
-
* Delete notefiles and all their notes from a device. To delete one note, use `DeleteNote`. Requires the Owner or Developer role. Returns 400 if `files` is empty.
|
|
404
|
+
* Deletes Notefiles and the Notes they contain.
|
|
416
405
|
* @param {String} projectOrProductUID
|
|
417
406
|
* @param {String} deviceUID
|
|
418
|
-
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
407
|
+
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
419
408
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
420
409
|
*/
|
|
421
410
|
}, {
|
|
@@ -449,11 +438,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
449
438
|
}
|
|
450
439
|
|
|
451
440
|
/**
|
|
452
|
-
*
|
|
453
|
-
* Delete notefiles and all their notes from a device. To delete one note, use `DeleteNote`. Requires the Owner or Developer role. Returns 400 if `files` is empty.
|
|
441
|
+
* Deletes Notefiles and the Notes they contain.
|
|
454
442
|
* @param {String} projectOrProductUID
|
|
455
443
|
* @param {String} deviceUID
|
|
456
|
-
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
444
|
+
* @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
|
|
457
445
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
458
446
|
*/
|
|
459
447
|
}, {
|
|
@@ -557,15 +545,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
557
545
|
}
|
|
558
546
|
|
|
559
547
|
/**
|
|
560
|
-
* Get a note
|
|
561
|
-
* Get one note's body, payload and time from a notefile on a device. To get every note in a notefile, use `GetNotefile`. With `delete=true`, the note is deleted after it is read, which requires the Owner or Developer role.
|
|
548
|
+
* Get a note from a .db or .qi notefile
|
|
562
549
|
* @param {String} projectOrProductUID
|
|
563
550
|
* @param {String} deviceUID
|
|
564
|
-
* @param {String} notefileID
|
|
565
|
-
* @param {String} noteID
|
|
551
|
+
* @param {String} notefileID
|
|
552
|
+
* @param {String} noteID
|
|
566
553
|
* @param {Object} opts Optional parameters
|
|
567
|
-
* @param {Boolean} opts._delete
|
|
568
|
-
* @param {Boolean} opts.deleted
|
|
554
|
+
* @param {Boolean} opts._delete Whether to delete the note from the DB notefile
|
|
555
|
+
* @param {Boolean} opts.deleted Whether to return deleted notes
|
|
569
556
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDbNote200Response} and HTTP response
|
|
570
557
|
*/
|
|
571
558
|
}, {
|
|
@@ -609,15 +596,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
609
596
|
}
|
|
610
597
|
|
|
611
598
|
/**
|
|
612
|
-
* Get a note
|
|
613
|
-
* Get one note's body, payload and time from a notefile on a device. To get every note in a notefile, use `GetNotefile`. With `delete=true`, the note is deleted after it is read, which requires the Owner or Developer role.
|
|
599
|
+
* Get a note from a .db or .qi notefile
|
|
614
600
|
* @param {String} projectOrProductUID
|
|
615
601
|
* @param {String} deviceUID
|
|
616
|
-
* @param {String} notefileID
|
|
617
|
-
* @param {String} noteID
|
|
602
|
+
* @param {String} notefileID
|
|
603
|
+
* @param {String} noteID
|
|
618
604
|
* @param {Object} opts Optional parameters
|
|
619
|
-
* @param {Boolean} opts._delete
|
|
620
|
-
* @param {Boolean} opts.deleted
|
|
605
|
+
* @param {Boolean} opts._delete Whether to delete the note from the DB notefile
|
|
606
|
+
* @param {Boolean} opts.deleted Whether to return deleted notes
|
|
621
607
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDbNote200Response}
|
|
622
608
|
*/
|
|
623
609
|
}, {
|
|
@@ -675,8 +661,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
675
661
|
}
|
|
676
662
|
|
|
677
663
|
/**
|
|
678
|
-
* Get a device
|
|
679
|
-
* Get a device's environment variables and the fleet and project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. For just the resolved values, use `GetDeviceEnvironmentVariables`.
|
|
664
|
+
* Get environment variable hierarchy for a device
|
|
680
665
|
* @param {String} projectOrProductUID
|
|
681
666
|
* @param {String} deviceUID
|
|
682
667
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
|
|
@@ -708,8 +693,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
708
693
|
}
|
|
709
694
|
|
|
710
695
|
/**
|
|
711
|
-
* Get a device
|
|
712
|
-
* Get a device's environment variables and the fleet and project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. For just the resolved values, use `GetDeviceEnvironmentVariables`.
|
|
696
|
+
* Get environment variable hierarchy for a device
|
|
713
697
|
* @param {String} projectOrProductUID
|
|
714
698
|
* @param {String} deviceUID
|
|
715
699
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
|
|
@@ -723,8 +707,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
723
707
|
}
|
|
724
708
|
|
|
725
709
|
/**
|
|
726
|
-
* Get
|
|
727
|
-
* Get a device's own environment variables, its `env.default` values, and its effective values. Effective values merge in project and fleet variables, which device variables override. To see where each value comes from, use `GetDeviceEnvironmentHierarchy`.
|
|
710
|
+
* Get environment variables of a device
|
|
728
711
|
* @param {String} projectOrProductUID
|
|
729
712
|
* @param {String} deviceUID
|
|
730
713
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
|
|
@@ -756,8 +739,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
756
739
|
}
|
|
757
740
|
|
|
758
741
|
/**
|
|
759
|
-
* Get
|
|
760
|
-
* Get a device's own environment variables, its `env.default` values, and its effective values. Effective values merge in project and fleet variables, which device variables override. To see where each value comes from, use `GetDeviceEnvironmentHierarchy`.
|
|
742
|
+
* Get environment variables of a device
|
|
761
743
|
* @param {String} projectOrProductUID
|
|
762
744
|
* @param {String} deviceUID
|
|
763
745
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
|
|
@@ -771,11 +753,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
771
753
|
}
|
|
772
754
|
|
|
773
755
|
/**
|
|
774
|
-
* Get
|
|
775
|
-
* Get a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Made for device dashboard pages; with a token, use `GetDeviceEnvironmentVariables`, which also returns effective values. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
756
|
+
* Get environment variables of a device with device pin authorization
|
|
776
757
|
* @param {String} productUID
|
|
777
758
|
* @param {String} deviceUID
|
|
778
|
-
* @param {String} xAuthToken
|
|
759
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
779
760
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
|
|
780
761
|
*/
|
|
781
762
|
}, {
|
|
@@ -811,11 +792,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
811
792
|
}
|
|
812
793
|
|
|
813
794
|
/**
|
|
814
|
-
* Get
|
|
815
|
-
* Get a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Made for device dashboard pages; with a token, use `GetDeviceEnvironmentVariables`, which also returns effective values. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
795
|
+
* Get environment variables of a device with device pin authorization
|
|
816
796
|
* @param {String} productUID
|
|
817
797
|
* @param {String} deviceUID
|
|
818
|
-
* @param {String} xAuthToken
|
|
798
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
819
799
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
|
|
820
800
|
*/
|
|
821
801
|
}, {
|
|
@@ -1425,15 +1405,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1425
1405
|
}
|
|
1426
1406
|
|
|
1427
1407
|
/**
|
|
1428
|
-
*
|
|
1429
|
-
* Get the notes in one notefile on a device. For a `.qi` notefile, that's the notes still queued; for a `.db` notefile, every note. To list all of a device's notefiles with their notes, use `ListNotefiles`. With `delete=true`, the returned notes are deleted, which requires the Owner or Developer role. Returns 400 if `notefileID` has no valid notefile extension.
|
|
1408
|
+
* For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
|
|
1430
1409
|
* @param {String} projectOrProductUID
|
|
1431
1410
|
* @param {String} deviceUID
|
|
1432
|
-
* @param {String} notefileID
|
|
1411
|
+
* @param {String} notefileID
|
|
1433
1412
|
* @param {Object} opts Optional parameters
|
|
1434
|
-
* @param {Number} opts.max The
|
|
1435
|
-
* @param {Boolean} opts.deleted
|
|
1436
|
-
* @param {Boolean} opts._delete
|
|
1413
|
+
* @param {Number} opts.max The maximum number of Notes to return in the request.
|
|
1414
|
+
* @param {Boolean} opts.deleted true to return deleted notes.
|
|
1415
|
+
* @param {Boolean} opts._delete true to delete the notes returned by the request.
|
|
1437
1416
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetNotefile200Response} and HTTP response
|
|
1438
1417
|
*/
|
|
1439
1418
|
}, {
|
|
@@ -1473,15 +1452,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1473
1452
|
}
|
|
1474
1453
|
|
|
1475
1454
|
/**
|
|
1476
|
-
*
|
|
1477
|
-
* Get the notes in one notefile on a device. For a `.qi` notefile, that's the notes still queued; for a `.db` notefile, every note. To list all of a device's notefiles with their notes, use `ListNotefiles`. With `delete=true`, the returned notes are deleted, which requires the Owner or Developer role. Returns 400 if `notefileID` has no valid notefile extension.
|
|
1455
|
+
* For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
|
|
1478
1456
|
* @param {String} projectOrProductUID
|
|
1479
1457
|
* @param {String} deviceUID
|
|
1480
|
-
* @param {String} notefileID
|
|
1458
|
+
* @param {String} notefileID
|
|
1481
1459
|
* @param {Object} opts Optional parameters
|
|
1482
|
-
* @param {Number} opts.max The
|
|
1483
|
-
* @param {Boolean} opts.deleted
|
|
1484
|
-
* @param {Boolean} opts._delete
|
|
1460
|
+
* @param {Number} opts.max The maximum number of Notes to return in the request.
|
|
1461
|
+
* @param {Boolean} opts.deleted true to return deleted notes.
|
|
1462
|
+
* @param {Boolean} opts._delete true to delete the notes returned by the request.
|
|
1485
1463
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetNotefile200Response}
|
|
1486
1464
|
*/
|
|
1487
1465
|
}, {
|
|
@@ -1493,12 +1471,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1493
1471
|
}
|
|
1494
1472
|
|
|
1495
1473
|
/**
|
|
1496
|
-
*
|
|
1497
|
-
* List a device's notefiles with the notes in each, sorted `.qo`, then `.qi`, then `.db`. `.qo` notefiles are listed without notes, since Notehub empties them as it processes them. Most system notefiles (names starting with `_`) are left out. For one notefile, use `GetNotefile`.
|
|
1474
|
+
* Lists .qi and .db files for the device
|
|
1498
1475
|
* @param {String} projectOrProductUID
|
|
1499
1476
|
* @param {String} deviceUID
|
|
1500
1477
|
* @param {Object} opts Optional parameters
|
|
1501
|
-
* @param {Array.<String>} opts.files
|
|
1478
|
+
* @param {Array.<String>} opts.files One or more files to obtain change information from.
|
|
1502
1479
|
* @param {Boolean} opts.pending show only files that are pending sync to the Notecard
|
|
1503
1480
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Notefile>} and HTTP response
|
|
1504
1481
|
*/
|
|
@@ -1533,12 +1510,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1533
1510
|
}
|
|
1534
1511
|
|
|
1535
1512
|
/**
|
|
1536
|
-
*
|
|
1537
|
-
* List a device's notefiles with the notes in each, sorted `.qo`, then `.qi`, then `.db`. `.qo` notefiles are listed without notes, since Notehub empties them as it processes them. Most system notefiles (names starting with `_`) are left out. For one notefile, use `GetNotefile`.
|
|
1513
|
+
* Lists .qi and .db files for the device
|
|
1538
1514
|
* @param {String} projectOrProductUID
|
|
1539
1515
|
* @param {String} deviceUID
|
|
1540
1516
|
* @param {Object} opts Optional parameters
|
|
1541
|
-
* @param {Array.<String>} opts.files
|
|
1517
|
+
* @param {Array.<String>} opts.files One or more files to obtain change information from.
|
|
1542
1518
|
* @param {Boolean} opts.pending show only files that are pending sync to the Notecard
|
|
1543
1519
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Notefile>}
|
|
1544
1520
|
*/
|
|
@@ -1603,11 +1579,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1603
1579
|
}
|
|
1604
1580
|
|
|
1605
1581
|
/**
|
|
1606
|
-
* Set
|
|
1607
|
-
* Add or change a device's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
|
|
1582
|
+
* Set environment variables of a device
|
|
1608
1583
|
* @param {String} projectOrProductUID
|
|
1609
1584
|
* @param {String} deviceUID
|
|
1610
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1585
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1611
1586
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
1612
1587
|
*/
|
|
1613
1588
|
}, {
|
|
@@ -1641,11 +1616,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1641
1616
|
}
|
|
1642
1617
|
|
|
1643
1618
|
/**
|
|
1644
|
-
* Set
|
|
1645
|
-
* Add or change a device's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
|
|
1619
|
+
* Set environment variables of a device
|
|
1646
1620
|
* @param {String} projectOrProductUID
|
|
1647
1621
|
* @param {String} deviceUID
|
|
1648
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1622
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1649
1623
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
1650
1624
|
*/
|
|
1651
1625
|
}, {
|
|
@@ -1657,12 +1631,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1657
1631
|
}
|
|
1658
1632
|
|
|
1659
1633
|
/**
|
|
1660
|
-
* Set
|
|
1661
|
-
* Add or change a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Works like `SetDeviceEnvironmentVariables`: a value of `\"\"` or `-` deletes that variable. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
1634
|
+
* Set environment variables of a device with device pin authorization
|
|
1662
1635
|
* @param {String} productUID
|
|
1663
1636
|
* @param {String} deviceUID
|
|
1664
|
-
* @param {String} xAuthToken
|
|
1665
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1637
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
1638
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1666
1639
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
|
|
1667
1640
|
*/
|
|
1668
1641
|
}, {
|
|
@@ -1702,12 +1675,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1702
1675
|
}
|
|
1703
1676
|
|
|
1704
1677
|
/**
|
|
1705
|
-
* Set
|
|
1706
|
-
* Add or change a device's environment variables using its PIN instead of an API token. Pass the PIN in `X-Auth-Token`. Works like `SetDeviceEnvironmentVariables`: a value of `\"\"` or `-` deletes that variable. Returns 401 if the project's device dashboard URL has no `[pin]`, or the PIN is wrong.
|
|
1678
|
+
* Set environment variables of a device with device pin authorization
|
|
1707
1679
|
* @param {String} productUID
|
|
1708
1680
|
* @param {String} deviceUID
|
|
1709
|
-
* @param {String} xAuthToken
|
|
1710
|
-
* @param {module:model/EnvironmentVariables} environmentVariables
|
|
1681
|
+
* @param {String} xAuthToken For accessing endpoints by Device pin.
|
|
1682
|
+
* @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
|
|
1711
1683
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
|
|
1712
1684
|
*/
|
|
1713
1685
|
}, {
|
|
@@ -1771,12 +1743,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1771
1743
|
}
|
|
1772
1744
|
|
|
1773
1745
|
/**
|
|
1774
|
-
* Update a note in a .db notefile
|
|
1775
|
-
* Replace the body and payload of a note in a database notefile on a device, synced to the Notecard on its next sync. To add a new note, use `AddDbNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
1746
|
+
* Update a note in a .db or .qi notefile
|
|
1776
1747
|
* @param {String} projectOrProductUID
|
|
1777
1748
|
* @param {String} deviceUID
|
|
1778
|
-
* @param {String} notefileID
|
|
1779
|
-
* @param {String} noteID
|
|
1749
|
+
* @param {String} notefileID
|
|
1750
|
+
* @param {String} noteID
|
|
1780
1751
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
1781
1752
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1782
1753
|
*/
|
|
@@ -1821,12 +1792,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1821
1792
|
}
|
|
1822
1793
|
|
|
1823
1794
|
/**
|
|
1824
|
-
* Update a note in a .db notefile
|
|
1825
|
-
* Replace the body and payload of a note in a database notefile on a device, synced to the Notecard on its next sync. To add a new note, use `AddDbNote`. Requires the Owner or Developer role. Returns 400 unless the notefile ends in `.db` or `.dbs`, or if `payload` isn't valid base64.
|
|
1795
|
+
* Update a note in a .db or .qi notefile
|
|
1826
1796
|
* @param {String} projectOrProductUID
|
|
1827
1797
|
* @param {String} deviceUID
|
|
1828
|
-
* @param {String} notefileID
|
|
1829
|
-
* @param {String} noteID
|
|
1798
|
+
* @param {String} notefileID
|
|
1799
|
+
* @param {String} noteID
|
|
1830
1800
|
* @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
|
|
1831
1801
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1832
1802
|
*/
|
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.52
|
|
33
33
|
*/
|
|
34
34
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.52
|
|
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.52
|
|
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.52
|
|
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.52
|
|
34
34
|
*/
|
|
35
35
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|