@blues-inc/notehub-js 5.0.0 → 6.0.0
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 +101 -102
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -93
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +54 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +13 -1
- package/dist/api/WebhookApi.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/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.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/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/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.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/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteNotefilesRequest.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/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/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +10 -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/GetDeviceHealthLog200ResponseHealthLogInner.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/GetEventsByCursor200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +10 -1
- package/dist/model/GetSessionsUsage200Response.js +16 -5
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.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 +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/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.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/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/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.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/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/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +39 -39
- package/dist/model/UsageEventsData.js +19 -1
- package/dist/model/UsageEventsResponse.js +10 -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:
|
|
9
|
+
- Package version: 6.0.0
|
|
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
|
|
|
@@ -127,107 +127,106 @@ api.getAlerts(projectOrProductUID, opts).then(function(data) {
|
|
|
127
127
|
|
|
128
128
|
All URIs are relative to *https://api.notefile.net*
|
|
129
129
|
|
|
130
|
-
| Class | Method | HTTP request
|
|
131
|
-
| ------------------------------ | ---------------------------------------------------------------------------------------------- |
|
|
132
|
-
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts
|
|
133
|
-
| _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login
|
|
134
|
-
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token
|
|
135
|
-
| _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts
|
|
136
|
-
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}
|
|
137
|
-
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}
|
|
138
|
-
| _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}
|
|
139
|
-
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}
|
|
140
|
-
| _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}
|
|
141
|
-
| _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files
|
|
142
|
-
| _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable
|
|
143
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
144
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
145
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
146
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
147
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
148
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
149
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
150
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
151
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
152
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
153
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
154
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
155
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
156
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
157
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
158
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
159
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
160
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
161
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
162
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
163
|
-
| _NotehubJs.DeviceApi_ | [**
|
|
164
|
-
| _NotehubJs.
|
|
165
|
-
| _NotehubJs.
|
|
166
|
-
| _NotehubJs.EventApi_ | [**
|
|
167
|
-
| _NotehubJs.EventApi_ | [**
|
|
168
|
-
| _NotehubJs.EventApi_ | [**
|
|
169
|
-
| _NotehubJs.
|
|
170
|
-
| _NotehubJs.
|
|
171
|
-
| _NotehubJs.ExternalDevicesApi_ | [**
|
|
172
|
-
| _NotehubJs.
|
|
173
|
-
| _NotehubJs.
|
|
174
|
-
| _NotehubJs.MonitorApi_ | [**
|
|
175
|
-
| _NotehubJs.MonitorApi_ | [**
|
|
176
|
-
| _NotehubJs.MonitorApi_ | [**
|
|
177
|
-
| _NotehubJs.
|
|
178
|
-
| _NotehubJs.
|
|
179
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
180
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
181
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
182
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
183
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
184
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
185
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
186
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
187
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
188
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
189
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
190
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
191
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
192
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
193
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
194
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
195
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
196
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
197
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
198
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
199
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
200
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
201
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
202
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
203
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
204
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
205
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
206
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
207
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
208
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
209
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
210
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
211
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
212
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
213
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
214
|
-
| _NotehubJs.ProjectApi_ | [**
|
|
215
|
-
| _NotehubJs.
|
|
216
|
-
| _NotehubJs.RouteApi_ | [**
|
|
217
|
-
| _NotehubJs.RouteApi_ | [**
|
|
218
|
-
| _NotehubJs.RouteApi_ | [**
|
|
219
|
-
| _NotehubJs.RouteApi_ | [**
|
|
220
|
-
| _NotehubJs.RouteApi_ | [**
|
|
221
|
-
| _NotehubJs.
|
|
222
|
-
| _NotehubJs.UsageApi_ | [**
|
|
223
|
-
| _NotehubJs.UsageApi_ | [**
|
|
224
|
-
| _NotehubJs.UsageApi_ | [**
|
|
225
|
-
| _NotehubJs.
|
|
226
|
-
| _NotehubJs.WebhookApi_ | [**
|
|
227
|
-
| _NotehubJs.WebhookApi_ | [**
|
|
228
|
-
| _NotehubJs.WebhookApi_ | [**
|
|
229
|
-
| _NotehubJs.WebhookApi_ | [**
|
|
230
|
-
| _NotehubJs.WebhookApi_ | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
130
|
+
| Class | Method | HTTP request | Description |
|
|
131
|
+
| ------------------------------ | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
|
|
132
|
+
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts |
|
|
133
|
+
| _NotehubJs.AuthorizationApi_ | [**login**](docs/AuthorizationApi.md#login) | **POST** /auth/login |
|
|
134
|
+
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token | Issue an OAuth 2.0 access token (Client Credentials) |
|
|
135
|
+
| _NotehubJs.BillingAccountApi_ | [**getBillingAccounts**](docs/BillingAccountApi.md#getBillingAccounts) | **GET** /v1/billing-accounts |
|
|
136
|
+
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
137
|
+
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
138
|
+
| _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
139
|
+
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
140
|
+
| _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
141
|
+
| _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
142
|
+
| _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable |
|
|
143
|
+
| _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
|
|
144
|
+
| _NotehubJs.DeviceApi_ | [**getDbNote**](docs/DeviceApi.md#getDbNote) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
145
|
+
| _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
146
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get environment variable hierarchy for a device |
|
|
147
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
148
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
149
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
150
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
151
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
152
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
153
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePublicKeys**](docs/DeviceApi.md#getDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys |
|
|
154
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
|
|
155
|
+
| _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices |
|
|
156
|
+
| _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices |
|
|
157
|
+
| _NotehubJs.DeviceApi_ | [**getNotefile**](docs/DeviceApi.md#getNotefile) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
158
|
+
| _NotehubJs.DeviceApi_ | [**listNotefiles**](docs/DeviceApi.md#listNotefiles) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
159
|
+
| _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision |
|
|
160
|
+
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariables**](docs/DeviceApi.md#setDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
161
|
+
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
162
|
+
| _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
|
|
163
|
+
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
164
|
+
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
165
|
+
| _NotehubJs.EventApi_ | [**getEventsByCursor**](docs/EventApi.md#getEventsByCursor) | **GET** /v1/projects/{projectOrProductUID}/events-cursor |
|
|
166
|
+
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
167
|
+
| _NotehubJs.EventApi_ | [**getFleetEventsByCursor**](docs/EventApi.md#getFleetEventsByCursor) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events-cursor |
|
|
168
|
+
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
|
|
169
|
+
| _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event |
|
|
170
|
+
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close |
|
|
171
|
+
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open |
|
|
172
|
+
| _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectOrProductUID}/monitors |
|
|
173
|
+
| _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
174
|
+
| _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
175
|
+
| _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors |
|
|
176
|
+
| _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
177
|
+
| _NotehubJs.ProjectApi_ | [**addDeviceToFleets**](docs/ProjectApi.md#addDeviceToFleets) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
|
|
178
|
+
| _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectOrProductUID}/clone |
|
|
179
|
+
| _NotehubJs.ProjectApi_ | [**createFleet**](docs/ProjectApi.md#createFleet) | **POST** /v1/projects/{projectOrProductUID}/fleets |
|
|
180
|
+
| _NotehubJs.ProjectApi_ | [**createProduct**](docs/ProjectApi.md#createProduct) | **POST** /v1/projects/{projectOrProductUID}/products |
|
|
181
|
+
| _NotehubJs.ProjectApi_ | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /v1/projects |
|
|
182
|
+
| _NotehubJs.ProjectApi_ | [**deleteDeviceFromFleets**](docs/ProjectApi.md#deleteDeviceFromFleets) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
|
|
183
|
+
| _NotehubJs.ProjectApi_ | [**deleteFleet**](docs/ProjectApi.md#deleteFleet) | **DELETE** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
184
|
+
| _NotehubJs.ProjectApi_ | [**deleteFleetEnvironmentVariable**](docs/ProjectApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables/{key} |
|
|
185
|
+
| _NotehubJs.ProjectApi_ | [**deleteProduct**](docs/ProjectApi.md#deleteProduct) | **DELETE** /v1/projects/{projectOrProductUID}/products/{productUID} |
|
|
186
|
+
| _NotehubJs.ProjectApi_ | [**deleteProject**](docs/ProjectApi.md#deleteProject) | **DELETE** /v1/projects/{projectOrProductUID} |
|
|
187
|
+
| _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/environment_variables/{key} |
|
|
188
|
+
| _NotehubJs.ProjectApi_ | [**disableGlobalEventTransformation**](docs/ProjectApi.md#disableGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation/disable |
|
|
189
|
+
| _NotehubJs.ProjectApi_ | [**downloadFirmware**](docs/ProjectApi.md#downloadFirmware) | **GET** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
|
|
190
|
+
| _NotehubJs.ProjectApi_ | [**enableGlobalEventTransformation**](docs/ProjectApi.md#enableGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation/enable |
|
|
191
|
+
| _NotehubJs.ProjectApi_ | [**getDeviceDfuHistory**](docs/ProjectApi.md#getDeviceDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/history |
|
|
192
|
+
| _NotehubJs.ProjectApi_ | [**getDeviceDfuStatus**](docs/ProjectApi.md#getDeviceDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/status |
|
|
193
|
+
| _NotehubJs.ProjectApi_ | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
|
|
194
|
+
| _NotehubJs.ProjectApi_ | [**getDevicesDfuHistory**](docs/ProjectApi.md#getDevicesDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/history |
|
|
195
|
+
| _NotehubJs.ProjectApi_ | [**getDevicesDfuStatus**](docs/ProjectApi.md#getDevicesDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/status |
|
|
196
|
+
| _NotehubJs.ProjectApi_ | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectOrProductUID}/firmware |
|
|
197
|
+
| _NotehubJs.ProjectApi_ | [**getFleet**](docs/ProjectApi.md#getFleet) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
198
|
+
| _NotehubJs.ProjectApi_ | [**getFleetEnvironmentHierarchy**](docs/ProjectApi.md#getFleetEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_hierarchy | Get environment variable hierarchy for a device |
|
|
199
|
+
| _NotehubJs.ProjectApi_ | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables |
|
|
200
|
+
| _NotehubJs.ProjectApi_ | [**getFleets**](docs/ProjectApi.md#getFleets) | **GET** /v1/projects/{projectOrProductUID}/fleets |
|
|
201
|
+
| _NotehubJs.ProjectApi_ | [**getNotefileSchemas**](docs/ProjectApi.md#getNotefileSchemas) | **GET** /v1/projects/{projectOrProductUID}/schemas | Get variable format for a notefile |
|
|
202
|
+
| _NotehubJs.ProjectApi_ | [**getProducts**](docs/ProjectApi.md#getProducts) | **GET** /v1/projects/{projectOrProductUID}/products |
|
|
203
|
+
| _NotehubJs.ProjectApi_ | [**getProject**](docs/ProjectApi.md#getProject) | **GET** /v1/projects/{projectOrProductUID} |
|
|
204
|
+
| _NotehubJs.ProjectApi_ | [**getProjectByProduct**](docs/ProjectApi.md#getProjectByProduct) | **GET** /v1/products/{productUID}/project |
|
|
205
|
+
| _NotehubJs.ProjectApi_ | [**getProjectEnvironmentHierarchy**](docs/ProjectApi.md#getProjectEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/environment_hierarchy | Get environment variable hierarchy for a device |
|
|
206
|
+
| _NotehubJs.ProjectApi_ | [**getProjectEnvironmentVariables**](docs/ProjectApi.md#getProjectEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/environment_variables |
|
|
207
|
+
| _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectOrProductUID}/members |
|
|
208
|
+
| _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
|
|
209
|
+
| _NotehubJs.ProjectApi_ | [**performDfuAction**](docs/ProjectApi.md#performDfuAction) | **POST** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/{action} |
|
|
210
|
+
| _NotehubJs.ProjectApi_ | [**setFleetEnvironmentVariables**](docs/ProjectApi.md#setFleetEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables |
|
|
211
|
+
| _NotehubJs.ProjectApi_ | [**setGlobalEventTransformation**](docs/ProjectApi.md#setGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation |
|
|
212
|
+
| _NotehubJs.ProjectApi_ | [**setProjectEnvironmentVariables**](docs/ProjectApi.md#setProjectEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/environment_variables |
|
|
213
|
+
| _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
214
|
+
| _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
|
|
215
|
+
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
|
|
216
|
+
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
217
|
+
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
218
|
+
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
|
|
219
|
+
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
|
|
220
|
+
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
221
|
+
| _NotehubJs.UsageApi_ | [**getDataUsage**](docs/UsageApi.md#getDataUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/data |
|
|
222
|
+
| _NotehubJs.UsageApi_ | [**getEventsUsage**](docs/UsageApi.md#getEventsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/events |
|
|
223
|
+
| _NotehubJs.UsageApi_ | [**getRouteLogsUsage**](docs/UsageApi.md#getRouteLogsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/route-logs |
|
|
224
|
+
| _NotehubJs.UsageApi_ | [**getSessionsUsage**](docs/UsageApi.md#getSessionsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/sessions |
|
|
225
|
+
| _NotehubJs.WebhookApi_ | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
226
|
+
| _NotehubJs.WebhookApi_ | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
227
|
+
| _NotehubJs.WebhookApi_ | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
228
|
+
| _NotehubJs.WebhookApi_ | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{projectOrProductUID}/webhooks |
|
|
229
|
+
| _NotehubJs.WebhookApi_ | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
231
230
|
|
|
232
231
|
## Documentation for Models
|
|
233
232
|
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version
|
|
29
|
+
* @version 6.0.0
|
|
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/
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.0.0/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Authorization service.
|
|
32
32
|
* @module api/AuthorizationApi
|
|
33
|
-
* @version
|
|
33
|
+
* @version 6.0.0
|
|
34
34
|
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* BillingAccount service.
|
|
30
30
|
* @module api/BillingAccountApi
|
|
31
|
-
* @version
|
|
31
|
+
* @version 6.0.0
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
46
|
/**
|
|
47
47
|
* Device service.
|
|
48
48
|
* @module api/DeviceApi
|
|
49
|
-
* @version
|
|
49
|
+
* @version 6.0.0
|
|
50
50
|
*/
|
|
51
51
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
52
|
/**
|
|
@@ -443,52 +443,6 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
/**
|
|
447
|
-
* Disable Connectivity Assurance
|
|
448
|
-
* @param {String} projectOrProductUID
|
|
449
|
-
* @param {String} deviceUID
|
|
450
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
451
|
-
*/
|
|
452
|
-
}, {
|
|
453
|
-
key: "disableDeviceConnectivityAssuranceWithHttpInfo",
|
|
454
|
-
value: function disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
|
|
455
|
-
var postBody = null;
|
|
456
|
-
// verify the required parameter 'projectOrProductUID' is set
|
|
457
|
-
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
458
|
-
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling disableDeviceConnectivityAssurance");
|
|
459
|
-
}
|
|
460
|
-
// verify the required parameter 'deviceUID' is set
|
|
461
|
-
if (deviceUID === undefined || deviceUID === null) {
|
|
462
|
-
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDeviceConnectivityAssurance");
|
|
463
|
-
}
|
|
464
|
-
var pathParams = {
|
|
465
|
-
projectOrProductUID: projectOrProductUID,
|
|
466
|
-
deviceUID: deviceUID
|
|
467
|
-
};
|
|
468
|
-
var queryParams = {};
|
|
469
|
-
var headerParams = {};
|
|
470
|
-
var formParams = {};
|
|
471
|
-
var authNames = ["personalAccessToken"];
|
|
472
|
-
var contentTypes = [];
|
|
473
|
-
var accepts = ["application/json"];
|
|
474
|
-
var returnType = null;
|
|
475
|
-
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* Disable Connectivity Assurance
|
|
480
|
-
* @param {String} projectOrProductUID
|
|
481
|
-
* @param {String} deviceUID
|
|
482
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
483
|
-
*/
|
|
484
|
-
}, {
|
|
485
|
-
key: "disableDeviceConnectivityAssurance",
|
|
486
|
-
value: function disableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
|
|
487
|
-
return this.disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
|
|
488
|
-
return response_and_data.data;
|
|
489
|
-
});
|
|
490
|
-
}
|
|
491
|
-
|
|
492
446
|
/**
|
|
493
447
|
* Enable Device
|
|
494
448
|
* @param {String} projectOrProductUID
|
|
@@ -535,52 +489,6 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
535
489
|
});
|
|
536
490
|
}
|
|
537
491
|
|
|
538
|
-
/**
|
|
539
|
-
* Enable Connectivity Assurance
|
|
540
|
-
* @param {String} projectOrProductUID
|
|
541
|
-
* @param {String} deviceUID
|
|
542
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
543
|
-
*/
|
|
544
|
-
}, {
|
|
545
|
-
key: "enableDeviceConnectivityAssuranceWithHttpInfo",
|
|
546
|
-
value: function enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
|
|
547
|
-
var postBody = null;
|
|
548
|
-
// verify the required parameter 'projectOrProductUID' is set
|
|
549
|
-
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
550
|
-
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling enableDeviceConnectivityAssurance");
|
|
551
|
-
}
|
|
552
|
-
// verify the required parameter 'deviceUID' is set
|
|
553
|
-
if (deviceUID === undefined || deviceUID === null) {
|
|
554
|
-
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDeviceConnectivityAssurance");
|
|
555
|
-
}
|
|
556
|
-
var pathParams = {
|
|
557
|
-
projectOrProductUID: projectOrProductUID,
|
|
558
|
-
deviceUID: deviceUID
|
|
559
|
-
};
|
|
560
|
-
var queryParams = {};
|
|
561
|
-
var headerParams = {};
|
|
562
|
-
var formParams = {};
|
|
563
|
-
var authNames = ["personalAccessToken"];
|
|
564
|
-
var contentTypes = [];
|
|
565
|
-
var accepts = ["application/json"];
|
|
566
|
-
var returnType = null;
|
|
567
|
-
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
/**
|
|
571
|
-
* Enable Connectivity Assurance
|
|
572
|
-
* @param {String} projectOrProductUID
|
|
573
|
-
* @param {String} deviceUID
|
|
574
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
575
|
-
*/
|
|
576
|
-
}, {
|
|
577
|
-
key: "enableDeviceConnectivityAssurance",
|
|
578
|
-
value: function enableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
|
|
579
|
-
return this.enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
|
|
580
|
-
return response_and_data.data;
|
|
581
|
-
});
|
|
582
|
-
}
|
|
583
|
-
|
|
584
492
|
/**
|
|
585
493
|
* Get a note from a .db or .qi notefile
|
|
586
494
|
* @param {String} projectOrProductUID
|
package/dist/api/EventApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version
|
|
32
|
+
* @version 6.0.0
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
package/dist/api/ProjectApi.js
CHANGED
|
@@ -50,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
50
50
|
/**
|
|
51
51
|
* Project service.
|
|
52
52
|
* @module api/ProjectApi
|
|
53
|
-
* @version
|
|
53
|
+
* @version 6.0.0
|
|
54
54
|
*/
|
|
55
55
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
56
56
|
/**
|
|
@@ -610,6 +610,59 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
+
/**
|
|
614
|
+
* Download firmware binary
|
|
615
|
+
* @param {String} projectOrProductUID
|
|
616
|
+
* @param {module:model/String} firmwareType
|
|
617
|
+
* @param {String} filename
|
|
618
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
619
|
+
*/
|
|
620
|
+
}, {
|
|
621
|
+
key: "downloadFirmwareWithHttpInfo",
|
|
622
|
+
value: function downloadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename) {
|
|
623
|
+
var postBody = null;
|
|
624
|
+
// verify the required parameter 'projectOrProductUID' is set
|
|
625
|
+
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
626
|
+
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling downloadFirmware");
|
|
627
|
+
}
|
|
628
|
+
// verify the required parameter 'firmwareType' is set
|
|
629
|
+
if (firmwareType === undefined || firmwareType === null) {
|
|
630
|
+
throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling downloadFirmware");
|
|
631
|
+
}
|
|
632
|
+
// verify the required parameter 'filename' is set
|
|
633
|
+
if (filename === undefined || filename === null) {
|
|
634
|
+
throw new _Error["default"]("Missing the required parameter 'filename' when calling downloadFirmware");
|
|
635
|
+
}
|
|
636
|
+
var pathParams = {
|
|
637
|
+
projectOrProductUID: projectOrProductUID,
|
|
638
|
+
firmwareType: firmwareType,
|
|
639
|
+
filename: filename
|
|
640
|
+
};
|
|
641
|
+
var queryParams = {};
|
|
642
|
+
var headerParams = {};
|
|
643
|
+
var formParams = {};
|
|
644
|
+
var authNames = ["personalAccessToken"];
|
|
645
|
+
var contentTypes = [];
|
|
646
|
+
var accepts = ["application/octet-stream", "application/json"];
|
|
647
|
+
var returnType = File;
|
|
648
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Download firmware binary
|
|
653
|
+
* @param {String} projectOrProductUID
|
|
654
|
+
* @param {module:model/String} firmwareType
|
|
655
|
+
* @param {String} filename
|
|
656
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
657
|
+
*/
|
|
658
|
+
}, {
|
|
659
|
+
key: "downloadFirmware",
|
|
660
|
+
value: function downloadFirmware(projectOrProductUID, firmwareType, filename) {
|
|
661
|
+
return this.downloadFirmwareWithHttpInfo(projectOrProductUID, firmwareType, filename).then(function (response_and_data) {
|
|
662
|
+
return response_and_data.data;
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
|
|
613
666
|
/**
|
|
614
667
|
* Enable the project-level event JSONata transformation
|
|
615
668
|
* @param {String} projectOrProductUID
|
package/dist/api/RouteApi.js
CHANGED